Share via


Machine Class

Definition

Machine REST resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.MachineTypeConverter))]
public class Machine : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.IMachine
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.MachineTypeConverter))>]
type Machine = class
    interface IMachine
    interface IJsonSerializable
Public Class Machine
Implements IMachine
Inheritance
Machine
Attributes
Implements

Constructors

Machine()

Creates an new Machine instance.

Properties

AssessmentData

Gets or sets the assessment details of the machine published by various sources.

DiscoveryData

Gets or sets the discovery details of the machine published by various sources.

Id

Gets or sets the relative URL to get to this REST resource.

LastUpdatedTime

Gets or sets the time of the last modification of the machine.

MigrationData

Gets or sets the migration details of the machine published by various sources.

Name

Gets or sets the name of this REST resource.

Type

Gets the type of this REST resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Machine.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Machine.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.IMachine.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Machine into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to