Modifies the parameters 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
SmartAGId String Yes sag-jsy******************

The ID of the SAG instance.

Action String No ModifySmartAccessGatewayUpBandwidth

The name of this action.

Value: ModifySmartAccessGatewayUpBandwidth

RegionId String No cn-hangzhou

The ID of the region to which the SAG instance belongs.

UpBandwidth4G Integer No 3

The maximum upstream 4G Internet bandwidth of the SAG instance.

UpBandwidthWan Integer No 2

The maximum upstream bandwidth of the WAN port of the SAG instance.

Response parameters

Parameter Type Example value Description
RequestId String EE837E9F-BD50-4C2B-9E47-260F9D848480

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=ModifySmartAccessGatewayUpBandwidth
&SmartAGId=sag-jsy******************
&<CommonParameters>

Response example

XML format

<ModifySmartAccessGatewayUpBandwidthResponse>
	  <RequestId>68CE10C0-2EFF-4B82-9907-10AB7E2B0A6C</RequestId>
    </ModifySmartAccessGatewayUpBandwidthResponse>

JSON format

{
	"RequestId":"68CE10C0-2EFF-4B82-9907-10AB7E2B0A6C"
}

Errors

HTTP status code Error code Error message Description
403 MissingParameter The input parameter is missing, please check your input. One or more mandatory parameters are missing.
400 InvalidName The specified name is invalid. The specified name is invalid.
400 SAG.NotAllowConfigCidr You cannot specify a static CIDR block when the dynamic routing strategy is used. Static CIDR blocks cannot be configured in dynamic routing mode.
400 InvalidDescription The specified description is invalid. The description is invalid.
403 InvalidCidr Cidr is illegal, please check your input. The specified CIDR block is invalid.
400 SAG.InvalidRoutingStrategy The specified routing strategy is invalid. The specified routing mode is invalid.
403 InvalidId.SMARTAG The specified smart access gateway instance id is invalid. The specified SmartAGId is invalid.

For a list of error codes, visit the API Error Center.