Compartilhar via


KpiResourceFormatCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém um KPI no hub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/kpi/{kpiName}
  • IdKpi_Get de operação
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))

Parâmetros

kpiName
String

O nome do KPI.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

kpiName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

kpiName é nulo.

Aplica-se a