CreateInstanceOffering
Creates an instance offering. For
example,
CreateInstanceOffering name=test cpuNum=1 memorySize=2097152000
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
name | The instance offering name. | 0.6 | ||
description | The detailed description of the instance offering. | Yes | 0.6 | |
cpuNum | The number of CPUs. | 0.6 | ||
memorySize | The memory size. Unit: byte. | 0.6 | ||
allocatorStrategy | The allocator strategy. | Yes |
|
0.6 |
sortKey | The sort key. | Yes | 0.6 | |
type | The type. | Yes | 0.6 | |
resourceUuid | The resource UUID. If specified, the image will use the specified value as UUID. | Yes | 0.6 | |
userTags | The user tags. For more information, see CreateUserTag. The resource type is InstanceOfferingVO. | Yes | 0.6 | |
systemTags | The system tags. For more information, see CreateSystemTag. The resource type is InstanceOfferingVO. | Yes | 0.6 | |
timeout | Yes |

- When you create an instance offering in ZStack Cloud, you can add a GPU specification by
adding the pciRom option to SystemTags.
- Format of the pciRom option:
pciRomUuid::UUID
. Here, the UUID is the UUID of the PCI device firmware. - Example:
pciRomUuid::5fd71606d5af451d981413f35367a8d6
- Format of the pciRom option:
- When you create an instance offering in ZStack Cloud, you can customize the instance offering
parameters by adding the instanceOfferingUserConfig option to
SystemTags.
- Format of the instanceOfferingUserConfig option:
instanceOfferingUserConfig::xxx
. Here, xxx must be a JSON string.
- Format of the instanceOfferingUserConfig option: