全部產品
Search
文件中心

CloudOps Orchestration Service:ACS::CN::UpgradeServiceInstanceByRunCommand

更新時間:Jul 01, 2024

動作描述

通過下載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詳情