import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange } from "./QuantityRange.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1CountRange } from "./CountRange.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * AutoscalingResources model the limits, submitted by the user, for the supported resources in an autoscaling policy. * Only the node count range is mandatory. For other resources, a limit range is required only * if the Elasticsearch autoscaling capacity API returns a requirement for a given resource. * For example, the memory limit range is only required if the autoscaling API response contains a memory requirement. * If there is no limit range for a resource, and if that resource is not mandatory, then the resources in the NodeSets * managed by the autoscaling policy are left untouched. */ export interface IAutoscalingResources { "cpu"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange; "memory"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange; /** * NodeCountRange is used to model the minimum and the maximum number of nodes over all the NodeSets managed by the same autoscaling policy. */ "nodeCount": IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1CountRange; "storage"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange; } /** * AutoscalingResources model the limits, submitted by the user, for the supported resources in an autoscaling policy. * Only the node count range is mandatory. For other resources, a limit range is required only * if the Elasticsearch autoscaling capacity API returns a requirement for a given resource. * For example, the memory limit range is only required if the autoscaling API response contains a memory requirement. * If there is no limit range for a resource, and if that resource is not mandatory, then the resources in the NodeSets * managed by the autoscaling policy are left untouched. */ export declare class AutoscalingResources extends Model implements IAutoscalingResources { "cpu"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange; "memory"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange; "nodeCount": IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1CountRange; "storage"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1QuantityRange; constructor(data?: ModelData); } export type { IAutoscalingResources as IComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1AutoscalingResources, AutoscalingResources as ComGithubElasticCloudOnK8sV3PkgApisCommonV1alpha1AutoscalingResources };