permissions
Creates, updates, deletes, gets or lists a permissions
resource.
Overview
Name | permissions |
Type | Resource |
Id | azure.authorization.permissions |
Fields
Name | Datatype | Description |
---|---|---|
actions | array | Allowed actions. |
dataActions | array | Allowed Data actions. |
notActions | array | Denied actions. |
notDataActions | array | Denied Data actions. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_for_resource | SELECT | parentResourcePath, resourceGroupName, resourceName, resourceProviderNamespace, resourceType, subscriptionId | Gets all permissions the caller has for a resource. |
list_for_resource_group | SELECT | resourceGroupName, subscriptionId | Gets all permissions the caller has for a resource group. |
SELECT
examples
Gets all permissions the caller has for a resource group.
SELECT
actions,
dataActions,
notActions,
notDataActions
FROM azure.authorization.permissions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';