Skip to main content

permissions

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

Overview

Namepermissions
TypeResource
Idazure.authorization.permissions

Fields

NameDatatypeDescription
actionsarrayAllowed actions.
dataActionsarrayAllowed Data actions.
notActionsarrayDenied actions.
notDataActionsarrayDenied Data actions.

Methods

NameAccessible byRequired ParamsDescription
list_for_resourceSELECTparentResourcePath, resourceGroupName, resourceName, resourceProviderNamespace, resourceType, subscriptionIdGets all permissions the caller has for a resource.
list_for_resource_groupSELECTresourceGroupName, subscriptionIdGets 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 }}';