CreateFlexTunnelConfigurationDetails

class oci.vn_monitoring.models.CreateFlexTunnelConfigurationDetails(**kwargs)

Bases: object

The create details for tunnel configuration.

Attributes

TUNNEL_TYPE_GRE A constant which can be used with the tunnel_type property of a CreateFlexTunnelConfigurationDetails.
bgp_session [Required] Gets the bgp_session of this CreateFlexTunnelConfigurationDetails.
customer_tunnel_ip [Required] Gets the customer_tunnel_ip of this CreateFlexTunnelConfigurationDetails.
oracle_tunnel_ip [Required] Gets the oracle_tunnel_ip of this CreateFlexTunnelConfigurationDetails.
tunnel_type [Required] Gets the tunnel_type of this CreateFlexTunnelConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new CreateFlexTunnelConfigurationDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TUNNEL_TYPE_GRE = 'GRE'

A constant which can be used with the tunnel_type property of a CreateFlexTunnelConfigurationDetails. This constant has a value of “GRE”

__init__(**kwargs)

Initializes a new CreateFlexTunnelConfigurationDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • tunnel_type (str) – The value to assign to the tunnel_type property of this CreateFlexTunnelConfigurationDetails. Allowed values for this property are: “GRE”
  • customer_tunnel_ip (str) – The value to assign to the customer_tunnel_ip property of this CreateFlexTunnelConfigurationDetails.
  • oracle_tunnel_ip (str) – The value to assign to the oracle_tunnel_ip property of this CreateFlexTunnelConfigurationDetails.
  • bgp_session (oci.vn_monitoring.models.CreateFlexTunnelBgpSessionDetails) – The value to assign to the bgp_session property of this CreateFlexTunnelConfigurationDetails.
bgp_session

[Required] Gets the bgp_session of this CreateFlexTunnelConfigurationDetails.

Returns:The bgp_session of this CreateFlexTunnelConfigurationDetails.
Return type:oci.vn_monitoring.models.CreateFlexTunnelBgpSessionDetails
customer_tunnel_ip

[Required] Gets the customer_tunnel_ip of this CreateFlexTunnelConfigurationDetails. IP address of your end of the tunnel.

Returns:The customer_tunnel_ip of this CreateFlexTunnelConfigurationDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

oracle_tunnel_ip

[Required] Gets the oracle_tunnel_ip of this CreateFlexTunnelConfigurationDetails. IP address of the oracle end of the tunnel.

Returns:The oracle_tunnel_ip of this CreateFlexTunnelConfigurationDetails.
Return type:str
tunnel_type

[Required] Gets the tunnel_type of this CreateFlexTunnelConfigurationDetails. The tunnel encapsulation protocol.

Allowed values for this property are: “GRE”

Returns:The tunnel_type of this CreateFlexTunnelConfigurationDetails.
Return type:str