Skip to content

RuleProps

Properties for defining a Rule.

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

Initializer

using AlibabaCloud.SDK.ROS.CDK.Alb;
new RuleProps {
    object ListenerId,
    object Priority,
    object RuleActions,
    object RuleConditions,
    object RuleName,
    object Direction = null
};

Properties

Name Type Description
ListenerId object Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.
Priority object Property priority: The priority of the forwarding rule.
RuleActions object Property ruleActions: The actions of the forwarding rule.
RuleConditions object Property ruleConditions: The conditions of the forwarding rule.
RuleName object Property ruleName: The name of the forwarding rule.
Direction object Property direction: Rule direction.

ListenerIdRequired

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

Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.


PriorityRequired

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

Property priority: The priority of the forwarding rule.

Valid values: 1 to 10000. A lower value specifies a higher priority. Note The priority of each forwarding rule within a listener must be unique.


RuleActionsRequired

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

Property ruleActions: The actions of the forwarding rule.


RuleConditionsRequired

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

Property ruleConditions: The conditions of the forwarding rule.


RuleNameRequired

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

Property ruleName: The name of the forwarding rule.

The name must be 2 to 128 characters in length. It can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter.


DirectionOptional

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

Property direction: Rule direction.

Valid values: Request or Response.