# getGitopsWorkflow

> Function getGitopsWorkflow in pulumi-portainer.

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

Function getGitopsWorkflow in pulumi-portainer.

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

## 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.getGitopsWorkflow({
  workflowId: 0,
})
```

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

## Arguments

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

## Result

| Property         | Type      | Always present | Description |
| ---------------- | --------- | -------------- | ----------- |
| `artifactError`  | `string`  | yes            |             |
| `artifactStatus` | `string`  | yes            |             |
| `creationDate`   | `number`  | yes            |             |
| `healthy`        | `boolean` | yes            |             |
| `id`             | `string`  | yes            |             |
| `lastSyncDate`   | `number`  | yes            |             |
| `name`           | `string`  | yes            |             |
| `sourceError`    | `string`  | yes            |             |
| `sourceStatus`   | `string`  | yes            |             |
| `targetError`    | `string`  | yes            |             |
| `targetStatus`   | `string`  | yes            |             |
| `workflowId`     | `number`  | yes            |             |
