共用方式為


ProfileResource.CheckFrontDoorProfileHostNameAvailability 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 Azure.Response<Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult> CheckFrontDoorProfileHostNameAvailability (Azure.ResourceManager.Cdn.Models.HostNameAvailabilityContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CheckFrontDoorProfileHostNameAvailability : Azure.ResourceManager.Cdn.Models.HostNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult>
override this.CheckFrontDoorProfileHostNameAvailability : Azure.ResourceManager.Cdn.Models.HostNameAvailabilityContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.CdnNameAvailabilityResult>
Public Overridable Function CheckFrontDoorProfileHostNameAvailability (content As HostNameAvailabilityContent, Optional cancellationToken As CancellationToken = Nothing) As 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