VIP一覧取得 | Z.com Cloud パブリッククラウド リファレンス

VIP一覧取得

Description

VIPの一覧を取得します。

Request URL

Network API v2.0

GET /v2.0/lb/vips

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token Userトークン 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.jpt1.cloud.z.com/v2.0/lb/vips
  • Response
HTTP/1.1 200 OK
Date: Mon, 11 Jul 2016 03:22:27 GMT
Server: Apache
Content-Length: 990
Content-Type: application/json

{
    "vips": [
        {
            "address": "VIP", 
            "admin_state_up": 管理状態の有無, 
            "connection_limit": -1, 
            "description": "VIP設定の説明・概要", 
            "id": "VIP ID", 
            "name": "VIP設定の名前", 
            "pool_id": "プールID", 
            "port_id": "ポートID", 
            "protocol": "プロトコル", 
            "protocol_port": ポート番号, 
            "session_persistence": セッション維持のタイプ, 
            "status": "ACTIVE", 
            "status_description": null, 
            "subnet_id": "サブネットID", 
            "tenant_id": "テナントID"
        }, 
        {
            "address": "VIP", 
            "admin_state_up": 管理状態の有無, 
            "connection_limit": -1, 
            "description": "", 
            "id": "VIP ID", 
            "name": "VIP設定の名前", 
            "pool_id": "プールID", 
            "port_id": "ポートID", 
            "protocol": "プロトコル", 
            "protocol_port": ポート番号, 
            "session_persistence": null, 
            "status": "ACTIVE", 
            "status_description": null, 
            "subnet_id": "サブネットID", 
            "tenant_id": "テナントID"
        }
    ]
}