deny_assignments
Creates, updates, deletes, gets or lists a deny_assignments
resource.
Overview
Name | deny_assignments |
Type | Resource |
Id | azure.authorization.deny_assignments |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The deny assignment ID. |
name | string | The deny assignment name. |
properties | object | Deny assignment properties. |
type | string | The deny assignment type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | denyAssignmentId, scope | Get the specified deny assignment. |
get_by_id | SELECT | denyAssignmentId | Gets a deny assignment by ID. |
list | SELECT | subscriptionId | Gets all deny assignments for the subscription. |
list_for_resource | SELECT | parentResourcePath, resourceGroupName, resourceName, resourceProviderNamespace, resourceType, subscriptionId | Gets deny assignments for a resource. |
list_for_resource_group | SELECT | resourceGroupName, subscriptionId | Gets deny assignments for a resource group. |
list_for_scope | SELECT | scope | Gets 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 }}';