Sdílet prostřednictvím


MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput Class

Definition

Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs.

public class MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>
type MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput = class
    interface IJsonModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>
    interface IPersistableModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>
Public Class MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput
Implements IJsonModel(Of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput), IPersistableModel(Of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput)
Inheritance
MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput
Implements

Constructors

MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput()

Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput.

Properties

Id

Result identifier.

MigrationSetting

Migration settings which tune the migration behavior

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

Name

Name of the database.

SelectedTables

Tables selected for migration.

SourceSetting

Source settings to tune source endpoint migration behavior.

TargetDatabaseName

Name of target database. Note: Target database will be truncated before starting migration.

TargetSetting

Target settings to tune target endpoint migration behavior.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MigratePostgreSqlAzureDBForPostgreSqlSyncDatabaseInput>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to