PolicyExemption Class
The policy exemption.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.resource.policy._serialization.ModelPolicyExemption
Constructor
PolicyExemption(*, policy_assignment_id: str, exemption_category: str | _models.ExemptionCategory, policy_definition_reference_ids: List[str] | None = None, expires_on: datetime | None = None, display_name: str | None = None, description: str | None = None, metadata: MutableMapping[str, Any] | None = None, **kwargs: Any)
Keyword-Only Parameters
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
|
<xref:JSON>
The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs. |
Variables
Name | Description |
---|---|
system_data
|
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
id
|
The ID of the policy exemption. |
name
|
The name of the policy exemption. |
type
|
The type of the resource (Microsoft.Authorization/policyExemptions). |
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
|
<xref:JSON>
The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs. |
Azure SDK for Python