AutomationActionWorkspace Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AutomationAction - com.
azure. resourcemanager. security. models. AutomationActionWorkspace
- com.
- com.
public final class AutomationActionWorkspace
extends AutomationAction
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
| Constructor | Description |
|---|---|
| AutomationActionWorkspace() |
Creates an instance of Automation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Action |
actionType()
Get the action |
|
static
Automation |
fromJson(JsonReader jsonReader)
Reads an instance of Automation |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Automation |
withWorkspaceResourceId(String workspaceResourceId)
Set the workspace |
| String |
workspaceResourceId()
Get the workspace |
Methods inherited from AutomationAction
Methods inherited from java.lang.Object
Constructor Details
AutomationActionWorkspace
public AutomationActionWorkspace()
Creates an instance of AutomationActionWorkspace class.
Method Details
actionType
public ActionType actionType()
Get the actionType property: The type of the action that will be triggered by the Automation.
Overrides:
AutomationActionWorkspace.actionType()Returns:
fromJson
public static AutomationActionWorkspace fromJson(JsonReader jsonReader)
Reads an instance of AutomationActionWorkspace from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AutomationActionWorkspace.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
AutomationActionWorkspace.validate()withWorkspaceResourceId
public AutomationActionWorkspace withWorkspaceResourceId(String workspaceResourceId)
Set the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.
Parameters:
Returns:
workspaceResourceId
public String workspaceResourceId()
Get the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.
Returns: