Increases the bandwidth of a Smart Access Gateway (SAG) instance.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
AutoPay | Boolean | Yes | true |
Indicates whether to automatically pay the bill for a subscription instance. Valid values: true | false. Default value: false |
BandWidthSpec | Long | Yes | 3 |
The bandwidth of the SAG instance.
|
RegionId | String | Yes | cn-hangzhou |
The ID of the region to which the SAG instance belongs. |
SmartAGId | String | Yes | sag-d3m51apgw4po****** |
The ID of the SAG instance. |
Action | String | No | UpgradeSmartAccessGateway |
The name of this action. Value: UpgradeSmartAccessGateway |
DataPlan | Long | No | 5 |
The amount of free data available for the account. Unit: GB |
UserCount | Integer | No | 10 |
The number of accounts that can be created to log on to the SAG APP. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
OrderId | String | 203384676330296 |
The ID of the order. |
RequestId | String | 45F07029-1783-4B2D-B4CE-45B9EAA58440 |
The ID of the request. |
Examples
Request example
http(s)://[Endpoint]/? AutoPay=true
&BandWidthSpec=3
&RegionId=cn-hangzhou
&SmartAGId=sag-d3m51apgw4po******
&<CommonParameters>
Response example
XML
format
<UpgradeSmartAccessGateway>
<RequestId>45F07029-1783-4B2D-B4CE-45B9EAA58440</RequestId>
<OrderId>203384676330296</OrderId>
</UpgradeSmartAccessGateway>
JSON
format
{
"OrderId":203384676330296,
"RequestId":"45F07029-1783-4B2D-B4CE-45B9EAA58440"
}
Errors
HTTP status code | Error code | Error message | Error message |
---|---|---|---|
400 | SAG.InvalidUserCount | The specified UserCount is invalid. | The specified number of accounts is invalid. |
400 | SAG.InvalidDataPlan | The specified DataPlan is invalid. | The specified data plan is invalid. |
For a list of error codes, visit the API Error Center.