Compartir a través de


HealthcareApisExtensions.CheckHealthcareApisNameAvailabilityAsync Método

Definición

Compruebe si hay disponible un nombre de instancia de servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability
  • IdServices_CheckNameAvailability de operación
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))

Parámetros

subscriptionResource
SubscriptionResource

Instancia SubscriptionResource en la que se ejecutará el método.

content
HealthcareApisNameAvailabilityContent

Establezca el parámetro name en la estructura CheckNameAvailabilityParameters en el nombre de la instancia de servicio que se va a comprobar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a