次の方法で共有


PurviewExtensions.CheckPurviewAccountNameAvailabilityAsync メソッド

定義

アカウント名が使用可能かどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Purview/checkNameAvailability
  • 操作IdAccounts_CheckNameAvailability
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult>> CheckPurviewAccountNameAvailabilityAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckPurviewAccountNameAvailabilityAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Purview.Models.PurviewAccountNameAvailabilityResult>>
<Extension()>
Public Function CheckPurviewAccountNameAvailabilityAsync (subscriptionResource As SubscriptionResource, content As PurviewAccountNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PurviewAccountNameAvailabilityResult))

パラメーター

subscriptionResource
SubscriptionResource

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

content
PurviewAccountNameAvailabilityContent

チェック名の可用性要求。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象