Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"status": {
"state": "COMPLETE",
"name": "worker-0-k8s-cluster-01",
"resources": {
"nic_list": [
{
"ip_endpoint_list": [
{
"ip": "192.168.13.153",
"type": "ASSIGNED"
},
{
"ip": "192.168.13.153",
"type": "LEARNED"
}
],
"nic_type": "NORMAL_NIC",
"mac_address": "50:6b:8d:35:31:2a",
"subnet_reference": {
"kind": "subnet",
"uuid": "83524fc1-9381-495e-b3b0-0a06d922d2e9"
}
}
],
"host_reference": {
"kind": "host",
"uuid": "5e9574bf-bbf8-4511-b367-180681021647",
"name": "192.168.1.132"
},
"hypervisor_type": "AHV",
"num_vcpus_per_socket": 1,
"num_sockets": 1,
"gpu_list": [],
"memory_size_mib": 2048,
"power_state": "ON",
"disk_list": [
{
"device_properties": {
"disk_address": {
"device_index": 0,
"adapter_type": "IDE"
},
"device_type": "CDROM"
}
},
{
"device_properties": {
"disk_address": {
"device_index": 0,
"adapter_type": "SCSI"
},
"device_type": "DISK"
},
"disk_size_mib": 16384
}
]
},
"cluster_reference": {
"kind": "cluster",
"name": "ce-n01",
"uuid": "00055511-31e5-05f5-0443-0050568aade6"
}
},
"spec": {
"name": "worker-0-k8s-cluster-01",
"resources": {
"nic_list": [
{
"ip_endpoint_list": [
{
"ip": "192.168.13.153",
"type": "ASSIGNED"
},
{
"ip": "192.168.13.153",
"type": "LEARNED"
}
],
"nic_type": "NORMAL_NIC",
"mac_address": "50:6b:8d:35:31:2a",
"subnet_reference": {
"kind": "subnet",
"uuid": "83524fc1-9381-495e-b3b0-0a06d922d2e9"
}
}
],
"num_vcpus_per_socket": 1,
"num_sockets": 1,
"gpu_list": [],
"memory_size_mib": 2048,
"power_state": "ON",
"disk_list": [
{
"device_properties": {
"disk_address": {
"device_index": 0,
"adapter_type": "IDE"
},
"device_type": "CDROM"
}
},
{
"device_properties": {
"disk_address": {
"device_index": 0,
"adapter_type": "SCSI"
},
"device_type": "DISK"
},
"disk_size_mib": 16384
}
]
},
"cluster_reference": {
"kind": "cluster",
"name": "ce-n01",
"uuid": "00055511-31e5-05f5-0443-0050568aade6"
}
},
"api_version": "3.0",
"metadata": {
"owner_reference": {
"kind": "user",
"uuid": null,
"name": null
},
"kind": "vm",
"spec_version": 0,
"uuid": "0583edfa-1178-4d46-9420-83b91b73989b",
"categories": {}
}
}
@gowatana

This comment has been minimized.

Show comment
Hide comment
@gowatana

gowatana Jan 10, 2018

下記の投稿むけ。

Nutanix CE の REST API Explorer で API v3 から VM を見てみる。
http://blog.ntnx.jp/entry/2018/01/11/025949

Owner

gowatana commented Jan 10, 2018

下記の投稿むけ。

Nutanix CE の REST API Explorer で API v3 から VM を見てみる。
http://blog.ntnx.jp/entry/2018/01/11/025949

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment