Udostępnij za pośrednictwem


Rule Class

Definition

Friendly Rules name mapping to the any Rules or secret related information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Rule : Microsoft.Azure.Management.Cdn.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Rule = class
    inherit ProxyResource
Public Class Rule
Inherits ProxyResource
Inheritance
Attributes

Constructors

Rule()

Initializes a new instance of the Rule class.

Rule(Int32, IList<DeliveryRuleAction>, String, String, String, SystemData, IList<DeliveryRuleCondition>, String, String, String)

Initializes a new instance of the Rule class.

Properties

Actions

Gets or sets a list of actions that are executed when all the conditions of a rule are satisfied.

Conditions

Gets or sets a list of conditions that must be matched for the actions to be executed

DeploymentStatus

Gets possible values include: 'NotStarted', 'InProgress', 'Succeeded', 'Failed'

Id

Gets resource ID.

(Inherited from Resource)
MatchProcessingBehavior

Gets or sets 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'

Name

Gets resource name.

(Inherited from Resource)
Order

Gets or sets 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.

ProvisioningState

Gets provisioning status. Possible values include: 'Succeeded', 'Failed', 'Updating', 'Deleting', 'Creating'

SystemData (Inherited from Resource)
Type

Gets resource type.

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to