# getKubernetesResourceQuotas

> Function getKubernetesResourceQuotas in pulumi-portainer.

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

Function getKubernetesResourceQuotas in pulumi-portainer.

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

## 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.getKubernetesResourceQuotas({
  environmentId: 0,
  namespace: "<namespace>",
})
```

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

## Arguments

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

## Result

| Property         | Type                                         | Always present | Description |
| ---------------- | -------------------------------------------- | -------------- | ----------- |
| `environmentId`  | `number`                                     | yes            |             |
| `id`             | `string`                                     | yes            |             |
| `namespace`      | `string`                                     | yes            |             |
| `resourceQuotas` | `GetKubernetesResourceQuotasResourceQuota[]` | yes            |             |

## `GetKubernetesResourceQuotasResourceQuota`

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

| Property            | Type                        | Always present | Description |
| ------------------- | --------------------------- | -------------- | ----------- |
| `creationTimestamp` | `string`                    | no             |             |
| `hard`              | `{ [key: string]: string }` | no             |             |
| `name`              | `string`                    | no             |             |
| `namespace`         | `string`                    | no             |             |
| `scopes`            | `string[]`                  | no             |             |
| `used`              | `{ [key: string]: string }` | no             |             |
