Updates the machines included in a batch.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateTargetListByBatch |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BatchId |
integer |
Yes |
The ID of the release batch. |
52370 |
| OperationList |
array<object> |
Yes |
The list of asset operations. |
|
|
object |
No |
The list of asset operations. |
||
| Operation |
string |
No |
The operation type. Valid values:
|
add |
| GroupId |
string |
No |
The ID of the server group. Note
Call the DescribeAllGroups operation to query the server group ID. |
11883086 |
| VpcInstanceId |
string |
No |
The ID of the VPC-connected instance. |
vpc-bp1ow0rm9t92iza****** |
| Uuid |
string |
No |
The UUID of the server. Note
Call the DescribeCloudCenterInstances operation to obtain this parameter. |
de393767-6fe1-4a8d-837d-927a2b****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. The China value is a unique identifier that Alibaba Cloud generates for the request and can be used to troubleshoot issues. |
FBBEB173-1F43-505F-A876-C03ECD****** |
Examples
Success response
JSON format
{
"RequestId": "FBBEB173-1F43-505F-A876-C03ECD******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.