SetVolumeQoS

Sets the volume QoS. For example,
SetVolumeQos uuid=30b1f7abb7884b80bbdacaf0fd1c7fe9 volumeBandwidth=10000

Parameters

Name Description Optional Valid Value Starting Version
uuid The volume UUID. 0.6
volumeBandwidth The volume bandwidth. 0.6
mode Yes
  • total
  • read
  • write
3.1.0
readBandwidth Yes 4.4.0
writeBandwidth Yes 4.4.0
totalBandwidth Yes 4.4.0
readIOPS Yes 4.4.0
writeIOPS Yes 4.4.0
totalIOPS Yes 4.4.0
userTags The user tags. For more information, see CreateUserTag. The resource type is VolumeVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is VolumeVO. Yes 0.6
timeout Yes
Note:
  • ZStack Cloud allows you to set the QoS read bandwidth for a volume by adding the volumeReadBandwidth option to SystemTags.
    • Format of the volumeReadBandwidth option: volumeReadBandwidth::xxx. Here, xxx is the read bandwidth.
    • Example: volumeReadBandwidth::20971520
  • ZStack Cloud allows you to set the QoS write bandwidth for a volume by adding the volumeWriteBandwidth option to SystemTags.
    • Format of the volumeWriteBandwidth option: volumeWriteBandwidth::xxx. Here, xxx is the write bandwidth.
    • Example: vvolumeWriteBandwidth::20971520