Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.autoscaling.ScalingLifecycleHooks
Explore with Pulumi AI
Use this data source to query detailed information of scaling lifecycle hooks
Using ScalingLifecycleHooks
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 scalingLifecycleHooks(args: ScalingLifecycleHooksArgs, opts?: InvokeOptions): Promise<ScalingLifecycleHooksResult>
function scalingLifecycleHooksOutput(args: ScalingLifecycleHooksOutputArgs, opts?: InvokeOptions): Output<ScalingLifecycleHooksResult>def 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) -> ScalingLifecycleHooksResult
def 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[ScalingLifecycleHooksResult]func ScalingLifecycleHooks(ctx *Context, args *ScalingLifecycleHooksArgs, opts ...InvokeOption) (*ScalingLifecycleHooksResult, error)
func ScalingLifecycleHooksOutput(ctx *Context, args *ScalingLifecycleHooksOutputArgs, opts ...InvokeOption) ScalingLifecycleHooksResultOutputpublic static class ScalingLifecycleHooks 
{
    public static Task<ScalingLifecycleHooksResult> InvokeAsync(ScalingLifecycleHooksArgs args, InvokeOptions? opts = null)
    public static Output<ScalingLifecycleHooksResult> Invoke(ScalingLifecycleHooksInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ScalingLifecycleHooksResult> scalingLifecycleHooks(ScalingLifecycleHooksArgs args, InvokeOptions options)
public static Output<ScalingLifecycleHooksResult> scalingLifecycleHooks(ScalingLifecycleHooksArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:autoscaling:ScalingLifecycleHooks
  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.
ScalingLifecycleHooks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- LifecycleHooks List<ScalingLifecycle 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 []ScalingLifecycle 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<ScalingLifecycle 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 ScalingLifecycle 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[ScalingLifecycle 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
ScalingLifecycleHooksLifecycleHook    
- Id string
- The id of the lifecycle hook.
- LifecycleCommands List<ScalingLifecycle 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 []ScalingLifecycle 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<ScalingLifecycle 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 ScalingLifecycle 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[ScalingLifecycle 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.
ScalingLifecycleHooksLifecycleHookLifecycleCommand      
- 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.