WorkspaceSettingInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. WorkspaceSettingInner
- com.
- com.
public final class WorkspaceSettingInner
extends ProxyResource
Configures where to store the OMS agent data for workspaces under a scope.
Constructor Summary
| Constructor | Description |
|---|---|
| WorkspaceSettingInner() |
Creates an instance of Workspace |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Workspace |
fromJson(JsonReader jsonReader)
Reads an instance of Workspace |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
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. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Workspace |
withScope(String scope)
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. |
|
Workspace |
withWorkspaceId(String workspaceId)
Set the workspace |
| String |
workspaceId()
Get the workspace |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
WorkspaceSettingInner
public WorkspaceSettingInner()
Creates an instance of WorkspaceSettingInner class.
Method Details
fromJson
public static WorkspaceSettingInner fromJson(JsonReader jsonReader)
Reads an instance of WorkspaceSettingInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
WorkspaceSettingInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
WorkspaceSettingInner.name()Returns:
scope
public String 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:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
WorkspaceSettingInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
WorkspaceSettingInner.type()Returns:
validate
public void validate()
Validates the instance.
withScope
public WorkspaceSettingInner withScope(String scope)
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:
Returns:
withWorkspaceId
public WorkspaceSettingInner withWorkspaceId(String workspaceId)
Set the workspaceId property: The full Azure ID of the workspace to save the data in.
Parameters:
Returns:
workspaceId
public String workspaceId()
Get the workspaceId property: The full Azure ID of the workspace to save the data in.
Returns: