Show security group rule

 
MethodURIDescription
GET/v2.0/security-group-rules/{rules-security-groups-id}

Shows detailed information for a specified security group rule.

The response body contains the following information about the security group rule:

Normal response codes: 200

Error response codes: unauthorized (401), itemNotFound (404)

 Request

This table shows the URI parameters for the show security group rule request:

NameTypeDescription

{rules-security-groups-id}

​Uuid

The unique identifier of the security group rule.

 

Example 4.58. Show security group rule: JSON request

GET /v2.0/security-group-rules/ 3c0e45ff-adaf-4124-b083-bf390e5482ff
Accept: application/json

This operation does not require a request body.

 Response

 

Example 4.59. Show security group rule: JSON response

{
   "security_group_rule":{
      "direction":"egress",
      "ethertype":"IPv6",
      "id":"3c0e45ff-adaf-4124-b083-bf390e5482ff",
      "port_range_max":null,
      "port_range_min":null,
      "protocol":null,
      "remote_group_id":null,
      "remote_ip_prefix":null,
      "security_group_id":"85cc3048-abc3-43cc-89b3-377341426ac5",
      "tenant_id":"e4f50856753b4dc6afee5fa6b9b6c550"
   }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...