Share via


ICdnProfile.ValidateEndpointCustomDomainAsync Method

Definition

Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile asynchronously.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Fluent.CustomDomainValidationResult> ValidateEndpointCustomDomainAsync (string endpointName, string hostName, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateEndpointCustomDomainAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Fluent.CustomDomainValidationResult>
Public Function ValidateEndpointCustomDomainAsync (endpointName As String, hostName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CustomDomainValidationResult)

Parameters

endpointName
String

A name of the endpoint under the profile.

hostName
String

The host name of the custom domain, which must be a domain name.

cancellationToken
CancellationToken

Returns

Applies to