Show Security Group Rule

 

This operation does not require a request body.

This operation returns a response body, which contains the following information about the security group rule:

  • direction. Either ingress or egress.

  • ethertype. Either IPv4 or IPv6.

  • The ID for the specified security group rule

  • The min and max port ranges

  • The protocol

  • The tenant ID

  • The remote group ID

  • The remote IP prefix

  • The security group ID for the security group with which the rule is associated

  • The tenant ID

MethodURIDescription
GET/security-group-rules/{rules-security-groups-id}

Shows detailed information for a specified security group rule.

Normal Response Code(s): 200

Error Response Code(s): unauthorized (401), itemNotFound (404)

 Request

The following 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 5.61. Show Security Group Rule Request: JSON

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

 Response

 

Example 5.62. Show Security Group Rule Response: JSON

{
   "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"
   }
}

Log a bug against this page


loading table of contents...