Get VPN Link Admin State (v2.0)
GET/v2.0/api/tenants/:tenant_id/vpnlinks/:vpn_link_id/state
List the admin state of the VPN link.
Request
Path Parameters
tenant_id stringrequired
ID of the tenant.
vpn_link_id stringrequired
The ID of the VPN link.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
al_id string
Al Id
enabled boolean
The enabled states on a VPN link.
id string
The ID of the VPN link.
{
"al_id": "string",
"enabled": true,
"id": "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": "VPL_NOT_FOUND"
},
{
"code": "VPL_ACTION_INSUFFICIENT_VPE"
}
]
}
}
Loading...