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 Summary
Constructors Constructor Description LogSearchRuleResourcePatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enabledenabled()Get the flag which indicates whether the Log Search rule is enabled.Map<String,String>tags()Get resource tags.LogSearchRuleResourcePatchwithEnabled(Enabled enabled)Set the flag which indicates whether the Log Search rule is enabled.LogSearchRuleResourcePatchwithTags(Map<String,String> tags)Set resource tags.
-
-
-
Method Detail
-
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.
-
-