Class WorkspaceFeatures

java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspaceFeatures
All Implemented Interfaces:
com.azure.json.JsonSerializable<WorkspaceFeatures>

public final class WorkspaceFeatures extends Object implements com.azure.json.JsonSerializable<WorkspaceFeatures>
Workspace features.
  • Constructor Details

    • WorkspaceFeatures

      public WorkspaceFeatures()
      Creates an instance of WorkspaceFeatures class.
  • Method Details

    • enableDataExport

      public Boolean enableDataExport()
      Get the enableDataExport property: Flag that indicate if data should be exported.
      Returns:
      the enableDataExport value.
    • withEnableDataExport

      public WorkspaceFeatures withEnableDataExport(Boolean enableDataExport)
      Set the enableDataExport property: Flag that indicate if data should be exported.
      Parameters:
      enableDataExport - the enableDataExport value to set.
      Returns:
      the WorkspaceFeatures object itself.
    • immediatePurgeDataOn30Days

      public Boolean immediatePurgeDataOn30Days()
      Get the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.
      Returns:
      the immediatePurgeDataOn30Days value.
    • withImmediatePurgeDataOn30Days

      public WorkspaceFeatures withImmediatePurgeDataOn30Days(Boolean immediatePurgeDataOn30Days)
      Set the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.
      Parameters:
      immediatePurgeDataOn30Days - the immediatePurgeDataOn30Days value to set.
      Returns:
      the WorkspaceFeatures object itself.
    • enableLogAccessUsingOnlyResourcePermissions

      public Boolean enableLogAccessUsingOnlyResourcePermissions()
      Get the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.
      Returns:
      the enableLogAccessUsingOnlyResourcePermissions value.
    • withEnableLogAccessUsingOnlyResourcePermissions

      public WorkspaceFeatures withEnableLogAccessUsingOnlyResourcePermissions(Boolean enableLogAccessUsingOnlyResourcePermissions)
      Set the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.
      Parameters:
      enableLogAccessUsingOnlyResourcePermissions - the enableLogAccessUsingOnlyResourcePermissions value to set.
      Returns:
      the WorkspaceFeatures object itself.
    • clusterResourceId

      public String clusterResourceId()
      Get the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.
      Returns:
      the clusterResourceId value.
    • withClusterResourceId

      public WorkspaceFeatures withClusterResourceId(String clusterResourceId)
      Set the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.
      Parameters:
      clusterResourceId - the clusterResourceId value to set.
      Returns:
      the WorkspaceFeatures object itself.
    • disableLocalAuth

      public Boolean disableLocalAuth()
      Get the disableLocalAuth property: Disable Non-AAD based Auth.
      Returns:
      the disableLocalAuth value.
    • withDisableLocalAuth

      public WorkspaceFeatures withDisableLocalAuth(Boolean disableLocalAuth)
      Set the disableLocalAuth property: Disable Non-AAD based Auth.
      Parameters:
      disableLocalAuth - the disableLocalAuth value to set.
      Returns:
      the WorkspaceFeatures object itself.
    • unifiedSentinelBillingOnly

      public Boolean unifiedSentinelBillingOnly()
      Get the unifiedSentinelBillingOnly property: An indication if the specify workspace is limited to sentinel's unified billing model only.
      Returns:
      the unifiedSentinelBillingOnly value.
    • associations

      public List<String> associations()
      Get the associations property: List of associations for the workspace. Indicates if the workspace is associated with any of the following experiences: MDC, Sentinel, SentinelGraph, etc.
      Returns:
      the associations value.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Workspace features.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public WorkspaceFeatures withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: Workspace features.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the WorkspaceFeatures object itself.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<WorkspaceFeatures>
      Throws:
      IOException
    • fromJson

      public static WorkspaceFeatures fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of WorkspaceFeatures from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of WorkspaceFeatures if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the WorkspaceFeatures.