Compartilhar via


PredictionResourceFormatCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém uma Previsão no hub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}
  • Operação IdPredictions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.PredictionResourceFormatResource>> GetAsync (string predictionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.PredictionResourceFormatResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.PredictionResourceFormatResource>>
Public Overridable Function GetAsync (predictionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PredictionResourceFormatResource))

Parâmetros

predictionName
String

O nome da Previsão.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

predictionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

predictionName é nulo.

Aplica-se a