Class WorkspaceSettingInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.security.fluent.models.WorkspaceSettingInner
public final class WorkspaceSettingInner
extends com.azure.core.management.ProxyResource
Configures where to store the OMS agent data for workspaces under a scope.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionscope()
Get the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.void
validate()
Validates the instance.Set the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.withWorkspaceId
(String workspaceId) Set the workspaceId property: The full Azure ID of the workspace to save the data in.Get the workspaceId property: The full Azure ID of the workspace to save the data in.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
WorkspaceSettingInner
public WorkspaceSettingInner()
-
-
Method Details
-
workspaceId
Get the workspaceId property: The full Azure ID of the workspace to save the data in.- Returns:
- the workspaceId value.
-
withWorkspaceId
Set the workspaceId property: The full Azure ID of the workspace to save the data in.- Parameters:
workspaceId
- the workspaceId value to set.- Returns:
- the WorkspaceSettingInner object itself.
-
scope
Get the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.- Returns:
- the scope value.
-
withScope
Set the scope property: All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.- Parameters:
scope
- the scope value to set.- Returns:
- the WorkspaceSettingInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-