vinfra service compute security-group rule show
Display information about a security group rule:
usage: vinfra service compute security-group rule show <security-group-rule>
<security-group-rule>
- Security group rule ID
Example:
# vinfra service compute security-group rule show \ 0f395e2f-a8ab-47f4-b670-64399461393c +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | description | | | direction | ingress | | ethertype | IPv4 | | id | 0f395e2f-a8ab-47f4-b670-64399461393c | | port_range_max | 22 | | port_range_min | 22 | | project_id | e215189c0472482f93e71d10e1245253 | | protocol | tcp | | remote_group_id | | | remote_ip_prefix | | | security_group_id | 12e6b260-0b61-4551-8168-3e59602a2433 | +-------------------+--------------------------------------+
This command shows the details of the security group rule with the ID 0f395e2f-a8ab-47f4-b670-64399461393c
.