1.3

1.3

scp-cli virtualserver launch configuration create
--server_type_id <value>
--name <value>
--keypair_name <value>
--image_id <value>
[--tags <value>]
[--user_data <value>]
[--volumes <value>]

Description

Create Launch Configuration.

State ACTIVE (CURRENT)

VersionNot Before
1.3-

Parameters

NameTypeDescriptionExample
server_type_id
required
stringServer type IDs1v1m2
name
required
stringLaunch Configuration namelaunch-configuration-name
keypair_name
required
stringKeypair namekeypairname
image_id
required
stringImage ID70a599e0-31e7-49b7-b260-868f441e862b
tags
optional
arrayTags'{"key": "Key", "value": "Value"}'
user_data
optional
stringA script that runs at the start of a server on Auto-Scaling Group that will use Launch Configuration.It must be Base64-encoded string and must not exceed 45,000 bytes.IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==
volumes
optional
arrayVolumes'{"boot_index": 0, "size": 104, "type": "SSD"}'

Responses

NameDescriptionExample
idID0fdd87aab8cb46f59b7c1f81ed03fb3e
account_idAccount IDa8f10467abfc4b87b64614ab36eb9ae4
auto_scaling_group_countNumber of Auto-Scaling Group attached to Launch Configuration1
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
file_storage_idsFile Storage ID list
image_idImage ID70a599e0-31e7-49b7-b260-868f441e862b
image_nameImage nameimagename
keypair_nameKeypair namekeypairname
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
nameLaunch Configuration namelaunch-configuration-name
public_keyPublic Keyssh-rsa fakeKey Generated-by-SCP
server_type_idServer type IDs1v1m2
stateLaunch Configuration stateACTIVE
user_dataA script that runs at the start of a server on Auto-Scaling Group that will use Launch Configuration.It must be Base64-encoded string and must not exceed 45,000 bytes.IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg==
volumesVolumes[]