ProfileResource.CheckFrontDoorProfileHostNameAvailabilityAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.