This is the multi-page printable view of this section. Click here to print.
List Security Group Rules
- 1: 1.0
1 - 1.0
scpcli security-group security-group-rule list
--security_group_id <value>
[--size <value>]
[--page <value>]
[--sort <value>]
[--id <value>]
[--remote_ip_prefix <value>]
[--remote_group_id <value>]
[--description <value>]
[--direction <value>]
[--service <value>]
Description
Get Security Group rule list.
State ACTIVE (CURRENT)
| Version | Supported Until |
|---|---|
| 1.0 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| security_group_id required | string | Security Group ID | - |
| size optional | integer | size | 20 |
| page optional | integer | page | 0 |
| sort optional | string | sort | created_at:desc |
| id optional | string | Security Group Rule ID | - |
| remote_ip_prefix optional | string | Security Group Rule Remote IP Address | - |
| remote_group_id optional | string | Security Group Rule Remote Group ID | - |
| description optional | string | Security Group Rule Description | - |
| direction optional | string | Security Group Rule Direction (Ingress, Egress) | - |
| service optional | string | Security Group Rule Service | - |
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 |