Partager via


MachineLearningRegistryCodeContainerResource.GetMachineLearningRegistryCodeVersion Méthode

Définition

Obtenir la version.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/registries/{registryName}/codes/{codeName}/versions/{version}
  • IdRegistryCodeVersions_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryCodeVersionResource> GetMachineLearningRegistryCodeVersion (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningRegistryCodeVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryCodeVersionResource>
override this.GetMachineLearningRegistryCodeVersion : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryCodeVersionResource>
Public Overridable Function GetMachineLearningRegistryCodeVersion (version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MachineLearningRegistryCodeVersionResource)

Paramètres

version
String

Identificateur de version.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

version est une chaîne vide et devait être non vide.

version a la valeur null.

S’applique à