Queries deep packet inspection (DPI) configuration exceptions.
Operation description
If you have configured an application-based access control instance or a quality of service (QoS) policy instance and associated it with a Smart Access Gateway instance, you can invoke this operation to check whether the access control rules or 5-tuple rules of the QoS policy that you created are successfully applied to the destination Smart Access Gateway instance. If any configurations fail to be applied, this operation returns the configuration exception information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
smartag:ListDpiConfigError |
get |
*SmartAccessGateway
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Smart Access Gateway instance. You can invoke the DescribeRegions operation to query the regions supported by Smart Access Gateway and the corresponding region IDs. |
cn-shanghai |
| SmartAGId |
string |
No |
The instance ID of the Smart Access Gateway. |
sag-1e8sgws6b133b8**** |
| DpiConfigType |
string |
Yes |
The type of the instance for which the DPI feature is configured. Valid values:
Valid values:
|
qos |
| RuleInstanceId |
string |
No |
The instance ID for which the DPI feature is configured. |
qos-1strcafl4wghpb**** |
| NextToken |
string |
No |
The token used to start the next query. |
caeba0bbb2be03f84eb48b699f0a**** |
| MaxResults |
integer |
No |
The maximum number of entries allowed per page in a paged query. Valid values: 1 to 100. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token used to start the next query. |
caeba0bbb2be03f84eb48b699f0a**** |
| RequestId |
string |
The request ID. |
F47B5293-27B6-48EF-A9C6-E90A41449813 |
| Total |
integer |
The total number of DPI configuration exception entries. |
1 |
| MaxResults |
integer |
The maximum number of entries allowed per page in a paged query. |
10 |
| DpiConfigError |
array<object> |
The list of DPI configuration exceptions. |
|
|
array<object> |
The DPI configuration exception. |
||
| SN |
string |
The serial number of the Smart Access Gateway device. |
sag-2160808**** |
| SmartAGId |
string |
The instance ID of the Smart Access Gateway. |
sag-1e8sgws6b133b8**** |
| ErrorType |
string |
The type of the configuration exception. Valid values:
|
DeviceNotSupported |
| RuleConfigErrorList |
array<object> |
The list of DPI configuration exceptions. |
|
|
object |
The DPI configuration exception. |
||
| DpiSignatureIds |
array |
The IDs of the applications that have configuration exceptions. |
|
|
string |
The ID of the application that has a configuration exception. You can call the ListDpiSignatures operation to query application IDs and the corresponding application information. |
1 |
|
| RuleId |
string |
The instance IDs of the rules associated with the applications that have configuration exceptions.
|
qospy-axud4s62gz632b**** |
| DpiGroupIds |
array |
The IDs of the application groups that have configuration exceptions. |
|
|
string |
The ID of the application group that has a configuration exception. You can call the ListDpiGroups operation to query application group IDs and the applications contained in each group. |
1 |
Examples
Success response
JSON format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0a****",
"RequestId": "F47B5293-27B6-48EF-A9C6-E90A41449813",
"Total": 1,
"MaxResults": 10,
"DpiConfigError": [
{
"SN": "sag-2160808****",
"SmartAGId": "sag-1e8sgws6b133b8****",
"ErrorType": "DeviceNotSupported",
"RuleConfigErrorList": [
{
"DpiSignatureIds": [
"1"
],
"RuleId": "qospy-axud4s62gz632b****",
"DpiGroupIds": [
"1"
]
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.