# getKubernetesPersistentVolumeClaims

> Function getKubernetesPersistentVolumeClaims in pulumi-portainer.

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

Function getKubernetesPersistentVolumeClaims in pulumi-portainer.

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

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

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

## Arguments

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

## Result

| Property     | Type                                         | Always present | Description |
| ------------ | -------------------------------------------- | -------------- | ----------- |
| `claims`     | `GetKubernetesPersistentVolumeClaimsClaim[]` | yes            |             |
| `endpointId` | `number`                                     | yes            |             |
| `id`         | `string`                                     | yes            |             |
| `namespace`  | `string`                                     | no             |             |

## `GetKubernetesPersistentVolumeClaimsClaim`

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

| Property                   | Type                        | Always present | Description |
| -------------------------- | --------------------------- | -------------- | ----------- |
| `accessModes`              | `string[]`                  | no             |             |
| `creationDate`             | `string`                    | no             |             |
| `humanReadableAccessModes` | `string[]`                  | no             |             |
| `id`                       | `string`                    | no             |             |
| `labels`                   | `{ [key: string]: string }` | no             |             |
| `name`                     | `string`                    | no             |             |
| `namespace`                | `string`                    | no             |             |
| `owningApplications`       | `string[]`                  | no             |             |
| `phase`                    | `string`                    | no             |             |
| `storage`                  | `number`                    | no             |             |
| `storageClass`             | `string`                    | no             |             |
| `storageRequest`           | `string`                    | no             |             |
| `volumeMode`               | `string`                    | no             |             |
| `volumeName`               | `string`                    | no             |             |
