# getEdgeJobTasks

> Function getEdgeJobTasks in pulumi-portainer.

<!-- Generated from the pulumi-portainer SDK. -->

Function getEdgeJobTasks in pulumi-portainer.

Invoke token: `portainer:index/getEdgeJobTasks:getEdgeJobTasks`.

## Example

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

```ts
import * as portainer from "pulumi-portainer"

const result = await portainer.getEdgeJobTasks({
  edgeJobId: 0,
})
```

`getEdgeJobTasksOutput` accepts Input values and returns `Output` of the same result.

## Arguments

| Property    | Type     | Required | Description |
| ----------- | -------- | -------- | ----------- |
| `edgeJobId` | `number` | yes      |             |
| `id`        | `string` | no       |             |

## Result

| Property    | Type                    | Always present | Description |
| ----------- | ----------------------- | -------------- | ----------- |
| `edgeJobId` | `number`                | yes            |             |
| `id`        | `string`                | yes            |             |
| `tasks`     | `GetEdgeJobTasksTask[]` | yes            |             |

## `GetEdgeJobTasksTask`

Output object `GetEdgeJobTasksTask`. Fields below belong to this object.

| Property        | Type      | Always present | Description |
| --------------- | --------- | -------------- | ----------- |
| `endpointId`    | `number`  | no             |             |
| `endpointName`  | `string`  | no             |             |
| `id`            | `string`  | no             |             |
| `logsCollected` | `boolean` | no             |             |
| `logsStatus`    | `number`  | no             |             |
