IngressGatewayTrafficRouteRuleDetails

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

Bases: object

Rule for routing incoming ingress gateway traffic to a virtual service.

Attributes

TYPE_HTTP A constant which can be used with the type property of a IngressGatewayTrafficRouteRuleDetails.
TYPE_TCP A constant which can be used with the type property of a IngressGatewayTrafficRouteRuleDetails.
TYPE_TLS_PASSTHROUGH A constant which can be used with the type property of a IngressGatewayTrafficRouteRuleDetails.
destinations [Required] Gets the destinations of this IngressGatewayTrafficRouteRuleDetails.
ingress_gateway_host Gets the ingress_gateway_host of this IngressGatewayTrafficRouteRuleDetails.
type [Required] Gets the type of this IngressGatewayTrafficRouteRuleDetails.

Methods

__init__(**kwargs) Initializes a new IngressGatewayTrafficRouteRuleDetails 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'

A constant which can be used with the type property of a IngressGatewayTrafficRouteRuleDetails. This constant has a value of “HTTP”

TYPE_TCP = 'TCP'

A constant which can be used with the type property of a IngressGatewayTrafficRouteRuleDetails. This constant has a value of “TCP”

TYPE_TLS_PASSTHROUGH = 'TLS_PASSTHROUGH'

A constant which can be used with the type property of a IngressGatewayTrafficRouteRuleDetails. This constant has a value of “TLS_PASSTHROUGH”

__init__(**kwargs)

Initializes a new IngressGatewayTrafficRouteRuleDetails 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:
  • type (str) – The value to assign to the type property of this IngressGatewayTrafficRouteRuleDetails. 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 IngressGatewayTrafficRouteRuleDetails.
  • destinations (list[oci.service_mesh.models.VirtualServiceTrafficRuleTargetDetails]) – The value to assign to the destinations property of this IngressGatewayTrafficRouteRuleDetails.
destinations

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

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

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

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

Allowed values for this property are: “HTTP”, “TLS_PASSTHROUGH”, “TCP”

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