# KubernetesClusterUpgrade

> Resource KubernetesClusterUpgrade in pulumi-portainer.

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

Resource KubernetesClusterUpgrade in pulumi-portainer.

Pulumi type: `portainer:index/kubernetesClusterUpgrade:KubernetesClusterUpgrade`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## 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 resource = new portainer.KubernetesClusterUpgrade(
  "kubernetesClusterUpgrade",
  {
    endpointId: 0,
  },
)
```

## Arguments

| Property                     | Type                        | Required | Description                                                                                                                                                    |
| ---------------------------- | --------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `endpointId`                 | `number`                    | yes      | Identifier of the provisioned Kubernetes environment to upgrade.                                                                                               |
| `kubernetesClusterUpgradeId` | `string`                    | no       |                                                                                                                                                                |
| `triggers`                   | `{ [key: string]: string }` | no       | Arbitrary values that force another upgrade when they change. An upgrade is a one-shot action, so without a trigger the resource runs once and then stays put. |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property                     | Type                        | Computed | Description                                                                                                                                                    |
| ---------------------------- | --------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `endpointId`                 | `number`                    | no       | Identifier of the provisioned Kubernetes environment to upgrade.                                                                                               |
| `kubernetesClusterUpgradeId` | `string`                    | no       |                                                                                                                                                                |
| `triggers`                   | `{ [key: string]: string }` | no       | Arbitrary values that force another upgrade when they change. An upgrade is a one-shot action, so without a trigger the resource runs once and then stays put. |
