文档

ACS::CN::DetermineUpgradeServiceInstanceTypeAndPerformUpgrade

更新时间:

动作描述

通过Type字段判断服务实例升级类型并执行对应升级操作

语法

Action: ACS::CN::DetermineUpgradeServiceInstanceTypeAndPerformUpgrade
Properties:
 regionId: String
 serviceInstanceId: String
 resourceName: String
 applicationGroupName: String
 artifactsUrl: String
 artifactsDownloadDirectory: String
 commandType: String
 commandContent: String
 workingDir: String
 timeout: Number
 enableParameter: Boolean
 parameters: Json
 whetherModifyEssLifecycleHook: Boolean
 imageId: String
 type: String

属性

属性名称

描述

类型

是否必填

默认值

约束

regionId

地域

String

{{ ACS::RegionId }}

serviceInstanceId

计算巢服务实例ID

String

resourceName

运行命令的ECS实例资源名称

String

applicationGroupName

运行命令的ECS实例应用分组名称

String

artifactsUrl

The URL of file artifacts

String

artifactsDownloadDirectory

The artifacts download to directory

String

commandType

命令类型

String

RunShellScript

commandContent

命令内容

String

最大长度 : 16384

workingDir

运行目录

String

timeout

超时时间

Number

3600

enableParameter

命令中是否包含加密参数或自定义参数

Boolean

False

parameters

命令参数

Json

{}

whetherModifyEssLifecycleHook

是否更新伸缩租生命周期挂钩

Boolean

False

imageId

镜像Id

String

type

升级类型

String

返回值

详情

ACS::CN::DetermineUpgradeServiceInstanceTypeAndPerformUpgrade详情

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