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

AFDEndpointsOperationsExtensions.BeginPurgeContentAsync 方法

定义

从 AzureFrontDoor 中删除内容。

public static System.Threading.Tasks.Task BeginPurgeContentAsync (this Microsoft.Azure.Management.Cdn.IAFDEndpointsOperations operations, string resourceGroupName, string profileName, string endpointName, System.Collections.Generic.IList<string> contentPaths, System.Collections.Generic.IList<string> domains = default, System.Threading.CancellationToken cancellationToken = default);
static member BeginPurgeContentAsync : Microsoft.Azure.Management.Cdn.IAFDEndpointsOperations * string * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function BeginPurgeContentAsync (operations As IAFDEndpointsOperations, resourceGroupName As String, profileName As String, endpointName As String, contentPaths As IList(Of String), Optional domains As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

参数

operations
IAFDEndpointsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中资源组的名称。

profileName
String

资源组中唯一的 CDN 配置文件的名称。

endpointName
String

配置文件下全局唯一的终结点的名称。

contentPaths
IList<String>

待清除内容的路径。 可以描述文件路径或野生卡目录。

domains
IList<String>

域列表。

cancellationToken
CancellationToken

取消标记。

返回

适用于