DeliveryRule(Int32, IEnumerable<DeliveryRuleAction>) コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
DeliveryRule の新しいインスタンスを初期化します。
public DeliveryRule (int order, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.DeliveryRuleAction> actions);
new Azure.ResourceManager.Cdn.Models.DeliveryRule : int * seq<Azure.ResourceManager.Cdn.Models.DeliveryRuleAction> -> Azure.ResourceManager.Cdn.Models.DeliveryRule
Public Sub New (order As Integer, actions As IEnumerable(Of DeliveryRuleAction))
パラメーター
- order
- Int32
エンドポイントにルールが適用される順序。 使用可能な値 {0,1,2,3,.........} 順序が小さいルールは、より大きな順序のルールの前に適用されます。 順序 0 のルールは特別なルールです。 条件を必要とせず、それに記載されているアクションは常に適用されます。
- actions
- IEnumerable<DeliveryRuleAction>
ルールのすべての条件が満たされたときに実行されるアクションの一覧。 基底クラスであることに注意 DeliveryRuleAction してください。 このシナリオでは、基底クラスの派生クラスをここで割り当てる必要があるか、このプロパティを使用可能な派生クラスのいずれかにキャストする必要があります。 使用可能な派生クラスには、、、、、DeliveryRuleRequestHeaderAction、OriginGroupOverrideActionDeliveryRuleResponseHeaderAction、UriRedirectActionDeliveryRuleRouteConfigurationOverrideActionUriRewriteAction、および UriSigningActionが含まれますDeliveryRuleCacheExpirationAction。 DeliveryRuleCacheKeyQueryStringAction
例外
actions
が null です。
適用対象
Azure SDK for .NET