Interface Automation


public interface Automation
An immutable client-side representation of Automation.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • description

      String description()
      Gets the description property: The security automation description.
      Returns:
      the description value.
    • isEnabled

      Boolean isEnabled()
      Gets the isEnabled property: Indicates whether the security automation is enabled.
      Returns:
      the isEnabled value.
    • scopes

      Gets 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.
    • sources

      Gets the sources property: A collection of the source event types which evaluate the security automation set of rules.
      Returns:
      the sources value.
    • actions

      Gets 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.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      AutomationInner innerModel()
      Gets the inner com.azure.resourcemanager.security.fluent.models.AutomationInner object.
      Returns:
      the inner object.
    • update

      Begins update for the Automation resource.
      Returns:
      the stage of resource update.
    • refresh

      Automation refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      Automation refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • validate

      Validates the security automation model before create or update. Any validation errors are returned to the client.
      Parameters:
      automation - The security automation resource.
      Returns:
      the security automation model state property bag.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • validateWithResponse

      com.azure.core.http.rest.Response<AutomationValidationStatus> validateWithResponse(AutomationInner automation, com.azure.core.util.Context context)
      Validates the security automation model before create or update. Any validation errors are returned to the client.
      Parameters:
      automation - The security automation resource.
      context - The context to associate with this operation.
      Returns:
      the security automation model state property bag along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.