ArmAlertsManagementModelFactory.SmartGroupData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SmartGroupData.
public static Azure.ResourceManager.AlertsManagement.SmartGroupData SmartGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, long? alertsCount = default, Azure.ResourceManager.AlertsManagement.Models.SmartGroupState? smartGroupState = default, Azure.ResourceManager.AlertsManagement.Models.ServiceAlertSeverity? severity = default, DateTimeOffset? startOn = default, DateTimeOffset? lastModifiedOn = default, string lastModifiedBy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> resources = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> resourceTypes = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> resourceGroups = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> monitorServices = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> monitorConditions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> alertStates = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> alertSeverities = default, string nextLink = default);
static member SmartGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int64> * Nullable<Azure.ResourceManager.AlertsManagement.Models.SmartGroupState> * Nullable<Azure.ResourceManager.AlertsManagement.Models.ServiceAlertSeverity> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * seq<Azure.ResourceManager.AlertsManagement.Models.SmartGroupAggregatedProperty> * string -> Azure.ResourceManager.AlertsManagement.SmartGroupData
Public Shared Function SmartGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional alertsCount As Nullable(Of Long) = Nothing, Optional smartGroupState As Nullable(Of SmartGroupState) = Nothing, Optional severity As Nullable(Of ServiceAlertSeverity) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedBy As String = Nothing, Optional resources As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional resourceTypes As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional resourceGroups As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional monitorServices As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional monitorConditions As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional alertStates As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional alertSeverities As IEnumerable(Of SmartGroupAggregatedProperty) = Nothing, Optional nextLink As String = Nothing) As SmartGroupData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- smartGroupState
- Nullable<SmartGroupState>
Smart group state.
- severity
- Nullable<ServiceAlertSeverity>
Severity of smart group is the highest(Sev0 >... > Sev4) severity of all the alerts in the group.
- startOn
- Nullable<DateTimeOffset>
Creation time of smart group. Date-Time in ISO-8601 format.
- lastModifiedOn
- Nullable<DateTimeOffset>
Last updated time of smart group. Date-Time in ISO-8601 format.
- lastModifiedBy
- String
Last modified by user name.
- resources
- IEnumerable<SmartGroupAggregatedProperty>
Summary of target resources in the smart group.
- resourceTypes
- IEnumerable<SmartGroupAggregatedProperty>
Summary of target resource types in the smart group.
- resourceGroups
- IEnumerable<SmartGroupAggregatedProperty>
Summary of target resource groups in the smart group.
- monitorServices
- IEnumerable<SmartGroupAggregatedProperty>
Summary of monitorServices in the smart group.
- monitorConditions
- IEnumerable<SmartGroupAggregatedProperty>
Summary of monitorConditions in the smart group.
- alertStates
- IEnumerable<SmartGroupAggregatedProperty>
Summary of alertStates in the smart group.
- alertSeverities
- IEnumerable<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.
Returns
A new SmartGroupData instance for mocking.
Applies to
Azure SDK for .NET