Package org.cdk8s.plus23.k8s
Interface LimitRangeItem
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LimitRangeItem.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.547Z") @Stability(Stable) public interface LimitRangeItem extends software.amazon.jsii.JsiiSerializable
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LimitRangeItem.Builder
A builder forLimitRangeItem
static class
LimitRangeItem.Jsii$Proxy
An implementation forLimitRangeItem
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static LimitRangeItem.Builder
builder()
default Map<String,Quantity>
getDefaultRequest()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.default Map<String,Quantity>
getDefaultValue()
Default resource requirement limit value by resource name if resource limit is omitted.default Map<String,Quantity>
getMax()
Max usage constraints on this kind by resource name.default Map<String,Quantity>
getMaxLimitRequestRatio()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value;default Map<String,Quantity>
getMin()
Min usage constraints on this kind by resource name.IoK8SApiCoreV1LimitRangeItemType
getType()
Type of resource that this limit applies to.
-
-
-
Method Detail
-
getType
@Stability(Stable) @NotNull IoK8SApiCoreV1LimitRangeItemType getType()
Type of resource that this limit applies to.Possible enum values:
"Container"
Limit that applies to all containers in a namespace"PersistentVolumeClaim"
Limit that applies to all persistent volume claims in a namespace"Pod"
Limit that applies to all pods in a namespace
-
getDefaultValue
@Stability(Stable) @Nullable default Map<String,Quantity> getDefaultValue()
Default resource requirement limit value by resource name if resource limit is omitted.
-
getDefaultRequest
@Stability(Stable) @Nullable default Map<String,Quantity> getDefaultRequest()
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
-
getMax
@Stability(Stable) @Nullable default Map<String,Quantity> getMax()
Max usage constraints on this kind by resource name.
-
getMaxLimitRequestRatio
@Stability(Stable) @Nullable default Map<String,Quantity> getMaxLimitRequestRatio()
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value;this represents the max burst for the named resource.
-
getMin
@Stability(Stable) @Nullable default Map<String,Quantity> getMin()
Min usage constraints on this kind by resource name.
-
builder
@Stability(Stable) static LimitRangeItem.Builder builder()
- Returns:
- a
LimitRangeItem.Builder
ofLimitRangeItem
-
-