Partilhar via


HealthcareApisExtensions.CheckHealthcareApisNameAvailabilityAsync Método

Definição

Verifique se um nome de instância de serviço está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability
  • Operação IdServices_CheckNameAvailability
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

A SubscriptionResource instância na qual o método será executado.

content
HealthcareApisNameAvailabilityContent

Defina o parâmetro name na estrutura CheckNameAvailabilityParameters como o nome da instância de serviço para marcar.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a