Skip to content

LoadBalancerProps

Properties for defining a LoadBalancer.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkgwlb"
&alicloudroscdkgwlb.LoadBalancerProps {
    VpcId: interface{},
    ZoneMappings: interface{},
    AddressIpVersion: interface{},
    LoadBalancerName: interface{},
    ResourceGroupId: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkgwlb.RosLoadBalancer.TagsProperty,
}

Properties

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

VpcIdRequired

VpcId interface{}
  • Type: interface{}

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


ZoneMappingsRequired

ZoneMappings interface{}
  • Type: interface{}

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

AddressIpVersion interface{}
  • Type: interface{}

Property addressIpVersion: The protocol version.

Value:

  • Ipv4: Ipv4 type.

LoadBalancerNameOptional

LoadBalancerName interface{}
  • Type: interface{}

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

ResourceGroupId interface{}
  • Type: interface{}

Property resourceGroupId: The ID of the resource group.


TagsOptional

Tags *[]TagsProperty

Property tags: Tags of load balancer.