Condividi tramite


OnPremiseResourceDetails Class

Definition

Details of the On Premise resource that was assessed Please note OnPremiseResourceDetails is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include OnPremiseSqlResourceDetails.

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

Constructors

OnPremiseResourceDetails(ResourceIdentifier, Guid, String, String)

Initializes a new instance of OnPremiseResourceDetails.

Properties

MachineName

The name of the machine.

SourceComputerId

The oms agent Id installed on the machine.

VmUuid

The unique Id of the machine.

WorkspaceId

Azure resource Id of the workspace the machine is attached to.

Explicit Interface Implementations

IJsonModel<OnPremiseResourceDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<OnPremiseResourceDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SecurityCenterResourceDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from SecurityCenterResourceDetails)
IJsonModel<SecurityCenterResourceDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SecurityCenterResourceDetails)
IPersistableModel<OnPremiseResourceDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<OnPremiseResourceDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<OnPremiseResourceDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SecurityCenterResourceDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SecurityCenterResourceDetails)
IPersistableModel<SecurityCenterResourceDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from SecurityCenterResourceDetails)
IPersistableModel<SecurityCenterResourceDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SecurityCenterResourceDetails)

Applies to