# KubernetesRolebinding

> Resource KubernetesRolebinding in pulumi-portainer.

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

Resource KubernetesRolebinding in pulumi-portainer.

Pulumi type: `portainer:index/kubernetesRolebinding:KubernetesRolebinding`.

`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.KubernetesRolebinding("kubernetesRolebinding", {
  endpointId: 0,
  manifest: "<manifest>",
  namespace: "<namespace>",
})
```

## Arguments

| Property                  | Type     | Required | Description                                                                                                                                     |
| ------------------------- | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `endpointId`              | `number` | yes      | Identifier of the Portainer Kubernetes environment (endpoint) where the RoleBinding is managed. Changing this value forces resource recreation. |
| `kubernetesRolebindingId` | `string` | no       |                                                                                                                                                 |
| `manifest`                | `string` | yes      | Raw YAML or JSON manifest defining the Kubernetes RoleBinding.                                                                                  |
| `namespace`               | `string` | yes      | Kubernetes namespace in which the RoleBinding is created.                                                                                       |

## Outputs

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

| Property                  | Type     | Computed | Description                                                                                                                                     |
| ------------------------- | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `endpointId`              | `number` | no       | Identifier of the Portainer Kubernetes environment (endpoint) where the RoleBinding is managed. Changing this value forces resource recreation. |
| `kubernetesRolebindingId` | `string` | no       |                                                                                                                                                 |
| `manifest`                | `string` | no       | Raw YAML or JSON manifest defining the Kubernetes RoleBinding.                                                                                  |
| `namespace`               | `string` | no       | Kubernetes namespace in which the RoleBinding is created.                                                                                       |
