ListenerProps
Properties for defining a Listener.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-listener
Initializer
using AlibabaCloud.SDK.ROS.CDK.Nlb;
new ListenerProps {
object ListenerPort,
object ListenerProtocol,
object LoadBalancerId,
object AlpnEnabled = null,
object AlpnPolicy = null,
object CaCertificateIds = null,
object CaEnabled = null,
object CertificateIds = null,
object Cps = null,
object Enable = null,
object EndPort = null,
object IdleTimeout = null,
object ListenerDescription = null,
object Mss = null,
object ProxyProtocolEnabled = null,
object ProxyProtocolV2Config = null,
object SecSensorEnabled = null,
object SecurityPolicyId = null,
object ServerGroupId = null,
object ServerGroupTuples = null,
object StartPort = null,
TagsProperty[] Tags = null
};
Properties
| Name | Type | Description |
|---|---|---|
ListenerPort | object | Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0. |
ListenerProtocol | object | Property listenerProtocol: Listening protocol. |
LoadBalancerId | object | Property loadBalancerId: ID of the LoadBalancer. |
AlpnEnabled | object | Property alpnEnabled: undefined. |
AlpnPolicy | object | Property alpnPolicy: Proxy of alpn. |
CaCertificateIds | object | Property caCertificateIds: List of the ca certificate ids. |
CaEnabled | object | Property caEnabled: Whether to open CA. |
CertificateIds | object | Property certificateIds: List of the certificate ids. |
Cps | object | Property cps: New connection rate limit of Instance. |
Enable | object | Property enable: Whether to start listener or not. |
EndPort | object | Property endPort: EndPort of the portRange. |
IdleTimeout | object | Property idleTimeout: Specifies the connection idle timeout. |
ListenerDescription | object | Property listenerDescription: Description of the listener, [2, 256] characters. |
Mss | object | Property mss: Max length of the TCP packet. |
ProxyProtocolEnabled | object | Property proxyProtocolEnabled: Whether to enable ppv2 function. |
ProxyProtocolV2Config | object | Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener. |
SecSensorEnabled | object | Property secSensorEnabled: Whether to enable the second-level monitoring function. |
SecurityPolicyId | object | Property securityPolicyId: Only valid for TcpSSL protocol monitoring. |
ServerGroupId | object | Property serverGroupId: ID of the ServerGroup. |
ServerGroupTuples | object | Property serverGroupTuples: Multi-server group list. |
StartPort | object | Property startPort: StartPort of the portRange. |
Tags | TagsProperty[] | Property tags: Tags to attach to instance. |
ListenerPortRequired
public object ListenerPort { get; set; }
- Type: object
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0.
ListenerProtocolRequired
public object ListenerProtocol { get; set; }
- Type: object
Property listenerProtocol: Listening protocol.
Values: TCP, UDP, or TCPSSL.
LoadBalancerIdRequired
public object LoadBalancerId { get; set; }
- Type: object
Property loadBalancerId: ID of the LoadBalancer.
AlpnEnabledOptional
public object AlpnEnabled { get; set; }
- Type: object
Property alpnEnabled: undefined.
AlpnPolicyOptional
public object AlpnPolicy { get; set; }
- Type: object
Property alpnPolicy: Proxy of alpn.
CaCertificateIdsOptional
public object CaCertificateIds { get; set; }
- Type: object
Property caCertificateIds: List of the ca certificate ids.
CaEnabledOptional
public object CaEnabled { get; set; }
- Type: object
Property caEnabled: Whether to open CA.
CertificateIdsOptional
public object CertificateIds { get; set; }
- Type: object
Property certificateIds: List of the certificate ids.
CpsOptional
public object Cps { get; set; }
- Type: object
Property cps: New connection rate limit of Instance.
EnableOptional
public object Enable { get; set; }
- Type: object
Property enable: Whether to start listener or not.
Default True.
EndPortOptional
public object EndPort { get; set; }
- Type: object
Property endPort: EndPort of the portRange.
IdleTimeoutOptional
public object IdleTimeout { get; set; }
- Type: object
Property idleTimeout: Specifies the connection idle timeout.
ListenerDescriptionOptional
public object ListenerDescription { get; set; }
- Type: object
Property listenerDescription: Description of the listener, [2, 256] characters.
MssOptional
public object Mss { get; set; }
- Type: object
Property mss: Max length of the TCP packet.
ProxyProtocolEnabledOptional
public object ProxyProtocolEnabled { get; set; }
- Type: object
Property proxyProtocolEnabled: Whether to enable ppv2 function.
ProxyProtocolV2ConfigOptional
public object ProxyProtocolV2Config { get; set; }
- Type: object
Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener.
SecSensorEnabledOptional
public object SecSensorEnabled { get; set; }
- Type: object
Property secSensorEnabled: Whether to enable the second-level monitoring function.
SecurityPolicyIdOptional
public object SecurityPolicyId { get; set; }
- Type: object
Property securityPolicyId: Only valid for TcpSSL protocol monitoring.
ServerGroupIdOptional
public object ServerGroupId { get; set; }
- Type: object
Property serverGroupId: ID of the ServerGroup.
ServerGroupTuplesOptional
public object ServerGroupTuples { get; set; }
- Type: object
Property serverGroupTuples: Multi-server group list.
When the number of destination server groups is 1, the default value is 100 if no weight is specified. When the number of destination server groups is greater than 1, the user needs to specify the weight value.
StartPortOptional
public object StartPort { get; set; }
- Type: object
Property startPort: StartPort of the portRange.
TagsOptional
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.