Compartir a través de


MachineLearningEnvironmentVersionCollection.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}/environments/{name}/versions/{version}
  • IdEnvironmentVersions_Get de operación
public virtual Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource> GetIfExists (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.MachineLearning.MachineLearningEnvironmentVersionResource>
Public Overridable Function GetIfExists (version As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of MachineLearningEnvironmentVersionResource)

Parámetros

version
String

Identificador de versión. Distingue mayúsculas de minúsculas.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

version es null.

Se aplica a