Dela via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to