CreateGreFlexTunnelConfigurationDetails¶
-
class
oci.vn_monitoring.models.CreateGreFlexTunnelConfigurationDetails(**kwargs)¶ Bases:
oci.vn_monitoring.models.create_flex_tunnel_configuration_details.CreateFlexTunnelConfigurationDetailsThe gre tunnel configuration create details.
Attributes
TUNNEL_TYPE_GREstr(object=’’) -> str 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 CreateGreFlexTunnelConfigurationDetails 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'¶
-
__init__(**kwargs)¶ Initializes a new CreateGreFlexTunnelConfigurationDetails object with values from keyword arguments. The default value of the
tunnel_typeattribute of this class isGREand it should not be changed. 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 CreateGreFlexTunnelConfigurationDetails. Allowed values for this property are: “GRE”
- customer_tunnel_ip (str) – The value to assign to the customer_tunnel_ip property of this CreateGreFlexTunnelConfigurationDetails.
- oracle_tunnel_ip (str) – The value to assign to the oracle_tunnel_ip property of this CreateGreFlexTunnelConfigurationDetails.
- bgp_session (oci.vn_monitoring.models.CreateFlexTunnelBgpSessionDetails) – The value to assign to the bgp_session property of this CreateGreFlexTunnelConfigurationDetails.
-
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
-