Create a gist now

Instantly share code, notes, and snippets.

Embed
{
"api_version": "3.0",
"metadata": {
"kind": "vm"
},
"spec": {
"cluster_reference": {
"kind": "cluster",
"uuid": "00055511-31e5-05f5-0443-0050568aade6"
},
"name": "api-test-vm01",
"resources": {
"num_sockets": 1,
"num_vcpus_per_socket": 1,
"memory_size_mib": 1024,
"nic_list": [
{
"subnet_reference": {
"kind": "subnet",
"uuid": "83524fc1-9381-495e-b3b0-0a06d922d2e9"
}
}
],
"disk_list": [
{
"device_properties": {
"device_type": "CDROM",
"disk_address": {
"adapter_type": "IDE",
"device_index": 0
}
}
},
{
"device_properties": {
"device_type": "DISK",
"disk_address": {
"adapter_type": "SCSI",
"device_index": 0
}
},
"disk_size_mib": 16384
}
],
"power_state": "ON"
},
"description": "Nutanix APIv3 create VM sample."
}
}
@gowatana

This comment has been minimized.

Show comment
Hide comment
@gowatana

gowatana Jan 12, 2018

下記の投稿むけ。

Nutanix REST API v3 で VM 作成してみる。
http://blog.ntnx.jp/entry/2018/01/13/000015

Owner

gowatana commented Jan 12, 2018

下記の投稿むけ。

Nutanix REST API v3 で VM 作成してみる。
http://blog.ntnx.jp/entry/2018/01/13/000015

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