You can call this operation to query the number of Smart Access Gateway (SAG) instances that you can purchase.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No GetSmartAccessGatewayUseLimit

The operation that you want to perform.

Set the value to GetSmartAccessGatewayUseLimit .

RegionId String Yes cn-hangzhou

The ID of the region where the SAG instance is deployed.

Response parameters

Parameter Type Example Description
RequestId String 2265DB11-F5CC-496E-ADE7-D043AC37926A

The ID of the request.

TotalAmount Integer 500

The total number of SAG instances that you can purchase.

UsedAmount Integer 47

The number of SAG instances that you have purchased.


Sample requests

http(s)://[Endpoint]/? Action=GetSmartAccessGatewayUseLimit
&<Common request parameter>

Sample success responses

XML format


JSON format

  "RequestId": "2265DB11-F5CC-496E-ADE7-D043AC37926A",
  "TotalAmount": 500,
  "UsedAmount": 47

Error codes

HttpCode Error code Error message Description
403 Forbidden User not authorized to operate on the specified resource. The error message returned because you do not have the permission to manage the specified resource.

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