PolicyContract Interface

public interface PolicyContract

An immutable client-side representation of PolicyContract.

Method Summary

Modifier and Type Method and Description
abstract PolicyContentFormat format()

Gets the format property: Format of the policyContent.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract PolicyContractInner innerModel()

Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyContractInner object.

abstract String name()

Gets the name property: The name of the resource.

abstract PolicyContract refresh()

Refreshes the resource to sync with Azure.

abstract PolicyContract 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 PolicyContract resource.

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:

the format value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract PolicyContractInner innerModel()

Gets the inner com.azure.resourcemanager.apimanagement.fluent.models.PolicyContractInner object.

Returns:

the inner object.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract PolicyContract refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract PolicyContract refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract PolicyContract.Update update()

Begins update for the PolicyContract resource.

Returns:

the stage of resource update.

value

public abstract String value()

Gets the value property: Contents of the Policy as defined by the format.

Returns:

the value value.

Applies to