Class MetricAlertStatus
java.lang.Object
com.microsoft.azure.management.monitor.MetricAlertStatus
An alert status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the alert rule arm id.name()
Get the status name.Get the alert status properties of the metric alert status.type()
Get the extended resource type name.Set the alert rule arm id.Set the status name.withProperties
(MetricAlertStatusProperties properties) Set the alert status properties of the metric alert status.Set the extended resource type name.
-
Constructor Details
-
MetricAlertStatus
public MetricAlertStatus()
-
-
Method Details
-
name
Get the status name.- Returns:
- the name value
-
withName
Set the status name.- Parameters:
name
- the name value to set- Returns:
- the MetricAlertStatus object itself.
-
id
Get the alert rule arm id.- Returns:
- the id value
-
withId
Set the alert rule arm id.- Parameters:
id
- the id value to set- Returns:
- the MetricAlertStatus object itself.
-
type
Get the extended resource type name.- Returns:
- the type value
-
withType
Set the extended resource type name.- Parameters:
type
- the type value to set- Returns:
- the MetricAlertStatus object itself.
-
properties
Get the alert status properties of the metric alert status.- Returns:
- the properties value
-
withProperties
Set the alert status properties of the metric alert status.- Parameters:
properties
- the properties value to set- Returns:
- the MetricAlertStatus object itself.
-