Show / Hide Table of Contents

Class ListenerDetails

The listener's configuration details.

Inheritance
object
ListenerDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class ListenerDetails

Properties

ConnectionConfiguration

Declaration
[JsonProperty(PropertyName = "connectionConfiguration")]
public ConnectionConfiguration ConnectionConfiguration { get; set; }
Property Value
Type Description
ConnectionConfiguration

DefaultBackendSetName

Declaration
[Required(ErrorMessage = "DefaultBackendSetName is required.")]
[JsonProperty(PropertyName = "defaultBackendSetName")]
public string DefaultBackendSetName { get; set; }
Property Value
Type Description
string

The name of the associated backend set.
Example: example_backend_set

Remarks

Required

HostnameNames

Declaration
[JsonProperty(PropertyName = "hostnameNames")]
public List<string> HostnameNames { get; set; }
Property Value
Type Description
List<string>

An array of hostname resource names.

PathRouteSetName

Declaration
[JsonProperty(PropertyName = "pathRouteSetName")]
public string PathRouteSetName { get; set; }
Property Value
Type Description
string

Deprecated. Please use routingPolicies instead.
The name of the set of path-based routing rules, {@link PathRouteSet}, applied to this listener's traffic.
Example: example_path_route_set

Port

Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type Description
int?

The communication port for the listener.
Example: 80

Remarks

Required

Protocol

Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
public string Protocol { get; set; }
Property Value
Type Description
string

The protocol on which the listener accepts connection requests. The supported protocols are HTTP, HTTP2, TCP, and GRPC. You can also use the {@link #listProtocols(ListProtocolsRequest) listProtocols} operation to get a list of valid protocols.
Example: HTTP

Remarks

Required

RoutingPolicyName

Declaration
[JsonProperty(PropertyName = "routingPolicyName")]
public string RoutingPolicyName { get; set; }
Property Value
Type Description
string

The name of the routing policy applied to this listener's traffic.
Example: example_routing_policy

RuleSetNames

Declaration
[JsonProperty(PropertyName = "ruleSetNames")]
public List<string> RuleSetNames { get; set; }
Property Value
Type Description
List<string>

The names of the {@link RuleSet} to apply to the listener.
Example: ["example_rule_set"]

SslConfiguration

Declaration
[JsonProperty(PropertyName = "sslConfiguration")]
public SSLConfigurationDetails SslConfiguration { get; set; }
Property Value
Type Description
SSLConfigurationDetails
In this article
Back to top