com.coralogix.zio.k8s.model.flowcontrol.v1beta2
PriorityLevelConfigurationSpec
Companion object PriorityLevelConfigurationSpec
case class PriorityLevelConfigurationSpec(limited: Optional[LimitedPriorityLevelConfiguration] = Optional.Absent, type: String) extends Product with Serializable
PriorityLevelConfigurationSpec specifies the configuration of a priority level.
- type
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.
- Alphabetic
- By Inheritance
- PriorityLevelConfigurationSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
PriorityLevelConfigurationSpec(limited: Optional[LimitedPriorityLevelConfiguration] = Optional.Absent, type: String)
- type
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.
Value Members
-
def
getLimited: IO[K8sFailure, LimitedPriorityLevelConfiguration]
Gets limited.
Gets limited.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getType: IO[K8sFailure, String]
type
indicates whether this priority level is subject to limitation on request execution.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.This effect always succeeds, it is safe to use the field type directly.
- val limited: Optional[LimitedPriorityLevelConfiguration]
- val type: String