SmartGroup Constructors

Definition

Overloads

SmartGroup()

Initializes a new instance of the SmartGroup class.

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)

Initializes a new instance of the SmartGroup class.

SmartGroup()

Initializes a new instance of the SmartGroup class.

public SmartGroup ();
Public Sub New ()

Applies to

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)

Initializes a new instance of the SmartGroup class.

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)

Parameters

id
String

Azure resource Id

type
String

Azure resource type

name
String

Azure resource name

alertsCount
Nullable<Int64>

Total number of alerts in smart group

smartGroupState
String

Smart group state. Possible values include: 'New', 'Acknowledged', 'Closed'

severity
String

Severity of smart group is the highest(Sev0 >... > Sev4) severity of all the alerts in the group. Possible values include: 'Sev0', 'Sev1', 'Sev2', 'Sev3', 'Sev4'

startDateTime
Nullable<DateTime>

Creation time of smart group. Date-Time in ISO-8601 format.

lastModifiedDateTime
Nullable<DateTime>

Last updated time of smart group. Date-Time in ISO-8601 format.

lastModifiedUserName
String

Last modified by user name.

resources
IList<SmartGroupAggregatedProperty>

Summary of target resources in the smart group

resourceTypes
IList<SmartGroupAggregatedProperty>

Summary of target resource types in the smart group

resourceGroups
IList<SmartGroupAggregatedProperty>

Summary of target resource groups in the smart group

monitorServices
IList<SmartGroupAggregatedProperty>

Summary of monitorServices in the smart group

monitorConditions
IList<SmartGroupAggregatedProperty>

Summary of monitorConditions in the smart group

alertStates
IList<SmartGroupAggregatedProperty>

Summary of alertStates in the smart group

alertSeverities
IList<SmartGroupAggregatedProperty>

Summary of alertSeverities in the smart group

nextLink
String

The URI to fetch the next page of alerts. Call ListNext() with this URI to fetch the next page alerts.

Applies to