# getKubernetesCustomResourceDefinitions

> Function getKubernetesCustomResourceDefinitions in pulumi-portainer.

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

Function getKubernetesCustomResourceDefinitions in pulumi-portainer.

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

## 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.getKubernetesCustomResourceDefinitions({
  endpointId: 0,
})
```

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

## Arguments

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

## Result

| Property      | Type                                                 | Always present | Description |
| ------------- | ---------------------------------------------------- | -------------- | ----------- |
| `definitions` | `GetKubernetesCustomResourceDefinitionsDefinition[]` | yes            |             |
| `endpointId`  | `number`                                             | yes            |             |
| `id`          | `string`                                             | yes            |             |

## `GetKubernetesCustomResourceDefinitionsDefinition`

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

| Property           | Type     | Always present | Description |
| ------------------ | -------- | -------------- | ----------- |
| `creationDate`     | `string` | no             |             |
| `group`            | `string` | no             |             |
| `name`             | `string` | no             |             |
| `releaseName`      | `string` | no             |             |
| `releaseNamespace` | `string` | no             |             |
| `releaseVersion`   | `string` | no             |             |
| `scope`            | `string` | no             |             |
