Share via


RoleManagementPolicyAssignmentCollection.GetAllAsync Method

Definition

Gets role management assignment policies for a resource scope.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to