Skip to main content

deny_assignments

Creates, updates, deletes, gets or lists a deny_assignments resource.

Overview

Namedeny_assignments
TypeResource
Idazure.authorization.deny_assignments

Fields

NameDatatypeDescription
idstringThe deny assignment ID.
namestringThe deny assignment name.
propertiesobjectDeny assignment properties.
typestringThe deny assignment type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdenyAssignmentId, scopeGet the specified deny assignment.
get_by_idSELECTdenyAssignmentIdGets a deny assignment by ID.
listSELECTsubscriptionIdGets all deny assignments for the subscription.
list_for_resourceSELECTparentResourcePath, resourceGroupName, resourceName, resourceProviderNamespace, resourceType, subscriptionIdGets deny assignments for a resource.
list_for_resource_groupSELECTresourceGroupName, subscriptionIdGets deny assignments for a resource group.
list_for_scopeSELECTscopeGets deny assignments for a scope.

SELECT examples

Gets deny assignments for a scope.

SELECT
id,
name,
properties,
type
FROM azure.authorization.deny_assignments
WHERE scope = '{{ scope }}';