Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) gpu_virtual_flavor_list = client.cloud.gpu_virtual_clusters.flavors.list( project_id=1, region_id=7, ) print(gpu_virtual_flavor_list.count)
{ "count": 1, "results": [ { "architecture": "x86_64", "capacity": 1, "disabled": false, "hardware_description": { "gpu": "1x NVIDIA 11GB", "local_storage": 3000, "ram": 2048, "vcpus": 1 }, "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?