Skip to content

RuleProps

Properties for defining a Rule.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-slb-rule

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb"
&alicloudroscdkslb.RuleProps {
    ListenerPort: interface{},
    LoadBalancerId: interface{},
    RuleList: interface{},
    ListenerProtocol: interface{},
}

Properties

Name Type Description
ListenerPort interface{} Property listenerPort: The front-end HTTPS listener port of the Server Load Balancer instance.
LoadBalancerId interface{} Property loadBalancerId: The ID of Server Load Balancer instance.
RuleList interface{} Property ruleList: The forwarding rules to add.
ListenerProtocol interface{} Property listenerProtocol: The frontend protocol that is used by the SLB instance.

ListenerPortRequired

ListenerPort interface{}
  • Type: interface{}

Property listenerPort: The front-end HTTPS listener port of the Server Load Balancer instance.

Valid value: 1-65535


LoadBalancerIdRequired

LoadBalancerId interface{}
  • Type: interface{}

Property loadBalancerId: The ID of Server Load Balancer instance.


RuleListRequired

RuleList interface{}
  • Type: interface{}

Property ruleList: The forwarding rules to add.


ListenerProtocolOptional

ListenerProtocol interface{}
  • Type: interface{}

Property listenerProtocol: The frontend protocol that is used by the SLB instance.