Create IPFix Site Prefix Association (v2.0)
POST/v2.0/api/tenants/:tenant_id/sites/:site_id/ipfixlocalprefixes
Create an IPFix site prefix association.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
site_id stringrequired
ID of the site.
- application/json
Body
id string
The ID of the IPFIX site prefix.
ipv4_prefixes string[]
The individual IP address.
prefix_id string
The IP Prefix ID that associates with a site.
tags string[]
An information field that can be added to identify the IPFIX site prefix. Maximum 10 unique tags of length 1024 each are allowed.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
id string
The ID of the IPFIX prefix.
ipv4_prefixes string[]
The individual IP address.
prefix_id string
The prefix ID that associates with a site.
tags string[]
A information field that can be added to identify the prefix. Maximum 10 unique tags of length 1024 each are allowed.
{
"id": "string",
"ipv4_prefixes": [
"string"
],
"prefix_id": "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_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "INVALID_REQUEST_DUPLICATE_KEY"
},
{
"code": "NAME_REQD"
},
{
"code": "DESCRIPTION_EXCEEDS_LIMIT"
},
{
"code": "INVALID_TAG"
},
{
"code": "SITE_NOT_FOUND"
},
{
"code": "LOCAL_PREFIX_NOT_FOUND"
},
{
"code": "INVALID_IPV4_PREFIX"
}
]
}
}
Loading...