Partilhar via


HubResource.GetPredictionResourceFormatAsync 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}
  • IdPredictions_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.PredictionResourceFormatResource>> GetPredictionResourceFormatAsync (string predictionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPredictionResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.PredictionResourceFormatResource>>
override this.GetPredictionResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.PredictionResourceFormatResource>>
Public Overridable Function GetPredictionResourceFormatAsync (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 era esperado que não estivesse vazio.

predictionName é nulo.

Aplica-se a