Freigeben über


MachineLearningOnlineDeploymentCollection.GetIfExistsAsync Methode

Definition

Versucht, Details für diese Ressource vom Dienst abzurufen.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}/deployments/{deploymentName}
  • Vorgangs-IdOnlineDeployments_Get
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOnlineDeploymentResource>> GetIfExistsAsync (string deploymentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOnlineDeploymentResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOnlineDeploymentResource>>
Public Overridable Function GetIfExistsAsync (deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MachineLearningOnlineDeploymentResource))

Parameter

deploymentName
String

Name der Bereitstellung des Rückschlussendpunkts.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

deploymentName ist NULL.

Gilt für: