Source code for azure.mgmt.datamigration.models.migrate_postgre_sql_azure_db_for_postgre_sql_sync_database_input_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput(Model): """Database specific information for PostgreSQL to Azure Database for PostgreSQL migration task inputs. :param name: Name of the database :type name: str :param target_database_name: Name of target database. Note: Target database will be truncated before starting migration. :type target_database_name: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'target_database_name': {'key': 'targetDatabaseName', 'type': 'str'}, } def __init__(self, *, name: str=None, target_database_name: str=None, **kwargs) -> None: super(MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput, self).__init__(**kwargs) self.name = name self.target_database_name = target_database_name