Interface OperationContract


public interface OperationContract
An immutable client-side representation of OperationContract.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • displayName

      String displayName()
      Gets the displayName property: Operation Name.
      Returns:
      the displayName value.
    • method

      String method()
      Gets the method property: A Valid HTTP Operation Method. Typical Http Methods like GET, PUT, POST but not limited by only them.
      Returns:
      the method value.
    • urlTemplate

      String urlTemplate()
      Gets the urlTemplate property: Relative URL template identifying the target resource for this operation. May include parameters. Example: /customers/{cid}/orders/{oid}/?date={date}.
      Returns:
      the urlTemplate value.
    • templateParameters

      List<ParameterContract> templateParameters()
      Gets the templateParameters property: Collection of URL template parameters.
      Returns:
      the templateParameters value.
    • description

      String description()
      Gets the description property: Description of the operation. May include HTML formatting tags.
      Returns:
      the description value.
    • request

      RequestContract request()
      Gets the request property: An entity containing request details.
      Returns:
      the request value.
    • responses

      List<ResponseContract> responses()
      Gets the responses property: Array of Operation responses.
      Returns:
      the responses value.
    • policies

      String policies()
      Gets the policies property: Operation Policies.
      Returns:
      the policies value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.OperationContractInner object.
      Returns:
      the inner object.
    • update

      Begins update for the OperationContract resource.
      Returns:
      the stage of resource update.
    • refresh

      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      OperationContract refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.