为办公网络创建一个公网精品带宽。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 | 
|---|---|---|---|---|
| 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 | 
返回参数
示例
正常返回示例
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. | 为保护您的账户安全,下单被中止,详情请联系客服。 | 
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 | 
|---|---|---|
| 2021-08-19 | OpenAPI 入参发生变更 | 查看变更详情 | 
