PolicyAssignments
Gets policy assignments for a resource.
get/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyassignments
Path parameters
resourceGroupNamestring required
The name of the resource group containing the resource. The name is case insensitive.
resourceProviderNamespacestring required
The namespace of the resource provider.
parentResourcePathstring required
The parent resource path.
resourceTypestring required
The resource type.
resourceNamestring required
The name of the resource with policy assignments.
subscriptionIdstring required
The ID of the target subscription.
Query parameters
$filterstring
The filter to apply on the operation.
api-versionstring required
The API version to use for the operation.
Response
OK - Returns an array of policy assignments.