你好,
我找不到如何指定应创建磁盘的哪个容器,
你能帮助我吗?
这是我的JSON。
{“ spec”:{
“名称”:“ test-api”,
“资源”: {
“ power_state”:“关闭”,
“ num_vcpus_per_socket”:1,
“ num_sockets”:1,
“ memory_size_mib”:8192,
“ disk_list”:[
{
“ device_properties”:{
“ disk_address”:{
“ device_index”:0,
“ adapter_type”:“ scsi”
},,
“ device_type”:“磁盘”
},,
“ disk_size_mib”:8192
},,
{
“ device_properties”:{
“ disk_address”:{
“ device_index”:0,
“ adapter_type”:“ IDE”
},,
“ device_type”:“ cdrom”
}
}
],,
“ nic_list”:[
{
“ nic_type”:“ normal_nic”,
“ is_connected”:是的,
“ ip_endpoint_list”:[
{
“ ip_type”:“ DHCP”
}
],,
“ subnet_reference”:{
“ ank”:“子网”,
“名称”:“ VLAN-130”,
“ UUID”:“ 002E2B71-A8CA-4360-86E1-0934AA9035F5”
}
}
],,
“ Guest_tools”:{
“ nutanix_guest_tools”:{
“状态”:“启用”,
“ iso_mount_state”:“已安装”
}
}
},,
“ cluster_reference”:{
“ ank”:“ cluster”,
“名称”:“ aa01cluahv001”,
“ uuid”:“ 0005A425-7396-E383-451D-246E960FB6D0”
}
},,
“ api_version”:“ 3.1.0”,
“元数据”:{
“善良”:“ VM”
}
}
谢谢,
Cirvent
最好的答案阿罗纳
Nutanix Dev portal (as UPX pointed out earlier)\u00a0 and<\/p>
Prism REST API Explorer (only PC has option to browse API v3)<\/p>
For example:<\/p>
Nutanix Dev portal:<\/p>