KpiResourceFormatCollection.GetAsync(String, CancellationToken) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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.