LoadBalancer
This class encapsulates and extends the ROS resource type DATASOURCE::SLB::LoadBalancer
.
Initializers
import { datasource } from '@alicloud/ros-cdk-slb'
new datasource.LoadBalancer(scope: Construct, id: string, props: LoadBalancerProps, enableResourcePropertyConstraint?: boolean)
Name | Type | Description |
---|---|---|
scope |
@alicloud/ros-cdk-core.Construct |
No description. |
id |
string |
No description. |
props |
LoadBalancerProps |
No description. |
enableResourcePropertyConstraint |
boolean |
No description. |
scope
Required
- Type: @alicloud/ros-cdk-core.Construct
id
Required
- Type: string
props
Required
- Type: LoadBalancerProps
enableResourcePropertyConstraint
Optional
- Type: boolean
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
public toString(): string
Returns a string representation of this construct.
synthesize
public synthesize(session: ISynthesisSession): void
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: @alicloud/ros-cdk-core.ISynthesisSession
The synthesis session.
addCondition
public addCondition(condition: RosCondition): void
- Type: @alicloud/ros-cdk-core.RosCondition
addCount
public addCount(count: number | IResolvable): void
- Type: number | @alicloud/ros-cdk-core.IResolvable
addDependency
public addDependency(resource: Resource): void
- Type: @alicloud/ros-cdk-core.Resource
addResourceDesc
public addResourceDesc(desc: string): void
- Type: string
applyRemovalPolicy
public applyRemovalPolicy(policy: RemovalPolicy): void
- Type: @alicloud/ros-cdk-core.RemovalPolicy
getAtt
public getAtt(name: string): IResolvable
- Type: string
setMetadata
public setMetadata(key: string, value: any): void
- Type: string
- Type: any
Static Functions
Name | Description |
---|---|
isConstruct |
Return whether the given object is a Construct. |
isConstruct
import { datasource } from '@alicloud/ros-cdk-slb'
datasource.LoadBalancer.isConstruct(x: any)
Return whether the given object is a Construct.
- Type: any
Properties
Name | Type | Description |
---|---|---|
node |
@alicloud/ros-cdk-core.ConstructNode |
The construct tree node associated with this construct. |
ref |
string |
No description. |
stack |
@alicloud/ros-cdk-core.Stack |
The stack in which this resource is defined. |
resource |
@alicloud/ros-cdk-core.RosResource |
No description. |
attrAddress |
@alicloud/ros-cdk-core.IResolvable |
Attribute Address: The service IP address of the CLB instance. |
attrAddressIpVersion |
@alicloud/ros-cdk-core.IResolvable |
Attribute AddressIpVersion: The version of the IP address. |
attrAddressType |
@alicloud/ros-cdk-core.IResolvable |
Attribute AddressType: The address type of the CLB instance. |
attrAutoReleaseTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released. |
attrBackendServers |
@alicloud/ros-cdk-core.IResolvable |
Attribute BackendServers: The backend servers of the CLB instance. |
attrBandwidth |
@alicloud/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 |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTime: The time when the CLB instance was created. |
attrCreateTimeStamp |
@alicloud/ros-cdk-core.IResolvable |
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded. |
attrDeleteProtection |
@alicloud/ros-cdk-core.IResolvable |
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance. |
attrEndTime |
@alicloud/ros-cdk-core.IResolvable |
Attribute EndTime: The time when the CLB instance expires. |
attrEndTimeStamp |
@alicloud/ros-cdk-core.IResolvable |
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance. |
attrInstanceChargeType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InstanceChargeType: Instance billing method. |
attrInternetChargeType |
@alicloud/ros-cdk-core.IResolvable |
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance. |
attrListenerPortsAndProtocal |
@alicloud/ros-cdk-core.IResolvable |
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners. |
attrListenerPortsAndProtocol |
@alicloud/ros-cdk-core.IResolvable |
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners. |
attrLoadBalancerId |
@alicloud/ros-cdk-core.IResolvable |
Attribute LoadBalancerId: The CLB instance ID. |
attrLoadBalancerName |
@alicloud/ros-cdk-core.IResolvable |
Attribute LoadBalancerName: The name of the CLB instance. |
attrLoadBalancerSpec |
@alicloud/ros-cdk-core.IResolvable |
Attribute LoadBalancerSpec: The specification of the CLB instance. |
attrMasterZoneId |
@alicloud/ros-cdk-core.IResolvable |
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs. |
attrModificationProtectionReason |
@alicloud/ros-cdk-core.IResolvable |
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled. |
attrModificationProtectionStatus |
@alicloud/ros-cdk-core.IResolvable |
Attribute ModificationProtectionStatus: Load balancing modifies the protection state. |
attrNetworkType |
@alicloud/ros-cdk-core.IResolvable |
Attribute NetworkType: The network type of the CLB instance. |
attrPaymentType |
@alicloud/ros-cdk-core.IResolvable |
Attribute PaymentType: Load balancing instance payment type. |
attrRegionIdAlias |
@alicloud/ros-cdk-core.IResolvable |
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs. |
attrRenewalCycUnit |
@alicloud/ros-cdk-core.IResolvable |
Attribute RenewalCycUnit: The auto-renewal cycle. |
attrRenewalDuration |
@alicloud/ros-cdk-core.IResolvable |
Attribute RenewalDuration: The auto-renewal duration. |
attrRenewalStatus |
@alicloud/ros-cdk-core.IResolvable |
Attribute RenewalStatus: Indicates whether auto-renewal is enabled. |
attrResourceGroupId |
@alicloud/ros-cdk-core.IResolvable |
Attribute ResourceGroupId: The resource group ID. |
attrSlaveZoneId |
@alicloud/ros-cdk-core.IResolvable |
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs. |
attrTags |
@alicloud/ros-cdk-core.IResolvable |
Attribute Tags: The tags of the CLB instance. |
attrVpcId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed. |
attrVSwitchId |
@alicloud/ros-cdk-core.IResolvable |
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs. |
node
Required
public readonly node: ConstructNode;
- Type: @alicloud/ros-cdk-core.ConstructNode
The construct tree node associated with this construct.
ref
Required
public readonly ref: string;
- Type: string
stack
Required
public readonly stack: Stack;
- Type: @alicloud/ros-cdk-core.Stack
The stack in which this resource is defined.
resource
Optional
public readonly resource: RosResource;
- Type: @alicloud/ros-cdk-core.RosResource
attrAddress
Required
public readonly attrAddress: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Address: The service IP address of the CLB instance.
attrAddressIpVersion
Required
public readonly attrAddressIpVersion: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AddressIpVersion: The version of the IP address.
Valid values: ipv4 and ipv6.
attrAddressType
Required
public readonly attrAddressType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AddressType: The address type of the CLB instance.
attrAutoReleaseTime
Required
public readonly attrAutoReleaseTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
attrBackendServers
Required
public readonly attrBackendServers: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute BackendServers: The backend servers of the CLB instance.
attrBandwidth
Required
public readonly attrBandwidth: IResolvable;
- Type: @alicloud/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 readonly attrCreateTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTime: The time when the CLB instance was created.
attrCreateTimeStamp
Required
public readonly attrCreateTimeStamp: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
attrDeleteProtection
Required
public readonly attrDeleteProtection: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
attrEndTime
Required
public readonly attrEndTime: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EndTime: The time when the CLB instance expires.
attrEndTimeStamp
Required
public readonly attrEndTimeStamp: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
attrInstanceChargeType
Required
public readonly attrInstanceChargeType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InstanceChargeType: Instance billing method.
attrInternetChargeType
Required
public readonly attrInternetChargeType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
attrListenerPortsAndProtocal
Required
public readonly attrListenerPortsAndProtocal: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
attrListenerPortsAndProtocol
Required
public readonly attrListenerPortsAndProtocol: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
attrLoadBalancerId
Required
public readonly attrLoadBalancerId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LoadBalancerId: The CLB instance ID.
attrLoadBalancerName
Required
public readonly attrLoadBalancerName: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LoadBalancerName: The name of the CLB instance.
attrLoadBalancerSpec
Required
public readonly attrLoadBalancerSpec: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute LoadBalancerSpec: The specification of the CLB instance.
attrMasterZoneId
Required
public readonly attrMasterZoneId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.
attrModificationProtectionReason
Required
public readonly attrModificationProtectionReason: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
attrModificationProtectionStatus
Required
public readonly attrModificationProtectionStatus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
attrNetworkType
Required
public readonly attrNetworkType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute NetworkType: The network type of the CLB instance.
attrPaymentType
Required
public readonly attrPaymentType: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute PaymentType: Load balancing instance payment type.
attrRegionIdAlias
Required
public readonly attrRegionIdAlias: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
attrRenewalCycUnit
Required
public readonly attrRenewalCycUnit: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RenewalCycUnit: The auto-renewal cycle.
Valid values: Year and Month. Default value: Month.
attrRenewalDuration
Required
public readonly attrRenewalDuration: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RenewalDuration: The auto-renewal duration.
This parameter is valid only if RenewalStatus is set to AutoRenewal.
attrRenewalStatus
Required
public readonly attrRenewalStatus: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
attrResourceGroupId
Required
public readonly attrResourceGroupId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute ResourceGroupId: The resource group ID.
attrSlaveZoneId
Required
public readonly attrSlaveZoneId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.
attrTags
Required
public readonly attrTags: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute Tags: The tags of the CLB instance.
attrVpcId
Required
public readonly attrVpcId: IResolvable;
- Type: @alicloud/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 readonly attrVSwitchId: IResolvable;
- Type: @alicloud/ros-cdk-core.IResolvable
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.