# SqlServerJobCredentialProxy

- Module: [Aspire.Hosting.Azure.Provisioning.Sql](/reference/api/typescript/aspire.hosting.azure.provisioning.sql.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

Represents the SqlServerJobCredential Azure Provisioning model.

## Definition

```typescript
interface SqlServerJobCredentialProxy {
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: SqlServerJobAgentProxy;
  password: BicepValueProxy | string;
  readonly systemData: SqlSystemDataProxy;
  username: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
  clearPassword(): void;
  clearUsername(): void;
}
```

## Properties

- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [SqlServerJobAgentProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `password`: `BicepValueProxy | string` `get - set` -- Gets or sets the Password provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `username`: `BicepValueProxy | string` `get - set` -- Gets or sets the Username provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobcredentialproxy/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.sql/sqlserverjobcredentialproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearPassword](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobcredentialproxy/clearpassword.md) -- `method` -- Clears the Password provisioning property.
    ```typescript
  clearPassword(): void
  ```
- [clearUsername](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobcredentialproxy/clearusername.md) -- `method` -- Clears the Username provisioning property.
    ```typescript
  clearUsername(): void
  ```
