KpiResourceFormatCollection.GetAllAsync(CancellationToken) Method

Definition

Gets all the KPIs in the specified hub.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to