Uses of Class
com.azure.resourcemanager.resources.fluent.models.PolicyAssignmentProperties
Packages that use PolicyAssignmentProperties
Package
Description
Package containing the inner data models for ResourceManagementClient.
-
Uses of PolicyAssignmentProperties in com.azure.resourcemanager.resources.fluent.models
Methods in com.azure.resourcemanager.resources.fluent.models that return PolicyAssignmentPropertiesModifier and TypeMethodDescriptionstatic PolicyAssignmentPropertiesPolicyAssignmentProperties.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of PolicyAssignmentProperties from the JsonReader.PolicyAssignmentProperties.withDescription(String description) Set the description property: This message will be part of response in case of policy violation.PolicyAssignmentProperties.withDisplayName(String displayName) Set the displayName property: The display name of the policy assignment.PolicyAssignmentProperties.withEnforcementMode(EnforcementMode enforcementMode) Set the enforcementMode property: The policy assignment enforcement mode.PolicyAssignmentProperties.withMetadata(Object metadata) Set the metadata property: The policy assignment metadata.PolicyAssignmentProperties.withNonComplianceMessages(List<NonComplianceMessage> nonComplianceMessages) Set the nonComplianceMessages property: The messages that describe why a resource is non-compliant with the policy.PolicyAssignmentProperties.withNotScopes(List<String> notScopes) Set the notScopes property: The policy's excluded scopes.PolicyAssignmentProperties.withOverrides(List<OverrideModel> overrides) Set the overrides property: The policy property value override.PolicyAssignmentProperties.withParameters(Map<String, ParameterValuesValue> parameters) Set the parameters property: The parameter values for the assigned policy rule.PolicyAssignmentProperties.withPolicyDefinitionId(String policyDefinitionId) Set the policyDefinitionId property: The ID of the policy definition or policy set definition being assigned.PolicyAssignmentProperties.withResourceSelectors(List<ResourceSelector> resourceSelectors) Set the resourceSelectors property: The resource selector list to filter policies by resource properties.