Skip to main content
GET
/
cloud
/
v1
/
regions
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
page = client.cloud.regions.list()
page = page.results[0]
print(page.id)
{
  "count": 1,
  "results": [
    {
      "access_level": "core",
      "available_volume_types": [
        "standard",
        "ssd_hiiops",
        "cold"
      ],
      "coordinates": {
        "latitude": 41.40338,
        "longitude": 2.17403
      },
      "country": "LU",
      "created_at": "2019-12-31T23:59:59Z",
      "created_on": "2019-12-31T23:59:59Z",
      "ddos_endpoint_id": 3,
      "display_name": "Luxembourg",
      "endpoint_type": "public",
      "external_network_id": "c843c3e6-ef4d-4b92-8db2-e16ac05c5650",
      "file_share_types": [
        "standard",
        "vast"
      ],
      "has_ai": true,
      "has_ai_gpu": true,
      "has_baremetal": false,
      "has_basic_vm": false,
      "has_dbaas": false,
      "has_ddos": true,
      "has_k8s": true,
      "has_kvm": true,
      "has_sfs": false,
      "id": 1,
      "keystone_id": 1,
      "keystone_name": "ED-9",
      "metrics_database_id": 1,
      "state": "NEW",
      "task_id": null,
      "vlan_physical_network": "br-ex",
      "zone": "EMEA"
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

limit
integer
default:100
Required range: 0 < x <= 1000
Examples:
offset
integer
default:0
Required range: x >= 0
Examples:
order_by
enum<string>
Available options:
created_at.asc,
created_at.desc,
display_name.asc,
display_name.desc
product
enum<string>
Available options:
containers,
inference
show_volume_types
boolean
default:false
Examples:

Response

200 - application/json
count
integer
required
Required range: x >= 0
Examples:
results
Region object · object[]
required