Show / Hide Table of Contents

Class CreateListenerDetails

The configuration of the listener. For more information about listener configuration, see Listeners for Network Load Balancers.

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.NetworkloadbalancerService.Models
Assembly: OCI.DotNetSDK.Networkloadbalancer.dll
Syntax
public class CreateListenerDetails

Properties

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

IpVersion

Declaration
[JsonProperty(PropertyName = "ipVersion")]
[JsonConverter(typeof(StringEnumConverter))]
public IpVersion? IpVersion { get; set; }
Property Value
Type Description
IpVersion?

IP version associated with the listener.

IsPpv2Enabled

Declaration
[JsonProperty(PropertyName = "isPpv2Enabled")]
public bool? IsPpv2Enabled { get; set; }
Property Value
Type Description
bool?

Property to enable/disable PPv2 feature for this listener.

L3IpIdleTimeout

Declaration
[JsonProperty(PropertyName = "l3IpIdleTimeout")]
public int? L3IpIdleTimeout { get; set; }
Property Value
Type Description
int?

The duration for L3IP idle timeout in seconds. Example: 200

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.
Example: example_listener

Remarks

Required

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")]
[JsonConverter(typeof(StringEnumConverter))]
public ListenerProtocols? Protocol { get; set; }
Property Value
Type Description
ListenerProtocols?

The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP with the wildcard port. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). "ListNetworkLoadBalancersProtocols" API is deprecated and it will not return the updated values. Use the allowed values for the protocol instead.
Example: TCP

Remarks

Required

TcpIdleTimeout

Declaration
[JsonProperty(PropertyName = "tcpIdleTimeout")]
public int? TcpIdleTimeout { get; set; }
Property Value
Type Description
int?

The duration for TCP idle timeout in seconds. Example: 300

UdpIdleTimeout

Declaration
[JsonProperty(PropertyName = "udpIdleTimeout")]
public int? UdpIdleTimeout { get; set; }
Property Value
Type Description
int?

The duration for UDP idle timeout in seconds. Example: 120

In this article
Back to top