PolicyContract Interface
public interface PolicyContract
An immutable client-side representation of PolicyContract.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Policy |
format()
Gets the format property: Format of the policy |
abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
abstract
Policy |
innerModel()
Gets the inner com. |
abstract String |
name()
Gets the name property: The name of the resource. |
abstract
Policy |
refresh()
Refreshes the resource to sync with Azure. |
abstract
Policy |
refresh(Context context)
Refreshes the resource to sync with Azure. |
abstract String |
resourceGroupName()
Gets the name of the resource group. |
abstract String |
type()
Gets the type property: The type of the resource. |
abstract Update |
update()
Begins update for the Policy |
abstract String |
value()
Gets the value property: Contents of the Policy as defined by the format. |
Method Details
format
public abstract PolicyContentFormat format()
Gets the format property: Format of the policyContent.
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract PolicyContractInner innerModel()
Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyContractInner object.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
refresh
public abstract PolicyContract refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract PolicyContract refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract PolicyContract.Update update()
Begins update for the PolicyContract resource.
Returns:
value
public abstract String value()
Gets the value property: Contents of the Policy as defined by the format.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for