Class AutomationActionWorkspace

java.lang.Object
com.azure.resourcemanager.security.models.AutomationAction
com.azure.resourcemanager.security.models.AutomationActionWorkspace

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 Details

    • AutomationActionWorkspace

      public AutomationActionWorkspace()
  • Method Details

    • workspaceResourceId

      public String workspaceResourceId()
      Get the workspaceResourceId property: The fully qualified Log Analytics Workspace Azure Resource ID.
      Returns:
      the workspaceResourceId value.
    • withWorkspaceResourceId

      public AutomationActionWorkspace withWorkspaceResourceId(String workspaceResourceId)
      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 class AutomationAction
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.