Freigeben über


HubResource.GetKpiResourceFormatAsync(String, CancellationToken) Methode

Definition

Ruft einen KPI im Hub ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi/{kpiName}
  • Vorgang IdKpi_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>> GetKpiResourceFormatAsync (string kpiName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKpiResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>>
override this.GetKpiResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>>
Public Overridable Function GetKpiResourceFormatAsync (kpiName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of KpiResourceFormatResource))

Parameter

kpiName
String

Der Name des KPI.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

kpiName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

kpiName ist NULL.

Gilt für: