Create NAT Policy Set Stack (v2.0)
POST/sdwan/v2.0/api/natpolicysetstacks
Create a new NAT policy set stack.
Request
- application/json
Body
Details of NAT Policy Set to be created
default_policysetstack boolean
The default policy set stack.
description
The description of the policy set stack. Max size = 256.
id string
The ID of the policy set stack.
name stringrequired
The name of the policy set stack. Max size = 128.
policyset_ids string[]
The ID of the policy set.
tags string[]
A information field that can be added to identify the policy set stack. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
default_policysetstack boolean
The default policy set stack.
description
The ID of the policy set stack.
id string
Id
name stringrequired
The name of the policy set stack. Max size = 128.
policyset_ids string[]
The ID of the policy set.
tags string[]
A information field that can be added to identify the policy set stack. Maximum 10 unique tags of length 1024 each are allowed.
{
"default_policysetstack": true,
"id": "string",
"name": "string",
"policyset_ids": [
"string"
],
"tags": [
"string"
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "NAT_POLICYSET_STACK_NAME_REQD"
},
{
"code": "NAT_POLICYSET_STACK_NAME_EXCEEDS_LENGTH"
}
]
}
}
Loading...