DeliveryRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeliveryRule() |
Initializes a new instance of the DeliveryRule class. |
DeliveryRule(Int32, IList<DeliveryRuleAction>, IList<DeliveryRuleCondition>) |
Initializes a new instance of the DeliveryRule class. |
DeliveryRule()
Initializes a new instance of the DeliveryRule class.
public DeliveryRule ();
Public Sub New ()
Applies to
DeliveryRule(Int32, IList<DeliveryRuleAction>, IList<DeliveryRuleCondition>)
Initializes a new instance of the DeliveryRule class.
public DeliveryRule (int order, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Fluent.Models.DeliveryRuleAction> actions, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Fluent.Models.DeliveryRuleCondition> conditions = default);
new Microsoft.Azure.Management.Cdn.Fluent.Models.DeliveryRule : int * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Fluent.Models.DeliveryRuleAction> * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Fluent.Models.DeliveryRuleCondition> -> Microsoft.Azure.Management.Cdn.Fluent.Models.DeliveryRule
Public Sub New (order As Integer, actions As IList(Of DeliveryRuleAction), Optional conditions As IList(Of DeliveryRuleCondition) = Nothing)
Parameters
- order
- Int32
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.
- actions
- IList<DeliveryRuleAction>
A list of actions that are executed when all the conditions of a rule are satisfied.
- conditions
- IList<DeliveryRuleCondition>
A list of conditions that must be matched for the actions to be executed
Applies to
Azure SDK for .NET