import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::AutoScaling::ScalingLifecycleHook */ export declare function getScalingLifecycleHook(args: GetScalingLifecycleHookArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getScalingLifecycleHook. */ export interface GetScalingLifecycleHookArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getScalingLifecycleHook. */ export interface GetScalingLifecycleHookResult { /** * Uniquely identifies the resource. */ readonly id: string; /** * Cloud Assistant command information. */ readonly lifecycleCommand: outputs.autoscaling.GetScalingLifecycleHookLifecycleCommand; /** * Lifecycle hook ID. */ readonly lifecycleHookId: string; /** * Lifecycle hook name, cannot be modified after creation. Values: Cannot start with a digit, hyphen, or underscore. Can only contain Chinese characters, letters, digits, underscores, and hyphens. Length must be between 1 and 128 characters. */ readonly lifecycleHookName: string; /** * Policy executed after the instance suspension ends. Values: CONTINUE: Continue execution. REJECT: Abort subsequent actions. ROLLBACK: For elastic scale-in activities, the release of ECS instances is rejected and rollback is performed; for elastic scale-out activities, the effect is the same as REJECT. */ readonly lifecycleHookPolicy: string; /** * Duration for which the ECS instance remains suspended. After timeout, the suspended state ends automatically and scaling actions continue according to the execution policy. Please evaluate the processing time for custom operations and set an appropriate timeout. Values: 30 to 21600 (6 hours), unit: s, must be an integer. */ readonly lifecycleHookTimeout: number; /** * Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALE*IN: Elastic scale-in activity. SCALE*OUT: Elastic scale-out activity. */ readonly lifecycleHookType: string; /** * Scaling group ID. */ readonly scalingGroupId: string; } /** * Data Source schema for Volcengine::AutoScaling::ScalingLifecycleHook */ export declare function getScalingLifecycleHookOutput(args: GetScalingLifecycleHookOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getScalingLifecycleHook. */ export interface GetScalingLifecycleHookOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }