ICdnProfile.ValidateEndpointCustomDomainAsync 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 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