Volcengine v0.0.38 published on Friday, Oct 31, 2025 by Volcengine
volcengine.autoscaling.getScalingLifecycleHooks
Use this data source to query detailed information of scaling lifecycle hooks
Using getScalingLifecycleHooks
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 getScalingLifecycleHooks(args: GetScalingLifecycleHooksArgs, opts?: InvokeOptions): Promise<GetScalingLifecycleHooksResult>
function getScalingLifecycleHooksOutput(args: GetScalingLifecycleHooksOutputArgs, opts?: InvokeOptions): Output<GetScalingLifecycleHooksResult>def get_scaling_lifecycle_hooks(ids: Optional[Sequence[str]] = None,
                                lifecycle_hook_names: Optional[Sequence[str]] = None,
                                name_regex: Optional[str] = None,
                                output_file: Optional[str] = None,
                                scaling_group_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetScalingLifecycleHooksResult
def get_scaling_lifecycle_hooks_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                lifecycle_hook_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                name_regex: Optional[pulumi.Input[str]] = None,
                                output_file: Optional[pulumi.Input[str]] = None,
                                scaling_group_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetScalingLifecycleHooksResult]func GetScalingLifecycleHooks(ctx *Context, args *GetScalingLifecycleHooksArgs, opts ...InvokeOption) (*GetScalingLifecycleHooksResult, error)
func GetScalingLifecycleHooksOutput(ctx *Context, args *GetScalingLifecycleHooksOutputArgs, opts ...InvokeOption) GetScalingLifecycleHooksResultOutput> Note: This function is named GetScalingLifecycleHooks in the Go SDK.
public static class GetScalingLifecycleHooks 
{
    public static Task<GetScalingLifecycleHooksResult> InvokeAsync(GetScalingLifecycleHooksArgs args, InvokeOptions? opts = null)
    public static Output<GetScalingLifecycleHooksResult> Invoke(GetScalingLifecycleHooksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetScalingLifecycleHooksResult> getScalingLifecycleHooks(GetScalingLifecycleHooksArgs args, InvokeOptions options)
public static Output<GetScalingLifecycleHooksResult> getScalingLifecycleHooks(GetScalingLifecycleHooksArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:autoscaling/getScalingLifecycleHooks:getScalingLifecycleHooks
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ScalingGroup stringId 
- An id of scaling group id.
- Ids List<string>
- A list of lifecycle hook ids.
- LifecycleHook List<string>Names 
- A list of lifecycle hook names.
- NameRegex string
- A Name Regex of lifecycle hook.
- OutputFile string
- File name where to save data source results.
- ScalingGroup stringId 
- An id of scaling group id.
- Ids []string
- A list of lifecycle hook ids.
- LifecycleHook []stringNames 
- A list of lifecycle hook names.
- NameRegex string
- A Name Regex of lifecycle hook.
- OutputFile string
- File name where to save data source results.
- scalingGroup StringId 
- An id of scaling group id.
- ids List<String>
- A list of lifecycle hook ids.
- lifecycleHook List<String>Names 
- A list of lifecycle hook names.
- nameRegex String
- A Name Regex of lifecycle hook.
- outputFile String
- File name where to save data source results.
- scalingGroup stringId 
- An id of scaling group id.
- ids string[]
- A list of lifecycle hook ids.
- lifecycleHook string[]Names 
- A list of lifecycle hook names.
- nameRegex string
- A Name Regex of lifecycle hook.
- outputFile string
- File name where to save data source results.
- scaling_group_ strid 
- An id of scaling group id.
- ids Sequence[str]
- A list of lifecycle hook ids.
- lifecycle_hook_ Sequence[str]names 
- A list of lifecycle hook names.
- name_regex str
- A Name Regex of lifecycle hook.
- output_file str
- File name where to save data source results.
- scalingGroup StringId 
- An id of scaling group id.
- ids List<String>
- A list of lifecycle hook ids.
- lifecycleHook List<String>Names 
- A list of lifecycle hook names.
- nameRegex String
- A Name Regex of lifecycle hook.
- outputFile String
- File name where to save data source results.
getScalingLifecycleHooks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleHooks List<GetScaling Lifecycle Hooks Lifecycle Hook> 
- The collection of lifecycle hook query.
- ScalingGroup stringId 
- The id of the scaling group.
- TotalCount int
- The total count of lifecycle hook query.
- Ids List<string>
- LifecycleHook List<string>Names 
- NameRegex string
- OutputFile string
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleHooks []GetScaling Lifecycle Hooks Lifecycle Hook 
- The collection of lifecycle hook query.
- ScalingGroup stringId 
- The id of the scaling group.
- TotalCount int
- The total count of lifecycle hook query.
- Ids []string
- LifecycleHook []stringNames 
- NameRegex string
- OutputFile string
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleHooks List<GetScaling Lifecycle Hooks Lifecycle Hook> 
- The collection of lifecycle hook query.
- scalingGroup StringId 
- The id of the scaling group.
- totalCount Integer
- The total count of lifecycle hook query.
- ids List<String>
- lifecycleHook List<String>Names 
- nameRegex String
- outputFile String
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycleHooks GetScaling Lifecycle Hooks Lifecycle Hook[] 
- The collection of lifecycle hook query.
- scalingGroup stringId 
- The id of the scaling group.
- totalCount number
- The total count of lifecycle hook query.
- ids string[]
- lifecycleHook string[]Names 
- nameRegex string
- outputFile string
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_hooks Sequence[GetScaling Lifecycle Hooks Lifecycle Hook] 
- The collection of lifecycle hook query.
- scaling_group_ strid 
- The id of the scaling group.
- total_count int
- The total count of lifecycle hook query.
- ids Sequence[str]
- lifecycle_hook_ Sequence[str]names 
- name_regex str
- output_file str
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycleHooks List<Property Map>
- The collection of lifecycle hook query.
- scalingGroup StringId 
- The id of the scaling group.
- totalCount Number
- The total count of lifecycle hook query.
- ids List<String>
- lifecycleHook List<String>Names 
- nameRegex String
- outputFile String
Supporting Types
GetScalingLifecycleHooksLifecycleHook     
- Id string
- The id of the lifecycle hook.
- LifecycleCommands List<GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command> 
- Batch job command.
- LifecycleHook stringId 
- The id of the lifecycle hook.
- LifecycleHook stringName 
- The name of the lifecycle hook.
- LifecycleHook stringPolicy 
- The policy of the lifecycle hook.
- LifecycleHook intTimeout 
- The timeout of the lifecycle hook.
- LifecycleHook stringType 
- The type of the lifecycle hook.
- ScalingGroup stringId 
- An id of scaling group id.
- Id string
- The id of the lifecycle hook.
- LifecycleCommands []GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command 
- Batch job command.
- LifecycleHook stringId 
- The id of the lifecycle hook.
- LifecycleHook stringName 
- The name of the lifecycle hook.
- LifecycleHook stringPolicy 
- The policy of the lifecycle hook.
- LifecycleHook intTimeout 
- The timeout of the lifecycle hook.
- LifecycleHook stringType 
- The type of the lifecycle hook.
- ScalingGroup stringId 
- An id of scaling group id.
- id String
- The id of the lifecycle hook.
- lifecycleCommands List<GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command> 
- Batch job command.
- lifecycleHook StringId 
- The id of the lifecycle hook.
- lifecycleHook StringName 
- The name of the lifecycle hook.
- lifecycleHook StringPolicy 
- The policy of the lifecycle hook.
- lifecycleHook IntegerTimeout 
- The timeout of the lifecycle hook.
- lifecycleHook StringType 
- The type of the lifecycle hook.
- scalingGroup StringId 
- An id of scaling group id.
- id string
- The id of the lifecycle hook.
- lifecycleCommands GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command[] 
- Batch job command.
- lifecycleHook stringId 
- The id of the lifecycle hook.
- lifecycleHook stringName 
- The name of the lifecycle hook.
- lifecycleHook stringPolicy 
- The policy of the lifecycle hook.
- lifecycleHook numberTimeout 
- The timeout of the lifecycle hook.
- lifecycleHook stringType 
- The type of the lifecycle hook.
- scalingGroup stringId 
- An id of scaling group id.
- id str
- The id of the lifecycle hook.
- lifecycle_commands Sequence[GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command] 
- Batch job command.
- lifecycle_hook_ strid 
- The id of the lifecycle hook.
- lifecycle_hook_ strname 
- The name of the lifecycle hook.
- lifecycle_hook_ strpolicy 
- The policy of the lifecycle hook.
- lifecycle_hook_ inttimeout 
- The timeout of the lifecycle hook.
- lifecycle_hook_ strtype 
- The type of the lifecycle hook.
- scaling_group_ strid 
- An id of scaling group id.
- id String
- The id of the lifecycle hook.
- lifecycleCommands List<Property Map>
- Batch job command.
- lifecycleHook StringId 
- The id of the lifecycle hook.
- lifecycleHook StringName 
- The name of the lifecycle hook.
- lifecycleHook StringPolicy 
- The policy of the lifecycle hook.
- lifecycleHook NumberTimeout 
- The timeout of the lifecycle hook.
- lifecycleHook StringType 
- The type of the lifecycle hook.
- scalingGroup StringId 
- An id of scaling group id.
GetScalingLifecycleHooksLifecycleHookLifecycleCommand       
- CommandId string
- Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
- Parameters string
- Parameters and parameter values in batch job commands. The number of parameters ranges from 0 to 60.
- CommandId string
- Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
- Parameters string
- Parameters and parameter values in batch job commands. The number of parameters ranges from 0 to 60.
- commandId String
- Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
- parameters String
- Parameters and parameter values in batch job commands. The number of parameters ranges from 0 to 60.
- commandId string
- Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
- parameters string
- Parameters and parameter values in batch job commands. The number of parameters ranges from 0 to 60.
- command_id str
- Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
- parameters str
- Parameters and parameter values in batch job commands. The number of parameters ranges from 0 to 60.
- commandId String
- Batch job command ID, which indicates the batch job command to be executed after triggering the lifecycle hook and installed in the instance.
- parameters String
- Parameters and parameter values in batch job commands. The number of parameters ranges from 0 to 60.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.
