次の方法で共有


AlertRuleResourcePatch コンストラクター

定義

オーバーロード

AlertRuleResourcePatch()

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

AlertRuleResourcePatch(String, Boolean, RuleCondition, IDictionary<String,String>, String, String, RuleAction, IList<RuleAction>, Nullable<DateTime>)

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

AlertRuleResourcePatch()

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

public AlertRuleResourcePatch ();
Public Sub New ()

適用対象

AlertRuleResourcePatch(String, Boolean, RuleCondition, IDictionary<String,String>, String, String, RuleAction, IList<RuleAction>, Nullable<DateTime>)

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

public AlertRuleResourcePatch (string name, bool isEnabled, Microsoft.Azure.Management.Monitor.Models.RuleCondition condition, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, string provisioningState = default, Microsoft.Azure.Management.Monitor.Models.RuleAction action = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.RuleAction> actions = default, DateTime? lastUpdatedTime = default);
new Microsoft.Azure.Management.Monitor.Models.AlertRuleResourcePatch : string * bool * Microsoft.Azure.Management.Monitor.Models.RuleCondition * System.Collections.Generic.IDictionary<string, string> * string * string * Microsoft.Azure.Management.Monitor.Models.RuleAction * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.RuleAction> * Nullable<DateTime> -> Microsoft.Azure.Management.Monitor.Models.AlertRuleResourcePatch
Public Sub New (name As String, isEnabled As Boolean, condition As RuleCondition, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional provisioningState As String = Nothing, Optional action As RuleAction = Nothing, Optional actions As IList(Of RuleAction) = Nothing, Optional lastUpdatedTime As Nullable(Of DateTime) = Nothing)

パラメーター

name
String

アラート ルールの名前。

isEnabled
Boolean

アラート ルールが有効になっているかどうかを示すフラグ。

condition
RuleCondition

アラート ルールがアクティブ化される条件。

tags
IDictionary<String,String>

リソース タグ

description
String

アラート メールに含まれるアラート ルールの説明。

provisioningState
String

プロビジョニングの状態。

action
RuleAction

アラート ルールがアクティブになったとき、およびアラート条件が解決されたときに実行されるアクション。

actions
IList<RuleAction>

アラート ルールがアクティブになったとき、およびアラート条件が解決されたときに実行されるアクションの配列。

lastUpdatedTime
Nullable<DateTime>

規則が ISO8601 形式で最後に更新された時刻。

適用対象