Partager via


ConfidentialLedgerExtensions.CheckConfidentialLedgerNameAvailabilityAsync Méthode

Définition

Pour case activée si un nom de ressource est disponible.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.ConfidentialLedger/checkNameAvailability
  • Opération 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))

Paramètres

subscriptionResource
SubscriptionResource

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

content
ConfidentialLedgerNameAvailabilityContent

Charge utile de la demande de disponibilité du nom.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

content a la valeur null.

S’applique à