import { ModelData, Model } from "@kubernetes-models/base"; /** * ChangeBudget defines the constraints to consider when applying changes to the Elasticsearch cluster. */ export interface IChangeBudget { /** * MaxSurge is the maximum number of new Pods that can be created exceeding the original number of Pods defined in * the specification. MaxSurge is only taken into consideration when scaling up. Setting a negative value will * disable the restriction. Defaults to unbounded if not specified. */ "maxSurge"?: number; /** * MaxUnavailable is the maximum number of Pods that can be unavailable (not ready) during the update due to * circumstances under the control of the operator. Setting a negative value will disable this restriction. * Defaults to 1 if not specified. */ "maxUnavailable"?: number; } /** * ChangeBudget defines the constraints to consider when applying changes to the Elasticsearch cluster. */ export declare class ChangeBudget extends Model implements IChangeBudget { "maxSurge"?: number; "maxUnavailable"?: number; constructor(data?: ModelData); } export type { IChangeBudget as IComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1ChangeBudget, ChangeBudget as ComGithubElasticCloudOnK8sV3PkgApisElasticsearchV1ChangeBudget };