Interface OperationContract
-
public interface OperationContract
An immutable client-side representation of OperationContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
OperationContract.Definition
The entirety of the OperationContract definition.static interface
OperationContract.DefinitionStages
The OperationContract definition stages.static interface
OperationContract.Update
The template for OperationContract update.static interface
OperationContract.UpdateStages
The OperationContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
description()
Gets the description property: Description of the operation.String
displayName()
Gets the displayName property: Operation Name.String
id()
Gets the id property: Fully qualified resource Id for the resource.OperationContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.OperationContractInner object.String
method()
Gets the method property: A Valid HTTP Operation Method.String
name()
Gets the name property: The name of the resource.String
policies()
Gets the policies property: Operation Policies.OperationContract
refresh()
Refreshes the resource to sync with Azure.OperationContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.RequestContract
request()
Gets the request property: An entity containing request details.List<ResponseContract>
responses()
Gets the responses property: Array of Operation responses.List<ParameterContract>
templateParameters()
Gets the templateParameters property: Collection of URL template parameters.String
type()
Gets the type property: The type of the resource.OperationContract.Update
update()
Begins update for the OperationContract resource.String
urlTemplate()
Gets the urlTemplate property: Relative URL template identifying the target resource for this operation.
-
-
-
Method Detail
-
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.
-
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
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.
-
-