UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

135 lines (134 loc) 3.6 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of ecs commands * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.ecs.getCommands({ * commandId: "cmd-ychkepkhtim0tr3b****", * }); * ``` */ /** @deprecated volcengine.ecs.Commands has been deprecated in favor of volcengine.ecs.getCommands */ export declare function commands(args?: CommandsArgs, opts?: pulumi.InvokeOptions): Promise<CommandsResult>; /** * A collection of arguments for invoking Commands. */ export interface CommandsArgs { /** * The id of ecs command. */ commandId?: string; /** * The provider of public command. When this field is not specified, query for custom commands. */ commandProvider?: string; /** * The name of ecs command. This field support fuzzy query. */ name?: string; /** * A Name Regex of Resource. */ nameRegex?: string; /** * The order of ecs command query result. */ order?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The type of ecs command. Valid values: `Shell`. */ type?: string; } /** * A collection of values returned by Commands. */ export interface CommandsResult { /** * The id of the ecs command. */ readonly commandId?: string; /** * The provider of the public command. */ readonly commandProvider?: string; /** * The collection of query. */ readonly commands: outputs.ecs.CommandsCommand[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The name of the ecs command. */ readonly name?: string; readonly nameRegex?: string; readonly order?: string; readonly outputFile?: string; /** * The total count of query. */ readonly totalCount: number; /** * The type of the ecs command. */ readonly type?: string; } /** * Use this data source to query detailed information of ecs commands * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.ecs.getCommands({ * commandId: "cmd-ychkepkhtim0tr3b****", * }); * ``` */ /** @deprecated volcengine.ecs.Commands has been deprecated in favor of volcengine.ecs.getCommands */ export declare function commandsOutput(args?: CommandsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CommandsResult>; /** * A collection of arguments for invoking Commands. */ export interface CommandsOutputArgs { /** * The id of ecs command. */ commandId?: pulumi.Input<string>; /** * The provider of public command. When this field is not specified, query for custom commands. */ commandProvider?: pulumi.Input<string>; /** * The name of ecs command. This field support fuzzy query. */ name?: pulumi.Input<string>; /** * A Name Regex of Resource. */ nameRegex?: pulumi.Input<string>; /** * The order of ecs command query result. */ order?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The type of ecs command. Valid values: `Shell`. */ type?: pulumi.Input<string>; }