Partager via


HubResource.GetPredictionResourceFormatAsync Méthode

Définition

Obtient une prédiction dans le hub.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}
  • IdPredictions_Get d’opération
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))

Paramètres

predictionName
String

Nom de la prédiction.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

predictionName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.

predictionName a la valeur null.

S’applique à