# AzureSandboxAutoDeleteTrigger

- Kind: `enum`
- Package: [Aspire.Hosting.Azure.Sandboxes](/reference/api/csharp/aspire.hosting.azure.sandboxes.md)
- Version: `13.6.0-preview.1.26478.8`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62/src/Aspire.Hosting.Azure.Sandboxes/AzureSandboxAutoDeleteTrigger.cs)

Events that can start the Azure Container Apps sandbox auto-delete interval.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public enum AzureSandboxAutoDeleteTrigger
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| AfterSuspend | 0 | Starts the interval after the sandbox is suspended. |
| AfterCreation | 1 | Starts the interval after the sandbox is created. |
