Compartilhar via


HubResource.GetKpiResourceFormatAsync(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}
  • Operação 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))

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 esperava-se que não estivesse vazia.

kpiName é nulo.

Aplica-se a