Freigeben über


KpiResourceFormatCollection.Get(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 Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource> Get (string kpiName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.KpiResourceFormatResource>
Public Overridable Function Get (kpiName As String, Optional cancellationToken As CancellationToken = Nothing) As 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: