Class ActivityLogAlertPatchBody

java.lang.Object
com.microsoft.azure.management.monitor.ActivityLogAlertPatchBody

public class ActivityLogAlertPatchBody extends Object
An activity log alert object for the body of patch operations.
  • Constructor Details

    • ActivityLogAlertPatchBody

      public ActivityLogAlertPatchBody()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get resource tags.
      Returns:
      the tags value
    • withTags

      public ActivityLogAlertPatchBody withTags(Map<String,String> tags)
      Set resource tags.
      Parameters:
      tags - the tags value to set
      Returns:
      the ActivityLogAlertPatchBody object itself.
    • enabled

      public Boolean enabled()
      Get indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
      Returns:
      the enabled value
    • withEnabled

      public ActivityLogAlertPatchBody withEnabled(Boolean enabled)
      Set indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
      Parameters:
      enabled - the enabled value to set
      Returns:
      the ActivityLogAlertPatchBody object itself.