Query Network Policy Set (v2.0)
POST/v2.0/api/tenants/:tenant_id/networkpolicysets/query
Query all the network policy sets.
Request
Path Parameters
The tenant ID.
- application/json
Body
Query details for Network Policy Set
The existing policy from Network Policies for cloning the policy set.
The default rule for the policy set.
The description of the network policy set. Max size = 256.
The network policy set ID.
The name of the network policy set.
A information field that can be added to identify the network policy set. Maximum 10 unique tags of length 1024 each are allowed.
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 NetworkPolicySetQueryFilter[]
The existing policy from Network Policies for cloning the policy set.
The default rule for the policy set.
The description of the network policy set. Max size = 256.
The network policy set ID.
The name of the network policy set.
A information field that can be added to identify the network policy set. 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": [
{
"clone_from": "string",
"defaultrule_policyset": true,
"id": "string",
"name": "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"
}
]
}
}