Query DB for LAN Networks (v2.0)
POST/v2.0/api/tenants/:tenant_id/securitypolicyrules/query
Query the DB for limit number of LAN networks that match query parameters.
Request
Path Parameters
The tenant ID.
- application/json
Body
Query details for LAN Networks
- Array [
- ]
aggregate Aggregate
The aggregate number of LAN networks that match the query parameters.
data AggregateData[]required
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 LAN networks deleted for a time frame.
Group the LAN networks for the query.
Lists the LAN networks 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 count of the query list.
The deleted number of queries.
The deleted query IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number of queries.
items SecurityPolicyRuleQueryFilter[]
The action taken for traffic matching this rule. It determine how the traffic from the specified source zone to the specified destination zone should respond.
The security policy rule application ID.
The description of the security policy rule. Max size = 256.
The destination filter IDs. Max list of prefix IDs is 16.
The destination zone IDs. Max list of zone IDs is 16.
The security policy rule, if disabled.
The security policy rule ID.
The name of the security policy rule. Max size = 128.
The security policy set ID.
The source filter IDs. Max list of IDs is 16.
The source zone IDs. Max list of IDs is 16.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"action": "string",
"application_ids": [
"string"
],
"destination_filter_ids": [
"string"
],
"destination_zone_ids": [
"string"
],
"disabled_flag": true,
"id": "string",
"name": "string",
"security_policyset_id": "string",
"source_filter_ids": [
"string"
],
"source_zone_ids": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_REQUEST"
}
]
}
}