Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) gpu_baremetal_flavor_list = client.cloud.gpu_baremetal_clusters.flavors.list( project_id=1, region_id=7, ) print(gpu_baremetal_flavor_list.count)
{ "count": 1, "results": [ { "architecture": "x86_64", "capacity": 1, "disabled": false, "hardware_description": { "cpu": "1x Intel Xeon 4C/8T 3.7 GHz", "disk": "2x 250GiB SSD", "gpu": "1x NVIDIA 11GB", "network": "1x 500Mbps", "ram": "32 GiB" }, "hardware_properties": { "gpu_count": 123, "gpu_manufacturer": "<string>", "gpu_model": "<string>", "nic_eth": "2x100;2x25", "nic_ib": "8x400" }, "name": "g1-gpu-1-2-1", "supported_features": { "security_groups": true } } ] }
x >= 0
Show child attributes
Was this page helpful?