Interface OperationContract
public interface OperationContract
An immutable client-side representation of OperationContract.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the OperationContract definition.static interfaceThe OperationContract definition stages.static interfaceThe template for OperationContract update.static interfaceThe OperationContract update stages. -
Method Summary
Modifier and TypeMethodDescriptionGets the description property: Description of the operation.Gets the displayName property: Operation Name.id()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.OperationContractInner object.method()Gets the method property: A Valid HTTP Operation Method.name()Gets the name property: The name of the resource.policies()Gets the policies property: Operation Policies.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.request()Gets the request property: An entity containing request details.Gets the name of the resource group.Gets the responses property: Array of Operation responses.Gets the templateParameters property: Collection of URL template parameters.type()Gets the type property: The type of the resource.update()Begins update for the OperationContract resource.Gets the urlTemplate property: Relative URL template identifying the target resource for this operation.
-
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
OperationContractInner innerModel()Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.OperationContractInner object.- Returns:
- the inner object.
-
update
OperationContract.Update update()Begins update for the OperationContract resource.- Returns:
- the stage of resource update.
-
refresh
OperationContract refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-