CreateIPSecConnectionTunnelDetails

class oci.core.models.CreateIPSecConnectionTunnelDetails(**kwargs)

Bases: object

CreateIPSecConnectionTunnelDetails model.

ROUTING_BGP = 'BGP'

A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails. This constant has a value of "BGP"

ROUTING_STATIC = 'STATIC'

A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails. This constant has a value of "STATIC"

__init__(**kwargs)

Initializes a new CreateIPSecConnectionTunnelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) -- The value to assign to the display_name property of this CreateIPSecConnectionTunnelDetails.
  • routing (str) -- The value to assign to the routing property of this CreateIPSecConnectionTunnelDetails. Allowed values for this property are: "BGP", "STATIC"
  • shared_secret (str) -- The value to assign to the shared_secret property of this CreateIPSecConnectionTunnelDetails.
  • bgp_session_config (CreateIPSecTunnelBgpSessionDetails) -- The value to assign to the bgp_session_config property of this CreateIPSecConnectionTunnelDetails.
bgp_session_config

Gets the bgp_session_config of this CreateIPSecConnectionTunnelDetails. Information for establishing a BGP session for the IPSec tunnel. Required if the tunnel uses BGP dynamic routing.

If the tunnel instead uses static routing, you may optionally provide this object and set an IP address for one or both ends of the IPSec tunnel for the purposes of troubleshooting or monitoring the tunnel.

Returns:The bgp_session_config of this CreateIPSecConnectionTunnelDetails.
Return type:CreateIPSecTunnelBgpSessionDetails
display_name

Gets the display_name of this CreateIPSecConnectionTunnelDetails. A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Returns:The display_name of this CreateIPSecConnectionTunnelDetails.
Return type:str
routing

Gets the routing of this CreateIPSecConnectionTunnelDetails. The type of routing to use for this tunnel (either BGP dynamic routing or static routing).

Allowed values for this property are: "BGP", "STATIC"

Returns:The routing of this CreateIPSecConnectionTunnelDetails.
Return type:str
shared_secret

Gets the shared_secret of this CreateIPSecConnectionTunnelDetails. The shared secret (pre-shared key) to use for the IPSec tunnel. Only numbers, letters, and spaces are allowed. If you don't provide a value, Oracle generates a value for you. You can specify your own shared secret later if you like with update_ip_sec_connection_tunnel_shared_secret().

Example: EXAMPLEToUis6j1cp8GdVQxcmdfMO0yXMLilZTbYCMDGu4V8o

Returns:The shared_secret of this CreateIPSecConnectionTunnelDetails.
Return type:str