Share via


HubCollection.GetAll(CancellationToken) Method

Definition

Gets all the hubs in a resource group.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to