Class WorkspaceFeatures

java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspaceFeatures

public final class WorkspaceFeatures extends Object
Workspace features.
  • Constructor Details

    • WorkspaceFeatures

      public WorkspaceFeatures()
  • 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.
    • 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.
    • validate

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