Creates a network package for an office network.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:CreateNetworkPackage |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to get the list of regions supported by Elastic Desktop Service. |
cn-hangzhou |
| Bandwidth |
integer |
Yes |
The bandwidth of the network package, in Mbps.
|
2 |
| OfficeSiteId |
string |
No |
The office network ID. |
cn-hangzhou+dir-363353**** |
| PayType |
string |
No |
The billing method. Valid values:
|
PrePaid |
| InternetChargeType |
string |
No |
The billing method for the network package.
Valid values:
|
PayByTraffic |
| Period |
integer |
No |
The subscription duration of the network package. This parameter is required and applies only when
Default value: 1. |
1 |
| PeriodUnit |
string |
No |
The unit of the subscription duration for the network package. This parameter is required and applies only when Valid values:
|
Week |
| AutoPay |
boolean |
No |
Specifies whether to enable auto-payment. Valid values:
|
false |
| AutoRenew |
boolean |
No |
Specifies whether to enable auto-renewal. Valid values:
|
false |
| PromotionId |
string |
No |
The promotion ID. |
23141 |
| ResellerOwnerUid |
integer |
No |
||
| ChannelCookie |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| NetworkPackageId |
string |
The ID of the created network package. |
np-amtp8e8q1o9e4**** |
| RequestId |
string |
The ID of the request. |
269BDB16-2CD8-4865-84BD-11C40BC21DB0 |
| OrderId |
string |
The ID of the order. |
234526262716724 |
Examples
Success response
JSON format
{
"NetworkPackageId": "np-amtp8e8q1o9e4****",
"RequestId": "269BDB16-2CD8-4865-84BD-11C40BC21DB0",
"OrderId": "234526262716724"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | RISK.RISK_CONTROL_REJECTION | In order to protect the security of your account, the order was suspended, please contact customer service for details. | In order to protect the security of your account, the order was suspended, please contact customer service for details. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.