你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ICdnProfile.ValidateEndpointCustomDomainAsync 方法

定义

验证自定义域映射,以确保它以异步方式映射到当前配置文件中的 DNS 中的正确 CNAME。

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)

参数

endpointName
String

配置文件下终结点的名称。

hostName
String

自定义域的主机名,必须是域名。

cancellationToken
CancellationToken

返回

适用于