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

CdnManagementClientExtensions.ValidateProbeAsync 方法

定义

检查探测路径是否为有效路径以及是否可以访问该文件。 探测路径是源服务器上托管的文件的路径,可帮助加速通过 CDN 终结点传递动态内容。 此路径相对于终结点配置中指定的源路径。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Fluent.Models.ValidateProbeOutputInner> ValidateProbeAsync(this Microsoft.Azure.Management.Cdn.Fluent.ICdnManagementClient operations, string probeURL, System.Threading.CancellationToken cancellationToken = default);
static member ValidateProbeAsync : Microsoft.Azure.Management.Cdn.Fluent.ICdnManagementClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Fluent.Models.ValidateProbeOutputInner>
<Extension()>
Public Function ValidateProbeAsync (operations As ICdnManagementClient, probeURL As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidateProbeOutputInner)

参数

operations
ICdnManagementClient

此扩展方法的操作组。

probeURL
String

要验证的探测 URL。

cancellationToken
CancellationToken

取消标记。

返回

适用于