すべてのプロダクト
Search
ドキュメントセンター

CloudOps Orchestration Service:ACS::CN::UpgradeServiceInstanceByRunCommand

最終更新日:Jan 17, 2025

説明

Object Storage Service (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

リージョン ID。

String

いいえ

{{ ACS::RegionId }}

serviceInstanceId

Compute Nest サービスインスタンスの ID。

String

はい

resourceName

コマンドを実行する Elastic Compute Service (ECS) インスタンスのリソース名。

String

いいえ

applicationGroupName

コマンドを実行する ECS インスタンスのアプリケーショングループ名。

String

いいえ

artifactsUrl

ファイルのソース URL。

String

いいえ

artifactsDownloadDirectory

ファイルをダウンロードするディレクトリ。

String

いいえ

commandType

コマンドタイプ。

String

いいえ

RunShellScript

commandContent

コマンドの内容。

String

はい

コマンドの長さは最大 16,384 バイトです。

workingDir

コマンドを実行するディレクトリ。

String

いいえ

timeout

タイムアウト期間。

Number

いいえ

600

enableParameter

コマンドに暗号化パラメーターまたはカスタムパラメーターが含まれているかどうかを指定します。

Boolean

いいえ

False

parameters

コマンドパラメーター。

Json

いいえ

{}

出力

出力項目

説明

タイプ

commandOutput

List

参照

詳細については、GitHub の ACS::CN::UpgradeServiceInstanceByRunCommand をご参照ください。