ResourceCapacity#
- class ResourceCapacity(cpu_ghz=None, ram_gb=None, hdd_gb=None, ssd_gb=None, nvme_gb=None, *args, **kwargs)#
Bases:
object
Resource specification.
- Parameters:
- property cpu_ghz#
CPU capacity in GHz.
- Type:
float
- property hdd_gb#
HDD capacity in GB.
- Type:
float
- property nvme_gb#
NVMe capacity in GB.
- Type:
float
- property ram_gb#
RAM capacity in GB.
- Type:
float
- property ssd_gb#
SSD capacity in GB.
- Type:
float
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model