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.
Debugging
Authorization information
Request syntax
PUT /machinegroups/{groupName} HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
groupName | string | Yes | The name of the machine group. | test-group |
body | object | Yes | The request body. | |
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.
| |
string | No | The identifier of the machine. Set the value to an IP address or a custom identifier. | 192.168.xx.xx |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.