[Resources] getLimits

getLimits

Summary of the Process by the Function

Gets resources and the maximum resources which can be allocated and used on virtual servers and load balancers

Request Parameters

There are no parameters to specify when executing this function.

Response Objects

Response will be in the following format.

FieldDescription
cpus

Returns the maximum value for the virtual CPU cores

The unit is in unit

cpu_shares

Returns the maximum value for CPU share

The unit is in % (Percents)

data_store_groups

Returns data store group label and ID

hypervisors

Returns hypervisor group label, type, and ID

hypervisor_groups

Returns hypervisor group label and ID

memory

Returns the maximum value for memory

The unit is in MB (Megabytes)

network_groups

Returns network group label and ID

primary_disk_size

Returns the available disk size as compared to the maximum allocatable disk space

The unit is in GB (Gigabytes)

rate

Returns the maximum value for port speed

The unit is in Mbps

swap_disk_size

Returns the available disk size as compared to the maximum allocatable disk space to a swap disk

The unit is in GB (Gigabytes)


Request Sample

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

Response Sample

{
"cpus": 24,
"cpu_shares": 2400,
"memory": 31616,
"swap_disk_size": 24,
"rate": 512,
"data_store_groups": {
"ID_of_DataStore": {
"label": "LABEL-of-DataStore",
"id": ID_of_DataStore
}
},
"network_groups": {
"ID_of_NetworkGroup": {
"label": "Public Network Zone",
"id": ID_of_NetworkGroup
},
"ID_of_NetworkGroup ": {
"label": "Local Network Zone",
"id": ID_of_NetworkGroup
}
},
"primary_disk_size": 24,
"hypervisor_groups": {
"ID_of_HypervisorGroup": {
"label": "High speed zone(KVM)",
"id": ID_of_HypervisorGroup
},
"ID_of_HypervisorGroup ": {
"label": "Multi-function zone(Xen)",
"id": ID_of_HypervisorGroup
}
},
"hypervisors": {
"ID_of_Hypervisor": {
"label": "LABEL-of-Hypervisor",
"hypervisor_type": "Types_of_Hypervisor",
"id": ID_of_Hypervisor
},
}
}

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