# AzureSandboxAutoDeleteTrigger

- Kind: `enum`
- Package: [Aspire.Hosting.Azure.Sandboxes](/reference/api/csharp/aspire.hosting.azure.sandboxes.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/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. |
