# getPolicyObservabilityTest

> Function getPolicyObservabilityTest in pulumi-portainer.

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

Function getPolicyObservabilityTest in pulumi-portainer.

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

## 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.getPolicyObservabilityTest({
  oneUptimeUrl: "<oneUptimeUrl>",
})
```

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

## Arguments

| Property                    | Type      | Required | Description |
| --------------------------- | --------- | -------- | ----------- |
| `apiKey`                    | `string`  | no       |             |
| `autoProvisionIngestionKey` | `boolean` | no       |             |
| `autoRotateKey`             | `boolean` | no       |             |
| `failOnError`               | `boolean` | no       |             |
| `id`                        | `string`  | no       |             |
| `oneUptimeUrl`              | `string`  | yes      |             |
| `policyId`                  | `number`  | no       |             |
| `projectId`                 | `string`  | no       |             |
| `tlsSkipVerify`             | `boolean` | no       |             |

## Result

| Property                    | Type      | Always present | Description |
| --------------------------- | --------- | -------------- | ----------- |
| `apiKey`                    | `string`  | no             |             |
| `autoProvisionIngestionKey` | `boolean` | no             |             |
| `autoRotateKey`             | `boolean` | no             |             |
| `failOnError`               | `boolean` | no             |             |
| `id`                        | `string`  | yes            |             |
| `message`                   | `string`  | yes            |             |
| `oneUptimeUrl`              | `string`  | yes            |             |
| `policyId`                  | `number`  | no             |             |
| `projectId`                 | `string`  | no             |             |
| `success`                   | `boolean` | yes            |             |
| `tlsSkipVerify`             | `boolean` | no             |             |
