# SqlServerJobStepProxy

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

## Definition

```typescript
interface SqlServerJobStepProxy {
  action: JobStepActionProxy;
  credential: BicepValueProxy | string;
  executionOptions: JobStepExecutionOptionsProxy;
  readonly id: BicepValueProxy;
  name: BicepValueProxy | string;
  output: JobStepOutputProxy;
  parent: SqlServerJobProxy;
  stepId: BicepValueProxy | number;
  readonly systemData: SqlSystemDataProxy;
  targetGroup: BicepValueProxy | string;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearCredential(): void;
  clearName(): void;
  clearStepId(): void;
  clearTargetGroup(): void;
}
```

## Properties

- `action`: [JobStepActionProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/jobstepactionproxy.md) `get - set` -- Gets or sets the Action provisioning property.
- `credential`: `BicepValueProxy | string` `get - set` -- Gets or sets the Credential provisioning property.
- `executionOptions`: [JobStepExecutionOptionsProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/jobstepexecutionoptionsproxy.md) `get - set` -- Gets or sets the ExecutionOptions provisioning property.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `output`: [JobStepOutputProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/jobstepoutputproxy.md) `get - set` -- Gets or sets the Output provisioning property.
- `parent`: [SqlServerJobProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `stepId`: `BicepValueProxy | number` `get - set` -- Gets or sets the StepId provisioning property.
- `systemData`: [SqlSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `targetGroup`: `BicepValueProxy | string` `get - set` -- Gets or sets the TargetGroup provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobstepproxy/addto.md) -- `method` -- Adds this provisioning resource to the Azure resource infrastructure.
    ```typescript
  addTo(infrastructure: AzureResourceInfrastructure): void
  ```
- [clearCredential](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobstepproxy/clearcredential.md) -- `method` -- Clears the Credential provisioning property.
    ```typescript
  clearCredential(): void
  ```
- [clearName](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobstepproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
- [clearStepId](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobstepproxy/clearstepid.md) -- `method` -- Clears the StepId provisioning property.
    ```typescript
  clearStepId(): void
  ```
- [clearTargetGroup](/reference/api/typescript/aspire.hosting.azure.provisioning.sql/sqlserverjobstepproxy/cleartargetgroup.md) -- `method` -- Clears the TargetGroup provisioning property.
    ```typescript
  clearTargetGroup(): void
  ```
