Skip to content

Instantly share code, notes, and snippets.

@jbestell
Last active December 15, 2015 11:49
Show Gist options
  • Save jbestell/5256004 to your computer and use it in GitHub Desktop.
Save jbestell/5256004 to your computer and use it in GitHub Desktop.
HPCS Compute API Get Server Details - JSON
{ "server" : { "accessIPv4" : "",
"accessIPv6" : "",
"addresses" : { "private" : [ { "addr" : "10.4.66.99",
"version" : 4
},
{ "addr" : "15.185.113.156",
"version" : 4
}
] },
"config_drive" : "",
"created" : "2013-03-08T21:08:32Z",
"flavor" : { "id" : "102",
"links" : [ { "href" : "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/98124831297329/flavors/102",
"rel" : "bookmark"
} ]
},
"hostId" : "9f949b847f8c09d190eb30e3345f1561785ff935de27710ce345ae7e",
"id" : 938863,
"key_name" : "az1",
"links" : [ { "href" : "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/98124831297329/servers/938863",
"rel" : "self"
},
{ "href" : "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/98124831297329/servers/938863",
"rel" : "bookmark"
}
],
"metadata" : { },
"name" : "control-aw2az1",
"progress" : 100,
"security_groups" : [ { "id" : 74743,
"links" : [ { "href" : "https://az-1.region-a.geo-1.compute.hpcloudsvc.com/v1.1/98124831297329/os-security-groups/74743",
"rel" : "bookmark"
} ],
"name" : "default"
} ],
"status" : "ACTIVE",
"tenant_id" : "98124831297329",
"updated" : "2013-03-08T22:47:03Z",
"user_id" : "30248174159870",
"uuid" : "890b05d5-fe51-4ab1-bca4-e7c34128b02b"
} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment