Queries for deep packet inspection (DPI) configuration errors.
Operation description
If you configure an application-based Resource Access Management instance or a Quality of Service (QoS) policy instance and associate it with a Smart Access Gateway instance, you can call this operation to check whether the access control rules or QoS quintuple rules are successfully applied to the target Smart Access Gateway instance. If a configuration fails to apply, this operation returns information about the error.
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 ID of the region where the Smart Access Gateway instance is deployed. You can call the DescribeRegions operation to query the regions and their IDs that Smart Access Gateway supports. |
cn-shanghai |
| SmartAGId |
string |
No |
The ID of the Smart Access Gateway instance. |
sag-1e8sgws6b133b8**** |
| DpiConfigType |
string |
Yes |
The type of instance for which the DPI feature is configured:
|
qos |
| RuleInstanceId |
string |
No |
The ID of the instance for which the DPI feature is configured. |
qos-1strcafl4wghpb**** |
| NextToken |
string |
No |
The token for the next page of results. |
caeba0bbb2be03f84eb48b699f0a**** |
| MaxResults |
integer |
No |
The maximum number of configuration errors to return on each page. Valid values: 1 to 100. Default value: 10. |
10 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token for the next page of results. |
caeba0bbb2be03f84eb48b699f0a**** |
| RequestId |
string |
The request ID. |
F47B5293-27B6-48EF-A9C6-E90A41449813 |
| Total |
integer |
The total number of DPI configuration errors. |
1 |
| MaxResults |
integer |
The maximum number of configuration errors to return on each page. |
10 |
| DpiConfigError |
array<object> |
A list of DPI configuration errors. |
|
|
object |
The information about a DPI configuration error. |
||
| SN |
string |
The serial number of the Smart Access Gateway device. |
sag-2160808**** |
| SmartAGId |
string |
The ID of the Smart Access Gateway instance. |
sag-1e8sgws6b133b8**** |
| ErrorType |
string |
The type of the configuration error.
|
DeviceNotSupported |
| RuleConfigErrorList |
array<object> |
A list of rule configuration errors. |
|
|
object |
The information about a rule configuration error. |
||
| DpiSignatureIds |
array |
A list of IDs of applications that have configuration errors. |
|
|
string |
The ID of the application that has a configuration error. You can call the ListDpiSignatures operation to query application IDs and information about the applications. |
1 |
|
| RuleId |
string |
The ID of the rule that is associated with the application that has a configuration error.
|
qospy-axud4s62gz632b**** |
| DpiGroupIds |
array |
A list of IDs of application groups that have configuration errors. |
|
|
string |
The ID of the application group that has a configuration error. You can call the ListDpiGroups operation to query application group IDs and the applications that are included in the application groups. |
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.