Create IPsec VPN Session
Create or fully replace IPSec VPN session for a given locale service under Tier-0. Revision is optional for creation and required for update.
Request
URLURL
Parameters
Parameters
Request Body
IPSecVpnSession (required){
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_protection": "string",
"_revision": 0,
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_system_owned": false,
"authentication_mode": "string",
"children": [
{
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_protection": "string",
"_revision": 0,
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_system_owned": false,
"description": "string",
"display_name": "string",
"id": "string",
"marked_for_delete": false,
"resource_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
]
}
],
"compliance_suite": "string",
"connection_initiation_mode": "string",
"description": "string",
"display_name": "string",
"dpd_profile_path": "string",
"enabled": false,
"id": "string",
"ike_profile_path": "string",
"local_endpoint_path": "string",
"marked_for_delete": false,
"parent_path": "string",
"path": "string",
"peer_address": "string",
"peer_id": "string",
"psk": "string",
"relative_path": "string",
"resource_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"tcp_mss_clamping": {
"direction": "string",
"max_segment_size": 0
},
"tunnel_profile_path": "string"
}
Timestamp of resource creation
ID of the user who created this resource
Timestamp of last modification
ID of the user who last modified this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity.
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Schema for this resource
Indicates system owned resource
Peer authentication mode. PSK - In this mode a secret key shared between local and peer sites is to be used for authentication. The secret key can be a string with a maximum length of 128 characters. CERTIFICATE - In this mode a certificate defined at the global level is to be used for authentication.
Possible values are: PSK, CERTIFICATE
subtree for this type within policy tree containing nested elements.
Compliance suite.
Possible values are: CNSA, SUITE_B_GCM_128, SUITE_B_GCM_256, PRIME, FOUNDATION, FIPS, NONE
Connection initiation mode used by local endpoint to establish ike connection with peer site. INITIATOR - In this mode local endpoint initiates tunnel setup and will also respond to incoming tunnel setup requests from peer gateway. RESPOND_ONLY - In this mode, local endpoint shall only respond to incoming tunnel setup requests. It shall not initiate the tunnel setup. ON_DEMAND - In this mode local endpoint will initiate tunnel creation once first packet matching the policy rule is received and will also respond to incoming initiation request.
Possible values are: INITIATOR, RESPOND_ONLY, ON_DEMAND
Description of this resource
Defaults to ID if not set
Policy path referencing Dead Peer Detection (DPD) profile. Default is set to system default profile.
Enable/Disable IPSec VPN session.
Unique identifier of this resource
Policy path referencing IKE profile to be used. Default is set according to system default profile.
Policy path referencing Local endpoint.
Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects.
Path of its parent
Absolute path of this object
Public IPV4 address of the remote device terminating the VPN connection.
Peer ID to uniquely identify the peer site. The peer ID is the public IP address of the remote device terminating the VPN tunnel. When NAT is configured for the peer, enter the private IP address of the peer.
IPSec Pre-shared key. Maximum length of this field is 128 characters.
Path relative from its parent
The type of this resource.
TCP Maximum Segment Size Clamping Direction and Value.
Policy path referencing Tunnel profile to be used. Default is set to system default profile.
Response
Response BodyResponse Body
{
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_protection": "string",
"_revision": 0,
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_system_owned": false,
"authentication_mode": "string",
"children": [
{
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_protection": "string",
"_revision": 0,
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_system_owned": false,
"description": "string",
"display_name": "string",
"id": "string",
"marked_for_delete": false,
"resource_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
]
}
],
"compliance_suite": "string",
"connection_initiation_mode": "string",
"description": "string",
"display_name": "string",
"dpd_profile_path": "string",
"enabled": false,
"id": "string",
"ike_profile_path": "string",
"local_endpoint_path": "string",
"marked_for_delete": false,
"parent_path": "string",
"path": "string",
"peer_address": "string",
"peer_id": "string",
"psk": "string",
"relative_path": "string",
"resource_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"tcp_mss_clamping": {
"direction": "string",
"max_segment_size": 0
},
"tunnel_profile_path": "string"
}
Timestamp of resource creation
ID of the user who created this resource
Timestamp of last modification
ID of the user who last modified this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity.
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Schema for this resource
Indicates system owned resource
Peer authentication mode. PSK - In this mode a secret key shared between local and peer sites is to be used for authentication. The secret key can be a string with a maximum length of 128 characters. CERTIFICATE - In this mode a certificate defined at the global level is to be used for authentication.
Possible values are: PSK, CERTIFICATE
subtree for this type within policy tree containing nested elements.
Compliance suite.
Possible values are: CNSA, SUITE_B_GCM_128, SUITE_B_GCM_256, PRIME, FOUNDATION, FIPS, NONE
Connection initiation mode used by local endpoint to establish ike connection with peer site. INITIATOR - In this mode local endpoint initiates tunnel setup and will also respond to incoming tunnel setup requests from peer gateway. RESPOND_ONLY - In this mode, local endpoint shall only respond to incoming tunnel setup requests. It shall not initiate the tunnel setup. ON_DEMAND - In this mode local endpoint will initiate tunnel creation once first packet matching the policy rule is received and will also respond to incoming initiation request.
Possible values are: INITIATOR, RESPOND_ONLY, ON_DEMAND
Description of this resource
Defaults to ID if not set
Policy path referencing Dead Peer Detection (DPD) profile. Default is set to system default profile.
Enable/Disable IPSec VPN session.
Unique identifier of this resource
Policy path referencing IKE profile to be used. Default is set according to system default profile.
Policy path referencing Local endpoint.
Intent objects are not directly deleted from the system when a delete is invoked on them. They are marked for deletion and only when all the realized entities for that intent object gets deleted, the intent object is deleted. Objects that are marked for deletion are not returned in GET call. One can use the search API to get these objects.
Path of its parent
Absolute path of this object
Public IPV4 address of the remote device terminating the VPN connection.
Peer ID to uniquely identify the peer site. The peer ID is the public IP address of the remote device terminating the VPN tunnel. When NAT is configured for the peer, enter the private IP address of the peer.
IPSec Pre-shared key. Maximum length of this field is 128 characters.
Path relative from its parent
The type of this resource.
TCP Maximum Segment Size Clamping Direction and Value.
Policy path referencing Tunnel profile to be used. Default is set to system default profile.