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