InstallCloudApp
Installs a cloud application on a specified cloud application instance. This operation is asynchronous. You can call the ListCloudAppInstallations operation to query the installation progress.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vs:InstallCloudApp |
update |
*Crs
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RenderingInstanceId |
string |
No |
The cloud application service instance ID. |
render-9f8c57355d224ad7beaf95e145f22111 |
| AppId |
string |
Yes |
The cloud application ID. |
cap-b06b26edfhytbn b94a75ae1a79efc90eb |
| RenderingInstanceIds |
array |
No |
The list of cloud application service instance IDs. |
|
|
string |
No |
The cloud application service instance ID. |
render-4523e7b93ca246febd10cd12347d70c0 |
|
| ProjectId |
string |
No |
The project ID. |
project-422bc38dfgh5eb44149f135ef76304f63b |
| PageSize |
integer |
No |
The maximum number of instances that can be selected under the project. This parameter takes effect only when ProjectId is not empty. It limits the maximum number of instances on which the operation is performed under the project to control the impact scope. Default value: 100. Valid values: 1 to 100. |
10 |
| PageNumber |
integer |
No |
The page number for the paged query of instance associations under the project. By default, the paged query is sorted by instance association time in descending order. This parameter takes effect only when ProjectId is not empty. It limits the maximum number of instances on which the operation is executed under the project to control the impact scope. Default value: 1.
|
1 |
| PatchId |
string |
No |
The patch package ID to install. This parameter is supported only in Windows scenarios.
|
patch-7bdf679812484df08a956b73e0b3bdf6 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
BEA5625F-8FCF-48F4-851B-CA63946DA664 |
| SuccessInstanceCount |
integer |
The number of successful cloud application service instances. |
5 |
| SuccessInstances |
array<object> |
The list of successful cloud application service instances. |
|
|
object |
The cloud application service instance. |
||
| RenderingInstanceId |
string |
The cloud application service instance ID. |
render-5130e2feb23f442fb9456a3d977f03d4 |
| FailedInstanceCount |
integer |
The number of failed cloud application service instances. |
0 |
| FailedInstances |
array<object> |
The list of failed cloud application service instances. |
|
|
object |
The failed cloud application service instance. |
||
| RenderingInstanceId |
string |
The cloud application service instance ID. |
render-b45f28650ffe4591bf4c5c95996a428c |
| ErrMessage |
string |
The failure reason information. |
Rejected due to timeout |
| ErrCode |
integer |
The failure error code. |
300000 |
Examples
Success response
JSON format
{
"RequestId": "BEA5625F-8FCF-48F4-851B-CA63946DA664",
"SuccessInstanceCount": 5,
"SuccessInstances": [
{
"RenderingInstanceId": "render-5130e2feb23f442fb9456a3d977f03d4"
}
],
"FailedInstanceCount": 0,
"FailedInstances": [
{
"RenderingInstanceId": "render-b45f28650ffe4591bf4c5c95996a428c",
"ErrMessage": "Rejected due to timeout",
"ErrCode": 300000
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.