SimulatedVmResourceSpec#

class SimulatedVmResourceSpec(vcpu_count=None, ram_gb=None, hdd_gb=None, ssd_gb=None, *args, **kwargs)#

Bases: object

Simulated resource specification for a VM workload.

Parameters:
  • vcpu_count (required) – (vcpu_count) Number of vCPUs.

  • ram_gb (required) – (ram_gb) RAM capacity in GB.

  • hdd_gb (required) – (hdd_gb) HDD capacity in GB.

  • ssd_gb – (ssd_gb) SSD capacity in GB.

property hdd_gb#

HDD 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

property vcpu_count#

Number of vCPUs.

Type:

int