ServerCreateRequestV1Dot2

ServerCreateRequestV1Dot2

NameDescriptionSchemaDefault
file_storage_ids
optional
File Storage ID list
Example : ['96d258ea-dd5d-4cca-bb3a-b6909b7e2065', '949bd9c7-2098-4284-9685-13268d193117']
any of [array[string], null]
image_id
required
Image ID
Example : 70a599e0-31e7-49b7-b260-868f441e862b
string
keypair_name
required
Keypair name
Example : keypairname
string
lock
optional
Sets the server’s lock status. When the server is locked, most user actions are not allowed.
Example : False
any of [boolean, null]
max_count
optional
Maximum number of servers to launch.
Example : 2
any of [integer, null]1
metadata
optional
User can specify custom server metadata as a set of key-value pairs.
Example :
any of [object, null]
name
required
Server name
Example : servername
Pattern : ^[a-zA-Z0-9-_ ]*$
Minimum length : 1
Maximum length : 63
string
networks
required
List of Network
array[Network]
partition_number
optional
Sets the target partition number for server creation. only usable if server group type is partition.
Example : 1
any of [integer, null]
product_category
optional
Product category
Example : compute
any of [enum (compute, container), null]
product_offering
optional
Product offering
Example : virtual_server
any of [enum (virtual_server, gpu_server, k8s_vm, k8s_gpu_vm), null]
security_groups
optional
Security Groups
Example : ['c09c3f05-03d9-443f-b27a-40e0f973c75f']
any of [array[string], null]
server_group_id
optional
Server Group ID
Example : 616fb98f-46ca-475e-917e-2563e5a8cd19
any of [string, null]
server_type_id
required
Server type ID
Example : s1v1m2
string
tags
optional
Tags
Example : [{'key': 'key', 'value': 'value'}]
any of [array[Tag], null]
user_data
optional
Script or configuration to run when the server starts. it must be Base64-encoded string and must not exceed 65535 bytes.
Example : IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==
any of [string, null]
volumes
required
Volumes
array[VolumeV1Dot2]