Create Or Update Policy Exemption
Create or update a given policy exemption by its name.
External Documentation
To learn more, visit the Azure documentation.
Basic Parameters
Parameter | Description |
---|---|
Assignment ID | The ID of exemption assignment. This is the ID of the policy that will be exempt. You can find it in the overview of the policy in the Azure dashboard. |
Exemption Name | The name of the policy exemption. |
Exemption Type | The type of exemption. |
Scope | The scope of the policy exemption. For more information about policy exemptions scopes see Azure documentation. |
Advanced Parameters
Parameter | Description |
---|---|
Description | The description of the policy exemption. |
Display Name | The display name of the policy exemption. |
Expiry | The expiry date of the policy exemption. |
Metadata | The policy exemption metadata. Metadata is an open ended object of key-value properties of the policy exemption.For Example:
|
Policy Definition IDs | A comma-separated list of policy definition reference ID list when the policy assignment is an assignment of a policy set definition. |
Resource Selectors | A list of Resource Selector objects of the policy exemption.For Example:
|
Scope Validation | The assignment scope validation of the policy exemption. |
Example Output
{
"properties": {
"policyAssignmentId": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/providers/Microsoft.Authorization/policyAssignments/CostManagement",
"policyDefinitionReferenceIds": [
"Limit_Skus"
],
"exemptionCategory": "Waiver",
"displayName": "Exempt demo cluster",
"description": "Exempt demo cluster from limit sku",
"metadata": {
"reason": "Temporary exemption for a expensive VM demo"
}
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-07-01T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-07-01T01:01:01.1075056Z"
},
"id": "/subscriptions/ae640e6b-ba3e-4256-9d62-2993eecfa6f2/resourceGroups/demoCluster/providers/Microsoft.Authorization/policyExemptions/DemoExpensiveVM",
"type": "Microsoft.Authorization/policyExemptions",
"name": "DemoExpensiveVM"
}
Workflow Library Example
Create or Update Policy Exemption with Azure and Send Results Via Email
Preview this Workflow on desktop