# PostgreSqlStorageProfileProxy

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

Represents the PostgreSqlStorageProfile Azure Provisioning model.

## Definition

```typescript
interface PostgreSqlStorageProfileProxy {
  backupRetentionDays: BicepValueProxy | number;
  geoRedundantBackup: BicepValueProxy | PostgreSqlGeoRedundantBackup;
  storageAutogrow: BicepValueProxy | PostgreSqlStorageAutogrow;
  storageInMB: BicepValueProxy | number;
  clearBackupRetentionDays(): void;
  clearGeoRedundantBackup(): void;
  clearStorageAutogrow(): void;
  clearStorageInMB(): void;
}
```

## Properties

- `backupRetentionDays`: `BicepValueProxy | number` `get - set` -- Gets or sets the BackupRetentionDays provisioning property.
- `geoRedundantBackup`: `BicepValueProxy | PostgreSqlGeoRedundantBackup` `get - set` -- Gets or sets the GeoRedundantBackup provisioning property.
- `storageAutogrow`: `BicepValueProxy | PostgreSqlStorageAutogrow` `get - set` -- Gets or sets the StorageAutogrow provisioning property.
- `storageInMB`: `BicepValueProxy | number` `get - set` -- Gets or sets the StorageInMB provisioning property.

## Methods

- [clearBackupRetentionDays](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlstorageprofileproxy/clearbackupretentiondays.md) -- `method` -- Clears the BackupRetentionDays provisioning property.
    ```typescript
  clearBackupRetentionDays(): void
  ```
- [clearGeoRedundantBackup](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlstorageprofileproxy/cleargeoredundantbackup.md) -- `method` -- Clears the GeoRedundantBackup provisioning property.
    ```typescript
  clearGeoRedundantBackup(): void
  ```
- [clearStorageAutogrow](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlstorageprofileproxy/clearstorageautogrow.md) -- `method` -- Clears the StorageAutogrow provisioning property.
    ```typescript
  clearStorageAutogrow(): void
  ```
- [clearStorageInMB](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlstorageprofileproxy/clearstorageinmb.md) -- `method` -- Clears the StorageInMB provisioning property.
    ```typescript
  clearStorageInMB(): void
  ```
