Create Security Group Rule

1 - 1.1

scp-cli 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_address_group_id <value>]
[--remote_group_id <value>]
[--remote_ip_prefix <value>]

Description

Security Group rule을 생성한다.

상태 ACTIVE (CURRENT)

버전최소 지원 보장일
1.1-

Parameters

NameTypeDescriptionExample
security_group_id
required
stringSecurity Group ID06e5d676-f330-485a-94e9-47ac91cce09a
direction
required
stringSecurity Group Rule Direction (Ingress, Egress)Ingress
description
optional
stringSecurity Group Rule 설명Example Description for Security Group Rule
ethertype
optional
stringSecurity Group Rule Ethertype (IPV4)IPv4
port_range_max
optional
integerSecurity Group Rule Maximum Port Number(None/1-65535). For ICMP and IP Protocol, None22
port_range_min
optional
integerSecurity Group Rule Minimum Port Number(None, 1-65535). For ICMP, 0-255. For IP Protocol, None22
protocol
optional
stringSecurity Group Rule Protocol (None, TCP, UDP, ICMP, IP Protocol Number 1-254)TCP
remote_address_group_id
optional
stringSecurity Group Rule 주소 그룹 ID4b18494930bf4c5dbb97a9eb2ef68fe1
remote_group_id
optional
stringSecurity Group Rule 원격 그룹 ID06e5d676-f330-485a-94e9-47ac91cce09a
remote_ip_prefix
optional
stringSecurity Group Rule IP 주소1.1.1.1/32

Responses

NameDescriptionExample
idSecurity Group Rule ID10d8250e-f4eb-453a-96af-b50b5b514a1a
created_at생성 시간2024-05-17T00:23:17Z
created_by생성자90dddfc2b1e04edba54ba2b41539a9ac
descriptionSecurity Group Rule 설명Example Description for Security Group Rule
directionSecurity Group Rule 방향 (Ingress, Egress)Ingress
ethertypeSecurity Group Rule Ethertype (IPV4)IPv4
modified_at수정 시간2024-05-17T00:23:17Z
modified_by수정자90dddfc2b1e04edba54ba2b41539a9ac
port_range_maxSecurity Group Rule 포트 범위 최대값(None/1-65535). For ICMP and IP Protocol, None22
port_range_minSecurity Group Rule 포트 범위 최소값(None, 1-65535). For ICMP, 0-255. For IP Protocol, None22
protocolSecurity Group Rule 프로토콜 (None, TCP, UDP, ICMP, IP Protocol Number 1-254)TCP
remote_address_group_idAddress Group ID4b18494930bf4c5dbb97a9eb2ef68fe1
remote_address_group_nameAddress Group 이름ExampleAG1
remote_group_idSecurity Group Rule 원격 그룹 ID06e5d676-f330-485a-94e9-47ac91cce09a
remote_group_nameSecurity Group Rule 원격 그룹 이름ExampleSG2
remote_ip_prefixSecurity Group Rule IP 주소1.1.1.1/32
security_group_idSecurity Group ID06e5d676-f330-485a-94e9-47ac91cce09a

2 - 1.0

scp-cli 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 (SUPPORTED)

버전최소 지원 보장일
1.020270131

Parameters

NameTypeDescriptionExample
security_group_id
required
stringSecurity Group ID06e5d676-f330-485a-94e9-47ac91cce09a
direction
required
stringSecurity Group Rule Direction (Ingress, Egress)Ingress
description
optional
stringSecurity Group Rule 설명Example Description for Security Group Rule
ethertype
optional
stringSecurity Group Rule Ethertype (IPV4)IPv4
port_range_max
optional
integerSecurity Group Rule Maximum Port Number(None/1-65535). For ICMP and IP Protocol, None22
port_range_min
optional
integerSecurity Group Rule Minimum Port Number(None, 1-65535). For ICMP, 0-255. For IP Protocol, None22
protocol
optional
stringSecurity Group Rule Protocol (None, TCP, UDP, ICMP, IP Protocol Number 1-254)TCP
remote_group_id
optional
stringSecurity Group Rule 원격 그룹 ID06e5d676-f330-485a-94e9-47ac91cce09a
remote_ip_prefix
optional
stringSecurity Group Rule IP 주소1.1.1.1/32

Responses

NameDescriptionExample
idSecurity Group Rule ID10d8250e-f4eb-453a-96af-b50b5b514a1a
created_at생성 시간2024-05-17T00:23:17Z
created_by생성자90dddfc2b1e04edba54ba2b41539a9ac
descriptionSecurity Group Rule 설명Example Description for Security Group Rule
directionSecurity Group Rule 방향 (Ingress, Egress)Ingress
ethertypeSecurity Group Rule Ethertype (IPV4)IPv4
modified_at수정 시간2024-05-17T00:23:17Z
modified_by수정자90dddfc2b1e04edba54ba2b41539a9ac
port_range_maxSecurity Group Rule 포트 범위 최대값(None/1-65535). For ICMP and IP Protocol, None22
port_range_minSecurity Group Rule 포트 범위 최소값(None, 1-65535). For ICMP, 0-255. For IP Protocol, None22
protocolSecurity Group Rule 프로토콜 (None, TCP, UDP, ICMP, IP Protocol Number 1-254)TCP
remote_group_idSecurity Group Rule 원격 그룹 ID06e5d676-f330-485a-94e9-47ac91cce09a
remote_group_nameSecurity Group Rule 원격 그룹 이름ExampleSG2
remote_ip_prefixSecurity Group Rule IP 주소1.1.1.1/32
security_group_idSecurity Group ID06e5d676-f330-485a-94e9-47ac91cce09a