# PostgreSqlMigrationSecretParametersProxy

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

## Definition

```typescript
interface PostgreSqlMigrationSecretParametersProxy {
  adminCredentials: PostgreSqlMigrationAdminCredentialsProxy;
  sourceServerUsername: BicepValueProxy | string;
  targetServerUsername: BicepValueProxy | string;
  clearSourceServerUsername(): void;
  clearTargetServerUsername(): void;
}
```

## Properties

- `adminCredentials`: [PostgreSqlMigrationAdminCredentialsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlmigrationadmincredentialsproxy.md) `get - set` -- Gets or sets the AdminCredentials provisioning property.
- `sourceServerUsername`: `BicepValueProxy | string` `get - set` -- Gets or sets the SourceServerUsername provisioning property.
- `targetServerUsername`: `BicepValueProxy | string` `get - set` -- Gets or sets the TargetServerUsername provisioning property.

## Methods

- [clearSourceServerUsername](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlmigrationsecretparametersproxy/clearsourceserverusername.md) -- `method` -- Clears the SourceServerUsername provisioning property.
    ```typescript
  clearSourceServerUsername(): void
  ```
- [clearTargetServerUsername](/reference/api/typescript/aspire.hosting.azure.provisioning.postgresql/postgresqlmigrationsecretparametersproxy/cleartargetserverusername.md) -- `method` -- Clears the TargetServerUsername provisioning property.
    ```typescript
  clearTargetServerUsername(): void
  ```
