サーバープラン詳細取得

Description

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

Request URL

Compute API v2.0

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

Request Json

This operation does not accept a request body.

Request Parameters

Parameter Value Style Description
X-Auth-Token Userトークン header トークン発行 にて払い出されたID
tenant_id テナントID plain API情報を確認する にてご確認ください。
flavor_id フレーバーID plain サーバープラン一覧取得 にてご確認ください。

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://compute.jpt1.cloud.z.com/v2/テナントID/flavors/フレーバーID
  • Response
HTTP/1.1 200 OK
Date: Wed, 06 Jul 2016 05:02:41 GMT
Server: Apache
Content-Length: 519
Content-Type: application/json

{
    "flavor": {
        "OS-FLV-DISABLED:disabled": false, 
        "OS-FLV-EXT-DATA:ephemeral": 0, 
        "disk": 0, 
        "id": "フレーバーID", 
        "links": [
            {
                "href": "https://compute.jpt1.cloud.z.com/v2/テナントID/flavors/フレーバーID", 
                "rel": "self"
            }, 
            {
                "href": "https://compute.jpt1.cloud.z.com/テナントID/flavors/フレーバーID", 
                "rel": "bookmark"
            }
        ], 
        "name": "zjpe-sd1-c8m8", 
        "os-flavor-access:is_public": true, 
        "ram": 8192, 
        "rxtx_factor": 1, 
        "swap": "", 
        "vcpus": 8
    }
}

Internet for everyone

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