# PostgreSqlFlexibleServersPrivateEndpointConnectionProxy.addTo

- Module: [Aspire.Hosting.Azure.Provisioning.PostgreSql](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql.md)
- Defined on: [PostgreSqlFlexibleServersPrivateEndpointConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserversprivateendpointconnectionproxy.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `method`

Adds this provisioning resource to the Azure resource infrastructure.

## Definition

```typescript
interface PostgreSqlFlexibleServersPrivateEndpointConnectionProxy {
  // ... omitted for brevity
  addTo(infrastructure: AzureResourceInfrastructure): void;
}
```

## Signature

```typescript
addTo(infrastructure: AzureResourceInfrastructure): void
```

## Parameters

- `infrastructure` (`AzureResourceInfrastructure`)

## Defined on

- [PostgreSqlFlexibleServersPrivateEndpointConnectionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlflexibleserversprivateendpointconnectionproxy.md) -- `handle`
