Class AutomationActionWorkspace
java.lang.Object
com.azure.resourcemanager.security.models.AutomationAction
com.azure.resourcemanager.security.models.AutomationActionWorkspace
The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the
'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the
'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center
Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Microsoft Defender
for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withWorkspaceResourceId
(String workspaceResourceId) Set the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.Get the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.
-
Constructor Details
-
AutomationActionWorkspace
public AutomationActionWorkspace()
-
-
Method Details
-
workspaceResourceId
Get the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.- Returns:
- the workspaceResourceId value.
-
withWorkspaceResourceId
Set the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.- Parameters:
workspaceResourceId
- the workspaceResourceId value to set.- Returns:
- the AutomationActionWorkspace object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classAutomationAction
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-