Upgrades an instance group. This operation only supports scaling out an instance group, which increases the number of instances.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceGroupId |
string |
No |
The ID of the instance group. |
ag-asguicdjh**** |
| IncreaseNumberOfInstance |
integer |
No |
The number of instances to add to the instance group. |
2 |
| AutoPay |
boolean |
No |
Specifies whether to enable automatic payment. Valid values:
|
true |
| PromotionId |
string |
No |
The promotion ID. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
310A783E-CC46-5452-A8A3-71AE5DB59**** |
| OrderId |
string |
The order ID. |
223684716098**** |
| InstanceIds |
string |
The IDs of instances created during the scale-out. |
['acp-2iowaqjyw9nrd****', 'acp-2iowaqjyw9nrd****'] |
Examples
Success response
JSON format
{
"RequestId": "310A783E-CC46-5452-A8A3-71AE5DB59****",
"OrderId": "223684716098****",
"InstanceIds": "['acp-2iowaqjyw9nrd****', 'acp-2iowaqjyw9nrd****']"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.