Skip to content

RulesProps

Properties for defining a Rules.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-slb-rules

Initializer

using AlibabaCloud.SDK.ROS.CDK.Slb;
new RulesProps {
    object ListenerPort,
    object LoadBalancerId,
    object ListenerProtocol = null,
    object RefreshOptions = null
};

Properties

Name Type Description
ListenerPort object Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.
LoadBalancerId object Property loadBalancerId: The ID of the CLB instance.
ListenerProtocol object Property listenerProtocol: The frontend listener protocol that is used by the SLB instance.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

ListenerPortRequired

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

Property listenerPort: The frontend listener port that is used by the Classic Load Balancer (CLB) instance.


LoadBalancerIdRequired

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

Property loadBalancerId: The ID of the CLB instance.


ListenerProtocolOptional

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

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


RefreshOptionsOptional

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

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.