DenyAssignments

Gets deny assignments for a scope.

get/{scope}/providers/Microsoft.Authorization/denyAssignments

Path parameters

scopestring required

The scope of the deny assignments.

Query parameters

$filterstring

The filter to apply on the operation. Use $filter=atScope() to return all deny assignments at or above the scope. Use $filter=denyAssignmentName eq '{name}' to search deny assignments by name at specified scope. Use $filter=principalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. Use $filter=gdprExportPrincipalId eq '{id}' to return all deny assignments at, above and below the scope for the specified principal. This filter is different from the principalId filter as it returns not only those deny assignments that contain the specified principal is the Principals list but also those deny assignments that contain the specified principal is the ExcludePrincipals list. Additionally, when gdprExportPrincipalId filter is used, only the deny assignment name and description properties are returned.

Parameters

../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter — unresolved $ref

Response

OK - Returns an array of deny assignments.

nextLinkstring

The URL to use for getting the next set of results.

Changes

Changed in 1 of the 7 revisions of this API.1