MENU
VMに紐づくアドレス一覧(ネットワーク指定) - Compute API v2
Request URL
Compute API v2.0 GET /v2/{tenant_id}/servers/{server_id}/ips/{network_label}
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | URI | テナントID | |
server_id | Server ID | URI | サーバーID |
network_label | ネットワーク名 | URI | ネットワーク名 |
Request Json
Normal response codes
200
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -i -X GET \ -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/servers/e25b3611-96df-4514-a54b-7729aec48dc1/ips/ext-133-130-48-0-xx
- RES
HTTP/1.1 200 OK Content-Type: application/json Content-Length: 121 X-Compute-Request-Id: req-2546ccfc-5b2c-4de3-86b9-fc85a479589a Date: Wed, 18 Feb 2015 01:46:05 GMT { "ext-133-130-48-0-xxx": [ { "addr": "133.130.49.xxx", "version": 4 }, { "addr": "2400:8500:1301:727:133:130:49:xxxx", "version": 6 } ] }