Description
Downloads multiple files to multiple Elastic Compute Service (ECS) instances at a time and runs a Cloud Assistant command.
Syntax
Action: ACS::CN::UpgradeServiceInstanceStep
Properties:
regionId: String
instanceId: String
artifactsUrl: String
artifactsDownloadDirectory: String
commandType: String
commandContent: String
workingDir: String
timeout: Number
enableParameter: Boolean
parameters: Json
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
instanceId |
The ECS instance ID. |
String |
Yes |
The instance ID must be 1 to 30 bytes in length. |
|
|
artifactsUrl |
String |
No |
|||
|
artifactsDownloadDirectory |
String |
No |
|||
|
commandType |
The type of the Cloud Assistant command. |
String |
Yes |
||
|
commandContent |
The content of the Cloud Assistant command. |
String |
Yes |
||
|
workingDir |
The working directory for running the command on the ECS instance. |
String |
No |
||
|
timeout |
The timeout period for the command. Unit: seconds. |
Number |
No |
3600 |
|
|
enableParameter |
Specifies whether the command contains encryption parameters or custom parameters. |
Boolean |
No |
False |
|
|
parameters |
The command parameters. |
Json |
No |
{} |
Output
|
Output item |
Description |
Type |
|
commandOutput |
String |
References
For more information, see ACS::CN::UpgradeServiceInstanceStep on GitHub.