IngressGatewayHostRef

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

Bases: object

The ingress gateway host to which the route rule attaches. If not specified, the route rule gets attached to all hosts on the ingress gateway.

Methods

__init__(**kwargs) Initializes a new IngressGatewayHostRef object with values from keyword arguments.

Attributes

name [Required] Gets the name of this IngressGatewayHostRef.
port Gets the port of this IngressGatewayHostRef.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this IngressGatewayHostRef.
  • port (int) – The value to assign to the port property of this IngressGatewayHostRef.
name

[Required] Gets the name of this IngressGatewayHostRef. Name of the ingress gateway host that this route should apply to.

Returns:The name of this IngressGatewayHostRef.
Return type:str
port

Gets the port of this IngressGatewayHostRef. The port of the ingress gateway host listener. Leave empty to match all ports for the host.

Returns:The port of this IngressGatewayHostRef.
Return type:int