LoadBalancer
This class encapsulates and extends the ROS resource type DATASOURCE::SLB::LoadBalancer
.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Slb;
new LoadBalancer(Construct Scope, string Id, LoadBalancerProps Props, bool EnableResourcePropertyConstraint = null);
Name | Type | Description |
---|---|---|
Scope |
AlibabaCloud.SDK.ROS.CDK.Core.Construct |
No description. |
Id |
string |
No description. |
Props |
LoadBalancerProps |
No description. |
EnableResourcePropertyConstraint |
bool |
No description. |
Scope
Required
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
Id
Required
- Type: string
Props
Required
- Type: LoadBalancerProps
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;
LoadBalancer.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. |
AttrAddress |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Address: The service IP address of the CLB instance. |
AttrAddressIpVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AddressIpVersion: The version of the IP address. |
AttrAddressType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AddressType: The address type of the CLB instance. |
AttrAutoReleaseTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released. |
AttrBackendServers |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute BackendServers: The backend servers of the CLB instance. |
AttrBandwidth |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis. |
AttrCreateTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CreateTime: The time when the CLB instance was created. |
AttrCreateTimeStamp |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded. |
AttrDeleteProtection |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance. |
AttrEndTime |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EndTime: The time when the CLB instance expires. |
AttrEndTimeStamp |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance. |
AttrInstanceChargeType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InstanceChargeType: Instance billing method. |
AttrInternetChargeType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance. |
AttrListenerPortsAndProtocal |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners. |
AttrListenerPortsAndProtocol |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners. |
AttrLoadBalancerId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerId: The CLB instance ID. |
AttrLoadBalancerName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerName: The name of the CLB instance. |
AttrLoadBalancerSpec |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerSpec: The specification of the CLB instance. |
AttrMasterZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs. |
AttrModificationProtectionReason |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled. |
AttrModificationProtectionStatus |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ModificationProtectionStatus: Load balancing modifies the protection state. |
AttrNetworkType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NetworkType: The network type of the CLB instance. |
AttrPaymentType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PaymentType: Load balancing instance payment type. |
AttrRegionIdAlias |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs. |
AttrRenewalCycUnit |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RenewalCycUnit: The auto-renewal cycle. |
AttrRenewalDuration |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RenewalDuration: The auto-renewal duration. |
AttrRenewalStatus |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute RenewalStatus: Indicates whether auto-renewal is enabled. |
AttrResourceGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ResourceGroupId: The resource group ID. |
AttrSlaveZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs. |
AttrTags |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Tags: The tags of the CLB instance. |
AttrVpcId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed. |
AttrVSwitchId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs. |
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
AttrAddress
Required
public IResolvable AttrAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Address: The service IP address of the CLB instance.
AttrAddressIpVersion
Required
public IResolvable AttrAddressIpVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AddressIpVersion: The version of the IP address.
Valid values: ipv4 and ipv6.
AttrAddressType
Required
public IResolvable AttrAddressType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AddressType: The address type of the CLB instance.
AttrAutoReleaseTime
Required
public IResolvable AttrAutoReleaseTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
AttrBackendServers
Required
public IResolvable AttrBackendServers { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BackendServers: The backend servers of the CLB instance.
AttrBandwidth
Required
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.
AttrCreateTime
Required
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The time when the CLB instance was created.
AttrCreateTimeStamp
Required
public IResolvable AttrCreateTimeStamp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
AttrDeleteProtection
Required
public IResolvable AttrDeleteProtection { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
AttrEndTime
Required
public IResolvable AttrEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EndTime: The time when the CLB instance expires.
AttrEndTimeStamp
Required
public IResolvable AttrEndTimeStamp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
AttrInstanceChargeType
Required
public IResolvable AttrInstanceChargeType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceChargeType: Instance billing method.
AttrInternetChargeType
Required
public IResolvable AttrInternetChargeType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
AttrListenerPortsAndProtocal
Required
public IResolvable AttrListenerPortsAndProtocal { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
AttrListenerPortsAndProtocol
Required
public IResolvable AttrListenerPortsAndProtocol { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
AttrLoadBalancerId
Required
public IResolvable AttrLoadBalancerId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerId: The CLB instance ID.
AttrLoadBalancerName
Required
public IResolvable AttrLoadBalancerName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerName: The name of the CLB instance.
AttrLoadBalancerSpec
Required
public IResolvable AttrLoadBalancerSpec { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerSpec: The specification of the CLB instance.
AttrMasterZoneId
Required
public IResolvable AttrMasterZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.
AttrModificationProtectionReason
Required
public IResolvable AttrModificationProtectionReason { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
AttrModificationProtectionStatus
Required
public IResolvable AttrModificationProtectionStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
AttrNetworkType
Required
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: The network type of the CLB instance.
AttrPaymentType
Required
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: Load balancing instance payment type.
AttrRegionIdAlias
Required
public IResolvable AttrRegionIdAlias { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
AttrRenewalCycUnit
Required
public IResolvable AttrRenewalCycUnit { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RenewalCycUnit: The auto-renewal cycle.
Valid values: Year and Month. Default value: Month.
AttrRenewalDuration
Required
public IResolvable AttrRenewalDuration { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RenewalDuration: The auto-renewal duration.
This parameter is valid only if RenewalStatus is set to AutoRenewal.
AttrRenewalStatus
Required
public IResolvable AttrRenewalStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The resource group ID.
AttrSlaveZoneId
Required
public IResolvable AttrSlaveZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.
AttrTags
Required
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: The tags of the CLB instance.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.