Partilhar via


MachineLearningBatchEndpointCollection.GetIfExists Método

Definição

Tenta obter detalhes para esse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/batchEndpoints/{endpointName}
  • Operação IdBatchEndpoints_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningBatchEndpointResource> GetIfExists (string endpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningBatchEndpointResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningBatchEndpointResource>
Public Overridable Function GetIfExists (endpointName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MachineLearningBatchEndpointResource)

Parâmetros

endpointName
String

Nome do ponto de extremidade do lote.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

endpointName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

endpointName é nulo.

Aplica-se a