@azure/arm-datamigration 3.0.0-alpha.20250721.1 → 3.0.0-alpha.20250723.2
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 -32
- 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 +12 -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 +5531 -5222
- 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 +370 -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 +370 -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 +303 -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 +95 -99
- 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 +95 -99
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.js +83 -67
- 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 +676 -0
- package/dist/browser/operations/migrationServices.js.map +1 -0
- package/dist/browser/operations/operations.js +47 -31
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.js +73 -57
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts +2 -2
- package/dist/browser/operations/resourceSkus.js +52 -36
- 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 +95 -76
- 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 +332 -288
- 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 +240 -194
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +20 -20
- package/dist/browser/operations/tasks.js +105 -89
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.js +55 -39
- 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 +8 -6
- 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 -31
- 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 +13 -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 +5538 -5229
- 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 +374 -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 +374 -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 +308 -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 +93 -97
- 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 +93 -97
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.js +82 -67
- 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 +680 -0
- package/dist/commonjs/operations/migrationServices.js.map +1 -0
- package/dist/commonjs/operations/operations.js +46 -31
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.js +72 -57
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
- package/dist/commonjs/operations/resourceSkus.js +51 -36
- 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 +94 -76
- 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 +329 -286
- 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 +237 -192
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +20 -20
- package/dist/commonjs/operations/tasks.js +104 -89
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.js +54 -39
- 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 +8 -6
- package/dist/commonjs/pagingHelper.js.map +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 -32
- 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 +12 -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 +5531 -5222
- 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 +370 -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 +370 -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 +303 -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 +95 -99
- 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 +95 -99
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.js +83 -67
- 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 +676 -0
- package/dist/esm/operations/migrationServices.js.map +1 -0
- package/dist/esm/operations/operations.js +47 -31
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.js +73 -57
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts +2 -2
- package/dist/esm/operations/resourceSkus.js +52 -36
- 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 +95 -76
- 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 +332 -288
- 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 +240 -194
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +20 -20
- package/dist/esm/operations/tasks.js +105 -89
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.js +55 -39
- 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 +8 -6
- 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 -32
- 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 +12 -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 +5531 -5222
- 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 +370 -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 +370 -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 +303 -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 +95 -99
- 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 +95 -99
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.js +83 -67
- 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 +676 -0
- package/dist/react-native/operations/migrationServices.js.map +1 -0
- package/dist/react-native/operations/operations.js +47 -31
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.js +73 -57
- 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 +52 -36
- 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 +95 -76
- 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 +332 -288
- 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 +240 -194
- 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 +105 -89
- 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 +55 -39
- 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 +8 -6
- 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
@@ -16,7 +16,6 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
17
17
|
/** Class containing Usages operations. */
|
18
18
|
class UsagesImpl {
|
19
|
-
client;
|
20
19
|
/**
|
21
20
|
* Initialize a new instance of the class Usages class.
|
22
21
|
* @param client Reference to the service client
|
@@ -25,8 +24,8 @@ class UsagesImpl {
|
|
25
24
|
this.client = client;
|
26
25
|
}
|
27
26
|
/**
|
28
|
-
* This method returns region-specific quotas and resource usage information for the Database
|
29
|
-
* Service.
|
27
|
+
* This method returns region-specific quotas and resource usage information for the Azure Database
|
28
|
+
* Migration Service (classic).
|
30
29
|
* @param location The Azure region of the operation
|
31
30
|
* @param options The options parameters.
|
32
31
|
*/
|
@@ -40,39 +39,56 @@ class UsagesImpl {
|
|
40
39
|
return this;
|
41
40
|
},
|
42
41
|
byPage: (settings) => {
|
43
|
-
if (settings
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
44
43
|
throw new Error("maxPageSize is not supported by this operation.");
|
45
44
|
}
|
46
45
|
return this.listPagingPage(location, options, settings);
|
47
|
-
}
|
46
|
+
},
|
48
47
|
};
|
49
48
|
}
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
49
|
+
listPagingPage(location, options, settings) {
|
50
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
51
|
+
let result;
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
53
|
+
if (!continuationToken) {
|
54
|
+
result = yield tslib_1.__await(this._list(location, options));
|
55
|
+
let page = result.value || [];
|
56
|
+
continuationToken = result.nextLink;
|
57
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
58
|
+
yield yield tslib_1.__await(page);
|
59
|
+
}
|
60
|
+
while (continuationToken) {
|
61
|
+
result = yield tslib_1.__await(this._listNext(location, continuationToken, options));
|
62
|
+
continuationToken = result.nextLink;
|
63
|
+
let page = result.value || [];
|
64
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
65
|
+
yield yield tslib_1.__await(page);
|
66
|
+
}
|
67
|
+
});
|
67
68
|
}
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
69
|
+
listPagingAll(location, options) {
|
70
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
71
|
+
var _a, e_1, _b, _c;
|
72
|
+
try {
|
73
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(location, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
74
|
+
_c = _f.value;
|
75
|
+
_d = false;
|
76
|
+
const page = _c;
|
77
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
78
|
+
}
|
79
|
+
}
|
80
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
81
|
+
finally {
|
82
|
+
try {
|
83
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
84
|
+
}
|
85
|
+
finally { if (e_1) throw e_1.error; }
|
86
|
+
}
|
87
|
+
});
|
72
88
|
}
|
73
89
|
/**
|
74
|
-
* This method returns region-specific quotas and resource usage information for the Database
|
75
|
-
* Service.
|
90
|
+
* This method returns region-specific quotas and resource usage information for the Azure Database
|
91
|
+
* Migration Service (classic).
|
76
92
|
* @param location The Azure region of the operation
|
77
93
|
* @param options The options parameters.
|
78
94
|
*/
|
@@ -97,40 +113,39 @@ const listOperationSpec = {
|
|
97
113
|
httpMethod: "GET",
|
98
114
|
responses: {
|
99
115
|
200: {
|
100
|
-
bodyMapper: Mappers.QuotaList
|
116
|
+
bodyMapper: Mappers.QuotaList,
|
101
117
|
},
|
102
118
|
default: {
|
103
|
-
bodyMapper: Mappers.ApiError
|
104
|
-
}
|
119
|
+
bodyMapper: Mappers.ApiError,
|
120
|
+
},
|
105
121
|
},
|
106
122
|
queryParameters: [Parameters.apiVersion],
|
107
123
|
urlParameters: [
|
108
124
|
Parameters.$host,
|
109
125
|
Parameters.subscriptionId,
|
110
|
-
Parameters.location
|
126
|
+
Parameters.location,
|
111
127
|
],
|
112
128
|
headerParameters: [Parameters.accept],
|
113
|
-
serializer
|
129
|
+
serializer,
|
114
130
|
};
|
115
131
|
const listNextOperationSpec = {
|
116
132
|
path: "{nextLink}",
|
117
133
|
httpMethod: "GET",
|
118
134
|
responses: {
|
119
135
|
200: {
|
120
|
-
bodyMapper: Mappers.QuotaList
|
136
|
+
bodyMapper: Mappers.QuotaList,
|
121
137
|
},
|
122
138
|
default: {
|
123
|
-
bodyMapper: Mappers.ApiError
|
124
|
-
}
|
139
|
+
bodyMapper: Mappers.ApiError,
|
140
|
+
},
|
125
141
|
},
|
126
|
-
queryParameters: [Parameters.apiVersion],
|
127
142
|
urlParameters: [
|
128
143
|
Parameters.$host,
|
129
144
|
Parameters.subscriptionId,
|
130
145
|
Parameters.nextLink,
|
131
|
-
Parameters.location
|
146
|
+
Parameters.location,
|
132
147
|
],
|
133
148
|
headerParameters: [Parameters.accept],
|
134
|
-
serializer
|
149
|
+
serializer,
|
135
150
|
};
|
136
151
|
//# sourceMappingURL=usages.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAa,UAAU;
|
1
|
+
{"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,0CAA0C;AAC1C,MAAa,UAAU;IAGrB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,QAAgB,EAChB,OAAkC;QAElC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;YAC1D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,QAAgB,EAChB,OAAkC,EAClC,QAAuB;;YAEvB,IAAI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AAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Usages } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n Quota,\n UsagesListNextOptionalParams,\n UsagesListOptionalParams,\n UsagesListResponse,\n UsagesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Usages operations. */\nexport class UsagesImpl implements Usages {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class Usages class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * This method returns region-specific quotas and resource usage information for the Azure Database\n * Migration Service (classic).\n * @param location The Azure region of the operation\n * @param options The options parameters.\n */\n public list(\n location: string,\n options?: UsagesListOptionalParams,\n ): PagedAsyncIterableIterator<Quota> {\n const iter = this.listPagingAll(location, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(location, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n location: string,\n options?: UsagesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Quota[]> {\n let result: UsagesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(location, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(location, continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n location: string,\n options?: UsagesListOptionalParams,\n ): AsyncIterableIterator<Quota> {\n for await (const page of this.listPagingPage(location, options)) {\n yield* page;\n }\n }\n\n /**\n * This method returns region-specific quotas and resource usage information for the Azure Database\n * Migration Service (classic).\n * @param location The Azure region of the operation\n * @param options The options parameters.\n */\n private _list(\n location: string,\n options?: UsagesListOptionalParams,\n ): Promise<UsagesListResponse> {\n return this.client.sendOperationRequest(\n { location, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param location The Azure region of the operation\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n location: string,\n nextLink: string,\n options?: UsagesListNextOptionalParams,\n ): Promise<UsagesListNextResponse> {\n return this.client.sendOperationRequest(\n { location, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.QuotaList,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.location,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
3
|
+
import { DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse, DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse } from "../models/index.js";
|
4
|
+
/** Interface representing a DatabaseMigrationsMongoToCosmosDbRUMongo. */
|
5
|
+
export interface DatabaseMigrationsMongoToCosmosDbRUMongo {
|
6
|
+
/**
|
7
|
+
* Get Database Migration resources for the scope.
|
8
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
9
|
+
* value from the Azure Resource Manager API or the portal.
|
10
|
+
* @param targetResourceName The name of the target resource/account.
|
11
|
+
* @param options The options parameters.
|
12
|
+
*/
|
13
|
+
listForScope(resourceGroupName: string, targetResourceName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;
|
14
|
+
/**
|
15
|
+
* Get Database Migration resource.
|
16
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
17
|
+
* value from the Azure Resource Manager API or the portal.
|
18
|
+
* @param targetResourceName The name of the target resource/account.
|
19
|
+
* @param migrationName Name of the migration.
|
20
|
+
* @param options The options parameters.
|
21
|
+
*/
|
22
|
+
get(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse>;
|
23
|
+
/**
|
24
|
+
* Create or Update Database Migration resource.
|
25
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
26
|
+
* value from the Azure Resource Manager API or the portal.
|
27
|
+
* @param targetResourceName The name of the target resource/account.
|
28
|
+
* @param migrationName Name of the migration.
|
29
|
+
* @param parameters Details of CosmosDB for Mongo API Migration resource.
|
30
|
+
* @param options The options parameters.
|
31
|
+
*/
|
32
|
+
beginCreate(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>, DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>>;
|
33
|
+
/**
|
34
|
+
* Create or Update Database Migration resource.
|
35
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
36
|
+
* value from the Azure Resource Manager API or the portal.
|
37
|
+
* @param targetResourceName The name of the target resource/account.
|
38
|
+
* @param migrationName Name of the migration.
|
39
|
+
* @param parameters Details of CosmosDB for Mongo API Migration resource.
|
40
|
+
* @param options The options parameters.
|
41
|
+
*/
|
42
|
+
beginCreateAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>;
|
43
|
+
/**
|
44
|
+
* Delete Database Migration resource.
|
45
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
46
|
+
* value from the Azure Resource Manager API or the portal.
|
47
|
+
* @param targetResourceName The name of the target resource/account.
|
48
|
+
* @param migrationName Name of the migration.
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
beginDelete(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>, DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>>;
|
52
|
+
/**
|
53
|
+
* Delete Database Migration resource.
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
56
|
+
* @param targetResourceName The name of the target resource/account.
|
57
|
+
* @param migrationName Name of the migration.
|
58
|
+
* @param options The options parameters.
|
59
|
+
*/
|
60
|
+
beginDeleteAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>;
|
61
|
+
}
|
62
|
+
//# sourceMappingURL=databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsMongoToCosmosDbRUMongo.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,8BAA8B,EAC9B,iEAAiE,EACjE,yDAAyD,EACzD,mDAAmD,EACnD,4DAA4D,EAC5D,sDAAsD,EACtD,4DAA4D,EAC5D,sDAAsD,EACvD,MAAM,oBAAoB,CAAC;AAG5B,yEAAyE;AACzE,MAAM,WAAW,wCAAwC;IACvD;;;;;;OAMG;IACH,YAAY,CACV,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,OAAO,CAAC,EAAE,iEAAiE,GAC1E,0BAA0B,CAAC,8BAA8B,CAAC,CAAC;IAC9D;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,yDAAyD,GAClE,OAAO,CAAC,mDAAmD,CAAC,CAAC;IAChE;;;;;;;;OAQG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sDAAsD,CAAC,EACtE,sDAAsD,CACvD,CACF,CAAC;IACF;;;;;;;;OAQG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,8BAA8B,EAC1C,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;IACnE;;;;;;;OAOG;IACH,WAAW,CACT,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,sDAAsD,CAAC,EACtE,sDAAsD,CACvD,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,4DAA4D,GACrE,OAAO,CAAC,sDAAsD,CAAC,CAAC;CACpE"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=databaseMigrationsMongoToCosmosDbRUMongo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsMongoToCosmosDbRUMongo.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DatabaseMigrationCosmosDbMongo,\n DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse,\n DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse,\n DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams,\n DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DatabaseMigrationsMongoToCosmosDbRUMongo. */\nexport interface DatabaseMigrationsMongoToCosmosDbRUMongo {\n /**\n * Get Database Migration resources for the scope.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param options The options parameters.\n */\n listForScope(\n resourceGroupName: string,\n targetResourceName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetForScopeOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;\n /**\n * Get Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoGetOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoGetResponse>;\n /**\n * Create or Update Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>,\n DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse\n >\n >;\n /**\n * Create or Update Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoCreateOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoCreateResponse>;\n /**\n * Delete Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>,\n DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse\n >\n >;\n /**\n * Delete Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbRUMongoDeleteOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbRUMongoDeleteResponse>;\n}\n"]}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
3
|
+
import { DatabaseMigrationCosmosDbMongo, DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse, DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse, DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams, DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse } from "../models/index.js";
|
4
|
+
/** Interface representing a DatabaseMigrationsMongoToCosmosDbvCoreMongo. */
|
5
|
+
export interface DatabaseMigrationsMongoToCosmosDbvCoreMongo {
|
6
|
+
/**
|
7
|
+
* Get Database Migration resources for the scope.
|
8
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
9
|
+
* value from the Azure Resource Manager API or the portal.
|
10
|
+
* @param targetResourceName The name of the target resource/account.
|
11
|
+
* @param options The options parameters.
|
12
|
+
*/
|
13
|
+
listForScope(resourceGroupName: string, targetResourceName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;
|
14
|
+
/**
|
15
|
+
* Get Database Migration resource.
|
16
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
17
|
+
* value from the Azure Resource Manager API or the portal.
|
18
|
+
* @param targetResourceName The name of the target resource/account.
|
19
|
+
* @param migrationName Name of the migration.
|
20
|
+
* @param options The options parameters.
|
21
|
+
*/
|
22
|
+
get(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse>;
|
23
|
+
/**
|
24
|
+
* Create or Update Database Migration resource.
|
25
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
26
|
+
* value from the Azure Resource Manager API or the portal.
|
27
|
+
* @param targetResourceName The name of the target resource/account.
|
28
|
+
* @param migrationName Name of the migration.
|
29
|
+
* @param parameters Details of CosmosDB for Mongo API Migration resource.
|
30
|
+
* @param options The options parameters.
|
31
|
+
*/
|
32
|
+
beginCreate(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>, DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>>;
|
33
|
+
/**
|
34
|
+
* Create or Update Database Migration resource.
|
35
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
36
|
+
* value from the Azure Resource Manager API or the portal.
|
37
|
+
* @param targetResourceName The name of the target resource/account.
|
38
|
+
* @param migrationName Name of the migration.
|
39
|
+
* @param parameters Details of CosmosDB for Mongo API Migration resource.
|
40
|
+
* @param options The options parameters.
|
41
|
+
*/
|
42
|
+
beginCreateAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, parameters: DatabaseMigrationCosmosDbMongo, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>;
|
43
|
+
/**
|
44
|
+
* Delete Database Migration resource.
|
45
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
46
|
+
* value from the Azure Resource Manager API or the portal.
|
47
|
+
* @param targetResourceName The name of the target resource/account.
|
48
|
+
* @param migrationName Name of the migration.
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
beginDelete(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>, DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>>;
|
52
|
+
/**
|
53
|
+
* Delete Database Migration resource.
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
56
|
+
* @param targetResourceName The name of the target resource/account.
|
57
|
+
* @param migrationName Name of the migration.
|
58
|
+
* @param options The options parameters.
|
59
|
+
*/
|
60
|
+
beginDeleteAndWait(resourceGroupName: string, targetResourceName: string, migrationName: string, options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>;
|
61
|
+
}
|
62
|
+
//# sourceMappingURL=databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map
|
package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/database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BAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yDAAyD,CAAC,EACzE,yDAAyD,CAC1D,CACF,CAAC;IACF;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,kBAAkB,EAAE,MAAM,EAC1B,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,+DAA+D,GACxE,OAAO,CAAC,yDAAyD,CAAC,CAAC;CACvE"}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=databaseMigrationsMongoToCosmosDbvCoreMongo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsMongoToCosmosDbvCoreMongo.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DatabaseMigrationCosmosDbMongo,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a DatabaseMigrationsMongoToCosmosDbvCoreMongo. */\nexport interface DatabaseMigrationsMongoToCosmosDbvCoreMongo {\n /**\n * Get Database Migration resources for the scope.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param options The options parameters.\n */\n listForScope(\n resourceGroupName: string,\n targetResourceName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetForScopeOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigrationCosmosDbMongo>;\n /**\n * Get Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoGetOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoGetResponse>;\n /**\n * Create or Update Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreate(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse\n >\n >;\n /**\n * Create or Update Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param parameters Details of CosmosDB for Mongo API Migration resource.\n * @param options The options parameters.\n */\n beginCreateAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n parameters: DatabaseMigrationCosmosDbMongo,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoCreateResponse>;\n /**\n * Delete Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse\n >\n >;\n /**\n * Delete Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param targetResourceName The name of the target resource/account.\n * @param migrationName Name of the migration.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n targetResourceName: string,\n migrationName: string,\n options?: DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteOptionalParams,\n ): Promise<DatabaseMigrationsMongoToCosmosDbvCoreMongoDeleteResponse>;\n}\n"]}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
2
|
+
import { DatabaseMigrationsSqlDbGetOptionalParams, DatabaseMigrationsSqlDbGetResponse, DatabaseMigrationSqlDb, DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams, DatabaseMigrationsSqlDbCreateOrUpdateResponse, DatabaseMigrationsSqlDbDeleteOptionalParams, MigrationOperationInput, DatabaseMigrationsSqlDbCancelOptionalParams } from "../models/index.js";
|
3
|
+
/** Interface representing a DatabaseMigrationsSqlDb. */
|
4
|
+
export interface DatabaseMigrationsSqlDb {
|
5
|
+
/**
|
6
|
+
* Retrieve the Database Migration resource.
|
7
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
8
|
+
* value from the Azure Resource Manager API or the portal.
|
9
|
+
* @param sqlDbInstanceName
|
10
|
+
* @param targetDbName The name of the target database.
|
11
|
+
* @param options The options parameters.
|
12
|
+
*/
|
13
|
+
get(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbGetOptionalParams): Promise<DatabaseMigrationsSqlDbGetResponse>;
|
14
|
+
/**
|
15
|
+
* Create or Update Database Migration resource.
|
16
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
17
|
+
* value from the Azure Resource Manager API or the portal.
|
18
|
+
* @param sqlDbInstanceName
|
19
|
+
* @param targetDbName The name of the target database.
|
20
|
+
* @param parameters Details of Sql Db migration resource.
|
21
|
+
* @param options The options parameters.
|
22
|
+
*/
|
23
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsSqlDbCreateOrUpdateResponse>, DatabaseMigrationsSqlDbCreateOrUpdateResponse>>;
|
24
|
+
/**
|
25
|
+
* Create or Update Database Migration resource.
|
26
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
27
|
+
* value from the Azure Resource Manager API or the portal.
|
28
|
+
* @param sqlDbInstanceName
|
29
|
+
* @param targetDbName The name of the target database.
|
30
|
+
* @param parameters Details of Sql Db migration resource.
|
31
|
+
* @param options The options parameters.
|
32
|
+
*/
|
33
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlDb, options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams): Promise<DatabaseMigrationsSqlDbCreateOrUpdateResponse>;
|
34
|
+
/**
|
35
|
+
* Delete Database Migration resource.
|
36
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
37
|
+
* value from the Azure Resource Manager API or the portal.
|
38
|
+
* @param sqlDbInstanceName
|
39
|
+
* @param targetDbName The name of the target database.
|
40
|
+
* @param options The options parameters.
|
41
|
+
*/
|
42
|
+
beginDelete(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
43
|
+
/**
|
44
|
+
* Delete Database Migration resource.
|
45
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
46
|
+
* value from the Azure Resource Manager API or the portal.
|
47
|
+
* @param sqlDbInstanceName
|
48
|
+
* @param targetDbName The name of the target database.
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
beginDeleteAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlDbDeleteOptionalParams): Promise<void>;
|
52
|
+
/**
|
53
|
+
* Stop on going migration for the database.
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
56
|
+
* @param sqlDbInstanceName
|
57
|
+
* @param targetDbName The name of the target database.
|
58
|
+
* @param parameters Required migration operation ID for which cancel will be initiated.
|
59
|
+
* @param options The options parameters.
|
60
|
+
*/
|
61
|
+
beginCancel(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
62
|
+
/**
|
63
|
+
* Stop on going migration for the database.
|
64
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
65
|
+
* value from the Azure Resource Manager API or the portal.
|
66
|
+
* @param sqlDbInstanceName
|
67
|
+
* @param targetDbName The name of the target database.
|
68
|
+
* @param parameters Required migration operation ID for which cancel will be initiated.
|
69
|
+
* @param options The options parameters.
|
70
|
+
*/
|
71
|
+
beginCancelAndWait(resourceGroupName: string, sqlDbInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlDbCancelOptionalParams): Promise<void>;
|
72
|
+
}
|
73
|
+
//# sourceMappingURL=databaseMigrationsSqlDb.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsSqlDb.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlDb.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,wCAAwC,EACxC,kCAAkC,EAClC,sBAAsB,EACtB,mDAAmD,EACnD,6CAA6C,EAC7C,2CAA2C,EAC3C,uBAAuB,EACvB,2CAA2C,EAC5C,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CA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2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
//# sourceMappingURL=databaseMigrationsSqlDb.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsSqlDb.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlDb.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n DatabaseMigrationsSqlDbGetOptionalParams,\n DatabaseMigrationsSqlDbGetResponse,\n DatabaseMigrationSqlDb,\n DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams,\n DatabaseMigrationsSqlDbCreateOrUpdateResponse,\n DatabaseMigrationsSqlDbDeleteOptionalParams,\n MigrationOperationInput,\n DatabaseMigrationsSqlDbCancelOptionalParams,\n} from \"../models/index.js\";\n\n/** Interface representing a DatabaseMigrationsSqlDb. */\nexport interface DatabaseMigrationsSqlDb {\n /**\n * Retrieve the Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n options?: DatabaseMigrationsSqlDbGetOptionalParams,\n ): Promise<DatabaseMigrationsSqlDbGetResponse>;\n /**\n * Create or Update Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Details of Sql Db migration resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: DatabaseMigrationSqlDb,\n options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DatabaseMigrationsSqlDbCreateOrUpdateResponse>,\n DatabaseMigrationsSqlDbCreateOrUpdateResponse\n >\n >;\n /**\n * Create or Update Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Details of Sql Db migration resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: DatabaseMigrationSqlDb,\n options?: DatabaseMigrationsSqlDbCreateOrUpdateOptionalParams,\n ): Promise<DatabaseMigrationsSqlDbCreateOrUpdateResponse>;\n /**\n * Delete Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n options?: DatabaseMigrationsSqlDbDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete Database Migration resource.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n options?: DatabaseMigrationsSqlDbDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Stop on going migration for the database.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Required migration operation ID for which cancel will be initiated.\n * @param options The options parameters.\n */\n beginCancel(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: MigrationOperationInput,\n options?: DatabaseMigrationsSqlDbCancelOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Stop on going migration for the database.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlDbInstanceName\n * @param targetDbName The name of the target database.\n * @param parameters Required migration operation ID for which cancel will be initiated.\n * @param options The options parameters.\n */\n beginCancelAndWait(\n resourceGroupName: string,\n sqlDbInstanceName: string,\n targetDbName: string,\n parameters: MigrationOperationInput,\n options?: DatabaseMigrationsSqlDbCancelOptionalParams,\n ): Promise<void>;\n}\n"]}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
2
2
|
import { DatabaseMigrationsSqlMiGetOptionalParams, DatabaseMigrationsSqlMiGetResponse, DatabaseMigrationSqlMi, DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams, DatabaseMigrationsSqlMiCreateOrUpdateResponse, MigrationOperationInput, DatabaseMigrationsSqlMiCancelOptionalParams, DatabaseMigrationsSqlMiCutoverOptionalParams } from "../models/index.js";
|
3
3
|
/** Interface representing a DatabaseMigrationsSqlMi. */
|
4
4
|
export interface DatabaseMigrationsSqlMi {
|
5
5
|
/**
|
6
|
-
* Retrieve the
|
6
|
+
* Retrieve the specified database migration for a given SQL Managed Instance.
|
7
7
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
8
8
|
* value from the Azure Resource Manager API or the portal.
|
9
9
|
* @param managedInstanceName
|
@@ -12,7 +12,7 @@ export interface DatabaseMigrationsSqlMi {
|
|
12
12
|
*/
|
13
13
|
get(resourceGroupName: string, managedInstanceName: string, targetDbName: string, options?: DatabaseMigrationsSqlMiGetOptionalParams): Promise<DatabaseMigrationsSqlMiGetResponse>;
|
14
14
|
/**
|
15
|
-
* Create
|
15
|
+
* Create a new database migration to a given SQL Managed Instance.
|
16
16
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
17
17
|
* value from the Azure Resource Manager API or the portal.
|
18
18
|
* @param managedInstanceName
|
@@ -20,9 +20,9 @@ export interface DatabaseMigrationsSqlMi {
|
|
20
20
|
* @param parameters Details of SqlMigrationService resource.
|
21
21
|
* @param options The options parameters.
|
22
22
|
*/
|
23
|
-
beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<
|
23
|
+
beginCreateOrUpdate(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DatabaseMigrationsSqlMiCreateOrUpdateResponse>, DatabaseMigrationsSqlMiCreateOrUpdateResponse>>;
|
24
24
|
/**
|
25
|
-
* Create
|
25
|
+
* Create a new database migration to a given SQL Managed Instance.
|
26
26
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
27
27
|
* value from the Azure Resource Manager API or the portal.
|
28
28
|
* @param managedInstanceName
|
@@ -32,7 +32,7 @@ export interface DatabaseMigrationsSqlMi {
|
|
32
32
|
*/
|
33
33
|
beginCreateOrUpdateAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: DatabaseMigrationSqlMi, options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams): Promise<DatabaseMigrationsSqlMiCreateOrUpdateResponse>;
|
34
34
|
/**
|
35
|
-
* Stop
|
35
|
+
* Stop in-progress database migration to SQL Managed Instance.
|
36
36
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
37
37
|
* value from the Azure Resource Manager API or the portal.
|
38
38
|
* @param managedInstanceName
|
@@ -40,9 +40,9 @@ export interface DatabaseMigrationsSqlMi {
|
|
40
40
|
* @param parameters Required migration operation ID for which cancel will be initiated.
|
41
41
|
* @param options The options parameters.
|
42
42
|
*/
|
43
|
-
beginCancel(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): Promise<
|
43
|
+
beginCancel(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
44
44
|
/**
|
45
|
-
* Stop
|
45
|
+
* Stop in-progress database migration to SQL Managed Instance.
|
46
46
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
47
47
|
* value from the Azure Resource Manager API or the portal.
|
48
48
|
* @param managedInstanceName
|
@@ -52,7 +52,7 @@ export interface DatabaseMigrationsSqlMi {
|
|
52
52
|
*/
|
53
53
|
beginCancelAndWait(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCancelOptionalParams): Promise<void>;
|
54
54
|
/**
|
55
|
-
* Initiate cutover for online migration
|
55
|
+
* Initiate cutover for in-progress online database migration to SQL Managed Instance.
|
56
56
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
57
57
|
* value from the Azure Resource Manager API or the portal.
|
58
58
|
* @param managedInstanceName
|
@@ -60,9 +60,9 @@ export interface DatabaseMigrationsSqlMi {
|
|
60
60
|
* @param parameters Required migration operation ID for which cutover will be initiated.
|
61
61
|
* @param options The options parameters.
|
62
62
|
*/
|
63
|
-
beginCutover(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): Promise<
|
63
|
+
beginCutover(resourceGroupName: string, managedInstanceName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlMiCutoverOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
64
64
|
/**
|
65
|
-
* Initiate cutover for online migration
|
65
|
+
* Initiate cutover for in-progress online database migration to SQL Managed Instance.
|
66
66
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
67
67
|
* value from the Azure Resource Manager API or the portal.
|
68
68
|
* @param managedInstanceName
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"databaseMigrationsSqlMi.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlMi.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"databaseMigrationsSqlMi.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/databaseMigrationsSqlMi.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,wCAAwC,EACxC,kCAAkC,EAClC,sBAAsB,EACtB,mDAAmD,EACnD,6CAA6C,EAC7C,uBAAuB,EACvB,2CAA2C,EAC3C,4CAA4C,EAC7C,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,MAAM,WAAW,uBAAuB;IACtC;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC,CAAC;IAC/C;;;;;;;;OAQG;IACH,mBAAmB,CACjB,iBAAiB,EAAE,MAAM,EACzB,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,6CAA6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