GetCandidatePrimaryStoragesForCreatingVm

Obtains the candidate primary storages that can be used to create a VM instance. For example,
GetCandidatePrimaryStoragesForCreatingVm l3NetworkUuids=a2fd057c28b4417282faf5b8e2502662 imageUuid=001ab9827b3d566f91ad985d0d41dd72

Parameters

Name Description Optional Valid Value Starting Version
imageUuid The image UUID. 2.1
l3NetworkUuids The L3 network UUID. 2.1
rootDiskOfferingUuid The cloud disk specification UUID used for the root cloud disk. Required and optional when the image type is ISO. Yes 2.1
rootDiskSize Custom root cloud disk size. Only needs to be spcified when the image specified by the imageUuidis YesISO and rootDiskOfferingUuidis empty. Yes 4.1.2
dataDiskOfferingUuids The cloud disk specification UUID used for the data cloud disk. Yes 2.1
dataDiskSizes Custom data cloud disk size. Yes 4.3.9
zoneUuid The zone UUID. Yes 2.1
clusterUuid The cluster UUID. Yes 2.1
defaultL3NetworkUuid Default L3 network UUID. Yes 2.1
systemTags The system tags. For more information, see CreateSystemTag. The resource type is VmInstanceVO. Yes 2.1
userTags The user tags. For more information, see CreateUserTag. The resource type is VmInstanceVO. Yes 2.1
instanceOfferingUuid The instance offering UUID. Yes 5.4.0
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center