Compartilhar via


DevCenterExtensions.CheckDevCenterNameAvailability Método

Definição

Verificar a disponibilidade do nome do recurso

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.DevCenter/checkNameAvailability
  • Operação IdCheckNameAvailability_Execute
public static Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult> CheckDevCenterNameAvailability (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
static member CheckDevCenterNameAvailability : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.Models.DevCenterNameAvailabilityResult>
<Extension()>
Public Function CheckDevCenterNameAvailability (subscriptionResource As SubscriptionResource, content As DevCenterNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevCenterNameAvailabilityResult)

Parâmetros

subscriptionResource
SubscriptionResource

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

content
DevCenterNameAvailabilityContent

Os parâmetros necessários para verificar se o nome do recurso está disponível.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a