Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 3.01 KB

InstanceResponse.md

File metadata and controls

57 lines (48 loc) · 3.01 KB

InstanceResponse

Properties

Name Type Description Notes
tenant_id str Your customer tenant id
customer_id str Customer ID
additional_ips List[AdditionalIp]
name str Instance Name
display_name str Instance display name
instance_id int Instance ID
data_center str The data center where your Private Network is located
region str Instance region where the compute instance should be located.
region_name str The name of the region where the instance is located.
product_id str Product ID
image_id str Image's id
ip_config IpConfig
mac_address str MAC Address
ram_mb float Image RAM size in MB
cpu_cores int CPU core count
os_type str Type of operating system (OS)
disk_mb float Image Disk size in MB
ssh_keys List[int] Array of `secretId`s of public SSH keys for logging into as `defaultUser` with administrator/root privileges. Applies to Linux/BSD systems. Please refer to Secrets Management API.
created_date datetime The creation date for the instance
cancel_date date The date on which the instance will be cancelled
status InstanceStatus
v_host_id int ID of host system
v_host_number int Number of host system
v_host_name str Name of host system
add_ons List[AddOnResponse]
error_message str Message in case of an error. [optional]
product_type str Instance's category depending on Product Id
product_name str Instance's Product Name
default_user str Default user name created for login during (re-)installation with administrative privileges. Allowed values for Linux/BSD are `admin` (use sudo to apply administrative privileges like root) or `root`. Allowed values for Windows are `admin` (has administrative privileges like administrator) or `administrator`. [optional]

Example

from pfruck_contabo.models.instance_response import InstanceResponse

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

# convert the object into a dict
instance_response_dict = instance_response_instance.to_dict()
# create an instance of InstanceResponse from a dict
instance_response_from_dict = InstanceResponse.from_dict(instance_response_dict)

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