Query Performance Policy Rules (v2.1)
POST/v2.1/api/tenants/:tenant_id/perfmgmtpolicyrules/query
Query the performance management policy rules.
Request
Path Parameters
The tenant ID.
- application/json
Body
Details of the query for PERFMGMT Policy Rule
- Array [
- ]
aggregate Aggregate
The aggregate number of performance 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 performance policy rules deleted for a time frame.
Group the performance policy rules for the query.
List the performance policy rules by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Query using query parameters.
Retrieve information from a field.
List the fields to query.
Specify the order in which you want the search criteria to display.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- 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 PerfMgmtPolicyRuleQueryFilterV2N1[]
actions PerfMgmtActionV2N1[]
The valid actions configured for the performance policy rule.
Possible values: [RAISE_ALARM
, MOVE_FLOWS
, MOVE_FLOWS_FORCED
, FEC
, VISIBILITY
, APP_ACCELERATION
, PACKET_DUPLICATION
]
The values of the action type for the performance policy rule.
app_perf PerfMgmtActionParameters
The details of the application performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
circuit_utilization_perf PerfMgmtActionParameters
The details of the circuit utilization parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
lqm_perf PerfMgmtActionParameters
The details of the LQM performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
probe_perf PerfMgmtActionParameters
The details of the probe performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
sys_perf PerfMgmtActionParameters
The details of the system performance parameters.
bad_health_thresholds PerfMgmtHealthThresholds
Lists the valid / invalid performance policy rules thresholds.
The clear_below value should be between 1-80L.
The raise_above value should be between 10-100L.
Possible values: [AGGRESSIVE
, MODERATE
, CONSERVATIVE
]
The monitoring approach for the rule.
app_filters ApplicationFilter
The details of the app filters used for the performance policy rule.
Possible values: [RT_AUDIO
, RT_VIDEO
, TRANSACTIONAL
, BULK
]
Lists the app transfer types. Maximum 4 app transfer types are supported.
Lists the application IDs in a rule. Maximum 64 applications can be specified in a rule.
The description of the performance policy rule. Max characters = 256.
Lists if the performance policy rule is enabled.
Lists the performance policy rules by ID.
The name of the performance policy rule.
path_filters PathFilter[]
Lists the path filters applied. Maximum 32 path filters are supported.
The policy rule path label.
Possible values: [vpn
, direct
, servicelink
, all
]
The path type specified in the path filter.
Lists the service label IDs. Maximum 32 service labels are supported.
A information field that can be added to identify the performance policy rule. Maximum 10 unique tags of length 1024 each are allowed.
Lists the threshold profile IDs.
Possible values: [APP_CIRCUIT_HEALTH
, SYSTEM_SITE_HEALTH
]
The type of performance policy rule.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"actions": [
{
"action_type": "RAISE_ALARM",
"app_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"circuit_utilization_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"lqm_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"probe_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
},
"sys_perf": {
"bad_health_thresholds": {
"clear_below": 0,
"raise_above": 0
},
"monitoring_approach": "AGGRESSIVE"
}
}
],
"app_filters": {
"app_transfer_types": [
"RT_AUDIO"
],
"application_ids": [
"string"
]
},
"enabled": true,
"id": "string",
"name": "string",
"path_filters": [
{
"label": "string",
"path_type": "vpn"
}
],
"service_label_ids": [
"string"
],
"tags": [
"string"
],
"thresholdprofile_id": "string",
"type": "APP_CIRCUIT_HEALTH"
}
]
}
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_QUERY_REQUEST"
}
]
}
}