LoadBalancer
This class encapsulates and extends the ROS resource type DATASOURCE::SLB::LoadBalancer
.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb/datasource"
datasource.NewLoadBalancer(scope Construct, id *string, props LoadBalancerProps, enableResourcePropertyConstraint *bool) LoadBalancer
Name | Type | Description |
---|---|---|
scope |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct |
No description. |
id |
*string |
No description. |
props |
LoadBalancerProps |
No description. |
enableResourcePropertyConstraint |
*bool |
No description. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.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
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
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: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
Name | Description |
---|---|
IsConstruct |
Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb/datasource"
datasource.LoadBalancer_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
Name | Type | Description |
---|---|---|
Node |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode |
The construct tree node associated with this construct. |
Ref |
*string |
No description. |
Stack |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack |
The stack in which this resource is defined. |
Resource |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource |
No description. |
AttrAddress |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Address: The service IP address of the CLB instance. |
AttrAddressIpVersion |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AddressIpVersion: The version of the IP address. |
AttrAddressType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AddressType: The address type of the CLB instance. |
AttrAutoReleaseTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released. |
AttrBackendServers |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute BackendServers: The backend servers of the CLB instance. |
AttrBandwidth |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis. |
AttrCreateTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreateTime: The time when the CLB instance was created. |
AttrCreateTimeStamp |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded. |
AttrDeleteProtection |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance. |
AttrEndTime |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EndTime: The time when the CLB instance expires. |
AttrEndTimeStamp |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance. |
AttrInstanceChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InstanceChargeType: Instance billing method. |
AttrInternetChargeType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance. |
AttrListenerPortsAndProtocal |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners. |
AttrListenerPortsAndProtocol |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners. |
AttrLoadBalancerId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LoadBalancerId: The CLB instance ID. |
AttrLoadBalancerName |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LoadBalancerName: The name of the CLB instance. |
AttrLoadBalancerSpec |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute LoadBalancerSpec: The specification of the CLB instance. |
AttrMasterZoneId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs. |
AttrModificationProtectionReason |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled. |
AttrModificationProtectionStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ModificationProtectionStatus: Load balancing modifies the protection state. |
AttrNetworkType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute NetworkType: The network type of the CLB instance. |
AttrPaymentType |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute PaymentType: Load balancing instance payment type. |
AttrRegionIdAlias |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs. |
AttrRenewalCycUnit |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute RenewalCycUnit: The auto-renewal cycle. |
AttrRenewalDuration |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute RenewalDuration: The auto-renewal duration. |
AttrRenewalStatus |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute RenewalStatus: Indicates whether auto-renewal is enabled. |
AttrResourceGroupId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute ResourceGroupId: The resource group ID. |
AttrSlaveZoneId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs. |
AttrTags |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute Tags: The tags of the CLB instance. |
AttrVpcId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed. |
AttrVSwitchId |
github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable |
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAddress
Required
func AttrAddress() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Address: The service IP address of the CLB instance.
AttrAddressIpVersion
Required
func AttrAddressIpVersion() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AddressIpVersion: The version of the IP address.
Valid values: ipv4 and ipv6.
AttrAddressType
Required
func AttrAddressType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AddressType: The address type of the CLB instance.
AttrAutoReleaseTime
Required
func AttrAutoReleaseTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
AttrBackendServers
Required
func AttrBackendServers() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute BackendServers: The backend servers of the CLB instance.
AttrBandwidth
Required
func AttrBandwidth() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.
AttrCreateTime
Required
func AttrCreateTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreateTime: The time when the CLB instance was created.
AttrCreateTimeStamp
Required
func AttrCreateTimeStamp() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
AttrDeleteProtection
Required
func AttrDeleteProtection() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
AttrEndTime
Required
func AttrEndTime() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EndTime: The time when the CLB instance expires.
AttrEndTimeStamp
Required
func AttrEndTimeStamp() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
AttrInstanceChargeType
Required
func AttrInstanceChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InstanceChargeType: Instance billing method.
AttrInternetChargeType
Required
func AttrInternetChargeType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
AttrListenerPortsAndProtocal
Required
func AttrListenerPortsAndProtocal() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
AttrListenerPortsAndProtocol
Required
func AttrListenerPortsAndProtocol() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
AttrLoadBalancerId
Required
func AttrLoadBalancerId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LoadBalancerId: The CLB instance ID.
AttrLoadBalancerName
Required
func AttrLoadBalancerName() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LoadBalancerName: The name of the CLB instance.
AttrLoadBalancerSpec
Required
func AttrLoadBalancerSpec() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LoadBalancerSpec: The specification of the CLB instance.
AttrMasterZoneId
Required
func AttrMasterZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.
AttrModificationProtectionReason
Required
func AttrModificationProtectionReason() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
AttrModificationProtectionStatus
Required
func AttrModificationProtectionStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
AttrNetworkType
Required
func AttrNetworkType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute NetworkType: The network type of the CLB instance.
AttrPaymentType
Required
func AttrPaymentType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PaymentType: Load balancing instance payment type.
AttrRegionIdAlias
Required
func AttrRegionIdAlias() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
AttrRenewalCycUnit
Required
func AttrRenewalCycUnit() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute RenewalCycUnit: The auto-renewal cycle.
Valid values: Year and Month. Default value: Month.
AttrRenewalDuration
Required
func AttrRenewalDuration() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute RenewalDuration: The auto-renewal duration.
This parameter is valid only if RenewalStatus is set to AutoRenewal.
AttrRenewalStatus
Required
func AttrRenewalStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
AttrResourceGroupId
Required
func AttrResourceGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ResourceGroupId: The resource group ID.
AttrSlaveZoneId
Required
func AttrSlaveZoneId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.
AttrTags
Required
func AttrTags() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Tags: The tags of the CLB instance.
AttrVpcId
Required
func AttrVpcId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.
AttrVSwitchId
Required
func AttrVSwitchId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.