Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to