创建共享带宽
描述
根据请求参数创建共享宽带。
请求参数
| 参数名 | 参数类型 | 是否必填 | 参数说明 |
|---|---|---|---|
| Region | String | 是 | 机房标识,取值参见地域列表 |
| Action | String | 是 | 操作方法:CreateCommonBandwidth |
| Name | String | 是 | 共享宽带名称 |
| BandwidthSize | Integer | 是 | 宽带大小,单位Mbps;支持20~100Mbps; |
| ProductModelId | Integer | 是 | 型号ID |
| PayType | String | 是 | 付费类型。取值范围: |
| Period | Integer | 是 | 购买年限周期: |
| AutoRenew | Integer | 否 | 是否开启自动续费,1开启 |
返回参数
| 名称 | 类型 | 说明 |
|---|---|---|
| Action | String | 执行的操作 |
| TaskId | String | 请求标识 |
| CommonBandwidthId | String | 共享宽带ID |
请求示例
https://api.chinac.com/v2/?Action=CreateCommonBandwidth
&Region=cn-wuxi
&Name=csbwtest001
&BandwidthSize=20
&ProductModelId=10086
&PayType=PREPAID
&AutoRenew=1
&Period=1
&<公共请求参数>
返回示例
{
"code": 10000,
"message": "",
"data": {
"TaskId": "bb112c20170506133720502",
"Action": "CreateCommonBandwidth",
"CommonBandwidthId" : "b-tq73j7la0719f"
}
}