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: The direction in which the forwarding rule is applied. |
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 length must be 2 to 128 English or Chinese characters.
- The name must start with a letter, a Chinese character, or a number, and can contain numbers, periods (.), underscores (_), hyphens (-), and spaces.
DirectionOptional
public object Direction { get; set; }
- Type: object
Property direction: The direction in which the forwarding rule is applied.
Valid values:
- Request (default): The rule matches and processes requests sent from the client to the ALB instance.
- Response: The rule matches and processes responses returned from server groups to the ALB instance.
Basic ALB instances support only forwarding rules whose Direction is Request.