Share via


HyperVHost Class

Definition

Host REST Resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVHostTypeConverter))]
public class HyperVHost : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVHost
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.HyperVHostTypeConverter))>]
type HyperVHost = class
    interface IHyperVHost
    interface IJsonSerializable
Public Class HyperVHost
Implements IHyperVHost
Inheritance
HyperVHost
Attributes
Implements

Constructors

HyperVHost()

Creates an new HyperVHost instance.

Properties

CreatedTimestamp

Timestamp marking Hyper-V host creation.

Error

Errors for Hyper-V hosts.

Fqdn

FQDN/IPAddress of the Hyper-V host.

Id

Resource Id.

Name

Name of the host.

RunAsAccountId

Run as account ID of the Hyper-V host.

Type

Type of resource. Type = Microsoft.OffAzure/hyperVSites/hosts.

UpdatedTimestamp

Timestamp marking last updated on the Hyper-V host.

Version

Version of the Hyper-V host.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of HyperVHost.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of HyperVHost.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api202001.IHyperVHost.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of HyperVHost into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to