MachineLearningWorkspaceCollection.Exists(String, CancellationToken) 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}
- IdWorkspaces_Get d’opération
public virtual Azure.Response<bool> Exists (string workspaceName, 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 (workspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)
Paramètres
- workspaceName
- String
Nom de l’espace de travail Azure Machine Learning.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
workspaceName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
workspaceName a la valeur null.