List interfaces

Method URI Description
GET /v2/{tenant_id}/servers/{server_id}/os-interface ポートインターフェースを一覧表示する。

Normal response codes: 200

Request

下表は、インターフェースを一覧表示リクエストのURIパラメーターの一覧です。

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

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

Response

Example. List interfaces: JSON response


{
	"interfaceAttachments": [
		{
			"port_state": "ACTIVE",
			"fixed_ips": [
				{
					"subnet_id": "f8a6e8f8-c2ec-497c-9f23-da9616de54ef",
					"ip_address": "192.168.1.3"
				}
			],
			"net_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6",
			"port_id": "ce531f90-199f-48c0-816c-13e38010b442",
			"mac_addr": "fa:16:3e:4c:2c:30"
		}
	]
}