DenyAssignments

Gets all deny assignments for the subscription.

get/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/denyAssignments

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/SubscriptionIdParameter — unresolved $ref
../../../../../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.2

  • 2018-07-01-preview9bd884b8dc222See the full diff
    • deleted the path request parameter subscriptionId

      request-parameter-removed

    • deleted the query request parameter api-version

      request-parameter-removed