Enables or disables deep packet inspection (DPI) for a Smart Access Gateway (SAG) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:SetAdvancedMonitorState |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the SAG instance. Call DescribeRegions to query available regions. |
cn-shanghai |
| SagId |
string |
Yes |
The ID of the SAG instance. |
sag-**** |
| Enable |
boolean |
Yes |
Whether to enable DPI. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
324223F3-93D3-4CE4-B26F-66C0C3809922 |
| Code |
string |
The response code. |
200 |
| Message |
string |
The response message. |
Success |
Examples
Success response
JSON format
{
"RequestId": "324223F3-93D3-4CE4-B26F-66C0C3809922",
"Code": "200",
"Message": "Success"
}
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.