v2

latestSwagger 2.0raw.githubusercontent.com2019-08-289630.8 KB
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.

idstring

The ID of the policy assignment.

typestring

The type of the policy assignment.

namestring

The name of the policy assignment.

locationstring

The location of the policy assignment. Only required when utilizing managed identity.

All 9 operations