RuleProperties Class

The JSON object that contains the properties of the Rules to create.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.cdn.models._models_py3.RuleUpdatePropertiesParameters
RuleProperties
azure.mgmt.cdn.models._models_py3.AFDStateProperties
RuleProperties

Constructor

RuleProperties(*, order: int | None = None, conditions: List[_models.DeliveryRuleCondition] | None = None, actions: List[_models.DeliveryRuleAction] | None = None, match_processing_behavior: str | _models.MatchProcessingBehavior = 'Continue', **kwargs: Any)

Keyword-Only Parameters

Name Description
order
int

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".

default value: Continue

Variables

Name Description
provisioning_state

Provisioning status. Known values are: "Succeeded", "Failed", "Updating", "Deleting", and "Creating".

deployment_status

Known values are: "NotStarted", "InProgress", "Succeeded", and "Failed".

rule_set_name
str

The name of the rule set containing the rule.

order
int

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".