PolicyExemptionProperties Class
The policy exemption properties.
Constructor
PolicyExemptionProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
policy_assignment_id
|
The ID of the policy assignment that is being exempted. Required. |
|
policy_definition_reference_ids
|
The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. |
|
exemption_category
|
The policy exemption category. Possible values are Waiver and Mitigated. Required. Known values are: "Waiver" and "Mitigated". |
|
expires_on
|
The expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption. |
|
display_name
|
The display name of the policy exemption. |
|
description
|
The description of the policy exemption. |
|
metadata
|
The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs. |
|
resource_selectors
|
The resource selector list to filter policies by resource properties. |
|
assignment_scope_validation
|
The option whether validate the exemption is at or under the assignment scope. Known values are: "Default" and "DoNotValidate". |
Attributes
assignment_scope_validation
The option whether validate the exemption is at or under the assignment scope. Known values are: "Default" and "DoNotValidate".
assignment_scope_validation: str | _models.AssignmentScopeValidation | None
description
The description of the policy exemption.
description: str | None
display_name
The display name of the policy exemption.
display_name: str | None
exemption_category
The policy exemption category. Possible values are Waiver and Mitigated. Required. Known values are: "Waiver" and "Mitigated".
exemption_category: str | _models.ExemptionCategory
expires_on
ssZ) of the policy exemption.
expires_on: datetime | None
metadata
The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.
metadata: Any | None
policy_assignment_id
The ID of the policy assignment that is being exempted. Required.
policy_assignment_id: str
policy_definition_reference_ids
The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.
policy_definition_reference_ids: list[str] | None
resource_selectors
The resource selector list to filter policies by resource properties.
resource_selectors: list['_models.ResourceSelector'] | None