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.AFDStatePropertiesRulePropertiesazure.mgmt.cdn.models._models_py3.RuleUpdatePropertiesParametersRuleProperties
Constructor
RuleProperties(*, order: Optional[int] = None, conditions: Optional[List[azure.mgmt.cdn.models._models_py3.DeliveryRuleCondition]] = None, actions: Optional[List[azure.mgmt.cdn.models._models_py3.DeliveryRuleAction]] = None, match_processing_behavior: Optional[Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.MatchProcessingBehavior]] = None, **kwargs)
Variables
- 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
- list[DeliveryRuleCondition]
A list of conditions that must be matched for the actions to be executed.
- actions
- list[DeliveryRuleAction]
A list of actions that are executed when all the conditions of a rule are satisfied.
- match_processing_behavior
- str or MatchProcessingBehavior
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".
- 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".
Feedback
Submit and view feedback for