REST - Regions

Listing regions

Request

GET /v2/regions

Returns an array containing the list of available regions and availability zones for e24cloud.

Response

{
  "success":true,
  "regions":[
    {
      "name":"$region_name",
      "zone_id": "$region_zone_id",
      "zones":[
        {
          "id":"$zone_id",
          "label":"$zone_label",
          "name":"$zone_name",
          "available": $zone_available,
          "cpu_models": [ $cpu_models ]
        }, { ... }
      ]
    }, { ... }
  }

Returned information

  • $region_name (string) - name of the region to which the availability zones belong
  • $region_zone_id (string) - UUID of the region
  • $zone_id (string) - UUID of the compute zone
  • $zone_label (string) - extended (descriptive) name of the availability zone
  • $zone_name (string) - abbreviated zone name
  • $zone_available (bool) - true if the zone is available, false if it is not
  • $cpu_models (array) - returns the list of available CPU architectures in the given availability zone. These will be values from the following list: DEFAULT, SANDYBRIDGE_IBRS, SKYLAKE_IBRS_NOTSX, IVYBRIDGE_IBRS, QEMU64, KVM64