Package org.cdk8s.plus25.k8s
Class KubeLimitRange
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus25.k8s.KubeLimitRange
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.653Z") @Stability(Stable) public class KubeLimitRange extends org.cdk8s.ApiObject
LimitRange sets resource usage limits for each kind of resource in a Namespace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKubeLimitRange.BuilderA fluent builder forKubeLimitRange.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKindGVKReturns the apiVersion and kind for "io.k8s.api.core.v1.LimitRange".
-
Constructor Summary
Constructors Modifier Constructor Description protectedKubeLimitRange(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKubeLimitRange(software.amazon.jsii.JsiiObjectRef objRef)KubeLimitRange(software.constructs.Construct scope, String id)Defines a "io.k8s.api.core.v1.LimitRange" API object.KubeLimitRange(software.constructs.Construct scope, String id, KubeLimitRangeProps props)Defines a "io.k8s.api.core.v1.LimitRange" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectmanifest()Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRange".static Objectmanifest(KubeLimitRangeProps props)Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRange".ObjecttoJson()Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeLimitRange
protected KubeLimitRange(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeLimitRange
protected KubeLimitRange(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeLimitRange
@Stability(Stable) public KubeLimitRange(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable KubeLimitRangeProps props)Defines a "io.k8s.api.core.v1.LimitRange" API object.- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.props- initialization props.
-
KubeLimitRange
@Stability(Stable) public KubeLimitRange(@NotNull software.constructs.Construct scope, @NotNull String id)Defines a "io.k8s.api.core.v1.LimitRange" API object.- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@Nullable KubeLimitRangeProps props)
Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRange".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props- initialization props.
-
manifest
@Stability(Stable) @NotNull public static Object manifest()
Renders a Kubernetes manifest for "io.k8s.api.core.v1.LimitRange".This can be used to inline resource manifests inside other objects (e.g. as templates).
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJsonin classorg.cdk8s.ApiObject
-
-