LoadBalancerProps
Properties for defining a LoadBalancer
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-alb-loadbalancer
Initializer
using AlibabaCloud.SDK.ROS.CDK.Alb;
new LoadBalancerProps {
object AddressType,
object LoadBalancerBillingConfig,
object LoadBalancerEdition,
object LoadBalancerName,
object VpcId,
object ZoneMappings,
object AccessLogConfig = null,
object AddressAllocatedMode = null,
object AddressIpVersion = null,
object BandwidthPackageId = null,
object DeletionProtectionEnabled = null,
object ModificationProtectionConfig = null,
object ResourceGroupId = null,
object SecurityGroupIds = null,
TagsProperty[] Tags = null
};
Properties
Name | Type | Description |
---|---|---|
AddressType |
object |
Property addressType: The type of IP address that the ALB instance uses to provide services. |
LoadBalancerBillingConfig |
object |
Property loadBalancerBillingConfig: The configuration of the billing method. |
LoadBalancerEdition |
object |
Property loadBalancerEdition: The edition of the ALB instance. |
LoadBalancerName |
object |
Property loadBalancerName: The name of the ALB instance. |
VpcId |
object |
Property vpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed. |
ZoneMappings |
object |
Property zoneMappings: The zones and the vSwitches in the zones. |
AccessLogConfig |
object |
Property accessLogConfig:. |
AddressAllocatedMode |
object |
Property addressAllocatedMode: The mode in which IP addresses are assigned. |
AddressIpVersion |
object |
Property addressIpVersion: The protocol version. |
BandwidthPackageId |
object |
Property bandwidthPackageId: Attach common bandwidth package to load balancer. |
DeletionProtectionEnabled |
object |
Property deletionProtectionEnabled: Specifies whether to enable deletion protection. |
ModificationProtectionConfig |
object |
Property modificationProtectionConfig: The configuration of modification protection. |
ResourceGroupId |
object |
Property resourceGroupId: The ID of the resource group. |
SecurityGroupIds |
object |
Property securityGroupIds: The IDs of the security group to which the ALB instance join. |
Tags |
TagsProperty[] |
Property tags: Tags to attach to instance. |
AddressType
Required
public object AddressType { get; set; }
- Type: object
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.
LoadBalancerBillingConfig
Required
public object LoadBalancerBillingConfig { get; set; }
- Type: object
Property loadBalancerBillingConfig: The configuration of the billing method.
LoadBalancerEdition
Required
public object LoadBalancerEdition { get; set; }
- Type: object
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
LoadBalancerName
Required
public object LoadBalancerName { get; set; }
- Type: object
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.
VpcId
Required
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
ZoneMappings
Required
public object ZoneMappings { get; set; }
- Type: object
Property zoneMappings: The zones and the vSwitches in the zones.
You must specify at least two zones.
AccessLogConfig
Optional
public object AccessLogConfig { get; set; }
- Type: object
Property accessLogConfig:.
AddressAllocatedMode
Optional
public object AddressAllocatedMode { get; set; }
- Type: object
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.
AddressIpVersion
Optional
public object AddressIpVersion { get; set; }
- Type: object
Property addressIpVersion: The protocol version.
Valid values: IPv4: IPv4 DualStack: dual stack
BandwidthPackageId
Optional
public object BandwidthPackageId { get; set; }
- Type: object
Property bandwidthPackageId: Attach common bandwidth package to load balancer.
It only takes effect when AddressType=Internet.
DeletionProtectionEnabled
Optional
public object DeletionProtectionEnabled { get; set; }
- Type: object
Property deletionProtectionEnabled: Specifies whether to enable deletion protection.
Default value: false.
ModificationProtectionConfig
Optional
public object ModificationProtectionConfig { get; set; }
- Type: object
Property modificationProtectionConfig: The configuration of modification protection.
ResourceGroupId
Optional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
SecurityGroupIds
Optional
public object SecurityGroupIds { get; set; }
- Type: object
Property securityGroupIds: The IDs of the security group to which the ALB instance join.
Tags
Optional
public TagsProperty[] Tags { get; set; }
- 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.