为办公网络创建一个公网精品带宽。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ecd:CreateNetworkPackage |
create |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
是 |
地域 ID。可以调用 DescribeRegions 获取无影云电脑支持的地域列表。 |
cn-hangzhou |
| Bandwidth |
integer |
是 |
公网精品带宽的带宽大小。单位:Mbps。
|
2 |
| OfficeSiteId |
string |
否 |
办公网络 ID。 |
cn-hangzhou+dir-363353**** |
| PayType |
string |
否 |
付费类型。 枚举值:
|
PrePaid |
| InternetChargeType |
string |
否 |
公网精品带宽的计费方式。
枚举值:
|
PayByTraffic |
| Period |
integer |
否 |
包年包月精品带宽的购买时长。当参数
默认值:1。 |
1 |
| PeriodUnit |
string |
否 |
包年包月精品带宽的购买时长单位。当参数 枚举值:
|
Week |
| AutoPay |
boolean |
否 |
是否自动支付。 枚举值:
|
false |
| AutoRenew |
boolean |
否 |
是否自动续费。 枚举值:
|
false |
| PromotionId |
string |
否 |
优惠活动 ID。 |
23141 |
| ResellerOwnerUid |
integer |
否 |
||
| ChannelCookie |
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回对象。 |
||
| NetworkPackageId |
string |
精品带宽 ID。 |
np-amtp8e8q1o9e4**** |
| RequestId |
string |
请求 ID。 |
269BDB16-2CD8-4865-84BD-11C40BC21DB0 |
| OrderId |
string |
账单 ID。 |
234526262716724 |
示例
正常返回示例
JSON格式
{
"NetworkPackageId": "np-amtp8e8q1o9e4****",
"RequestId": "269BDB16-2CD8-4865-84BD-11C40BC21DB0",
"OrderId": "234526262716724"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | RISK.RISK_CONTROL_REJECTION | In order to protect the security of your account, the order was suspended, please contact customer service for details. | 为保护您的账户安全,下单被中止,详情请联系客服。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。