次の方法で共有


FlexibleServersExtensions.CheckPostgreSqlFlexibleServerNameAvailabilityAsync メソッド

定義

リソースの名前の可用性を確認する

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
  • 操作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))

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行するインスタンス。

content
PostgreSqlFlexibleServerNameAvailabilityContent

リソース名が使用可能かどうかを確認するために必要なパラメーター。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象