MasterFlavorsResponse
statusboolean
Whether the request succeeded.
Example:
truemessagestring
Human-readable description of the result.
Example:
Flavors retrieved successfullyflavors object[]
An array of CPU-only flavor objects available for use as master nodes.
Array [
idinteger
Unique numeric identifier.
Example:
4501namestring
Resource name.
Example:
n1-cpu-smallcpuinteger
Number of CPU cores.
Example:
4ramnumber
Memory allocated to the flavor, in GB.
Example:
4diskinteger
Root disk capacity, in GB.
Example:
100ephemeralinteger
Ephemeral disk capacity, in GB. Cleared when the VM is deleted.
Example:
0gpustring
GPU model name. Empty string if the flavor has no GPU.
Example:
gpu_countinteger
Number of GPUs attached to the flavor.
Example:
0features object
Optional feature flags applicable to the resource.
object
labels object[]
Optional user-supplied tags for grouping or filtering.
Array [
idinteger
Unique numeric identifier for the label.
labelstring
The label name.
]
]
MasterFlavorsResponse
{
"status": true,
"message": "Flavors retrieved successfully",
"flavors": [
{
"id": 4501,
"name": "n1-cpu-small",
"cpu": 4,
"ram": 4,
"disk": 100,
"ephemeral": 0,
"gpu": "",
"gpu_count": 0,
"features": {},
"labels": [
{
"id": 0,
"label": "string"
}
]
}
]
}
Was this page helpful?