run_ecs_command
Execute commands directly on Alibaba Cloud ECS instances. Specify region, instance IDs, and the command to run for streamlined instance management and automation.
Instructions
在ECS实例上运行命令
Args:
region: 区域ID,如cn-beijing
instance_ids: ECS实例ID列表
command: 要执行的命令
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | No | echo 'Hello World' | |
instance_ids | No | ||
region | No | cn-beijing |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"default": "echo 'Hello World'",
"title": "Command",
"type": "string"
},
"instance_ids": {
"default": null,
"items": {
"type": "string"
},
"title": "Instance Ids",
"type": "array"
},
"region": {
"default": "cn-beijing",
"title": "Region",
"type": "string"
}
},
"title": "run_ecs_commandArguments",
"type": "object"
}