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>, String, 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>, String, IList<DeliveryRuleCondition>)
Initializes a new instance of the DeliveryRule class.
public DeliveryRule (int order, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleAction> actions, string name = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleCondition> conditions = default);
new Microsoft.Azure.Management.Cdn.Models.DeliveryRule : int * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleAction> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.DeliveryRuleCondition> -> Microsoft.Azure.Management.Cdn.Models.DeliveryRule
Public Sub New (order As Integer, actions As IList(Of DeliveryRuleAction), Optional name As String = Nothing, 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.
- name
- String
Name of the rule
- conditions
- IList<DeliveryRuleCondition>
A list of conditions that must be matched for the actions to be executed
Applies to
Azure SDK for .NET