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. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
EnableResourcePropertyConstraintOptional
- 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. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
RefRequired
public string Ref { get; }
- Type: string
StackRequired
public Stack Stack { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Stack
The stack in which this resource is defined.
ResourceOptional
public RosResource Resource { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.RosResource
AttrAclIdRequired
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.
AttrAclIdsRequired
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.
AttrAclStatusRequired
public IResolvable AttrAclStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclStatus: Indicates whether access control is enabled.
AttrAclTypeRequired
public IResolvable AttrAclType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AclType: The type of the ACL.
AttrBackendServerPortRequired
public IResolvable AttrBackendServerPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BackendServerPort: The backend port used by the CLB instance.
AttrBandwidthRequired
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: The maximum bandwidth of the listener.
Unit: Mbit/s.
AttrConnectionDrainRequired
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.
AttrConnectionDrainTimeoutRequired
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.
AttrDescriptionRequired
public IResolvable AttrDescription { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Description: The description of the listener.
AttrEstablishedTimeoutRequired
public IResolvable AttrEstablishedTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EstablishedTimeout: The timeout period of a connection.
AttrHealthCheckRequired
public IResolvable AttrHealthCheck { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheck: Indicates whether the health check feature is enabled.
AttrHealthCheckConnectPortRequired
public IResolvable AttrHealthCheckConnectPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckConnectPort: The port that is used for health checks.
AttrHealthCheckConnectTimeoutRequired
public IResolvable AttrHealthCheckConnectTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckConnectTimeout: The timeout period.
Unit: seconds.
AttrHealthCheckDomainRequired
public IResolvable AttrHealthCheckDomain { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckDomain: The domain name that is used for health checks.
AttrHealthCheckHttpCodeRequired
public IResolvable AttrHealthCheckHttpCode { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckHttpCode: The HTTP status code for a successful health check.
AttrHealthCheckIntervalRequired
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.
AttrHealthCheckMethodRequired
public IResolvable AttrHealthCheckMethod { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckMethod: The health check method.
AttrHealthCheckTypeRequired
public IResolvable AttrHealthCheckType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckType: The health check method that is used by the TCP listener.
AttrHealthCheckUriRequired
public IResolvable AttrHealthCheckUri { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute HealthCheckUri: The URL that is used for health checks.
AttrHealthyThresholdRequired
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.
AttrListenerPortRequired
public IResolvable AttrListenerPort { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ListenerPort: The frontend port used by the CLB instance.
AttrLoadBalancerIdRequired
public IResolvable AttrLoadBalancerId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerId: The ID of the CLB instance.
AttrMasterSlaveServerGroupIdRequired
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.
AttrPersistenceTimeoutRequired
public IResolvable AttrPersistenceTimeout { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PersistenceTimeout: The timeout period of session persistence.
AttrProxyProtocolV2EnabledRequired
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.
AttrSchedulerRequired
public IResolvable AttrScheduler { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Scheduler: The scheduling algorithm.
AttrSynProxyRequired
public IResolvable AttrSynProxy { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection.
AttrUnhealthyThresholdRequired
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.
AttrVServerGroupIdRequired
public IResolvable AttrVServerGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VServerGroupId: The ID of the associated server group.