Class KubeResourceQuota

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.68.0 (build b45f2f6)",
               date="2022-09-25T03:33:25.675Z")
    @Stability(Stable)
    public class KubeResourceQuota
    extends org.cdk8s.ApiObject
    ResourceQuota sets aggregate quota restrictions enforced per namespace.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  KubeResourceQuota.Builder
      A fluent builder for KubeResourceQuota.
      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.cdk8s.GroupVersionKind GVK
      Returns the apiVersion and kind for "io.k8s.api.core.v1.ResourceQuota".
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected KubeResourceQuota​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected KubeResourceQuota​(software.amazon.jsii.JsiiObjectRef objRef)  
        KubeResourceQuota​(software.constructs.Construct scope, String id)
      Defines a "io.k8s.api.core.v1.ResourceQuota" API object.
        KubeResourceQuota​(software.constructs.Construct scope, String id, KubeResourceQuotaProps props)
      Defines a "io.k8s.api.core.v1.ResourceQuota" API object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static Object manifest()
      Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuota".
      static Object manifest​(KubeResourceQuotaProps props)
      Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuota".
      Object toJson()
      Renders the object to Kubernetes JSON.
      • Methods inherited from class org.cdk8s.ApiObject

        addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, of
      • Methods inherited from class software.constructs.Construct

        getNode, isConstruct, toString
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
      • Methods inherited from interface software.amazon.jsii.JsiiSerializable

        $jsii$toJson
    • Field Detail

      • GVK

        @Stability(Stable)
        public static final org.cdk8s.GroupVersionKind GVK
        Returns the apiVersion and kind for "io.k8s.api.core.v1.ResourceQuota".
    • Constructor Detail

      • KubeResourceQuota

        protected KubeResourceQuota​(software.amazon.jsii.JsiiObjectRef objRef)
      • KubeResourceQuota

        protected KubeResourceQuota​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • KubeResourceQuota

        @Stability(Stable)
        public KubeResourceQuota​(@NotNull
                                 software.constructs.Construct scope,
                                 @NotNull
                                 String id,
                                 @Nullable
                                 KubeResourceQuotaProps props)
        Defines a "io.k8s.api.core.v1.ResourceQuota" 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.
      • KubeResourceQuota

        @Stability(Stable)
        public KubeResourceQuota​(@NotNull
                                 software.constructs.Construct scope,
                                 @NotNull
                                 String id)
        Defines a "io.k8s.api.core.v1.ResourceQuota" 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
                                      KubeResourceQuotaProps props)
        Renders a Kubernetes manifest for "io.k8s.api.core.v1.ResourceQuota".

        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.ResourceQuota".

        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:
        toJson in class org.cdk8s.ApiObject