Interface PolicyRestrictionContract
public interface PolicyRestrictionContract
An immutable client-side representation of PolicyRestrictionContract.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the PolicyRestrictionContract definition.static interfaceThe PolicyRestrictionContract definition stages.static interfaceThe template for PolicyRestrictionContract update.static interfaceThe PolicyRestrictionContract update stages. -
Method Summary
Modifier and TypeMethodDescriptionid()Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyRestrictionContractInner object.name()Gets the name property: The name of the resource.refresh()Refreshes the resource to sync with Azure.refresh(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the requireBase property: Indicates if base policy should be enforced for the policy document.Gets the name of the resource group.scope()Gets the scope property: Path to the policy document.type()Gets the type property: The type of the resource.update()Begins update for the PolicyRestrictionContract resource.
-
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.
-
scope
String scope()Gets the scope property: Path to the policy document.- Returns:
- the scope value.
-
requireBase
PolicyRestrictionRequireBase requireBase()Gets the requireBase property: Indicates if base policy should be enforced for the policy document.- Returns:
- the requireBase value.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
PolicyRestrictionContractInner innerModel()Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyRestrictionContractInner object.- Returns:
- the inner object.
-
update
PolicyRestrictionContract.Update update()Begins update for the PolicyRestrictionContract resource.- Returns:
- the stage of resource update.
-
refresh
PolicyRestrictionContract 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.
-