1.3
1.3
scp-cli vpc port create
--subnet_id <value>
--name <value>
[--description <value>]
[--fixed_ip_address <value>]
[--security_groups <value>]
[--tags <value>]
Description
Port를 생성한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.3 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| subnet_id required | string | Subnet ID | - |
| name required | string | Port 명 | portName |
| description optional | string | 설명 | Port Description |
| fixed_ip_address optional | string | 고정된 IP | - |
| security_groups optional | array | Security Group 목록 | - |
| tags optional | array | 태그 목록 | '{"key": "", "value": ""}' |
Responses
| Name | Description | Example |
|---|---|---|
| id | Port ID | 023c57b1-4f11-4836-8933-8d085e061492 |
| account_id | Account ID | f1e6c81a2b054582878cb9724dc2ce9f |
| attached_resource_id | 연결된 자원 ID | 9387e8f51de04a03994de8a9c3524935 |
| attached_resource_type | 연결된 자원 유형 | |
| created_at | 생성일시 | |
| description | 설명 | Port Description |
| fixed_ip_address | 고정된 IP | 192.168.1.100 |
| mac_address | MAC 주소 | fa:16:3e:00:00:01 |
| modified_at | 수정일시 | |
| name | Port 명 | portName |
| security_groups | Security Group 목록 | |
| state | 상태 | |
| subnet_id | Subnet ID | 023c57b14f11483689338d085e061492 |
| subnet_name | Subnet 명 | subnetName |
| virtual_ip_addresses | Virtual IP 주소 | |
| vpc_id | VPC ID | 071bc63b767444c9afaab1c972d302d5 |
| vpc_name | VPC 명 | vpcName |