Create Anynet Link (v3.4)
POST/v3.4/api/tenants/:tenant_id/anynetlinks
Create an anynet link.
Request
Path Parameters
The tenant ID.
- application/json
Body
The interface admin state.
The anynet link description. Max size = 256.
Ep1 Site Id
Ep1 Wan If Id
Ep2 Site Id
Ep2 Wan If Id
Forced
The anynet link ID.
The anynet link name. Max size = 128.
A information field that can be added to identify the anynet link. Maximum 10 unique tags of length 1024 each are allowed.
The active user tenant ID.
Possible values: [AUTO
, MANUAL
, AUTO_PRIVATE
, MANUAL_PRIVATE
, AUTO_SASE
]
Anynet link type.
vpnlink_configuration VPNLinkConfiguration
The configuration of the VPN link.
The VPN keep alive failure count (must be between 3 and 30).
The VPN keep alive timeout interval (must be between 100ms-1740,000ms).
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
The interface admin state.
The anynet link description. Max size = 256.
Disabled
Disabled Reason: Size(max = 5000, DISABLED_REASON_INVALID_0001, min = 0)
Ep1 Branch Gateway
Ep1 Site Id
Possible values: [NONE
, HUB
, SPOKE
, PA_WE_BR
, PA_WE_DC
, PA_CONN
]
Ep1 Site Role
Ep1 Wan Interface Id
Ep2 Branch Gateway
Ep2 Site Id
Possible values: [NONE
, HUB
, SPOKE
, PA_WE_BR
, PA_WE_DC
, PA_CONN
]
Ep2 Site Role
Ep2 Wan Interface Id
The anynet link ID.
Inactive
Inactive Reason: Size(max = 5000, INACTIVE_REASON_INVALID_0001, min = 0)
The anynet link name. Max size = 128.
Region
Site Id: Digits(fraction = 0, integer = 50, SITEID_INVALID) NotNull
A information field that can be added to identify the anynet link. Maximum 10 unique tags of length 1024 each are allowed.
Target Serviceendpoint Id
The active user tenant ID.
Possible values: [AUTO
, MANUAL
, AUTO_PRIVATE
, MANUAL_PRIVATE
, AUTO_SASE
]
Anynet link type.
vpnlink_configuration VPNLinkConfiguration
The configuration of the VPN link.
The VPN keep alive failure count (must be between 3 and 30).
The VPN keep alive timeout interval (must be between 100ms-1740,000ms).
{
"admin_up": true,
"disabled": true,
"disabled_reason": "string",
"ep1_branch_gateway": true,
"ep1_site_id": "string",
"ep1_site_role": "NONE",
"ep1_wan_interface_id": "string",
"ep2_branch_gateway": true,
"ep2_site_id": "string",
"ep2_site_role": "NONE",
"ep2_wan_interface_id": "string",
"id": "string",
"inactive": true,
"inactive_reason": "string",
"name": "string",
"region": "string",
"site_id": "string",
"tags": [
"string"
],
"target_serviceendpoint_id": "string",
"tenant_id": "string",
"type": "AUTO",
"vpnlink_configuration": {
"keep_alive_failure_count": 0,
"keep_alive_interval": 0
}
}
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": "INVALID_JSON_INPUT"
},
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "TOPOLOGY_REBUILD_IN_PROGRESS"
}
]
}
}