@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
@@ -11,14 +11,14 @@ export declare class ResourceSkusImpl implements ResourceSkus {
|
|
11
11
|
*/
|
12
12
|
constructor(client: DataMigrationManagementClient);
|
13
13
|
/**
|
14
|
-
* The skus action returns the list of SKUs that DMS supports.
|
14
|
+
* The skus action returns the list of SKUs that DMS (classic) supports.
|
15
15
|
* @param options The options parameters.
|
16
16
|
*/
|
17
17
|
listSkus(options?: ResourceSkusListSkusOptionalParams): PagedAsyncIterableIterator<ResourceSku>;
|
18
18
|
private listSkusPagingPage;
|
19
19
|
private listSkusPagingAll;
|
20
20
|
/**
|
21
|
-
* The skus action returns the list of SKUs that DMS supports.
|
21
|
+
* The skus action returns the list of SKUs that DMS (classic) supports.
|
22
22
|
* @param options The options parameters.
|
23
23
|
*/
|
24
24
|
private _listSkus;
|
@@ -5,6 +5,7 @@
|
|
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";
|
@@ -12,7 +13,6 @@ import * as Parameters from "../models/parameters.js";
|
|
12
13
|
/// <reference lib="esnext.asynciterable" />
|
13
14
|
/** Class containing ResourceSkus operations. */
|
14
15
|
export class ResourceSkusImpl {
|
15
|
-
client;
|
16
16
|
/**
|
17
17
|
* Initialize a new instance of the class ResourceSkus class.
|
18
18
|
* @param client Reference to the service client
|
@@ -21,7 +21,7 @@ export class ResourceSkusImpl {
|
|
21
21
|
this.client = client;
|
22
22
|
}
|
23
23
|
/**
|
24
|
-
* The skus action returns the list of SKUs that DMS supports.
|
24
|
+
* The skus action returns the list of SKUs that DMS (classic) supports.
|
25
25
|
* @param options The options parameters.
|
26
26
|
*/
|
27
27
|
listSkus(options) {
|
@@ -34,38 +34,55 @@ export class ResourceSkusImpl {
|
|
34
34
|
return this;
|
35
35
|
},
|
36
36
|
byPage: (settings) => {
|
37
|
-
if (settings
|
37
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
39
39
|
}
|
40
40
|
return this.listSkusPagingPage(options, settings);
|
41
|
-
}
|
41
|
+
},
|
42
42
|
};
|
43
43
|
}
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
44
|
+
listSkusPagingPage(options, settings) {
|
45
|
+
return __asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
46
|
+
let result;
|
47
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
48
|
+
if (!continuationToken) {
|
49
|
+
result = yield __await(this._listSkus(options));
|
50
|
+
let page = result.value || [];
|
51
|
+
continuationToken = result.nextLink;
|
52
|
+
setContinuationToken(page, continuationToken);
|
53
|
+
yield yield __await(page);
|
54
|
+
}
|
55
|
+
while (continuationToken) {
|
56
|
+
result = yield __await(this._listSkusNext(continuationToken, options));
|
57
|
+
continuationToken = result.nextLink;
|
58
|
+
let page = result.value || [];
|
59
|
+
setContinuationToken(page, continuationToken);
|
60
|
+
yield yield __await(page);
|
61
|
+
}
|
62
|
+
});
|
61
63
|
}
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
64
|
+
listSkusPagingAll(options) {
|
65
|
+
return __asyncGenerator(this, arguments, function* listSkusPagingAll_1() {
|
66
|
+
var _a, e_1, _b, _c;
|
67
|
+
try {
|
68
|
+
for (var _d = true, _e = __asyncValues(this.listSkusPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
69
|
+
_c = _f.value;
|
70
|
+
_d = false;
|
71
|
+
const page = _c;
|
72
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
73
|
+
}
|
74
|
+
}
|
75
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
76
|
+
finally {
|
77
|
+
try {
|
78
|
+
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
79
|
+
}
|
80
|
+
finally { if (e_1) throw e_1.error; }
|
81
|
+
}
|
82
|
+
});
|
66
83
|
}
|
67
84
|
/**
|
68
|
-
* The skus action returns the list of SKUs that DMS supports.
|
85
|
+
* The skus action returns the list of SKUs that DMS (classic) supports.
|
69
86
|
* @param options The options parameters.
|
70
87
|
*/
|
71
88
|
_listSkus(options) {
|
@@ -87,35 +104,34 @@ const listSkusOperationSpec = {
|
|
87
104
|
httpMethod: "GET",
|
88
105
|
responses: {
|
89
106
|
200: {
|
90
|
-
bodyMapper: Mappers.ResourceSkusResult
|
107
|
+
bodyMapper: Mappers.ResourceSkusResult,
|
91
108
|
},
|
92
109
|
default: {
|
93
|
-
bodyMapper: Mappers.ApiError
|
94
|
-
}
|
110
|
+
bodyMapper: Mappers.ApiError,
|
111
|
+
},
|
95
112
|
},
|
96
113
|
queryParameters: [Parameters.apiVersion],
|
97
114
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
98
115
|
headerParameters: [Parameters.accept],
|
99
|
-
serializer
|
116
|
+
serializer,
|
100
117
|
};
|
101
118
|
const listSkusNextOperationSpec = {
|
102
119
|
path: "{nextLink}",
|
103
120
|
httpMethod: "GET",
|
104
121
|
responses: {
|
105
122
|
200: {
|
106
|
-
bodyMapper: Mappers.ResourceSkusResult
|
123
|
+
bodyMapper: Mappers.ResourceSkusResult,
|
107
124
|
},
|
108
125
|
default: {
|
109
|
-
bodyMapper: Mappers.ApiError
|
110
|
-
}
|
126
|
+
bodyMapper: Mappers.ApiError,
|
127
|
+
},
|
111
128
|
},
|
112
|
-
queryParameters: [Parameters.apiVersion],
|
113
129
|
urlParameters: [
|
114
130
|
Parameters.$host,
|
115
131
|
Parameters.subscriptionId,
|
116
|
-
Parameters.nextLink
|
132
|
+
Parameters.nextLink,
|
117
133
|
],
|
118
134
|
headerParameters: [Parameters.accept],
|
119
|
-
serializer
|
135
|
+
serializer,
|
120
136
|
};
|
121
137
|
//# sourceMappingURL=resourceSkus.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../../src/operations/resourceSkus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../../src/operations/resourceSkus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,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,cAAM,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,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;YACb,CAAC;YACD,OAAO,iBAAiB,EAAE,CAAC;gBACzB,MAAM,GAAG,cAAM,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,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,CAAC,CAAC;gBAC9C,oBAAM,IAAI,CAAA,CAAC;YACb,CAAC;QACH,CAAC;KAAA;IAEc,iBAAiB,CAC9B,OAA4C;;;;gBAE5C,KAAyB,eAAA,KAAA,cAAA,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAA,IAAA,+DAAE,CAAC;oBAAnC,cAAgC;oBAAhC,WAAgC;oBAA9C,MAAM,IAAI,KAAA,CAAA;oBACnB,cAAA,KAAK,CAAC,CAAC,iBAAA,cAAA,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;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"}
|
@@ -5,6 +5,7 @@
|
|
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";
|
@@ -12,7 +13,6 @@ import * as Parameters from "../models/parameters.js";
|
|
12
13
|
/// <reference lib="esnext.asynciterable" />
|
13
14
|
/** Class containing ServiceTasks operations. */
|
14
15
|
export class ServiceTasksImpl {
|
15
|
-
client;
|
16
16
|
/**
|
17
17
|
* Initialize a new instance of the class ServiceTasks class.
|
18
18
|
* @param client Reference to the service client
|
@@ -21,9 +21,10 @@ export class ServiceTasksImpl {
|
|
21
21
|
this.client = client;
|
22
22
|
}
|
23
23
|
/**
|
24
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
25
|
-
* method returns a list of service level tasks owned by a service resource. Some tasks
|
26
|
-
* status of Unknown, which indicates that an error occurred while querying the status of
|
24
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
25
|
+
* (classic). This method returns a list of service level tasks owned by a service resource. Some tasks
|
26
|
+
* may have a status of Unknown, which indicates that an error occurred while querying the status of
|
27
|
+
* that task.
|
27
28
|
* @param groupName Name of the resource group
|
28
29
|
* @param serviceName Name of the service
|
29
30
|
* @param options The options parameters.
|
@@ -38,40 +39,58 @@ export class ServiceTasksImpl {
|
|
38
39
|
return this;
|
39
40
|
},
|
40
41
|
byPage: (settings) => {
|
41
|
-
if (settings
|
42
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
42
43
|
throw new Error("maxPageSize is not supported by this operation.");
|
43
44
|
}
|
44
45
|
return this.listPagingPage(groupName, serviceName, options, settings);
|
45
|
-
}
|
46
|
+
},
|
46
47
|
};
|
47
48
|
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
49
|
+
listPagingPage(groupName, serviceName, options, settings) {
|
50
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
51
|
+
let result;
|
52
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
53
|
+
if (!continuationToken) {
|
54
|
+
result = yield __await(this._list(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._listNext(groupName, serviceName, continuationToken, options));
|
62
|
+
continuationToken = result.nextLink;
|
63
|
+
let page = result.value || [];
|
64
|
+
setContinuationToken(page, continuationToken);
|
65
|
+
yield yield __await(page);
|
66
|
+
}
|
67
|
+
});
|
65
68
|
}
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
69
|
+
listPagingAll(groupName, serviceName, options) {
|
70
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
71
|
+
var _a, e_1, _b, _c;
|
72
|
+
try {
|
73
|
+
for (var _d = true, _e = __asyncValues(this.listPagingPage(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
|
+
});
|
70
88
|
}
|
71
89
|
/**
|
72
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
73
|
-
* method returns a list of service level tasks owned by a service resource. Some tasks
|
74
|
-
* status of Unknown, which indicates that an error occurred while querying the status of
|
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 level tasks owned by a service resource. Some tasks
|
92
|
+
* may have a status of Unknown, which indicates that an error occurred while querying the status of
|
93
|
+
* that task.
|
75
94
|
* @param groupName Name of the resource group
|
76
95
|
* @param serviceName Name of the service
|
77
96
|
* @param options The options parameters.
|
@@ -81,8 +100,9 @@ export class ServiceTasksImpl {
|
|
81
100
|
}
|
82
101
|
/**
|
83
102
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
84
|
-
* instance. The PUT method creates a new service task or updates an existing one, although
|
85
|
-
* service tasks have no mutable custom properties, there is little reason to update an existing
|
103
|
+
* (classic) instance. The PUT method creates a new service task or updates an existing one, although
|
104
|
+
* since service tasks have no mutable custom properties, there is little reason to update an existing
|
105
|
+
* one.
|
86
106
|
* @param groupName Name of the resource group
|
87
107
|
* @param serviceName Name of the service
|
88
108
|
* @param taskName Name of the Task
|
@@ -94,7 +114,7 @@ export class ServiceTasksImpl {
|
|
94
114
|
}
|
95
115
|
/**
|
96
116
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
97
|
-
* instance. The GET method retrieves information about a service task.
|
117
|
+
* (classic) instance. The GET method retrieves information about a service task.
|
98
118
|
* @param groupName Name of the resource group
|
99
119
|
* @param serviceName Name of the service
|
100
120
|
* @param taskName Name of the Task
|
@@ -105,7 +125,7 @@ export class ServiceTasksImpl {
|
|
105
125
|
}
|
106
126
|
/**
|
107
127
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
108
|
-
* instance. The DELETE method deletes a service task, canceling it first if it's running.
|
128
|
+
* (classic) instance. The DELETE method deletes a service task, canceling it first if it's running.
|
109
129
|
* @param groupName Name of the resource group
|
110
130
|
* @param serviceName Name of the service
|
111
131
|
* @param taskName Name of the Task
|
@@ -116,8 +136,8 @@ export class ServiceTasksImpl {
|
|
116
136
|
}
|
117
137
|
/**
|
118
138
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
119
|
-
* instance. The PATCH method updates an existing service task, but since service tasks have
|
120
|
-
* custom properties, there is little reason to do so.
|
139
|
+
* (classic) instance. The PATCH method updates an existing service task, but since service tasks have
|
140
|
+
* no mutable custom properties, there is little reason to do so.
|
121
141
|
* @param groupName Name of the resource group
|
122
142
|
* @param serviceName Name of the service
|
123
143
|
* @param taskName Name of the Task
|
@@ -129,7 +149,7 @@ export class ServiceTasksImpl {
|
|
129
149
|
}
|
130
150
|
/**
|
131
151
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
132
|
-
* instance. This method cancels a service task if it's currently queued or running.
|
152
|
+
* (classic) instance. This method cancels a service task if it's currently queued or running.
|
133
153
|
* @param groupName Name of the resource group
|
134
154
|
* @param serviceName Name of the service
|
135
155
|
* @param taskName Name of the Task
|
@@ -156,70 +176,70 @@ const listOperationSpec = {
|
|
156
176
|
httpMethod: "GET",
|
157
177
|
responses: {
|
158
178
|
200: {
|
159
|
-
bodyMapper: Mappers.TaskList
|
179
|
+
bodyMapper: Mappers.TaskList,
|
160
180
|
},
|
161
181
|
default: {
|
162
|
-
bodyMapper: Mappers.ApiError
|
163
|
-
}
|
182
|
+
bodyMapper: Mappers.ApiError,
|
183
|
+
},
|
164
184
|
},
|
165
185
|
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
166
186
|
urlParameters: [
|
167
187
|
Parameters.$host,
|
168
188
|
Parameters.subscriptionId,
|
169
189
|
Parameters.groupName,
|
170
|
-
Parameters.serviceName
|
190
|
+
Parameters.serviceName,
|
171
191
|
],
|
172
192
|
headerParameters: [Parameters.accept],
|
173
|
-
serializer
|
193
|
+
serializer,
|
174
194
|
};
|
175
195
|
const createOrUpdateOperationSpec = {
|
176
196
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
177
197
|
httpMethod: "PUT",
|
178
198
|
responses: {
|
179
199
|
200: {
|
180
|
-
bodyMapper: Mappers.ProjectTask
|
200
|
+
bodyMapper: Mappers.ProjectTask,
|
181
201
|
},
|
182
202
|
201: {
|
183
|
-
bodyMapper: Mappers.ProjectTask
|
203
|
+
bodyMapper: Mappers.ProjectTask,
|
184
204
|
},
|
185
205
|
default: {
|
186
|
-
bodyMapper: Mappers.ApiError
|
187
|
-
}
|
206
|
+
bodyMapper: Mappers.ApiError,
|
207
|
+
},
|
188
208
|
},
|
189
|
-
requestBody: Parameters.
|
209
|
+
requestBody: Parameters.parameters13,
|
190
210
|
queryParameters: [Parameters.apiVersion],
|
191
211
|
urlParameters: [
|
192
212
|
Parameters.$host,
|
193
213
|
Parameters.subscriptionId,
|
194
214
|
Parameters.groupName,
|
195
215
|
Parameters.serviceName,
|
196
|
-
Parameters.taskName
|
216
|
+
Parameters.taskName,
|
197
217
|
],
|
198
218
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
199
219
|
mediaType: "json",
|
200
|
-
serializer
|
220
|
+
serializer,
|
201
221
|
};
|
202
222
|
const getOperationSpec = {
|
203
223
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
204
224
|
httpMethod: "GET",
|
205
225
|
responses: {
|
206
226
|
200: {
|
207
|
-
bodyMapper: Mappers.ProjectTask
|
227
|
+
bodyMapper: Mappers.ProjectTask,
|
208
228
|
},
|
209
229
|
default: {
|
210
|
-
bodyMapper: Mappers.ApiError
|
211
|
-
}
|
230
|
+
bodyMapper: Mappers.ApiError,
|
231
|
+
},
|
212
232
|
},
|
213
|
-
queryParameters: [Parameters.
|
233
|
+
queryParameters: [Parameters.apiVersion, Parameters.expand],
|
214
234
|
urlParameters: [
|
215
235
|
Parameters.$host,
|
216
236
|
Parameters.subscriptionId,
|
217
237
|
Parameters.groupName,
|
218
238
|
Parameters.serviceName,
|
219
|
-
Parameters.taskName
|
239
|
+
Parameters.taskName,
|
220
240
|
],
|
221
241
|
headerParameters: [Parameters.accept],
|
222
|
-
serializer
|
242
|
+
serializer,
|
223
243
|
};
|
224
244
|
const deleteOperationSpec = {
|
225
245
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
@@ -228,8 +248,8 @@ const deleteOperationSpec = {
|
|
228
248
|
200: {},
|
229
249
|
204: {},
|
230
250
|
default: {
|
231
|
-
bodyMapper: Mappers.ApiError
|
232
|
-
}
|
251
|
+
bodyMapper: Mappers.ApiError,
|
252
|
+
},
|
233
253
|
},
|
234
254
|
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
235
255
|
urlParameters: [
|
@@ -237,45 +257,45 @@ const deleteOperationSpec = {
|
|
237
257
|
Parameters.subscriptionId,
|
238
258
|
Parameters.groupName,
|
239
259
|
Parameters.serviceName,
|
240
|
-
Parameters.taskName
|
260
|
+
Parameters.taskName,
|
241
261
|
],
|
242
262
|
headerParameters: [Parameters.accept],
|
243
|
-
serializer
|
263
|
+
serializer,
|
244
264
|
};
|
245
265
|
const updateOperationSpec = {
|
246
266
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
247
267
|
httpMethod: "PATCH",
|
248
268
|
responses: {
|
249
269
|
200: {
|
250
|
-
bodyMapper: Mappers.ProjectTask
|
270
|
+
bodyMapper: Mappers.ProjectTask,
|
251
271
|
},
|
252
272
|
default: {
|
253
|
-
bodyMapper: Mappers.ApiError
|
254
|
-
}
|
273
|
+
bodyMapper: Mappers.ApiError,
|
274
|
+
},
|
255
275
|
},
|
256
|
-
requestBody: Parameters.
|
276
|
+
requestBody: Parameters.parameters13,
|
257
277
|
queryParameters: [Parameters.apiVersion],
|
258
278
|
urlParameters: [
|
259
279
|
Parameters.$host,
|
260
280
|
Parameters.subscriptionId,
|
261
281
|
Parameters.groupName,
|
262
282
|
Parameters.serviceName,
|
263
|
-
Parameters.taskName
|
283
|
+
Parameters.taskName,
|
264
284
|
],
|
265
285
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
266
286
|
mediaType: "json",
|
267
|
-
serializer
|
287
|
+
serializer,
|
268
288
|
};
|
269
289
|
const cancelOperationSpec = {
|
270
290
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",
|
271
291
|
httpMethod: "POST",
|
272
292
|
responses: {
|
273
293
|
200: {
|
274
|
-
bodyMapper: Mappers.ProjectTask
|
294
|
+
bodyMapper: Mappers.ProjectTask,
|
275
295
|
},
|
276
296
|
default: {
|
277
|
-
bodyMapper: Mappers.ApiError
|
278
|
-
}
|
297
|
+
bodyMapper: Mappers.ApiError,
|
298
|
+
},
|
279
299
|
},
|
280
300
|
queryParameters: [Parameters.apiVersion],
|
281
301
|
urlParameters: [
|
@@ -283,31 +303,30 @@ const cancelOperationSpec = {
|
|
283
303
|
Parameters.subscriptionId,
|
284
304
|
Parameters.groupName,
|
285
305
|
Parameters.serviceName,
|
286
|
-
Parameters.taskName
|
306
|
+
Parameters.taskName,
|
287
307
|
],
|
288
308
|
headerParameters: [Parameters.accept],
|
289
|
-
serializer
|
309
|
+
serializer,
|
290
310
|
};
|
291
311
|
const listNextOperationSpec = {
|
292
312
|
path: "{nextLink}",
|
293
313
|
httpMethod: "GET",
|
294
314
|
responses: {
|
295
315
|
200: {
|
296
|
-
bodyMapper: Mappers.TaskList
|
316
|
+
bodyMapper: Mappers.TaskList,
|
297
317
|
},
|
298
318
|
default: {
|
299
|
-
bodyMapper: Mappers.ApiError
|
300
|
-
}
|
319
|
+
bodyMapper: Mappers.ApiError,
|
320
|
+
},
|
301
321
|
},
|
302
|
-
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
303
322
|
urlParameters: [
|
304
323
|
Parameters.$host,
|
305
324
|
Parameters.subscriptionId,
|
306
325
|
Parameters.nextLink,
|
307
326
|
Parameters.groupName,
|
308
|
-
Parameters.serviceName
|
327
|
+
Parameters.serviceName,
|
309
328
|
],
|
310
329
|
headerParameters: [Parameters.accept],
|
311
|
-
serializer
|
330
|
+
serializer,
|
312
331
|
};
|
313
332
|
//# sourceMappingURL=serviceTasks.js.map
|