Tags
You can create a user tag on an instance offering by using
resourceType=InstanceOfferingVO. For
example,
CreateUserTag resourceType=InstanceOfferingVO tag=web-server-offering \
resourceUuid=45f909969ce24865b1bbca4adb66710a
System Tags
Dedicated Primary Storage
When you create a VM instance, you can use a system tag to specify the primary storage on which root volumes will be created.
Tag | Description | Example | Starting Version |
---|---|---|---|
primaryStorage::allocator::uuid::{uuid} | If this tag exists, the root volume of the VM instance will be allocated on the primary storage with the specified UUID. If the specified primary storage does not exist, or if the specified primary storage does not have sufficient capacity, an allocation failure will be reported. | primaryStorage::allocator::uuid::b8398e8b7ff24527a3b81dc4bc64d974 | 0.6 |
primaryStorage::allocator::userTag::{tag}::required | If this tag exists, the root volume of the VM instance will be allocated on the primary storage with the specified user tag. If the primary storage with specified user tag does not exist, or if the specified primary storage does not have sufficient capacity, an allocation failure will be reported. | primaryStorage::allocator::userTag::SSD::required | 0.6 |
primaryStorage::allocator::userTag::{tag} | If this tag exists, the root volume of the VM instance will be allocated on the primary storage with the specified user tag. If the primary storage with specified user tag does not exist, or if the specified primary storage does not have sufficient capacity, ZStack Cloud will choose a random primary storage to allocate the root volume. | primaryStorage::allocator::userTag::SSD | 0.6 |
If more than one system tag mentioned above exists on an instance offering, the
precedent order is as
follows:
primaryStorage::allocator::uuid::{uuid} > primaryStorage::allocator::userTag::{tag}::\
required > primaryStorage::allocator::userTag::{tag}