Query Priority Policy Rules (v2.0)
POST/v2.0/api/tenants/:tenant_id/prioritypolicyrules/query
Query the priority policy rules.
Request
Path Parameters
The tenant ID.
- application/json
Body
Query details for Priority Policy rules
- Array [
- ]
aggregate Aggregate
The aggregate number of priority policy rules that match the query parameters.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number of priority policy rules deleted for a time frame.
Group the priority policy rules for the query.
Lists the priority policy rules by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items PriorityPolicyRuleQueryFilter[]
The app definition IDs that have applied priority policy rules. The number of applications for a policy rule is limited to 256.
The description of the priority policy rule. Max size = 256.
The destination prefix ID.
dscp DSCP
The DSCP value - When policy rules with marked DSCP bits are applied to a site, the ION branch device will honor the bits in the first packet on an unknown application flow, and queue the flow in the specified priority class.
The DSCP value.
The priority policy rules based on rules that are enabled.
The priority policy rule ID.
The name of the priority policy rule. Max size = 128.
The network context applied to the priority policy rule. Network context segments network traffic for the purpose of applying different QoS policy rules for the same application.
The order number. The default order number for a policy rule is 1024.
The policy set ID.
The priority number. Priority determines the relative priority of network resources assigned to each application.
The source prefix ID. Source prefix filters are often added as exceptions.
A information field that can be added to identify the priority policy rule. Maximum 10 unique tags of length 1024 each are allowed.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"app_def_ids": [
"string"
],
"destination_prefixes_id": "string",
"dscp": {
"value": 0
},
"enabled": true,
"id": "string",
"name": "string",
"network_context_id": "string",
"order_number": 0,
"policyset_id": "string",
"priority_number": 0,
"source_prefixes_id": "string",
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_REQUEST"
}
]
}
}