RuleProperties Class
The JSON object that contains the properties of the Rules to create.
Constructor
RuleProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
rule_set_name
|
The name of the rule set containing the rule. |
|
order
|
The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,.........}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. |
|
conditions
|
A list of conditions that must be matched for the actions to be executed. |
|
actions
|
A list of actions that are executed when all the conditions of a rule are satisfied. |
|
match_processing_behavior
|
If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Known values are: "Continue" and "Stop". |
|
provisioning_state
|
Provisioning status. Known values are: "Succeeded", "Failed", "Updating", "Deleting", and "Creating". |
|
deployment_status
|
Known values are: "NotStarted", "InProgress", "Succeeded", and "Failed". |
Attributes
actions
A list of actions that are executed when all the conditions of a rule are satisfied.
actions: list['_models.DeliveryRuleAction'] | None
conditions
A list of conditions that must be matched for the actions to be executed.
conditions: list['_models.DeliveryRuleCondition'] | None
deployment_status
"NotStarted", "InProgress", "Succeeded", and "Failed".
deployment_status: str | _models.DeploymentStatus | None
match_processing_behavior
If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Known values are: "Continue" and "Stop".
match_processing_behavior: str | _models.MatchProcessingBehavior | None
order
The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,.........}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.
order: int | None
provisioning_state
"Succeeded", "Failed", "Updating", "Deleting", and "Creating".
provisioning_state: str | _models.AfdProvisioningState | None
rule_set_name
The name of the rule set containing the rule.
rule_set_name: str | None