Class MonitoringSettings

java.lang.Object
com.azure.resourcemanager.recoveryservices.models.MonitoringSettings

public final class MonitoringSettings extends Object
Monitoring Settings of the vault.
  • Constructor Details

    • MonitoringSettings

      public MonitoringSettings()
  • Method Details

    • azureMonitorAlertSettings

      public AzureMonitorAlertSettings azureMonitorAlertSettings()
      Get the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.
      Returns:
      the azureMonitorAlertSettings value.
    • withAzureMonitorAlertSettings

      public MonitoringSettings withAzureMonitorAlertSettings(AzureMonitorAlertSettings azureMonitorAlertSettings)
      Set the azureMonitorAlertSettings property: Settings for Azure Monitor based alerts.
      Parameters:
      azureMonitorAlertSettings - the azureMonitorAlertSettings value to set.
      Returns:
      the MonitoringSettings object itself.
    • classicAlertSettings

      public ClassicAlertSettings classicAlertSettings()
      Get the classicAlertSettings property: Settings for classic alerts.
      Returns:
      the classicAlertSettings value.
    • withClassicAlertSettings

      public MonitoringSettings withClassicAlertSettings(ClassicAlertSettings classicAlertSettings)
      Set the classicAlertSettings property: Settings for classic alerts.
      Parameters:
      classicAlertSettings - the classicAlertSettings value to set.
      Returns:
      the MonitoringSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.