# PostgreSqlServerAdministratorProxy

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

## Definition

```typescript
interface PostgreSqlServerAdministratorProxy {
  administratorType: BicepValueProxy | PostgreSqlAdministratorType;
  readonly id: BicepValueProxy;
  loginAccountName: BicepValueProxy | string;
  readonly name: BicepValueProxy | string;
  parent: PostgreSqlServerProxy;
  secureId: BicepValueProxy | guid;
  readonly systemData: PostgreSqlSystemDataProxy;
  tenantId: BicepValueProxy | guid;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearAdministratorType(): void;
  clearLoginAccountName(): void;
  clearSecureId(): void;
  clearTenantId(): void;
}
```

## Properties

- `administratorType`: `BicepValueProxy | PostgreSqlAdministratorType` `get - set` -- Gets or sets the AdministratorType provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `loginAccountName`: `BicepValueProxy | string` `get - set` -- Gets or sets the LoginAccountName provisioning property.
- `name`: `BicepValueProxy | string` `get` -- Gets 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.
- `secureId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the SecureId provisioning property.
- `systemData`: [PostgreSqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tenantId`: `BicepValueProxy | guid` `get - set` -- Gets or sets the TenantId provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserveradministratorproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearAdministratorType](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserveradministratorproxy/clearadministratortype.md) -- `method` -- Clears the AdministratorType provisioning property.
    ```typescript
  clearAdministratorType(): void
  ```
- [clearLoginAccountName](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserveradministratorproxy/clearloginaccountname.md) -- `method` -- Clears the LoginAccountName provisioning property.
    ```typescript
  clearLoginAccountName(): void
  ```
- [clearSecureId](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserveradministratorproxy/clearsecureid.md) -- `method` -- Clears the SecureId provisioning property.
    ```typescript
  clearSecureId(): void
  ```
- [clearTenantId](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlserveradministratorproxy/cleartenantid.md) -- `method` -- Clears the TenantId provisioning property.
    ```typescript
  clearTenantId(): void
  ```
