LoadBalancerTCPListener
This class encapsulates and extends the ROS resource type DATASOURCE::SLB::LoadBalancerTCPListener
.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Slb;
new LoadBalancerTCPListener(Construct Scope, string Id, LoadBalancerTCPListenerProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
LoadBalancerTCPListenerProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
EnableResourcePropertyConstraint
Optional
- Type: bool
Methods
Name | Description |
---|---|
ToString |
Returns a string representation of this construct. |
Synthesize |
Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition |
No description. |
AddCount |
No description. |
AddDependency |
No description. |
AddResourceDesc |
No description. |
ApplyRemovalPolicy |
No description. |
GetAtt |
No description. |
SetMetadata |
No description. |
ToString
private string ToString()
Returns a string representation of this construct.
Synthesize
private void Synthesize(ISynthesisSession Session)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack
and Asset
as they participate in synthesizing the cloud assembly.
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ISynthesisSession
The synthesis session.
AddCondition
private void AddCondition(RosCondition Condition)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosCondition
AddCount
private void AddCount(object Count)
- Type: object
AddDependency
private void AddDependency(Resource Resource)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Resource
AddResourceDesc
private void AddResourceDesc(string Desc)
- Type: string
ApplyRemovalPolicy
private void ApplyRemovalPolicy(RemovalPolicy Policy)
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RemovalPolicy
GetAtt
private IResolvable GetAtt(string Name)
- Type: string
SetMetadata
private void SetMetadata(string Key, object Value)
- Type: string
- Type: object
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
using AlibabaCloud.SDK.ROS.CDK.Slb;
LoadBalancerTCPListener.IsConstruct(object X);
Return whether the given object is a Construct.
- Type: object
Properties
Name | Type | Description |
---|---|---|
Node |
AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode |
The construct tree node associated with this construct. |
Ref |
string |
No description. |
Stack |
AlibabaCloud.SDK.ROS.CDK.Core.Stack |
The stack in which this resource is defined. |
Resource |
AlibabaCloud.SDK.ROS.CDK.Core.RosResource |
No description. |
AttrAclId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AclId: The ID of the network ACL that is associated with the listener. |
AttrAclIds |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AclIds: The ID list of the network ACL that is associated with the listener. |
AttrAclStatus |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AclStatus: Indicates whether access control is enabled. |
AttrAclType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AclType: The type of the ACL. |
AttrBackendServerPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute BackendServerPort: The backend port used by the CLB instance. |
AttrBandwidth |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Bandwidth: The maximum bandwidth of the listener. |
AttrConnectionDrain |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConnectionDrain: Indicates whether connection draining is enabled. |
AttrConnectionDrainTimeout |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ConnectionDrainTimeout: The timeout period of connection draining. |
AttrDescription |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Description: The description of the listener. |
AttrEstablishedTimeout |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EstablishedTimeout: The timeout period of a connection. |
AttrHealthCheck |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheck: Indicates whether the health check feature is enabled. |
AttrHealthCheckConnectPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckConnectPort: The port that is used for health checks. |
AttrHealthCheckConnectTimeout |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckConnectTimeout: The timeout period. |
AttrHealthCheckDomain |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckDomain: The domain name that is used for health checks. |
AttrHealthCheckHttpCode |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckHttpCode: The HTTP status code for a successful health check. |
AttrHealthCheckInterval |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckInterval: The interval between two consecutive health checks. |
AttrHealthCheckMethod |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckMethod: The health check method. |
AttrHealthCheckType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckType: The health check method that is used by the TCP listener. |
AttrHealthCheckUri |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthCheckUri: The URL that is used for health checks. |
AttrHealthyThreshold |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute HealthyThreshold: The healthy threshold. |
AttrListenerPort |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ListenerPort: The frontend port used by the CLB instance. |
AttrLoadBalancerId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerId: The ID of the CLB instance. |
AttrMasterSlaveServerGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MasterSlaveServerGroupId: The ID of the primary/secondary server group that is associated with the listener. |
AttrPersistenceTimeout |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PersistenceTimeout: The timeout period of session persistence. |
AttrProxyProtocolV2Enabled |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ProxyProtocolV2Enabled: Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers. |
AttrScheduler |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Scheduler: The scheduling algorithm. |
AttrSynProxy |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection. |
AttrUnhealthyThreshold |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute UnhealthyThreshold: The unhealthy threshold. |
AttrVServerGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VServerGroupId: The ID of the associated server group. |
Node
Required
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
Ref
Required
public string Ref { get; }
- Type: string
Stack
Required
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
Resource
Optional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAclId
Required
public IResolvable AttrAclId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclId: The ID of the network ACL that is associated with the listener.
AttrAclIds
Required
public IResolvable AttrAclIds { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclIds: The ID list of the network ACL that is associated with the listener.
AttrAclStatus
Required
public IResolvable AttrAclStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclStatus: Indicates whether access control is enabled.
AttrAclType
Required
public IResolvable AttrAclType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclType: The type of the ACL.
AttrBackendServerPort
Required
public IResolvable AttrBackendServerPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BackendServerPort: The backend port used by the CLB instance.
AttrBandwidth
Required
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: The maximum bandwidth of the listener.
Unit: Mbit/s.
AttrConnectionDrain
Required
public IResolvable AttrConnectionDrain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionDrain: Indicates whether connection draining is enabled.
If ConnectionDrain is set to on, the parameter is returned.
AttrConnectionDrainTimeout
Required
public IResolvable AttrConnectionDrainTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ConnectionDrainTimeout: The timeout period of connection draining.
If ConnectionDrain is set to on, the parameter is returned.
AttrDescription
Required
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description of the listener.
AttrEstablishedTimeout
Required
public IResolvable AttrEstablishedTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EstablishedTimeout: The timeout period of a connection.
AttrHealthCheck
Required
public IResolvable AttrHealthCheck { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheck: Indicates whether the health check feature is enabled.
AttrHealthCheckConnectPort
Required
public IResolvable AttrHealthCheckConnectPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckConnectPort: The port that is used for health checks.
AttrHealthCheckConnectTimeout
Required
public IResolvable AttrHealthCheckConnectTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckConnectTimeout: The timeout period.
Unit: seconds.
AttrHealthCheckDomain
Required
public IResolvable AttrHealthCheckDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckDomain: The domain name that is used for health checks.
AttrHealthCheckHttpCode
Required
public IResolvable AttrHealthCheckHttpCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckHttpCode: The HTTP status code for a successful health check.
AttrHealthCheckInterval
Required
public IResolvable AttrHealthCheckInterval { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckInterval: The interval between two consecutive health checks.
Valid values: 1 to 50. Unit: seconds.
AttrHealthCheckMethod
Required
public IResolvable AttrHealthCheckMethod { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckMethod: The health check method.
AttrHealthCheckType
Required
public IResolvable AttrHealthCheckType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckType: The health check method that is used by the TCP listener.
AttrHealthCheckUri
Required
public IResolvable AttrHealthCheckUri { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckUri: The URL that is used for health checks.
AttrHealthyThreshold
Required
public IResolvable AttrHealthyThreshold { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthyThreshold: The healthy threshold.
The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from fail to success. Valid values: 2 to 10.
AttrListenerPort
Required
public IResolvable AttrListenerPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ListenerPort: The frontend port used by the CLB instance.
AttrLoadBalancerId
Required
public IResolvable AttrLoadBalancerId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerId: The ID of the CLB instance.
AttrMasterSlaveServerGroupId
Required
public IResolvable AttrMasterSlaveServerGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MasterSlaveServerGroupId: The ID of the primary/secondary server group that is associated with the listener.
AttrPersistenceTimeout
Required
public IResolvable AttrPersistenceTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PersistenceTimeout: The timeout period of session persistence.
AttrProxyProtocolV2Enabled
Required
public IResolvable AttrProxyProtocolV2Enabled { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ProxyProtocolV2Enabled: Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers.
AttrScheduler
Required
public IResolvable AttrScheduler { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Scheduler: The scheduling algorithm.
AttrSynProxy
Required
public IResolvable AttrSynProxy { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection.
AttrUnhealthyThreshold
Required
public IResolvable AttrUnhealthyThreshold { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute UnhealthyThreshold: The unhealthy threshold.
The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from success to fail. Valid values: 2 to 10.
AttrVServerGroupId
Required
public IResolvable AttrVServerGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VServerGroupId: The ID of the associated server group.