Freigeben über


HubResource.GetPredictionResourceFormatAsync Methode

Definition

Ruft eine Vorhersage im Hub ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}
  • Vorgangs-IdPredictions_Get
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))

Parameter

predictionName
String

Der Name der Vorhersage.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

predictionName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

predictionName ist NULL.

Gilt für: