WorkspaceFeatures Class

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

public final class WorkspaceFeatures

Workspace features.

Constructor Summary

Constructor Description
WorkspaceFeatures()

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Workspace features.

String clusterResourceId()

Get the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.

Boolean disableLocalAuth()

Get the disableLocalAuth property: Disable Non-AAD based Auth.

Boolean enableDataExport()

Get the enableDataExport property: Flag that indicate if data should be exported.

Boolean enableLogAccessUsingOnlyResourcePermissions()

Get the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.

Boolean immediatePurgeDataOn30Days()

Get the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.

void validate()

Validates the instance.

WorkspaceFeatures withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Workspace features.

WorkspaceFeatures withClusterResourceId(String clusterResourceId)

Set the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.

WorkspaceFeatures withDisableLocalAuth(Boolean disableLocalAuth)

Set the disableLocalAuth property: Disable Non-AAD based Auth.

WorkspaceFeatures withEnableDataExport(Boolean enableDataExport)

Set the enableDataExport property: Flag that indicate if data should be exported.

WorkspaceFeatures withEnableLogAccessUsingOnlyResourcePermissions(Boolean enableLogAccessUsingOnlyResourcePermissions)

Set the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.

WorkspaceFeatures withImmediatePurgeDataOn30Days(Boolean immediatePurgeDataOn30Days)

Set the immediatePurgeDataOn30Days property: Flag that describes if we want to remove the data after 30 days.

Methods inherited from java.lang.Object

Constructor Details

WorkspaceFeatures

public WorkspaceFeatures()

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Workspace features.

Returns:

the additionalProperties value.

clusterResourceId

public String clusterResourceId()

Get the clusterResourceId property: Dedicated LA cluster resourceId that is linked to the workspaces.

Returns:

the clusterResourceId value.

disableLocalAuth

public Boolean disableLocalAuth()

Get the disableLocalAuth property: Disable Non-AAD based Auth.

Returns:

the disableLocalAuth value.

enableDataExport

public Boolean enableDataExport()

Get the enableDataExport property: Flag that indicate if data should be exported.

Returns:

the enableDataExport value.

enableLogAccessUsingOnlyResourcePermissions

public Boolean enableLogAccessUsingOnlyResourcePermissions()

Get the enableLogAccessUsingOnlyResourcePermissions property: Flag that indicate which permission to use - resource or workspace or both.

Returns:

the enableLogAccessUsingOnlyResourcePermissions value.

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.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public WorkspaceFeatures withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Workspace features.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the WorkspaceFeatures object itself.

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.

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.

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.

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.

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.

Applies to