Queries the number of Smart Access Gateway devices that can be purchased.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
RegionId String Yes cn-hangzhou

The area to which the Smart Access Gateway device belongs.

Action String No GetSmartAccessGatewayUseLimit

The name of this action.

Value: GetSmartAccessGatewayUseLimit

Response parameters

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

The ID of the request.

TotalAmount Integer 500

The number of Smart Access Gateway devices that can be purchased.

UsedAmount Integer 47

The number of Smart Access Gateway devices that have been purchased.

Examples

Request example


https://smartag.cn-shanghai.aliyuncs.com/?Action=GetSmartAccessGatewayUseLimit
&SmartAGId=sag-0ovhf732a9j0pt0aeo
&Name=DocTest
&CommonParameters

Response examples

XML format

https://smartag.cn-shanghai.aliyuncs.com/?Action=GetSmartAccessGatewayUseLimit
&SmartAGId=sag-0ovhf732a9j0pt0aeo
&Name=DocTest
&CommonParameters

JSON format

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

Error codes

HTTP status code Error code Error message Description
403 Forbidden User not authorized to operate on the specified resource. You are not authorized to operate on this resource.

See common error codes.