Compartir a través de


MachineLearningOnlineEndpointCollection.GetIfExistsAsync Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/onlineEndpoints/{endpointName}
  • IdOnlineEndpoints_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOnlineEndpointResource>> GetIfExistsAsync (string endpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOnlineEndpointResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningOnlineEndpointResource>>
Public Overridable Function GetIfExistsAsync (endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MachineLearningOnlineEndpointResource))

Parámetros

endpointName
String

Nombre del punto de conexión en línea.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

endpointName es una cadena vacía y se esperaba que no estuviera vacía.

endpointName es null.

Se aplica a