@azure/arm-datamigration 3.0.0-alpha.20250721.1 → 3.0.0-alpha.20250730.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +0 -3
- package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
- package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/browser/dataMigrationManagementClient.js +19 -9
- package/dist/browser/dataMigrationManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +6 -11
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +16 -24
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +968 -216
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +52 -8
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +47 -14
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +5228 -4055
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +21 -12
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +184 -110
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.js +319 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlMi.js +89 -77
- package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.js +89 -77
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.js +43 -44
- package/dist/browser/operations/files.js.map +1 -1
- package/dist/browser/operations/index.d.ts +4 -0
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -0
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/migrationServices.d.ts +144 -0
- package/dist/browser/operations/migrationServices.d.ts.map +1 -0
- package/dist/browser/operations/migrationServices.js +640 -0
- package/dist/browser/operations/migrationServices.js.map +1 -0
- package/dist/browser/operations/operations.js +7 -8
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.js +33 -34
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts +2 -2
- package/dist/browser/operations/resourceSkus.js +12 -13
- package/dist/browser/operations/resourceSkus.js.map +1 -1
- package/dist/browser/operations/serviceTasks.d.ts +16 -13
- package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operations/serviceTasks.js +55 -53
- package/dist/browser/operations/serviceTasks.js.map +1 -1
- package/dist/browser/operations/services.d.ts +59 -58
- package/dist/browser/operations/services.d.ts.map +1 -1
- package/dist/browser/operations/services.js +204 -186
- package/dist/browser/operations/services.js.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.js +116 -106
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +20 -20
- package/dist/browser/operations/tasks.js +65 -66
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.js +15 -16
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operationsInterfaces/files.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/migrationServices.js +9 -0
- package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/projects.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts +53 -52
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/services.js.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts +4 -4
- package/dist/browser/pagingHelper.js +4 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.js +18 -8
- package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +6 -11
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +17 -26
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +968 -216
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +54 -10
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +47 -14
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +5235 -4062
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +21 -12
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +184 -110
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +368 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +368 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js +324 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js +87 -75
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js +87 -75
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.js +43 -44
- package/dist/commonjs/operations/files.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -0
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/migrationServices.d.ts +144 -0
- package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
- package/dist/commonjs/operations/migrationServices.js +645 -0
- package/dist/commonjs/operations/migrationServices.js.map +1 -0
- package/dist/commonjs/operations/operations.js +7 -8
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.js +33 -34
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
- package/dist/commonjs/operations/resourceSkus.js +12 -13
- package/dist/commonjs/operations/resourceSkus.js.map +1 -1
- package/dist/commonjs/operations/serviceTasks.d.ts +16 -13
- package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operations/serviceTasks.js +55 -53
- package/dist/commonjs/operations/serviceTasks.js.map +1 -1
- package/dist/commonjs/operations/services.d.ts +59 -58
- package/dist/commonjs/operations/services.d.ts.map +1 -1
- package/dist/commonjs/operations/services.js +202 -184
- package/dist/commonjs/operations/services.js.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.js +114 -104
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +20 -20
- package/dist/commonjs/operations/tasks.js +65 -66
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.js +15 -16
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.d.ts +53 -52
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts +4 -4
- package/dist/commonjs/pagingHelper.js +4 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
- package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/esm/dataMigrationManagementClient.js +19 -9
- package/dist/esm/dataMigrationManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +6 -11
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +16 -24
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +968 -216
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +52 -8
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +47 -14
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +5228 -4055
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +21 -12
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +184 -110
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.js +319 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlMi.js +89 -77
- package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.js +89 -77
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.js +43 -44
- package/dist/esm/operations/files.js.map +1 -1
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -0
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/migrationServices.d.ts +144 -0
- package/dist/esm/operations/migrationServices.d.ts.map +1 -0
- package/dist/esm/operations/migrationServices.js +640 -0
- package/dist/esm/operations/migrationServices.js.map +1 -0
- package/dist/esm/operations/operations.js +7 -8
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.js +33 -34
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts +2 -2
- package/dist/esm/operations/resourceSkus.js +12 -13
- package/dist/esm/operations/resourceSkus.js.map +1 -1
- package/dist/esm/operations/serviceTasks.d.ts +16 -13
- package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operations/serviceTasks.js +55 -53
- package/dist/esm/operations/serviceTasks.js.map +1 -1
- package/dist/esm/operations/services.d.ts +59 -58
- package/dist/esm/operations/services.d.ts.map +1 -1
- package/dist/esm/operations/services.js +204 -186
- package/dist/esm/operations/services.js.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.js +116 -106
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +20 -20
- package/dist/esm/operations/tasks.js +65 -66
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.js +15 -16
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operationsInterfaces/files.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
- package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/projects.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/services.d.ts +53 -52
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/services.js.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts +4 -4
- package/dist/esm/pagingHelper.js +4 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.js +19 -9
- package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +6 -11
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +16 -24
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +968 -216
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +52 -8
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +47 -14
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +5228 -4055
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +21 -12
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +184 -110
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +363 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +363 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.js +319 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlMi.js +89 -77
- package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.js +89 -77
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.js +43 -44
- package/dist/react-native/operations/files.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -0
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/migrationServices.d.ts +144 -0
- package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
- package/dist/react-native/operations/migrationServices.js +640 -0
- package/dist/react-native/operations/migrationServices.js.map +1 -0
- package/dist/react-native/operations/operations.js +7 -8
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.js +33 -34
- package/dist/react-native/operations/projects.js.map +1 -1
- package/dist/react-native/operations/resourceSkus.d.ts +2 -2
- package/dist/react-native/operations/resourceSkus.js +12 -13
- package/dist/react-native/operations/resourceSkus.js.map +1 -1
- package/dist/react-native/operations/serviceTasks.d.ts +16 -13
- package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operations/serviceTasks.js +55 -53
- package/dist/react-native/operations/serviceTasks.js.map +1 -1
- package/dist/react-native/operations/services.d.ts +59 -58
- package/dist/react-native/operations/services.d.ts.map +1 -1
- package/dist/react-native/operations/services.js +204 -186
- package/dist/react-native/operations/services.js.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.js +116 -106
- package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +20 -20
- package/dist/react-native/operations/tasks.js +65 -66
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operations/usages.d.ts +4 -4
- package/dist/react-native/operations/usages.js +15 -16
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operationsInterfaces/files.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
- package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/services.js.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts +4 -4
- package/dist/react-native/pagingHelper.js +4 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +26 -27
- package/CHANGELOG.md +0 -21
- package/review/arm-datamigration-node.api.md +0 -4103
@@ -9,8 +9,8 @@ import { setContinuationToken } from "../pagingHelper.js";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
10
10
|
import * as Mappers from "../models/mappers.js";
|
11
11
|
import * as Parameters from "../models/parameters.js";
|
12
|
-
import {
|
13
|
-
import {
|
12
|
+
import { createHttpPoller, } from "@azure/core-lro";
|
13
|
+
import { createLroSpec } from "../lroImpl.js";
|
14
14
|
/// <reference lib="esnext.asynciterable" />
|
15
15
|
/** Class containing SqlMigrationServices operations. */
|
16
16
|
export class SqlMigrationServicesImpl {
|
@@ -42,7 +42,7 @@ export class SqlMigrationServicesImpl {
|
|
42
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
43
43
|
}
|
44
44
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
45
|
-
}
|
45
|
+
},
|
46
46
|
};
|
47
47
|
}
|
48
48
|
async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
@@ -89,7 +89,7 @@ export class SqlMigrationServicesImpl {
|
|
89
89
|
throw new Error("maxPageSize is not supported by this operation.");
|
90
90
|
}
|
91
91
|
return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
|
92
|
-
}
|
92
|
+
},
|
93
93
|
};
|
94
94
|
}
|
95
95
|
async *listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
|
@@ -133,7 +133,7 @@ export class SqlMigrationServicesImpl {
|
|
133
133
|
throw new Error("maxPageSize is not supported by this operation.");
|
134
134
|
}
|
135
135
|
return this.listBySubscriptionPagingPage(options, settings);
|
136
|
-
}
|
136
|
+
},
|
137
137
|
};
|
138
138
|
}
|
139
139
|
async *listBySubscriptionPagingPage(options, settings) {
|
@@ -160,7 +160,7 @@ export class SqlMigrationServicesImpl {
|
|
160
160
|
}
|
161
161
|
}
|
162
162
|
/**
|
163
|
-
* Retrieve the Migration Service
|
163
|
+
* Retrieve the Database Migration Service
|
164
164
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
165
165
|
* value from the Azure Resource Manager API or the portal.
|
166
166
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -170,7 +170,7 @@ export class SqlMigrationServicesImpl {
|
|
170
170
|
return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, getOperationSpec);
|
171
171
|
}
|
172
172
|
/**
|
173
|
-
* Create or Update
|
173
|
+
* Create or Update Database Migration Service.
|
174
174
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
175
175
|
* value from the Azure Resource Manager API or the portal.
|
176
176
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -181,7 +181,7 @@ export class SqlMigrationServicesImpl {
|
|
181
181
|
const directSendOperation = async (args, spec) => {
|
182
182
|
return this.client.sendOperationRequest(args, spec);
|
183
183
|
};
|
184
|
-
const
|
184
|
+
const sendOperationFn = async (args, spec) => {
|
185
185
|
let currentRawResponse = undefined;
|
186
186
|
const providedCallback = args.options?.onResponse;
|
187
187
|
const callback = (rawResponse, flatResponse) => {
|
@@ -192,8 +192,8 @@ export class SqlMigrationServicesImpl {
|
|
192
192
|
...args,
|
193
193
|
options: {
|
194
194
|
...args.options,
|
195
|
-
onResponse: callback
|
196
|
-
}
|
195
|
+
onResponse: callback,
|
196
|
+
},
|
197
197
|
};
|
198
198
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
199
199
|
return {
|
@@ -201,20 +201,24 @@ export class SqlMigrationServicesImpl {
|
|
201
201
|
rawResponse: {
|
202
202
|
statusCode: currentRawResponse.status,
|
203
203
|
body: currentRawResponse.parsedBody,
|
204
|
-
headers: currentRawResponse.headers.toJSON()
|
205
|
-
}
|
204
|
+
headers: currentRawResponse.headers.toJSON(),
|
205
|
+
},
|
206
206
|
};
|
207
207
|
};
|
208
|
-
const lro =
|
209
|
-
|
210
|
-
|
211
|
-
|
208
|
+
const lro = createLroSpec({
|
209
|
+
sendOperationFn,
|
210
|
+
args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
|
211
|
+
spec: createOrUpdateOperationSpec,
|
212
|
+
});
|
213
|
+
const poller = await createHttpPoller(lro, {
|
214
|
+
restoreFrom: options?.resumeFrom,
|
215
|
+
intervalInMs: options?.updateIntervalInMs,
|
212
216
|
});
|
213
217
|
await poller.poll();
|
214
218
|
return poller;
|
215
219
|
}
|
216
220
|
/**
|
217
|
-
* Create or Update
|
221
|
+
* Create or Update Database Migration Service.
|
218
222
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
219
223
|
* value from the Azure Resource Manager API or the portal.
|
220
224
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -226,7 +230,7 @@ export class SqlMigrationServicesImpl {
|
|
226
230
|
return poller.pollUntilDone();
|
227
231
|
}
|
228
232
|
/**
|
229
|
-
* Delete
|
233
|
+
* Delete Database Migration Service.
|
230
234
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
231
235
|
* value from the Azure Resource Manager API or the portal.
|
232
236
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -236,7 +240,7 @@ export class SqlMigrationServicesImpl {
|
|
236
240
|
const directSendOperation = async (args, spec) => {
|
237
241
|
return this.client.sendOperationRequest(args, spec);
|
238
242
|
};
|
239
|
-
const
|
243
|
+
const sendOperationFn = async (args, spec) => {
|
240
244
|
let currentRawResponse = undefined;
|
241
245
|
const providedCallback = args.options?.onResponse;
|
242
246
|
const callback = (rawResponse, flatResponse) => {
|
@@ -247,8 +251,8 @@ export class SqlMigrationServicesImpl {
|
|
247
251
|
...args,
|
248
252
|
options: {
|
249
253
|
...args.options,
|
250
|
-
onResponse: callback
|
251
|
-
}
|
254
|
+
onResponse: callback,
|
255
|
+
},
|
252
256
|
};
|
253
257
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
254
258
|
return {
|
@@ -256,20 +260,24 @@ export class SqlMigrationServicesImpl {
|
|
256
260
|
rawResponse: {
|
257
261
|
statusCode: currentRawResponse.status,
|
258
262
|
body: currentRawResponse.parsedBody,
|
259
|
-
headers: currentRawResponse.headers.toJSON()
|
260
|
-
}
|
263
|
+
headers: currentRawResponse.headers.toJSON(),
|
264
|
+
},
|
261
265
|
};
|
262
266
|
};
|
263
|
-
const lro =
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
+
const lro = createLroSpec({
|
268
|
+
sendOperationFn,
|
269
|
+
args: { resourceGroupName, sqlMigrationServiceName, options },
|
270
|
+
spec: deleteOperationSpec,
|
271
|
+
});
|
272
|
+
const poller = await createHttpPoller(lro, {
|
273
|
+
restoreFrom: options?.resumeFrom,
|
274
|
+
intervalInMs: options?.updateIntervalInMs,
|
267
275
|
});
|
268
276
|
await poller.poll();
|
269
277
|
return poller;
|
270
278
|
}
|
271
279
|
/**
|
272
|
-
* Delete
|
280
|
+
* Delete Database Migration Service.
|
273
281
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
274
282
|
* value from the Azure Resource Manager API or the portal.
|
275
283
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -280,7 +288,7 @@ export class SqlMigrationServicesImpl {
|
|
280
288
|
return poller.pollUntilDone();
|
281
289
|
}
|
282
290
|
/**
|
283
|
-
* Update
|
291
|
+
* Update Database Migration Service.
|
284
292
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
285
293
|
* value from the Azure Resource Manager API or the portal.
|
286
294
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -291,7 +299,7 @@ export class SqlMigrationServicesImpl {
|
|
291
299
|
const directSendOperation = async (args, spec) => {
|
292
300
|
return this.client.sendOperationRequest(args, spec);
|
293
301
|
};
|
294
|
-
const
|
302
|
+
const sendOperationFn = async (args, spec) => {
|
295
303
|
let currentRawResponse = undefined;
|
296
304
|
const providedCallback = args.options?.onResponse;
|
297
305
|
const callback = (rawResponse, flatResponse) => {
|
@@ -302,8 +310,8 @@ export class SqlMigrationServicesImpl {
|
|
302
310
|
...args,
|
303
311
|
options: {
|
304
312
|
...args.options,
|
305
|
-
onResponse: callback
|
306
|
-
}
|
313
|
+
onResponse: callback,
|
314
|
+
},
|
307
315
|
};
|
308
316
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
309
317
|
return {
|
@@ -311,20 +319,24 @@ export class SqlMigrationServicesImpl {
|
|
311
319
|
rawResponse: {
|
312
320
|
statusCode: currentRawResponse.status,
|
313
321
|
body: currentRawResponse.parsedBody,
|
314
|
-
headers: currentRawResponse.headers.toJSON()
|
315
|
-
}
|
322
|
+
headers: currentRawResponse.headers.toJSON(),
|
323
|
+
},
|
316
324
|
};
|
317
325
|
};
|
318
|
-
const lro =
|
319
|
-
|
320
|
-
|
321
|
-
|
326
|
+
const lro = createLroSpec({
|
327
|
+
sendOperationFn,
|
328
|
+
args: { resourceGroupName, sqlMigrationServiceName, parameters, options },
|
329
|
+
spec: updateOperationSpec,
|
330
|
+
});
|
331
|
+
const poller = await createHttpPoller(lro, {
|
332
|
+
restoreFrom: options?.resumeFrom,
|
333
|
+
intervalInMs: options?.updateIntervalInMs,
|
322
334
|
});
|
323
335
|
await poller.poll();
|
324
336
|
return poller;
|
325
337
|
}
|
326
338
|
/**
|
327
|
-
* Update
|
339
|
+
* Update Database Migration Service.
|
328
340
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
329
341
|
* value from the Azure Resource Manager API or the portal.
|
330
342
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -387,7 +399,8 @@ export class SqlMigrationServicesImpl {
|
|
387
399
|
return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, listMigrationsOperationSpec);
|
388
400
|
}
|
389
401
|
/**
|
390
|
-
* Retrieve the
|
402
|
+
* Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database
|
403
|
+
* Migration Service.
|
391
404
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
392
405
|
* value from the Azure Resource Manager API or the portal.
|
393
406
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -440,49 +453,49 @@ const getOperationSpec = {
|
|
440
453
|
httpMethod: "GET",
|
441
454
|
responses: {
|
442
455
|
200: {
|
443
|
-
bodyMapper: Mappers.SqlMigrationService
|
456
|
+
bodyMapper: Mappers.SqlMigrationService,
|
444
457
|
},
|
445
|
-
default: {}
|
458
|
+
default: {},
|
446
459
|
},
|
447
460
|
queryParameters: [Parameters.apiVersion],
|
448
461
|
urlParameters: [
|
449
462
|
Parameters.$host,
|
450
463
|
Parameters.resourceGroupName,
|
451
464
|
Parameters.subscriptionId,
|
452
|
-
Parameters.sqlMigrationServiceName
|
465
|
+
Parameters.sqlMigrationServiceName,
|
453
466
|
],
|
454
467
|
headerParameters: [Parameters.accept],
|
455
|
-
serializer
|
468
|
+
serializer,
|
456
469
|
};
|
457
470
|
const createOrUpdateOperationSpec = {
|
458
471
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
459
472
|
httpMethod: "PUT",
|
460
473
|
responses: {
|
461
474
|
200: {
|
462
|
-
bodyMapper: Mappers.SqlMigrationService
|
475
|
+
bodyMapper: Mappers.SqlMigrationService,
|
463
476
|
},
|
464
477
|
201: {
|
465
|
-
bodyMapper: Mappers.SqlMigrationService
|
478
|
+
bodyMapper: Mappers.SqlMigrationService,
|
466
479
|
},
|
467
480
|
202: {
|
468
|
-
bodyMapper: Mappers.SqlMigrationService
|
481
|
+
bodyMapper: Mappers.SqlMigrationService,
|
469
482
|
},
|
470
483
|
204: {
|
471
|
-
bodyMapper: Mappers.SqlMigrationService
|
484
|
+
bodyMapper: Mappers.SqlMigrationService,
|
472
485
|
},
|
473
|
-
default: {}
|
486
|
+
default: {},
|
474
487
|
},
|
475
|
-
requestBody: Parameters.
|
488
|
+
requestBody: Parameters.parameters7,
|
476
489
|
queryParameters: [Parameters.apiVersion],
|
477
490
|
urlParameters: [
|
478
491
|
Parameters.$host,
|
479
492
|
Parameters.resourceGroupName,
|
480
493
|
Parameters.subscriptionId,
|
481
|
-
Parameters.sqlMigrationServiceName
|
494
|
+
Parameters.sqlMigrationServiceName,
|
482
495
|
],
|
483
496
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
484
497
|
mediaType: "json",
|
485
|
-
serializer
|
498
|
+
serializer,
|
486
499
|
};
|
487
500
|
const deleteOperationSpec = {
|
488
501
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
@@ -493,226 +506,223 @@ const deleteOperationSpec = {
|
|
493
506
|
Parameters.$host,
|
494
507
|
Parameters.resourceGroupName,
|
495
508
|
Parameters.subscriptionId,
|
496
|
-
Parameters.sqlMigrationServiceName
|
509
|
+
Parameters.sqlMigrationServiceName,
|
497
510
|
],
|
498
|
-
serializer
|
511
|
+
serializer,
|
499
512
|
};
|
500
513
|
const updateOperationSpec = {
|
501
514
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
502
515
|
httpMethod: "PATCH",
|
503
516
|
responses: {
|
504
517
|
200: {
|
505
|
-
bodyMapper: Mappers.SqlMigrationService
|
518
|
+
bodyMapper: Mappers.SqlMigrationService,
|
506
519
|
},
|
507
520
|
201: {
|
508
|
-
bodyMapper: Mappers.SqlMigrationService
|
521
|
+
bodyMapper: Mappers.SqlMigrationService,
|
509
522
|
},
|
510
523
|
202: {
|
511
|
-
bodyMapper: Mappers.SqlMigrationService
|
524
|
+
bodyMapper: Mappers.SqlMigrationService,
|
512
525
|
},
|
513
526
|
204: {
|
514
|
-
bodyMapper: Mappers.SqlMigrationService
|
527
|
+
bodyMapper: Mappers.SqlMigrationService,
|
515
528
|
},
|
516
|
-
default: {}
|
529
|
+
default: {},
|
517
530
|
},
|
518
|
-
requestBody: Parameters.
|
531
|
+
requestBody: Parameters.parameters8,
|
519
532
|
queryParameters: [Parameters.apiVersion],
|
520
533
|
urlParameters: [
|
521
534
|
Parameters.$host,
|
522
535
|
Parameters.resourceGroupName,
|
523
536
|
Parameters.subscriptionId,
|
524
|
-
Parameters.sqlMigrationServiceName
|
537
|
+
Parameters.sqlMigrationServiceName,
|
525
538
|
],
|
526
539
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
527
540
|
mediaType: "json",
|
528
|
-
serializer
|
541
|
+
serializer,
|
529
542
|
};
|
530
543
|
const listByResourceGroupOperationSpec = {
|
531
544
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",
|
532
545
|
httpMethod: "GET",
|
533
546
|
responses: {
|
534
547
|
200: {
|
535
|
-
bodyMapper: Mappers.SqlMigrationListResult
|
548
|
+
bodyMapper: Mappers.SqlMigrationListResult,
|
536
549
|
},
|
537
|
-
default: {}
|
550
|
+
default: {},
|
538
551
|
},
|
539
552
|
queryParameters: [Parameters.apiVersion],
|
540
553
|
urlParameters: [
|
541
554
|
Parameters.$host,
|
542
555
|
Parameters.resourceGroupName,
|
543
|
-
Parameters.subscriptionId
|
556
|
+
Parameters.subscriptionId,
|
544
557
|
],
|
545
558
|
headerParameters: [Parameters.accept],
|
546
|
-
serializer
|
559
|
+
serializer,
|
547
560
|
};
|
548
561
|
const listAuthKeysOperationSpec = {
|
549
562
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",
|
550
563
|
httpMethod: "POST",
|
551
564
|
responses: {
|
552
565
|
200: {
|
553
|
-
bodyMapper: Mappers.AuthenticationKeys
|
566
|
+
bodyMapper: Mappers.AuthenticationKeys,
|
554
567
|
},
|
555
|
-
default: {}
|
568
|
+
default: {},
|
556
569
|
},
|
557
570
|
queryParameters: [Parameters.apiVersion],
|
558
571
|
urlParameters: [
|
559
572
|
Parameters.$host,
|
560
573
|
Parameters.resourceGroupName,
|
561
574
|
Parameters.subscriptionId,
|
562
|
-
Parameters.sqlMigrationServiceName
|
575
|
+
Parameters.sqlMigrationServiceName,
|
563
576
|
],
|
564
577
|
headerParameters: [Parameters.accept],
|
565
|
-
serializer
|
578
|
+
serializer,
|
566
579
|
};
|
567
580
|
const regenerateAuthKeysOperationSpec = {
|
568
581
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",
|
569
582
|
httpMethod: "POST",
|
570
583
|
responses: {
|
571
584
|
200: {
|
572
|
-
bodyMapper: Mappers.RegenAuthKeys
|
585
|
+
bodyMapper: Mappers.RegenAuthKeys,
|
573
586
|
},
|
574
|
-
default: {}
|
587
|
+
default: {},
|
575
588
|
},
|
576
|
-
requestBody: Parameters.
|
589
|
+
requestBody: Parameters.parameters9,
|
577
590
|
queryParameters: [Parameters.apiVersion],
|
578
591
|
urlParameters: [
|
579
592
|
Parameters.$host,
|
580
593
|
Parameters.resourceGroupName,
|
581
594
|
Parameters.subscriptionId,
|
582
|
-
Parameters.sqlMigrationServiceName
|
595
|
+
Parameters.sqlMigrationServiceName,
|
583
596
|
],
|
584
597
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
585
598
|
mediaType: "json",
|
586
|
-
serializer
|
599
|
+
serializer,
|
587
600
|
};
|
588
601
|
const deleteNodeOperationSpec = {
|
589
602
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",
|
590
603
|
httpMethod: "POST",
|
591
604
|
responses: {
|
592
605
|
200: {
|
593
|
-
bodyMapper: Mappers.DeleteNode
|
606
|
+
bodyMapper: Mappers.DeleteNode,
|
594
607
|
},
|
595
|
-
default: {}
|
608
|
+
default: {},
|
596
609
|
},
|
597
|
-
requestBody: Parameters.
|
610
|
+
requestBody: Parameters.parameters10,
|
598
611
|
queryParameters: [Parameters.apiVersion],
|
599
612
|
urlParameters: [
|
600
613
|
Parameters.$host,
|
601
614
|
Parameters.resourceGroupName,
|
602
615
|
Parameters.subscriptionId,
|
603
|
-
Parameters.sqlMigrationServiceName
|
616
|
+
Parameters.sqlMigrationServiceName,
|
604
617
|
],
|
605
618
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
606
619
|
mediaType: "json",
|
607
|
-
serializer
|
620
|
+
serializer,
|
608
621
|
};
|
609
622
|
const listMigrationsOperationSpec = {
|
610
623
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",
|
611
624
|
httpMethod: "GET",
|
612
625
|
responses: {
|
613
626
|
200: {
|
614
|
-
bodyMapper: Mappers.DatabaseMigrationListResult
|
627
|
+
bodyMapper: Mappers.DatabaseMigrationListResult,
|
615
628
|
},
|
616
|
-
default: {}
|
629
|
+
default: {},
|
617
630
|
},
|
618
631
|
queryParameters: [Parameters.apiVersion],
|
619
632
|
urlParameters: [
|
620
633
|
Parameters.$host,
|
621
634
|
Parameters.resourceGroupName,
|
622
635
|
Parameters.subscriptionId,
|
623
|
-
Parameters.sqlMigrationServiceName
|
636
|
+
Parameters.sqlMigrationServiceName,
|
624
637
|
],
|
625
638
|
headerParameters: [Parameters.accept],
|
626
|
-
serializer
|
639
|
+
serializer,
|
627
640
|
};
|
628
641
|
const listMonitoringDataOperationSpec = {
|
629
642
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",
|
630
643
|
httpMethod: "POST",
|
631
644
|
responses: {
|
632
645
|
200: {
|
633
|
-
bodyMapper: Mappers.IntegrationRuntimeMonitoringData
|
646
|
+
bodyMapper: Mappers.IntegrationRuntimeMonitoringData,
|
634
647
|
},
|
635
|
-
default: {}
|
648
|
+
default: {},
|
636
649
|
},
|
637
650
|
queryParameters: [Parameters.apiVersion],
|
638
651
|
urlParameters: [
|
639
652
|
Parameters.$host,
|
640
653
|
Parameters.resourceGroupName,
|
641
654
|
Parameters.subscriptionId,
|
642
|
-
Parameters.sqlMigrationServiceName
|
655
|
+
Parameters.sqlMigrationServiceName,
|
643
656
|
],
|
644
657
|
headerParameters: [Parameters.accept],
|
645
|
-
serializer
|
658
|
+
serializer,
|
646
659
|
};
|
647
660
|
const listBySubscriptionOperationSpec = {
|
648
661
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",
|
649
662
|
httpMethod: "GET",
|
650
663
|
responses: {
|
651
664
|
200: {
|
652
|
-
bodyMapper: Mappers.SqlMigrationListResult
|
665
|
+
bodyMapper: Mappers.SqlMigrationListResult,
|
653
666
|
},
|
654
|
-
default: {}
|
667
|
+
default: {},
|
655
668
|
},
|
656
669
|
queryParameters: [Parameters.apiVersion],
|
657
670
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
658
671
|
headerParameters: [Parameters.accept],
|
659
|
-
serializer
|
672
|
+
serializer,
|
660
673
|
};
|
661
674
|
const listByResourceGroupNextOperationSpec = {
|
662
675
|
path: "{nextLink}",
|
663
676
|
httpMethod: "GET",
|
664
677
|
responses: {
|
665
678
|
200: {
|
666
|
-
bodyMapper: Mappers.SqlMigrationListResult
|
679
|
+
bodyMapper: Mappers.SqlMigrationListResult,
|
667
680
|
},
|
668
|
-
default: {}
|
681
|
+
default: {},
|
669
682
|
},
|
670
|
-
queryParameters: [Parameters.apiVersion],
|
671
683
|
urlParameters: [
|
672
684
|
Parameters.$host,
|
673
685
|
Parameters.resourceGroupName,
|
674
686
|
Parameters.subscriptionId,
|
675
|
-
Parameters.nextLink
|
687
|
+
Parameters.nextLink,
|
676
688
|
],
|
677
689
|
headerParameters: [Parameters.accept],
|
678
|
-
serializer
|
690
|
+
serializer,
|
679
691
|
};
|
680
692
|
const listMigrationsNextOperationSpec = {
|
681
693
|
path: "{nextLink}",
|
682
694
|
httpMethod: "GET",
|
683
695
|
responses: {
|
684
696
|
200: {
|
685
|
-
bodyMapper: Mappers.DatabaseMigrationListResult
|
697
|
+
bodyMapper: Mappers.DatabaseMigrationListResult,
|
686
698
|
},
|
687
|
-
default: {}
|
699
|
+
default: {},
|
688
700
|
},
|
689
|
-
queryParameters: [Parameters.apiVersion],
|
690
701
|
urlParameters: [
|
691
702
|
Parameters.$host,
|
692
703
|
Parameters.resourceGroupName,
|
693
704
|
Parameters.subscriptionId,
|
694
705
|
Parameters.nextLink,
|
695
|
-
Parameters.sqlMigrationServiceName
|
706
|
+
Parameters.sqlMigrationServiceName,
|
696
707
|
],
|
697
708
|
headerParameters: [Parameters.accept],
|
698
|
-
serializer
|
709
|
+
serializer,
|
699
710
|
};
|
700
711
|
const listBySubscriptionNextOperationSpec = {
|
701
712
|
path: "{nextLink}",
|
702
713
|
httpMethod: "GET",
|
703
714
|
responses: {
|
704
715
|
200: {
|
705
|
-
bodyMapper: Mappers.SqlMigrationListResult
|
716
|
+
bodyMapper: Mappers.SqlMigrationListResult,
|
706
717
|
},
|
707
|
-
default: {}
|
718
|
+
default: {},
|
708
719
|
},
|
709
|
-
queryParameters: [Parameters.apiVersion],
|
710
720
|
urlParameters: [
|
711
721
|
Parameters.$host,
|
712
722
|
Parameters.subscriptionId,
|
713
|
-
Parameters.nextLink
|
723
|
+
Parameters.nextLink,
|
714
724
|
],
|
715
725
|
headerParameters: [Parameters.accept],
|
716
|
-
serializer
|
726
|
+
serializer,
|
717
727
|
};
|
718
728
|
//# sourceMappingURL=sqlMigrationServices.js.map
|