Name |
Type |
Description |
Notes |
image_id |
str |
ImageId to be used to setup the compute instance. Default is Ubuntu 22.04 |
[optional] [default to 'afecbb85-e2fc-46f0-9684-b46b1faf00bb'] |
product_id |
str |
Default is V45 |
[optional] [default to 'V45'] |
region |
str |
Instance Region where the compute instance should be located. Default is EU |
[optional] [default to 'EU'] |
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. |
[optional] |
root_password |
int |
`secretId` of the password for the `defaultUser` with administrator/root privileges. For Linux/BSD please use SSH, for Windows RDP. Please refer to Secrets Management API. |
[optional] |
user_data |
str |
Cloud-Init Config in order to customize during start of compute instance. |
[optional] |
license |
str |
Additional licence in order to enhance your chosen product, mainly needed for software licenses on your product (not needed for windows). |
[optional] |
period |
int |
Initial contract period in months. Available periods are: 1, 3, 6 and 12 months. Default to 1 month |
[default to 1] |
display_name |
str |
The display name of the instance |
[optional] |
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] [default to 'admin'] |
add_ons |
CreateInstanceAddons |
Set attributes in the addons object for the corresponding ones that need to be added to the instance |
[optional] |
application_id |
str |
Application ID |
[optional] |
from pfruck_contabo.models.create_instance_request import CreateInstanceRequest
# TODO update the JSON string below
json = "{}"
# create an instance of CreateInstanceRequest from a JSON string
create_instance_request_instance = CreateInstanceRequest.from_json(json)
# print the JSON string representation of the object
print(CreateInstanceRequest.to_json())
# convert the object into a dict
create_instance_request_dict = create_instance_request_instance.to_dict()
# create an instance of CreateInstanceRequest from a dict
create_instance_request_from_dict = CreateInstanceRequest.from_dict(create_instance_request_dict)
[Back to Model list] [Back to API list] [Back to README]