Queries the status of the advanced monitoring feature for a specified Smart Access Gateway instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:GetAdvancedMonitorState |
get |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SagId |
string |
Yes |
The ID of the Smart Access Gateway instance. |
sag-asdfz6ac74oj5v**** |
| RegionId |
string |
Yes |
The ID of the region where the Smart Access Gateway instance is deployed. Call the DescribeRegions operation to obtain the region ID. |
cn-shanghai |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
324223F3-93D3-4CE4-B26F-66C0C3809922 |
| Code |
string |
The response code. |
200 |
| Message |
string |
The response message. |
Success |
| Data |
array<object> |
||
|
object |
|||
| Enable |
boolean |
Indicates whether the advanced monitoring feature is enabled. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "324223F3-93D3-4CE4-B26F-66C0C3809922",
"Code": "200",
"Message": "Success",
"Data": [
{
"Enable": true
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | FeatureNotSupport | The current edition of the smart access gateway does not support this feature. | The current version of Smart Access Gateway does not support this feature. |
| 403 | FeatureNotSupportForActiveSmartAG | The current edition of the active smart access gateway does not support this feature. | The current edition of the active SAG instance does not support this feature. |
| 403 | FeatureNotSupportForStandBySmartAG | The current edition of the standby smart access gateway does not support this feature. | The current version of Smart Access Gateway does not support this feature. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.