Interface AutomationRule
-
public interface AutomationRule
An immutable client-side representation of AutomationRule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
AutomationRule.Definition
The entirety of the AutomationRule definition.static interface
AutomationRule.DefinitionStages
The AutomationRule definition stages.static interface
AutomationRule.Update
The template for AutomationRule update.static interface
AutomationRule.UpdateStages
The AutomationRule update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AutomationRuleAction>
actions()
Gets the actions property: The actions to execute when the automation rule is triggered.ClientInfo
createdBy()
Gets the createdBy property: Information on the client (user or application) that made some action.OffsetDateTime
createdTimeUtc()
Gets the createdTimeUtc property: The time the automation rule was created.String
displayName()
Gets the displayName property: The display name of the automation rule.String
etag()
Gets the etag property: Etag of the azure resource.String
id()
Gets the id property: Fully qualified resource Id for the resource.AutomationRuleInner
innerModel()
Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.AutomationRuleInner object.ClientInfo
lastModifiedBy()
Gets the lastModifiedBy property: Information on the client (user or application) that made some action.OffsetDateTime
lastModifiedTimeUtc()
Gets the lastModifiedTimeUtc property: The last time the automation rule was updated.String
name()
Gets the name property: The name of the resource.int
order()
Gets the order property: The order of execution of the automation rule.AutomationRule
refresh()
Refreshes the resource to sync with Azure.AutomationRule
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
resourceGroupName()
Gets the name of the resource group.com.azure.core.management.SystemData
systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.AutomationRuleTriggeringLogic
triggeringLogic()
Gets the triggeringLogic property: Describes automation rule triggering logic.String
type()
Gets the type property: The type of the resource.AutomationRule.Update
update()
Begins update for the AutomationRule resource.
-
-
-
Method Detail
-
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.
-
etag
String etag()
Gets the etag property: Etag of the azure resource.- Returns:
- the etag value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
displayName
String displayName()
Gets the displayName property: The display name of the automation rule.- Returns:
- the displayName value.
-
order
int order()
Gets the order property: The order of execution of the automation rule.- Returns:
- the order value.
-
triggeringLogic
AutomationRuleTriggeringLogic triggeringLogic()
Gets the triggeringLogic property: Describes automation rule triggering logic.- Returns:
- the triggeringLogic value.
-
actions
List<AutomationRuleAction> actions()
Gets the actions property: The actions to execute when the automation rule is triggered.- Returns:
- the actions value.
-
lastModifiedTimeUtc
OffsetDateTime lastModifiedTimeUtc()
Gets the lastModifiedTimeUtc property: The last time the automation rule was updated.- Returns:
- the lastModifiedTimeUtc value.
-
createdTimeUtc
OffsetDateTime createdTimeUtc()
Gets the createdTimeUtc property: The time the automation rule was created.- Returns:
- the createdTimeUtc value.
-
lastModifiedBy
ClientInfo lastModifiedBy()
Gets the lastModifiedBy property: Information on the client (user or application) that made some action.- Returns:
- the lastModifiedBy value.
-
createdBy
ClientInfo createdBy()
Gets the createdBy property: Information on the client (user or application) that made some action.- Returns:
- the createdBy value.
-
resourceGroupName
String resourceGroupName()
Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
AutomationRuleInner innerModel()
Gets the inner com.azure.resourcemanager.securityinsights.fluent.models.AutomationRuleInner object.- Returns:
- the inner object.
-
update
AutomationRule.Update update()
Begins update for the AutomationRule resource.- Returns:
- the stage of resource update.
-
refresh
AutomationRule refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
AutomationRule 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.
-
-