Skip to content

LoadBalancerProps

Properties for defining a LoadBalancer.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gwlb-loadbalancer

Initializer

using AlibabaCloud.SDK.ROS.CDK.Gwlb;
new LoadBalancerProps {
    object VpcId,
    object ZoneMappings,
    object AddressIpVersion = null,
    object LoadBalancerName = null,
    object ResourceGroupId = null,
    TagsProperty[] Tags = null
};

Properties

Name Type Description
VpcId object Property vpcId: The ID of the VPC which the Gateway Load Balancer instance belongs.
ZoneMappings object Property zoneMappings: The List of zones and vSwitches mapped.
AddressIpVersion object Property addressIpVersion: The protocol version.
LoadBalancerName object Property loadBalancerName: The name of the Gateway Load Balancer instance.
ResourceGroupId object Property resourceGroupId: The ID of the resource group.
Tags TagsProperty[] Property tags: Tags of load balancer.

VpcIdRequired

public object VpcId { get; set; }
  • Type: object

Property vpcId: The ID of the VPC which the Gateway Load Balancer instance belongs.


ZoneMappingsRequired

public object ZoneMappings { get; set; }
  • Type: object

Property zoneMappings: The List of zones and vSwitches mapped.

You must add at least one zone and a maximum of 20 zones. If the current region supports two or more zones, we recommend that you add two or more zones.


AddressIpVersionOptional

public object AddressIpVersion { get; set; }
  • Type: object

Property addressIpVersion: The protocol version.

Value:

  • Ipv4: Ipv4 type.

LoadBalancerNameOptional

public object LoadBalancerName { get; set; }
  • Type: object

Property loadBalancerName: The name of the Gateway Load Balancer instance.

It must be 2 to 128 English or Chinese characters in length. It must start with a letter or a Chinese character and can contain digits, half-width periods (.), underscores (_), and dashes (-).


ResourceGroupIdOptional

public object ResourceGroupId { get; set; }
  • Type: object

Property resourceGroupId: The ID of the resource group.


TagsOptional

public TagsProperty[] Tags { get; set; }

Property tags: Tags of load balancer.