Volcengine v0.0.26 published on Friday, Sep 13, 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) 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:
- 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.
ScalingLifecycleHooks Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Hooks List<ScalingLifecycle 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 []ScalingLifecycle 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<ScalingLifecycle 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 ScalingLifecycle 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[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.
- 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
ScalingLifecycleHooksLifecycleHook
- Id string
- The id of the lifecycle hook.
- Lifecycle
Commands List<ScalingLifecycle 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 []ScalingLifecycle 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<ScalingLifecycle 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 ScalingLifecycle 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[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.
- 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.
ScalingLifecycleHooksLifecycleHookLifecycleCommand
- 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.