# getKubernetesCustomResource

> Function getKubernetesCustomResource in pulumi-portainer.

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

Function getKubernetesCustomResource in pulumi-portainer.

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

## 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.getKubernetesCustomResource({
  definition: "<definition>",
  endpointId: 0,
  name: "<name>",
})
```

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

## Arguments

| Property     | Type     | Required | Description |
| ------------ | -------- | -------- | ----------- |
| `definition` | `string` | yes      |             |
| `endpointId` | `number` | yes      |             |
| `id`         | `string` | no       |             |
| `name`       | `string` | yes      |             |
| `namespace`  | `string` | no       |             |

## Result

| Property     | Type     | Always present | Description |
| ------------ | -------- | -------------- | ----------- |
| `definition` | `string` | yes            |             |
| `endpointId` | `number` | yes            |             |
| `id`         | `string` | yes            |             |
| `manifest`   | `string` | yes            |             |
| `name`       | `string` | yes            |             |
| `namespace`  | `string` | no             |             |
