CustomRule コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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' です。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET