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

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 Userトークン header トークン発行 にて払い出されたID
rules-security-groups-id セキュリティグループルールID URI セキュリティグループルール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.jpt1.cloud.z.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"
    }
}

Internet for everyone

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