Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::ECS::Command
Using getCommand
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 getCommand(args: GetCommandArgs, opts?: InvokeOptions): Promise<GetCommandResult>
function getCommandOutput(args: GetCommandOutputArgs, opts?: InvokeOptions): Output<GetCommandResult>def get_command(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCommandResult
def get_command_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCommandResult]func LookupCommand(ctx *Context, args *LookupCommandArgs, opts ...InvokeOption) (*LookupCommandResult, error)
func LookupCommandOutput(ctx *Context, args *LookupCommandOutputArgs, opts ...InvokeOption) LookupCommandResultOutput> Note: This function is named LookupCommand in the Go SDK.
public static class GetCommand
{
public static Task<GetCommandResult> InvokeAsync(GetCommandArgs args, InvokeOptions? opts = null)
public static Output<GetCommandResult> Invoke(GetCommandInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCommandResult> getCommand(GetCommandArgs args, InvokeOptions options)
public static Output<GetCommandResult> getCommand(GetCommandArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:ecs/getCommand:getCommand
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getCommand Result
The following output properties are available:
- Command
Content string - Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB.
- Command
Id string - Custom command ID.
- Content
Encoding string - Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded.
- Created
Time string - Creation time.
- Description string
- Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters.
- Enable
Parameter bool - Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters.
- Id string
- Uniquely identifies the resource.
- Invocation
Times int - Number of times the command has been invoked.
- Name string
- Command name. Character length: 1~32. No restriction on special characters.
- Parameter
Definitions List<Volcengine.Get Command Parameter Definition> - Custom parameter definition information.
- Project
Name string - Project to which the resource belongs. Each resource can belong to only one project.
- Provider
Name string - Command provider.
-
List<Volcengine.
Get Command Tag> - Tag key-value pair.
- Timeout int
- Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60.
- Type string
- 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.
- Updated
Time string - Update time.
- Username string
- Username for executing the command.
- Working
Dir string - Directory where the created command runs on ECS instances.
- Command
Content string - Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB.
- Command
Id string - Custom command ID.
- Content
Encoding string - Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded.
- Created
Time string - Creation time.
- Description string
- Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters.
- Enable
Parameter bool - Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters.
- Id string
- Uniquely identifies the resource.
- Invocation
Times int - Number of times the command has been invoked.
- Name string
- Command name. Character length: 1~32. No restriction on special characters.
- Parameter
Definitions []GetCommand Parameter Definition - Custom parameter definition information.
- Project
Name string - Project to which the resource belongs. Each resource can belong to only one project.
- Provider
Name string - Command provider.
-
[]Get
Command Tag - Tag key-value pair.
- Timeout int
- Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60.
- Type string
- 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.
- Updated
Time string - Update time.
- Username string
- Username for executing the command.
- Working
Dir string - Directory where the created command runs on ECS instances.
- command
Content String - Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB.
- command
Id String - Custom command ID.
- content
Encoding String - Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded.
- created
Time String - Creation time.
- description String
- Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters.
- enable
Parameter Boolean - Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters.
- id String
- Uniquely identifies the resource.
- invocation
Times Integer - Number of times the command has been invoked.
- name String
- Command name. Character length: 1~32. No restriction on special characters.
- parameter
Definitions List<GetCommand Parameter Definition> - Custom parameter definition information.
- project
Name String - Project to which the resource belongs. Each resource can belong to only one project.
- provider
Name String - Command provider.
-
List<Get
Command Tag> - Tag key-value pair.
- timeout Integer
- Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60.
- type String
- 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.
- updated
Time String - Update time.
- username String
- Username for executing the command.
- working
Dir String - Directory where the created command runs on ECS instances.
- command
Content string - Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB.
- command
Id string - Custom command ID.
- content
Encoding string - Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded.
- created
Time string - Creation time.
- description string
- Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters.
- enable
Parameter boolean - Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters.
- id string
- Uniquely identifies the resource.
- invocation
Times number - Number of times the command has been invoked.
- name string
- Command name. Character length: 1~32. No restriction on special characters.
- parameter
Definitions GetCommand Parameter Definition[] - Custom parameter definition information.
- project
Name string - Project to which the resource belongs. Each resource can belong to only one project.
- provider
Name string - Command provider.
-
Get
Command Tag[] - Tag key-value pair.
- timeout number
- Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60.
- type string
- 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.
- updated
Time string - Update time.
- username string
- Username for executing the command.
- working
Dir string - Directory where the created command runs on ECS instances.
- command_
content str - Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB.
- command_
id str - Custom command ID.
- content_
encoding str - Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded.
- created_
time str - Creation time.
- description str
- Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters.
- enable_
parameter bool - Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters.
- id str
- Uniquely identifies the resource.
- invocation_
times int - Number of times the command has been invoked.
- name str
- Command name. Character length: 1~32. No restriction on special characters.
- parameter_
definitions Sequence[GetCommand Parameter Definition] - Custom parameter definition information.
- project_
name str - Project to which the resource belongs. Each resource can belong to only one project.
- provider_
name str - Command provider.
-
Sequence[Get
Command Tag] - Tag key-value pair.
- timeout int
- Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60.
- type str
- 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.
- updated_
time str - Update time.
- username str
- Username for executing the command.
- working_
dir str - Directory where the created command runs on ECS instances.
- command
Content String - Command content. Enter the command content according to the ContentEncoding parameter. Command content must not exceed 16 KB.
- command
Id String - Custom command ID.
- content
Encoding String - Whether the command content is processed with Base64 encoding. Base64 (default): Processed with Base64 encoding. PlainText: Not encoded.
- created
Time String - Creation time.
- description String
- Command description. Defaults to an empty string. Character length: 0~256. No restriction on special characters.
- enable
Parameter Boolean - Whether the created command uses custom parameters. false: Default, does not use custom parameters. true: Uses custom parameters.
- id String
- Uniquely identifies the resource.
- invocation
Times Number - Number of times the command has been invoked.
- name String
- Command name. Character length: 1~32. No restriction on special characters.
- parameter
Definitions List<Property Map> - Custom parameter definition information.
- project
Name String - Project to which the resource belongs. Each resource can belong to only one project.
- provider
Name String - Command provider.
- List<Property Map>
- Tag key-value pair.
- timeout Number
- Maximum timeout for executing the created command on ECS instances, in seconds. Value range: 30~86400. Default: 60.
- type String
- 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.
- updated
Time String - Update time.
- username String
- Username for executing the command.
- working
Dir String - Directory where the created command runs on ECS instances.
Supporting Types
GetCommandParameterDefinition
- Decimal
Precision int - Allowed decimal places for custom parameter (number).
- Default
Value string - Default value for custom parameter.
- Max
Length int - Maximum length for custom parameter (string).
- Max
Value string - Maximum value for custom parameter (number).
- Min
Length int - Minimum length for custom parameter (string).
- Min
Value string - Minimum value for custom parameter (number).
- Name string
- Custom parameter name. Define it in the script using {{Param}}. Each parameter name must not exceed 64 bytes. Follow Shell variable naming rules: combinations of a-z, A-Z, 0-9, -, and _. The first character cannot be a digit. No spaces allowed; underscores can be used instead.
- Required bool
- Whether it is required.
- Type string
- Custom parameter type. Values: String: Indicates the custom parameter type is String (string type). Digit: Indicates the custom parameter type is Digit (numeric type).
- Decimal
Precision int - Allowed decimal places for custom parameter (number).
- Default
Value string - Default value for custom parameter.
- Max
Length int - Maximum length for custom parameter (string).
- Max
Value string - Maximum value for custom parameter (number).
- Min
Length int - Minimum length for custom parameter (string).
- Min
Value string - Minimum value for custom parameter (number).
- Name string
- Custom parameter name. Define it in the script using {{Param}}. Each parameter name must not exceed 64 bytes. Follow Shell variable naming rules: combinations of a-z, A-Z, 0-9, -, and _. The first character cannot be a digit. No spaces allowed; underscores can be used instead.
- Required bool
- Whether it is required.
- Type string
- Custom parameter type. Values: String: Indicates the custom parameter type is String (string type). Digit: Indicates the custom parameter type is Digit (numeric type).
- decimal
Precision Integer - Allowed decimal places for custom parameter (number).
- default
Value String - Default value for custom parameter.
- max
Length Integer - Maximum length for custom parameter (string).
- max
Value String - Maximum value for custom parameter (number).
- min
Length Integer - Minimum length for custom parameter (string).
- min
Value String - Minimum value for custom parameter (number).
- name String
- Custom parameter name. Define it in the script using {{Param}}. Each parameter name must not exceed 64 bytes. Follow Shell variable naming rules: combinations of a-z, A-Z, 0-9, -, and _. The first character cannot be a digit. No spaces allowed; underscores can be used instead.
- required Boolean
- Whether it is required.
- type String
- Custom parameter type. Values: String: Indicates the custom parameter type is String (string type). Digit: Indicates the custom parameter type is Digit (numeric type).
- decimal
Precision number - Allowed decimal places for custom parameter (number).
- default
Value string - Default value for custom parameter.
- max
Length number - Maximum length for custom parameter (string).
- max
Value string - Maximum value for custom parameter (number).
- min
Length number - Minimum length for custom parameter (string).
- min
Value string - Minimum value for custom parameter (number).
- name string
- Custom parameter name. Define it in the script using {{Param}}. Each parameter name must not exceed 64 bytes. Follow Shell variable naming rules: combinations of a-z, A-Z, 0-9, -, and _. The first character cannot be a digit. No spaces allowed; underscores can be used instead.
- required boolean
- Whether it is required.
- type string
- Custom parameter type. Values: String: Indicates the custom parameter type is String (string type). Digit: Indicates the custom parameter type is Digit (numeric type).
- decimal_
precision int - Allowed decimal places for custom parameter (number).
- default_
value str - Default value for custom parameter.
- max_
length int - Maximum length for custom parameter (string).
- max_
value str - Maximum value for custom parameter (number).
- min_
length int - Minimum length for custom parameter (string).
- min_
value str - Minimum value for custom parameter (number).
- name str
- Custom parameter name. Define it in the script using {{Param}}. Each parameter name must not exceed 64 bytes. Follow Shell variable naming rules: combinations of a-z, A-Z, 0-9, -, and _. The first character cannot be a digit. No spaces allowed; underscores can be used instead.
- required bool
- Whether it is required.
- type str
- Custom parameter type. Values: String: Indicates the custom parameter type is String (string type). Digit: Indicates the custom parameter type is Digit (numeric type).
- decimal
Precision Number - Allowed decimal places for custom parameter (number).
- default
Value String - Default value for custom parameter.
- max
Length Number - Maximum length for custom parameter (string).
- max
Value String - Maximum value for custom parameter (number).
- min
Length Number - Minimum length for custom parameter (string).
- min
Value String - Minimum value for custom parameter (number).
- name String
- Custom parameter name. Define it in the script using {{Param}}. Each parameter name must not exceed 64 bytes. Follow Shell variable naming rules: combinations of a-z, A-Z, 0-9, -, and _. The first character cannot be a digit. No spaces allowed; underscores can be used instead.
- required Boolean
- Whether it is required.
- type String
- Custom parameter type. Values: String: Indicates the custom parameter type is String (string type). Digit: Indicates the custom parameter type is Digit (numeric type).
GetCommandTag
- Key string
- User tag key. Naming rules: must not start with any case combination of volc: or sys:. Only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
- Value string
- User tag value. Naming rules: only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
- Key string
- User tag key. Naming rules: must not start with any case combination of volc: or sys:. Only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
- Value string
- User tag value. Naming rules: only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
- key String
- User tag key. Naming rules: must not start with any case combination of volc: or sys:. Only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
- value String
- User tag value. Naming rules: only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
- key string
- User tag key. Naming rules: must not start with any case combination of volc: or sys:. Only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
- value string
- User tag value. Naming rules: only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
- key str
- User tag key. Naming rules: must not start with any case combination of volc: or sys:. Only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
- value str
- User tag value. Naming rules: only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
- key String
- User tag key. Naming rules: must not start with any case combination of volc: or sys:. Only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Length must be between 1 and 128 characters.
- value String
- User tag value. Naming rules: only language characters, digits, spaces, and the following English symbols are allowed: '_', '.', ':', '/', '=', '+', '-', '@'. Can be empty. Length must be between 0 and 256 characters.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
