Skip to content

Instantly share code, notes, and snippets.

@resmo
Created June 6, 2016 08:16
Show Gist options
  • Select an option

  • Save resmo/fbe4b6239416addef19f7326d9465586 to your computer and use it in GitHub Desktop.

Select an option

Save resmo/fbe4b6239416addef19f7326d9465586 to your computer and use it in GitHub Desktop.
$ cs listProjects --region ma-cloud
{
"count": 1,
"project": [
{
"account": "moserre",
"cpuavailable": "39",
"cpulimit": "40",
"cputotal": 1,
"displaytext": "web",
"domain": "STXT",
"domainid": "3a291b29-b184-4ddc-bdcc-8298c237942e",
"id": "2f6d63c5-7c52-4c01-97fa-c5f4f5261fc4",
"ipavailable": "3",
"iplimit": "20",
"iptotal": 1,
"memoryavailable": "39936",
"memorylimit": "40960",
"memorytotal": 1024,
"name": "web",
"networkavailable": "19",
"networklimit": "20",
"networktotal": 1,
"primarystorageavailable": "180",
"primarystoragelimit": "200",
"primarystoragetotal": 20,
"secondarystorageavailable": "400",
"secondarystoragelimit": "400",
"secondarystoragetotal": 0,
"snapshotavailable": "20",
"snapshotlimit": "20",
"snapshottotal": 0,
"state": "Active",
"tags": [
{
"account": "system",
"domain": "STXT",
"domainid": "3a291b29-b184-4ddc-bdcc-8298c237942e",
"key": "foo",
"resourceid": "2f6d63c5-7c52-4c01-97fa-c5f4f5261fc4",
"resourcetype": "Project",
"value": "bar"
}
],
"templateavailable": "20",
"templatelimit": "20",
"templatetotal": 0,
"vmavailable": "19",
"vmlimit": "20",
"vmrunning": 1,
"vmtotal": 1,
"volumeavailable": "19",
"volumelimit": "20",
"volumetotal": 1,
"vpcavailable": "20",
"vpclimit": "20",
"vpctotal": 0
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment