Show / Hide Table of Contents

Class CreateListenerDetails

The configuration details for adding a listener to a backend set. For more information on listener configuration, see Managing Load Balancer Listeners.
Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Inheritance
object
CreateListenerDetails
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 CreateListenerDetails

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.

Name

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

A friendly name for the listener. It must be unique and it cannot be changed. Avoid entering confidential information.
Example: example_listener

Remarks

Required

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. To get a list of valid protocols, use the {@link #listProtocols(ListProtocolsRequest) listProtocols} operation.
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