FrontDoorResource.PurgeContentAsync Method

Definition

Removes a content from Front Door.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoors/{frontDoorName}/purge
  • Operation Id: Endpoints_PurgeContent
  • Default Api Version: 2021-06-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> PurgeContentAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.FrontDoor.Models.FrontDoorEndpointPurgeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PurgeContentAsync : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.Models.FrontDoorEndpointPurgeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.PurgeContentAsync : Azure.WaitUntil * Azure.ResourceManager.FrontDoor.Models.FrontDoorEndpointPurgeContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function PurgeContentAsync (waitUntil As WaitUntil, content As FrontDoorEndpointPurgeContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
FrontDoorEndpointPurgeContent

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.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to