LoadBalancerProps
Properties for defining a LoadBalancer.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-loadbalancer
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkalb"
&alicloudroscdkalb.LoadBalancerProps {
AddressType: interface{},
LoadBalancerBillingConfig: interface{},
LoadBalancerEdition: interface{},
LoadBalancerName: interface{},
VpcId: interface{},
ZoneMappings: interface{},
AccessLogConfig: interface{},
AddressAllocatedMode: interface{},
AddressIpVersion: interface{},
BandwidthPackageId: interface{},
DeletionProtectionEnabled: interface{},
ModificationProtectionConfig: interface{},
ResourceGroupId: interface{},
SecurityGroupIds: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkalb.RosLoadBalancer.TagsProperty,
}
Properties
| Name | Type | Description |
|---|---|---|
AddressType |
interface{} |
Property addressType: The type of IP address that the ALB instance uses to provide services. |
LoadBalancerBillingConfig |
interface{} |
Property loadBalancerBillingConfig: The configuration of the billing method. |
LoadBalancerEdition |
interface{} |
Property loadBalancerEdition: The edition of the ALB instance. |
LoadBalancerName |
interface{} |
Property loadBalancerName: The name of the ALB instance. |
VpcId |
interface{} |
Property vpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed. |
ZoneMappings |
interface{} |
Property zoneMappings: The zones and the vSwitches in the zones. |
AccessLogConfig |
interface{} |
Property accessLogConfig:. |
AddressAllocatedMode |
interface{} |
Property addressAllocatedMode: The mode in which IP addresses are assigned. |
AddressIpVersion |
interface{} |
Property addressIpVersion: The protocol version. |
BandwidthPackageId |
interface{} |
Property bandwidthPackageId: Attach common bandwidth package to load balancer. |
DeletionProtectionEnabled |
interface{} |
Property deletionProtectionEnabled: Specifies whether to enable deletion protection. |
ModificationProtectionConfig |
interface{} |
Property modificationProtectionConfig: The configuration of modification protection. |
ResourceGroupId |
interface{} |
Property resourceGroupId: The ID of the resource group. |
SecurityGroupIds |
interface{} |
Property securityGroupIds: The IDs of the security group to which the ALB instance join. |
Tags |
*[]TagsProperty |
Property tags: Tags to attach to instance. |
AddressTypeRequired
AddressType interface{}
- Type: interface{}
Property addressType: The type of IP address that the ALB instance uses to provide services.
Valid values: Internet: The ALB instance uses a public IP address. The domain name of the ALB instance is resolved to the public IP address. Therefore, the ALB instance can be accessed over the Internet. Intranet: The ALB instance uses a private IP address. The domain name of the ALB instance is resolved to the private IP address. Therefore, the ALB instance can be accessed over the VPC where the ALB instance is deployed.
LoadBalancerBillingConfigRequired
LoadBalancerBillingConfig interface{}
- Type: interface{}
Property loadBalancerBillingConfig: The configuration of the billing method.
LoadBalancerEditionRequired
LoadBalancerEdition interface{}
- Type: interface{}
Property loadBalancerEdition: The edition of the ALB instance.
Different editions have different limits and billing methods. Valid values: Basic: Basic Edition Standard: Standard Edition StandardWithWaf: Standard Edition with WAF
LoadBalancerNameRequired
LoadBalancerName interface{}
- Type: interface{}
Property loadBalancerName: The name of the ALB instance.
The name must be 2 to 128 characters in length, and can contain letters, digits, periods(.), underscores (_), and hyphens (-). The name must start with a letter.
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
ZoneMappingsRequired
ZoneMappings interface{}
- Type: interface{}
Property zoneMappings: The zones and the vSwitches in the zones.
You must specify at least two zones.
AccessLogConfigOptional
AccessLogConfig interface{}
- Type: interface{}
Property accessLogConfig:.
AddressAllocatedModeOptional
AddressAllocatedMode interface{}
- Type: interface{}
Property addressAllocatedMode: The mode in which IP addresses are assigned.
Valid values: Fixed: The ALB instance uses a static IP address. Dynamic: An IP address is dynamically assigned to the ALB instance in each zone. This is the default value.
AddressIpVersionOptional
AddressIpVersion interface{}
- Type: interface{}
Property addressIpVersion: The protocol version.
Valid values: IPv4: IPv4 DualStack: dual stack
BandwidthPackageIdOptional
BandwidthPackageId interface{}
- Type: interface{}
Property bandwidthPackageId: Attach common bandwidth package to load balancer.
It only takes effect when AddressType=Internet.
DeletionProtectionEnabledOptional
DeletionProtectionEnabled interface{}
- Type: interface{}
Property deletionProtectionEnabled: Specifies whether to enable deletion protection.
Default value: false.
ModificationProtectionConfigOptional
ModificationProtectionConfig interface{}
- Type: interface{}
Property modificationProtectionConfig: The configuration of modification protection.
ResourceGroupIdOptional
ResourceGroupId interface{}
- Type: interface{}
Property resourceGroupId: The ID of the resource group.
SecurityGroupIdsOptional
SecurityGroupIds interface{}
- Type: interface{}
Property securityGroupIds: The IDs of the security group to which the ALB instance join.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.