你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CdnManagementClientExtensions.ValidateProbeAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检查探测路径是否为有效路径,以及是否可以访问该文件。 探测路径是源服务器上托管的文件的路径,可帮助加速通过 CDN 终结点传递动态内容。 此路径相对于终结点配置中指定的源路径。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.ValidateProbeOutput> ValidateProbeAsync (this Microsoft.Azure.Management.Cdn.ICdnManagementClient operations, string probeURL, System.Threading.CancellationToken cancellationToken = default);
static member ValidateProbeAsync : Microsoft.Azure.Management.Cdn.ICdnManagementClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.ValidateProbeOutput>
<Extension()>
Public Function ValidateProbeAsync (operations As ICdnManagementClient, probeURL As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ValidateProbeOutput)
参数
- operations
- ICdnManagementClient
此扩展方法的操作组。
- probeURL
- String
要验证的探测 URL。
- cancellationToken
- CancellationToken
取消标记。