GetCandidateZonesClustersHostsForCreatingVm
Obtains the candidate zones, clusters, and hosts that are available for creating a VM
instance. For
example,
GetCandidateZonesClustersHostsForCreatingVm imageUuid=034883acd9312da4a7c71ac2b4c01498 l3NetworkUuids=4d855bb0c72640f5a643ba8e88ae85df
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
instanceOfferingUuid | The instance offering UUID. | 0.6 | ||
imageUuid | The image UUID. | 0.6 | ||
l3NetworkUuids | The L3 network list. | 0.6 | ||
rootDiskOfferingUuid | The disk offering of the root volume. This parameter is required only when the image type specified in imageUuid is ISO. | Yes | 0.6 | |
dataDiskOfferingUuids | The disk offering list. | Yes | 0.6 | |
zoneUuid | The zone UUID. | Yes | 0.6 | |
clusterUuid | The cluster UUID. | Yes | 0.6 | |
defaultL3NetworkUuid | The UUID of the default L3 network. | Yes | 0.6 | |
cpuNum | The CPU count. | Yes | 3.10.0 | |
memorySize | The memory size. Unit: Byte. | Yes | 3.10.0 | |
userTags | The user tags. For more information, see CreateUserTag. The resource type is VmInstanceVO. | Yes | 0.6 | |
systemTags | The system tags. For more information, see CreateSystemTag. The resource type is VmInstanceVO. | Yes | 0.6 | |
timeout | Yes |