次の方法で共有


CustomRule コンストラクター

定義

オーバーロード

CustomRule()

CustomRule クラスの新しいインスタンスを初期化します。

CustomRule(String, Int32, IList<MatchCondition>, String, String)

CustomRule クラスの新しいインスタンスを初期化します。

CustomRule()

CustomRule クラスの新しいインスタンスを初期化します。

public CustomRule();
Public Sub New ()

適用対象

CustomRule(String, Int32, IList<MatchCondition>, String, String)

CustomRule クラスの新しいインスタンスを初期化します。

public CustomRule(string name, int priority, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.MatchCondition> matchConditions, string action, string enabledState = default);
new Microsoft.Azure.Management.Cdn.Models.CustomRule : string * int * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.MatchCondition> * string * string -> Microsoft.Azure.Management.Cdn.Models.CustomRule
Public Sub New (name As String, priority As Integer, matchConditions As IList(Of MatchCondition), action As String, Optional enabledState As String = Nothing)

パラメーター

name
String

カスタム規則の名前を定義します

priority
Int32

カスタム ルールの一覧全体でこのルールを評価する順序を定義します

matchConditions
IList<MatchCondition>

一致条件の一覧。

action
String

ルールが一致したときに適用するアクションについて説明します。 使用可能な値には、'Allow'、'Block'、'Log'、'Redirect' などがあります。

enabledState
String

カスタム ルールが有効または無効の状態であるかどうかを示します。 指定しない場合、既定値は [有効] になります。 使用可能な値は 'Disabled'、'Enabled' です。

適用対象