共用方式為


ICdnProfile.ValidateEndpointCustomDomain(String, String) Method

Definition

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

public Microsoft.Azure.Management.Cdn.Fluent.CustomDomainValidationResult ValidateEndpointCustomDomain (string endpointName, string hostName);
abstract member ValidateEndpointCustomDomain : string * string -> Microsoft.Azure.Management.Cdn.Fluent.CustomDomainValidationResult
Public Function ValidateEndpointCustomDomain (endpointName As String, hostName As String) As 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.

Returns

Applies to