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.AFDStateProperties
RuleProperties
azure.mgmt.cdn.models._models_py3.RuleUpdatePropertiesParameters
RuleProperties

Constructor

RuleProperties(*, order: typing.Union[int, NoneType] = None, conditions: typing.Union[typing.List[_ForwardRef('DeliveryRuleCondition')], NoneType] = None, actions: typing.Union[typing.List[_ForwardRef('DeliveryRuleAction')], NoneType] = None, match_processing_behavior: typing.Union[str, _ForwardRef('MatchProcessingBehavior'), NoneType] = None, **kwargs)

Parameters

order
int
Required

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
list[DeliveryRuleCondition]
Required

A list of conditions that must be matched for the actions to be executed.

actions
list[DeliveryRuleAction]
Required

A list of actions that are executed when all the conditions of a rule are satisfied.

match_processing_behavior
str or MatchProcessingBehavior
Required

If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. Possible values include: "Continue", "Stop".

Variables

provisioning_state
str or AfdProvisioningState

Provisioning status. Possible values include: "Succeeded", "Failed", "Updating", "Deleting", "Creating".

deployment_status
str or DeploymentStatus

Possible values include: "NotStarted", "InProgress", "Succeeded", "Failed".