1.0
1.0
scpcli virtualserver server create
--server_type_id <value>
--networks <value>
--name <value>
--keypair_name <value>
--image_id <value>
[--lock <value>]
[--max_count <value>]
[--metadata <value>]
[--partition_number <value>]
[--product_category <value>]
[--product_offering <value>]
[--security_groups <value>]
[--server_group_id <value>]
[--tags <value>]
[--user_data <value>]
[--volumes <value>]
Description
서버를 생성한다.
상태 ACTIVE (DEPRECATED)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | 20251231 |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| server_type_id required | string | 서버 타입 ID | s1v1m2 |
| networks required | array | 네트워크 목록 | '{"fixed_ip": "192.169.3.2", "port_id": "91424c08-0b26-49fb-9808-ed042292ceef", "public_ip_id": "615fa9cd5cff486c9de679b3ce63e601", "subnet_id": "78b2ee3f074145c580ab6abac4821f97"}' |
| name required | string | 서버 이름 | servername |
| keypair_name required | string | 키페어 이름 | keypairname |
| image_id required | string | 이미지 ID | 70a599e0-31e7-49b7-b260-868f441e862b |
| lock optional | boolean | 잠김 여부 | False |
| max_count optional | integer | 최대 생성 개수 | 2 |
| metadata optional | object | 메타 데이터 | - |
| partition_number optional | integer | 파티션 넘버 | 1 |
| product_category optional | **** | 상품군 | compute |
| product_offering optional | **** | 상품 | virtual_server |
| security_groups optional | array | Security Group 목록 | [ |
| server_group_id optional | string | 서버 그룹 ID | 616fb98f-46ca-475e-917e-2563e5a8cd19 |
| tags optional | array | Tags | '{"key": "Key", "value": "Value"}' |
| user_data optional | string | 사용자 데이터 | IyEvYmluL2Jhc2gKL2Jpbi9zdQplY2hvICJJIGFtIGluIHlvdSEiCg== |
| volumes optional | array | 볼륨 | '{"boot_index": 0, "delete_on_termination": false, "size": 104, "source_type": "image", "type": "SSD"}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | 서버 ID | 2a9be312-5d4b-4bc8-b2ae-35100fa9241f |