# DataTransferJobPropertiesProxy

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

Represents the DataTransferJobProperties Azure Provisioning model.

## Definition

```typescript
interface DataTransferJobPropertiesProxy {
  destination: DataTransferDataSourceSinkProxy;
  readonly duration: BicepValueProxy | timespan;
  readonly error: ErrorResponseProxy;
  readonly jobName: BicepValueProxy | string;
  readonly lastUpdatedUtcOn: BicepValueProxy | datetimeoffset;
  mode: BicepValueProxy | DataTransferJobMode;
  readonly processedCount: BicepValueProxy | number;
  source: DataTransferDataSourceSinkProxy;
  readonly status: BicepValueProxy | string;
  readonly totalCount: BicepValueProxy | number;
  workerCount: BicepValueProxy | number;
  clearMode(): void;
  clearWorkerCount(): void;
}
```

## Properties

- `destination`: [DataTransferDataSourceSinkProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferdatasourcesinkproxy.md) `get - set` -- Gets or sets the Destination provisioning property.
- `duration`: `BicepValueProxy | timespan` `get` -- Gets the Duration provisioning property.
- `error`: [ErrorResponseProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/errorresponseproxy.md) `get` -- Gets the Error provisioning property.
- `jobName`: `BicepValueProxy | string` `get` -- Gets the JobName provisioning property.
- `lastUpdatedUtcOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastUpdatedUtcOn provisioning property.
- `mode`: `BicepValueProxy | DataTransferJobMode` `get - set` -- Gets or sets the Mode provisioning property.
- `processedCount`: `BicepValueProxy | number` `get` -- Gets the ProcessedCount provisioning property.
- `source`: [DataTransferDataSourceSinkProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferdatasourcesinkproxy.md) `get - set` -- Gets or sets the Source provisioning property.
- `status`: `BicepValueProxy | string` `get` -- Gets the Status provisioning property.
- `totalCount`: `BicepValueProxy | number` `get` -- Gets the TotalCount provisioning property.
- `workerCount`: `BicepValueProxy | number` `get - set` -- Gets or sets the WorkerCount provisioning property.

## Methods

- [clearMode](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferjobpropertiesproxy/clearmode.md) -- `method` -- Clears the Mode provisioning property.
    ```typescript
  clearMode(): void
  ```
- [clearWorkerCount](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferjobpropertiesproxy/clearworkercount.md) -- `method` -- Clears the WorkerCount provisioning property.
    ```typescript
  clearWorkerCount(): void
  ```
