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()
Gets display name of the policy assignment. |
abstract
Enforcement |
enforcementMode()
Gets the enforcement mode of the policy assignment. |
abstract List<String> |
excludedScopes()
Gets the excluded scopes of the policy assignment. |
abstract
Map<String,Parameter |
parameters()
Gets the parameters of the policy assignment. |
abstract String |
policyDefinitionId()
Gets Id of the policy definition. |
abstract String |
scope()
Gets the scope at which the policy assignment exists. |
abstract String |
type()
Gets the type of the policy assignment. |
Method Details
displayName
public abstract String displayName()
Gets display name of the policy assignment.
Returns:
enforcementMode
public abstract EnforcementMode enforcementMode()
Gets the enforcement mode of the policy assignment.
Returns:
excludedScopes
public abstract List
Gets the excluded scopes of the policy assignment.
Returns:
parameters
public abstract Map
Gets the parameters of the policy assignment.
Returns:
policyDefinitionId
public abstract String policyDefinitionId()
Gets Id of the policy definition.
Returns:
scope
public abstract String scope()
Gets the scope at which the policy assignment exists.
Returns:
type
public abstract String type()
Gets the type of the policy assignment.
Returns: