Share via


RoleManagementPolicyAssignmentCollection.GetAll(CancellationToken) 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.Pageable<Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Authorization.RoleManagementPolicyAssignmentResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of RoleManagementPolicyAssignmentResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to