# io.k8s.api.flowcontrol.v1.PriorityLevelConfigurationSpec

From **Kubernetes**.

PriorityLevelConfigurationSpec specifies the configuration of a priority level.

- Type: `object`

## Properties

### `exempt`

- Required: false
`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `"Limited"`. This field MAY be non-empty if `type` is `"Exempt"`. If empty and `type` is `"Exempt"` then the default values for `ExemptPriorityLevelConfiguration` apply.

### `limited`

- Required: false
`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `"Limited"`.

### `type`

- Required: true
- Type: `string`

`type` indicates whether this priority level is subject to limitation on request execution.  A value of `"Exempt"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels.  A value of `"Limited"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.

## JSON Schema

```json
{"description":"PriorityLevelConfigurationSpec specifies the configuration of a priority level.","properties":{"exempt":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.flowcontrol.v1.ExemptPriorityLevelConfiguration"}],"description":"`exempt` specifies how requests are handled for an exempt priority level. This field MUST be empty if `type` is `\"Limited\"`. This field MAY be non-empty if `type` is `\"Exempt\"`. If empty and `type` is `\"Exempt\"` then the default values for `ExemptPriorityLevelConfiguration` apply."},"limited":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.flowcontrol.v1.LimitedPriorityLevelConfiguration"}],"description":"`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`."},"type":{"default":"","description":"`type` indicates whether this priority level is subject to limitation on request execution.  A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels.  A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.","type":"string"}},"required":["type"],"type":"object","x-kubernetes-unions":[{"discriminator":"type","fields-to-discriminateBy":{"exempt":"Exempt","limited":"Limited"}}]}
```
