你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DeliveryRule 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DeliveryRule() |
初始化 DeliveryRule 类的新实例。 |
DeliveryRule(Int32, IList<DeliveryRuleAction>, String, IList<DeliveryRuleCondition>) |
初始化 DeliveryRule 类的新实例。 |
DeliveryRule()
初始化 DeliveryRule 类的新实例。
public DeliveryRule ();
Public Sub New ()
适用于
DeliveryRule(Int32, IList<DeliveryRuleAction>, String, IList<DeliveryRuleCondition>)
初始化 DeliveryRule 类的新实例。
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)
参数
- order
- Int32
为终结点应用规则的顺序。 可能的值 {0,1,2,3,.........}。 顺序较小的规则将在顺序较大的规则之前应用。 顺序为 0 的规则是一种特殊规则。 它不需要任何条件,并且将始终应用其中列出的操作。
- actions
- IList<DeliveryRuleAction>
在满足规则的所有条件时执行的操作列表。
- name
- String
规则名称
- conditions
- IList<DeliveryRuleCondition>
要执行的操作必须匹配的条件列表
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈