Compartilhar via


ConfidentialLedgerExtensions.CheckConfidentialLedgerNameAvailabilityAsync Método

Definição

Para marcar se um nome de recurso está disponível.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.ConfidentialLedger/checkNameAvailability
  • Operação 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))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

content
ConfidentialLedgerNameAvailabilityContent

Conteúdo da solicitação de disponibilidade de nome.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a