MachineLearningComponentVersionCollection.Exists Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Vérifie si la ressource existe dans Azure.
- Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/components/{name}/versions/{version}
- IdComponentVersions_Get d’opération
public virtual Azure.Response<bool> Exists (string version, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
Paramètres
- version
- String
Identificateur de version.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
version est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
version a la valeur null.