Gets the details of a machine group.
Operation description
Host consists of a project name and a Simple 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:GetMachineGroup |
get |
*Project
|
|
None |
Request syntax
GET /machinegroups/{machineGroup} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| machineGroup |
string |
Yes |
The name of the machine group. |
test-machine-group |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
Response elements
|
Element |
Type |
Description |
Example |
| machineGroup |
The response body. |
Examples
Success response
JSON format
{
"groupName": "machineGroup-test",
"groupType": "“”",
"machineIdentifyType": "ip",
"groupAttribute": {
"groupTopic": "testtopic",
"externalName": "testgroup"
},
"machineList": [
"47.100.XX.XX"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.