# PostgreSqlFlexibleServerDatabaseProxy

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

## Definition

```typescript
interface PostgreSqlFlexibleServerDatabaseProxy {
  charset: BicepValueProxy | string;
  collation: BicepValueProxy | string;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: PostgreSqlFlexibleServerProxy;
  readonly systemData: PostgreSqlSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCharset(): void;
  clearCollation(): void;
  clearName(): void;
}
```

## Properties

- `charset`: `BicepValueProxy | string` `get - set` -- Gets or sets the Charset provisioning property.
- `collation`: `BicepValueProxy | string` `get - set` -- Gets or sets the Collation provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [PostgreSqlFlexibleServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `systemData`: [PostgreSqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdatabaseproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCharset](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdatabaseproxy/clearcharset.md) -- `method` -- Clears the Charset provisioning property.
    ```typescript
  clearCharset(): void
  ```
- [clearCollation](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdatabaseproxy/clearcollation.md) -- `method` -- Clears the Collation provisioning property.
    ```typescript
  clearCollation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserverdatabaseproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
