AzureMonitorAlertSettings Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. AzureMonitorAlertSettings
- com.
Implements
public final class AzureMonitorAlertSettings
implements JsonSerializable<AzureMonitorAlertSettings>
Settings for Azure Monitor based alerts.
Constructor Summary
| Constructor | Description |
|---|---|
| AzureMonitorAlertSettings() |
Creates an instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Alerts |
alertsForAllJobFailures()
Get the alerts |
|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Azure |
withAlertsForAllJobFailures(AlertsState alertsForAllJobFailures)
Set the alerts |
Methods inherited from java.lang.Object
Constructor Details
AzureMonitorAlertSettings
public AzureMonitorAlertSettings()
Creates an instance of AzureMonitorAlertSettings class.
Method Details
alertsForAllJobFailures
public AlertsState alertsForAllJobFailures()
Get the alertsForAllJobFailures property: The alertsForAllJobFailures property.
Returns:
fromJson
public static AzureMonitorAlertSettings fromJson(JsonReader jsonReader)
Reads an instance of AzureMonitorAlertSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
withAlertsForAllJobFailures
public AzureMonitorAlertSettings withAlertsForAllJobFailures(AlertsState alertsForAllJobFailures)
Set the alertsForAllJobFailures property: The alertsForAllJobFailures property.
Parameters:
Returns: