@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
@@ -18,7 +18,6 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
19
19
|
/** Class containing Services operations. */
|
20
20
|
class ServicesImpl {
|
21
|
-
client;
|
22
21
|
/**
|
23
22
|
* Initialize a new instance of the class Services class.
|
24
23
|
* @param client Reference to the service client
|
@@ -27,8 +26,8 @@ class ServicesImpl {
|
|
27
26
|
this.client = client;
|
28
27
|
}
|
29
28
|
/**
|
30
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
31
|
-
* skus action returns the list of SKUs that a service resource can be updated to.
|
29
|
+
* The services resource is the top-level resource that represents the Database Migration Service
|
30
|
+
* (classic). The skus action returns the list of SKUs that a service resource can be updated to.
|
32
31
|
* @param groupName Name of the resource group
|
33
32
|
* @param serviceName Name of the service
|
34
33
|
* @param options The options parameters.
|
@@ -43,39 +42,56 @@ class ServicesImpl {
|
|
43
42
|
return this;
|
44
43
|
},
|
45
44
|
byPage: (settings) => {
|
46
|
-
if (settings
|
45
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
47
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
48
47
|
}
|
49
48
|
return this.listSkusPagingPage(groupName, serviceName, options, settings);
|
50
|
-
}
|
49
|
+
},
|
51
50
|
};
|
52
51
|
}
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
52
|
+
listSkusPagingPage(groupName, serviceName, options, settings) {
|
53
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
54
|
+
let result;
|
55
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
56
|
+
if (!continuationToken) {
|
57
|
+
result = yield tslib_1.__await(this._listSkus(groupName, serviceName, options));
|
58
|
+
let page = result.value || [];
|
59
|
+
continuationToken = result.nextLink;
|
60
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
61
|
+
yield yield tslib_1.__await(page);
|
62
|
+
}
|
63
|
+
while (continuationToken) {
|
64
|
+
result = yield tslib_1.__await(this._listSkusNext(groupName, serviceName, continuationToken, options));
|
65
|
+
continuationToken = result.nextLink;
|
66
|
+
let page = result.value || [];
|
67
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
68
|
+
yield yield tslib_1.__await(page);
|
69
|
+
}
|
70
|
+
});
|
70
71
|
}
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
72
|
+
listSkusPagingAll(groupName, serviceName, options) {
|
73
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listSkusPagingAll_1() {
|
74
|
+
var _a, e_1, _b, _c;
|
75
|
+
try {
|
76
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listSkusPagingPage(groupName, serviceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
77
|
+
_c = _f.value;
|
78
|
+
_d = false;
|
79
|
+
const page = _c;
|
80
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
81
|
+
}
|
82
|
+
}
|
83
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
84
|
+
finally {
|
85
|
+
try {
|
86
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
87
|
+
}
|
88
|
+
finally { if (e_1) throw e_1.error; }
|
89
|
+
}
|
90
|
+
});
|
75
91
|
}
|
76
92
|
/**
|
77
|
-
* The Services resource is the top-level resource that represents the Database Migration Service
|
78
|
-
* method returns a list of service resources in a resource group.
|
93
|
+
* The Services resource is the top-level resource that represents the Azure Database Migration Service
|
94
|
+
* (classic). This method returns a list of service resources in a resource group.
|
79
95
|
* @param groupName Name of the resource group
|
80
96
|
* @param options The options parameters.
|
81
97
|
*/
|
@@ -89,39 +105,56 @@ class ServicesImpl {
|
|
89
105
|
return this;
|
90
106
|
},
|
91
107
|
byPage: (settings) => {
|
92
|
-
if (settings
|
108
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
93
109
|
throw new Error("maxPageSize is not supported by this operation.");
|
94
110
|
}
|
95
111
|
return this.listByResourceGroupPagingPage(groupName, options, settings);
|
96
|
-
}
|
112
|
+
},
|
97
113
|
};
|
98
114
|
}
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
115
|
+
listByResourceGroupPagingPage(groupName, options, settings) {
|
116
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
117
|
+
let result;
|
118
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
119
|
+
if (!continuationToken) {
|
120
|
+
result = yield tslib_1.__await(this._listByResourceGroup(groupName, options));
|
121
|
+
let page = result.value || [];
|
122
|
+
continuationToken = result.nextLink;
|
123
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
124
|
+
yield yield tslib_1.__await(page);
|
125
|
+
}
|
126
|
+
while (continuationToken) {
|
127
|
+
result = yield tslib_1.__await(this._listByResourceGroupNext(groupName, continuationToken, options));
|
128
|
+
continuationToken = result.nextLink;
|
129
|
+
let page = result.value || [];
|
130
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
131
|
+
yield yield tslib_1.__await(page);
|
132
|
+
}
|
133
|
+
});
|
116
134
|
}
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
135
|
+
listByResourceGroupPagingAll(groupName, options) {
|
136
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
137
|
+
var _a, e_2, _b, _c;
|
138
|
+
try {
|
139
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(groupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
140
|
+
_c = _f.value;
|
141
|
+
_d = false;
|
142
|
+
const page = _c;
|
143
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
144
|
+
}
|
145
|
+
}
|
146
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
147
|
+
finally {
|
148
|
+
try {
|
149
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
150
|
+
}
|
151
|
+
finally { if (e_2) throw e_2.error; }
|
152
|
+
}
|
153
|
+
});
|
121
154
|
}
|
122
155
|
/**
|
123
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
124
|
-
* method returns a list of service resources in a subscription.
|
156
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
157
|
+
* (classic). This method returns a list of service resources in a subscription.
|
125
158
|
* @param options The options parameters.
|
126
159
|
*/
|
127
160
|
list(options) {
|
@@ -134,44 +167,61 @@ class ServicesImpl {
|
|
134
167
|
return this;
|
135
168
|
},
|
136
169
|
byPage: (settings) => {
|
137
|
-
if (settings
|
170
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
138
171
|
throw new Error("maxPageSize is not supported by this operation.");
|
139
172
|
}
|
140
173
|
return this.listPagingPage(options, settings);
|
141
|
-
}
|
174
|
+
},
|
142
175
|
};
|
143
176
|
}
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
177
|
+
listPagingPage(options, settings) {
|
178
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
179
|
+
let result;
|
180
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
181
|
+
if (!continuationToken) {
|
182
|
+
result = yield tslib_1.__await(this._list(options));
|
183
|
+
let page = result.value || [];
|
184
|
+
continuationToken = result.nextLink;
|
185
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
186
|
+
yield yield tslib_1.__await(page);
|
187
|
+
}
|
188
|
+
while (continuationToken) {
|
189
|
+
result = yield tslib_1.__await(this._listNext(continuationToken, options));
|
190
|
+
continuationToken = result.nextLink;
|
191
|
+
let page = result.value || [];
|
192
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
193
|
+
yield yield tslib_1.__await(page);
|
194
|
+
}
|
195
|
+
});
|
161
196
|
}
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
197
|
+
listPagingAll(options) {
|
198
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
199
|
+
var _a, e_3, _b, _c;
|
200
|
+
try {
|
201
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
202
|
+
_c = _f.value;
|
203
|
+
_d = false;
|
204
|
+
const page = _c;
|
205
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
206
|
+
}
|
207
|
+
}
|
208
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
209
|
+
finally {
|
210
|
+
try {
|
211
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
212
|
+
}
|
213
|
+
finally { if (e_3) throw e_3.error; }
|
214
|
+
}
|
215
|
+
});
|
166
216
|
}
|
167
217
|
/**
|
168
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
169
|
-
* PUT method creates a new service or updates an existing one. When a service is
|
170
|
-
* child resources (i.e. tasks) are unaffected. Services currently support a single
|
171
|
-
* refers to a VM-based service, although other kinds may be added in the future.
|
172
|
-
* change the kind, SKU, and network of the service, but if tasks are currently running
|
173
|
-
* service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
174
|
-
* when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
218
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
219
|
+
* (classic). The PUT method creates a new service or updates an existing one. When a service is
|
220
|
+
* updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
|
221
|
+
* kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
|
222
|
+
* This method can change the kind, SKU, and network of the service, but if tasks are currently running
|
223
|
+
* (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
224
|
+
* reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
175
225
|
* property.
|
176
226
|
* @param groupName Name of the resource group
|
177
227
|
* @param serviceName Name of the service
|
@@ -182,46 +232,45 @@ class ServicesImpl {
|
|
182
232
|
const directSendOperation = async (args, spec) => {
|
183
233
|
return this.client.sendOperationRequest(args, spec);
|
184
234
|
};
|
185
|
-
const
|
235
|
+
const sendOperationFn = async (args, spec) => {
|
236
|
+
var _a;
|
186
237
|
let currentRawResponse = undefined;
|
187
|
-
const providedCallback = args.options
|
238
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
188
239
|
const callback = (rawResponse, flatResponse) => {
|
189
240
|
currentRawResponse = rawResponse;
|
190
|
-
providedCallback
|
191
|
-
};
|
192
|
-
const updatedArgs = {
|
193
|
-
...args,
|
194
|
-
options: {
|
195
|
-
...args.options,
|
196
|
-
onResponse: callback
|
197
|
-
}
|
241
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
198
242
|
};
|
243
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
199
244
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
200
245
|
return {
|
201
246
|
flatResponse,
|
202
247
|
rawResponse: {
|
203
248
|
statusCode: currentRawResponse.status,
|
204
249
|
body: currentRawResponse.parsedBody,
|
205
|
-
headers: currentRawResponse.headers.toJSON()
|
206
|
-
}
|
250
|
+
headers: currentRawResponse.headers.toJSON(),
|
251
|
+
},
|
207
252
|
};
|
208
253
|
};
|
209
|
-
const lro =
|
210
|
-
|
211
|
-
|
212
|
-
|
254
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
255
|
+
sendOperationFn,
|
256
|
+
args: { groupName, serviceName, parameters, options },
|
257
|
+
spec: createOrUpdateOperationSpec,
|
258
|
+
});
|
259
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
260
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
261
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
213
262
|
});
|
214
263
|
await poller.poll();
|
215
264
|
return poller;
|
216
265
|
}
|
217
266
|
/**
|
218
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
219
|
-
* PUT method creates a new service or updates an existing one. When a service is
|
220
|
-
* child resources (i.e. tasks) are unaffected. Services currently support a single
|
221
|
-
* refers to a VM-based service, although other kinds may be added in the future.
|
222
|
-
* change the kind, SKU, and network of the service, but if tasks are currently running
|
223
|
-
* service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
224
|
-
* when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
267
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
268
|
+
* (classic). The PUT method creates a new service or updates an existing one. When a service is
|
269
|
+
* updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
|
270
|
+
* kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
|
271
|
+
* This method can change the kind, SKU, and network of the service, but if tasks are currently running
|
272
|
+
* (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
273
|
+
* reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
225
274
|
* property.
|
226
275
|
* @param groupName Name of the resource group
|
227
276
|
* @param serviceName Name of the service
|
@@ -233,8 +282,8 @@ class ServicesImpl {
|
|
233
282
|
return poller.pollUntilDone();
|
234
283
|
}
|
235
284
|
/**
|
236
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
237
|
-
* GET method retrieves information about a service instance.
|
285
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
286
|
+
* (classic). The GET method retrieves information about a service instance.
|
238
287
|
* @param groupName Name of the resource group
|
239
288
|
* @param serviceName Name of the service
|
240
289
|
* @param options The options parameters.
|
@@ -243,8 +292,8 @@ class ServicesImpl {
|
|
243
292
|
return this.client.sendOperationRequest({ groupName, serviceName, options }, getOperationSpec);
|
244
293
|
}
|
245
294
|
/**
|
246
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
247
|
-
* DELETE method deletes a service. Any running tasks will be canceled.
|
295
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
296
|
+
* (classic). The DELETE method deletes a service. Any running tasks will be canceled.
|
248
297
|
* @param groupName Name of the resource group
|
249
298
|
* @param serviceName Name of the service
|
250
299
|
* @param options The options parameters.
|
@@ -253,41 +302,40 @@ class ServicesImpl {
|
|
253
302
|
const directSendOperation = async (args, spec) => {
|
254
303
|
return this.client.sendOperationRequest(args, spec);
|
255
304
|
};
|
256
|
-
const
|
305
|
+
const sendOperationFn = async (args, spec) => {
|
306
|
+
var _a;
|
257
307
|
let currentRawResponse = undefined;
|
258
|
-
const providedCallback = args.options
|
308
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
259
309
|
const callback = (rawResponse, flatResponse) => {
|
260
310
|
currentRawResponse = rawResponse;
|
261
|
-
providedCallback
|
262
|
-
};
|
263
|
-
const updatedArgs = {
|
264
|
-
...args,
|
265
|
-
options: {
|
266
|
-
...args.options,
|
267
|
-
onResponse: callback
|
268
|
-
}
|
311
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
269
312
|
};
|
313
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
270
314
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
271
315
|
return {
|
272
316
|
flatResponse,
|
273
317
|
rawResponse: {
|
274
318
|
statusCode: currentRawResponse.status,
|
275
319
|
body: currentRawResponse.parsedBody,
|
276
|
-
headers: currentRawResponse.headers.toJSON()
|
277
|
-
}
|
320
|
+
headers: currentRawResponse.headers.toJSON(),
|
321
|
+
},
|
278
322
|
};
|
279
323
|
};
|
280
|
-
const lro =
|
281
|
-
|
282
|
-
|
283
|
-
|
324
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
325
|
+
sendOperationFn,
|
326
|
+
args: { groupName, serviceName, options },
|
327
|
+
spec: deleteOperationSpec,
|
328
|
+
});
|
329
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
330
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
331
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
284
332
|
});
|
285
333
|
await poller.poll();
|
286
334
|
return poller;
|
287
335
|
}
|
288
336
|
/**
|
289
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
290
|
-
* DELETE method deletes a service. Any running tasks will be canceled.
|
337
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
338
|
+
* (classic). The DELETE method deletes a service. Any running tasks will be canceled.
|
291
339
|
* @param groupName Name of the resource group
|
292
340
|
* @param serviceName Name of the service
|
293
341
|
* @param options The options parameters.
|
@@ -297,10 +345,10 @@ class ServicesImpl {
|
|
297
345
|
return poller.pollUntilDone();
|
298
346
|
}
|
299
347
|
/**
|
300
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
301
|
-
* PATCH method updates an existing service. This method can change the kind, SKU, and
|
302
|
-
* service, but if tasks are currently running (i.e. the service is busy), this will
|
303
|
-
* Request ("ServiceIsBusy").
|
348
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
349
|
+
* (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
|
350
|
+
* network of the service, but if tasks are currently running (i.e. the service is busy), this will
|
351
|
+
* fail with 400 Bad Request ("ServiceIsBusy").
|
304
352
|
* @param groupName Name of the resource group
|
305
353
|
* @param serviceName Name of the service
|
306
354
|
* @param parameters Information about the service
|
@@ -310,43 +358,42 @@ class ServicesImpl {
|
|
310
358
|
const directSendOperation = async (args, spec) => {
|
311
359
|
return this.client.sendOperationRequest(args, spec);
|
312
360
|
};
|
313
|
-
const
|
361
|
+
const sendOperationFn = async (args, spec) => {
|
362
|
+
var _a;
|
314
363
|
let currentRawResponse = undefined;
|
315
|
-
const providedCallback = args.options
|
364
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
316
365
|
const callback = (rawResponse, flatResponse) => {
|
317
366
|
currentRawResponse = rawResponse;
|
318
|
-
providedCallback
|
319
|
-
};
|
320
|
-
const updatedArgs = {
|
321
|
-
...args,
|
322
|
-
options: {
|
323
|
-
...args.options,
|
324
|
-
onResponse: callback
|
325
|
-
}
|
367
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
326
368
|
};
|
369
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
327
370
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
328
371
|
return {
|
329
372
|
flatResponse,
|
330
373
|
rawResponse: {
|
331
374
|
statusCode: currentRawResponse.status,
|
332
375
|
body: currentRawResponse.parsedBody,
|
333
|
-
headers: currentRawResponse.headers.toJSON()
|
334
|
-
}
|
376
|
+
headers: currentRawResponse.headers.toJSON(),
|
377
|
+
},
|
335
378
|
};
|
336
379
|
};
|
337
|
-
const lro =
|
338
|
-
|
339
|
-
|
340
|
-
|
380
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
381
|
+
sendOperationFn,
|
382
|
+
args: { groupName, serviceName, parameters, options },
|
383
|
+
spec: updateOperationSpec,
|
384
|
+
});
|
385
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
386
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
387
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
341
388
|
});
|
342
389
|
await poller.poll();
|
343
390
|
return poller;
|
344
391
|
}
|
345
392
|
/**
|
346
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
347
|
-
* PATCH method updates an existing service. This method can change the kind, SKU, and
|
348
|
-
* service, but if tasks are currently running (i.e. the service is busy), this will
|
349
|
-
* Request ("ServiceIsBusy").
|
393
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
394
|
+
* (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
|
395
|
+
* network of the service, but if tasks are currently running (i.e. the service is busy), this will
|
396
|
+
* fail with 400 Bad Request ("ServiceIsBusy").
|
350
397
|
* @param groupName Name of the resource group
|
351
398
|
* @param serviceName Name of the service
|
352
399
|
* @param parameters Information about the service
|
@@ -357,8 +404,9 @@ class ServicesImpl {
|
|
357
404
|
return poller.pollUntilDone();
|
358
405
|
}
|
359
406
|
/**
|
360
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
361
|
-
* action performs a health check and returns the status of the service and virtual
|
407
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
408
|
+
* (classic). This action performs a health check and returns the status of the service and virtual
|
409
|
+
* machine size.
|
362
410
|
* @param groupName Name of the resource group
|
363
411
|
* @param serviceName Name of the service
|
364
412
|
* @param options The options parameters.
|
@@ -367,8 +415,8 @@ class ServicesImpl {
|
|
367
415
|
return this.client.sendOperationRequest({ groupName, serviceName, options }, checkStatusOperationSpec);
|
368
416
|
}
|
369
417
|
/**
|
370
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
371
|
-
* action starts the service and the service can be used for data migration.
|
418
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
419
|
+
* (classic). This action starts the service and the service can be used for data migration.
|
372
420
|
* @param groupName Name of the resource group
|
373
421
|
* @param serviceName Name of the service
|
374
422
|
* @param options The options parameters.
|
@@ -377,41 +425,40 @@ class ServicesImpl {
|
|
377
425
|
const directSendOperation = async (args, spec) => {
|
378
426
|
return this.client.sendOperationRequest(args, spec);
|
379
427
|
};
|
380
|
-
const
|
428
|
+
const sendOperationFn = async (args, spec) => {
|
429
|
+
var _a;
|
381
430
|
let currentRawResponse = undefined;
|
382
|
-
const providedCallback = args.options
|
431
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
383
432
|
const callback = (rawResponse, flatResponse) => {
|
384
433
|
currentRawResponse = rawResponse;
|
385
|
-
providedCallback
|
386
|
-
};
|
387
|
-
const updatedArgs = {
|
388
|
-
...args,
|
389
|
-
options: {
|
390
|
-
...args.options,
|
391
|
-
onResponse: callback
|
392
|
-
}
|
434
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
393
435
|
};
|
436
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
394
437
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
395
438
|
return {
|
396
439
|
flatResponse,
|
397
440
|
rawResponse: {
|
398
441
|
statusCode: currentRawResponse.status,
|
399
442
|
body: currentRawResponse.parsedBody,
|
400
|
-
headers: currentRawResponse.headers.toJSON()
|
401
|
-
}
|
443
|
+
headers: currentRawResponse.headers.toJSON(),
|
444
|
+
},
|
402
445
|
};
|
403
446
|
};
|
404
|
-
const lro =
|
405
|
-
|
406
|
-
|
407
|
-
|
447
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
448
|
+
sendOperationFn,
|
449
|
+
args: { groupName, serviceName, options },
|
450
|
+
spec: startOperationSpec,
|
451
|
+
});
|
452
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
453
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
454
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
408
455
|
});
|
409
456
|
await poller.poll();
|
410
457
|
return poller;
|
411
458
|
}
|
412
459
|
/**
|
413
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
414
|
-
* action starts the service and the service can be used for data migration.
|
460
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
461
|
+
* (classic). This action starts the service and the service can be used for data migration.
|
415
462
|
* @param groupName Name of the resource group
|
416
463
|
* @param serviceName Name of the service
|
417
464
|
* @param options The options parameters.
|
@@ -421,9 +468,9 @@ class ServicesImpl {
|
|
421
468
|
return poller.pollUntilDone();
|
422
469
|
}
|
423
470
|
/**
|
424
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
425
|
-
* action stops the service and the service cannot be used for data migration. The
|
426
|
-
* be billed when the service is stopped.
|
471
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
472
|
+
* (classic). This action stops the service and the service cannot be used for data migration. The
|
473
|
+
* service owner won't be billed when the service is stopped.
|
427
474
|
* @param groupName Name of the resource group
|
428
475
|
* @param serviceName Name of the service
|
429
476
|
* @param options The options parameters.
|
@@ -432,42 +479,41 @@ class ServicesImpl {
|
|
432
479
|
const directSendOperation = async (args, spec) => {
|
433
480
|
return this.client.sendOperationRequest(args, spec);
|
434
481
|
};
|
435
|
-
const
|
482
|
+
const sendOperationFn = async (args, spec) => {
|
483
|
+
var _a;
|
436
484
|
let currentRawResponse = undefined;
|
437
|
-
const providedCallback = args.options
|
485
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
438
486
|
const callback = (rawResponse, flatResponse) => {
|
439
487
|
currentRawResponse = rawResponse;
|
440
|
-
providedCallback
|
441
|
-
};
|
442
|
-
const updatedArgs = {
|
443
|
-
...args,
|
444
|
-
options: {
|
445
|
-
...args.options,
|
446
|
-
onResponse: callback
|
447
|
-
}
|
488
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
448
489
|
};
|
490
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
449
491
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
450
492
|
return {
|
451
493
|
flatResponse,
|
452
494
|
rawResponse: {
|
453
495
|
statusCode: currentRawResponse.status,
|
454
496
|
body: currentRawResponse.parsedBody,
|
455
|
-
headers: currentRawResponse.headers.toJSON()
|
456
|
-
}
|
497
|
+
headers: currentRawResponse.headers.toJSON(),
|
498
|
+
},
|
457
499
|
};
|
458
500
|
};
|
459
|
-
const lro =
|
460
|
-
|
461
|
-
|
462
|
-
|
501
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
502
|
+
sendOperationFn,
|
503
|
+
args: { groupName, serviceName, options },
|
504
|
+
spec: stopOperationSpec,
|
505
|
+
});
|
506
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
507
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
508
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
463
509
|
});
|
464
510
|
await poller.poll();
|
465
511
|
return poller;
|
466
512
|
}
|
467
513
|
/**
|
468
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
469
|
-
* action stops the service and the service cannot be used for data migration. The
|
470
|
-
* be billed when the service is stopped.
|
514
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
515
|
+
* (classic). This action stops the service and the service cannot be used for data migration. The
|
516
|
+
* service owner won't be billed when the service is stopped.
|
471
517
|
* @param groupName Name of the resource group
|
472
518
|
* @param serviceName Name of the service
|
473
519
|
* @param options The options parameters.
|
@@ -477,8 +523,8 @@ class ServicesImpl {
|
|
477
523
|
return poller.pollUntilDone();
|
478
524
|
}
|
479
525
|
/**
|
480
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
481
|
-
* skus action returns the list of SKUs that a service resource can be updated to.
|
526
|
+
* The services resource is the top-level resource that represents the Database Migration Service
|
527
|
+
* (classic). The skus action returns the list of SKUs that a service resource can be updated to.
|
482
528
|
* @param groupName Name of the resource group
|
483
529
|
* @param serviceName Name of the service
|
484
530
|
* @param options The options parameters.
|
@@ -497,8 +543,8 @@ class ServicesImpl {
|
|
497
543
|
return this.client.sendOperationRequest({ groupName, serviceName, parameters, options }, checkChildrenNameAvailabilityOperationSpec);
|
498
544
|
}
|
499
545
|
/**
|
500
|
-
* The Services resource is the top-level resource that represents the Database Migration Service
|
501
|
-
* method returns a list of service resources in a resource group.
|
546
|
+
* The Services resource is the top-level resource that represents the Azure Database Migration Service
|
547
|
+
* (classic). This method returns a list of service resources in a resource group.
|
502
548
|
* @param groupName Name of the resource group
|
503
549
|
* @param options The options parameters.
|
504
550
|
*/
|
@@ -506,8 +552,8 @@ class ServicesImpl {
|
|
506
552
|
return this.client.sendOperationRequest({ groupName, options }, listByResourceGroupOperationSpec);
|
507
553
|
}
|
508
554
|
/**
|
509
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
510
|
-
* method returns a list of service resources in a subscription.
|
555
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
556
|
+
* (classic). This method returns a list of service resources in a subscription.
|
511
557
|
* @param options The options parameters.
|
512
558
|
*/
|
513
559
|
_list(options) {
|
@@ -558,53 +604,53 @@ const createOrUpdateOperationSpec = {
|
|
558
604
|
httpMethod: "PUT",
|
559
605
|
responses: {
|
560
606
|
200: {
|
561
|
-
bodyMapper: Mappers.DataMigrationService
|
607
|
+
bodyMapper: Mappers.DataMigrationService,
|
562
608
|
},
|
563
609
|
201: {
|
564
|
-
bodyMapper: Mappers.DataMigrationService
|
610
|
+
bodyMapper: Mappers.DataMigrationService,
|
565
611
|
},
|
566
612
|
202: {
|
567
|
-
bodyMapper: Mappers.DataMigrationService
|
613
|
+
bodyMapper: Mappers.DataMigrationService,
|
568
614
|
},
|
569
615
|
204: {
|
570
|
-
bodyMapper: Mappers.DataMigrationService
|
616
|
+
bodyMapper: Mappers.DataMigrationService,
|
571
617
|
},
|
572
618
|
default: {
|
573
|
-
bodyMapper: Mappers.ApiError
|
574
|
-
}
|
619
|
+
bodyMapper: Mappers.ApiError,
|
620
|
+
},
|
575
621
|
},
|
576
|
-
requestBody: Parameters.
|
622
|
+
requestBody: Parameters.parameters11,
|
577
623
|
queryParameters: [Parameters.apiVersion],
|
578
624
|
urlParameters: [
|
579
625
|
Parameters.$host,
|
580
626
|
Parameters.subscriptionId,
|
581
627
|
Parameters.groupName,
|
582
|
-
Parameters.serviceName
|
628
|
+
Parameters.serviceName,
|
583
629
|
],
|
584
630
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
585
631
|
mediaType: "json",
|
586
|
-
serializer
|
632
|
+
serializer,
|
587
633
|
};
|
588
634
|
const getOperationSpec = {
|
589
635
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
590
636
|
httpMethod: "GET",
|
591
637
|
responses: {
|
592
638
|
200: {
|
593
|
-
bodyMapper: Mappers.DataMigrationService
|
639
|
+
bodyMapper: Mappers.DataMigrationService,
|
594
640
|
},
|
595
641
|
default: {
|
596
|
-
bodyMapper: Mappers.ApiError
|
597
|
-
}
|
642
|
+
bodyMapper: Mappers.ApiError,
|
643
|
+
},
|
598
644
|
},
|
599
645
|
queryParameters: [Parameters.apiVersion],
|
600
646
|
urlParameters: [
|
601
647
|
Parameters.$host,
|
602
648
|
Parameters.subscriptionId,
|
603
649
|
Parameters.groupName,
|
604
|
-
Parameters.serviceName
|
650
|
+
Parameters.serviceName,
|
605
651
|
],
|
606
652
|
headerParameters: [Parameters.accept],
|
607
|
-
serializer
|
653
|
+
serializer,
|
608
654
|
};
|
609
655
|
const deleteOperationSpec = {
|
610
656
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
@@ -615,71 +661,71 @@ const deleteOperationSpec = {
|
|
615
661
|
202: {},
|
616
662
|
204: {},
|
617
663
|
default: {
|
618
|
-
bodyMapper: Mappers.ApiError
|
619
|
-
}
|
664
|
+
bodyMapper: Mappers.ApiError,
|
665
|
+
},
|
620
666
|
},
|
621
667
|
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
622
668
|
urlParameters: [
|
623
669
|
Parameters.$host,
|
624
670
|
Parameters.subscriptionId,
|
625
671
|
Parameters.groupName,
|
626
|
-
Parameters.serviceName
|
672
|
+
Parameters.serviceName,
|
627
673
|
],
|
628
674
|
headerParameters: [Parameters.accept],
|
629
|
-
serializer
|
675
|
+
serializer,
|
630
676
|
};
|
631
677
|
const updateOperationSpec = {
|
632
678
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
633
679
|
httpMethod: "PATCH",
|
634
680
|
responses: {
|
635
681
|
200: {
|
636
|
-
bodyMapper: Mappers.DataMigrationService
|
682
|
+
bodyMapper: Mappers.DataMigrationService,
|
637
683
|
},
|
638
684
|
201: {
|
639
|
-
bodyMapper: Mappers.DataMigrationService
|
685
|
+
bodyMapper: Mappers.DataMigrationService,
|
640
686
|
},
|
641
687
|
202: {
|
642
|
-
bodyMapper: Mappers.DataMigrationService
|
688
|
+
bodyMapper: Mappers.DataMigrationService,
|
643
689
|
},
|
644
690
|
204: {
|
645
|
-
bodyMapper: Mappers.DataMigrationService
|
691
|
+
bodyMapper: Mappers.DataMigrationService,
|
646
692
|
},
|
647
693
|
default: {
|
648
|
-
bodyMapper: Mappers.ApiError
|
649
|
-
}
|
694
|
+
bodyMapper: Mappers.ApiError,
|
695
|
+
},
|
650
696
|
},
|
651
|
-
requestBody: Parameters.
|
697
|
+
requestBody: Parameters.parameters11,
|
652
698
|
queryParameters: [Parameters.apiVersion],
|
653
699
|
urlParameters: [
|
654
700
|
Parameters.$host,
|
655
701
|
Parameters.subscriptionId,
|
656
702
|
Parameters.groupName,
|
657
|
-
Parameters.serviceName
|
703
|
+
Parameters.serviceName,
|
658
704
|
],
|
659
705
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
660
706
|
mediaType: "json",
|
661
|
-
serializer
|
707
|
+
serializer,
|
662
708
|
};
|
663
709
|
const checkStatusOperationSpec = {
|
664
710
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",
|
665
711
|
httpMethod: "POST",
|
666
712
|
responses: {
|
667
713
|
200: {
|
668
|
-
bodyMapper: Mappers.DataMigrationServiceStatusResponse
|
714
|
+
bodyMapper: Mappers.DataMigrationServiceStatusResponse,
|
669
715
|
},
|
670
716
|
default: {
|
671
|
-
bodyMapper: Mappers.ApiError
|
672
|
-
}
|
717
|
+
bodyMapper: Mappers.ApiError,
|
718
|
+
},
|
673
719
|
},
|
674
720
|
queryParameters: [Parameters.apiVersion],
|
675
721
|
urlParameters: [
|
676
722
|
Parameters.$host,
|
677
723
|
Parameters.subscriptionId,
|
678
724
|
Parameters.groupName,
|
679
|
-
Parameters.serviceName
|
725
|
+
Parameters.serviceName,
|
680
726
|
],
|
681
727
|
headerParameters: [Parameters.accept],
|
682
|
-
serializer
|
728
|
+
serializer,
|
683
729
|
};
|
684
730
|
const startOperationSpec = {
|
685
731
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",
|
@@ -690,18 +736,18 @@ const startOperationSpec = {
|
|
690
736
|
202: {},
|
691
737
|
204: {},
|
692
738
|
default: {
|
693
|
-
bodyMapper: Mappers.ApiError
|
694
|
-
}
|
739
|
+
bodyMapper: Mappers.ApiError,
|
740
|
+
},
|
695
741
|
},
|
696
742
|
queryParameters: [Parameters.apiVersion],
|
697
743
|
urlParameters: [
|
698
744
|
Parameters.$host,
|
699
745
|
Parameters.subscriptionId,
|
700
746
|
Parameters.groupName,
|
701
|
-
Parameters.serviceName
|
747
|
+
Parameters.serviceName,
|
702
748
|
],
|
703
749
|
headerParameters: [Parameters.accept],
|
704
|
-
serializer
|
750
|
+
serializer,
|
705
751
|
};
|
706
752
|
const stopOperationSpec = {
|
707
753
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",
|
@@ -712,182 +758,179 @@ const stopOperationSpec = {
|
|
712
758
|
202: {},
|
713
759
|
204: {},
|
714
760
|
default: {
|
715
|
-
bodyMapper: Mappers.ApiError
|
716
|
-
}
|
761
|
+
bodyMapper: Mappers.ApiError,
|
762
|
+
},
|
717
763
|
},
|
718
764
|
queryParameters: [Parameters.apiVersion],
|
719
765
|
urlParameters: [
|
720
766
|
Parameters.$host,
|
721
767
|
Parameters.subscriptionId,
|
722
768
|
Parameters.groupName,
|
723
|
-
Parameters.serviceName
|
769
|
+
Parameters.serviceName,
|
724
770
|
],
|
725
771
|
headerParameters: [Parameters.accept],
|
726
|
-
serializer
|
772
|
+
serializer,
|
727
773
|
};
|
728
774
|
const listSkusOperationSpec = {
|
729
775
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",
|
730
776
|
httpMethod: "GET",
|
731
777
|
responses: {
|
732
778
|
200: {
|
733
|
-
bodyMapper: Mappers.ServiceSkuList
|
779
|
+
bodyMapper: Mappers.ServiceSkuList,
|
734
780
|
},
|
735
781
|
default: {
|
736
|
-
bodyMapper: Mappers.ApiError
|
737
|
-
}
|
782
|
+
bodyMapper: Mappers.ApiError,
|
783
|
+
},
|
738
784
|
},
|
739
785
|
queryParameters: [Parameters.apiVersion],
|
740
786
|
urlParameters: [
|
741
787
|
Parameters.$host,
|
742
788
|
Parameters.subscriptionId,
|
743
789
|
Parameters.groupName,
|
744
|
-
Parameters.serviceName
|
790
|
+
Parameters.serviceName,
|
745
791
|
],
|
746
792
|
headerParameters: [Parameters.accept],
|
747
|
-
serializer
|
793
|
+
serializer,
|
748
794
|
};
|
749
795
|
const checkChildrenNameAvailabilityOperationSpec = {
|
750
796
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",
|
751
797
|
httpMethod: "POST",
|
752
798
|
responses: {
|
753
799
|
200: {
|
754
|
-
bodyMapper: Mappers.NameAvailabilityResponse
|
800
|
+
bodyMapper: Mappers.NameAvailabilityResponse,
|
755
801
|
},
|
756
802
|
default: {
|
757
|
-
bodyMapper: Mappers.ApiError
|
758
|
-
}
|
803
|
+
bodyMapper: Mappers.ApiError,
|
804
|
+
},
|
759
805
|
},
|
760
|
-
requestBody: Parameters.
|
806
|
+
requestBody: Parameters.parameters12,
|
761
807
|
queryParameters: [Parameters.apiVersion],
|
762
808
|
urlParameters: [
|
763
809
|
Parameters.$host,
|
764
810
|
Parameters.subscriptionId,
|
765
811
|
Parameters.groupName,
|
766
|
-
Parameters.serviceName
|
812
|
+
Parameters.serviceName,
|
767
813
|
],
|
768
814
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
769
815
|
mediaType: "json",
|
770
|
-
serializer
|
816
|
+
serializer,
|
771
817
|
};
|
772
818
|
const listByResourceGroupOperationSpec = {
|
773
819
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",
|
774
820
|
httpMethod: "GET",
|
775
821
|
responses: {
|
776
822
|
200: {
|
777
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
823
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
778
824
|
},
|
779
825
|
default: {
|
780
|
-
bodyMapper: Mappers.ApiError
|
781
|
-
}
|
826
|
+
bodyMapper: Mappers.ApiError,
|
827
|
+
},
|
782
828
|
},
|
783
829
|
queryParameters: [Parameters.apiVersion],
|
784
830
|
urlParameters: [
|
785
831
|
Parameters.$host,
|
786
832
|
Parameters.subscriptionId,
|
787
|
-
Parameters.groupName
|
833
|
+
Parameters.groupName,
|
788
834
|
],
|
789
835
|
headerParameters: [Parameters.accept],
|
790
|
-
serializer
|
836
|
+
serializer,
|
791
837
|
};
|
792
838
|
const listOperationSpec = {
|
793
839
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",
|
794
840
|
httpMethod: "GET",
|
795
841
|
responses: {
|
796
842
|
200: {
|
797
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
843
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
798
844
|
},
|
799
845
|
default: {
|
800
|
-
bodyMapper: Mappers.ApiError
|
801
|
-
}
|
846
|
+
bodyMapper: Mappers.ApiError,
|
847
|
+
},
|
802
848
|
},
|
803
849
|
queryParameters: [Parameters.apiVersion],
|
804
850
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
805
851
|
headerParameters: [Parameters.accept],
|
806
|
-
serializer
|
852
|
+
serializer,
|
807
853
|
};
|
808
854
|
const checkNameAvailabilityOperationSpec = {
|
809
855
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",
|
810
856
|
httpMethod: "POST",
|
811
857
|
responses: {
|
812
858
|
200: {
|
813
|
-
bodyMapper: Mappers.NameAvailabilityResponse
|
859
|
+
bodyMapper: Mappers.NameAvailabilityResponse,
|
814
860
|
},
|
815
861
|
default: {
|
816
|
-
bodyMapper: Mappers.ApiError
|
817
|
-
}
|
862
|
+
bodyMapper: Mappers.ApiError,
|
863
|
+
},
|
818
864
|
},
|
819
|
-
requestBody: Parameters.
|
865
|
+
requestBody: Parameters.parameters12,
|
820
866
|
queryParameters: [Parameters.apiVersion],
|
821
867
|
urlParameters: [
|
822
868
|
Parameters.$host,
|
823
869
|
Parameters.subscriptionId,
|
824
|
-
Parameters.location
|
870
|
+
Parameters.location,
|
825
871
|
],
|
826
872
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
827
873
|
mediaType: "json",
|
828
|
-
serializer
|
874
|
+
serializer,
|
829
875
|
};
|
830
876
|
const listSkusNextOperationSpec = {
|
831
877
|
path: "{nextLink}",
|
832
878
|
httpMethod: "GET",
|
833
879
|
responses: {
|
834
880
|
200: {
|
835
|
-
bodyMapper: Mappers.ServiceSkuList
|
881
|
+
bodyMapper: Mappers.ServiceSkuList,
|
836
882
|
},
|
837
883
|
default: {
|
838
|
-
bodyMapper: Mappers.ApiError
|
839
|
-
}
|
884
|
+
bodyMapper: Mappers.ApiError,
|
885
|
+
},
|
840
886
|
},
|
841
|
-
queryParameters: [Parameters.apiVersion],
|
842
887
|
urlParameters: [
|
843
888
|
Parameters.$host,
|
844
889
|
Parameters.subscriptionId,
|
845
890
|
Parameters.nextLink,
|
846
891
|
Parameters.groupName,
|
847
|
-
Parameters.serviceName
|
892
|
+
Parameters.serviceName,
|
848
893
|
],
|
849
894
|
headerParameters: [Parameters.accept],
|
850
|
-
serializer
|
895
|
+
serializer,
|
851
896
|
};
|
852
897
|
const listByResourceGroupNextOperationSpec = {
|
853
898
|
path: "{nextLink}",
|
854
899
|
httpMethod: "GET",
|
855
900
|
responses: {
|
856
901
|
200: {
|
857
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
902
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
858
903
|
},
|
859
904
|
default: {
|
860
|
-
bodyMapper: Mappers.ApiError
|
861
|
-
}
|
905
|
+
bodyMapper: Mappers.ApiError,
|
906
|
+
},
|
862
907
|
},
|
863
|
-
queryParameters: [Parameters.apiVersion],
|
864
908
|
urlParameters: [
|
865
909
|
Parameters.$host,
|
866
910
|
Parameters.subscriptionId,
|
867
911
|
Parameters.nextLink,
|
868
|
-
Parameters.groupName
|
912
|
+
Parameters.groupName,
|
869
913
|
],
|
870
914
|
headerParameters: [Parameters.accept],
|
871
|
-
serializer
|
915
|
+
serializer,
|
872
916
|
};
|
873
917
|
const listNextOperationSpec = {
|
874
918
|
path: "{nextLink}",
|
875
919
|
httpMethod: "GET",
|
876
920
|
responses: {
|
877
921
|
200: {
|
878
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
922
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
879
923
|
},
|
880
924
|
default: {
|
881
|
-
bodyMapper: Mappers.ApiError
|
882
|
-
}
|
925
|
+
bodyMapper: Mappers.ApiError,
|
926
|
+
},
|
883
927
|
},
|
884
|
-
queryParameters: [Parameters.apiVersion],
|
885
928
|
urlParameters: [
|
886
929
|
Parameters.$host,
|
887
930
|
Parameters.subscriptionId,
|
888
|
-
Parameters.nextLink
|
931
|
+
Parameters.nextLink,
|
889
932
|
],
|
890
933
|
headerParameters: [Parameters.accept],
|
891
|
-
serializer
|
934
|
+
serializer,
|
892
935
|
};
|
893
936
|
//# sourceMappingURL=services.js.map
|