Condividi tramite


RoleAssignmentResourceFormatCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all the role assignments for the specified hub.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/roleAssignments
  • Operation Id: RoleAssignments_ListByHub
public virtual Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of RoleAssignmentResourceFormatResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to