Updates the image of an instance group. This update affects all instances in the group.
Operation description
The image and the instance group must be in the active state. The image must be available in the same region as the instance group.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceGroupIds |
array |
Yes |
A list of instance group IDs. |
|
|
string |
No |
The instance group ID. |
ag-3kzpiqqsjwpy9**** |
|
| ImageId |
string |
Yes |
The image ID. |
imgc-075cllfeuazh**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
55726272-E40B-530D-914F-5126B19C79B3 |
Examples
Success response
JSON format
{
"RequestId": "55726272-E40B-530D-914F-5126B19C79B3"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.