MachineLearningComputeCollection.ExistsAsync 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}/computes/{computeName}
- IdCompute_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string computeName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (computeName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))
Paramètres
- computeName
- String
Nom du calcul Azure Machine Learning.
- cancellationToken
- CancellationToken
Jeton d’annulation à utiliser.
Retours
Exceptions
computeName est une chaîne vide, et on s’attendait à ce qu’elle ne soit pas vide.
computeName a la valeur null.