共用方式為


Endpoints interface

Interface representing a Endpoints.

Methods

beginPurgeContent(string, string, PurgeParameters, EndpointsPurgeContentOptionalParams)

Removes a content from Front Door.

beginPurgeContentAndWait(string, string, PurgeParameters, EndpointsPurgeContentOptionalParams)

Removes a content from Front Door.

Method Details

beginPurgeContent(string, string, PurgeParameters, EndpointsPurgeContentOptionalParams)

Removes a content from Front Door.

function beginPurgeContent(resourceGroupName: string, frontDoorName: string, contentFilePaths: PurgeParameters, options?: EndpointsPurgeContentOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

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.

options
EndpointsPurgeContentOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginPurgeContentAndWait(string, string, PurgeParameters, EndpointsPurgeContentOptionalParams)

Removes a content from Front Door.

function beginPurgeContentAndWait(resourceGroupName: string, frontDoorName: string, contentFilePaths: PurgeParameters, options?: EndpointsPurgeContentOptionalParams): Promise<void>

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.

options
EndpointsPurgeContentOptionalParams

The options parameters.

Returns

Promise<void>