# SqlServerJobAgentProxy.addTo

- Module: [Aspire.Hosting.Azure.Provisioning.Sql](/reference/api/typescript/aspire.hosting.azure.provisioning.sql.md)
- Defined on: [SqlServerJobAgentProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy.md)
- Version: `13.6.0-preview.1.26478.8`
- Kind: `method`

Adds this provisioning resource to the Azure resource infrastructure.

## Definition

```typescript
interface SqlServerJobAgentProxy {
  // ... omitted for brevity
  addTo(infrastructure: AzureResourceInfrastructure): void;
}
```

## Signature

```typescript
addTo(infrastructure: AzureResourceInfrastructure): void
```

## Parameters

- `infrastructure` (`AzureResourceInfrastructure`)

## Defined on

- [SqlServerJobAgentProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobagentproxy.md) -- `handle`
