次の方法で共有


ConfidentialLedgerExtensions.CheckConfidentialLedgerNameAvailability メソッド

定義

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

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

パラメーター

subscriptionResource
SubscriptionResource

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

content
ConfidentialLedgerNameAvailabilityContent

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

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象