Class AutomationProperties

java.lang.Object
com.azure.resourcemanager.security.fluent.models.AutomationProperties

public final class AutomationProperties extends Object
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 Details

    • AutomationProperties

      public AutomationProperties()
  • Method Details

    • description

      public String description()
      Get the description property: The security automation description.
      Returns:
      the description value.
    • withDescription

      public AutomationProperties withDescription(String description)
      Set the description property: The security automation description.
      Parameters:
      description - the description value to set.
      Returns:
      the AutomationProperties object itself.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: Indicates whether the security automation is enabled.
      Returns:
      the isEnabled value.
    • withIsEnabled

      public AutomationProperties withIsEnabled(Boolean isEnabled)
      Set the isEnabled property: Indicates whether the security automation is enabled.
      Parameters:
      isEnabled - the isEnabled value to set.
      Returns:
      the AutomationProperties object itself.
    • scopes

      public List<AutomationScope> 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

      public AutomationProperties withScopes(List<AutomationScope> scopes)
      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

      public List<AutomationSource> 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

      public AutomationProperties withSources(List<AutomationSource> sources)
      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

      public List<AutomationAction> 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

      public AutomationProperties 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.
      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.