ユーザーガイド/リファレンスガイド

セキュリティグループ ルール詳細取得

Description

セキュリティグループルールの詳細を取得します。

Request URL

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

Request Json

This operation does not accept a request body.

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
rules-security-groups-id セキュリティグループルールID header セキュリティグループルールIDを指定します。

 

Response

Normal response codes

200

Example

Request

curl -i -X GET 
-H “Accept: application/json” \
-H “Content-Type: application/json” \
-H “X-Auth-Token: トークンID” \
https://networking.odc01.eva-clouds.com/v2.0/security-group-rules/セキュリティグループルールID

Response

HTTP/1.1 200 OK
Date: Wed, 20 Jul 2016 01:38:30 GMT
Server: Apache
Content-Length: 377
Content-Type: application/json

{
    “security_group_rule”: {
        “direction”: “ルールを適用するトラフィックの向き“,
        “ethertype”: “イーサタイプ“,
        “id”: “セキュリティグループルールID“,
        “port_range_max”: null,
        “port_range_min”: null,
        “protocol”: null,
        “remote_group_id”: “d490a79d-2799-48b0-804d-01501f89bf70”,
        “remote_ip_prefix”: null,
        “security_group_id”: “セキュリティグループID“,
        “tenant_id”: “テナントID
    }
}