Class UpdateListenerDetails
The configuration of the listener. For more information about backend set configuration, see Managing Network Load Balancer Listeners.
Inherited Members
Namespace: Oci.NetworkloadbalancerService.Models
Assembly: OCI.DotNetSDK.Networkloadbalancer.dll
Syntax
public class UpdateListenerDetails
Properties
DefaultBackendSetName
Declaration
[JsonProperty(PropertyName = "defaultBackendSetName")]
public string DefaultBackendSetName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the associated backend set.
|
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 |
Port
Declaration
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | The communication port for the listener.
|
Protocol
Declaration
[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.
|
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 |