Skip to main content

Dashboard_Info_Response

statusboolean

Whether the request succeeded.

Example: true
messagestring

Human-readable description of the result.

Example: Getting dashboard info success
overview object

An object containing an overview of running resources, including; virtual machines, containers, and volumes.

instance object

Virtual machine the entry refers to.

countinteger

Number of items returned in the current page.

Example: 0
vcpusinteger

Number of CPU cores allocated.

Example: 0
gpusinteger

GPUs allocated to the resource.

Example: 0
raminteger

Memory allocated to the flavor, in GB.

Example: 0
cost_per_hournumber

Hourly cost incurred by the resource.

Example: 0
container object

An object containing details about containers in the overview.

countinteger

Number of items returned in the current page.

Example: 0
vcpusinteger

Number of CPU cores allocated.

Example: 0
gpusinteger

GPUs allocated to the resource.

Example: 0
raminteger

Memory allocated to the flavor, in GB.

Example: 0
cost_per_hournumber

Hourly cost incurred by the resource.

Example: 0
volume object

Volume attached to the resource.

countinteger

Number of items returned in the current page.

Example: 5
usinginteger

The number of volumes currently in use.

Example: 50
cost_per_hournumber

Hourly cost incurred by the resource.

Example: 0.005
Dashboard_Info_Response
{
"status": true,
"message": "Getting dashboard info success",
"overview": {
"instance": {
"count": 0,
"vcpus": 0,
"gpus": 0,
"ram": 0,
"cost_per_hour": 0
},
"container": {
"count": 0,
"vcpus": 0,
"gpus": 0,
"ram": 0,
"cost_per_hour": 0
},
"volume": {
"count": 5,
"using": 50,
"cost_per_hour": 0.005
}
}
}