Get server information with configuration drive

Method URI Description
GET /v2/{tenant_id}/servers/{server_id} 構成ドライブ拡張属性を含む指定サーバの情報を表示する。

Normal response codes: 200

Request

下表は、構成ドライブ込み仮想サーバ情報取得リクエストのURIパラメーターの一覧です。

Name Type Description
{tenant_id} String プロジェクトID
{server_id} Uuid 対象とする仮想サーバの仮想サーバID

本操作ではリクエストボディ部の指定は不要です。

Response

Example. Get server information with configuration drive: JSON response


{
	"server": {
		"accessIPv4": "",
		"accessIPv6": "",
		"addresses": {
			"private": [
				{
					"addr": "192.168.0.3",
					"version": 4
				}
			]
		},
		"config_drive": "",
		"created": "2013-02-04T13:17:50Z",
		"flavor": {
			"id": "1",
			"links": [
				{
					"href": "http://openstack.example.com/openstack/flavors/1",
					"rel": "bookmark"
				}
			]
		},
		"hostId": "8725fb615b191d8249a40f3e90d1efde88d914412e4edb2719176afd",
		"id": "dd3b0715-a3fc-43d8-bbd2-2720beb226fb",
		"image": {
			"id": "70a599e0-31e7-49b7-b260-868f441e862b",
			"links": [
				{
					"href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
					"rel": "bookmark"
				}
			]
		},
		"links": [
			{
				"href": "http://openstack.example.com/v2/openstack/servers/dd3b0715-a3fc-43d8-bbd2-2720beb226fb",
				"rel": "self"
			},
			{
				"href": "http://openstack.example.com/openstack/servers/dd3b0715-a3fc-43d8-bbd2-2720beb226fb",
				"rel": "bookmark"
			}
		],
		"metadata": {
			"My Server Name": "Apache1"
		},
		"name": "new-server-test",
		"progress": 0,
		"status": "ACTIVE",
		"tenant_id": "openstack",
		"updated": "2013-02-04T13:17:51Z",
		"user_id": "fake"
	}
}