TlsPassthroughIngressGatewayTrafficRouteRule

class oci.service_mesh.models.TlsPassthroughIngressGatewayTrafficRouteRule(**kwargs)

Bases: oci.service_mesh.models.ingress_gateway_traffic_route_rule.IngressGatewayTrafficRouteRule

Rule for routing incoming ingress gateway traffic with TCP protocol.

Attributes

TYPE_HTTP str(object=’’) -> str
TYPE_TCP str(object=’’) -> str
TYPE_TLS_PASSTHROUGH str(object=’’) -> str
destinations [Required] Gets the destinations of this IngressGatewayTrafficRouteRule.
ingress_gateway_host Gets the ingress_gateway_host of this IngressGatewayTrafficRouteRule.
type [Required] Gets the type of this IngressGatewayTrafficRouteRule.

Methods

__init__(**kwargs) Initializes a new TlsPassthroughIngressGatewayTrafficRouteRule 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.
TYPE_HTTP = 'HTTP'
TYPE_TCP = 'TCP'
TYPE_TLS_PASSTHROUGH = 'TLS_PASSTHROUGH'
__init__(**kwargs)

Initializes a new TlsPassthroughIngressGatewayTrafficRouteRule object with values from keyword arguments. The default value of the type attribute of this class is TLS_PASSTHROUGH and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this TlsPassthroughIngressGatewayTrafficRouteRule. Allowed values for this property are: “HTTP”, “TLS_PASSTHROUGH”, “TCP”
  • ingress_gateway_host (oci.service_mesh.models.IngressGatewayHostRef) – The value to assign to the ingress_gateway_host property of this TlsPassthroughIngressGatewayTrafficRouteRule.
  • destinations (list[oci.service_mesh.models.VirtualServiceTrafficRuleTarget]) – The value to assign to the destinations property of this TlsPassthroughIngressGatewayTrafficRouteRule.
destinations

[Required] Gets the destinations of this IngressGatewayTrafficRouteRule. The destination of the request.

Returns:The destinations of this IngressGatewayTrafficRouteRule.
Return type:list[oci.service_mesh.models.VirtualServiceTrafficRuleTarget]
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.

ingress_gateway_host

Gets the ingress_gateway_host of this IngressGatewayTrafficRouteRule.

Returns:The ingress_gateway_host of this IngressGatewayTrafficRouteRule.
Return type:oci.service_mesh.models.IngressGatewayHostRef
type

[Required] Gets the type of this IngressGatewayTrafficRouteRule. Type of protocol.

Allowed values for this property are: “HTTP”, “TLS_PASSTHROUGH”, “TCP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this IngressGatewayTrafficRouteRule.
Return type:str