1. Packages
  2. Volcengine
  3. API Docs
  4. autoscaling
  5. ScalingLifecycleHooks
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

volcengine.autoscaling.ScalingLifecycleHooks

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine

    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) ScalingLifecycleHooksResultOutput
    public 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:autoscaling:ScalingLifecycleHooks
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ScalingGroupId string
    An id of scaling group id.
    Ids List<string>
    A list of lifecycle hook ids.
    LifecycleHookNames List<string>
    A list of lifecycle hook names.
    NameRegex string
    A Name Regex of lifecycle hook.
    OutputFile string
    File name where to save data source results.
    ScalingGroupId string
    An id of scaling group id.
    Ids []string
    A list of lifecycle hook ids.
    LifecycleHookNames []string
    A list of lifecycle hook names.
    NameRegex string
    A Name Regex of lifecycle hook.
    OutputFile string
    File name where to save data source results.
    scalingGroupId String
    An id of scaling group id.
    ids List<String>
    A list of lifecycle hook ids.
    lifecycleHookNames List<String>
    A list of lifecycle hook names.
    nameRegex String
    A Name Regex of lifecycle hook.
    outputFile String
    File name where to save data source results.
    scalingGroupId string
    An id of scaling group id.
    ids string[]
    A list of lifecycle hook ids.
    lifecycleHookNames string[]
    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_id str
    An id of scaling group id.
    ids Sequence[str]
    A list of lifecycle hook ids.
    lifecycle_hook_names Sequence[str]
    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.
    scalingGroupId String
    An id of scaling group id.
    ids List<String>
    A list of lifecycle hook ids.
    lifecycleHookNames List<String>
    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<Pulumi.Volcengine.Autoscaling.Outputs.ScalingLifecycleHooksLifecycleHook>
    The collection of lifecycle hook query.
    ScalingGroupId string
    The id of the scaling group.
    TotalCount int
    The total count of lifecycle hook query.
    Ids List<string>
    LifecycleHookNames List<string>
    NameRegex string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleHooks []ScalingLifecycleHooksLifecycleHook
    The collection of lifecycle hook query.
    ScalingGroupId string
    The id of the scaling group.
    TotalCount int
    The total count of lifecycle hook query.
    Ids []string
    LifecycleHookNames []string
    NameRegex string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleHooks List<ScalingLifecycleHooksLifecycleHook>
    The collection of lifecycle hook query.
    scalingGroupId String
    The id of the scaling group.
    totalCount Integer
    The total count of lifecycle hook query.
    ids List<String>
    lifecycleHookNames List<String>
    nameRegex String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleHooks ScalingLifecycleHooksLifecycleHook[]
    The collection of lifecycle hook query.
    scalingGroupId string
    The id of the scaling group.
    totalCount number
    The total count of lifecycle hook query.
    ids string[]
    lifecycleHookNames string[]
    nameRegex string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_hooks Sequence[ScalingLifecycleHooksLifecycleHook]
    The collection of lifecycle hook query.
    scaling_group_id str
    The id of the scaling group.
    total_count int
    The total count of lifecycle hook query.
    ids Sequence[str]
    lifecycle_hook_names Sequence[str]
    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.
    scalingGroupId String
    The id of the scaling group.
    totalCount Number
    The total count of lifecycle hook query.
    ids List<String>
    lifecycleHookNames List<String>
    nameRegex String
    outputFile String

    Supporting Types

    ScalingLifecycleHooksLifecycleHook

    Id string
    The id of the lifecycle hook.
    LifecycleCommands List<Pulumi.Volcengine.Autoscaling.Inputs.ScalingLifecycleHooksLifecycleHookLifecycleCommand>
    Batch job command.
    LifecycleHookId string
    The id of the lifecycle hook.
    LifecycleHookName string
    The name of the lifecycle hook.
    LifecycleHookPolicy string
    The policy of the lifecycle hook.
    LifecycleHookTimeout int
    The timeout of the lifecycle hook.
    LifecycleHookType string
    The type of the lifecycle hook.
    ScalingGroupId string
    An id of scaling group id.
    Id string
    The id of the lifecycle hook.
    LifecycleCommands []ScalingLifecycleHooksLifecycleHookLifecycleCommand
    Batch job command.
    LifecycleHookId string
    The id of the lifecycle hook.
    LifecycleHookName string
    The name of the lifecycle hook.
    LifecycleHookPolicy string
    The policy of the lifecycle hook.
    LifecycleHookTimeout int
    The timeout of the lifecycle hook.
    LifecycleHookType string
    The type of the lifecycle hook.
    ScalingGroupId string
    An id of scaling group id.
    id String
    The id of the lifecycle hook.
    lifecycleCommands List<ScalingLifecycleHooksLifecycleHookLifecycleCommand>
    Batch job command.
    lifecycleHookId String
    The id of the lifecycle hook.
    lifecycleHookName String
    The name of the lifecycle hook.
    lifecycleHookPolicy String
    The policy of the lifecycle hook.
    lifecycleHookTimeout Integer
    The timeout of the lifecycle hook.
    lifecycleHookType String
    The type of the lifecycle hook.
    scalingGroupId String
    An id of scaling group id.
    id string
    The id of the lifecycle hook.
    lifecycleCommands ScalingLifecycleHooksLifecycleHookLifecycleCommand[]
    Batch job command.
    lifecycleHookId string
    The id of the lifecycle hook.
    lifecycleHookName string
    The name of the lifecycle hook.
    lifecycleHookPolicy string
    The policy of the lifecycle hook.
    lifecycleHookTimeout number
    The timeout of the lifecycle hook.
    lifecycleHookType string
    The type of the lifecycle hook.
    scalingGroupId string
    An id of scaling group id.
    id str
    The id of the lifecycle hook.
    lifecycle_commands Sequence[ScalingLifecycleHooksLifecycleHookLifecycleCommand]
    Batch job command.
    lifecycle_hook_id str
    The id of the lifecycle hook.
    lifecycle_hook_name str
    The name of the lifecycle hook.
    lifecycle_hook_policy str
    The policy of the lifecycle hook.
    lifecycle_hook_timeout int
    The timeout of the lifecycle hook.
    lifecycle_hook_type str
    The type of the lifecycle hook.
    scaling_group_id str
    An id of scaling group id.
    id String
    The id of the lifecycle hook.
    lifecycleCommands List<Property Map>
    Batch job command.
    lifecycleHookId String
    The id of the lifecycle hook.
    lifecycleHookName String
    The name of the lifecycle hook.
    lifecycleHookPolicy String
    The policy of the lifecycle hook.
    lifecycleHookTimeout Number
    The timeout of the lifecycle hook.
    lifecycleHookType String
    The type of the lifecycle hook.
    scalingGroupId String
    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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine