Rule Interface
Implements
public interface Rule
extends ExternalChildResource<Rule,RuleSet>, HasInnerModel<RuleInner>
An immutable client-side representation of an Azure Front Door (AFD) rule that lives under a RuleSet.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
List<Delivery |
actions()
Gets the list of actions that are executed when all the conditions of a rule are satisfied. |
|
abstract
List<Delivery |
conditions()
Gets the list of conditions that must be matched for the actions to be executed. |
|
abstract
Deployment |
deploymentStatus()
Gets the deployment status for the rule. |
|
abstract
Match |
matchProcessingBehavior()
Gets whether the rules engine should continue running the remaining rules or stop after this rule is matched. |
| abstract Integer |
order()
Gets the order in which the rule is applied for the endpoint. |
|
abstract
Afd |
provisioningState()
Gets the provisioning state reported by the service. |
| abstract String |
ruleSetName()
Gets the name of the rule set containing this rule. |
Method Details
actions
public abstract List<DeliveryRuleAction> actions()
Gets the list of actions that are executed when all the conditions of a rule are satisfied.
Returns:
conditions
public abstract List<DeliveryRuleCondition> conditions()
Gets the list of conditions that must be matched for the actions to be executed.
Returns:
deploymentStatus
public abstract DeploymentStatus deploymentStatus()
Gets the deployment status for the rule.
Returns:
matchProcessingBehavior
public abstract MatchProcessingBehavior matchProcessingBehavior()
Gets whether the rules engine should continue running the remaining rules or stop after this rule is matched.
Returns:
order
public abstract Integer order()
Gets the order in which the rule is applied for the endpoint.
Returns:
provisioningState
public abstract AfdProvisioningState provisioningState()
Gets the provisioning state reported by the service.
Returns:
ruleSetName
public abstract String ruleSetName()
Gets the name of the rule set containing this rule.
Returns: