Query Policy Sets (v2.0)
POST/sdwan/v2.0/api/natpolicysets/query
Queries all the NAT policy sets.
Request
- application/json
Body
Query details for Policy Set
The policy set that has been cloned from.
The description of the NAT policy set. Max size = 256.
The destination zone where the policy rule order is clasified.
The ID of the policy set.
The name of the NAT policy set. Max size = 128.
The order of the NAT policy source zone rules.
A information field that can be added to identify the NAT 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.
Total number.
items NATPolicySetQueryFilter[]
The policy set that has been cloned from.
The description of the NAT policy set. Max size = 256.
The destination zone where the policy rule order is clasified.
The ID of the policy set.
The name of the NAT policy set. Max size = 128.
The order of the NAT policy source zone rules.
A information field that can be added to identify the NAT policy set. Maximum 10 unique tags of length 1024 each are allowed.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"total_count": 0,
"items": [
{
"clone_from": "string",
"destination_zone_policyrule_order": [
"string"
],
"id": "string",
"name": "string",
"source_zone_policyrule_order": [
"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"
}
]
}
}