cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrocelli <a.petroce...@netsons.com>
Subject USAGE problem with SNAPSHOT
Date Mon, 19 Aug 2013 10:31:52 GMT
Hello,

the "listUsageRecords 
<http://cloudstack.apache.org/docs/api/apidocs-4.1/root_admin/listUsageRecords.html>"

response in case of *Snapshot *response is:

array(12) {
   ["account"]=>
   string(23) "xxxxxxxxxxxx@netsons.com"
   ["accountid"]=>
   string(36) "72e16957-0a22-4739-b353-729da6301837"
   ["domainid"]=>
   string(36) "c1279c33-deb9-464f-8840-3dcd924cfcde"
   ["zoneid"]=>
   string(36) "dd9d48f8-8d9d-45e9-adf3-04d3d17829e5"
   ["description"]=>
   string(30) "Snapshot Id:1 Size:53687091200"
   ["usage"]=>
   float(1)
   ["usagetype"]=>
   int(9)
   ["rawusage"]=>
   string(1) "1"
   ["usageid"]=>
   string(36) "658b084e-3e52-4baf-888b-2fd471d9181e"
   ["size"]=>
   int(53687091200)
   ["startdate"]=>
   string(27) "2013-08-18'T'00:00:00+02:00"
   ["enddate"]=>
   string(27) "2013-08-18'T'00:59:59+02:00"
}

inside field "*description*" i can found the Snapshot Id:1

Someone know how it can be used to refeer to exact snapshot?

Thanks!


Mime
View raw message