次の方法で共有


ConfidentialLedgerExtensions.CheckConfidentialLedgerNameAvailabilityAsync メソッド

定義

リソース名を使用できるかどうかをチェックします。

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

パラメーター

subscriptionResource
SubscriptionResource

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

content
ConfidentialLedgerNameAvailabilityContent

可用性要求ペイロードに名前を付けます。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象