RulesProps
Properties for defining a Rules
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rules
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb/datasource"
&datasource.RulesProps {
ListenerPort: interface{},
LoadBalancerId: interface{},
ListenerProtocol: interface{},
RefreshOptions: interface{},
}
Properties
Name | Type | Description |
---|---|---|
ListenerPort |
interface{} |
Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance. |
LoadBalancerId |
interface{} |
Property loadBalancerId: The ID of the CLB instance. |
ListenerProtocol |
interface{} |
Property listenerProtocol: The frontend listener protocol that is used by the SLB instance. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
ListenerPort
Required
ListenerPort interface{}
- Type: interface{}
Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.
LoadBalancerId
Required
LoadBalancerId interface{}
- Type: interface{}
Property loadBalancerId: The ID of the CLB instance.
ListenerProtocol
Optional
ListenerProtocol interface{}
- Type: interface{}
Property listenerProtocol: The frontend listener protocol that is used by the SLB instance.
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.