ConoHa API Documantation

VMプラン詳細取得(アイテム指定) - Compute API v2

Description

VMのプラン(flavor)の詳細情報を取得します。

Request URL

Compute API v2.0

GET /v2/{tenant_id}/flavors/{flavor_id}

Request Paramters

Parameter Value Style Description
X-Auth-Token Userトークン header トークンID
flavor_id Flavor ID plain フレーバーID

Request Json

This operation does not accept a request body.

Normal response codes

200

Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。

  • REQ
curl -i -X GET \
-H "Accept: application/json" \
-H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \
https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/flavors/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
  • RES
HTTP/1.1 200 OK
Date: Tue, 09 Dec 2014 02:56:46 GMT
Server: Apache
Content-Length: 493
Content-Type: application/json

{
    "flavor": {
        "OS-FLV-DISABLED:disabled": false,
        "OS-FLV-EXT-DATA:ephemeral": 0,
        "disk": 50,
        "id": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
        "links": [
            {
                "href": "https://compute.tyo1.conoha.io/v2/1864e71d2deb46f6b47526b69c65a45d/flavors/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                "rel": "self"
            },
            {
                "href": "https://compute.tyo1.conoha.io/1864e71d2deb46f6b47526b69c65a45d/flavors/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
                "rel": "bookmark"
            }
        ],
        "name": "2gb-flavor",
        "os-flavor-access:is_public": true,
        "ram": 2048,
        "rxtx_factor": 1,
        "swap": "",
        "vcpus": 3
    }
}