Share via


DatabaseMigrateEventProperties Class

Definition

Properties of the database error resource.

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

Constructors

DatabaseMigrateEventProperties()

Creates an new DatabaseMigrateEventProperties instance.

Properties

ClientRequestId

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

Database

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

DatabaseInstanceId

Gets or sets the database instance for which the error 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 DatabaseMigrateEventProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseMigrateEventProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseMigrateEventProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to