# DataTransferJobGetResultProxy

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

## Definition

```typescript
interface DataTransferJobGetResultProxy {
  readonly destination: DataTransferDataSourceSinkProxy;
  readonly duration: BicepValueProxy | timespan;
  readonly error: ErrorResponseProxy;
  readonly id: BicepValueProxy;
  readonly jobName: BicepValueProxy | string;
  readonly lastUpdatedUtcOn: BicepValueProxy | datetimeoffset;
  readonly mode: BicepValueProxy | DataTransferJobMode;
  name: BicepValueProxy | string;
  parent: CosmosDBAccountProxy;
  readonly processedCount: BicepValueProxy | number;
  properties: DataTransferJobPropertiesProxy;
  readonly source: DataTransferDataSourceSinkProxy;
  readonly status: BicepValueProxy | string;
  readonly systemData: CosmosDBSystemDataProxy;
  readonly totalCount: BicepValueProxy | number;
  readonly workerCount: BicepValueProxy | number;
  addTo(infrastructure: AzureResourceInfrastructure): void;
  clearName(): void;
}
```

## Properties

- `destination`: [DataTransferDataSourceSinkProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferdatasourcesinkproxy.md) `get` -- Gets 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.
- `id`: `BicepValueProxy` `get` -- Gets the Id provisioning property.
- `jobName`: `BicepValueProxy | string` `get` -- Gets the JobName provisioning property.
- `lastUpdatedUtcOn`: `BicepValueProxy | datetimeoffset` `get` -- Gets the LastUpdatedUtcOn provisioning property.
- `mode`: `BicepValueProxy | DataTransferJobMode` `get` -- Gets the Mode provisioning property.
- `name`: `BicepValueProxy | string` `get - set` -- Gets or sets the Name provisioning property.
- `parent`: [CosmosDBAccountProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbaccountproxy.md) `get - set` -- Gets or sets the Parent provisioning property.
- `processedCount`: `BicepValueProxy | number` `get` -- Gets the ProcessedCount provisioning property.
- `properties`: [DataTransferJobPropertiesProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferjobpropertiesproxy.md) `get - set` -- Gets or sets the Properties provisioning property.
- `source`: [DataTransferDataSourceSinkProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferdatasourcesinkproxy.md) `get` -- Gets the Source provisioning property.
- `status`: `BicepValueProxy | string` `get` -- Gets the Status provisioning property.
- `systemData`: [CosmosDBSystemDataProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/cosmosdbsystemdataproxy.md) `get` -- Gets the SystemData provisioning property.
- `totalCount`: `BicepValueProxy | number` `get` -- Gets the TotalCount provisioning property.
- `workerCount`: `BicepValueProxy | number` `get` -- Gets the WorkerCount provisioning property.

## Methods

- [addTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cosmosdb/datatransferjobgetresultproxy/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.cosmosdb/datatransferjobgetresultproxy/clearname.md) -- `method` -- Clears the Name provisioning property.
    ```typescript
  clearName(): void
  ```
