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 Classes Modifier and Type Interface Description static interfacePolicyAssignment.DefinitionContainer interface for all the definitions that need to be implemented.static interfacePolicyAssignment.DefinitionStagesGrouping of all the policy assignment definition stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdisplayName()EnforcementModeenforcementMode()List<String>excludedScopes()Map<String,ParameterValuesValue>parameters()StringpolicyDefinitionId()Stringscope()Stringtype()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
-
-
-
Method Detail
-
displayName
String displayName()
- Returns:
- the policy assignment display name
-
policyDefinitionId
String policyDefinitionId()
- Returns:
- the policy definition Id
-
scope
String scope()
- Returns:
- the scope at which the policy assignment exists
-
type
String type()
- Returns:
- the type of the policy assignment
-
enforcementMode
EnforcementMode enforcementMode()
- Returns:
- the enforcement mode of the policy assignment
-
parameters
Map<String,ParameterValuesValue> parameters()
- Returns:
- the parameters of the policy assignment
-
-