Get server details

Method URI Description
GET /v2/{tenant_id}/servers/{server_id} 指定したサーバの詳細を取得します。

Normal response codes: 200, 203

Request

下表は、サーバ詳細取得リクエストのURIパラメーターの一覧です。

Name Type Description
{tenant_id} UUID プロジェクトID
{server_id} UUID 仮想サーバID

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

Response

Example. Get server details: JSON response


{
	"server": {
		"accessIPv4": "",
		"accessIPv6": "",
		"addresses": {
			"private": [
				{
					"addr": "192.168.0.3",
					"version": 4
				}
			]
		},
		"created": "2012-08-20T21:11:09Z",
		"flavor": {
			"id": "1",
			"links": [
				{
					"href": "http://openstack.example.com/openstack/flavors/1",
					"rel": "bookmark"
				}
			]
		},
		"hostId": "65201c14a29663e06d0748e561207d998b343e1d164bfa0aafa9c45d",
		"id": "893c7791-f1df-4c3d-8383-3caae9656c62",
		"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/893c7791-f1df-4c3d-8383-3caae9656c62",
				"rel": "self"
			},
			{
			"href": "http://openstack.example.com/openstack/servers/893c7791-f1df-4c3d-8383-3caae9656c62",
			"rel": "bookmark"
		}
	],
		"metadata": {
			"My Server Name": "Apache1"
		},
		"name": "new-server-test",
		"progress": 0,
		"status": "ACTIVE",
		"tenant_id": "openstack",
		"updated": "2012-08-20T21:11:09Z",
		"user_id": "fake"
	}
}