# PostgreSqlFlexibleServerDataEncryptionProxy

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

Represents the PostgreSqlFlexibleServerDataEncryption Azure Provisioning model.

## Definition

```typescript
interface PostgreSqlFlexibleServerDataEncryptionProxy {
  geoBackupEncryptionKeyStatus: BicepValueProxy | PostgreSqlKeyStatus;
  geoBackupKeyUri: BicepValueProxy | uri;
  geoBackupUserAssignedIdentityId: BicepValueProxy | string;
  keyType: BicepValueProxy | PostgreSqlFlexibleServerKeyType;
  primaryEncryptionKeyStatus: BicepValueProxy | PostgreSqlKeyStatus;
  primaryKeyUri: BicepValueProxy | uri;
  primaryUserAssignedIdentityId: BicepValueProxy;
  clearGeoBackupEncryptionKeyStatus(): void;
  clearGeoBackupKeyUri(): void;
  clearGeoBackupUserAssignedIdentityId(): void;
  clearKeyType(): void;
  clearPrimaryEncryptionKeyStatus(): void;
  clearPrimaryKeyUri(): void;
  clearPrimaryUserAssignedIdentityId(): void;
}
```

## Properties

- `geoBackupEncryptionKeyStatus`: `BicepValueProxy | PostgreSqlKeyStatus` `get - set` -- Gets or sets the GeoBackupEncryptionKeyStatus provisioning property.
- `geoBackupKeyUri`: `BicepValueProxy | uri` `get - set` -- Gets or sets the GeoBackupKeyUri provisioning property.
- `geoBackupUserAssignedIdentityId`: `BicepValueProxy | string` `get - set` -- Gets or sets the GeoBackupUserAssignedIdentityId provisioning property.
- `keyType`: `BicepValueProxy | PostgreSqlFlexibleServerKeyType` `get - set` -- Gets or sets the KeyType provisioning property.
- `primaryEncryptionKeyStatus`: `BicepValueProxy | PostgreSqlKeyStatus` `get - set` -- Gets or sets the PrimaryEncryptionKeyStatus provisioning property.
- `primaryKeyUri`: `BicepValueProxy | uri` `get - set` -- Gets or sets the PrimaryKeyUri provisioning property.
- `primaryUserAssignedIdentityId`: `BicepValueProxy` `get - set` -- Gets or sets the PrimaryUserAssignedIdentityId provisioning property.

## Methods

- [clearGeoBackupEncryptionKeyStatus](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/cleargeobackupencryptionkeystatus.md) -- `method` -- Clears the GeoBackupEncryptionKeyStatus provisioning property.
    ```typescript
  clearGeoBackupEncryptionKeyStatus(): void
  ```
- [clearGeoBackupKeyUri](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/cleargeobackupkeyuri.md) -- `method` -- Clears the GeoBackupKeyUri provisioning property.
    ```typescript
  clearGeoBackupKeyUri(): void
  ```
- [clearGeoBackupUserAssignedIdentityId](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/cleargeobackupuserassignedidentityid.md) -- `method` -- Clears the GeoBackupUserAssignedIdentityId provisioning property.
    ```typescript
  clearGeoBackupUserAssignedIdentityId(): void
  ```
- [clearKeyType](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/clearkeytype.md) -- `method` -- Clears the KeyType provisioning property.
    ```typescript
  clearKeyType(): void
  ```
- [clearPrimaryEncryptionKeyStatus](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/clearprimaryencryptionkeystatus.md) -- `method` -- Clears the PrimaryEncryptionKeyStatus provisioning property.
    ```typescript
  clearPrimaryEncryptionKeyStatus(): void
  ```
- [clearPrimaryKeyUri](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/clearprimarykeyuri.md) -- `method` -- Clears the PrimaryKeyUri provisioning property.
    ```typescript
  clearPrimaryKeyUri(): void
  ```
- [clearPrimaryUserAssignedIdentityId](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdataencryptionproxy/clearprimaryuserassignedidentityid.md) -- `method` -- Clears the PrimaryUserAssignedIdentityId provisioning property.
    ```typescript
  clearPrimaryUserAssignedIdentityId(): void
  ```
