LoadBalancer
This class encapsulates and extends the ROS resource type ALIYUN::SLB::LoadBalancer
, which is used to create a Server Load Balancer (SLB) instance.
Initializers
using AlibabaCloud.SDK.ROS.CDK.Slb;
new LoadBalancer(Construct Scope, string Id, LoadBalancerProps Props = null, 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
Optional
- 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. |
AttrAddressIpVersion |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AddressIPVersion: IP version. |
AttrAddressType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute AddressType: The address type of the load balancer. |
AttrBandwidth |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute Bandwidth: The bandwidth for network. |
AttrIpAddress |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute IpAddress: The ip address of the load balancer. |
AttrLoadBalancerId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerId: The id of load balance created. |
AttrLoadBalancerName |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerName: Name of created load balancer. |
AttrLoadBalancerSpec |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute LoadBalancerSpec: The specification of the Server Load Balancer instance. |
AttrMasterZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute MasterZoneId: The master zone id to create load balancer instance. |
AttrNetworkType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute NetworkType: The network type of the load balancer. |
AttrOrderId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute OrderId: The order ID. |
AttrPayType |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute PayType: The billing method of the instance to be created. |
AttrResourceGroupId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute ResourceGroupId: Resource group id. |
AttrSlaveZoneId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute SlaveZoneId: The slave zone id to create load balancer instance. |
AttrVpcId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VpcId: Vpc id. |
AttrVSwitchId |
AlibabaCloud.SDK.ROS.CDK.Core.IResolvable |
Attribute VSwitchId: VSwitch id. |
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
AttrAddressIpVersion
Required
public IResolvable AttrAddressIpVersion { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AddressIPVersion: IP version.
AttrAddressType
Required
public IResolvable AttrAddressType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute AddressType: The address type of the load balancer.
"intranet" or "internet".
AttrBandwidth
Required
public IResolvable AttrBandwidth { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute Bandwidth: The bandwidth for network.
AttrIpAddress
Required
public IResolvable AttrIpAddress { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute IpAddress: The ip address of the load balancer.
AttrLoadBalancerId
Required
public IResolvable AttrLoadBalancerId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerId: The id of load balance created.
AttrLoadBalancerName
Required
public IResolvable AttrLoadBalancerName { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerName: Name of created load balancer.
AttrLoadBalancerSpec
Required
public IResolvable AttrLoadBalancerSpec { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute LoadBalancerSpec: The specification of the Server Load Balancer instance.
AttrMasterZoneId
Required
public IResolvable AttrMasterZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute MasterZoneId: The master zone id to create load balancer instance.
AttrNetworkType
Required
public IResolvable AttrNetworkType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute NetworkType: The network type of the load balancer.
"vpc" or "classic" network.
AttrOrderId
Required
public IResolvable AttrOrderId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute OrderId: The order ID.
AttrPayType
Required
public IResolvable AttrPayType { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute PayType: The billing method of the instance to be created.
AttrResourceGroupId
Required
public IResolvable AttrResourceGroupId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute ResourceGroupId: Resource group id.
AttrSlaveZoneId
Required
public IResolvable AttrSlaveZoneId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute SlaveZoneId: The slave zone id to create load balancer instance.
AttrVpcId
Required
public IResolvable AttrVpcId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VpcId: Vpc id.
AttrVSwitchId
Required
public IResolvable AttrVSwitchId { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResolvable
Attribute VSwitchId: VSwitch id.