Develop > API calls > Get infrastructure machine details

Get infrastructure machine details

Displays details of existing infrastructure machines.

URI Method Parameters Returns
http://[host]:[port] machine ID GET

machine Id- Id of existing infrastructure resource pool.

200 - updated,

400 - bad request,

404 - not found

Example

The following URL was sent:

https://localhost:8444/csa/api/codar/existing-infrastructure/e786177c-44c4-48f8-93cb-aa310fe4b1dd

The following JSON was returned:

{
"@self":"/csa/codar/xi/existing-infrastructure/e786177c-44c4-48f8-93cb-aa310fe4b1dd",
"@type":"urn:x-hp:2012:software:cloud:data_model:ExistingInfrastructureDetails",
"id":"e786177c-44c4-48f8-93cb-aa310fe4b1dd",
"name":"sdfsdfsd",
"description":"An existing machine for Development purpose",
"displayName":"Dev_Machine",
"ipAddress":"",
"hostName":"dev.csacloud.local",
"username":"vineet",
"password":null,
"privateKey":"privateKey",
"createdBy":"admin",
"createdOn":"2016-09-07T12:23:31.231Z",
"members":[
{
"id":"f015d9e0-c824-498f-a20c-ef45fede4033",
"name":"asdasd"
}
]
}