Partilhar via


PostgreSqlFlexibleServerResource.CheckPostgreSqlMigrationNameAvailability 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 Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent> CheckPostgreSqlMigrationNameAvailability (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckPostgreSqlMigrationNameAvailability : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent>
override this.CheckPostgreSqlMigrationNameAvailability : Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlCheckMigrationNameAvailabilityContent>
Public Overridable Function CheckPostgreSqlMigrationNameAvailability (content As PostgreSqlCheckMigrationNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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