Overview
SCP에서 제공하는 IaaS/PaaS 상품을 프로그램적으로 이용할 수 있도록 지원하는 명령 줄 인터페이스(Command-line interface, CLI)를 제공합니다.
본 가이드는 Direct Connect 서비스에 대한 간략한 설명 및 CLI를 호출하는 방법을 제공합니다.
Version
| Version | Status | Supported Until |
|---|---|---|
| 1.0 | CURRENT | - |
이 섹션의 다중 페이지 출력 화면임. 여기를 클릭하여 프린트.
scpcli direct-connect direct-connect create
--vpc_id <value>
--name <value>
--bandwidth <value>
[--description <value>]
[--firewall_enabled <value>]
[--firewall_loggable <value>]
[--tags <value>]
Direct Connect를 생성한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| vpc_id required | string | VPC ID | - |
| name required | string | Direct Connect명 | - |
| bandwidth required | integer | 포트용량 | - |
| description optional | string | Direct Connect 설명 | - |
| firewall_enabled optional | boolean | Firewall 사용 | - |
| firewall_loggable optional | boolean | 방화벽 로깅 가능 | - |
| tags optional | array | 태그 목록 | '{"key": "", "value": ""}' |
| Name | Description | Example |
|---|---|---|
| id | Direct Connect ID | |
| account_id | Account ID | |
| bandwidth | 포트용량 | |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | Direct Connect 설명 | |
| firewall_id | Firewall ID | |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| name | Direct Connect명 | |
| state | 상태 | |
| vpc_id | VPC ID | |
| vpc_name | VPC 명 |
scpcli direct-connect routing-rule create
--direct_connect_id <value>
--destination_type <value>
--destination_cidr <value>
[--description <value>]
[--destination_resource_id <value>]
Routing Rule을 생성한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| direct_connect_id required | string | Direct Connect ID | - |
| destination_type required | string | 목적지 타입 | - |
| destination_cidr required | string | 목적지 CIDR | - |
| description optional | string | 설명 | - |
| destination_resource_id optional | string | 목적지 자원 ID | - |
| Name | Description | Example |
|---|---|---|
| id | Routing Rule ID | |
| account_id | Account ID | |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | 설명 | |
| destination_cidr | 목적지 CIDR | |
| destination_resource_id | 목적지 자원 ID | |
| destination_resource_name | 목적지 자원명 | |
| destination_type | 목적지 타입 | |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| owner_id | Routing Rule 소유자 ID | |
| owner_type | Routing Rule 소유자 타입 | |
| state | 상태 |
scpcli direct-connect direct-connect delete
--direct_connect_id <value>
Direct Connect를 삭제한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| direct_connect_id required | string | Direct Connect ID | - |
scpcli direct-connect routing-rule delete
--routing_rule_id <value>
--direct_connect_id <value>
Routing Rule을 삭제한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| routing_rule_id required | string | Routing Rule ID | - |
| direct_connect_id required | string | Direct Connect ID | - |
scpcli direct-connect direct-connect list
[--with_count <value>]
[--limit <value>]
[--marker <value>]
[--sort <value>]
[--id <value>]
[--name <value>]
[--state <value>]
[--vpc_id <value>]
[--vpc_name <value>]
Direct Connect 목록을 조회한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| with_count optional | string | with count | true |
| limit optional | integer | 한도 | 20 |
| marker optional | string | 마커 | 607e0938521643b5b4b266f343fae693 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Direct Connect ID | - |
| name optional | string | Direct Connect명 | - |
| state optional | **** | 상태 | - |
| vpc_id optional | string | VPC ID | - |
| vpc_name optional | string | VPC 명 | - |
| Name | Description | Example |
|---|---|---|
| id | Direct Connect ID | |
| account_id | Account ID | |
| bandwidth | 포트용량 | |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | Direct Connect 설명 | |
| firewall_id | Firewall ID | |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| name | Direct Connect명 | |
| state | 상태 | |
| vpc_id | VPC ID | |
| vpc_name | VPC 명 |
scpcli direct-connect routing-rule list
--direct_connect_id <value>
[--with_count <value>]
[--limit <value>]
[--marker <value>]
[--sort <value>]
[--id <value>]
[--destination_type <value>]
[--destination_cidr <value>]
[--state <value>]
Routing Rule 목록을 조회한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| direct_connect_id required | string | Direct Connect ID | - |
| with_count optional | string | with count | true |
| limit optional | integer | 한도 | 20 |
| marker optional | string | 마커 | 607e0938521643b5b4b266f343fae693 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Routing Rule ID | - |
| destination_type optional | **** | 목적지 타입 | - |
| destination_cidr optional | string | 목적지 CIDR | - |
| state optional | **** | 상태 | - |
| Name | Description | Example |
|---|---|---|
| id | Routing Rule ID | |
| account_id | Account ID | |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | 설명 | |
| destination_cidr | 목적지 CIDR | |
| destination_resource_id | 목적지 자원 ID | |
| destination_resource_name | 목적지 자원명 | |
| destination_type | 목적지 타입 | |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| owner_id | Routing Rule 소유자 ID | |
| owner_type | Routing Rule 소유자 타입 | |
| state | 상태 |
scpcli direct-connect direct-connect set
--direct_connect_id <value>
--description <value>
Direct Connect를 수정한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| direct_connect_id required | string | Direct Connect ID | - |
| description required | string | Direct Connect 설명 | - |
scpcli direct-connect direct-connect show
--direct_connect_id <value>
Direct Connect를 상세조회한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
| Name | Type | Description | Example |
|---|---|---|---|
| direct_connect_id required | string | Direct Connect ID | - |
| Name | Description | Example |
|---|---|---|
| id | Direct Connect ID | |
| account_id | Account ID | |
| bandwidth | 포트용량 | |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | Direct Connect 설명 | |
| firewall_id | Firewall ID | |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| name | Direct Connect명 | |
| state | 상태 | |
| vpc_id | VPC ID | |
| vpc_name | VPC 명 |