你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ActivityLogAlertResource 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ActivityLogAlertResource() |
初始化 ActivityLogAlertResource 类的新实例。 |
ActivityLogAlertResource(String, IList<String>, AlertRuleAllOfCondition, ActionList, String, String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, String) |
初始化 ActivityLogAlertResource 类的新实例。 |
ActivityLogAlertResource()
初始化 ActivityLogAlertResource 类的新实例。
public ActivityLogAlertResource ();
Public Sub New ()
适用于
ActivityLogAlertResource(String, IList<String>, AlertRuleAllOfCondition, ActionList, String, String, String, String, String, IDictionary<String, String>, Nullable<Boolean>, String)
初始化 ActivityLogAlertResource 类的新实例。
public ActivityLogAlertResource (string location, System.Collections.Generic.IList<string> scopes, Microsoft.Azure.Management.Monitor.Models.AlertRuleAllOfCondition condition, Microsoft.Azure.Management.Monitor.Models.ActionList actions, string id = default, string name = default, string type = default, string kind = default, string identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, bool? enabled = default, string description = default);
new Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource : string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Monitor.Models.AlertRuleAllOfCondition * Microsoft.Azure.Management.Monitor.Models.ActionList * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<bool> * string -> Microsoft.Azure.Management.Monitor.Models.ActivityLogAlertResource
Public Sub New (location As String, scopes As IList(Of String), condition As AlertRuleAllOfCondition, actions As ActionList, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional identity As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional enabled As Nullable(Of Boolean) = Nothing, Optional description As String = Nothing)
参数
- location
- String
资源位置
- condition
- AlertRuleAllOfCondition
将导致此警报激活的条件。
- actions
- ActionList
满足条件时将激活的操作。
- id
- String
Azure 资源 ID
- name
- String
Azure 资源名称
- type
- String
Azure 资源类型
- kind
- String
Azure 资源类型
- identity
- String
Azure 资源标识
- tags
- IDictionary<String,String>
资源标记
- description
- String
此活动日志警报规则的说明。