次の方法で共有


FrontDoorEndpointResource.PurgeContent メソッド

定義

AzureFrontDoor からコンテンツを削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/purge
  • 操作IdFrontDoorEndpoints_PurgeContent
public virtual Azure.ResourceManager.ArmOperation PurgeContent (Azure.WaitUntil waitUntil, Azure.ResourceManager.Cdn.Models.FrontDoorPurgeContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member PurgeContent : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.FrontDoorPurgeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.PurgeContent : Azure.WaitUntil * Azure.ResourceManager.Cdn.Models.FrontDoorPurgeContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function PurgeContent (waitUntil As WaitUntil, content As FrontDoorPurgeContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

パラメーター

waitUntil
WaitUntil

Completed メソッドが、サービスで実行時間の長い操作が完了するまで戻るまで待機する必要がある場合。 Started 操作を開始した後に が返される場合は 。 実行時間の長い操作の詳細については、「 Azure.Core Long-Running 操作のサンプル」を参照してください。

content
FrontDoorPurgeContent

コンテンツへのパスの一覧と、消去するリンク ドメインの一覧。 パスには完全な URL を指定できます。たとえば、1 つのファイルを削除する '/pictures/city.png' や、ディレクトリ内のすべてのフォルダーとファイルを削除する "/pictures/*" などのワイルドカードを含むディレクトリを指定できます。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

content が null です。

適用対象