Share via


DatabaseInstance Class

Definition

DatabaseInstance REST resource.

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

Constructors

DatabaseInstance()

Creates an new DatabaseInstance instance.

Properties

DiscoveryData

Gets or sets the assessment details of the database instance 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 database.

Name

Gets or sets the name of this REST resource.

Summary

Gets or sets the database instances summary per solution. The key of dictionary is the solution name and value is the corresponding database instance summary object.

Type

Gets the type of this REST resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DatabaseInstance.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DatabaseInstance.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of DatabaseInstance into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to