# RestorePolicyProxy

- 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 RestorePolicy Azure Provisioning model.

## Definition

```typescript
interface RestorePolicyProxy {
  days: BicepValueProxy | number;
  isEnabled: BicepValueProxy | boolean;
  readonly lastEnabledOn: BicepValueProxy | datetimeoffset;
  readonly minRestoreOn: BicepValueProxy | datetimeoffset;
  clearDays(): void;
  clearIsEnabled(): void;
}
```

## Properties

- `days`: `BicepValueProxy | number` `get - set` -- Gets or sets the Days provisioning property.
- `isEnabled`: `BicepValueProxy | boolean` `get - set` -- Gets or sets the IsEnabled provisioning property.
- `lastEnabledOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastEnabledOn provisioning property.
- `minRestoreOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the MinRestoreOn provisioning property.

## Methods

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