import { ApiObject } from './api-object.prm'; /** * Spec of a `Scale` API object. */ export declare class ScaleSpec { /** * The number of instances that should exist of the controlled object. * * @example `replicas = 4` for a workload means that there should be 4 active instances of this workload. */ replicas: number; constructor(initData?: Partial); } /** * Used to configure the current horizontal scaling state (i.e., number of instances) of a workload. * * The scale always applies to a particular target object. How this relationship is implemented, * e.g., if there is a scale subresource as in Kubernetes or if scale is a standalone API object, * depends on the orchestrator. */ export declare class Scale extends ApiObject { spec: ScaleSpec; constructor(initData?: Partial); }