# getKubernetesStorageClass

> Function getKubernetesStorageClass in pulumi-portainer.

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

Function getKubernetesStorageClass in pulumi-portainer.

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

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

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

## Arguments

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

## Result

| Property               | Type                        | Always present | Description |
| ---------------------- | --------------------------- | -------------- | ----------- |
| `allowVolumeExpansion` | `boolean`                   | yes            |             |
| `annotations`          | `{ [key: string]: string }` | yes            |             |
| `creationDate`         | `string`                    | yes            |             |
| `endpointId`           | `number`                    | yes            |             |
| `id`                   | `string`                    | yes            |             |
| `isDefault`            | `boolean`                   | yes            |             |
| `labels`               | `{ [key: string]: string }` | yes            |             |
| `mountOptions`         | `string[]`                  | yes            |             |
| `name`                 | `string`                    | yes            |             |
| `parameters`           | `{ [key: string]: string }` | yes            |             |
| `provisionerName`      | `string`                    | yes            |             |
| `reclaimPolicy`        | `string`                    | yes            |             |
