# SqlServerJobAgentProxy

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

Represents the SqlServerJobAgent Azure Provisioning model.

## Definition

```typescript
interface SqlServerJobAgentProxy {
  databaseId: BicepValueProxy;
  readonly id: BicepValueProxy;
  identity: JobAgentIdentityProxy;
  location: BicepValueProxy;
  name: BicepValueProxy | string;
  parent: SqlServerProxy;
  sku: SqlSkuProxy;
  readonly state: BicepValueProxy | JobAgentState;
  readonly systemData: SqlSystemDataProxy;
  tags: Aspire_Hosting_Azure_Provisioning_Sql_Generated_DictionaryOfStringProxy;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearDatabaseId(): void;
  clearLocation(): void;
  clearName(): void;
}
```

## Properties

- `databaseId`: `BicepValueProxy` `get - set` -- Gets or sets the DatabaseId provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `identity`: [JobAgentIdentityProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/jobagentidentityproxy.md) `get - set` -- Gets or sets the Identity provisioning property.
- `location`: `BicepValueProxy` `get - set` -- Gets or sets the Location provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [SqlServerProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `sku`: [SqlSkuProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlskuproxy.md) `get - set` -- Gets or sets the Sku provisioning property.
- `state`: `BicepValueProxy | JobAgentState` `get` -- Gets the State provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `tags`: [Aspire_Hosting_Azure_Provisioning_Sql_Generated_DictionaryOfStringProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/aspire-hosting-azure-provisioning-sql-generated-dictionaryofstringproxy.md) `get - set` -- Gets or sets the Tags provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearDatabaseId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy/cleardatabaseid.md) -- `method` -- Clears the DatabaseId provisioning property.
    ```typescript
  clearDatabaseId(): void
  ```
- [clearLocation](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy/clearlocation.md) -- `method` -- Clears the Location provisioning property.
    ```typescript
  clearLocation(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
