Class AutomationProperties
java.lang.Object
com.azure.resourcemanager.security.fluent.models.AutomationProperties
A set of properties that defines the behavior of the automation configuration. To learn more about the supported
security events data models schemas - please visit https://aka.ms/ASCAutomationSchemas.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactions()
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.Get the description property: The security automation description.Get the isEnabled property: Indicates whether the security automation is enabled.scopes()
Get the scopes property: A collection of scopes on which the security automations logic is applied.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.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.withDescription
(String description) Set the description property: The security automation description.withIsEnabled
(Boolean isEnabled) Set the isEnabled property: Indicates whether the security automation is enabled.withScopes
(List<AutomationScope> scopes) Set the scopes property: A collection of scopes on which the security automations logic is applied.withSources
(List<AutomationSource> sources) Set the sources property: A collection of the source event types which evaluate the security automation set of rules.
-
Constructor Details
-
AutomationProperties
public AutomationProperties()
-
-
Method Details
-
description
Get the description property: The security automation description.- Returns:
- the description value.
-
withDescription
Set the description property: The security automation description.- Parameters:
description
- the description value to set.- Returns:
- the AutomationProperties object itself.
-
isEnabled
Get the isEnabled property: Indicates whether the security automation is enabled.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Indicates whether the security automation is enabled.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the AutomationProperties object itself.
-
scopes
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:
- the scopes value.
-
withScopes
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:
scopes
- the scopes value to set.- Returns:
- the AutomationProperties object itself.
-
sources
Get the sources property: A collection of the source event types which evaluate the security automation set of rules.- Returns:
- the sources value.
-
withSources
Set the sources property: A collection of the source event types which evaluate the security automation set of rules.- Parameters:
sources
- the sources value to set.- Returns:
- the AutomationProperties object itself.
-
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.- Returns:
- the actions value.
-
withActions
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:
actions
- the actions value to set.- Returns:
- the AutomationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-