Compartilhar via


PostgreSqlFlexibleServerResource.CheckPostgreSqlMigrationNameAvailabilityAsync Método

Definição

Esse método verifica se um nome de migração proposto é válido e disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{targetDbServerName}/checkMigrationNameAvailability
  • Operação IdCheckMigrationNameAvailability
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent>> CheckPostgreSqlMigrationNameAvailabilityAsync (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckPostgreSqlMigrationNameAvailabilityAsync : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent>>
override this.CheckPostgreSqlMigrationNameAvailabilityAsync : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent>>
Public Overridable Function CheckPostgreSqlMigrationNameAvailabilityAsync (content As PostgreSqlCheckMigrationNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PostgreSqlCheckMigrationNameAvailabilityContent))

Parâmetros

content
PostgreSqlCheckMigrationNameAvailabilityContent

Os parâmetros necessários para verificar se um nome de migração está disponível.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a