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)
| Version | Supported Until |
|---|---|
| 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 Description | - |
| ethertype optional | string | Security Group Rule Ethertype (IPV4, IPV6) | - |
| port_range_max optional | integer | Security Group Rule Port Range Max | - |
| port_range_min optional | integer | Security Group Rule Port Range Min | - |
| protocol optional | string | Security Group Rule Protocol | - |
| remote_group_id optional | string | Security Group Rule Remote Group ID | - |
| remote_ip_prefix optional | string | Security Group Rule Remote IP Address | - |
Responses
| Name | Description | Example |
|---|---|---|
| id | Security Group Rule ID | |
| created_at | Created At | 2024-05-17T00:23:17Z |
| created_by | Created By | 90dddfc2b1e04edba54ba2b41539a9ac |
| description | Security Group Rule Description | |
| direction | Security Group Rule Direction (Ingress, Egress) | |
| ethertype | Security Group Rule Ethertype (IPV4, IPV6) | |
| modified_at | Modified At | 2024-05-17T00:23:17Z |
| modified_by | Modified By | 90dddfc2b1e04edba54ba2b41539a9ac |
| port_range_max | Security Group Rule Port Range Max | |
| port_range_min | Security Group Rule Port Range Min | |
| protocol | Security Group Rule Protocol | |
| remote_group_id | Security Group Rule Remote Group ID | |
| remote_group_name | Security Group Rule Remote Group Name | |
| remote_ip_prefix | Security Group Rule Remote IP Address | |
| security_group_id | Security Group ID |