# PostgreSqlPrivateEndpointConnectionProxy

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

## Definition

```typescript
interface PostgreSqlPrivateEndpointConnectionProxy {
  connectionState: PostgreSqlPrivateLinkServiceConnectionStatePropertyProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: PostgreSqlServerProxy;
  privateEndpointId: BicepValueProxy;
  readonly provisioningState: BicepValueProxy | string;
  readonly systemData: PostgreSqlSystemDataProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
  clearPrivateEndpointId(): void;
}
```

## Properties

- `connectionState`: [PostgreSqlPrivateLinkServiceConnectionStatePropertyProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlprivatelinkserviceconnectionstatepropertyproxy.md) `get - set` -- Gets or sets the ConnectionState provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [PostgreSqlServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `privateEndpointId`: `BicepValueProxy` `get - set` -- Gets or sets the PrivateEndpointId provisioning property.
- `provisioningState`: `BicepValueProxy | string` `get` -- Gets the ProvisioningState 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/postgresqlprivateendpointconnectionproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlprivateendpointconnectionproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPrivateEndpointId](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlprivateendpointconnectionproxy/clearprivateendpointid.md) -- `method` -- Clears the PrivateEndpointId provisioning property.
    ```typescript
  clearPrivateEndpointId(): void
  ```
