Package org.cdk8s.plus24.k8s
Interface ResourceQuotaSpec
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ResourceQuotaSpec.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.723Z") @Stability(Stable) public interface ResourceQuotaSpec extends software.amazon.jsii.JsiiSerializable
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ResourceQuotaSpec.Builder
A builder forResourceQuotaSpec
static class
ResourceQuotaSpec.Jsii$Proxy
An implementation forResourceQuotaSpec
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ResourceQuotaSpec.Builder
builder()
default Map<String,Quantity>
getHard()
hard is the set of desired hard limits for each named resource.default List<String>
getScopes()
A collection of filters that must match each object tracked by a quota.default ScopeSelector
getScopeSelector()
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.
-
-
-
Method Detail
-
getHard
@Stability(Stable) @Nullable default Map<String,Quantity> getHard()
hard is the set of desired hard limits for each named resource.More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
-
getScopes
@Stability(Stable) @Nullable default List<String> getScopes()
A collection of filters that must match each object tracked by a quota.If not specified, the quota matches all objects.
-
getScopeSelector
@Stability(Stable) @Nullable default ScopeSelector getScopeSelector()
scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values.For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
-
builder
@Stability(Stable) static ResourceQuotaSpec.Builder builder()
- Returns:
- a
ResourceQuotaSpec.Builder
ofResourceQuotaSpec
-
-