Share via


MockableAuthorizationResourceGroupResource.GetAzurePermissionsForResourceGroupsAsync Method

Definition

Gets all permissions the caller has for a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Authorization/permissions
  • Operation Id: AzurePermissionsForResourceGroup_List
  • Default Api Version: 2022-04-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.RoleDefinitionPermission> GetAzurePermissionsForResourceGroupsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAzurePermissionsForResourceGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.RoleDefinitionPermission>
override this.GetAzurePermissionsForResourceGroupsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.Models.RoleDefinitionPermission>
Public Overridable Function GetAzurePermissionsForResourceGroupsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RoleDefinitionPermission)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of RoleDefinitionPermission that may take multiple service requests to iterate over.

Applies to