Method | URI | Description |
---|---|---|
GET | /v2/{tenant_id}/os-security-group-rules | Lists default security group rules. |
Normal response codes: 200
This table shows the URI parameters for the list default security group rules request:
Name | Type | Description |
---|---|---|
| String | The unique identifier of the tenant or account. |
This operation does not require a request body.
Example 3.291. List default security group rules: JSON response
{ "security_group_default_rules": [ { "from_port": 80, "id": 1, "ip_protocol": "TCP", "ip_range": { "cidr": "10.10.10.0/24" }, "to_port": 80 } ] }
Example 3.292. List default security group rules: XML response
<?xml version='1.0' encoding='UTF-8'?> <security_group_default_rules xmlns="http://docs.openstack.org/compute/api/v1.1"> <security_group_default_rule id="1"> <ip_protocol>TCP</ip_protocol> <from_port>80</from_port> <to_port>80</to_port> <ip_range> <cidr>10.10.10.0/24</cidr> </ip_range> </security_group_default_rule> </security_group_default_rules>
This operation does not return a response body.