# getKubernetesManifestDryRun

> Function getKubernetesManifestDryRun in pulumi-portainer.

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

Function getKubernetesManifestDryRun in pulumi-portainer.

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

## 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.getKubernetesManifestDryRun({
  environmentId: 0,
  manifests: ["<manifests>"],
})
```

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

## Arguments

| Property        | Type       | Required | Description |
| --------------- | ---------- | -------- | ----------- |
| `environmentId` | `number`   | yes      |             |
| `failOnInvalid` | `boolean`  | no       |             |
| `id`            | `string`   | no       |             |
| `manifests`     | `string[]` | yes      |             |
| `namespace`     | `string`   | no       |             |

## Result

| Property        | Type                                  | Always present | Description |
| --------------- | ------------------------------------- | -------------- | ----------- |
| `environmentId` | `number`                              | yes            |             |
| `failOnInvalid` | `boolean`                             | no             |             |
| `failedCount`   | `number`                              | yes            |             |
| `id`            | `string`                              | yes            |             |
| `manifests`     | `string[]`                            | yes            |             |
| `namespace`     | `string`                              | no             |             |
| `passed`        | `boolean`                             | yes            |             |
| `results`       | `GetKubernetesManifestDryRunResult[]` | yes            |             |

## `GetKubernetesManifestDryRunResult`

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

| Property        | Type     | Always present | Description |
| --------------- | -------- | -------------- | ----------- |
| `documentIndex` | `number` | no             |             |
| `kind`          | `string` | no             |             |
| `message`       | `string` | no             |             |
| `name`          | `string` | no             |             |
| `namespace`     | `string` | no             |             |
| `status`        | `string` | no             |             |
