Create NAT Global Prefix (v2.0)
POST/sdwan/v2.0/api/natglobalprefixes
Create a new NAT global prefix.
Request
- application/json
Body
Details of the NATprefix to be created
description
The description for the global NAT prefix. Max size = 256.
id string
The ID of the global NAT prefix.
ipv4_prefixes string[]
Lists the IP addresses.
name stringrequired
The name of the global NAT prefix. Max size = 128.
tags string[]
A information field that can be added to identify the global NAT prefix. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
description
The description for the global NAT prefix. Max size = 256.
id string
The ID of the global NAT prefix.
ipv4_prefixes string[]
Lists the IP addresses.
name stringrequired
The name of the global NAT prefix. Max size = 128.
tags string[]
A information field that can be added to identify the global NAT prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"name": "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_REQUEST_DUPLICATE_KEY"
},
{
"code": "NAT_PREFIX_INVALID_NAME"
},
{
"code": "NAT_PREFIX_NAME_REQUIRED"
},
{
"code": "NAT_PREFIX_INVALID_DESCRIPTION"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
}
]
}
}
Loading...