# PostgreSqlServerPropertiesForCreateProxy

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

## Definition

```typescript
interface PostgreSqlServerPropertiesForCreateProxy {
  infrastructureEncryption: BicepValueProxy | PostgreSqlInfrastructureEncryption;
  minimalTlsVersion: BicepValueProxy | PostgreSqlMinimalTlsVersionEnum;
  publicNetworkAccess: BicepValueProxy | PostgreSqlPublicNetworkAccessEnum;
  sslEnforcement: BicepValueProxy | PostgreSqlSslEnforcementEnum;
  storageProfile: PostgreSqlStorageProfileProxy;
  version: BicepValueProxy | PostgreSqlServerVersion;
  clearInfrastructureEncryption(): void;
  clearMinimalTlsVersion(): void;
  clearPublicNetworkAccess(): void;
  clearSslEnforcement(): void;
  clearVersion(): void;
}
```

## Properties

- `infrastructureEncryption`: `BicepValueProxy | PostgreSqlInfrastructureEncryption` `get - set` -- Gets or sets the InfrastructureEncryption provisioning property.
- `minimalTlsVersion`: `BicepValueProxy | PostgreSqlMinimalTlsVersionEnum` `get - set` -- Gets or sets the MinimalTlsVersion provisioning property.
- `publicNetworkAccess`: `BicepValueProxy | PostgreSqlPublicNetworkAccessEnum` `get - set` -- Gets or sets the PublicNetworkAccess provisioning property.
- `sslEnforcement`: `BicepValueProxy | PostgreSqlSslEnforcementEnum` `get - set` -- Gets or sets the SslEnforcement provisioning property.
- `storageProfile`: [PostgreSqlStorageProfileProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlstorageprofileproxy.md) `get - set` -- Gets or sets the StorageProfile provisioning property.
- `version`: `BicepValueProxy | PostgreSqlServerVersion` `get - set` -- Gets or sets the Version provisioning property.

## Methods

- [clearInfrastructureEncryption](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserverpropertiesforcreateproxy/clearinfrastructureencryption.md) -- `method` -- Clears the InfrastructureEncryption provisioning property.
    ```typescript
  clearInfrastructureEncryption(): void
  ```
- [clearMinimalTlsVersion](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserverpropertiesforcreateproxy/clearminimaltlsversion.md) -- `method` -- Clears the MinimalTlsVersion provisioning property.
    ```typescript
  clearMinimalTlsVersion(): void
  ```
- [clearPublicNetworkAccess](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserverpropertiesforcreateproxy/clearpublicnetworkaccess.md) -- `method` -- Clears the PublicNetworkAccess provisioning property.
    ```typescript
  clearPublicNetworkAccess(): void
  ```
- [clearSslEnforcement](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserverpropertiesforcreateproxy/clearsslenforcement.md) -- `method` -- Clears the SslEnforcement provisioning property.
    ```typescript
  clearSslEnforcement(): void
  ```
- [clearVersion](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserverpropertiesforcreateproxy/clearversion.md) -- `method` -- Clears the Version provisioning property.
    ```typescript
  clearVersion(): void
  ```
