Interface PolicyAssignment
- All Superinterfaces:
HasId, HasInnerModel<PolicyAssignmentInner>, HasName, Indexable, Refreshable<PolicyAssignment>
public interface PolicyAssignment
extends HasName, HasId, Indexable, Refreshable<PolicyAssignment>, HasInnerModel<PolicyAssignmentInner>
An immutable client-side representation of an Azure policy assignment.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceContainer interface for all the definitions that need to be implemented.static interfaceGrouping of all the policy assignment definition stages. -
Method Summary
Modifier and TypeMethodDescriptionGets display name of the policy assignment.Gets the enforcement mode of the policy assignment.Gets the excluded scopes of the policy assignment.Gets the parameters of the policy assignment.Gets Id of the policy definition.scope()Gets the scope at which the policy assignment exists.type()Gets the type of the policy assignment.Methods inherited from interface HasInnerModel
innerModelMethods inherited from interface Refreshable
refresh, refreshAsync
-
Method Details
-
displayName
String displayName()Gets display name of the policy assignment.- Returns:
- the policy assignment display name
-
policyDefinitionId
-
scope
String scope()Gets the scope at which the policy assignment exists.- Returns:
- the scope at which the policy assignment exists
-
type
-
excludedScopes
-
enforcementMode
EnforcementMode enforcementMode()Gets the enforcement mode of the policy assignment.- Returns:
- the enforcement mode of the policy assignment
-
parameters
Map<String, ParameterValuesValue> parameters()Gets the parameters of the policy assignment.- Returns:
- the parameters of the policy assignment
-