文档

ACS::ECS::RunImageTemplateCommand

动作描述

在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

详情

ACS::ECS::RunImageTemplateCommand详情

  • 本页导读 (0)
文档反馈