Modifies the configuration of a machine group.
Operation description
Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:UpdateMachineGroup |
update |
*Project
|
|
None |
Request syntax
PUT /machinegroups/{groupName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| groupName |
string |
Yes |
The name of the machine group. |
test-group |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
| body |
object |
Yes |
The request body. |
ali-test-project |
| groupName |
string |
Yes |
The name of the machine group. |
test-machine-group |
| machineIdentifyType |
string |
Yes |
The identifier type of the machine group. Valid values:
|
userdefined |
| groupType |
string |
No |
The type of the machine group. Set the value to an empty string. |
"" |
| groupAttribute |
object |
No |
The attribute of the machine group. This parameter is empty by default. |
|
| groupTopic |
string |
No |
The topic of the machine group. This parameter is empty by default. |
testtopic2 |
| externalName |
string |
No |
The identifier of the external management system on which the machine group depends. This parameter is empty by default. |
testgroup2 |
| machineList |
array |
Yes |
The identifiers of the machines in the machine group.
|
[uu_id_1,uu_id_2] |
|
string |
No |
The identifier of the machine. Set the value to an IP address or a custom identifier. |
192.168.xx.xx |
Response elements
|
Element |
Type |
Description |
Example |
None defined.
Examples
Success response
JSON format
{}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.