CreateDiskOffering
Creates a disk offering. For
example,
CreateDiskOffering name=test diskSize=100
Parameters
Name | Description | Optional | Valid Value | Starting Version |
---|---|---|---|---|
name | The disk offering name. | 0.6 | ||
description | The detailed description of the disk offering. | Yes | 0.6 | |
diskSize | The volume size. | 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 DiskOfferingVO. | Yes | 0.6 | |
systemTags | The system tags. For more information, see CreateSystemTag. The resource type is DiskOfferingVO. | Yes | 0.6 | |
timeout | Yes |

- When you create a disk offering in ZStack Cloud,
you can customize the disk offering parameters by adding the
diskOfferingUserConfig option to SystemTags.
- Format of the diskOfferingUserConfig option:
diskOfferingUserConfig::xxx
. Here, xxx must be a JSON string.
- Format of the diskOfferingUserConfig option: