Partager via


FlexibleServersExtensions.CheckPostgreSqlFlexibleServerNameAvailability Méthode

Définition

Vérifier la disponibilité du nom de la ressource

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • IdCheckNameAvailability_Execute d’opération
public static Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityResult> CheckPostgreSqlFlexibleServerNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckPostgreSqlFlexibleServerNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNameAvailabilityResult>
<Extension()>
Public Function CheckPostgreSqlFlexibleServerNameAvailability (subscriptionResource As SubscriptionResource, content As PostgreSqlFlexibleServerNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PostgreSqlFlexibleServerNameAvailabilityResult)

Paramètres

subscriptionResource
SubscriptionResource

Instance SubscriptionResource sur laquelle la méthode s’exécute.

content
PostgreSqlFlexibleServerNameAvailabilityContent

Paramètres requis pour vérifier si le nom de la ressource est disponible.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à