import * as $dara from '@darabonba/typescript'; export declare class DescribeTaskInfoResponseBodyError extends $dara.Model { /** * @remarks * The error code. * * @example * 400 */ code?: string; /** * @remarks * The error message. * * @example * failed to xxx */ message?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeTaskInfoResponseBodyEvents extends $dara.Model { /** * @remarks * The event action. * * @example * start */ action?: string; /** * @remarks * The event level. * * @example * Normal */ level?: string; /** * @remarks * The event message. * * @example * start to xxx */ message?: string; /** * @remarks * The event reason. * * @example * NodePoolUpgradeStart */ reason?: string; /** * @remarks * The event source. * * @example * ACK */ source?: string; /** * @remarks * The time when the event was generated. * * @example * 1669706229286 */ timestamp?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeTaskInfoResponseBodyStages extends $dara.Model { /** * @remarks * The end time of the task stage. * * @example * 2022-12-15 23:00:00 */ endTime?: string; /** * @remarks * The message of the task stage. * * @example * success to xxxxx */ message?: string; /** * @remarks * The output of the task stage. */ outputs?: { [key: string]: any; }; /** * @remarks * The start time of the task stage. * * @example * 2022-12-15 23:00:00 */ startTime?: string; /** * @remarks * The status of the task stage. * * @example * running */ state?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeTaskInfoResponseBodyTarget extends $dara.Model { /** * @remarks * The ID of the target object. * * @example * c78592bfe92244365b3c3ad47f1de**** */ id?: string; /** * @remarks * The object type of the node on which the task is executed. * * @example * cluster */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeTaskInfoResponseBodyTaskResult extends $dara.Model { /** * @remarks * The resource on which the task operates. For example, if the resource involved in a scale-out task is an instance, this parameter returns the instance ID. * * @example * i-xxx */ data?: string; /** * @remarks * The status of the resource scale-out. Valid values: * - `success`: The scale-out succeeded. * - `failed`: The scale-out failed. * - `initial`: The scale-out is being initialized. * * @example * success */ status?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class DescribeTaskInfoResponseBody extends $dara.Model { /** * @remarks * The cluster ID. * * @example * c78592bfe92244365b3c3ad47f1de**** */ clusterId?: string; /** * @remarks * The time when the task was created. * * @example * 2020-11-10T16:02:04+08:00 */ created?: string; /** * @remarks * The current running stage of the task. * * @example * DrainNodes */ currentStage?: string; /** * @remarks * The node fault error message. */ error?: DescribeTaskInfoResponseBodyError; /** * @remarks * The events generated by the task. */ events?: DescribeTaskInfoResponseBodyEvents[]; outputs?: { [key: string]: any; }; /** * @remarks * The task parameters. */ parameters?: { [key: string]: any; }; /** * @remarks * The task stages. */ stages?: DescribeTaskInfoResponseBodyStages[]; /** * @remarks * The running status of the task. Valid values: * - `running`: The task is running. * - `fail`: The task failed. * - `success`: The task succeeded. * * @example * running */ state?: string; /** * @remarks * The target object of the task. */ target?: DescribeTaskInfoResponseBodyTarget; /** * @remarks * The task ID. * * @example * T-5faa48fb31b6b8078d000006 */ taskId?: string; /** * @remarks * The task execution details. */ taskResult?: DescribeTaskInfoResponseBodyTaskResult[]; /** * @remarks * The task type. The type of a scale-out task is `cluster_scaleout`. * * @example * cluster_scaleout */ taskType?: string; /** * @remarks * The time when the task was updated. * * @example * 2020-11-10T16:03:06+08:00 */ updated?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }