ListenerProps
Properties for defining a Listener.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nlb-listener
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdknlb"
&alicloudroscdknlb.ListenerProps {
ListenerProtocol: interface{},
LoadBalancerId: interface{},
ServerGroupId: interface{},
AlpnEnabled: interface{},
AlpnPolicy: interface{},
CaCertificateIds: interface{},
CaEnabled: interface{},
CertificateIds: interface{},
Cps: interface{},
Enable: interface{},
EndPort: interface{},
IdleTimeout: interface{},
ListenerDescription: interface{},
ListenerPort: interface{},
Mss: interface{},
ProxyProtocolEnabled: interface{},
ProxyProtocolV2Config: interface{},
SecSensorEnabled: interface{},
SecurityPolicyId: interface{},
StartPort: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdknlb.RosListener.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
ListenerProtocol |
interface{} |
Property listenerProtocol: undefined. |
LoadBalancerId |
interface{} |
Property loadBalancerId: ID of the LoadBalancer. |
ServerGroupId |
interface{} |
Property serverGroupId: ID of the ServerGroup. |
AlpnEnabled |
interface{} |
Property alpnEnabled: undefined. |
AlpnPolicy |
interface{} |
Property alpnPolicy: Proxy of alpn. |
CaCertificateIds |
interface{} |
Property caCertificateIds: List of the ca certificate ids. |
CaEnabled |
interface{} |
Property caEnabled: Whether to open CA. |
CertificateIds |
interface{} |
Property certificateIds: List of the certificate ids. |
Cps |
interface{} |
Property cps: New connection rate limit of Instance. |
Enable |
interface{} |
Property enable: Whether to start listener or not. |
EndPort |
interface{} |
Property endPort: EndPort of the portRange. |
IdleTimeout |
interface{} |
Property idleTimeout: Specifies the connection idle timeout. |
ListenerDescription |
interface{} |
Property listenerDescription: Description of the listener, [2, 256] characters. |
ListenerPort |
interface{} |
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0. |
Mss |
interface{} |
Property mss: Max length of the TCP packet. |
ProxyProtocolEnabled |
interface{} |
Property proxyProtocolEnabled: Whether to enable ppv2 function. |
ProxyProtocolV2Config |
interface{} |
Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener. |
SecSensorEnabled |
interface{} |
Property secSensorEnabled: Whether to enable the second-level monitoring function. |
SecurityPolicyId |
interface{} |
Property securityPolicyId: Only valid for TcpSSL protocol monitoring. |
StartPort |
interface{} |
Property startPort: StartPort of the portRange. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
ListenerProtocolRequired
ListenerProtocol interface{}
- Type: interface{}
Property listenerProtocol: undefined.
LoadBalancerIdRequired
LoadBalancerId interface{}
- Type: interface{}
Property loadBalancerId: ID of the LoadBalancer.
ServerGroupIdRequired
ServerGroupId interface{}
- Type: interface{}
Property serverGroupId: ID of the ServerGroup.
AlpnEnabledOptional
AlpnEnabled interface{}
- Type: interface{}
Property alpnEnabled: undefined.
AlpnPolicyOptional
AlpnPolicy interface{}
- Type: interface{}
Property alpnPolicy: Proxy of alpn.
CaCertificateIdsOptional
CaCertificateIds interface{}
- Type: interface{}
Property caCertificateIds: List of the ca certificate ids.
CaEnabledOptional
CaEnabled interface{}
- Type: interface{}
Property caEnabled: Whether to open CA.
CertificateIdsOptional
CertificateIds interface{}
- Type: interface{}
Property certificateIds: List of the certificate ids.
CpsOptional
Cps interface{}
- Type: interface{}
Property cps: New connection rate limit of Instance.
EnableOptional
Enable interface{}
- Type: interface{}
Property enable: Whether to start listener or not.
Default True.
EndPortOptional
EndPort interface{}
- Type: interface{}
Property endPort: EndPort of the portRange.
IdleTimeoutOptional
IdleTimeout interface{}
- Type: interface{}
Property idleTimeout: Specifies the connection idle timeout.
ListenerDescriptionOptional
ListenerDescription interface{}
- Type: interface{}
Property listenerDescription: Description of the listener, [2, 256] characters.
ListenerPortOptional
ListenerPort interface{}
- Type: interface{}
Property listenerPort: Port of the listener,[0, 65535] the portRange setting need 0.
MssOptional
Mss interface{}
- Type: interface{}
Property mss: Max length of the TCP packet.
ProxyProtocolEnabledOptional
ProxyProtocolEnabled interface{}
- Type: interface{}
Property proxyProtocolEnabled: Whether to enable ppv2 function.
ProxyProtocolV2ConfigOptional
ProxyProtocolV2Config interface{}
- Type: interface{}
Property proxyProtocolV2Config: ProxyProtocolV2Config of the listener.
SecSensorEnabledOptional
SecSensorEnabled interface{}
- Type: interface{}
Property secSensorEnabled: Whether to enable the second-level monitoring function.
SecurityPolicyIdOptional
SecurityPolicyId interface{}
- Type: interface{}
Property securityPolicyId: Only valid for TcpSSL protocol monitoring.
StartPortOptional
StartPort interface{}
- Type: interface{}
Property startPort: StartPort of the portRange.
TagsOptional
Tags *[]TagsProperty
- 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.