이 섹션의 다중 페이지 출력 화면임. 여기를 클릭하여 프린트.
CLIs
- 1: Change Request Planned Compute
- 1.1: 1.0
- 2: Create Request Planned Computes
- 2.1: 1.0
- 3: Get Planned Compute
- 3.1: 1.0
- 4: GetCancellationFee
- 4.1: 1.0
- 5: List Contract Type
- 5.1: 1.0
- 6: List OS System
- 6.1: 1.0
- 7: List Planned Compute Covered Resource
- 7.1: 1.0
- 8: ListServerType
- 8.1: 1.0
- 9: ListServiceType
- 9.1: 1.0
1 - Change Request Planned Compute
1.1 - 1.0
scpcli billingplan set planned compute
--planned_compute_id <value>
[--action <value>]
[--contract_type <value>]
[--server_type <value>]
Description
Change action request planned compute.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| planned_compute_id required | string | Planned Compute Id | 5f3688a192094ddeb0c94166a3e88935 |
| action optional | string | Planned Compute change request action type | EXTEND_CHANGE |
| contract_type optional | **** | Contract type is required in the case of EXTEND_APPLY or EXTEND_CHANGE | 01 |
| server_type optional | string | Server Type is required in the case of SERVER_TYPE_CHANGE | s1v1m2 |
2 - Create Request Planned Computes
2.1 - 1.0
scpcli billingplan create planned computes
--contract_type <value>
--os_type <value>
--server_type <value>
--service_id <value>
[--service_name <value>]
[--tag <value>]
Description
Create request planned compute.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| contract_type required | string | Contract Type | 01 |
| os_type required | string | OS Type | OPEN_SOURCE |
| server_type required | string | Server Type | s1v1m2 |
| service_id required | string | Service Id | VIRTUAL_SERVER |
| service_name optional | string | Service Name | Virtual Server |
| tag optional | array | Tag Form | '{"key": "key1", "value": "value1"}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | Planned Compute Id | 5f3688a192094ddeb0c94166a3e88935 |
| start_date | Start date (YYYY-MM-dd) | 2024-08-01 |
| end_date | End date (YYYY-MM-dd) | 2024-08-01 |
| contract_id | Contract Id | C002612775 |
| account_id | Account Id | 228cb9e4a7934f84853594c7f26f7a21 |
| region | Region | kr-west1 |
| service_id | Service Id | VIRTUAL_SERVER |
| service_name | Service Name | Virtual Server |
| os_type | OS Type | OPEN_SOURCE |
| os_name | OS Name | Open Source |
| server_type | Server Type | s1v1m2 |
| server_type_description | Server Type Description | |
| srn | SRN | srn:e::26affb52e16944038a0cd2cc26060e1c:kr1-west1::compute:instance/INSTANCE-UPOg3Z6ZqyiMM0QyC3sI2m |
| resource_type | Resource Type | instance |
| contract_type | Contract Type | 1-year |
| next_contract_type | Next Contract Type | 1-year |
| first_contract_start_at | Start date (YYYY-MM-dd) | 2024-08-01 |
| next_start_date | Next Start date (YYYY-MM-dd) | 2024-08-01 |
| next_end_date | Next End date (YYYY-MM-dd) | 2024-08-31 |
| state | Planned Compute State | ACTIVE |
| delete_yn | Delete or not | N |
| resource_name | Resource Name | test-vm |
| created_at | Created date | 2024-08-01 00:00:00 |
| created_by | Created by | user123 |
| modified_at | Modified date | 2024-08-01 00:00:00 |
| modified_by | Modified by | kim |
3 - Get Planned Compute
3.1 - 1.0
scpcli billingplan get planned computes
--planned_compute_id <value>
Description
Get planned compute.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| planned_compute_id required | string | Planned Compute Id | 5f3688a192094ddeb0c94166a3e88935 |
Responses
| Name | Description | Example |
|---|---|---|
| id | Planned Compute Id | 5f3688a192094ddeb0c94166a3e88935 |
| start_date | Start date (YYYY-MM-dd) | 2024-08-01 |
| end_date | End date (YYYY-MM-dd) | 2024-08-01 |
| contract_id | Contract Id | C002612775 |
| account_id | Account Id | 228cb9e4a7934f84853594c7f26f7a21 |
| region | Region | kr-west1 |
| service_id | Service Id | VIRTUAL_SERVER |
| service_name | Service Name | Virtual Server |
| os_type | OS Type | OPEN_SOURCE |
| os_name | OS Name | Open Source |
| server_type | Server Type | s1v1m2 |
| server_type_description | Server Type Description | |
| srn | SRN | srn:e::26affb52e16944038a0cd2cc26060e1c:kr1-west1::compute:instance/INSTANCE-UPOg3Z6ZqyiMM0QyC3sI2m |
| resource_type | Resource Type | instance |
| contract_type | Contract Type | 1-year |
| next_contract_type | Next Contract Type | 1-year |
| first_contract_start_at | Start date (YYYY-MM-dd) | 2024-08-01 |
| next_start_date | Next Start date (YYYY-MM-dd) | 2024-08-01 |
| next_end_date | Next End date (YYYY-MM-dd) | 2024-08-31 |
| state | Planned Compute State | ACTIVE |
| delete_yn | Delete or not | N |
| resource_name | Resource Name | test-vm |
| created_at | Created date | 2024-08-01 00:00:00 |
| created_by | Created by | user123 |
| modified_at | Modified date | 2024-08-01 00:00:00 |
| modified_by | Modified by | kim |
4 - GetCancellationFee
4.1 - 1.0
scpcli billingplan get cancellation fee
--planned_compute_id <value>
[--region <value>]
Description
Get Cancellation Fee
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| planned_compute_id required | array | Planned Compute Id | 5 |
| region optional | string | Region | kr-west1 |
Responses
| Name | Description | Example |
|---|---|---|
| code | Currency code | KRW |
| symbol | Currency Symbol | ₩ |
5 - List Contract Type
5.1 - 1.0
scpcli billingplan list planned compute contract types
[--service_id <value>]
[--server_type <value>]
Description
Get Contract Type List.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| service_id optional | string | Service Id | VIRTUAL_SERVER |
| server_type optional | string | Server Type | s1v1m2 |
Responses
| Name | Description | Example |
|---|---|---|
| code | Contract Code | 01 |
| display_name | Display Name | 1-year |
6 - List OS System
6.1 - 1.0
scpcli billingplan list os types
[--service_id <value>]
Description
Get Os System List.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| service_id optional | string | Service Id | VIRTUAL_SERVER |
Responses
| Name | Description | Example |
|---|---|---|
| os_type_id | OS Type id | OPEN_SOURCE |
| display_name | Display Name | Open Source |
| os_type_value | Display Name | opensource |
7 - List Planned Compute Covered Resource
7.1 - 1.0
scpcli billingplan list planned compute instances
--end_date <value>
--start_date <value>
--server_type <value>
--os_type <value>
--service_id <value>
Description
Get Planned Compute Covered Resource List.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| end_date required | string | End date (YYYY-MM-dd) | 2024-08-01 |
| start_date required | string | Start date (YYYY-MM-dd) | 2024-08-01 |
| server_type required | string | Server Type | s1v1m2 |
| os_type required | string | OS Type | OPEN_SOURCE |
| service_id required | string | Service Id | VIRTUAL_SERVER |
Responses
| Name | Description | Example |
|---|---|---|
| resource_name | Resource Name | test-vm |
| contract_id | Contract Id | C002612775 |
| used_time | Used time Hour | 10 |
| unit_price | Unit Price | |
| used_amount | Used amount | |
| non_applied_amount | Non Applied Amount | |
| request_at | Request At | 2024-08-01 00:00:00 |
8 - ListServerType
8.1 - 1.0
scpcli billingplan list planned compute server types
[--service_id <value>]
[--current_server_type <value>]
[--os_type <value>]
Description
Get Server Type List
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| service_id optional | string | Service Id | VIRTUAL_SERVER |
| current_server_type optional | string | Server Type | s1v1m2 |
| os_type optional | string | OS Type | OPEN_SOURCE |
Responses
| Name | Description | Example |
|---|---|---|
| server_type | Server Type | s1v1m2 |
| server_type_description | Server Type Description | |
| instance_type | Instance Type | s1 |
| core | Instance Core | 1 |
| memory_gb | Instance Memory GB | 2 |
| gpu_name | Gpu Model Name | a100 |
| scale_up_yn | Scale up or not. If server_type > current_server_type, it’s represented as Y. if smaller N. | Y |