Creates a premium bandwidth plan for an office network.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
Bandwidth | integer | Yes | The bandwidth provided by the premium bandwidth plan. Unit: Mbit/s.
| 10 |
OfficeSiteId | string | Yes | The office network ID. | cn-hangzhou+dir-363353**** |
PayType | string | No | The billing method of the premium bandwidth plan. Valid values:
| PrePaid |
InternetChargeType | string | No | The charge type of the premium bandwidth plan.
| PayByTraffic |
Period | integer | No | The subscription duration of the premium bandwidth plan. This parameter takes effect and is required only when the
Default value: 1. | 1 |
PeriodUnit | string | No | The unit of the subscription duration of the premium bandwidth plan. This parameter takes effect and is required only when the Valid values:
| Month |
AutoPay | boolean | No | Specifies whether to enable the automatic payment feature. Valid values:
| false |
AutoRenew | boolean | No | Specifies whether to enable auto-renewal for the premium bandwidth plan. Valid values:
| false |
PromotionId | string | No | The ID of the sales promotion. | 23141 |
Response parameters
Examples
Sample success responses
JSON
format
{
"NetworkPackageId": "np-amtp8e8q1o9e4****",
"RequestId": "269BDB16-2CD8-4865-84BD-11C40BC21DB0",
"OrderId": "234526262716724"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2021-08-19 | The request parameters of the API has changed | View Change Details |