FlexibleServersExtensions.CheckPostgreSqlFlexibleServerNameAvailabilityAsync Método

Definição

Verificar a disponibilidade do nome do recurso

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • Operação IdCheckNameAvailability_Execute
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityResult>> CheckPostgreSqlFlexibleServerNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckPostgreSqlFlexibleServerNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityResult>>
<Extension()>
Public Function CheckPostgreSqlFlexibleServerNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As PostgreSqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlFlexibleServerNameAvailabilityResult))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

content
PostgreSqlFlexibleServerNameAvailabilityContent

Os parâmetros necessários para verificar se o nome do recurso está disponível.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a