/**
 * KubeBlocks Cloud API
 * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources.  The API is organized around REST.  Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs.  We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { TaskSchedule } from './task-schedule';
/**
 * OpsHScale is the payload to horizontally scale a KubeBlocks cluster. It requires specifying either the number of replicas or the number of shards.
 * @export
 * @interface OpsHScale
 */
export interface OpsHScale {
    /**
     * component type
     * @type {string}
     * @memberof OpsHScale
     */
    'component': string;
    /**
     * name of the backup to restore from
     * @type {string}
     * @memberof OpsHScale
     */
    'backupName'?: string | null;
    /**
     * number of replicas
     * @type {number}
     * @memberof OpsHScale
     */
    'replicas'?: number | null;
    /**
     * List of online instance names to be switched to offline during scaling in.
     * @type {Array<string>}
     * @memberof OpsHScale
     */
    'onlineInstancesToOffline'?: Array<string> | null;
    /**
     * List of offline instance names to be switched to online during scaling out.
     * @type {Array<string>}
     * @memberof OpsHScale
     */
    'OfflineInstancesToOnline'?: Array<string> | null;
    /**
     * number of shards, mutually exclusive with replicas.
     * @type {number}
     * @memberof OpsHScale
     */
    'shards'?: number | null;
    /**
     * Specifies the maximum time in seconds that the OpsRequest will wait for its pre-conditions to be met before it aborts the operation
     * @type {number}
     * @memberof OpsHScale
     */
    'preConditionDeadlineSeconds'?: number | null;
    /**
     * force the scaling operation without pre-check
     * @type {boolean}
     * @memberof OpsHScale
     */
    'force'?: boolean;
    /**
     *
     * @type {TaskSchedule}
     * @memberof OpsHScale
     */
    'schedule'?: TaskSchedule;
}
//# sourceMappingURL=ops-hscale.d.ts.map