UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

86 lines (85 loc) 2.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of scaling lifecycle hooks */ export declare function getScalingLifecycleHooks(args: GetScalingLifecycleHooksArgs, opts?: pulumi.InvokeOptions): Promise<GetScalingLifecycleHooksResult>; /** * A collection of arguments for invoking getScalingLifecycleHooks. */ export interface GetScalingLifecycleHooksArgs { /** * A list of lifecycle hook ids. */ ids?: string[]; /** * A list of lifecycle hook names. */ lifecycleHookNames?: string[]; /** * A Name Regex of lifecycle hook. */ nameRegex?: string; /** * File name where to save data source results. */ outputFile?: string; /** * An id of scaling group id. */ scalingGroupId: string; } /** * A collection of values returned by getScalingLifecycleHooks. */ export interface GetScalingLifecycleHooksResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; readonly lifecycleHookNames?: string[]; /** * The collection of lifecycle hook query. */ readonly lifecycleHooks: outputs.autoscaling.GetScalingLifecycleHooksLifecycleHook[]; readonly nameRegex?: string; readonly outputFile?: string; /** * The id of the scaling group. */ readonly scalingGroupId: string; /** * The total count of lifecycle hook query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of scaling lifecycle hooks */ export declare function getScalingLifecycleHooksOutput(args: GetScalingLifecycleHooksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetScalingLifecycleHooksResult>; /** * A collection of arguments for invoking getScalingLifecycleHooks. */ export interface GetScalingLifecycleHooksOutputArgs { /** * A list of lifecycle hook ids. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * A list of lifecycle hook names. */ lifecycleHookNames?: pulumi.Input<pulumi.Input<string>[]>; /** * A Name Regex of lifecycle hook. */ nameRegex?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * An id of scaling group id. */ scalingGroupId: pulumi.Input<string>; }