Partilhar via


MachineLearningLabelingJobCollection.ExistsAsync Método

Definição

Verifica se o recurso existe no azure.

  • 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.Response<bool>> ExistsAsync (string id, bool? includeJobInstructions = default, bool? includeLabelCategories = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (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 Response(Of Boolean))

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