AutomationUpdateModel Class

public final class AutomationUpdateModel
extends Tags

The update model of security automation resource.

Constructor Summary

Constructor Description
AutomationUpdateModel()

Creates an instance of AutomationUpdateModel class.

Method Summary

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

String description()

Get the description property: The security automation description.

Boolean isEnabled()

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

List<AutomationScope> scopes()

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

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

AutomationUpdateModel 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.

AutomationUpdateModel withDescription(String description)

Set the description property: The security automation description.

AutomationUpdateModel withIsEnabled(Boolean isEnabled)

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

AutomationUpdateModel withScopes(List<AutomationScope> scopes)

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

AutomationUpdateModel withSources(List<AutomationSource> sources)

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

AutomationUpdateModel withTags(Map<String,String> tags)

Set the tags property: A list of key value pairs that describe the resource.

Methods inherited from Tags

Methods inherited from java.lang.Object

Constructor Details

AutomationUpdateModel

public AutomationUpdateModel()

Creates an instance of AutomationUpdateModel class.

Method Details

actions

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

description

public String description()

Get the description property: The security automation description.

Returns:

the description value.

isEnabled

public Boolean isEnabled()

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

Returns:

the isEnabled value.

scopes

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

sources

public List sources()

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

Returns:

the sources value.

validate

public void validate()

Validates the instance.

Overrides:

AutomationUpdateModel.validate()

withActions

public AutomationUpdateModel withActions(List 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 AutomationUpdateModel object itself.

withDescription

public AutomationUpdateModel withDescription(String description)

Set the description property: The security automation description.

Parameters:

description - the description value to set.

Returns:

the AutomationUpdateModel object itself.

withIsEnabled

public AutomationUpdateModel withIsEnabled(Boolean isEnabled)

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

Parameters:

isEnabled - the isEnabled value to set.

Returns:

the AutomationUpdateModel object itself.

withScopes

public AutomationUpdateModel withScopes(List 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 AutomationUpdateModel object itself.

withSources

public AutomationUpdateModel withSources(List 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 AutomationUpdateModel object itself.

withTags

public AutomationUpdateModel withTags(Map tags)

Set the tags property: A list of key value pairs that describe the resource.

Overrides:

AutomationUpdateModel.withTags(Map<String,String> tags)

Parameters:

tags

Applies to