AddBandwidthPackageIps
Description
Use the AddBandwidthPackageIps interface to add public IP to the NAT bandwidth package.
Request Method
POST
Request Path
/apsara/route/Vpc/AddBandwidthPackageIps
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
IpCount | BODY | string | Yes | 2 | number of public network IP in NAT bandwidth packet, value range:1~50. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
BandwidthPackageId | BODY | string | Yes | bwp-s6lmotmkk**** | ID of NAT bandwidth package. |
RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the NAT bandwidth package. You can obtain the region ID by calling the DescribeRegions interface. |
ClientToken | BODY | string | No | 02fb3da4-130e-11e9-8e44-0016e0**** | client token, used to ensure the idempotence of the request. The parameter value generated by the client must be unique between different requests, and the maximum value is no more than 64 ASCII characters. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}