1.0
1.0
scpcli security-group security-group-rule create
--security_group_id <value>
--direction <value>
[--description <value>]
[--ethertype <value>]
[--port_range_max <value>]
[--port_range_min <value>]
[--protocol <value>]
[--remote_group_id <value>]
[--remote_ip_prefix <value>]
Description
Security Group rule을 생성한다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| security_group_id required | string | Security Group ID | - |
| direction required | string | Security Group Rule Direction (Ingress, Egress) | - |
| description optional | string | Security Group Rule 설명 | - |
| ethertype optional | string | Security Group Rule Ethertype (IPV4, IPV6) | - |
| port_range_max optional | integer | Security Group Rule 포트 범위 최대값 | - |
| port_range_min optional | integer | Security Group Rule 포트 범위 최소값 | - |
| protocol optional | string | Security Group Rule 프로토콜 | - |
| remote_group_id optional | string | Security Group Rule 원격 그룹 ID | - |
| remote_ip_prefix optional | string | Security Group Rule IP 주소 | - |
Responses
| Name | Description | Example |
|---|---|---|
| id | Security Group Rule ID | |
| created_at | 생성 시간 | 2024-05-17T00:23:17Z |
| created_by | 생성자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | Security Group Rule 설명 | |
| direction | Security Group Rule 방향 (Ingress, Egress) | |
| ethertype | Security Group Rule Ethertype (IPV4, IPV6) | |
| modified_at | 수정 시간 | 2024-05-17T00:23:17Z |
| modified_by | 수정자 | 90dddfc2b1e04edba54ba2b41539a9ac |
| port_range_max | Security Group Rule 포트 범위 최대값 | |
| port_range_min | Security Group Rule 포트 범위 최소값 | |
| protocol | Security Group Rule 프로토콜 | |
| remote_group_id | Security Group Rule 원격 그룹 ID | |
| remote_group_name | Security Group Rule 원격 그룹 이름 | |
| remote_ip_prefix | Security Group Rule IP 주소 | |
| security_group_id | Security Group ID |