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 |
---|---|---|---|---|
clusterUuid | The cluster UUID. | Yes | 2.1 | |
dataDiskOfferingUuids | The UUID of the disk offering used by the data volume. | Yes | 2.1 | |
defaultL3NetworkUuid | The UUID of the default L3 network. | Yes | 2.1 | |
imageUuid | The image UUID. | 2.1 | ||
l3NetworkUuids | The L3 network UUID. | 2.1 | ||
rootDiskOfferingUuid | The UUID of the disk offering used by the root volume. This parameter is required if the image type is ISO. | Yes | 2.1 | |
rootDiskSize | Optional. The size of the root volume. You need
to specify this parameter only when you set
imageUuid to ISO and do not specify
rootDiskOfferingUuid . |
Yes | 4.3.12 | |
zoneUuid | The zone UUID. | Yes | 2.1 | |
dataDiskSizes | Optional. The size of the data volume. | Yes | 4.3.12 | |
userTags | The user tags. For more information, see CreateUserTag. | Yes | 0.6 | |
systemTags | The system tags. For more information, see CreateSystemTag. | Yes | 0.6 | |
timeout | Yes |