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. |
ListenerId
Required
public object ListenerId { get; set; }
- Type: object
Property listenerId: The ID of the listener that is configured for the Application Load Balancer (ALB) instance.
Priority
Required
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.
RuleActions
Required
public object RuleActions { get; set; }
- Type: object
Property ruleActions: The actions of the forwarding rule.
RuleConditions
Required
public object RuleConditions { get; set; }
- Type: object
Property ruleConditions: The conditions of the forwarding rule.
RuleName
Required
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.
Direction
Optional
public object Direction { get; set; }
- Type: object
Property direction: Rule direction.
Valid values: Request or Response.