查询安全组详情
最近更新时间: 2023-03-09 17:24:33
请求路径
GET
/api/rio/v1/compute/security_group/:id/detail
请求参数
名称 |
类型 |
位置 |
必须 |
描述 |
x-rio-zone-id |
string |
header |
是 |
地域 ID |
id |
string |
path |
是 |
安全组 ID |
direction |
[]string |
query |
否 |
流量方向:all : 全部ingress : 入方向egress : 出方向
|
返回值
名称 |
类型 |
描述 |
request_id |
string |
请求 ID |
data |
SecurityGroup |
安全组对象 |
SecurityGroup 安全组对象
名称 |
类型 |
描述 |
zone_id |
string |
地域 ID |
security_group_id |
string |
安全组 ID |
security_group_name |
string |
安全组名称 |
security_group_rules |
[]SecurityGroupRule |
安全组规则列表 |
description |
string |
安全组描述信息 |
SecurityGroupRule 安全组规则对象
名称 |
类型 |
描述 |
security_group_rule_id |
string |
安全组规则 ID |
protocol |
string |
IP 协议类型:all : 全部tcp : TCPudp : UDPicmp : ICMPgre : GRE
|
direction |
string |
流量方向:all : 全部ingress : 入方向egress : 出方向
|
remote_security_group_id |
string |
远端安全组 ID |
from_port |
integer |
最小端口号 |
to_port |
integer |
最大端口号 |
cidr |
string |
安全组描述信息 |
type |
string |
安全组授权类型: |
created_at |
integer |
安全组规则创建时间 |
返回值示例