createNat
Description
createNat
Request Method
POST
Request Path
/customer/nat/create
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
gatewayType | BODY | string | Yes | No sample value for this parameter. | gateway type(Specifications: Small、Middle、Large、XLarge.1) |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
billingMethod | BODY | string | Yes | No sample value for this parameter. | billing method |
vpcId | BODY | string | Yes | No sample value for this parameter. | vpc id |
sharingScope | BODY | string | Yes | No sample value for this parameter. | sharing scope(0 is the current resource set. 1 is the current organization and its subordinate organizations) |
name | BODY | string | Yes | No sample value for this parameter. | nat name |
voucherInstanceId | BODY | string | Yes | No sample value for this parameter. | voucher of the order |
couponInstanceId | BODY | string | Yes | No sample value for this parameter. | coupon of the order |
autoRenewalFlag | BODY | boolean | Yes | No sample value for this parameter. | auto renew |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
result | object | `{"instanceId":"ngw-nj3m57puyejsw0ou1g2yq","orderId":2.0220726202150999E+18}` | No description for this parameter. |
resultCode | string | 0 | No description for this parameter. |
resultMsg | string | success | No description for this parameter. |
Example
Successful Response example
{
"result":
{
"instanceId":"ngw-nj3m57puyejsw0ou1g2yq",
"orderId":2.0220726202150999E+18
},
"resultCode":"0",
"resultMsg":"success"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}