Skip to content

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.

ListenerProtocolRequired

public object ListenerProtocol { get; set; }
  • Type: object

Property listenerProtocol: undefined.


LoadBalancerIdRequired

public object LoadBalancerId { get; set; }
  • Type: object

Property loadBalancerId: ID of the LoadBalancer.


ServerGroupIdRequired

public object ServerGroupId { get; set; }
  • Type: object

Property serverGroupId: ID of the ServerGroup.


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.


ListenerPortOptional

public object ListenerPort { get; set; }
  • Type: object

Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0.


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.


StartPortOptional

public object StartPort { get; set; }
  • Type: object

Property startPort: StartPort of the portRange.


TagsOptional

public TagsProperty[] Tags { get; set; }

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.