共用方式為


HyperVHostDetails Class

Definition

Hyper-V host details.

public class HyperVHostDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVHostDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.HyperVHostDetails>
type HyperVHostDetails = class
    interface IJsonModel<HyperVHostDetails>
    interface IPersistableModel<HyperVHostDetails>
Public Class HyperVHostDetails
Implements IJsonModel(Of HyperVHostDetails), IPersistableModel(Of HyperVHostDetails)
Inheritance
HyperVHostDetails
Implements

Properties

Id

The Hyper-V host Id.

MarsAgentVersion

The Mars agent version.

Name

The Hyper-V host name.

Explicit Interface Implementations

IJsonModel<HyperVHostDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVHostDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HyperVHostDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVHostDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVHostDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to