Authorizations
Query Parameters
Required range:
0 < x <= 1000Examples:
Required range:
x >= 0Examples:
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
page = client.cloud.gpu_baremetal_clusters.list(
project_id=1,
region_id=7,
)
page = page.results[0]
print(page.id){
"count": 1,
"results": [
{
"created_at": "2024-12-31T23:59:59Z",
"flavor": "g3-ai-32-192-1500-l40s-48-1",
"id": "1aaaab48-10d0-46d9-80cc-85209284ceb4",
"managed_by": "user",
"name": "my virtual gpu cluster",
"servers_count": 2,
"servers_ids": [
"b4522653-fbcd-44a0-a949-541570a52281",
"e56192de-ed28-452a-b775-eeeacc795e3b"
],
"servers_settings": {
"file_shares": [
{
"id": "a3f2d1b8-45e6-4f8a-bb5d-19dbf2cd7e9a",
"mount_path": "/mnt/vast"
}
],
"interfaces": [
{
"ip_family": "ipv4",
"name": "eth0",
"type": "<string>"
}
],
"security_groups": [
{
"id": "ae74714c-c380-48b4-87f8-758d656cdad6",
"name": "default"
}
],
"ssh_key_name": "my-ssh-key",
"user_data": "eyJ0ZXN0IjogImRhdGEifQ=="
},
"status": "active",
"tags": [
{
"key": "my-tag",
"read_only": false,
"value": "my-tag-value"
}
],
"updated_at": "2025-01-11T23:59:59Z"
}
]
}List all bare metal GPU clusters in the specified project and region.
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
page = client.cloud.gpu_baremetal_clusters.list(
project_id=1,
region_id=7,
)
page = page.results[0]
print(page.id){
"count": 1,
"results": [
{
"created_at": "2024-12-31T23:59:59Z",
"flavor": "g3-ai-32-192-1500-l40s-48-1",
"id": "1aaaab48-10d0-46d9-80cc-85209284ceb4",
"managed_by": "user",
"name": "my virtual gpu cluster",
"servers_count": 2,
"servers_ids": [
"b4522653-fbcd-44a0-a949-541570a52281",
"e56192de-ed28-452a-b775-eeeacc795e3b"
],
"servers_settings": {
"file_shares": [
{
"id": "a3f2d1b8-45e6-4f8a-bb5d-19dbf2cd7e9a",
"mount_path": "/mnt/vast"
}
],
"interfaces": [
{
"ip_family": "ipv4",
"name": "eth0",
"type": "<string>"
}
],
"security_groups": [
{
"id": "ae74714c-c380-48b4-87f8-758d656cdad6",
"name": "default"
}
],
"ssh_key_name": "my-ssh-key",
"user_data": "eyJ0ZXN0IjogImRhdGEifQ=="
},
"status": "active",
"tags": [
{
"key": "my-tag",
"read_only": false,
"value": "my-tag-value"
}
],
"updated_at": "2025-01-11T23:59:59Z"
}
]
}0 < x <= 1000Show child attributes
x >= 0Was this page helpful?