CaaS / CVPC API Developer Center

Subnet

Description

create subnet of CVPC (ex 1) or CaaS (ex 2)

Request Parameter

Parameter Description Note
vpcBusinessServiceId

(necessary for creating CVPC subnet)

business service ID of VPC
Type : String
Default Value : No
Whether it is plural : No
intranetGatewayBusinessServiceId

(necessary for creating CaaS subnet)

business service ID of intranet gateway
Type : String
Default Value : No
Whether it is plural : No
subnetName

(not a necessary parameter)

name
Type : String
Default Value : No
Whether it is plural : No
subnet IP subnet
Type : String
Default Value : No
Whether it is plural : No

Response Parameter

Parameter Description Note

requestId

(not a necessary parameter)

request ID
Type : JSON value : string
Whether it is plural : No
automatically produced by the system
orderUuidList order UUID list
Type : JSON value : array
Occasion : For order enquiries
Whether it is plural : Yes
string list

Response Example

ex 1:
https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=createSubnet
&vpcBusinessServiceId=VV55020001IOSE
&subnetName=mySubnet
&subnet=192.168.1.0/24
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}

ex 2:
https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=createSubnet
&intranetGatewayBusinessServiceId=UG55020001IOS8
&subnetName=mySubnet
&subnet=192.168.1.0/24
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}

		

Response Example

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