Class SmartGroupInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.alertsmanagement.fluent.models.SmartGroupInner
public final class SmartGroupInner
extends com.azure.core.management.ProxyResource
Set of related alerts grouped together smartly by AMS.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the alertsCount property: Total number of alerts in smart group.Get the alertSeverities property: Summary of alertSeverities in the smart group.Get the alertStates property: Summary of alertStates in the smart group.Get the lastModifiedDateTime property: Last updated time of smart group.Get the lastModifiedUsername property: Last modified by user name.Get the monitorConditions property: Summary of monitorConditions in the smart group.Get the monitorServices property: Summary of monitorServices in the smart group.nextLink()
Get the nextLink property: The URI to fetch the next page of alerts.Get the resourceGroups property: Summary of target resource groups in the smart group.Get the resources property: Summary of target resources in the smart group.Get the resourceTypes property: Summary of target resource types in the smart group.severity()
Get the severity property: Severity of smart group is the highest(Sev0 >...Get the smartGroupState property: Smart group state.Get the startDateTime property: Creation time of smart group.void
validate()
Validates the instance.withAlertsCount
(Long alertsCount) Set the alertsCount property: Total number of alerts in smart group.withAlertSeverities
(List<SmartGroupAggregatedProperty> alertSeverities) Set the alertSeverities property: Summary of alertSeverities in the smart group.withAlertStates
(List<SmartGroupAggregatedProperty> alertStates) Set the alertStates property: Summary of alertStates in the smart group.withMonitorConditions
(List<SmartGroupAggregatedProperty> monitorConditions) Set the monitorConditions property: Summary of monitorConditions in the smart group.withMonitorServices
(List<SmartGroupAggregatedProperty> monitorServices) Set the monitorServices property: Summary of monitorServices in the smart group.withNextLink
(String nextLink) Set the nextLink property: The URI to fetch the next page of alerts.withResourceGroups
(List<SmartGroupAggregatedProperty> resourceGroups) Set the resourceGroups property: Summary of target resource groups in the smart group.withResources
(List<SmartGroupAggregatedProperty> resources) Set the resources property: Summary of target resources in the smart group.withResourceTypes
(List<SmartGroupAggregatedProperty> resourceTypes) Set the resourceTypes property: Summary of target resource types in the smart group.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
SmartGroupInner
public SmartGroupInner()
-
-
Method Details
-
alertsCount
Get the alertsCount property: Total number of alerts in smart group.- Returns:
- the alertsCount value.
-
withAlertsCount
Set the alertsCount property: Total number of alerts in smart group.- Parameters:
alertsCount
- the alertsCount value to set.- Returns:
- the SmartGroupInner object itself.
-
smartGroupState
Get the smartGroupState property: Smart group state.- Returns:
- the smartGroupState value.
-
severity
Get the severity property: Severity of smart group is the highest(Sev0 >... > Sev4) severity of all the alerts in the group.- Returns:
- the severity value.
-
startDateTime
Get the startDateTime property: Creation time of smart group. Date-Time in ISO-8601 format.- Returns:
- the startDateTime value.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: Last updated time of smart group. Date-Time in ISO-8601 format.- Returns:
- the lastModifiedDateTime value.
-
lastModifiedUsername
Get the lastModifiedUsername property: Last modified by user name.- Returns:
- the lastModifiedUsername value.
-
resources
Get the resources property: Summary of target resources in the smart group.- Returns:
- the resources value.
-
withResources
Set the resources property: Summary of target resources in the smart group.- Parameters:
resources
- the resources value to set.- Returns:
- the SmartGroupInner object itself.
-
resourceTypes
Get the resourceTypes property: Summary of target resource types in the smart group.- Returns:
- the resourceTypes value.
-
withResourceTypes
Set the resourceTypes property: Summary of target resource types in the smart group.- Parameters:
resourceTypes
- the resourceTypes value to set.- Returns:
- the SmartGroupInner object itself.
-
resourceGroups
Get the resourceGroups property: Summary of target resource groups in the smart group.- Returns:
- the resourceGroups value.
-
withResourceGroups
Set the resourceGroups property: Summary of target resource groups in the smart group.- Parameters:
resourceGroups
- the resourceGroups value to set.- Returns:
- the SmartGroupInner object itself.
-
monitorServices
Get the monitorServices property: Summary of monitorServices in the smart group.- Returns:
- the monitorServices value.
-
withMonitorServices
Set the monitorServices property: Summary of monitorServices in the smart group.- Parameters:
monitorServices
- the monitorServices value to set.- Returns:
- the SmartGroupInner object itself.
-
monitorConditions
Get the monitorConditions property: Summary of monitorConditions in the smart group.- Returns:
- the monitorConditions value.
-
withMonitorConditions
Set the monitorConditions property: Summary of monitorConditions in the smart group.- Parameters:
monitorConditions
- the monitorConditions value to set.- Returns:
- the SmartGroupInner object itself.
-
alertStates
Get the alertStates property: Summary of alertStates in the smart group.- Returns:
- the alertStates value.
-
withAlertStates
Set the alertStates property: Summary of alertStates in the smart group.- Parameters:
alertStates
- the alertStates value to set.- Returns:
- the SmartGroupInner object itself.
-
alertSeverities
Get the alertSeverities property: Summary of alertSeverities in the smart group.- Returns:
- the alertSeverities value.
-
withAlertSeverities
Set the alertSeverities property: Summary of alertSeverities in the smart group.- Parameters:
alertSeverities
- the alertSeverities value to set.- Returns:
- the SmartGroupInner object itself.
-
nextLink
Get the nextLink property: The URI to fetch the next page of alerts. Call ListNext() with this URI to fetch the next page alerts.- Returns:
- the nextLink value.
-
withNextLink
Set the nextLink property: The URI to fetch the next page of alerts. Call ListNext() with this URI to fetch the next page alerts.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the SmartGroupInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-