ACS::ECS::RunImageTemplateCommand

更新时间:2023-11-03 03:47:19

动作描述

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详情

  • 本页导读 (1)
  • 动作描述
  • 语法
  • 属性
  • 返回值
  • 详情