LoadBalancer
- Implements: AlibabaCloud.SDK.ROS.CDK.Slb.datasource.ILoadBalancer
This class encapsulates and extends the ROS resource type DATASOURCE::SLB::LoadBalancer, which is used to query the information about a Classic Load Balancer (CLB) instance.
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. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | 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
FetchCondition
private RosCondition FetchCondition()
FetchDependency
private string[] FetchDependency()
FetchResourceDesc
private string FetchResourceDesc()
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. |
Env | AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment | The environment this resource belongs to. |
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 | object | Attribute Address: The service IP address of the CLB instance. |
AttrAddressIpVersion | object | Attribute AddressIpVersion: The version of the IP address. |
AttrAddressType | object | Attribute AddressType: The address type of the CLB instance. |
AttrAutoReleaseTime | object | Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released. |
AttrBackendServers | object | Attribute BackendServers: The backend servers of the CLB instance. |
AttrBandwidth | object | Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis. |
AttrCreateTime | object | Attribute CreateTime: The time when the CLB instance was created. |
AttrCreateTimeStamp | object | Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded. |
AttrDeleteProtection | object | Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance. |
AttrEndTime | object | Attribute EndTime: The time when the CLB instance expires. |
AttrEndTimeStamp | object | Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance. |
AttrInstanceChargeType | object | Attribute InstanceChargeType: Instance billing method. |
AttrInternetChargeType | object | Attribute InternetChargeType: The metering method of the Internet-facing CLB instance. |
AttrListenerPortsAndProtocal | object | Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners. |
AttrListenerPortsAndProtocol | object | Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners. |
AttrLoadBalancerId | object | Attribute LoadBalancerId: The CLB instance ID. |
AttrLoadBalancerName | object | Attribute LoadBalancerName: The name of the CLB instance. |
AttrLoadBalancerSpec | object | Attribute LoadBalancerSpec: The specification of the CLB instance. |
AttrMasterZoneId | object | Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs. |
AttrModificationProtectionReason | object | Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled. |
AttrModificationProtectionStatus | object | Attribute ModificationProtectionStatus: Load balancing modifies the protection state. |
AttrNetworkType | object | Attribute NetworkType: The network type of the CLB instance. |
AttrPaymentType | object | Attribute PaymentType: Load balancing instance payment type. |
AttrRegionIdAlias | object | Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs. |
AttrRenewalCycUnit | object | Attribute RenewalCycUnit: The auto-renewal cycle. |
AttrRenewalDuration | object | Attribute RenewalDuration: The auto-renewal duration. |
AttrRenewalStatus | object | Attribute RenewalStatus: Indicates whether auto-renewal is enabled. |
AttrResourceGroupId | object | Attribute ResourceGroupId: The resource group ID. |
AttrSlaveZoneId | object | Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs. |
AttrTags | object | Attribute Tags: The tags of the CLB instance. |
AttrVpcId | object | Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed. |
AttrVSwitchId | object | Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs. |
Props | LoadBalancerProps | No description. |
NodeRequired
public ConstructNode Node { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.ConstructNode
The construct tree node associated with this construct.
EnvRequired
public IResourceEnvironment Env { get; }
- Type: AlibabaCloud.SDK.ROS.CDK.Core.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
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 object AttrAddress { get; }
- Type: object
Attribute Address: The service IP address of the CLB instance.
AttrAddressIpVersionRequired
public object AttrAddressIpVersion { get; }
- Type: object
Attribute AddressIpVersion: The version of the IP address.
Valid values: ipv4 and ipv6.
AttrAddressTypeRequired
public object AttrAddressType { get; }
- Type: object
Attribute AddressType: The address type of the CLB instance.
AttrAutoReleaseTimeRequired
public object AttrAutoReleaseTime { get; }
- Type: object
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
AttrBackendServersRequired
public object AttrBackendServers { get; }
- Type: object
Attribute BackendServers: The backend servers of the CLB instance.
AttrBandwidthRequired
public object AttrBandwidth { get; }
- Type: object
Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.
AttrCreateTimeRequired
public object AttrCreateTime { get; }
- Type: object
Attribute CreateTime: The time when the CLB instance was created.
AttrCreateTimeStampRequired
public object AttrCreateTimeStamp { get; }
- Type: object
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
AttrDeleteProtectionRequired
public object AttrDeleteProtection { get; }
- Type: object
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
AttrEndTimeRequired
public object AttrEndTime { get; }
- Type: object
Attribute EndTime: The time when the CLB instance expires.
AttrEndTimeStampRequired
public object AttrEndTimeStamp { get; }
- Type: object
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
AttrInstanceChargeTypeRequired
public object AttrInstanceChargeType { get; }
- Type: object
Attribute InstanceChargeType: Instance billing method.
AttrInternetChargeTypeRequired
public object AttrInternetChargeType { get; }
- Type: object
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
AttrListenerPortsAndProtocalRequired
public object AttrListenerPortsAndProtocal { get; }
- Type: object
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
AttrListenerPortsAndProtocolRequired
public object AttrListenerPortsAndProtocol { get; }
- Type: object
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
AttrLoadBalancerIdRequired
public object AttrLoadBalancerId { get; }
- Type: object
Attribute LoadBalancerId: The CLB instance ID.
AttrLoadBalancerNameRequired
public object AttrLoadBalancerName { get; }
- Type: object
Attribute LoadBalancerName: The name of the CLB instance.
AttrLoadBalancerSpecRequired
public object AttrLoadBalancerSpec { get; }
- Type: object
Attribute LoadBalancerSpec: The specification of the CLB instance.
AttrMasterZoneIdRequired
public object AttrMasterZoneId { get; }
- Type: object
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.
AttrModificationProtectionReasonRequired
public object AttrModificationProtectionReason { get; }
- Type: object
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
AttrModificationProtectionStatusRequired
public object AttrModificationProtectionStatus { get; }
- Type: object
Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
AttrNetworkTypeRequired
public object AttrNetworkType { get; }
- Type: object
Attribute NetworkType: The network type of the CLB instance.
AttrPaymentTypeRequired
public object AttrPaymentType { get; }
- Type: object
Attribute PaymentType: Load balancing instance payment type.
AttrRegionIdAliasRequired
public object AttrRegionIdAlias { get; }
- Type: object
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
AttrRenewalCycUnitRequired
public object AttrRenewalCycUnit { get; }
- Type: object
Attribute RenewalCycUnit: The auto-renewal cycle.
Valid values: Year and Month. Default value: Month.
AttrRenewalDurationRequired
public object AttrRenewalDuration { get; }
- Type: object
Attribute RenewalDuration: The auto-renewal duration.
This parameter is valid only if RenewalStatus is set to AutoRenewal.
AttrRenewalStatusRequired
public object AttrRenewalStatus { get; }
- Type: object
Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
AttrResourceGroupIdRequired
public object AttrResourceGroupId { get; }
- Type: object
Attribute ResourceGroupId: The resource group ID.
AttrSlaveZoneIdRequired
public object AttrSlaveZoneId { get; }
- Type: object
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.
AttrTagsRequired
public object AttrTags { get; }
- Type: object
Attribute Tags: The tags of the CLB instance.
AttrVpcIdRequired
public object AttrVpcId { get; }
- Type: object
Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.
AttrVSwitchIdRequired
public object AttrVSwitchId { get; }
- Type: object
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.
PropsRequired
public LoadBalancerProps Props { get; }
- Type: LoadBalancerProps