Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to