CaaS / CVPC API Developer Center

EBS

Directions

createVolume means to apply for a new storage space. Parameter radix refers to application quantity, unit 100GB. The total number of volumes in the same VM is 5 at most. The total space of the volumes in the same VM is 2TB at most (2TB = 20 * 100GB)

Request Parameter

Parameter Directions Note
instanceId Source VM Instance ID
Type : String
Default Value : No
Whether it is plural : No
radix Application Quantity
Type : Integer
Occasion : Maximum value 20 and minimum value 1
Default Value : No
Whether it is plural : No
Unit is 100GB

volumeName

(Not a necessary parameter)

EBS Name
Type : String
Default Value : No
Whether it is plural : No

Response Parameter

Parameter Directions Note

requestId

(Not a necessary parameter)

Request ID
Type : JSON value : string
Whether it is plural : No
It is automatically produced by the system
orderUuidList List of Order Number
Type : JSON value : array
Occasion : For order inquires Whether it is plural : Yes
string List

Request Example

https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=createVolume
&instanceId=BV550100010004
&radix=1
&volumeName=myVolume
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}
		

Response Example

{
	"requestId": "xxxEXAMPLE",
	"orderUuidList":["f9hra2c9-7eda-4106-b1c7-clefgd5d7e84"]
}