[Resources] getResources

getResources

Summary of the Process by the Function

Gets detailed information on resource in use

Request Parameters

There are no parameters to specify when executing this function.

Response Objects

Response will be in the following format.

FieldDescription
created_at

Returns the date and time of the user account creation in GMO Cloud Hosting
The date and time will be shown in the following format

YYYY-MM-DDThh:mm:ssZ

disk_space_available

Returns the maximum value for the total disk space which can be allocated and used for a virtual server and a load balancer
The unit is in GB (Gigabytes)

login

Returns login user name on GMO Cloud Hosting system
This is the ID used in logging into the cloud panel application

memory_available

Returns the maximum memory capacity which can be allocated and used for a virtual server and a load balancer
The unit is in MB (Megabytes)

updated_at

Returns the last update date and time of the terms and condition (resources etc.) in GMO Cloud Hosting
The date and time will be shown in the following format

YYYY-MM-DDThh:mm:ssZ

used_cpus

Returns the total number of virtual CPU cores allocated to virtual servers and load balancers

The unit is in units

used_cpu_shares

Returns the total number of CPU shares allocated to virtual servers and load balancers

The unit is in % (Percents)

used_disk_size

Returns the total disk space allocated to virtual servers and load balancers

The unit is in GB (Gigabytes)

used_ip_addresses

Returns the IP address and its detailed information allocated to virtual servers and load balancers
The parameter structure included in this field is the same as in section 9.1. listIPaddress
Refer to section 9.1. listIpAddresses for details of each parameters

used_memory

Returns the total number of memory capacities allocated to virtual servers and load balancers

The unit is in MB (Megabytes)

 

Request Sample

https://api.gmocloud.com/Cloud-Zone-Id/?Action=getResources&AccessKeyId=AccessKeyId&Version=1.0&Signature=Signature

Response Sample

{
"created_at": "2012-07-19T11:36:56+09:00",
"memory_available": 32768,
"used_disk_size": 36,
"updated_at": "2012-08-13T11:41:09+09:00",
"used_ip_addresses": {
"ID_of_IPaddress": {
"address": "192.168.0.220",
"disallowed_primary": false,
"netmask": "255.255.255.0",
"created_at": "2012-08-10T09:12:23+09:00",
"broadcast": "192.168.0.255",
"updated_at": "2012-08-10T09:12:23+09:00",
"network_id": ID_of_Network,
"network_address": "192.168.0.0",
"free": false,
"id": ID_of_IPaddress,
"gateway": "192.168.0.254"
},
"ID_of_IPaddress": {
"address": "192.168.0.221",
"disallowed_primary": false,
"netmask": "255.255.255.0",
"created_at": "2012-08-10T09:12:23+09:00",
"broadcast": "192.168.0.255",
"updated_at": "2012-08-10T09:12:23+09:00",
"network_id": ID_of_Network,
"network_address": "192.168.0.0",
"free": false,
"id": ID_of_IPaddress,
"gateway": "192.168.0.254"
},
"ID_of_IPaddress": {
"address": "192.168.0.241",
"disallowed_primary": false,
"netmask": "255.255.255.0",
"created_at": "2012-08-10T09:12:24+09:00",
"broadcast": "192.168.0.255",
"updated_at": "2012-08-10T09:12:24+09:00",
"network_id": ID_of_Network,
"network_address": "192.168.0.0",
"free": false,
"id": ID_of_Network,
"gateway": "192.168.0.254"
},
"ID_of_IPaddress": {
"address": "192.168.0.242",
"disallowed_primary": false,
"netmask": "255.255.255.0",
"created_at": "2012-08-10T09:12:24+09:00",
"broadcast": "192.168.0.255",
"updated_at": "2012-08-10T09:12:24+09:00",
"network_id": ID_of_Network,
"network_address": "192.168.0.0",
"free": false,
"id": ID_of_IPaddress,
"gateway": "192.168.0.254"
}
},
"used_cpu_shares": 600,
"used_cpus": 24,
"used_memory": 1152,
"disk_space_available": 360,
"login": "ID_of_LoginUser",
}

Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk