DeliveryRule Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
DeliveryRule() |
Initierar en ny instans av klassen DeliveryRule. |
DeliveryRule(Int32, IList<DeliveryRuleAction>, IList<DeliveryRuleCondition>) |
Initierar en ny instans av klassen DeliveryRule. |
DeliveryRule()
Initierar en ny instans av klassen DeliveryRule.
public DeliveryRule();
Public Sub New ()
Gäller för
DeliveryRule(Int32, IList<DeliveryRuleAction>, IList<DeliveryRuleCondition>)
Initierar en ny instans av klassen DeliveryRule.
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)
Parametrar
- order
- Int32
I vilken ordning reglerna tillämpas för slutpunkten. Möjliga värden {0,1,2,3,.........}. En regel med en mindre ordning tillämpas före en regel med större ordning. Regel med ordning 0 är en särskild regel. Det kräver inte några villkor och åtgärder som anges i den kommer alltid att tillämpas.
- actions
- IList<DeliveryRuleAction>
En lista över åtgärder som körs när alla villkor för en regel är uppfyllda.
- conditions
- IList<DeliveryRuleCondition>
En lista över villkor som måste matchas för att åtgärderna ska köras
Gäller för
Azure SDK for .NET