ACS::CN::UpgradeServiceInstanceByRunCommand

更新时间:2024-06-12 10:29:20

动作描述

通过下载OSS文件与运行命令执行服务实例升级

语法

Action: ACS::CN::UpgradeServiceInstanceByRunCommand
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
 OOSAssumeRole: 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

600

enableParameter

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

Boolean

False

parameters

命令参数

Json

{}

返回值

返回值名称

描述

类型

commandOutput

List

详情

ACS::CN::UpgradeServiceInstanceByRunCommand详情

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

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等