curl --request GET \
--url https://api.gcore.com/cloud/v1/ai/regions \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"access_level": "core",
"ai_service_endpoint": {
"client_ids": [
1,
22,
333
],
"created_on": "2021-11-09T12:05:50Z",
"id": 1,
"region_id": 2,
"service": "laas",
"updated_at": "2022-12-10T13:06:41Z",
"url": "https://example.com",
"version": "v1.2.3"
},
"ai_service_endpoint_id": 6,
"available_volume_types": [
"standard",
"ssd_hiiops",
"cold"
],
"available_volume_types_set": [
"standard",
"ssd_hiiops",
"cold"
],
"country": "LU",
"created_on": "2019-12-31T23:59:59Z",
"ddos_endpoint": {
"client_ids": [
1,
22,
333
],
"created_on": "2021-11-09T12:05:50Z",
"id": 1,
"region_id": 2,
"service": "laas",
"updated_at": "2022-12-10T13:06:41Z",
"url": "https://example.com",
"version": "v1.2.3"
},
"ddos_endpoint_id": 3,
"display_name": "Luxembourg 1",
"endpoint_type": "public",
"external_network_id": "c843c3e6-ef4d-4b92-8db2-e16ac05c5650",
"has_ai": true,
"has_ai_gpu": true,
"has_baremetal": false,
"has_basic_vm": false,
"has_k8s": true,
"has_kvm": true,
"has_sfs": false,
"id": 1,
"keystone": {
"created_on": "2023-11-07T05:31:56Z",
"id": 1,
"keystone_federated_domain_id": "2b2798cc-eb87-475e-8eab-1e711e5dbe46",
"password": "******",
"state": "NEW",
"url": "https://10.100.167.20:5000/v3",
"username": "admin"
},
"keystone_id": 1,
"keystone_name": "ED-8",
"metrics_database": {
"host": "10.100.167.20",
"id": 1,
"port": 9097,
"username": "metrics_username"
},
"metrics_database_id": 1,
"novnc_proxy_url": "http://example.com:6080/",
"serial_proxy_url": "wss://example.com:6083/",
"spice_proxy_url": "http://example.com:6082/",
"state": "NEW",
"task_id": null,
"vlan_physical_network": "br-ex",
"zone": "EMEA"
}
]
}
Retrieve a list of regions that support GPU clusters. For resellers, returns all AI regions. For regular clients, returns only active AI regions.
curl --request GET \
--url https://api.gcore.com/cloud/v1/ai/regions \
--header 'Authorization: <api-key>'
{
"count": 1,
"results": [
{
"access_level": "core",
"ai_service_endpoint": {
"client_ids": [
1,
22,
333
],
"created_on": "2021-11-09T12:05:50Z",
"id": 1,
"region_id": 2,
"service": "laas",
"updated_at": "2022-12-10T13:06:41Z",
"url": "https://example.com",
"version": "v1.2.3"
},
"ai_service_endpoint_id": 6,
"available_volume_types": [
"standard",
"ssd_hiiops",
"cold"
],
"available_volume_types_set": [
"standard",
"ssd_hiiops",
"cold"
],
"country": "LU",
"created_on": "2019-12-31T23:59:59Z",
"ddos_endpoint": {
"client_ids": [
1,
22,
333
],
"created_on": "2021-11-09T12:05:50Z",
"id": 1,
"region_id": 2,
"service": "laas",
"updated_at": "2022-12-10T13:06:41Z",
"url": "https://example.com",
"version": "v1.2.3"
},
"ddos_endpoint_id": 3,
"display_name": "Luxembourg 1",
"endpoint_type": "public",
"external_network_id": "c843c3e6-ef4d-4b92-8db2-e16ac05c5650",
"has_ai": true,
"has_ai_gpu": true,
"has_baremetal": false,
"has_basic_vm": false,
"has_k8s": true,
"has_kvm": true,
"has_sfs": false,
"id": 1,
"keystone": {
"created_on": "2023-11-07T05:31:56Z",
"id": 1,
"keystone_federated_domain_id": "2b2798cc-eb87-475e-8eab-1e711e5dbe46",
"password": "******",
"state": "NEW",
"url": "https://10.100.167.20:5000/v3",
"username": "admin"
},
"keystone_id": 1,
"keystone_name": "ED-8",
"metrics_database": {
"host": "10.100.167.20",
"id": 1,
"port": 9097,
"username": "metrics_username"
},
"metrics_database_id": 1,
"novnc_proxy_url": "http://example.com:6080/",
"serial_proxy_url": "wss://example.com:6083/",
"spice_proxy_url": "http://example.com:6082/",
"state": "NEW",
"task_id": null,
"vlan_physical_network": "br-ex",
"zone": "EMEA"
}
]
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
All Regions (json format).
The response is of type object
.
Was this page helpful?