IngressGatewayListener

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

Bases: object

Listener configuration.

Attributes

PROTOCOL_HTTP A constant which can be used with the protocol property of a IngressGatewayListener.
PROTOCOL_TCP A constant which can be used with the protocol property of a IngressGatewayListener.
PROTOCOL_TLS_PASSTHROUGH A constant which can be used with the protocol property of a IngressGatewayListener.
port [Required] Gets the port of this IngressGatewayListener.
protocol [Required] Gets the protocol of this IngressGatewayListener.
tls Gets the tls of this IngressGatewayListener.

Methods

__init__(**kwargs) Initializes a new IngressGatewayListener object with values from keyword arguments.
PROTOCOL_HTTP = 'HTTP'

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

PROTOCOL_TCP = 'TCP'

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

PROTOCOL_TLS_PASSTHROUGH = 'TLS_PASSTHROUGH'

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

__init__(**kwargs)

Initializes a new IngressGatewayListener object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • protocol (str) – The value to assign to the protocol property of this IngressGatewayListener. 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’.
  • port (int) – The value to assign to the port property of this IngressGatewayListener.
  • tls (oci.service_mesh.models.IngressListenerTlsConfig) – The value to assign to the tls property of this IngressGatewayListener.
port

[Required] Gets the port of this IngressGatewayListener. Port on which ingress gateway is listening.

Returns:The port of this IngressGatewayListener.
Return type:int
protocol

[Required] Gets the protocol of this IngressGatewayListener. Type of protocol used.

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 protocol of this IngressGatewayListener.
Return type:str
tls

Gets the tls of this IngressGatewayListener.

Returns:The tls of this IngressGatewayListener.
Return type:oci.service_mesh.models.IngressListenerTlsConfig