Partilhar via


ProfileResource.CheckFrontDoorProfileHostNameAvailabilityAsync Método

Definição

Verifique a disponibilidade do nome de um nome de host.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkHostNameAvailability
  • IdFrontDoorProfiles_CheckHostNameAvailability de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult>> CheckFrontDoorProfileHostNameAvailabilityAsync (Azure.ResourceManager.Cdn.Models.HostNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckFrontDoorProfileHostNameAvailabilityAsync : Azure.ResourceManager.Cdn.Models.HostNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult>>
override this.CheckFrontDoorProfileHostNameAvailabilityAsync : Azure.ResourceManager.Cdn.Models.HostNameAvailabilityContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult>>
Public Overridable Function CheckFrontDoorProfileHostNameAvailabilityAsync (content As HostNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CdnNameAvailabilityResult))

Parâmetros

content
HostNameAvailabilityContent

Domínio personalizado a ser validado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a