# getKubernetesStorageClasses

> Function getKubernetesStorageClasses in pulumi-portainer.

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

Function getKubernetesStorageClasses in pulumi-portainer.

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

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

`getKubernetesStorageClassesOutput` 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 |
| ---------------- | ------------------------------------------- | -------------- | ----------- |
| `endpointId`     | `number`                                    | yes            |             |
| `id`             | `string`                                    | yes            |             |
| `storageClasses` | `GetKubernetesStorageClassesStorageClass[]` | yes            |             |

## `GetKubernetesStorageClassesStorageClass`

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

| Property               | Type                        | Always present | Description |
| ---------------------- | --------------------------- | -------------- | ----------- |
| `allowVolumeExpansion` | `boolean`                   | no             |             |
| `annotations`          | `{ [key: string]: string }` | no             |             |
| `creationDate`         | `string`                    | no             |             |
| `isDefault`            | `boolean`                   | no             |             |
| `labels`               | `{ [key: string]: string }` | no             |             |
| `mountOptions`         | `string[]`                  | no             |             |
| `name`                 | `string`                    | no             |             |
| `parameters`           | `{ [key: string]: string }` | no             |             |
| `provisioner`          | `string`                    | no             |             |
| `reclaimPolicy`        | `string`                    | no             |             |
