全部产品
Search
文档中心

系统运维管理:ACS::ECS::ElegantRunCommandInSLBVServerGroup

更新时间:Aug 17, 2023

动作描述

在SLB默认虚拟器组内的实例中执行命令

语法

Action: ACS::ECS::ElegantRunCommandInSLBVServerGroup
Properties:
 regionId: String
 VServerGroupId: String
 serverId: String
 weight: Number
 type: String
 port: Number
 commandType: String
 commandContent: String

属性

属性名称

描述

类型

是否必填

默认值

约束

regionId

地域ID

String

否

{{ ACS::RegionId }}

VServerGroupId

SLB虚拟服务器组ID

String

是

serverId

ECS实例的ID

String

是

weight

后端服务器权重

Number

是

type

后端服务器类型

String

是

port

后端服务器端口

Number

是

commandType

命令的类型

String

否

RunShellScript

commandContent

在ECS实例中运行的命令

String

是

返回值

返回值名称

描述

类型

commandOutput

String

详情

ACS::ECS::ElegantRunCommandInSLBVServerGroup详情