Class LogSearchRuleResourcePatch

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

public class LogSearchRuleResourcePatch extends Object
The log search rule resource for patch operations.
  • Constructor Details

    • LogSearchRuleResourcePatch

      public LogSearchRuleResourcePatch()
  • Method Details

    • tags

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

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

      public Enabled enabled()
      Get the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'.
      Returns:
      the enabled value
    • withEnabled

      public LogSearchRuleResourcePatch withEnabled(Enabled enabled)
      Set the flag which indicates whether the Log Search rule is enabled. Value should be true or false. Possible values include: 'true', 'false'.
      Parameters:
      enabled - the enabled value to set
      Returns:
      the LogSearchRuleResourcePatch object itself.