Skip to content

Commit 67d267e

Browse files
msyycSDK Automation
andauthored
[T1] datamigration (Azure#14655)
* Generated from 01998cc363e87d618cb2e7b69773a5339179f8ab * version,CHANGELOG,test Co-authored-by: SDK Automation <sdkautomation@microsoft.com>
1 parent 06c7c26 commit 67d267e

File tree

10 files changed

+1817
-1341
lines changed

10 files changed

+1817
-1341
lines changed

sdk/datamigration/azure-mgmt-datamigration/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release History
22

3+
## 4.1.0 (2020-10-23)
4+
5+
**Features**
6+
7+
- Model PostgreSqlConnectionInfo has a new parameter encrypt_connection
8+
- Model PostgreSqlConnectionInfo has a new parameter trust_server_certificate
9+
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel has a new parameter source_server_type
10+
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel has a new parameter state
11+
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel has a new parameter target_server_type
12+
- Model MigrateMySqlAzureDbForMySqlSyncDatabaseInput has a new parameter table_map
13+
- Model MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput has a new parameter selected_tables
14+
315
## 4.0.0 (2019-10-24)
416

517
**Features**
Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
1-
## Microsoft Azure SDK for Python
1+
# Microsoft Azure SDK for Python
22

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

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

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

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

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

17-
## Usage
14+
# Provide Feedback
1815

19-
For code examples, see [Data
20-
Migration](https://docs.microsoft.com/python/api/overview/azure/) on
21-
docs.microsoft.com.
22-
23-
## Provide Feedback
24-
25-
If you encounter any bugs or have suggestions, please file an issue in
26-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
2718
section of the project.
2819

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

sdk/datamigration/azure-mgmt-datamigration/azure/mgmt/datamigration/models/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel
122122
from ._models_py3 import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel
123123
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput
124+
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput
124125
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput
125126
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
126127
from ._models_py3 import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError
@@ -380,6 +381,7 @@
380381
from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel
381382
from ._models import MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel
382383
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput
384+
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput
383385
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput
384386
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
385387
from ._models import MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError
@@ -552,6 +554,9 @@
552554
BackupMode,
553555
SyncTableMigrationState,
554556
SyncDatabaseMigrationReportingState,
557+
ReplicateMigrationState,
558+
ScenarioTarget,
559+
ScenarioSource,
555560
ValidationStatus,
556561
Severity,
557562
UpdateActionType,
@@ -695,6 +700,7 @@
695700
'MigrateOracleAzureDbPostgreSqlSyncTaskOutputMigrationLevel',
696701
'MigrateOracleAzureDbPostgreSqlSyncTaskOutputTableLevel',
697702
'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseInput',
703+
'MigratePostgreSqlAzureDbForPostgreSqlSyncDatabaseTableInput',
698704
'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskInput',
699705
'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput',
700706
'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError',
@@ -866,6 +872,9 @@
866872
'BackupMode',
867873
'SyncTableMigrationState',
868874
'SyncDatabaseMigrationReportingState',
875+
'ReplicateMigrationState',
876+
'ScenarioTarget',
877+
'ScenarioSource',
869878
'ValidationStatus',
870879
'Severity',
871880
'UpdateActionType',

sdk/datamigration/azure-mgmt-datamigration/azure/mgmt/datamigration/models/_data_migration_service_client_enums.py

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,49 @@ class SyncDatabaseMigrationReportingState(str, Enum):
155155
cancelling = "CANCELLING"
156156
cancelled = "CANCELLED"
157157
failed = "FAILED"
158+
validating = "VALIDATING"
159+
validation_complete = "VALIDATION_COMPLETE"
160+
validation_failed = "VALIDATION_FAILED"
161+
restore_in_progress = "RESTORE_IN_PROGRESS"
162+
restore_completed = "RESTORE_COMPLETED"
163+
backup_in_progress = "BACKUP_IN_PROGRESS"
164+
backup_completed = "BACKUP_COMPLETED"
165+
166+
167+
class ReplicateMigrationState(str, Enum):
168+
169+
undefined = "UNDEFINED"
170+
validating = "VALIDATING"
171+
pending = "PENDING"
172+
complete = "COMPLETE"
173+
action_required = "ACTION_REQUIRED"
174+
failed = "FAILED"
175+
176+
177+
class ScenarioTarget(str, Enum):
178+
179+
sql_server = "SQLServer"
180+
sqldb = "SQLDB"
181+
sqldw = "SQLDW"
182+
sqlmi = "SQLMI"
183+
azure_db_for_my_sql = "AzureDBForMySql"
184+
azure_db_for_postgres_sql = "AzureDBForPostgresSQL"
185+
mongo_db = "MongoDB"
186+
187+
188+
class ScenarioSource(str, Enum):
189+
190+
access = "Access"
191+
db2 = "DB2"
192+
my_sql = "MySQL"
193+
oracle = "Oracle"
194+
sql = "SQL"
195+
sybase = "Sybase"
196+
postgre_sql = "PostgreSQL"
197+
mongo_db = "MongoDB"
198+
sqlrds = "SQLRDS"
199+
my_sqlrds = "MySQLRDS"
200+
postgre_sqlrds = "PostgreSQLRDS"
158201

159202

160203
class ValidationStatus(str, Enum):

0 commit comments

Comments
 (0)