IngressGatewayHost

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

Bases: object

Host for the ingress listener.

Methods

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

Attributes

hostnames Gets the hostnames of this IngressGatewayHost.
listeners [Required] Gets the listeners of this IngressGatewayHost.
name [Required] Gets the name of this IngressGatewayHost.
__init__(**kwargs)

Initializes a new IngressGatewayHost 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 IngressGatewayHost.
  • hostnames (list[str]) – The value to assign to the hostnames property of this IngressGatewayHost.
  • listeners (list[oci.service_mesh.models.IngressGatewayListener]) – The value to assign to the listeners property of this IngressGatewayHost.
hostnames

Gets the hostnames of this IngressGatewayHost. Hostnames of the host. Applicable only for HTTP and TLS_PASSTHROUGH listeners. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are “www.example.com”, “.example.com”, “.com”.

Returns:The hostnames of this IngressGatewayHost.
Return type:list[str]
listeners

[Required] Gets the listeners of this IngressGatewayHost. The listeners for the ingress gateway.

Returns:The listeners of this IngressGatewayHost.
Return type:list[oci.service_mesh.models.IngressGatewayListener]
name

[Required] Gets the name of this IngressGatewayHost. A user-friendly name for the host. The name must be unique within the same ingress gateway. This name can be used in the ingress gateway route table resource to attach a route to this host.

Example: MyExampleHost

Returns:The name of this IngressGatewayHost.
Return type:str