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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Workspace features.Get the associations property: List of associations for the workspace.Get the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.Get the disableLocalAuth property: Disable Non-AAD based Auth.Get the enableDataExport property: Flag that indicate if data should be exported.Get the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.static WorkspaceFeaturesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of WorkspaceFeatures from the JsonReader.Get the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the unifiedSentinelBillingOnly property: An indication if the specify workspace is limited to sentinel's unified billing model only.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Workspace features.withClusterResourceId(String clusterResourceId) Set the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.withDisableLocalAuth(Boolean disableLocalAuth) Set the disableLocalAuth property: Disable Non-AAD based Auth.withEnableDataExport(Boolean enableDataExport) Set the enableDataExport property: Flag that indicate if data should be exported.withEnableLogAccessUsingOnlyResourcePermissions(Boolean enableLogAccessUsingOnlyResourcePermissions) Set the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.withImmediatePurgeDataOn30Days(Boolean immediatePurgeDataOn30Days) Set the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
WorkspaceFeatures
public WorkspaceFeatures()Creates an instance of WorkspaceFeatures class.
-
-
Method Details
-
enableDataExport
Get the enableDataExport property: Flag that indicate if data should be exported.- Returns:
- the enableDataExport value.
-
withEnableDataExport
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
Get the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.- Returns:
- the immediatePurgeDataOn30Days value.
-
withImmediatePurgeDataOn30Days
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
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
Get the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.- Returns:
- the clusterResourceId value.
-
withClusterResourceId
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
Get the disableLocalAuth property: Disable Non-AAD based Auth.- Returns:
- the disableLocalAuth value.
-
withDisableLocalAuth
Set the disableLocalAuth property: Disable Non-AAD based Auth.- Parameters:
disableLocalAuth- the disableLocalAuth value to set.- Returns:
- the WorkspaceFeatures object itself.
-
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
-
additionalProperties
-
withAdditionalProperties
Set the additionalProperties property: Workspace features.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the WorkspaceFeatures object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<WorkspaceFeatures>- Throws:
IOException
-
fromJson
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.
-