Partilhar via


MachineLearningLabelingJobCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/labelingJobs/{id}
  • IdLabelingJobs_Get de operação
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>> GetIfExistsAsync (string id, bool? includeJobInstructions = default, bool? includeLabelCategories = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>>
override this.GetIfExistsAsync : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>>
Public Overridable Function GetIfExistsAsync (id As String, Optional includeJobInstructions As Nullable(Of Boolean) = Nothing, Optional includeLabelCategories As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of MachineLearningLabelingJobResource))

Parâmetros

id
String

O nome e o identificador do LabelingJob.

includeJobInstructions
Nullable<Boolean>

Valor booliano para indicar se jobInstructions deve ser incluído na resposta.

includeLabelCategories
Nullable<Boolean>

Valor booliano para indicar Se deve incluir LabelCategories em resposta.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

id é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

id é nulo.

Aplica-se a