Share via


MockableCustomerInsightsSubscriptionResource.GetHubs Method

Definition

Gets all hubs in the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CustomerInsights/hubs
  • Operation Id: Hubs_List
public virtual Azure.Pageable<Azure.ResourceManager.CustomerInsights.HubResource> GetHubs (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHubs : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CustomerInsights.HubResource>
override this.GetHubs : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CustomerInsights.HubResource>
Public Overridable Function GetHubs (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