Udostępnij za pośrednictwem


ProfileResource.CheckFrontDoorProfileHostNameAvailabilityAsync Method

Definition

Validates the custom domain mapping to ensure it maps to the correct Azure Front Door endpoint in DNS.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/checkHostNameAvailability
  • Operation Id: FrontDoorProfiles_CheckHostNameAvailability
  • Default Api Version: 2024-02-01
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))

Parameters

content
HostNameAvailabilityContent

Custom domain to be validated.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to