@azure/arm-datamigration 3.0.0-alpha.20250721.1 → 3.0.0-alpha.20250723.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +0 -3
- package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
- package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/browser/dataMigrationManagementClient.js +19 -32
- package/dist/browser/dataMigrationManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +6 -11
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +12 -24
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +968 -216
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +52 -8
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +47 -14
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +5531 -5222
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +21 -12
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +184 -110
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.js +303 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlMi.js +95 -99
- package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.js +95 -99
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.js +83 -67
- package/dist/browser/operations/files.js.map +1 -1
- package/dist/browser/operations/index.d.ts +4 -0
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -0
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/migrationServices.d.ts +144 -0
- package/dist/browser/operations/migrationServices.d.ts.map +1 -0
- package/dist/browser/operations/migrationServices.js +676 -0
- package/dist/browser/operations/migrationServices.js.map +1 -0
- package/dist/browser/operations/operations.js +47 -31
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.js +73 -57
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts +2 -2
- package/dist/browser/operations/resourceSkus.js +52 -36
- package/dist/browser/operations/resourceSkus.js.map +1 -1
- package/dist/browser/operations/serviceTasks.d.ts +16 -13
- package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operations/serviceTasks.js +95 -76
- package/dist/browser/operations/serviceTasks.js.map +1 -1
- package/dist/browser/operations/services.d.ts +59 -58
- package/dist/browser/operations/services.d.ts.map +1 -1
- package/dist/browser/operations/services.js +332 -288
- package/dist/browser/operations/services.js.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.js +240 -194
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +20 -20
- package/dist/browser/operations/tasks.js +105 -89
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.js +55 -39
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operationsInterfaces/files.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/migrationServices.js +9 -0
- package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/projects.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts +53 -52
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/services.js.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts +4 -4
- package/dist/browser/pagingHelper.js +8 -6
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.js +18 -31
- package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +6 -11
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +13 -26
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +968 -216
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +54 -10
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +47 -14
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +5538 -5229
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +21 -12
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +184 -110
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +374 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +374 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js +308 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js +93 -97
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js +93 -97
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.js +82 -67
- package/dist/commonjs/operations/files.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -0
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/migrationServices.d.ts +144 -0
- package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
- package/dist/commonjs/operations/migrationServices.js +680 -0
- package/dist/commonjs/operations/migrationServices.js.map +1 -0
- package/dist/commonjs/operations/operations.js +46 -31
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.js +72 -57
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
- package/dist/commonjs/operations/resourceSkus.js +51 -36
- package/dist/commonjs/operations/resourceSkus.js.map +1 -1
- package/dist/commonjs/operations/serviceTasks.d.ts +16 -13
- package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operations/serviceTasks.js +94 -76
- package/dist/commonjs/operations/serviceTasks.js.map +1 -1
- package/dist/commonjs/operations/services.d.ts +59 -58
- package/dist/commonjs/operations/services.d.ts.map +1 -1
- package/dist/commonjs/operations/services.js +329 -286
- package/dist/commonjs/operations/services.js.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.js +237 -192
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +20 -20
- package/dist/commonjs/operations/tasks.js +104 -89
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.js +54 -39
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.d.ts +53 -52
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts +4 -4
- package/dist/commonjs/pagingHelper.js +8 -6
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
- package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/esm/dataMigrationManagementClient.js +19 -32
- package/dist/esm/dataMigrationManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +6 -11
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +12 -24
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +968 -216
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +52 -8
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +47 -14
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +5531 -5222
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +21 -12
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +184 -110
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.js +303 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlMi.js +95 -99
- package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.js +95 -99
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.js +83 -67
- package/dist/esm/operations/files.js.map +1 -1
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -0
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/migrationServices.d.ts +144 -0
- package/dist/esm/operations/migrationServices.d.ts.map +1 -0
- package/dist/esm/operations/migrationServices.js +676 -0
- package/dist/esm/operations/migrationServices.js.map +1 -0
- package/dist/esm/operations/operations.js +47 -31
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.js +73 -57
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts +2 -2
- package/dist/esm/operations/resourceSkus.js +52 -36
- package/dist/esm/operations/resourceSkus.js.map +1 -1
- package/dist/esm/operations/serviceTasks.d.ts +16 -13
- package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operations/serviceTasks.js +95 -76
- package/dist/esm/operations/serviceTasks.js.map +1 -1
- package/dist/esm/operations/services.d.ts +59 -58
- package/dist/esm/operations/services.d.ts.map +1 -1
- package/dist/esm/operations/services.js +332 -288
- package/dist/esm/operations/services.js.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.js +240 -194
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +20 -20
- package/dist/esm/operations/tasks.js +105 -89
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.js +55 -39
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operationsInterfaces/files.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
- package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/projects.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/services.d.ts +53 -52
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/services.js.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts +4 -4
- package/dist/esm/pagingHelper.js +8 -6
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.js +19 -32
- package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +6 -11
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +12 -24
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +968 -216
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +52 -8
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +47 -14
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +5531 -5222
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +21 -12
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +184 -110
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.js +303 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlMi.js +95 -99
- package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.js +95 -99
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.js +83 -67
- package/dist/react-native/operations/files.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -0
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/migrationServices.d.ts +144 -0
- package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
- package/dist/react-native/operations/migrationServices.js +676 -0
- package/dist/react-native/operations/migrationServices.js.map +1 -0
- package/dist/react-native/operations/operations.js +47 -31
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.js +73 -57
- package/dist/react-native/operations/projects.js.map +1 -1
- package/dist/react-native/operations/resourceSkus.d.ts +2 -2
- package/dist/react-native/operations/resourceSkus.js +52 -36
- package/dist/react-native/operations/resourceSkus.js.map +1 -1
- package/dist/react-native/operations/serviceTasks.d.ts +16 -13
- package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operations/serviceTasks.js +95 -76
- package/dist/react-native/operations/serviceTasks.js.map +1 -1
- package/dist/react-native/operations/services.d.ts +59 -58
- package/dist/react-native/operations/services.d.ts.map +1 -1
- package/dist/react-native/operations/services.js +332 -288
- package/dist/react-native/operations/services.js.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.js +240 -194
- package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +20 -20
- package/dist/react-native/operations/tasks.js +105 -89
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operations/usages.d.ts +4 -4
- package/dist/react-native/operations/usages.js +55 -39
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operationsInterfaces/files.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
- package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/services.js.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts +4 -4
- package/dist/react-native/pagingHelper.js +8 -6
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +26 -27
- package/CHANGELOG.md +0 -21
- package/review/arm-datamigration-node.api.md +0 -4103
@@ -16,7 +16,6 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
17
17
|
/** Class containing ResourceSkus operations. */
|
18
18
|
class ResourceSkusImpl {
|
19
|
-
client;
|
20
19
|
/**
|
21
20
|
* Initialize a new instance of the class ResourceSkus class.
|
22
21
|
* @param client Reference to the service client
|
@@ -25,7 +24,7 @@ class ResourceSkusImpl {
|
|
25
24
|
this.client = client;
|
26
25
|
}
|
27
26
|
/**
|
28
|
-
* The skus action returns the list of SKUs that DMS supports.
|
27
|
+
* The skus action returns the list of SKUs that DMS (classic) supports.
|
29
28
|
* @param options The options parameters.
|
30
29
|
*/
|
31
30
|
listSkus(options) {
|
@@ -38,38 +37,55 @@ class ResourceSkusImpl {
|
|
38
37
|
return this;
|
39
38
|
},
|
40
39
|
byPage: (settings) => {
|
41
|
-
if (settings
|
40
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
42
41
|
throw new Error("maxPageSize is not supported by this operation.");
|
43
42
|
}
|
44
43
|
return this.listSkusPagingPage(options, settings);
|
45
|
-
}
|
44
|
+
},
|
46
45
|
};
|
47
46
|
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
47
|
+
listSkusPagingPage(options, settings) {
|
48
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
49
|
+
let result;
|
50
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
51
|
+
if (!continuationToken) {
|
52
|
+
result = yield tslib_1.__await(this._listSkus(options));
|
53
|
+
let page = result.value || [];
|
54
|
+
continuationToken = result.nextLink;
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
56
|
+
yield yield tslib_1.__await(page);
|
57
|
+
}
|
58
|
+
while (continuationToken) {
|
59
|
+
result = yield tslib_1.__await(this._listSkusNext(continuationToken, options));
|
60
|
+
continuationToken = result.nextLink;
|
61
|
+
let page = result.value || [];
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
63
|
+
yield yield tslib_1.__await(page);
|
64
|
+
}
|
65
|
+
});
|
65
66
|
}
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
listSkusPagingAll(options) {
|
68
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listSkusPagingAll_1() {
|
69
|
+
var _a, e_1, _b, _c;
|
70
|
+
try {
|
71
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listSkusPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
72
|
+
_c = _f.value;
|
73
|
+
_d = false;
|
74
|
+
const page = _c;
|
75
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
76
|
+
}
|
77
|
+
}
|
78
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
79
|
+
finally {
|
80
|
+
try {
|
81
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
82
|
+
}
|
83
|
+
finally { if (e_1) throw e_1.error; }
|
84
|
+
}
|
85
|
+
});
|
70
86
|
}
|
71
87
|
/**
|
72
|
-
* The skus action returns the list of SKUs that DMS supports.
|
88
|
+
* The skus action returns the list of SKUs that DMS (classic) supports.
|
73
89
|
* @param options The options parameters.
|
74
90
|
*/
|
75
91
|
_listSkus(options) {
|
@@ -92,35 +108,34 @@ const listSkusOperationSpec = {
|
|
92
108
|
httpMethod: "GET",
|
93
109
|
responses: {
|
94
110
|
200: {
|
95
|
-
bodyMapper: Mappers.ResourceSkusResult
|
111
|
+
bodyMapper: Mappers.ResourceSkusResult,
|
96
112
|
},
|
97
113
|
default: {
|
98
|
-
bodyMapper: Mappers.ApiError
|
99
|
-
}
|
114
|
+
bodyMapper: Mappers.ApiError,
|
115
|
+
},
|
100
116
|
},
|
101
117
|
queryParameters: [Parameters.apiVersion],
|
102
118
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
103
119
|
headerParameters: [Parameters.accept],
|
104
|
-
serializer
|
120
|
+
serializer,
|
105
121
|
};
|
106
122
|
const listSkusNextOperationSpec = {
|
107
123
|
path: "{nextLink}",
|
108
124
|
httpMethod: "GET",
|
109
125
|
responses: {
|
110
126
|
200: {
|
111
|
-
bodyMapper: Mappers.ResourceSkusResult
|
127
|
+
bodyMapper: Mappers.ResourceSkusResult,
|
112
128
|
},
|
113
129
|
default: {
|
114
|
-
bodyMapper: Mappers.ApiError
|
115
|
-
}
|
130
|
+
bodyMapper: Mappers.ApiError,
|
131
|
+
},
|
116
132
|
},
|
117
|
-
queryParameters: [Parameters.apiVersion],
|
118
133
|
urlParameters: [
|
119
134
|
Parameters.$host,
|
120
135
|
Parameters.subscriptionId,
|
121
|
-
Parameters.nextLink
|
136
|
+
Parameters.nextLink,
|
122
137
|
],
|
123
138
|
headerParameters: [Parameters.accept],
|
124
|
-
serializer
|
139
|
+
serializer,
|
125
140
|
};
|
126
141
|
//# sourceMappingURL=resourceSkus.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../../src/operations/resourceSkus.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;
|
1
|
+
{"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../../src/operations/resourceSkus.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAa,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,QAAQ,CACb,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC7C,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACpD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,kBAAkB,CAC/B,OAA4C,EAC5C,QAAuB;;YAEvB,IAAI,MAAoC,CAAC;YACzC,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,CAAC;YACpD,IAAI,CAAC,iBAAiB,EAAE,CAAC;gBACvB,MAAM,GAAG,sBAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA,CAAC;gBACvC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,4BAAM,IAAI,CAAA,CAAC;YACb,CAAC;YACD,OAAO,iBAAiB,EAAE,CAAC;gBACzB,MAAM,GAAG,sBAAM,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;gBAC9D,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,IAAI,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;gBAC9B,IAAA,sCAAoB,EAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,4BAAM,IAAI,CAAA,CAAC;YACb,CAAC;QACH,CAAC;KAAA;IAEc,iBAAiB,CAC9B,OAA4C;;;;gBAE5C,KAAyB,eAAA,KAAA,sBAAA,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAA,IAAA,uEAAE,CAAC;oBAAnC,cAAgC;oBAAhC,WAAgC;oBAA9C,MAAM,IAAI,KAAA,CAAA;oBACnB,sBAAA,KAAK,CAAC,CAAC,yBAAA,sBAAA,IAAI,CAAA,CAAA,CAAA,CAAC;gBACd,CAAC;;;;;;;;;QACH,CAAC;KAAA;IAED;;;OAGG;IACK,SAAS,CACf,OAA4C;QAE5C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,EAAE,OAAO,EAAE,EAAE,qBAAqB,CAAC,CAAC;IAC9E,CAAC;IAED;;;;OAIG;IACK,aAAa,CACnB,QAAgB,EAChB,OAAgD;QAEhD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,yBAAyB,CAC1B,CAAC;IACJ,CAAC;CACF;AAzFD,4CAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,wEAAwE;IAC9E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yBAAyB,GAA6B;IAC1D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ResourceSkus } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n ResourceSku,\n ResourceSkusListSkusNextOptionalParams,\n ResourceSkusListSkusOptionalParams,\n ResourceSkusListSkusResponse,\n ResourceSkusListSkusNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ResourceSkus operations. */\nexport class ResourceSkusImpl implements ResourceSkus {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class ResourceSkus class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * The skus action returns the list of SKUs that DMS (classic) supports.\n * @param options The options parameters.\n */\n public listSkus(\n options?: ResourceSkusListSkusOptionalParams,\n ): PagedAsyncIterableIterator<ResourceSku> {\n const iter = this.listSkusPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listSkusPagingPage(options, settings);\n },\n };\n }\n\n private async *listSkusPagingPage(\n options?: ResourceSkusListSkusOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ResourceSku[]> {\n let result: ResourceSkusListSkusResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listSkus(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listSkusNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listSkusPagingAll(\n options?: ResourceSkusListSkusOptionalParams,\n ): AsyncIterableIterator<ResourceSku> {\n for await (const page of this.listSkusPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The skus action returns the list of SKUs that DMS (classic) supports.\n * @param options The options parameters.\n */\n private _listSkus(\n options?: ResourceSkusListSkusOptionalParams,\n ): Promise<ResourceSkusListSkusResponse> {\n return this.client.sendOperationRequest({ options }, listSkusOperationSpec);\n }\n\n /**\n * ListSkusNext\n * @param nextLink The nextLink from the previous successful call to the ListSkus method.\n * @param options The options parameters.\n */\n private _listSkusNext(\n nextLink: string,\n options?: ResourceSkusListSkusNextOptionalParams,\n ): Promise<ResourceSkusListSkusNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listSkusNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listSkusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceSkusResult,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listSkusNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceSkusResult,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -11,9 +11,10 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
11
11
|
*/
|
12
12
|
constructor(client: DataMigrationManagementClient);
|
13
13
|
/**
|
14
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
15
|
-
* method returns a list of service level tasks owned by a service resource. Some tasks
|
16
|
-
* status of Unknown, which indicates that an error occurred while querying the status of
|
14
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
15
|
+
* (classic). This method returns a list of service level tasks owned by a service resource. Some tasks
|
16
|
+
* may have a status of Unknown, which indicates that an error occurred while querying the status of
|
17
|
+
* that task.
|
17
18
|
* @param groupName Name of the resource group
|
18
19
|
* @param serviceName Name of the service
|
19
20
|
* @param options The options parameters.
|
@@ -22,9 +23,10 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
22
23
|
private listPagingPage;
|
23
24
|
private listPagingAll;
|
24
25
|
/**
|
25
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
26
|
-
* method returns a list of service level tasks owned by a service resource. Some tasks
|
27
|
-
* status of Unknown, which indicates that an error occurred while querying the status of
|
26
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
27
|
+
* (classic). This method returns a list of service level tasks owned by a service resource. Some tasks
|
28
|
+
* may have a status of Unknown, which indicates that an error occurred while querying the status of
|
29
|
+
* that task.
|
28
30
|
* @param groupName Name of the resource group
|
29
31
|
* @param serviceName Name of the service
|
30
32
|
* @param options The options parameters.
|
@@ -32,8 +34,9 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
32
34
|
private _list;
|
33
35
|
/**
|
34
36
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
35
|
-
* instance. The PUT method creates a new service task or updates an existing one, although
|
36
|
-
* service tasks have no mutable custom properties, there is little reason to update an existing
|
37
|
+
* (classic) instance. The PUT method creates a new service task or updates an existing one, although
|
38
|
+
* since service tasks have no mutable custom properties, there is little reason to update an existing
|
39
|
+
* one.
|
37
40
|
* @param groupName Name of the resource group
|
38
41
|
* @param serviceName Name of the service
|
39
42
|
* @param taskName Name of the Task
|
@@ -43,7 +46,7 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
43
46
|
createOrUpdate(groupName: string, serviceName: string, taskName: string, parameters: ProjectTask, options?: ServiceTasksCreateOrUpdateOptionalParams): Promise<ServiceTasksCreateOrUpdateResponse>;
|
44
47
|
/**
|
45
48
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
46
|
-
* instance. The GET method retrieves information about a service task.
|
49
|
+
* (classic) instance. The GET method retrieves information about a service task.
|
47
50
|
* @param groupName Name of the resource group
|
48
51
|
* @param serviceName Name of the service
|
49
52
|
* @param taskName Name of the Task
|
@@ -52,7 +55,7 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
52
55
|
get(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksGetOptionalParams): Promise<ServiceTasksGetResponse>;
|
53
56
|
/**
|
54
57
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
55
|
-
* instance. The DELETE method deletes a service task, canceling it first if it's running.
|
58
|
+
* (classic) instance. The DELETE method deletes a service task, canceling it first if it's running.
|
56
59
|
* @param groupName Name of the resource group
|
57
60
|
* @param serviceName Name of the service
|
58
61
|
* @param taskName Name of the Task
|
@@ -61,8 +64,8 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
61
64
|
delete(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksDeleteOptionalParams): Promise<void>;
|
62
65
|
/**
|
63
66
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
64
|
-
* instance. The PATCH method updates an existing service task, but since service tasks have
|
65
|
-
* custom properties, there is little reason to do so.
|
67
|
+
* (classic) instance. The PATCH method updates an existing service task, but since service tasks have
|
68
|
+
* no mutable custom properties, there is little reason to do so.
|
66
69
|
* @param groupName Name of the resource group
|
67
70
|
* @param serviceName Name of the service
|
68
71
|
* @param taskName Name of the Task
|
@@ -72,7 +75,7 @@ export declare class ServiceTasksImpl implements ServiceTasks {
|
|
72
75
|
update(groupName: string, serviceName: string, taskName: string, parameters: ProjectTask, options?: ServiceTasksUpdateOptionalParams): Promise<ServiceTasksUpdateResponse>;
|
73
76
|
/**
|
74
77
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
75
|
-
* instance. This method cancels a service task if it's currently queued or running.
|
78
|
+
* (classic) instance. This method cancels a service task if it's currently queued or running.
|
76
79
|
* @param groupName Name of the resource group
|
77
80
|
* @param serviceName Name of the service
|
78
81
|
* @param taskName Name of the Task
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serviceTasks.d.ts","sourceRoot":"","sources":["../../../src/operations/serviceTasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,WAAW,EAEX,8BAA8B,EAE9B,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAE3B,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD
|
1
|
+
{"version":3,"file":"serviceTasks.d.ts","sourceRoot":"","sources":["../../../src/operations/serviceTasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAIhE,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,WAAW,EAEX,8BAA8B,EAE9B,wCAAwC,EACxC,kCAAkC,EAClC,6BAA6B,EAC7B,uBAAuB,EACvB,gCAAgC,EAChC,gCAAgC,EAChC,0BAA0B,EAC1B,gCAAgC,EAChC,0BAA0B,EAE3B,MAAM,oBAAoB,CAAC;AAG5B,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;;OAQG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,8BAA8B,GACvC,0BAA0B,CAAC,WAAW,CAAC;YAkB3B,cAAc;YA6Bd,aAAa;IAc5B;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;;;OAUG;IACH,cAAc,CACZ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;;;;OAOG;IACH,GAAG,CACD,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,uBAAuB,CAAC;IAOnC;;;;;;;OAOG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;;;OASG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;;;OAOG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,gCAAgC,GACzC,OAAO,CAAC,0BAA0B,CAAC;IAOtC;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
@@ -16,7 +16,6 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
17
17
|
/** Class containing ServiceTasks operations. */
|
18
18
|
class ServiceTasksImpl {
|
19
|
-
client;
|
20
19
|
/**
|
21
20
|
* Initialize a new instance of the class ServiceTasks class.
|
22
21
|
* @param client Reference to the service client
|
@@ -25,9 +24,10 @@ class ServiceTasksImpl {
|
|
25
24
|
this.client = client;
|
26
25
|
}
|
27
26
|
/**
|
28
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
29
|
-
* method returns a list of service level tasks owned by a service resource. Some tasks
|
30
|
-
* status of Unknown, which indicates that an error occurred while querying the status of
|
27
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
28
|
+
* (classic). This method returns a list of service level tasks owned by a service resource. Some tasks
|
29
|
+
* may have a status of Unknown, which indicates that an error occurred while querying the status of
|
30
|
+
* that task.
|
31
31
|
* @param groupName Name of the resource group
|
32
32
|
* @param serviceName Name of the service
|
33
33
|
* @param options The options parameters.
|
@@ -42,40 +42,58 @@ class ServiceTasksImpl {
|
|
42
42
|
return this;
|
43
43
|
},
|
44
44
|
byPage: (settings) => {
|
45
|
-
if (settings
|
45
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
46
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
47
47
|
}
|
48
48
|
return this.listPagingPage(groupName, serviceName, options, settings);
|
49
|
-
}
|
49
|
+
},
|
50
50
|
};
|
51
51
|
}
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
52
|
+
listPagingPage(groupName, serviceName, options, settings) {
|
53
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingPage_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._list(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._listNext(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
|
+
});
|
69
71
|
}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
72
|
+
listPagingAll(groupName, serviceName, options) {
|
73
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
74
|
+
var _a, e_1, _b, _c;
|
75
|
+
try {
|
76
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(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
|
+
});
|
74
91
|
}
|
75
92
|
/**
|
76
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
77
|
-
* method returns a list of service level tasks owned by a service resource. Some tasks
|
78
|
-
* status of Unknown, which indicates that an error occurred while querying the status of
|
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 level tasks owned by a service resource. Some tasks
|
95
|
+
* may have a status of Unknown, which indicates that an error occurred while querying the status of
|
96
|
+
* that task.
|
79
97
|
* @param groupName Name of the resource group
|
80
98
|
* @param serviceName Name of the service
|
81
99
|
* @param options The options parameters.
|
@@ -85,8 +103,9 @@ class ServiceTasksImpl {
|
|
85
103
|
}
|
86
104
|
/**
|
87
105
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
88
|
-
* instance. The PUT method creates a new service task or updates an existing one, although
|
89
|
-
* service tasks have no mutable custom properties, there is little reason to update an existing
|
106
|
+
* (classic) instance. The PUT method creates a new service task or updates an existing one, although
|
107
|
+
* since service tasks have no mutable custom properties, there is little reason to update an existing
|
108
|
+
* one.
|
90
109
|
* @param groupName Name of the resource group
|
91
110
|
* @param serviceName Name of the service
|
92
111
|
* @param taskName Name of the Task
|
@@ -98,7 +117,7 @@ class ServiceTasksImpl {
|
|
98
117
|
}
|
99
118
|
/**
|
100
119
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
101
|
-
* instance. The GET method retrieves information about a service task.
|
120
|
+
* (classic) instance. The GET method retrieves information about a service task.
|
102
121
|
* @param groupName Name of the resource group
|
103
122
|
* @param serviceName Name of the service
|
104
123
|
* @param taskName Name of the Task
|
@@ -109,7 +128,7 @@ class ServiceTasksImpl {
|
|
109
128
|
}
|
110
129
|
/**
|
111
130
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
112
|
-
* instance. The DELETE method deletes a service task, canceling it first if it's running.
|
131
|
+
* (classic) instance. The DELETE method deletes a service task, canceling it first if it's running.
|
113
132
|
* @param groupName Name of the resource group
|
114
133
|
* @param serviceName Name of the service
|
115
134
|
* @param taskName Name of the Task
|
@@ -120,8 +139,8 @@ class ServiceTasksImpl {
|
|
120
139
|
}
|
121
140
|
/**
|
122
141
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
123
|
-
* instance. The PATCH method updates an existing service task, but since service tasks have
|
124
|
-
* custom properties, there is little reason to do so.
|
142
|
+
* (classic) instance. The PATCH method updates an existing service task, but since service tasks have
|
143
|
+
* no mutable custom properties, there is little reason to do so.
|
125
144
|
* @param groupName Name of the resource group
|
126
145
|
* @param serviceName Name of the service
|
127
146
|
* @param taskName Name of the Task
|
@@ -133,7 +152,7 @@ class ServiceTasksImpl {
|
|
133
152
|
}
|
134
153
|
/**
|
135
154
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
136
|
-
* instance. This method cancels a service task if it's currently queued or running.
|
155
|
+
* (classic) instance. This method cancels a service task if it's currently queued or running.
|
137
156
|
* @param groupName Name of the resource group
|
138
157
|
* @param serviceName Name of the service
|
139
158
|
* @param taskName Name of the Task
|
@@ -161,70 +180,70 @@ const listOperationSpec = {
|
|
161
180
|
httpMethod: "GET",
|
162
181
|
responses: {
|
163
182
|
200: {
|
164
|
-
bodyMapper: Mappers.TaskList
|
183
|
+
bodyMapper: Mappers.TaskList,
|
165
184
|
},
|
166
185
|
default: {
|
167
|
-
bodyMapper: Mappers.ApiError
|
168
|
-
}
|
186
|
+
bodyMapper: Mappers.ApiError,
|
187
|
+
},
|
169
188
|
},
|
170
189
|
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
171
190
|
urlParameters: [
|
172
191
|
Parameters.$host,
|
173
192
|
Parameters.subscriptionId,
|
174
193
|
Parameters.groupName,
|
175
|
-
Parameters.serviceName
|
194
|
+
Parameters.serviceName,
|
176
195
|
],
|
177
196
|
headerParameters: [Parameters.accept],
|
178
|
-
serializer
|
197
|
+
serializer,
|
179
198
|
};
|
180
199
|
const createOrUpdateOperationSpec = {
|
181
200
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
182
201
|
httpMethod: "PUT",
|
183
202
|
responses: {
|
184
203
|
200: {
|
185
|
-
bodyMapper: Mappers.ProjectTask
|
204
|
+
bodyMapper: Mappers.ProjectTask,
|
186
205
|
},
|
187
206
|
201: {
|
188
|
-
bodyMapper: Mappers.ProjectTask
|
207
|
+
bodyMapper: Mappers.ProjectTask,
|
189
208
|
},
|
190
209
|
default: {
|
191
|
-
bodyMapper: Mappers.ApiError
|
192
|
-
}
|
210
|
+
bodyMapper: Mappers.ApiError,
|
211
|
+
},
|
193
212
|
},
|
194
|
-
requestBody: Parameters.
|
213
|
+
requestBody: Parameters.parameters13,
|
195
214
|
queryParameters: [Parameters.apiVersion],
|
196
215
|
urlParameters: [
|
197
216
|
Parameters.$host,
|
198
217
|
Parameters.subscriptionId,
|
199
218
|
Parameters.groupName,
|
200
219
|
Parameters.serviceName,
|
201
|
-
Parameters.taskName
|
220
|
+
Parameters.taskName,
|
202
221
|
],
|
203
222
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
204
223
|
mediaType: "json",
|
205
|
-
serializer
|
224
|
+
serializer,
|
206
225
|
};
|
207
226
|
const getOperationSpec = {
|
208
227
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
209
228
|
httpMethod: "GET",
|
210
229
|
responses: {
|
211
230
|
200: {
|
212
|
-
bodyMapper: Mappers.ProjectTask
|
231
|
+
bodyMapper: Mappers.ProjectTask,
|
213
232
|
},
|
214
233
|
default: {
|
215
|
-
bodyMapper: Mappers.ApiError
|
216
|
-
}
|
234
|
+
bodyMapper: Mappers.ApiError,
|
235
|
+
},
|
217
236
|
},
|
218
|
-
queryParameters: [Parameters.
|
237
|
+
queryParameters: [Parameters.apiVersion, Parameters.expand],
|
219
238
|
urlParameters: [
|
220
239
|
Parameters.$host,
|
221
240
|
Parameters.subscriptionId,
|
222
241
|
Parameters.groupName,
|
223
242
|
Parameters.serviceName,
|
224
|
-
Parameters.taskName
|
243
|
+
Parameters.taskName,
|
225
244
|
],
|
226
245
|
headerParameters: [Parameters.accept],
|
227
|
-
serializer
|
246
|
+
serializer,
|
228
247
|
};
|
229
248
|
const deleteOperationSpec = {
|
230
249
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
@@ -233,8 +252,8 @@ const deleteOperationSpec = {
|
|
233
252
|
200: {},
|
234
253
|
204: {},
|
235
254
|
default: {
|
236
|
-
bodyMapper: Mappers.ApiError
|
237
|
-
}
|
255
|
+
bodyMapper: Mappers.ApiError,
|
256
|
+
},
|
238
257
|
},
|
239
258
|
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
240
259
|
urlParameters: [
|
@@ -242,45 +261,45 @@ const deleteOperationSpec = {
|
|
242
261
|
Parameters.subscriptionId,
|
243
262
|
Parameters.groupName,
|
244
263
|
Parameters.serviceName,
|
245
|
-
Parameters.taskName
|
264
|
+
Parameters.taskName,
|
246
265
|
],
|
247
266
|
headerParameters: [Parameters.accept],
|
248
|
-
serializer
|
267
|
+
serializer,
|
249
268
|
};
|
250
269
|
const updateOperationSpec = {
|
251
270
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
252
271
|
httpMethod: "PATCH",
|
253
272
|
responses: {
|
254
273
|
200: {
|
255
|
-
bodyMapper: Mappers.ProjectTask
|
274
|
+
bodyMapper: Mappers.ProjectTask,
|
256
275
|
},
|
257
276
|
default: {
|
258
|
-
bodyMapper: Mappers.ApiError
|
259
|
-
}
|
277
|
+
bodyMapper: Mappers.ApiError,
|
278
|
+
},
|
260
279
|
},
|
261
|
-
requestBody: Parameters.
|
280
|
+
requestBody: Parameters.parameters13,
|
262
281
|
queryParameters: [Parameters.apiVersion],
|
263
282
|
urlParameters: [
|
264
283
|
Parameters.$host,
|
265
284
|
Parameters.subscriptionId,
|
266
285
|
Parameters.groupName,
|
267
286
|
Parameters.serviceName,
|
268
|
-
Parameters.taskName
|
287
|
+
Parameters.taskName,
|
269
288
|
],
|
270
289
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
271
290
|
mediaType: "json",
|
272
|
-
serializer
|
291
|
+
serializer,
|
273
292
|
};
|
274
293
|
const cancelOperationSpec = {
|
275
294
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",
|
276
295
|
httpMethod: "POST",
|
277
296
|
responses: {
|
278
297
|
200: {
|
279
|
-
bodyMapper: Mappers.ProjectTask
|
298
|
+
bodyMapper: Mappers.ProjectTask,
|
280
299
|
},
|
281
300
|
default: {
|
282
|
-
bodyMapper: Mappers.ApiError
|
283
|
-
}
|
301
|
+
bodyMapper: Mappers.ApiError,
|
302
|
+
},
|
284
303
|
},
|
285
304
|
queryParameters: [Parameters.apiVersion],
|
286
305
|
urlParameters: [
|
@@ -288,31 +307,30 @@ const cancelOperationSpec = {
|
|
288
307
|
Parameters.subscriptionId,
|
289
308
|
Parameters.groupName,
|
290
309
|
Parameters.serviceName,
|
291
|
-
Parameters.taskName
|
310
|
+
Parameters.taskName,
|
292
311
|
],
|
293
312
|
headerParameters: [Parameters.accept],
|
294
|
-
serializer
|
313
|
+
serializer,
|
295
314
|
};
|
296
315
|
const listNextOperationSpec = {
|
297
316
|
path: "{nextLink}",
|
298
317
|
httpMethod: "GET",
|
299
318
|
responses: {
|
300
319
|
200: {
|
301
|
-
bodyMapper: Mappers.TaskList
|
320
|
+
bodyMapper: Mappers.TaskList,
|
302
321
|
},
|
303
322
|
default: {
|
304
|
-
bodyMapper: Mappers.ApiError
|
305
|
-
}
|
323
|
+
bodyMapper: Mappers.ApiError,
|
324
|
+
},
|
306
325
|
},
|
307
|
-
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
308
326
|
urlParameters: [
|
309
327
|
Parameters.$host,
|
310
328
|
Parameters.subscriptionId,
|
311
329
|
Parameters.nextLink,
|
312
330
|
Parameters.groupName,
|
313
|
-
Parameters.serviceName
|
331
|
+
Parameters.serviceName,
|
314
332
|
],
|
315
333
|
headerParameters: [Parameters.accept],
|
316
|
-
serializer
|
334
|
+
serializer,
|
317
335
|
};
|
318
336
|
//# sourceMappingURL=serviceTasks.js.map
|