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

Create Security Group rule.

State ACTIVE (CURRENT)

VersionSupported Until
1.0-

Parameters

NameTypeDescriptionExample
security_group_id
required
stringSecurity Group ID-
direction
required
stringSecurity Group Rule Direction (Ingress, Egress)-
description
optional
stringSecurity Group Rule Description-
ethertype
optional
stringSecurity Group Rule Ethertype (IPV4, IPV6)-
port_range_max
optional
integerSecurity Group Rule Port Range Max-
port_range_min
optional
integerSecurity Group Rule Port Range Min-
protocol
optional
stringSecurity Group Rule Protocol-
remote_group_id
optional
stringSecurity Group Rule Remote Group ID-
remote_ip_prefix
optional
stringSecurity Group Rule Remote IP Address-

Responses

NameDescriptionExample
idSecurity Group Rule ID
created_atCreated At2024-05-17T00:23:17Z
created_byCreated By90dddfc2b1e04edba54ba2b41539a9ac
descriptionSecurity Group Rule Description
directionSecurity Group Rule Direction (Ingress, Egress)
ethertypeSecurity Group Rule Ethertype (IPV4, IPV6)
modified_atModified At2024-05-17T00:23:17Z
modified_byModified By90dddfc2b1e04edba54ba2b41539a9ac
port_range_maxSecurity Group Rule Port Range Max
port_range_minSecurity Group Rule Port Range Min
protocolSecurity Group Rule Protocol
remote_group_idSecurity Group Rule Remote Group ID
remote_group_nameSecurity Group Rule Remote Group Name
remote_ip_prefixSecurity Group Rule Remote IP Address
security_group_idSecurity Group ID