Skip to content
Docs Try Aspire

AzureContainerRegistryResource.withPurgeTask

Method
📦 Aspire.Hosting.Azure.AppContainers v13.2.0-preview.1.26159.1
interface AzureContainerRegistryResource {
// ... omitted for brevity
withPurgeTask(
schedule: string,
filter?: string,
ago?: timespan,
keep?: number,
taskName?: string): AzureContainerRegistryResource;
}

Signature

method withPurgeTask builder
Configures a purge task for the Azure Container Registry resource.
withPurgeTask(
schedule: string,
filter?: string,
ago?: timespan,
keep?: number,
taskName?: string): AzureContainerRegistryResource
schedule string
filter string optional
ago timespan optional
keep number optional = 3
taskName string optional
AzureContainerRegistryResource

Defined on

This method is defined on the following type: