AutomationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. AutomationInner
- com.
- com.
public final class AutomationInner
extends ProxyResource
The security automation resource.
Constructor Summary
| Constructor | Description |
|---|---|
| AutomationInner() |
Creates an instance of Automation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Automation |
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. |
| String |
etag()
Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource. |
|
static
Automation |
fromJson(JsonReader jsonReader)
Reads an instance of Automation |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
isEnabled()
Get the is |
| String |
kind()
Get the kind property: Kind of the resource. |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| String |
name()
Get the name property: The name of the resource. |
|
List<Automation |
scopes()
Get the scopes property: A collection of scopes on which the security automations logic is applied. |
|
List<Automation |
sources()
Get the sources property: A collection of the source event types which evaluate the security automation set of rules. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Automation |
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. |
|
Automation |
withDescription(String description)
Set the description property: The security automation description. |
|
Automation |
withEtag(String etag)
Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource. |
|
Automation |
withIsEnabled(Boolean isEnabled)
Set the is |
|
Automation |
withKind(String kind)
Set the kind property: Kind of the resource. |
|
Automation |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Automation |
withScopes(List<AutomationScope> scopes)
Set the scopes property: A collection of scopes on which the security automations logic is applied. |
|
Automation |
withSources(List<AutomationSource> sources)
Set the sources property: A collection of the source event types which evaluate the security automation set of rules. |
|
Automation |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AutomationInner
public AutomationInner()
Creates an instance of AutomationInner class.
Method Details
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:
description
public String description()
Get the description property: The security automation description.
Returns:
etag
public String etag()
Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
Returns:
fromJson
public static AutomationInner fromJson(JsonReader jsonReader)
Reads an instance of AutomationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AutomationInner.id()Returns:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Indicates whether the security automation is enabled.
Returns:
kind
public String kind()
Get the kind property: Kind of the resource.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AutomationInner.name()Returns:
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:
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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AutomationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AutomationInner.type()Returns:
validate
public void validate()
Validates the instance.
withActions
public AutomationInner 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:
Returns:
withDescription
public AutomationInner withDescription(String description)
Set the description property: The security automation description.
Parameters:
Returns:
withEtag
public AutomationInner withEtag(String etag)
Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
Parameters:
Returns:
withIsEnabled
public AutomationInner withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Indicates whether the security automation is enabled.
Parameters:
Returns:
withKind
public AutomationInner withKind(String kind)
Set the kind property: Kind of the resource.
Parameters:
Returns:
withLocation
public AutomationInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withScopes
public AutomationInner 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:
Returns:
withSources
public AutomationInner withSources(List<AutomationSource> sources)
Set the sources property: A collection of the source event types which evaluate the security automation set of rules.
Parameters:
Returns:
withTags
public AutomationInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: