CreateIPSecConnectionTunnelDetails¶
- class oci.core.models.CreateIPSecConnectionTunnelDetails(**kwargs)¶
Bases:
objectCreateIPSecConnectionTunnelDetails model.
Attributes:
A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the ike_version property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the nat_translation_enabled property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the nat_translation_enabled property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the nat_translation_enabled property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the oracle_initiation property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the oracle_initiation property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
A constant which can be used with the routing property of a CreateIPSecConnectionTunnelDetails.
Gets the associated_virtual_circuits of this CreateIPSecConnectionTunnelDetails. The list of virtual circuit `OCID`__s over which your network can reach this tunnel.
Gets the bgp_session_config of this CreateIPSecConnectionTunnelDetails.
Gets the display_name of this CreateIPSecConnectionTunnelDetails.
Gets the dpd_config of this CreateIPSecConnectionTunnelDetails.
Gets the drg_route_table_id of this CreateIPSecConnectionTunnelDetails.
Gets the encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
Gets the ike_version of this CreateIPSecConnectionTunnelDetails.
Gets the nat_translation_enabled of this CreateIPSecConnectionTunnelDetails.
Gets the oracle_initiation of this CreateIPSecConnectionTunnelDetails.
Gets the oracle_tunnel_ip of this CreateIPSecConnectionTunnelDetails.
Gets the phase_one_config of this CreateIPSecConnectionTunnelDetails.
Gets the phase_two_config of this CreateIPSecConnectionTunnelDetails.
Gets the routing of this CreateIPSecConnectionTunnelDetails.
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”
- NAT_TRANSLATION_ENABLED_AUTO = 'AUTO'¶
A constant which can be used with the nat_translation_enabled property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “AUTO”
- NAT_TRANSLATION_ENABLED_DISABLED = 'DISABLED'¶
A constant which can be used with the nat_translation_enabled property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “DISABLED”
- NAT_TRANSLATION_ENABLED_ENABLED = 'ENABLED'¶
A constant which can be used with the nat_translation_enabled property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “ENABLED”
- ORACLE_INITIATION_INITIATOR_OR_RESPONDER = 'INITIATOR_OR_RESPONDER'¶
A constant which can be used with the oracle_initiation property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “INITIATOR_OR_RESPONDER”
- ORACLE_INITIATION_RESPONDER_ONLY = 'RESPONDER_ONLY'¶
A constant which can be used with the oracle_initiation property of a CreateIPSecConnectionTunnelDetails. This constant has a value of “RESPONDER_ONLY”
- 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.
oracle_initiation (str) – The value to assign to the oracle_initiation property of this CreateIPSecConnectionTunnelDetails. Allowed values for this property are: “INITIATOR_OR_RESPONDER”, “RESPONDER_ONLY”
nat_translation_enabled (str) – The value to assign to the nat_translation_enabled property of this CreateIPSecConnectionTunnelDetails. Allowed values for this property are: “ENABLED”, “DISABLED”, “AUTO”
phase_one_config (oci.core.models.PhaseOneConfigDetails) – The value to assign to the phase_one_config property of this CreateIPSecConnectionTunnelDetails.
phase_two_config (oci.core.models.PhaseTwoConfigDetails) – The value to assign to the phase_two_config property of this CreateIPSecConnectionTunnelDetails.
dpd_config (oci.core.models.DpdConfig) – The value to assign to the dpd_config property of this CreateIPSecConnectionTunnelDetails.
oracle_tunnel_ip (str) – The value to assign to the oracle_tunnel_ip property of this CreateIPSecConnectionTunnelDetails.
associated_virtual_circuits (list[str]) – The value to assign to the associated_virtual_circuits property of this CreateIPSecConnectionTunnelDetails.
drg_route_table_id (str) – The value to assign to the drg_route_table_id property of this CreateIPSecConnectionTunnelDetails.
encryption_domain_config (oci.core.models.CreateIPSecTunnelEncryptionDomainDetails) – The value to assign to the encryption_domain_config property of this CreateIPSecConnectionTunnelDetails.
- property associated_virtual_circuits¶
Gets the associated_virtual_circuits of this CreateIPSecConnectionTunnelDetails. The list of virtual circuit `OCID`__s over which your network can reach this tunnel.
- Returns
The associated_virtual_circuits of this CreateIPSecConnectionTunnelDetails.
- Return type
list[str]
- property bgp_session_config¶
Gets the bgp_session_config of this CreateIPSecConnectionTunnelDetails.
- Returns
The bgp_session_config of this CreateIPSecConnectionTunnelDetails.
- Return type
- property 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
- property dpd_config¶
Gets the dpd_config of this CreateIPSecConnectionTunnelDetails.
- Returns
The dpd_config of this CreateIPSecConnectionTunnelDetails.
- Return type
- property drg_route_table_id¶
Gets the drg_route_table_id of this CreateIPSecConnectionTunnelDetails. The `OCID`__ of the DRG route table assigned to this attachment.
The DRG route table manages traffic inside the DRG.
- Returns
The drg_route_table_id of this CreateIPSecConnectionTunnelDetails.
- Return type
str
- property encryption_domain_config¶
Gets the encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
- Returns
The encryption_domain_config of this CreateIPSecConnectionTunnelDetails.
- Return type
- property 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
- property nat_translation_enabled¶
Gets the nat_translation_enabled of this CreateIPSecConnectionTunnelDetails. By default (the AUTO setting), IKE sends packets with a source and destination port set to 500, and when it detects that the port used to forward packets has changed (most likely because a NAT device is between the CPE device and the Oracle VPN headend) it will try to negotiate the use of NAT-T.
The ENABLED option sets the IKE protocol to use port 4500 instead of 500 and forces encapsulating traffic with the ESP protocol inside UDP packets.
The DISABLED option directs IKE to completely refuse to negotiate NAT-T even if it senses there may be a NAT device in use.
Allowed values for this property are: “ENABLED”, “DISABLED”, “AUTO”
- Returns
The nat_translation_enabled of this CreateIPSecConnectionTunnelDetails.
- Return type
str
- property oracle_initiation¶
Gets the oracle_initiation of this CreateIPSecConnectionTunnelDetails. Indicates whether the Oracle end of the IPSec connection is able to initiate starting up the IPSec tunnel.
Allowed values for this property are: “INITIATOR_OR_RESPONDER”, “RESPONDER_ONLY”
- Returns
The oracle_initiation of this CreateIPSecConnectionTunnelDetails.
- Return type
str
- property oracle_tunnel_ip¶
Gets the oracle_tunnel_ip of this CreateIPSecConnectionTunnelDetails. The headend IP that you can choose on the Oracle side to terminate your private IPSec tunnel.
- Returns
The oracle_tunnel_ip of this CreateIPSecConnectionTunnelDetails.
- Return type
str
- property phase_one_config¶
Gets the phase_one_config of this CreateIPSecConnectionTunnelDetails.
- Returns
The phase_one_config of this CreateIPSecConnectionTunnelDetails.
- Return type
- property phase_two_config¶
Gets the phase_two_config of this CreateIPSecConnectionTunnelDetails.
- Returns
The phase_two_config of this CreateIPSecConnectionTunnelDetails.
- Return type
- property routing¶
Gets the routing of this CreateIPSecConnectionTunnelDetails. The type of routing to use for this tunnel (BGP dynamic routing, static routing, or policy-based routing).
Allowed values for this property are: “BGP”, “STATIC”, “POLICY”
- Returns
The routing of this CreateIPSecConnectionTunnelDetails.
- Return type
str
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