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
Enforcement |
enforcementMode() |
abstract List<String> | excludedScopes() |
abstract
Map<String,Parameter |
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
Returns:
the excluded scopes of the policy assignment
parameters
public abstract Map
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java