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 ListenerProtocol,
object LoadBalancerId,
object ServerGroupId,
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 ListenerPort = null,
object Mss = null,
object ProxyProtocolEnabled = null,
object ProxyProtocolV2Config = null,
object SecSensorEnabled = null,
object SecurityPolicyId = null,
object StartPort = null,
TagsProperty[] Tags = null
};
Properties
Name | Type | Description |
---|---|---|
ListenerProtocol |
object |
Property listenerProtocol: undefined. |
LoadBalancerId |
object |
Property loadBalancerId: ID of the LoadBalancer. |
ServerGroupId |
object |
Property serverGroupId: ID of the ServerGroup. |
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. |
ListenerPort |
object |
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0. |
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. |
StartPort |
object |
Property startPort: StartPort of the portRange. |
Tags |
TagsProperty[] |
Property tags: Tags to attach to instance. |
ListenerProtocol
Required
public object ListenerProtocol { get; set; }
- Type: object
Property listenerProtocol: undefined.
LoadBalancerId
Required
public object LoadBalancerId { get; set; }
- Type: object
Property loadBalancerId: ID of the LoadBalancer.
ServerGroupId
Required
public object ServerGroupId { get; set; }
- Type: object
Property serverGroupId: ID of the ServerGroup.
AlpnEnabled
Optional
public object AlpnEnabled { get; set; }
- Type: object
Property alpnEnabled: undefined.
AlpnPolicy
Optional
public object AlpnPolicy { get; set; }
- Type: object
Property alpnPolicy: Proxy of alpn.
CaCertificateIds
Optional
public object CaCertificateIds { get; set; }
- Type: object
Property caCertificateIds: List of the ca certificate ids.
CaEnabled
Optional
public object CaEnabled { get; set; }
- Type: object
Property caEnabled: Whether to open CA.
CertificateIds
Optional
public object CertificateIds { get; set; }
- Type: object
Property certificateIds: List of the certificate ids.
Cps
Optional
public object Cps { get; set; }
- Type: object
Property cps: New connection rate limit of Instance.
Enable
Optional
public object Enable { get; set; }
- Type: object
Property enable: Whether to start listener or not.
Default True.
EndPort
Optional
public object EndPort { get; set; }
- Type: object
Property endPort: EndPort of the portRange.
IdleTimeout
Optional
public object IdleTimeout { get; set; }
- Type: object
Property idleTimeout: Specifies the connection idle timeout.
ListenerDescription
Optional
public object ListenerDescription { get; set; }
- Type: object
Property listenerDescription: Description of the listener, [2, 256] characters.
ListenerPort
Optional
public object ListenerPort { get; set; }
- Type: object
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0.
Mss
Optional
public object Mss { get; set; }
- Type: object
Property mss: Max length of the TCP packet.
ProxyProtocolEnabled
Optional
public object ProxyProtocolEnabled { get; set; }
- Type: object
Property proxyProtocolEnabled: Whether to enable ppv2 function.
ProxyProtocolV2Config
Optional
public object ProxyProtocolV2Config { get; set; }
- Type: object
Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener.
SecSensorEnabled
Optional
public object SecSensorEnabled { get; set; }
- Type: object
Property secSensorEnabled: Whether to enable the second-level monitoring function.
SecurityPolicyId
Optional
public object SecurityPolicyId { get; set; }
- Type: object
Property securityPolicyId: Only valid for TcpSSL protocol monitoring.
StartPort
Optional
public object StartPort { get; set; }
- Type: object
Property startPort: StartPort of the portRange.
Tags
Optional
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.