Class WorkspaceFeatures
java.lang.Object
com.azure.resourcemanager.loganalytics.models.WorkspaceFeatures
Workspace features.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Workspace features.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.Get the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.void
validate()
Validates the instance.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.
-
Constructor Details
-
WorkspaceFeatures
public WorkspaceFeatures()
-
-
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.
-
additionalProperties
Get the additionalProperties property: Workspace features.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-