Class AutomationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.security.fluent.models.AutomationInner
public final class AutomationInner
extends com.azure.core.management.Resource
The security automation resource.
-
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.withLocation
(String location) 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.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AutomationInner
public AutomationInner()
-
-
Method Details
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
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 AutomationInner 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 AutomationInner 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 AutomationInner 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 AutomationInner 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 AutomationInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-