# DeleteRetentionPolicyProxy

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

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
  ```
