你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SmartGroup 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SmartGroup()
初始化 SmartGroup 类的新实例。
public SmartGroup();
Public Sub New ()
适用于
SmartGroup(String, String, String, Nullable<Int64>, String, String, Nullable<DateTime>, Nullable<DateTime>, String, IList<SmartGroupAggregatedProperty>, IList<SmartGroupAggregatedProperty>, IList<SmartGroupAggregatedProperty>, IList<SmartGroupAggregatedProperty>, IList<SmartGroupAggregatedProperty>, IList<SmartGroupAggregatedProperty>, IList<SmartGroupAggregatedProperty>, String)
初始化 SmartGroup 类的新实例。
public SmartGroup(string id = default, string type = default, string name = default, long? alertsCount = default, string smartGroupState = default, string severity = default, DateTime? startDateTime = default, DateTime? lastModifiedDateTime = default, string lastModifiedUserName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> resources = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> resourceTypes = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> resourceGroups = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> monitorServices = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> monitorConditions = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> alertStates = default, System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> alertSeverities = default, string nextLink = default);
new Microsoft.Azure.Management.AlertsManagement.Models.SmartGroup : string * string * string * Nullable<int64> * string * string * Nullable<DateTime> * Nullable<DateTime> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * System.Collections.Generic.IList<Microsoft.Azure.Management.AlertsManagement.Models.SmartGroupAggregatedProperty> * string -> Microsoft.Azure.Management.AlertsManagement.Models.SmartGroup
Public Sub New (Optional id As String = Nothing, Optional type As String = Nothing, Optional name As String = Nothing, Optional alertsCount As Nullable(Of Long) = Nothing, Optional smartGroupState As String = Nothing, Optional severity As String = Nothing, Optional startDateTime As Nullable(Of DateTime) = Nothing, Optional lastModifiedDateTime As Nullable(Of DateTime) = Nothing, Optional lastModifiedUserName As String = Nothing, Optional resources As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional resourceTypes As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional resourceGroups As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional monitorServices As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional monitorConditions As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional alertStates As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional alertSeverities As IList(Of SmartGroupAggregatedProperty) = Nothing, Optional nextLink As String = Nothing)
参数
- id
- String
Azure 资源 ID
- type
- String
Azure 资源类型
- name
- String
Azure 资源名称
- smartGroupState
- String
智能组状态。 可能的值包括:“New”、“Acknowledged”、“Closed”
- severity
- String
智能组的严重性是最高 (Sev0 >... > Sev4) 组中所有警报的严重性。 可能的值包括:“Sev0”、“Sev1”、“Sev2”、“Sev3”、“Sev4”
- lastModifiedUserName
- String
上次修改的用户名。
- resources
- IList<SmartGroupAggregatedProperty>
智能组中目标资源的摘要
- resourceTypes
- IList<SmartGroupAggregatedProperty>
智能组中目标资源类型的摘要
- resourceGroups
- IList<SmartGroupAggregatedProperty>
智能组中目标资源组的摘要
- monitorServices
- IList<SmartGroupAggregatedProperty>
智能组中的 monitorServices 摘要
- monitorConditions
- IList<SmartGroupAggregatedProperty>
智能组中的 monitorConditions 摘要
- alertStates
- IList<SmartGroupAggregatedProperty>
智能组中 alertStates 的摘要
- alertSeverities
- IList<SmartGroupAggregatedProperty>
智能组中的 alertSeverities 摘要
- nextLink
- String
用于提取下一页警报的 URI。 使用此 URI 调用 ListNext () 以提取下一页警报。