全部產品
Search
文件中心

CloudOps Orchestration Service:ACS::CN::DetermineUpgradeServiceInstanceTypeAndPerformUpgrade

更新時間:Jul 01, 2024

動作描述

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