Skip to main content

MasterFlavorsResponse

statusboolean

Whether the request succeeded.

Example: true
messagestring

Human-readable description of the result.

Example: Flavors retrieved successfully
flavors object[]

An array of CPU-only flavor objects available for use as master nodes.

  • Array [
  • idinteger

    Unique numeric identifier.

    Example: 4501
    namestring

    Resource name.

    Example: n1-cpu-small
    cpuinteger

    Number of CPU cores.

    Example: 4
    ramnumber

    Memory allocated to the flavor, in GB.

    Example: 4
    diskinteger

    Root disk capacity, in GB.

    Example: 100
    ephemeralinteger

    Ephemeral disk capacity, in GB. Cleared when the VM is deleted.

    Example: 0
    gpustring

    GPU model name. Empty string if the flavor has no GPU.

    Example:
    gpu_countinteger

    Number of GPUs attached to the flavor.

    Example: 0
    features 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"
    }
    ]
    }
    ]
    }