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. |
ScopeRequired
- Type: AlibabaCloud.SDK.ROS.CDK.Core.Construct
IdRequired
- Type: string
PropsRequired
- Type: LoadBalancerProps
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;
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. |
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
AttrAddressRequired
public IResolvable AttrAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Address: The service IP address of the CLB instance.
AttrAddressIpVersionRequired
public IResolvable AttrAddressIpVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AddressIpVersion: The version of the IP address.
Valid values: ipv4 and ipv6.
AttrAddressTypeRequired
public IResolvable AttrAddressType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AddressType: The address type of the CLB instance.
AttrAutoReleaseTimeRequired
public IResolvable AttrAutoReleaseTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
AttrBackendServersRequired
public IResolvable AttrBackendServers { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute BackendServers: The backend servers of the CLB instance.
AttrBandwidthRequired
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.
AttrCreateTimeRequired
public IResolvable AttrCreateTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTime: The time when the CLB instance was created.
AttrCreateTimeStampRequired
public IResolvable AttrCreateTimeStamp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
AttrDeleteProtectionRequired
public IResolvable AttrDeleteProtection { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
AttrEndTimeRequired
public IResolvable AttrEndTime { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EndTime: The time when the CLB instance expires.
AttrEndTimeStampRequired
public IResolvable AttrEndTimeStamp { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
AttrInstanceChargeTypeRequired
public IResolvable AttrInstanceChargeType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InstanceChargeType: Instance billing method.
AttrInternetChargeTypeRequired
public IResolvable AttrInternetChargeType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
AttrListenerPortsAndProtocalRequired
public IResolvable AttrListenerPortsAndProtocal { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
AttrListenerPortsAndProtocolRequired
public IResolvable AttrListenerPortsAndProtocol { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
AttrLoadBalancerIdRequired
public IResolvable AttrLoadBalancerId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerId: The CLB instance ID.
AttrLoadBalancerNameRequired
public IResolvable AttrLoadBalancerName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerName: The name of the CLB instance.
AttrLoadBalancerSpecRequired
public IResolvable AttrLoadBalancerSpec { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerSpec: The specification of the CLB instance.
AttrMasterZoneIdRequired
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.
AttrModificationProtectionReasonRequired
public IResolvable AttrModificationProtectionReason { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
AttrModificationProtectionStatusRequired
public IResolvable AttrModificationProtectionStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
AttrNetworkTypeRequired
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: The network type of the CLB instance.
AttrPaymentTypeRequired
public IResolvable AttrPaymentType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PaymentType: Load balancing instance payment type.
AttrRegionIdAliasRequired
public IResolvable AttrRegionIdAlias { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
AttrRenewalCycUnitRequired
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.
AttrRenewalDurationRequired
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.
AttrRenewalStatusRequired
public IResolvable AttrRenewalStatus { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
AttrResourceGroupIdRequired
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: The resource group ID.
AttrSlaveZoneIdRequired
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.
AttrTagsRequired
public IResolvable AttrTags { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Tags: The tags of the CLB instance.
AttrVpcIdRequired
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.
AttrVSwitchIdRequired
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.