Compartilhar via


PolicyAssignment Interface

Implements

public interface PolicyAssignment
extends HasName, HasId, Indexable, Refreshable<PolicyAssignment>, HasInnerModel<PolicyAssignmentInner>

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

Method Summary

Modifier and Type Method and Description
abstract String displayName()
abstract EnforcementMode enforcementMode()
abstract List<String> excludedScopes()
abstract Map<String,ParameterValuesValue> parameters()
abstract String policyDefinitionId()
abstract String scope()
abstract String type()

Method Details

displayName

public abstract String displayName()

Returns:

the policy assignment display name

enforcementMode

public abstract EnforcementMode enforcementMode()

Returns:

the enforcement mode of the policy assignment

excludedScopes

public abstract List excludedScopes()

Returns:

the excluded scopes of the policy assignment

parameters

public abstract Map parameters()

Returns:

the parameters of the policy assignment

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