动作描述
在ECS实例上跨多个区域运行命令或重启实例
语法
Action: ACS::ECS::RunImageTemplateCommand
Properties:
regionId: String
instanceId: String
parameters: Json
属性
属性名称 | 描述 | 类型 | 是否必填 | 默认值 | 约束 |
regionId | 地域ID | String | 是 | ||
instanceId | ECS实例ID | String | 是 | ||
parameters | 模板任务参数:{"type": "RESTART"}或{" commandType": "RunShellScript", "commandContent": "pwd", "workingDir": "/root", "type": "RunCommand", "timeout": 600} | Json | 是 |
返回值
返回值名称 | 描述 | 类型 |
commandOutput | String |
详情
文档内容是否对您有帮助?