Compartir a través de


MachineLearningLabelingJobCollection.GetIfExists 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}/labelingJobs/{id}
  • IdLabelingJobs_Get de operación
public virtual Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource> GetIfExists (string id, bool? includeJobInstructions = default, bool? includeLabelCategories = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>
override this.GetIfExists : string * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningLabelingJobResource>
Public Overridable Function GetIfExists (id As String, Optional includeJobInstructions As Nullable(Of Boolean) = Nothing, Optional includeLabelCategories As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MachineLearningLabelingJobResource)

Parámetros

id
String

Nombre e identificador de LabelingJob.

includeJobInstructions
Nullable<Boolean>

Valor booleano para indicar si se deben incluir JobInstructions en respuesta.

includeLabelCategories
Nullable<Boolean>

Valor booleano para indicar si se debe incluir LabelCategories en respuesta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

id es una cadena vacía y se espera que no esté vacía.

id es null.

Se aplica a