AutomationUpdateModel Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. Tags - com.
azure. resourcemanager. security. models. AutomationUpdateModel
- com.
- com.
public final class AutomationUpdateModel
extends Tags
The update model of security automation resource.
Constructor Summary
Constructor | Description |
---|---|
AutomationUpdateModel() |
Creates an instance of Automation |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Automation |
actions()
Get the actions property: A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true. |
String |
description()
Get the description property: The security automation description. |
Boolean |
isEnabled()
Get the is |
List<Automation |
scopes()
Get the scopes property: A collection of scopes on which the security automations logic is applied. |
List<Automation |
sources()
Get the sources property: A collection of the source event types which evaluate the security automation set of rules. |
void |
validate()
Validates the instance. |
Automation |
withActions(List<AutomationAction> actions)
Set the actions property: A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true. |
Automation |
withDescription(String description)
Set the description property: The security automation description. |
Automation |
withIsEnabled(Boolean isEnabled)
Set the is |
Automation |
withScopes(List<AutomationScope> scopes)
Set the scopes property: A collection of scopes on which the security automations logic is applied. |
Automation |
withSources(List<AutomationSource> sources)
Set the sources property: A collection of the source event types which evaluate the security automation set of rules. |
Automation |
withTags(Map<String,String> tags)
Set the tags property: A list of key value pairs that describe the resource. |
Methods inherited from Tags
Methods inherited from java.lang.Object
Constructor Details
AutomationUpdateModel
public AutomationUpdateModel()
Creates an instance of AutomationUpdateModel class.
Method Details
actions
public List
Get the actions property: A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.
Returns:
description
public String description()
Get the description property: The security automation description.
Returns:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Indicates whether the security automation is enabled.
Returns:
scopes
public List
Get the scopes property: A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.
Returns:
sources
public List
Get the sources property: A collection of the source event types which evaluate the security automation set of rules.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
AutomationUpdateModel.validate()withActions
public AutomationUpdateModel withActions(List
Set the actions property: A collection of the actions which are triggered if all the configured rules evaluations, within at least one rule set, are true.
Parameters:
Returns:
withDescription
public AutomationUpdateModel withDescription(String description)
Set the description property: The security automation description.
Parameters:
Returns:
withIsEnabled
public AutomationUpdateModel withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Indicates whether the security automation is enabled.
Parameters:
Returns:
withScopes
public AutomationUpdateModel withScopes(List
Set the scopes property: A collection of scopes on which the security automations logic is applied. Supported scopes are the subscription itself or a resource group under that subscription. The automation will only apply on defined scopes.
Parameters:
Returns:
withSources
public AutomationUpdateModel withSources(List
Set the sources property: A collection of the source event types which evaluate the security automation set of rules.
Parameters:
Returns:
withTags
public AutomationUpdateModel withTags(Map
Set the tags property: A list of key value pairs that describe the resource.
Overrides:
AutomationUpdateModel.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for