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

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 Parameters

Parameter Value Style Description
X-Auth-Token トークンID header トークン発行 にて払い出されたID
rules-security-groups-id セキュリティグループルールID URI セキュリティグループルールIDを指定します。
セキュリティグループ ルール一覧取得 にて任意のセキュリティグループルール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" \
ネットワークエンドポイント/security-group-rules/セキュリティグループルールID
  • Response
HTTP/1.1 200 OK
Date: Sat, 07 Apr 2018 19:30:52 GMT
Server: Apache
Content-Length: 377
Content-Type: application/json

{
    "security_group_rule": {
        "remote_group_id": "セキュリティグループID", 
        "direction": "ルールを適用するトラフィックの向き", 
        "remote_ip_prefix": null, 
        "protocol": null, 
        "ethertype": "イーサタイプ", 
        "tenant_id": "テナントID", 
        "port_range_max": null, 
        "port_range_min": null, 
        "id": "セキュリティグループルールID", 
        "security_group_id": "セキュリティグループID"
    }
}

Internet for everyone

Copyright (c) 2024 GMO Internet Group, Inc. All Rights Reserved.