import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::ECS::Command */ export declare function getCommand(args: GetCommandArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCommand. */ export interface GetCommandArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getCommand. */ export interface GetCommandResult { /** * Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB. */ readonly commandContent: string; /** * Custom command ID. */ readonly commandId: string; /** * Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded. */ readonly contentEncoding: string; /** * Creation time. */ readonly createdTime: string; /** * Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters. */ readonly description: string; /** * Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters. */ readonly enableParameter: boolean; /** * Uniquely identifies the resource. */ readonly id: string; /** * Number of times the command has been invoked. */ readonly invocationTimes: number; /** * Command name. Character length: 1~32. No restriction on special characters. */ readonly name: string; /** * Custom parameter definition information. */ readonly parameterDefinitions: outputs.ecs.GetCommandParameterDefinition[]; /** * Project to which the resource belongs. Each resource can belong to only one project. */ readonly projectName: string; /** * Command provider. */ readonly providerName: string; /** * Tag key-value pair. */ readonly tags: outputs.ecs.GetCommandTag[]; /** * Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60. */ readonly timeout: number; /** * Command type. Shell: Creates a Shell script for Linux instances. Python: Creates a Python script. Bat: Creates a Bat script. PowerShell: Creates a PowerShell script. */ readonly type: string; /** * Update time. */ readonly updatedTime: string; /** * Username for executing the command. */ readonly username: string; /** * Directory where the created command runs on ECS instances. */ readonly workingDir: string; } /** * Data Source schema for Volcengine::ECS::Command */ export declare function getCommandOutput(args: GetCommandOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCommand. */ export interface GetCommandOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }