ListSecurityGroups
VCS-sg-0087 List security groups with permission control
Query Parameters
- project integer required
Project ID is required to request
- server integer
server ID,choose at least one with loadbalancer ID
- loadbalancer integer
loadbalancer ID,choose at least one with server ID
- type string
Possible values: [
LB
,VM
]SG type
Header Parameters
- x-api-host string required
Default value:
openstack-taichung-default-2
Authentication Required Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- create_time date-time
- desc string
- id string
- name string
- project int64
security_group_rules object[]
direction stringPossible values: [
egress
,ingress
]ethertype stringid stringport_range_max integerPossible values:
>= 1
and<= 65535
port_range_min integerPossible values:
>= 1
and<= 65535
protocol stringPossible values: [
tcp
,udp
,udplite
,sctp
,icmp
,dccp
]remote_ip_prefix string- type string
Possible values: [
LB
,VM
] user object
id stringdisplay_name stringusername stringemail string
[
{
"create_time": "2024-08-19",
"desc": "string",
"id": "string",
"name": "string",
"project": 0,
"security_group_rules": [
{
"direction": "egress",
"ethertype": "string",
"id": "string",
"port_range_max": 0,
"port_range_min": 0,
"protocol": "tcp",
"remote_ip_prefix": "string"
}
],
"type": "LB",
"user": {
"id": "string",
"display_name": "string",
"username": "string",
"email": "string"
}
}
]
Loading...