Compartilhar via


IEndpointsOperations.BeginPurgeContentWithHttpMessagesAsync Method

Definition

Removes a content from Front Door.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginPurgeContentWithHttpMessagesAsync (string resourceGroupName, string frontDoorName, Microsoft.Azure.Management.FrontDoor.Models.PurgeParameters contentFilePaths, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginPurgeContentWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.FrontDoor.Models.PurgeParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function BeginPurgeContentWithHttpMessagesAsync (resourceGroupName As String, frontDoorName As String, contentFilePaths As PurgeParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parameters

resourceGroupName
String

Name of the Resource group within the Azure subscription.

frontDoorName
String

Name of the Front Door which is globally unique.

contentFilePaths
PurgeParameters

The path to the content to be purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a single file, or a directory with a wildcard, e.g. '/pictures/*' which removes all folders and files in the directory.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Remarks

Removes a content from Front Door.

Applies to