CreateIPSecConnectionTunnelDetails

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

Bases: object

CreateIPSecConnectionTunnelDetails model.

Attributes

IKE_VERSION_V1 A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails.
IKE_VERSION_V2 A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails.
ROUTING_BGP A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
ROUTING_POLICY A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
ROUTING_STATIC A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
bgp_session_config Gets the bgp_session_config of this CreateIPSecConnectionTunnelDetails.
display_name Gets the display_name of this CreateIPSecConnectionTunnelDetails.
encryption_domain_config Gets the encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
ike_version Gets the ike_version of this CreateIPSecConnectionTunnelDetails.
routing Gets the routing of this CreateIPSecConnectionTunnelDetails.
shared_secret Gets the shared_secret of this CreateIPSecConnectionTunnelDetails.

Methods

__init__(**kwargs) Initializes a new CreateIPSecConnectionTunnelDetails object with values from keyword arguments.
IKE_VERSION_V1 = 'V1'

A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “V1”

IKE_VERSION_V2 = 'V2'

A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “V2”

ROUTING_BGP = 'BGP'

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

ROUTING_POLICY = 'POLICY'

A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “POLICY”

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”, “POLICY”
  • ike_version (str) – The value to assign to the ike_version property of this CreateIPSecConnectionTunnelDetails. Allowed values for this property are: “V1”, “V2”
  • shared_secret (str) – The value to assign to the shared_secret property of this CreateIPSecConnectionTunnelDetails.
  • bgp_session_config (oci.core.models.CreateIPSecTunnelBgpSessionDetails) – The value to assign to the bgp_session_config property of this CreateIPSecConnectionTunnelDetails.
  • encryption_domain_config (oci.core.models.CreateIPSecTunnelEncryptionDomainDetails) – The value to assign to the encryption_domain_config property of this CreateIPSecConnectionTunnelDetails.
bgp_session_config

Gets the bgp_session_config of this CreateIPSecConnectionTunnelDetails.

Returns:The bgp_session_config of this CreateIPSecConnectionTunnelDetails.
Return type:oci.core.models.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
encryption_domain_config

Gets the encryption_domain_config of this CreateIPSecConnectionTunnelDetails.

Returns:The encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
Return type:oci.core.models.CreateIPSecTunnelEncryptionDomainDetails
ike_version

Gets the ike_version of this CreateIPSecConnectionTunnelDetails. Internet Key Exchange protocol version.

Allowed values for this property are: “V1”, “V2”

Returns:The ike_version 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”, “POLICY”

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().

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