# RetentionPolicyParametersProxy

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

Represents the RetentionPolicyParameters Azure Provisioning model.

## Definition

```typescript
interface RetentionPolicyParametersProxy {
  days: BicepValueProxy | number;
  enabled: BicepValueProxy | boolean;
  clearDays(): void;
  clearEnabled(): void;
}
```

## Properties

- `days`: `BicepValueProxy | number` `get - set` -- Gets or sets the Days provisioning property.
- `enabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the Enabled provisioning property.

## Methods

- [clearDays](/reference/api/typescript/aspire.hosting.azure.provisioning.network/retentionpolicyparametersproxy/cleardays.md) -- `method` -- Clears the Days provisioning property.
    ```typescript
  clearDays(): void
  ```
- [clearEnabled](/reference/api/typescript/aspire.hosting.azure.provisioning.network/retentionpolicyparametersproxy/clearenabled.md) -- `method` -- Clears the Enabled provisioning property.
    ```typescript
  clearEnabled(): void
  ```
