PolicyAssignments
Retrieves a policy assignment.
This operation retrieves a single policy assignment, given its name and the scope it was created at.
get/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Path parameters
scopestring required
The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'
policyAssignmentNamestring required
The name of the policy assignment to get.
Query parameters
api-versionstring required
The API version to use for the operation.
Response
OK - Returns information about the policy assignment.