Queries Smart Access Gateway (SAG) instances associated with specific access points in a region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:ListSmartAGByAccessPoint |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The ID of the region where the SAG instance is deployed. A region contains one or more access points. You can call the ListAccessPoints operation to query access points in a specific region. |
cn-shanghai |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 10. Maximum value: 50 . |
5 |
| AccessPointId |
integer |
Yes |
The ID of the access point. |
238 |
| PageNumber |
integer |
No |
The number of the page to return. Pages start from page 1. Default value: 1. |
1 |
| SmartAGStatus |
string |
No |
The status of the SAG instance. Valid values:
|
Active |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| TotalCount |
integer |
The number of SAG instances within the access point. |
16 |
| RequestId |
string |
The ID of the request. |
AE203140-5D0C-4B4D-88D1-D008206B3A01 |
| SmartAccessGateways |
array<object> |
The information about the SAG instance. |
|
|
object |
|||
| RoutingStrategy |
string |
The method that the SAG instance uses to synchronize Alibaba Cloud-facing routes. Valid values:
|
static |
| SmartAGName |
string |
The name of the SAG instance. |
test |
| SmartAGId |
string |
The ID of the SAG instance. |
sag-p86e06z4geaji1**** |
| SmartAGStatus |
string |
The status of the SAG instance. Valid values:
|
Active |
| SmartAGDescription |
string |
The description of the SAG instance. |
test |
| AssociatedCcnId |
string |
The ID of the Cloud Connect Network (CCN) instance with which the SAG instance is associated. |
ccn-l42qf3vpvb**** |
| HardwareVersion |
string |
The model of the SAG device with which the SAG instance is associated. Valid values:
|
sag-1000 |
Examples
Success response
JSON format
{
"TotalCount": 16,
"RequestId": "AE203140-5D0C-4B4D-88D1-D008206B3A01",
"SmartAccessGateways": [
{
"RoutingStrategy": "static",
"SmartAGName": "test",
"SmartAGId": "sag-p86e06z4geaji1****",
"SmartAGStatus": "Active",
"SmartAGDescription": "test",
"AssociatedCcnId": "ccn-l42qf3vpvb****",
"HardwareVersion": "sag-1000"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.