# getGitopsSourceConnection

> Function getGitopsSourceConnection in pulumi-portainer.

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

Function getGitopsSourceConnection in pulumi-portainer.

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

## 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.getGitopsSourceConnection()
```

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

## Arguments

| Property        | Type      | Required | Description |
| --------------- | --------- | -------- | ----------- |
| `failOnError`   | `boolean` | no       |             |
| `id`            | `string`  | no       |             |
| `password`      | `string`  | no       |             |
| `sourceId`      | `number`  | no       |             |
| `tlsSkipVerify` | `boolean` | no       |             |
| `url`           | `string`  | no       |             |
| `username`      | `string`  | no       |             |

## Result

| Property        | Type      | Always present | Description |
| --------------- | --------- | -------------- | ----------- |
| `error`         | `string`  | yes            |             |
| `failOnError`   | `boolean` | no             |             |
| `id`            | `string`  | yes            |             |
| `password`      | `string`  | no             |             |
| `sourceId`      | `number`  | no             |             |
| `success`       | `boolean` | yes            |             |
| `tlsSkipVerify` | `boolean` | no             |             |
| `url`           | `string`  | no             |             |
| `username`      | `string`  | no             |             |
