Azure Policy Policy Assignments API
The PolicyAssignments API from Azure Policy — 6 operation(s) for policyassignments.
Operations 12
DELETE
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Deletes a policy assignment
#
PUT
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Creates or updates a policy assignment
#
GET
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Retrieves a policy assignment
#
PATCH
/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Updates a policy assignment
#
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource group
#
GET
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource
#
GET
/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a management group
#
GET
/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a subscription
#
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/microsoft-azure-policy/json-schema/microsoft-azure-policy-policy-assignment-schema.json
JSONSchema
https://artifacts.apis.io/microsoft-azure-policy/json-schema/microsoft-azure-policy-policy-assignment-update-schema.json
JSONSchema
https://artifacts.apis.io/microsoft-azure-policy/json-schema/microsoft-azure-policy-policy-assignment-list-result-schema.json