Skip to content

ListenerProps

Properties for defining a Listener.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkgwlb"
&alicloudroscdkgwlb.ListenerProps {
    LoadBalancerId: interface{},
    ServerGroupId: interface{},
    ListenerDescription: interface{},
    Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkgwlb.RosListener.TagsProperty,
}

Properties

Name Type Description
LoadBalancerId interface{} Property loadBalancerId: The ID of the gateway load balancer instance.
ServerGroupId interface{} Property serverGroupId: The ID of the server group.
ListenerDescription interface{} Property listenerDescription: The custom listener description.
Tags *[]TagsProperty Property tags: Tags of listener.

LoadBalancerIdRequired

LoadBalancerId interface{}
  • Type: interface{}

Property loadBalancerId: The ID of the gateway load balancer instance.


ServerGroupIdRequired

ServerGroupId interface{}
  • Type: interface{}

Property serverGroupId: The ID of the server group.


ListenerDescriptionOptional

ListenerDescription interface{}
  • Type: interface{}

Property listenerDescription: The custom listener description.

The length is limited to 2 to 256 characters. It supports Chinese and English letters and can contain numbers, half-width commas (,), half-width periods (.), half-width semicolons (;), forward slashes (/), at(@), underscores (_), and dashes (-).


TagsOptional

Tags *[]TagsProperty

Property tags: Tags of listener.