Class ActivityLogAlertPatchBody
java.lang.Object
com.microsoft.azure.management.monitor.ActivityLogAlertPatchBody
An activity log alert object for the body of patch operations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get indicates whether this activity log alert is enabled.tags()
Get resource tags.withEnabled
(Boolean enabled) Set indicates whether this activity log alert is enabled.Set resource tags.
-
Constructor Details
-
ActivityLogAlertPatchBody
public ActivityLogAlertPatchBody()
-
-
Method Details
-
tags
Get resource tags.- Returns:
- the tags value
-
withTags
Set resource tags.- Parameters:
tags
- the tags value to set- Returns:
- the ActivityLogAlertPatchBody object itself.
-
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
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.
-