# DeleteRetentionPolicyProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Storage](/reference/api/typescript/aspire.hosting.azure.provisioning.storage.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the DeleteRetentionPolicy Azure Provisioning model.

## Definition

```typescript
interface DeleteRetentionPolicyProxy {
  allowPermanentDelete: BicepValueProxy | boolean;
  days: BicepValueProxy | number;
  isEnabled: BicepValueProxy | boolean;
  clearAllowPermanentDelete(): void;
  clearDays(): void;
  clearIsEnabled(): void;
}
```

## Properties

- `allowPermanentDelete`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the AllowPermanentDelete provisioning property.
- `days`: `BicepValueProxy | number` `get - set` -- Gets or sets the Days provisioning property.
- `isEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsEnabled provisioning property.

## Methods

- [clearAllowPermanentDelete](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/deleteretentionpolicyproxy/clearallowpermanentdelete.md) -- `method` -- Clears the AllowPermanentDelete provisioning property.
    ```typescript
  clearAllowPermanentDelete(): void
  ```
- [clearDays](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/deleteretentionpolicyproxy/cleardays.md) -- `method` -- Clears the Days provisioning property.
    ```typescript
  clearDays(): void
  ```
- [clearIsEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.storage/deleteretentionpolicyproxy/clearisenabled.md) -- `method` -- Clears the IsEnabled provisioning property.
    ```typescript
  clearIsEnabled(): void
  ```
