共用方式為


PolicyAssignment Interface

Implements

HasId HasName HasInner<com.microsoft.azure.management.resources.implementation.PolicyAssignmentInner> Indexable Refreshable<PolicyAssignment>

public interface PolicyAssignment
extends HasName, HasId, Indexable, Refreshable<PolicyAssignment>, HasInner<com.microsoft.azure.management.resources.implementation.PolicyAssignmentInner>

An immutable client-side representation of an Azure policy assignment.

Method Summary

Modifier and Type Method and Description
abstract java.lang.String displayName()
abstract java.lang.String policyDefinitionId()
abstract java.lang.String scope()
abstract java.lang.String type()

Method Details

displayName

public abstract String displayName()

Returns:

the policy assignment display name

policyDefinitionId

public abstract String policyDefinitionId()

Returns:

the policy definition Id

scope

public abstract String scope()

Returns:

the scope at which the policy assignment exists

type

public abstract String type()

Returns:

the type of the policy assignment

Applies to