MigrateSqlServerSqlDBDatabaseInput Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Database specific information for SQL to Azure SQL DB migration task inputs.
public class MigrateSqlServerSqlDBDatabaseInput : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlDBDatabaseInput>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.MigrateSqlServerSqlDBDatabaseInput>
type MigrateSqlServerSqlDBDatabaseInput = class
interface IJsonModel<MigrateSqlServerSqlDBDatabaseInput>
interface IPersistableModel<MigrateSqlServerSqlDBDatabaseInput>
Public Class MigrateSqlServerSqlDBDatabaseInput
Implements IJsonModel(Of MigrateSqlServerSqlDBDatabaseInput), IPersistableModel(Of MigrateSqlServerSqlDBDatabaseInput)
- Inheritance
-
MigrateSqlServerSqlDBDatabaseInput
- Implements
Constructors
MigrateSqlServerSqlDBDatabaseInput() |
Initializes a new instance of MigrateSqlServerSqlDBDatabaseInput. |
Properties
Id |
id of the database. |
MakeSourceDBReadOnly |
Whether to set database read only before migration. |
Name |
Name of the database. |
SchemaSetting |
Settings selected for DB schema migration. To assign an object to this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
TableMap |
Mapping of source to target tables. |
TargetDatabaseName |
Name of target database. Note: Target database will be truncated before starting migration. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<MigrateSqlServerSqlDBDatabaseInput>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MigrateSqlServerSqlDBDatabaseInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MigrateSqlServerSqlDBDatabaseInput>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MigrateSqlServerSqlDBDatabaseInput>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MigrateSqlServerSqlDBDatabaseInput>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |