Share via


HyperVVirtualMachineDetails Class

Definition

Single Host fabric provider specific VM settings.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.HyperVVirtualMachineDetailsTypeConverter))]
public class HyperVVirtualMachineDetails : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IHyperVVirtualMachineDetails, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.HyperVVirtualMachineDetailsTypeConverter))>]
type HyperVVirtualMachineDetails = class
    interface IHyperVVirtualMachineDetails
    interface IJsonSerializable
    interface IConfigurationSettings
    interface IValidates
Public Class HyperVVirtualMachineDetails
Implements IHyperVVirtualMachineDetails, IValidates
Inheritance
HyperVVirtualMachineDetails
Attributes
Implements

Constructors

HyperVVirtualMachineDetails()

Creates an new HyperVVirtualMachineDetails instance.

Properties

DiskDetail

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.

InstanceType

Gets the class type. Overridden in derived classes.

OSDetailOsedition

The OSEdition.

OSDetailOsmajorVersion

The OS Major Version.

OSDetailOsminorVersion

The OS Minor Version.

OSDetailOstype

VM Disk details.

OSDetailOsversion

The OS Version.

OSDetailProductType

Product type.

SourceItemId

The source id of the object.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVVirtualMachineDetails.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVVirtualMachineDetails.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IHyperVVirtualMachineDetails. Note: the Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202301.IHyperVVirtualMachineDetails interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

Creates a new instance of HyperVVirtualMachineDetails, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVVirtualMachineDetails into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to