Show extended server attributes

Method URI Description
GET /v2/{tenant_id}/servers/{server_id} 指定したサーバの拡張サーバ属性を表示します。

Normal response codes: 200

Request

下表は、拡張サーバ属性表示リクエストのURIパラメーターの一覧です。

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

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

Response

Example. Show extended server attributes: JSON response


{
	"server": {
		"OS-EXT-SRV-ATTR:host": "1169a68456af48238da47b1d5957a714",
		"OS-EXT-SRV-ATTR:hypervisor_hostname": "fake-mini",
		"OS-EXT-SRV-ATTR:instance_name": "instance-00000001",
		"accessIPv4": "",
		"accessIPv6": "",
		"addresses": {
			"private": [
				{
					"addr": "192.168.0.3",
					"version": 4
				}
			]
		},
		"created": "2012-11-15T19:27:04Z",
		"flavor": {
			"id": "1",
			"links": [
				{
					"href": "http://openstack.example.com/openstack/flavors/1",
					"rel": "bookmark"
				}
			]
		},
		"hostId": "2dfce43c41dd288cfac3a5b4251742b3bd2b37c12eb5927e757d9b4c",
		"id": "1fc2392e-5727-46af-bc21-317a4a3eb04c",
		"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/1fc2392e-5727-46af-bc21-317a4a3eb04c",
				"rel": "self"
			},
			{
				"href": "http://openstack.example.com/openstack/servers/1fc2392e-5727-46af-bc21-317a4a3eb04c",
				"rel": "bookmark"
			}
		],
		"metadata": {
			"My Server Name": "Apache1"
		},
		"name": "new-server-test",
		"progress": 0,
		"status": "ACTIVE",
		"tenant_id": "openstack",
		"updated": "2012-11-15T19:27:04Z",
		"user_id": "fake"
	}
}