获取目的地列表(GetCandidateZonesClustersHostsForCreatingVm)
用户可以使用GetCandidateZonesClustersHostsForCreatingVm获取可以创建云主机参数的目的区域、集群、物理主机。用户可以通过指定云主机参数获得可以创建满足参数云主机的目的地。例如:
GetCandidateZonesClustersHostsForCreatingVm imageUuid=034883acd9312da4a7c71ac2b4c01498 l3NetworkUuids=4d855bb0c72640f5a643ba8e88ae85df参数(Parameters)
| 名字 | 描述 | 可选的 | 可选的参数值 | 起始支持版本 |
|---|---|---|---|---|
| instanceOfferingUuid | 计算规格uuid | 是 | 0.6 | |
| imageUuid | 镜像uuid | 0.6 | ||
| l3NetworkUuids | 三层网络列表 | 0.6 | ||
| rootDiskOfferingUuid | 根云盘规格。仅在imageUuid指定的镜像是ISO时需要指定 | 是 | 0.6 | |
| dataDiskOfferingUuids | 云盘规格列表 | 是 | 0.6 | |
| zoneUuid | 区域uuid | 是 | 0.6 | |
| clusterUuid | 集群uuid | 是 | 0.6 | |
| defaultL3NetworkUuid | 默认三层网络uuid | 是 | 0.6 | |
| cpuNum | CPU数目 | 是 | 3.10.0 | |
| memorySize | 内存大小, 单位Byte | 是 | 3.10.0 | |
| userTags | 用户标签,请参见 创建用户标签(CreateUserTag);资源类型是 VmInstanceVO | 是 | 0.6 | |
| systemTags | 系统标签,请参见 创建系统标签(CreateSystemTag); 资源类型是 VmInstanceVO | 是 | 0.6 | |
| timeout | 是 |