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 VpcId,
object ZoneMappings,
object AccessLogConfig = null,
object AddressAllocatedMode = null,
object AddressIpVersion = null,
object BandwidthPackageId = null,
object DeletionProtectionEnabled = null,
object Ipv6AddressType = null,
object LoadBalancerName = 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. |
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: Address allocation mode. |
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. |
Ipv6AddressType | object | Property ipv6AddressType: The type of IPv6 address that the ALB instance uses to provide services. |
LoadBalancerName | object | Property loadBalancerName: The name of the Application Load Balancer (ALB) instance. |
ModificationProtectionConfig | object | Property modificationProtectionConfig: The modification protection configuration. |
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. |
AddressTypeRequired
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.
LoadBalancerBillingConfigRequired
public object LoadBalancerBillingConfig { get; set; }
- Type: object
Property loadBalancerBillingConfig: The configuration of the billing method.
LoadBalancerEditionRequired
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
VpcIdRequired
public object VpcId { get; set; }
- Type: object
Property vpcId: The ID of the virtual private cloud (VPC) where the ALB instance is deployed.
ZoneMappingsRequired
public object ZoneMappings { get; set; }
- Type: object
Property zoneMappings: The zones and the vSwitches in the zones.
You must specify at least two zones.
AccessLogConfigOptional
public object AccessLogConfig { get; set; }
- Type: object
Property accessLogConfig:.
AddressAllocatedModeOptional
public object AddressAllocatedMode { get; set; }
- Type: object
Property addressAllocatedMode: Address allocation mode.
Valid values:
- Fixed (Default): A fixed IP address is allocated to each zone.
- Dynamic: Dynamic IP mode. IP addresses are dynamically allocated for each zone.
Starting from , when you create a new instance by using this interface, it is created as an upgraded ALB instance regardless of the mode you specify. The distinction between IP modes is removed, and the allocated IP addresses are automatically elastic. ALB instances created before the upgrade are not affected.
AddressIpVersionOptional
public object AddressIpVersion { get; set; }
- Type: object
Property addressIpVersion: The protocol version.
Valid values: IPv4: IPv4 DualStack: dual stack
BandwidthPackageIdOptional
public object BandwidthPackageId { get; set; }
- Type: object
Property bandwidthPackageId: Attach common bandwidth package to load balancer.
It only takes effect when AddressType=Internet.
DeletionProtectionEnabledOptional
public object DeletionProtectionEnabled { get; set; }
- Type: object
Property deletionProtectionEnabled: Specifies whether to enable deletion protection.
Default value: false.
Ipv6AddressTypeOptional
public object Ipv6AddressType { get; set; }
- Type: object
Property ipv6AddressType: The type of IPv6 address that the ALB instance uses to provide services.
Valid values: Internet: The ALB instance uses a public IPv6 address. The domain name of the ALB instance is resolved to the public IPv6 address. Intranet: The ALB instance uses a private IPv6 address. The domain name of the ALB instance is resolved to the private IP address.
LoadBalancerNameOptional
public object LoadBalancerName { get; set; }
- Type: object
Property loadBalancerName: The name of the Application Load Balancer (ALB) instance.
The name must be 2 to 128 characters long, must start with a letter, digit, or Chinese character, and can contain digits, periods (.), underscores (_), hyphens (-), and spaces.
ModificationProtectionConfigOptional
public object ModificationProtectionConfig { get; set; }
- Type: object
Property modificationProtectionConfig: The modification protection configuration.
ResourceGroupIdOptional
public object ResourceGroupId { get; set; }
- Type: object
Property resourceGroupId: The ID of the resource group.
SecurityGroupIdsOptional
public object SecurityGroupIds { get; set; }
- Type: object
Property securityGroupIds: The IDs of the security group to which the ALB instance join.
TagsOptional
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.