Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.autoscaling.getScalingLifecycleHooks
Explore with Pulumi AI
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 dictionary
The following arguments are supported:
- Scaling
Group stringId - An id of scaling group id.
- Ids List<string>
- A list of lifecycle hook ids.
- Lifecycle
Hook List<string>Names - A list of lifecycle hook names.
- Name
Regex string - A Name Regex of lifecycle hook.
- Output
File string - File name where to save data source results.
- Scaling
Group stringId - An id of scaling group id.
- Ids []string
- A list of lifecycle hook ids.
- Lifecycle
Hook []stringNames - A list of lifecycle hook names.
- Name
Regex string - A Name Regex of lifecycle hook.
- Output
File string - File name where to save data source results.
- scaling
Group StringId - An id of scaling group id.
- ids List<String>
- A list of lifecycle hook ids.
- lifecycle
Hook List<String>Names - A list of lifecycle hook names.
- name
Regex String - A Name Regex of lifecycle hook.
- output
File String - File name where to save data source results.
- scaling
Group stringId - An id of scaling group id.
- ids string[]
- A list of lifecycle hook ids.
- lifecycle
Hook string[]Names - A list of lifecycle hook names.
- name
Regex string - A Name Regex of lifecycle hook.
- output
File 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.
- scaling
Group StringId - An id of scaling group id.
- ids List<String>
- A list of lifecycle hook ids.
- lifecycle
Hook List<String>Names - A list of lifecycle hook names.
- name
Regex String - A Name Regex of lifecycle hook.
- output
File 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.
- Lifecycle
Hooks List<GetScaling Lifecycle Hooks Lifecycle Hook> - The collection of lifecycle hook query.
- Scaling
Group stringId - The id of the scaling group.
- Total
Count int - The total count of lifecycle hook query.
- Ids List<string>
- Lifecycle
Hook List<string>Names - Name
Regex string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Hooks []GetScaling Lifecycle Hooks Lifecycle Hook - The collection of lifecycle hook query.
- Scaling
Group stringId - The id of the scaling group.
- Total
Count int - The total count of lifecycle hook query.
- Ids []string
- Lifecycle
Hook []stringNames - Name
Regex string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Hooks List<GetScaling Lifecycle Hooks Lifecycle Hook> - The collection of lifecycle hook query.
- scaling
Group StringId - The id of the scaling group.
- total
Count Integer - The total count of lifecycle hook query.
- ids List<String>
- lifecycle
Hook List<String>Names - name
Regex String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Hooks GetScaling Lifecycle Hooks Lifecycle Hook[] - The collection of lifecycle hook query.
- scaling
Group stringId - The id of the scaling group.
- total
Count number - The total count of lifecycle hook query.
- ids string[]
- lifecycle
Hook string[]Names - name
Regex string - output
File 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.
- lifecycle
Hooks List<Property Map> - The collection of lifecycle hook query.
- scaling
Group StringId - The id of the scaling group.
- total
Count Number - The total count of lifecycle hook query.
- ids List<String>
- lifecycle
Hook List<String>Names - name
Regex String - output
File String
Supporting Types
GetScalingLifecycleHooksLifecycleHook
- Id string
- The id of the lifecycle hook.
- Lifecycle
Commands List<GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command> - Batch job command.
- Lifecycle
Hook stringId - The id of the lifecycle hook.
- Lifecycle
Hook stringName - The name of the lifecycle hook.
- Lifecycle
Hook stringPolicy - The policy of the lifecycle hook.
- Lifecycle
Hook intTimeout - The timeout of the lifecycle hook.
- Lifecycle
Hook stringType - The type of the lifecycle hook.
- Scaling
Group stringId - An id of scaling group id.
- Id string
- The id of the lifecycle hook.
- Lifecycle
Commands []GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command - Batch job command.
- Lifecycle
Hook stringId - The id of the lifecycle hook.
- Lifecycle
Hook stringName - The name of the lifecycle hook.
- Lifecycle
Hook stringPolicy - The policy of the lifecycle hook.
- Lifecycle
Hook intTimeout - The timeout of the lifecycle hook.
- Lifecycle
Hook stringType - The type of the lifecycle hook.
- Scaling
Group stringId - An id of scaling group id.
- id String
- The id of the lifecycle hook.
- lifecycle
Commands List<GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command> - Batch job command.
- lifecycle
Hook StringId - The id of the lifecycle hook.
- lifecycle
Hook StringName - The name of the lifecycle hook.
- lifecycle
Hook StringPolicy - The policy of the lifecycle hook.
- lifecycle
Hook IntegerTimeout - The timeout of the lifecycle hook.
- lifecycle
Hook StringType - The type of the lifecycle hook.
- scaling
Group StringId - An id of scaling group id.
- id string
- The id of the lifecycle hook.
- lifecycle
Commands GetScaling Lifecycle Hooks Lifecycle Hook Lifecycle Command[] - Batch job command.
- lifecycle
Hook stringId - The id of the lifecycle hook.
- lifecycle
Hook stringName - The name of the lifecycle hook.
- lifecycle
Hook stringPolicy - The policy of the lifecycle hook.
- lifecycle
Hook numberTimeout - The timeout of the lifecycle hook.
- lifecycle
Hook stringType - The type of the lifecycle hook.
- scaling
Group 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.
- lifecycle
Commands List<Property Map> - Batch job command.
- lifecycle
Hook StringId - The id of the lifecycle hook.
- lifecycle
Hook StringName - The name of the lifecycle hook.
- lifecycle
Hook StringPolicy - The policy of the lifecycle hook.
- lifecycle
Hook NumberTimeout - The timeout of the lifecycle hook.
- lifecycle
Hook StringType - The type of the lifecycle hook.
- scaling
Group StringId - An id of scaling group id.
GetScalingLifecycleHooksLifecycleHookLifecycleCommand
- Command
Id 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 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 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 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.
- command
Id 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
volcengine
Terraform Provider.