Class WorkspaceSettingInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.WorkspaceSettingInner

public final class WorkspaceSettingInner extends com.azure.core.management.ProxyResource
Configures where to store the OMS agent data for workspaces under a scope.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.
    void
    Validates the instance.
    Set the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.
    withWorkspaceId(String workspaceId)
    Set the workspaceId property: The full Azure ID of the workspace to save the data in.
    Get the workspaceId property: The full Azure ID of the workspace to save the data in.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WorkspaceSettingInner

      public WorkspaceSettingInner()
  • Method Details

    • workspaceId

      public String workspaceId()
      Get the workspaceId property: The full Azure ID of the workspace to save the data in.
      Returns:
      the workspaceId value.
    • withWorkspaceId

      public WorkspaceSettingInner withWorkspaceId(String workspaceId)
      Set the workspaceId property: The full Azure ID of the workspace to save the data in.
      Parameters:
      workspaceId - the workspaceId value to set.
      Returns:
      the WorkspaceSettingInner object itself.
    • scope

      public String scope()
      Get the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.
      Returns:
      the scope value.
    • withScope

      public WorkspaceSettingInner withScope(String scope)
      Set the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.
      Parameters:
      scope - the scope value to set.
      Returns:
      the WorkspaceSettingInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.