Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 2.12 KB

VPSV1VirtualMachineRecreateRequest.md

File metadata and controls

33 lines (24 loc) · 2.12 KB

VPSV1VirtualMachineRecreateRequest

Properties

Name Type Description Notes
template_id int Template ID
password str Root password for the virtual machine. If not provided, random password will be generated. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of -().&@?'#;/,+ (no other symbols). Known compromised passwords are rejected. [optional]
panel_password str Panel password for the panel-based OS template. If not provided, random password will be generated. If OS does not support panel_password this field will be ignored. Password will not be shown in the response. 12 to 50 characters with an uppercase letter, a lowercase letter, a number and at least one of #%+:?@ (no other symbols). Known compromised passwords are rejected. [optional]
post_install_script_id int Post-install script to execute after virtual machine was recreated [optional]
ssh_keys List[str] SSH public keys to add to the recreated virtual machine [optional]

Example

from hostinger_api.models.vpsv1_virtual_machine_recreate_request import VPSV1VirtualMachineRecreateRequest

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

# convert the object into a dict
vpsv1_virtual_machine_recreate_request_dict = vpsv1_virtual_machine_recreate_request_instance.to_dict()
# create an instance of VPSV1VirtualMachineRecreateRequest from a dict
vpsv1_virtual_machine_recreate_request_from_dict = VPSV1VirtualMachineRecreateRequest.from_dict(vpsv1_virtual_machine_recreate_request_dict)

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