Freigeben über


KpiResourceFormatCollection.GetAsync(String, CancellationToken) Methode

Definition

Ruft einen KPI im Hub ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi/{kpiName}
  • Vorgangs-IdKpi_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>> GetAsync (string kpiName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>>
Public Overridable Function GetAsync (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: