Share via


MachineMigrateEventProperties Class

Definition

Properties of the machine error resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.MachineMigrateEventPropertiesTypeConverter))]
public class MachineMigrateEventProperties : Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.IMachineMigrateEventProperties, Microsoft.Azure.PowerShell.Cmdlets.Migrate.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.MachineMigrateEventPropertiesTypeConverter))>]
type MachineMigrateEventProperties = class
    interface IMachineMigrateEventProperties
    interface IJsonSerializable
    interface IMigrateEventProperties
    interface IValidates
Public Class MachineMigrateEventProperties
Implements IMachineMigrateEventProperties, IValidates
Inheritance
MachineMigrateEventProperties
Attributes
Implements

Constructors

MachineMigrateEventProperties()

Creates an new MachineMigrateEventProperties instance.

Properties

ClientRequestId

Gets or sets the client request Id of the payload for which the event is being reported.

ErrorCode

Gets or sets the error code.

ErrorMessage

Gets or sets the error message.

InstanceType

Gets the Instance type.

Machine

Gets or sets the machine for which the error is being reported.

PossibleCaus

Gets or sets the possible causes for the error.

Recommendation

Gets or sets the recommendation for the error.

Solution

Gets or sets the solution for which the error is being reported.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MachineMigrateEventProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MachineMigrateEventProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MachineMigrateEventProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to