CaaS / CVPC API Developer Center

NAT

Description

create Port Forwarding

Request Parameter

Parameter Description Note
vpcBusinessServiceId business service ID of VPC
Type : String
Default Value : No
Whether it is plural : No
portFwdName

(not a necessary parameter)

name
Type : String
Default Value : No
Whether it is plural : No
originalIp original IP
Type : String
Default Value : No
Whether it is plural : No
translatedIp translated IP
Type : String
Default Value : No
Whether it is plural : No
originalPort original port
Type : Integer
Default Value : No
Whether it is plural : No
translatedPort translated port
Type : Integer
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

https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=createPortFwd
&vpcBusinessServiceId=VV55020001IOSE
&portFwdName=myPortFwd
&originalIp=210.65.100.1
&translatedIp=192.168.0.1
&originalPort=80
&translatedPort=8080
&chtAuthType=hwspass
&version=${version}
&expires=${expires}
&accessKey=${accessKey}
&signature=${signature}
		

Response Example

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