Viewing docs for volcenginecc v0.0.29
published on Thursday, Apr 2, 2026 by Volcengine
published on Thursday, Apr 2, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.29
published on Thursday, Apr 2, 2026 by Volcengine
published on Thursday, Apr 2, 2026 by Volcengine
Data Source schema for Volcengine::AutoScaling::ScalingLifecycleHook
Using getScalingLifecycleHook
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getScalingLifecycleHook(args: GetScalingLifecycleHookArgs, opts?: InvokeOptions): Promise<GetScalingLifecycleHookResult>
function getScalingLifecycleHookOutput(args: GetScalingLifecycleHookOutputArgs, opts?: InvokeOptions): Output<GetScalingLifecycleHookResult>def get_scaling_lifecycle_hook(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetScalingLifecycleHookResult
def get_scaling_lifecycle_hook_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetScalingLifecycleHookResult]func LookupScalingLifecycleHook(ctx *Context, args *LookupScalingLifecycleHookArgs, opts ...InvokeOption) (*LookupScalingLifecycleHookResult, error)
func LookupScalingLifecycleHookOutput(ctx *Context, args *LookupScalingLifecycleHookOutputArgs, opts ...InvokeOption) LookupScalingLifecycleHookResultOutput> Note: This function is named LookupScalingLifecycleHook in the Go SDK.
public static class GetScalingLifecycleHook
{
public static Task<GetScalingLifecycleHookResult> InvokeAsync(GetScalingLifecycleHookArgs args, InvokeOptions? opts = null)
public static Output<GetScalingLifecycleHookResult> Invoke(GetScalingLifecycleHookInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScalingLifecycleHookResult> getScalingLifecycleHook(GetScalingLifecycleHookArgs args, InvokeOptions options)
public static Output<GetScalingLifecycleHookResult> getScalingLifecycleHook(GetScalingLifecycleHookArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:autoscaling/getScalingLifecycleHook:getScalingLifecycleHook
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getScalingLifecycleHook Result
The following output properties are available:
- Id string
- Uniquely identifies the resource.
- Lifecycle
Command Volcengine.Get Scaling Lifecycle Hook Lifecycle Command - Cloud Assistant command information.
- Lifecycle
Hook stringId - Lifecycle hook ID.
- Lifecycle
Hook stringName - 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.
- Lifecycle
Hook stringPolicy - 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.
- Lifecycle
Hook intTimeout - 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.
- Lifecycle
Hook stringType - Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALEIN: Elastic scale-in activity. SCALEOUT: Elastic scale-out activity.
- Scaling
Group stringId - Scaling group ID.
- Id string
- Uniquely identifies the resource.
- Lifecycle
Command GetScaling Lifecycle Hook Lifecycle Command - Cloud Assistant command information.
- Lifecycle
Hook stringId - Lifecycle hook ID.
- Lifecycle
Hook stringName - 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.
- Lifecycle
Hook stringPolicy - 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.
- Lifecycle
Hook intTimeout - 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.
- Lifecycle
Hook stringType - Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALEIN: Elastic scale-in activity. SCALEOUT: Elastic scale-out activity.
- Scaling
Group stringId - Scaling group ID.
- id String
- Uniquely identifies the resource.
- lifecycle
Command GetScaling Lifecycle Hook Lifecycle Command - Cloud Assistant command information.
- lifecycle
Hook StringId - Lifecycle hook ID.
- lifecycle
Hook StringName - 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.
- lifecycle
Hook StringPolicy - 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.
- lifecycle
Hook IntegerTimeout - 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.
- lifecycle
Hook StringType - Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALEIN: Elastic scale-in activity. SCALEOUT: Elastic scale-out activity.
- scaling
Group StringId - Scaling group ID.
- id string
- Uniquely identifies the resource.
- lifecycle
Command GetScaling Lifecycle Hook Lifecycle Command - Cloud Assistant command information.
- lifecycle
Hook stringId - Lifecycle hook ID.
- lifecycle
Hook stringName - 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.
- lifecycle
Hook stringPolicy - 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.
- lifecycle
Hook numberTimeout - 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.
- lifecycle
Hook stringType - Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALEIN: Elastic scale-in activity. SCALEOUT: Elastic scale-out activity.
- scaling
Group stringId - Scaling group ID.
- id str
- Uniquely identifies the resource.
- lifecycle_
command GetScaling Lifecycle Hook Lifecycle Command - Cloud Assistant command information.
- lifecycle_
hook_ strid - Lifecycle hook ID.
- lifecycle_
hook_ strname - 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.
- lifecycle_
hook_ strpolicy - 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.
- lifecycle_
hook_ inttimeout - 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.
- lifecycle_
hook_ strtype - Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALEIN: Elastic scale-in activity. SCALEOUT: Elastic scale-out activity.
- scaling_
group_ strid - Scaling group ID.
- id String
- Uniquely identifies the resource.
- lifecycle
Command Property Map - Cloud Assistant command information.
- lifecycle
Hook StringId - Lifecycle hook ID.
- lifecycle
Hook StringName - 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.
- lifecycle
Hook StringPolicy - 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.
- lifecycle
Hook NumberTimeout - 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.
- lifecycle
Hook StringType - Type of scaling activity. When a specified type of scaling activity occurs, the lifecycle hook is triggered and the ECS instance is suspended. Values: SCALEIN: Elastic scale-in activity. SCALEOUT: Elastic scale-out activity.
- scaling
Group StringId - Scaling group ID.
Supporting Types
GetScalingLifecycleHookLifecycleCommand
- Command
Id string - Cloud Assistant command ID, indicates that after the lifecycle hook is triggered, the Cloud Assistant command is executed on the instance. If the command executes successfully, the post-suspend policy is executed according to CONTINUE. If the command fails, times out, or the lifecycle hook times out, the post-suspend policy is executed according to the LifecycleHookPolicy parameter configuration.
- Parameters string
- Parameters and values in the Cloud Assistant command. The number of parameters ranges from 0 to 60. Note: Parameters cannot be empty strings and can have up to 64 characters. Values can be empty strings. After Base64 encoding, the combined length of parameters and the original command content must not exceed 16 KB. The set of parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
- Command
Id string - Cloud Assistant command ID, indicates that after the lifecycle hook is triggered, the Cloud Assistant command is executed on the instance. If the command executes successfully, the post-suspend policy is executed according to CONTINUE. If the command fails, times out, or the lifecycle hook times out, the post-suspend policy is executed according to the LifecycleHookPolicy parameter configuration.
- Parameters string
- Parameters and values in the Cloud Assistant command. The number of parameters ranges from 0 to 60. Note: Parameters cannot be empty strings and can have up to 64 characters. Values can be empty strings. After Base64 encoding, the combined length of parameters and the original command content must not exceed 16 KB. The set of parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
- command
Id String - Cloud Assistant command ID, indicates that after the lifecycle hook is triggered, the Cloud Assistant command is executed on the instance. If the command executes successfully, the post-suspend policy is executed according to CONTINUE. If the command fails, times out, or the lifecycle hook times out, the post-suspend policy is executed according to the LifecycleHookPolicy parameter configuration.
- parameters String
- Parameters and values in the Cloud Assistant command. The number of parameters ranges from 0 to 60. Note: Parameters cannot be empty strings and can have up to 64 characters. Values can be empty strings. After Base64 encoding, the combined length of parameters and the original command content must not exceed 16 KB. The set of parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
- command
Id string - Cloud Assistant command ID, indicates that after the lifecycle hook is triggered, the Cloud Assistant command is executed on the instance. If the command executes successfully, the post-suspend policy is executed according to CONTINUE. If the command fails, times out, or the lifecycle hook times out, the post-suspend policy is executed according to the LifecycleHookPolicy parameter configuration.
- parameters string
- Parameters and values in the Cloud Assistant command. The number of parameters ranges from 0 to 60. Note: Parameters cannot be empty strings and can have up to 64 characters. Values can be empty strings. After Base64 encoding, the combined length of parameters and the original command content must not exceed 16 KB. The set of parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
- command_
id str - Cloud Assistant command ID, indicates that after the lifecycle hook is triggered, the Cloud Assistant command is executed on the instance. If the command executes successfully, the post-suspend policy is executed according to CONTINUE. If the command fails, times out, or the lifecycle hook times out, the post-suspend policy is executed according to the LifecycleHookPolicy parameter configuration.
- parameters str
- Parameters and values in the Cloud Assistant command. The number of parameters ranges from 0 to 60. Note: Parameters cannot be empty strings and can have up to 64 characters. Values can be empty strings. After Base64 encoding, the combined length of parameters and the original command content must not exceed 16 KB. The set of parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
- command
Id String - Cloud Assistant command ID, indicates that after the lifecycle hook is triggered, the Cloud Assistant command is executed on the instance. If the command executes successfully, the post-suspend policy is executed according to CONTINUE. If the command fails, times out, or the lifecycle hook times out, the post-suspend policy is executed according to the LifecycleHookPolicy parameter configuration.
- parameters String
- Parameters and values in the Cloud Assistant command. The number of parameters ranges from 0 to 60. Note: Parameters cannot be empty strings and can have up to 64 characters. Values can be empty strings. After Base64 encoding, the combined length of parameters and the original command content must not exceed 16 KB. The set of parameter names must be a subset of the parameter set defined when creating the command. Default values are used for parameters not provided.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.29
published on Thursday, Apr 2, 2026 by Volcengine
published on Thursday, Apr 2, 2026 by Volcengine
