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 com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
displayName
String displayName()Gets display name of the policy assignment.- Returns:
- the policy assignment display name
-
policyDefinitionId
String policyDefinitionId()Gets Id of the policy definition.- Returns:
- the policy definition Id
-
scope
String scope()Gets the scope at which the policy assignment exists.- Returns:
- the scope at which the policy assignment exists
-
type
String type()Gets the type of the policy assignment.- Returns:
- the type of the policy assignment
-
excludedScopes
Gets the excluded scopes of the policy assignment.- Returns:
- the excluded scopes of the policy assignment
-
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
-