1.1
1.1
scp-cli cachestore cluster create
--database_user_password <value>
--timezone <value>
--subnet_id <value>
--service_watch_log_collection <value>
--name <value>
--instance_name_prefix <value>
--instance_groups <value>
--dbaas_engine_version_id <value>
[--allowable_ip_addresses <value>]
[--ha_enabled <value>]
[--nat_enabled <value>]
[--replica_count <value>]
[--tags <value>]
[--database_port <value>]
[--sentinel_port <value>]
[--retention_period_day <value>]
[--starting_time_hour <value>]
[--period_hour <value>]
[--starting_day_of_week <value>]
[--starting_time <value>]
Description
Create Cluster.
State ACTIVE (CURRENT)
| Version | Not Before |
|---|---|
| 1.1 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| database_user_password required | string | Database user password | test123! |
| timezone required | string | Timezone. The timezone can be obtained via the “GET /support/v1/timezones” endpoint. | Asia/Seoul |
| subnet_id required | string | Subnet ID. The ID can be obtained via the GET /vpc/v1/subnets endpoint. | 1ddd7f1e4a8a43ed8b82d70cade0b321 |
| service_watch_log_collection required | boolean | ServiceWatch log collection | True |
| name required | string | Cluster name | mycluster |
| instance_name_prefix required | string | Instance name prefix | myprefix |
| instance_groups required | array | Instance groups list | '{"block_storage_groups": [{"role_type": "OS", "size_gb": 104, "volume_type": "SSD"}, {"role_type": "DATA", "size_gb": 56, "volume_type": "SSD"}], "instances": [{"public_ip_id": "", "role_type": "MASTER", "service_ip_address": "192.168.10.10/32"}], "role_type": "MASTER", "server_type_name": "redis1v2m4"}' |
| dbaas_engine_version_id required | string | DBaaS engine version ID. The ID can be obtained via the “GET /v1/engine-versions” endpoint. | c1b856dd12754c0ba2614a39d0ed3ad1 |
| allowable_ip_addresses optional | array | Allowed IP addresses list | - |
| ha_enabled optional | boolean | HA availability | - |
| nat_enabled optional | boolean | NAT availability | - |
| replica_count optional | integer | Replica count | - |
| tags optional | array | tag | '{"key": "", "value": ""}' |
| database_port optional | integer | Database service port | - |
| sentinel_port optional | integer | Sentinel port | - |
| retention_period_day optional | string | Backup retention period (day) | 7 |
| starting_time_hour optional | string | Backup starting time (hour) | 2 |
| period_hour optional | string | Period in hours | 5 |
| starting_day_of_week optional | string | Starting day of week | MON |
| starting_time optional | string | Starting time | 0000 |
Responses
| Name | Description | Example |
|---|---|---|
| request_id | Request ID | req-4f668846-8a3d-49f1-8111-451ebccf445c |
| resource | Resource |