Partager via


HealthcareApisExtensions.CheckHealthcareApisNameAvailabilityAsync Méthode

Définition

Vérifiez si un nom de instance de service est disponible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability
  • IdServices_CheckNameAvailability d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameAvailabilityResult>> CheckHealthcareApisNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckHealthcareApisNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HealthcareApis.Models.HealthcareApisNameAvailabilityResult>>
<Extension()>
Public Function CheckHealthcareApisNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As HealthcareApisNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HealthcareApisNameAvailabilityResult))

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

content
HealthcareApisNameAvailabilityContent

Définissez le paramètre name dans la structure CheckNameAvailabilityParameters sur le nom du service instance à case activée.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à