Automation Interface

public interface Automation

An immutable client-side representation of Automation.

Method Summary

Modifier and Type Method and Description
abstract List<AutomationAction> 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.

abstract String description()

Gets the description property: The security automation description.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract AutomationInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.AutomationInner object.

abstract Boolean isEnabled()

Gets the isEnabled property: Indicates whether the security automation is enabled.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract Automation refresh()

Refreshes the resource to sync with Azure.

abstract Automation refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract List<AutomationScope> scopes()

Gets the scopes property: A collection of scopes on which the security automations logic is applied.

abstract List<AutomationSource> sources()

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

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the Automation resource.

abstract AutomationValidationStatus validate(AutomationInner automation)

Validates the security automation model before create or update.

abstract Response<AutomationValidationStatus> validateWithResponse(AutomationInner automation, Context context)

Validates the security automation model before create or update.

Method Details

actions

public abstract List 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.

description

public abstract String description()

Gets the description property: The security automation description.

Returns:

the description value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract AutomationInner innerModel()

Gets the inner com.azure.resourcemanager.security.fluent.models.AutomationInner object.

Returns:

the inner object.

isEnabled

public abstract Boolean isEnabled()

Gets the isEnabled property: Indicates whether the security automation is enabled.

Returns:

the isEnabled value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

refresh

public abstract Automation refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract Automation refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

scopes

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

public abstract List sources()

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

Returns:

the sources value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract Automation.Update update()

Begins update for the Automation resource.

Returns:

the stage of resource update.

validate

public abstract AutomationValidationStatus validate(AutomationInner automation)

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.

validateWithResponse

public abstract Response validateWithResponse(AutomationInner automation, 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<T>.

Applies to