Skip to content

Commit

Permalink
[T1] datamigration (Azure#14655)
Browse files Browse the repository at this point in the history
* Generated from 01998cc363e87d618cb2e7b69773a5339179f8ab

* version,CHANGELOG,test

Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
  • Loading branch information
msyyc and SDK Automation authored Oct 22, 2020
1 parent 06c7c26 commit 67d267e
Show file tree
Hide file tree
Showing 10 changed files with 1,817 additions and 1,341 deletions.
12 changes: 12 additions & 0 deletions sdk/datamigration/azure-mgmt-datamigration/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Release History

## 4.1.0 (2020-10-23)

**Features**

- Model PostgreSqlConnectionInfo has a new parameter encrypt_connection
- Model PostgreSqlConnectionInfo has a new parameter trust_server_certificate
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel has a new parameter source_server_type
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel has a new parameter state
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel has a new parameter target_server_type
- Model MigrateMySqlAzureDbForMySqlSyncDatabaseInput has a new parameter table_map
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput has a new parameter selected_tables

## 4.0.0 (2019-10-24)

**Features**
Expand Down
30 changes: 11 additions & 19 deletions sdk/datamigration/azure-mgmt-datamigration/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Data Migration Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

Azure Resource Manager (ARM) is the next generation of management APIs
that replace the old Azure Service Management (ASM).

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
# Usage

For the older Azure Service Management (ASM) libraries, see
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
library.
For code examples, see [Data Migration](https://docs.microsoft.com/python/api/overview/azure/)
on docs.microsoft.com.

For a more complete set of Azure libraries, see the
[azure sdk python release](https://aka.ms/azsdk/python/all).

## Usage
# Provide Feedback

For code examples, see [Data
Migration](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-datamigration%2FREADME.png)

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-datamigration%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel
from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError
Expand Down Expand Up @@ -380,6 +381,7 @@
from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel
from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError
Expand Down Expand Up @@ -552,6 +554,9 @@
BackupMode,
SyncTableMigrationState,
SyncDatabaseMigrationReportingState,
ReplicateMigrationState,
ScenarioTarget,
ScenarioSource,
ValidationStatus,
Severity,
UpdateActionType,
Expand Down Expand Up @@ -695,6 +700,7 @@
'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel',
'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel',
'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput',
'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput',
'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput',
'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput',
'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError',
Expand Down Expand Up @@ -866,6 +872,9 @@
'BackupMode',
'SyncTableMigrationState',
'SyncDatabaseMigrationReportingState',
'ReplicateMigrationState',
'ScenarioTarget',
'ScenarioSource',
'ValidationStatus',
'Severity',
'UpdateActionType',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,49 @@ class SyncDatabaseMigrationReportingState(str, Enum):
cancelling = "CANCELLING"
cancelled = "CANCELLED"
failed = "FAILED"
validating = "VALIDATING"
validation_complete = "VALIDATION_COMPLETE"
validation_failed = "VALIDATION_FAILED"
restore_in_progress = "RESTORE_IN_PROGRESS"
restore_completed = "RESTORE_COMPLETED"
backup_in_progress = "BACKUP_IN_PROGRESS"
backup_completed = "BACKUP_COMPLETED"


class ReplicateMigrationState(str, Enum):

undefined = "UNDEFINED"
validating = "VALIDATING"
pending = "PENDING"
complete = "COMPLETE"
action_required = "ACTION_REQUIRED"
failed = "FAILED"


class ScenarioTarget(str, Enum):

sql_server = "SQLServer"
sqldb = "SQLDB"
sqldw = "SQLDW"
sqlmi = "SQLMI"
azure_db_for_my_sql = "AzureDBForMySql"
azure_db_for_postgres_sql = "AzureDBForPostgresSQL"
mongo_db = "MongoDB"


class ScenarioSource(str, Enum):

access = "Access"
db2 = "DB2"
my_sql = "MySQL"
oracle = "Oracle"
sql = "SQL"
sybase = "Sybase"
postgre_sql = "PostgreSQL"
mongo_db = "MongoDB"
sqlrds = "SQLRDS"
my_sqlrds = "MySQLRDS"
postgre_sqlrds = "PostgreSQLRDS"


class ValidationStatus(str, Enum):
Expand Down
Loading

0 comments on commit 67d267e

Please sign in to comment.