Share via


MigrateEventProperties Class

Definition

Properties of the error resource.

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

Constructors

MigrateEventProperties()

Creates an new MigrateEventProperties 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.

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 MigrateEventProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MigrateEventProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.IMigrateEventProperties. Note: the Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20180901Preview.IMigrateEventProperties 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 MigrateEventProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of MigrateEventProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to