Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.58 KB

File metadata and controls

37 lines (28 loc) · 1.58 KB

Kompute

A Kompute is a wrapper object for bare virtual machines. It consists of an instance, one to several attached volumes and 2 network adapters (a private one, a public one). This is the prefered way for creating virtual machines. IP addresses will be automatically assigned.

Properties

Name Type Description Notes
id str The Kompute ID (auto-generated). [optional]
name str The Kompute name.
description str The Kompute description. [optional]
memory int The Kompute memory size (in bytes).
vcpus int The Kompute number of vCPUs.
disk int The Kompute OS disk size (in bytes).
data_disk int The Kompute extra data disk size (in bytes). If unspecified, no extra data disk will be assigned. [optional] [default to 0]
ip str The Kompute assigned private IPv4 address (read-only). [optional]

Example

from kowabunga.models.kompute import Kompute

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

# convert the object into a dict
kompute_dict = kompute_instance.to_dict()
# create an instance of Kompute from a dict
kompute_from_dict = Kompute.from_dict(kompute_dict)

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