共用方式為


HyperVVmDetails Class

Definition

Single Host fabric provider specific VM settings. Please note HyperVVmDetails 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 VmmVmDetails.

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

Properties

DiskDetails

The Last successful failover time.

Generation

The id of the object in fabric.

HasFibreChannelAdapter

A value indicating whether the VM has a fibre channel adapter attached. String value of SrsDataContract.PresenceStatus enum.

HasPhysicalDisk

A value indicating whether the VM has a physical disk attached. String value of SrsDataContract.PresenceStatus enum.

HasSharedVhd

A value indicating whether the VM has a shared VHD attached. String value of SrsDataContract.PresenceStatus enum.

HyperVHostId

The Id of the hyper-v host in fabric.

OSDetails

The Last replication time.

SourceItemId

The source id of the object.

Explicit Interface Implementations

IJsonModel<HyperVVmDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HyperVVmDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SiteRecoveryReplicationProviderSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from SiteRecoveryReplicationProviderSettings)
IPersistableModel<HyperVVmDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HyperVVmDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HyperVVmDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SiteRecoveryReplicationProviderSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from SiteRecoveryReplicationProviderSettings)

Applies to