다음을 통해 공유


RoleManagementPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Gets role management policies for a resource scope.

  • Request Path: /{scope}/providers/Microsoft.Authorization/roleManagementPolicies
  • Operation Id: RoleManagementPolicies_ListForScope
  • Default Api Version: 2020-10-01
  • Resource: RoleManagementPolicyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleManagementPolicyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Authorization.RoleManagementPolicyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RoleManagementPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to