Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.38 KB

File metadata and controls

36 lines (27 loc) · 1.38 KB

Instance

A virtual machine instance.

Properties

Name Type Description Notes
id str The virtual machine instance ID (auto-generated). [optional]
name str The virtual machine instance name.
description str The virtual machine instance description. [optional]
memory int The virtual machine instance memory size (in bytes).
vcpus int The virtual machine instance number of vCPUs.
adapters List[str] a list of existing network adapters to be connected to the instance. [optional]
volumes List[str] volumes list of existing storage volumes (i.e. disks) to be connected to the instance. [optional]

Example

from kowabunga.models.instance import Instance

# TODO update the JSON string below
json = "{}"
# create an instance of Instance from a JSON string
instance_instance = Instance.from_json(json)
# print the JSON string representation of the object
print(Instance.to_json())

# convert the object into a dict
instance_dict = instance_instance.to_dict()
# create an instance of Instance from a dict
instance_from_dict = Instance.from_dict(instance_dict)

[Back to Model list] [Back to API list] [Back to README]