ネットワーク詳細取得

Description

ネットワークの詳細を取得します。

Request URL

Network API v2.0

GET /v2.0/networks/{network_id}

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token Userトークン header トークン発行 にて払い出されたID
network_id Network ID URI ネットワーク一覧取得にてご確認ください。

 

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/networks/ネットワークID
  • Response
HTTP/1.1 200 OK
Date: Fri, 09 Dec 2016 09:38:43 GMT
Server: Apache
Content-Length: 297
Content-Type: application/json
{ "network": { "admin_state_up": true, "id": "ネットワークID", "name": "ネットワーク名", "router:external": false, "shared": false, "status": "ACTIVE", "subnets": [ "サブネットID" ], "tenant_id": "テナントID" } },

Internet for everyone

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