Interface PolicyContract
-
public interface PolicyContract
An immutable client-side representation of PolicyContract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
PolicyContract.Definition
The entirety of the PolicyContract definition.static interface
PolicyContract.DefinitionStages
The PolicyContract definition stages.static interface
PolicyContract.Update
The template for PolicyContract update.static interface
PolicyContract.UpdateStages
The PolicyContract update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyContentFormat
format()
Gets the format property: Format of the policyContent.String
id()
Gets the id property: Fully qualified resource Id for the resource.PolicyContractInner
innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyContractInner object.String
name()
Gets the name property: The name of the resource.PolicyContract
refresh()
Refreshes the resource to sync with Azure.PolicyContract
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
type()
Gets the type property: The type of the resource.PolicyContract.Update
update()
Begins update for the PolicyContract resource.String
value()
Gets the value property: Contents of the Policy as defined by the format.
-
-
-
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.
-
value
String value()
Gets the value property: Contents of the Policy as defined by the format.- Returns:
- the value value.
-
format
PolicyContentFormat format()
Gets the format property: Format of the policyContent.- Returns:
- the format value.
-
innerModel
PolicyContractInner innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyContractInner object.- Returns:
- the inner object.
-
update
PolicyContract.Update update()
Begins update for the PolicyContract resource.- Returns:
- the stage of resource update.
-
refresh
PolicyContract refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
PolicyContract 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.
-
-