Permissions interface

Interface representing a Permissions.

Methods

listForResource(string, string, string, string, string, PermissionsListForResourceOptionalParams)

Gets all permissions the caller has for a resource.

listForResourceGroup(string, PermissionsListForResourceGroupOptionalParams)

Gets all permissions the caller has for a resource group.

Method Details

listForResource(string, string, string, string, string, PermissionsListForResourceOptionalParams)

Gets all permissions the caller has for a resource.

function listForResource(resourceGroupName: string, resourceProviderNamespace: string, parentResourcePath: string, resourceType: string, resourceName: string, options?: PermissionsListForResourceOptionalParams): PagedAsyncIterableIterator<Permission, Permission[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

resourceProviderNamespace

string

The namespace of the resource provider.

parentResourcePath

string

The parent resource identity.

resourceType

string

The resource type of the resource.

resourceName

string

The name of the resource to get the permissions for.

options
PermissionsListForResourceOptionalParams

The options parameters.

Returns

listForResourceGroup(string, PermissionsListForResourceGroupOptionalParams)

Gets all permissions the caller has for a resource group.

function listForResourceGroup(resourceGroupName: string, options?: PermissionsListForResourceGroupOptionalParams): PagedAsyncIterableIterator<Permission, Permission[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

options
PermissionsListForResourceGroupOptionalParams

The options parameters.

Returns