Resource Center/Elastic Bare Metal Management(Plus)
GETElastic Bare Metal Management(Plus)Since 4.0.0SynchronousAuth Required
QueryBareMetal2Gateway
QueryBareMetal2Gateway
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
This API requires no request parameters.
Responses
Endpoint
GET/zstack/v1/baremetal2/gateways
/zstack/v1/baremetal2/gateways
Request Example
curl -X GET 'http://{host}/zstack/v1/baremetal2/gateways' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "username": "username", "password": "password", "sshPort": 22.0, "zoneUuid": "d5e6f16bbbab4c1e8c71a0ad108837d9", "name": "BM_GATEWAY", "uuid": "19b634f736574b7c93ff89c8741714d7", "description": "This is a bare metal gateway.", "managementIp": "192.168.0.10", "state": "Enabled", "status": "Connected", "createDate": "Nov 14, 2017 10:20:57 PM", "lastOpDate": "Nov 14, 2017 10:20:57 PM" } ] }Change History
This API has no change history records yet.
