You can call this operation to query the number of Smart Access Gateway (SAG) instances that you can purchase.
Debugging
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. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=GetSmartAccessGatewayUseLimit
&RegionId=cn-hangzhou
&<Common request parameter>
Sample success responses
XML
format
<GetSmartAccessGatewayUseLimitResponse>
<RequestId>2265DB11-F5CC-496E-ADE7-D043AC37926A</RequestId>
<TotalAmount>500</TotalAmount>
<UsedAmount>47</UsedAmount>
</GetSmartAccessGatewayUseLimitResponse>
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.