GET /machinegroup?group_id=xxxx-xx-xx-xx-xxxxxxxx HTTP/1.1Host: <Region>.cls.tencentyun.comAuthorization: <AuthorizationString>
GET /machinegroup
Field Name | Type | Location | Required | Description |
group_id | string | query | Yes | ID of the group to be queried |
HTTP/1.1 200 OKContent-Type: application/jsonContent-Length: 123{"group_id": "xxxx-xx-xx-xx-xxxxxxxx","group_name": "testname","type":"label","labels": ["defined_label_1","defined_label_2"],"create_time": "2017-08-08 12:12:12"}
Field Name | Type | Required | Description |
group_id | string | Yes | Machine group ID |
group_name | string | Yes | Machine group name |
type | string | Yes | Machine group type |
ips | JsonArray | No | List of IPs in the machine group |
labels | JsonArray | No | List of labels in the machine group |
create_time | string | No | Creation time |
type value, either or both of ips and labels are returned.Feedback