動作描述
通過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詳情