CreateFlexTunnelConfigurationDetails¶
- class oci.vn_monitoring.models.CreateFlexTunnelConfigurationDetails(**kwargs)¶
Bases:
objectThe create details for tunnel configuration.
Attributes:
A constant which can be used with the tunnel_type property of a CreateFlexTunnelConfigurationDetails.
[Required] Gets the bgp_session of this CreateFlexTunnelConfigurationDetails.
[Required] Gets the customer_tunnel_ip of this CreateFlexTunnelConfigurationDetails.
[Required] Gets the oracle_tunnel_ip of this CreateFlexTunnelConfigurationDetails.
[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.
- property bgp_session¶
[Required] Gets the bgp_session of this CreateFlexTunnelConfigurationDetails.
- Returns
The bgp_session of this CreateFlexTunnelConfigurationDetails.
- Return type
- property 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.
- property 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
- property 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