Share via


SecurityWorkspaceSettingData Class

Definition

A class representing the SecurityWorkspaceSetting data model. Configures where to store the OMS agent data for workspaces under a scope

public class SecurityWorkspaceSettingData : Azure.ResourceManager.Models.ResourceData
public class SecurityWorkspaceSettingData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.SecurityWorkspaceSettingData>
type SecurityWorkspaceSettingData = class
    inherit ResourceData
type SecurityWorkspaceSettingData = class
    inherit ResourceData
    interface IJsonModel<SecurityWorkspaceSettingData>
    interface IPersistableModel<SecurityWorkspaceSettingData>
Public Class SecurityWorkspaceSettingData
Inherits ResourceData
Public Class SecurityWorkspaceSettingData
Inherits ResourceData
Implements IJsonModel(Of SecurityWorkspaceSettingData), IPersistableModel(Of SecurityWorkspaceSettingData)
Inheritance
SecurityWorkspaceSettingData
Implements

Constructors

SecurityWorkspaceSettingData()

Initializes a new instance of SecurityWorkspaceSettingData.

Properties

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Scope

All the VMs in this scope will send their security data to the mentioned workspace unless overridden by a setting with more specific scope.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
WorkspaceId

The full Azure ID of the workspace to save the data in.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SecurityWorkspaceSettingData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SecurityWorkspaceSettingData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityWorkspaceSettingData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityWorkspaceSettingData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SecurityWorkspaceSettingData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to