Freigeben über


ProfileResource.CheckFrontDoorProfileHostNameAvailabilityAsync Methode

Definition

Überprüfen Sie die Namensverfügbarkeit eines Hostnamens.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkHostNameAvailability
  • Vorgangs-IdFrontDoorProfiles_CheckHostNameAvailability
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))

Parameter

content
HostNameAvailabilityContent

Benutzerdefinierte Domäne, die überprüft werden soll.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: