@azure/arm-datamigration 3.0.0-alpha.20250718.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 +14 -8
- 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 +11 -15
- 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 +4993 -3891
- 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 +83 -71
- 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 +83 -71
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.js +43 -44
- 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 +7 -8
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.js +33 -34
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts +2 -2
- package/dist/browser/operations/resourceSkus.js +12 -13
- 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 +55 -53
- 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 +194 -176
- 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 +110 -100
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +20 -20
- package/dist/browser/operations/tasks.js +65 -66
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.js +15 -16
- 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 +4 -4
- 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 +13 -7
- 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 +12 -17
- 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 +5000 -3898
- 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 +81 -69
- 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 +81 -69
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.js +43 -44
- 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 +7 -8
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.js +33 -34
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
- package/dist/commonjs/operations/resourceSkus.js +12 -13
- 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 +55 -53
- 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 +192 -174
- 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 +108 -98
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +20 -20
- package/dist/commonjs/operations/tasks.js +65 -66
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.js +15 -16
- 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 +4 -4
- 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 +14 -8
- 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 +11 -15
- 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 +4993 -3891
- 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 +83 -71
- 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 +83 -71
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.js +43 -44
- 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 +7 -8
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.js +33 -34
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts +2 -2
- package/dist/esm/operations/resourceSkus.js +12 -13
- 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 +55 -53
- 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 +194 -176
- 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 +110 -100
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +20 -20
- package/dist/esm/operations/tasks.js +65 -66
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.js +15 -16
- 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 +4 -4
- 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 +14 -8
- 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 +11 -15
- 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 +4993 -3891
- 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 +83 -71
- 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 +83 -71
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.js +43 -44
- 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 +7 -8
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.js +33 -34
- 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 +12 -13
- 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 +55 -53
- 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 +194 -176
- 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 +110 -100
- 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 +65 -66
- 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 +15 -16
- 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 +4 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +25 -26
- package/CHANGELOG.md +0 -21
- package/review/arm-datamigration-node.api.md +0 -4103
@@ -0,0 +1,680 @@
|
|
1
|
+
"use strict";
|
2
|
+
/*
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
4
|
+
* Licensed under the MIT License.
|
5
|
+
*
|
6
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
|
+
*/
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
+
exports.MigrationServicesImpl = void 0;
|
11
|
+
const tslib_1 = require("tslib");
|
12
|
+
const pagingHelper_js_1 = require("../pagingHelper.js");
|
13
|
+
const coreClient = tslib_1.__importStar(require("@azure/core-client"));
|
14
|
+
const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
15
|
+
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
16
|
+
const core_lro_1 = require("@azure/core-lro");
|
17
|
+
const lroImpl_js_1 = require("../lroImpl.js");
|
18
|
+
/// <reference lib="esnext.asynciterable" />
|
19
|
+
/** Class containing MigrationServices operations. */
|
20
|
+
class MigrationServicesImpl {
|
21
|
+
/**
|
22
|
+
* Initialize a new instance of the class MigrationServices class.
|
23
|
+
* @param client Reference to the service client
|
24
|
+
*/
|
25
|
+
constructor(client) {
|
26
|
+
this.client = client;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* Retrieve all migration services in the resource group.
|
30
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
31
|
+
* value from the Azure Resource Manager API or the portal.
|
32
|
+
* @param options The options parameters.
|
33
|
+
*/
|
34
|
+
listByResourceGroup(resourceGroupName, options) {
|
35
|
+
const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
|
36
|
+
return {
|
37
|
+
next() {
|
38
|
+
return iter.next();
|
39
|
+
},
|
40
|
+
[Symbol.asyncIterator]() {
|
41
|
+
return this;
|
42
|
+
},
|
43
|
+
byPage: (settings) => {
|
44
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
45
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
46
|
+
}
|
47
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
48
|
+
},
|
49
|
+
};
|
50
|
+
}
|
51
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
52
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
53
|
+
let result;
|
54
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
55
|
+
if (!continuationToken) {
|
56
|
+
result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
|
57
|
+
let page = result.value || [];
|
58
|
+
continuationToken = result.nextLink;
|
59
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
60
|
+
yield yield tslib_1.__await(page);
|
61
|
+
}
|
62
|
+
while (continuationToken) {
|
63
|
+
result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
64
|
+
continuationToken = result.nextLink;
|
65
|
+
let page = result.value || [];
|
66
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
67
|
+
yield yield tslib_1.__await(page);
|
68
|
+
}
|
69
|
+
});
|
70
|
+
}
|
71
|
+
listByResourceGroupPagingAll(resourceGroupName, options) {
|
72
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
73
|
+
var _a, e_1, _b, _c;
|
74
|
+
try {
|
75
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
76
|
+
_c = _f.value;
|
77
|
+
_d = false;
|
78
|
+
const page = _c;
|
79
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
80
|
+
}
|
81
|
+
}
|
82
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
83
|
+
finally {
|
84
|
+
try {
|
85
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
86
|
+
}
|
87
|
+
finally { if (e_1) throw e_1.error; }
|
88
|
+
}
|
89
|
+
});
|
90
|
+
}
|
91
|
+
/**
|
92
|
+
* Retrieve all migration services in the subscriptions.
|
93
|
+
* @param options The options parameters.
|
94
|
+
*/
|
95
|
+
listBySubscription(options) {
|
96
|
+
const iter = this.listBySubscriptionPagingAll(options);
|
97
|
+
return {
|
98
|
+
next() {
|
99
|
+
return iter.next();
|
100
|
+
},
|
101
|
+
[Symbol.asyncIterator]() {
|
102
|
+
return this;
|
103
|
+
},
|
104
|
+
byPage: (settings) => {
|
105
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
106
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
107
|
+
}
|
108
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
109
|
+
},
|
110
|
+
};
|
111
|
+
}
|
112
|
+
listBySubscriptionPagingPage(options, settings) {
|
113
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
114
|
+
let result;
|
115
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
116
|
+
if (!continuationToken) {
|
117
|
+
result = yield tslib_1.__await(this._listBySubscription(options));
|
118
|
+
let page = result.value || [];
|
119
|
+
continuationToken = result.nextLink;
|
120
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
121
|
+
yield yield tslib_1.__await(page);
|
122
|
+
}
|
123
|
+
while (continuationToken) {
|
124
|
+
result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
|
125
|
+
continuationToken = result.nextLink;
|
126
|
+
let page = result.value || [];
|
127
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
128
|
+
yield yield tslib_1.__await(page);
|
129
|
+
}
|
130
|
+
});
|
131
|
+
}
|
132
|
+
listBySubscriptionPagingAll(options) {
|
133
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
134
|
+
var _a, e_2, _b, _c;
|
135
|
+
try {
|
136
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
137
|
+
_c = _f.value;
|
138
|
+
_d = false;
|
139
|
+
const page = _c;
|
140
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
141
|
+
}
|
142
|
+
}
|
143
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
144
|
+
finally {
|
145
|
+
try {
|
146
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
147
|
+
}
|
148
|
+
finally { if (e_2) throw e_2.error; }
|
149
|
+
}
|
150
|
+
});
|
151
|
+
}
|
152
|
+
/**
|
153
|
+
* Retrieve the List of database migrations attached to the service.
|
154
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
155
|
+
* value from the Azure Resource Manager API or the portal.
|
156
|
+
* @param migrationServiceName Name of the Migration Service.
|
157
|
+
* @param options The options parameters.
|
158
|
+
*/
|
159
|
+
listMigrations(resourceGroupName, migrationServiceName, options) {
|
160
|
+
const iter = this.listMigrationsPagingAll(resourceGroupName, migrationServiceName, options);
|
161
|
+
return {
|
162
|
+
next() {
|
163
|
+
return iter.next();
|
164
|
+
},
|
165
|
+
[Symbol.asyncIterator]() {
|
166
|
+
return this;
|
167
|
+
},
|
168
|
+
byPage: (settings) => {
|
169
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
170
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
171
|
+
}
|
172
|
+
return this.listMigrationsPagingPage(resourceGroupName, migrationServiceName, options, settings);
|
173
|
+
},
|
174
|
+
};
|
175
|
+
}
|
176
|
+
listMigrationsPagingPage(resourceGroupName, migrationServiceName, options, settings) {
|
177
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listMigrationsPagingPage_1() {
|
178
|
+
let result;
|
179
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
180
|
+
if (!continuationToken) {
|
181
|
+
result = yield tslib_1.__await(this._listMigrations(resourceGroupName, migrationServiceName, options));
|
182
|
+
let page = result.value || [];
|
183
|
+
continuationToken = result.nextLink;
|
184
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
185
|
+
yield yield tslib_1.__await(page);
|
186
|
+
}
|
187
|
+
while (continuationToken) {
|
188
|
+
result = yield tslib_1.__await(this._listMigrationsNext(resourceGroupName, migrationServiceName, continuationToken, options));
|
189
|
+
continuationToken = result.nextLink;
|
190
|
+
let page = result.value || [];
|
191
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
192
|
+
yield yield tslib_1.__await(page);
|
193
|
+
}
|
194
|
+
});
|
195
|
+
}
|
196
|
+
listMigrationsPagingAll(resourceGroupName, migrationServiceName, options) {
|
197
|
+
return tslib_1.__asyncGenerator(this, arguments, function* listMigrationsPagingAll_1() {
|
198
|
+
var _a, e_3, _b, _c;
|
199
|
+
try {
|
200
|
+
for (var _d = true, _e = tslib_1.__asyncValues(this.listMigrationsPagingPage(resourceGroupName, migrationServiceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
201
|
+
_c = _f.value;
|
202
|
+
_d = false;
|
203
|
+
const page = _c;
|
204
|
+
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
205
|
+
}
|
206
|
+
}
|
207
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
208
|
+
finally {
|
209
|
+
try {
|
210
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
211
|
+
}
|
212
|
+
finally { if (e_3) throw e_3.error; }
|
213
|
+
}
|
214
|
+
});
|
215
|
+
}
|
216
|
+
/**
|
217
|
+
* Retrieve the Database Migration Service
|
218
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
219
|
+
* value from the Azure Resource Manager API or the portal.
|
220
|
+
* @param migrationServiceName Name of the Migration Service.
|
221
|
+
* @param options The options parameters.
|
222
|
+
*/
|
223
|
+
get(resourceGroupName, migrationServiceName, options) {
|
224
|
+
return this.client.sendOperationRequest({ resourceGroupName, migrationServiceName, options }, getOperationSpec);
|
225
|
+
}
|
226
|
+
/**
|
227
|
+
* Create or Update Database Migration Service.
|
228
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
229
|
+
* value from the Azure Resource Manager API or the portal.
|
230
|
+
* @param migrationServiceName Name of the Migration Service.
|
231
|
+
* @param parameters Details of MigrationService resource.
|
232
|
+
* @param options The options parameters.
|
233
|
+
*/
|
234
|
+
async beginCreateOrUpdate(resourceGroupName, migrationServiceName, parameters, options) {
|
235
|
+
const directSendOperation = async (args, spec) => {
|
236
|
+
return this.client.sendOperationRequest(args, spec);
|
237
|
+
};
|
238
|
+
const sendOperationFn = async (args, spec) => {
|
239
|
+
var _a;
|
240
|
+
let currentRawResponse = undefined;
|
241
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
242
|
+
const callback = (rawResponse, flatResponse) => {
|
243
|
+
currentRawResponse = rawResponse;
|
244
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
245
|
+
};
|
246
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
247
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
248
|
+
return {
|
249
|
+
flatResponse,
|
250
|
+
rawResponse: {
|
251
|
+
statusCode: currentRawResponse.status,
|
252
|
+
body: currentRawResponse.parsedBody,
|
253
|
+
headers: currentRawResponse.headers.toJSON(),
|
254
|
+
},
|
255
|
+
};
|
256
|
+
};
|
257
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
258
|
+
sendOperationFn,
|
259
|
+
args: { resourceGroupName, migrationServiceName, parameters, options },
|
260
|
+
spec: createOrUpdateOperationSpec,
|
261
|
+
});
|
262
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
263
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
264
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
265
|
+
});
|
266
|
+
await poller.poll();
|
267
|
+
return poller;
|
268
|
+
}
|
269
|
+
/**
|
270
|
+
* Create or Update Database Migration Service.
|
271
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
272
|
+
* value from the Azure Resource Manager API or the portal.
|
273
|
+
* @param migrationServiceName Name of the Migration Service.
|
274
|
+
* @param parameters Details of MigrationService resource.
|
275
|
+
* @param options The options parameters.
|
276
|
+
*/
|
277
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, migrationServiceName, parameters, options) {
|
278
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, migrationServiceName, parameters, options);
|
279
|
+
return poller.pollUntilDone();
|
280
|
+
}
|
281
|
+
/**
|
282
|
+
* Delete Database Migration Service.
|
283
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
284
|
+
* value from the Azure Resource Manager API or the portal.
|
285
|
+
* @param migrationServiceName Name of the Migration Service.
|
286
|
+
* @param options The options parameters.
|
287
|
+
*/
|
288
|
+
async beginDelete(resourceGroupName, migrationServiceName, options) {
|
289
|
+
const directSendOperation = async (args, spec) => {
|
290
|
+
return this.client.sendOperationRequest(args, spec);
|
291
|
+
};
|
292
|
+
const sendOperationFn = async (args, spec) => {
|
293
|
+
var _a;
|
294
|
+
let currentRawResponse = undefined;
|
295
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
296
|
+
const callback = (rawResponse, flatResponse) => {
|
297
|
+
currentRawResponse = rawResponse;
|
298
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
299
|
+
};
|
300
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
301
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
302
|
+
return {
|
303
|
+
flatResponse,
|
304
|
+
rawResponse: {
|
305
|
+
statusCode: currentRawResponse.status,
|
306
|
+
body: currentRawResponse.parsedBody,
|
307
|
+
headers: currentRawResponse.headers.toJSON(),
|
308
|
+
},
|
309
|
+
};
|
310
|
+
};
|
311
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
312
|
+
sendOperationFn,
|
313
|
+
args: { resourceGroupName, migrationServiceName, options },
|
314
|
+
spec: deleteOperationSpec,
|
315
|
+
});
|
316
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
317
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
318
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
319
|
+
});
|
320
|
+
await poller.poll();
|
321
|
+
return poller;
|
322
|
+
}
|
323
|
+
/**
|
324
|
+
* Delete Database Migration Service.
|
325
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
326
|
+
* value from the Azure Resource Manager API or the portal.
|
327
|
+
* @param migrationServiceName Name of the Migration Service.
|
328
|
+
* @param options The options parameters.
|
329
|
+
*/
|
330
|
+
async beginDeleteAndWait(resourceGroupName, migrationServiceName, options) {
|
331
|
+
const poller = await this.beginDelete(resourceGroupName, migrationServiceName, options);
|
332
|
+
return poller.pollUntilDone();
|
333
|
+
}
|
334
|
+
/**
|
335
|
+
* Update Database Migration Service.
|
336
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
337
|
+
* value from the Azure Resource Manager API or the portal.
|
338
|
+
* @param migrationServiceName Name of the Migration Service.
|
339
|
+
* @param parameters Details of MigrationService resource.
|
340
|
+
* @param options The options parameters.
|
341
|
+
*/
|
342
|
+
async beginUpdate(resourceGroupName, migrationServiceName, parameters, options) {
|
343
|
+
const directSendOperation = async (args, spec) => {
|
344
|
+
return this.client.sendOperationRequest(args, spec);
|
345
|
+
};
|
346
|
+
const sendOperationFn = async (args, spec) => {
|
347
|
+
var _a;
|
348
|
+
let currentRawResponse = undefined;
|
349
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
350
|
+
const callback = (rawResponse, flatResponse) => {
|
351
|
+
currentRawResponse = rawResponse;
|
352
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
353
|
+
};
|
354
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
355
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
356
|
+
return {
|
357
|
+
flatResponse,
|
358
|
+
rawResponse: {
|
359
|
+
statusCode: currentRawResponse.status,
|
360
|
+
body: currentRawResponse.parsedBody,
|
361
|
+
headers: currentRawResponse.headers.toJSON(),
|
362
|
+
},
|
363
|
+
};
|
364
|
+
};
|
365
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
366
|
+
sendOperationFn,
|
367
|
+
args: { resourceGroupName, migrationServiceName, parameters, options },
|
368
|
+
spec: updateOperationSpec,
|
369
|
+
});
|
370
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
371
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
372
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
373
|
+
});
|
374
|
+
await poller.poll();
|
375
|
+
return poller;
|
376
|
+
}
|
377
|
+
/**
|
378
|
+
* Update Database Migration Service.
|
379
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
380
|
+
* value from the Azure Resource Manager API or the portal.
|
381
|
+
* @param migrationServiceName Name of the Migration Service.
|
382
|
+
* @param parameters Details of MigrationService resource.
|
383
|
+
* @param options The options parameters.
|
384
|
+
*/
|
385
|
+
async beginUpdateAndWait(resourceGroupName, migrationServiceName, parameters, options) {
|
386
|
+
const poller = await this.beginUpdate(resourceGroupName, migrationServiceName, parameters, options);
|
387
|
+
return poller.pollUntilDone();
|
388
|
+
}
|
389
|
+
/**
|
390
|
+
* Retrieve all migration services in the resource group.
|
391
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
392
|
+
* value from the Azure Resource Manager API or the portal.
|
393
|
+
* @param options The options parameters.
|
394
|
+
*/
|
395
|
+
_listByResourceGroup(resourceGroupName, options) {
|
396
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
397
|
+
}
|
398
|
+
/**
|
399
|
+
* Retrieve all migration services in the subscriptions.
|
400
|
+
* @param options The options parameters.
|
401
|
+
*/
|
402
|
+
_listBySubscription(options) {
|
403
|
+
return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
|
404
|
+
}
|
405
|
+
/**
|
406
|
+
* Retrieve the List of database migrations attached to the service.
|
407
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
408
|
+
* value from the Azure Resource Manager API or the portal.
|
409
|
+
* @param migrationServiceName Name of the Migration Service.
|
410
|
+
* @param options The options parameters.
|
411
|
+
*/
|
412
|
+
_listMigrations(resourceGroupName, migrationServiceName, options) {
|
413
|
+
return this.client.sendOperationRequest({ resourceGroupName, migrationServiceName, options }, listMigrationsOperationSpec);
|
414
|
+
}
|
415
|
+
/**
|
416
|
+
* ListByResourceGroupNext
|
417
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
418
|
+
* value from the Azure Resource Manager API or the portal.
|
419
|
+
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
|
420
|
+
* @param options The options parameters.
|
421
|
+
*/
|
422
|
+
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
423
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
424
|
+
}
|
425
|
+
/**
|
426
|
+
* ListBySubscriptionNext
|
427
|
+
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
|
428
|
+
* @param options The options parameters.
|
429
|
+
*/
|
430
|
+
_listBySubscriptionNext(nextLink, options) {
|
431
|
+
return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
|
432
|
+
}
|
433
|
+
/**
|
434
|
+
* ListMigrationsNext
|
435
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
436
|
+
* value from the Azure Resource Manager API or the portal.
|
437
|
+
* @param migrationServiceName Name of the Migration Service.
|
438
|
+
* @param nextLink The nextLink from the previous successful call to the ListMigrations method.
|
439
|
+
* @param options The options parameters.
|
440
|
+
*/
|
441
|
+
_listMigrationsNext(resourceGroupName, migrationServiceName, nextLink, options) {
|
442
|
+
return this.client.sendOperationRequest({ resourceGroupName, migrationServiceName, nextLink, options }, listMigrationsNextOperationSpec);
|
443
|
+
}
|
444
|
+
}
|
445
|
+
exports.MigrationServicesImpl = MigrationServicesImpl;
|
446
|
+
// Operation Specifications
|
447
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
448
|
+
const getOperationSpec = {
|
449
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/migrationServices/{migrationServiceName}",
|
450
|
+
httpMethod: "GET",
|
451
|
+
responses: {
|
452
|
+
200: {
|
453
|
+
bodyMapper: Mappers.MigrationService,
|
454
|
+
},
|
455
|
+
default: {
|
456
|
+
bodyMapper: Mappers.ErrorResponse,
|
457
|
+
},
|
458
|
+
},
|
459
|
+
queryParameters: [Parameters.apiVersion],
|
460
|
+
urlParameters: [
|
461
|
+
Parameters.$host,
|
462
|
+
Parameters.resourceGroupName,
|
463
|
+
Parameters.subscriptionId,
|
464
|
+
Parameters.migrationServiceName,
|
465
|
+
],
|
466
|
+
headerParameters: [Parameters.accept],
|
467
|
+
serializer,
|
468
|
+
};
|
469
|
+
const createOrUpdateOperationSpec = {
|
470
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/migrationServices/{migrationServiceName}",
|
471
|
+
httpMethod: "PUT",
|
472
|
+
responses: {
|
473
|
+
200: {
|
474
|
+
bodyMapper: Mappers.MigrationService,
|
475
|
+
},
|
476
|
+
201: {
|
477
|
+
bodyMapper: Mappers.MigrationService,
|
478
|
+
},
|
479
|
+
202: {
|
480
|
+
bodyMapper: Mappers.MigrationService,
|
481
|
+
},
|
482
|
+
204: {
|
483
|
+
bodyMapper: Mappers.MigrationService,
|
484
|
+
},
|
485
|
+
default: {
|
486
|
+
bodyMapper: Mappers.ErrorResponse,
|
487
|
+
},
|
488
|
+
},
|
489
|
+
requestBody: Parameters.parameters5,
|
490
|
+
queryParameters: [Parameters.apiVersion],
|
491
|
+
urlParameters: [
|
492
|
+
Parameters.$host,
|
493
|
+
Parameters.resourceGroupName,
|
494
|
+
Parameters.subscriptionId,
|
495
|
+
Parameters.migrationServiceName,
|
496
|
+
],
|
497
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
498
|
+
mediaType: "json",
|
499
|
+
serializer,
|
500
|
+
};
|
501
|
+
const deleteOperationSpec = {
|
502
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/migrationServices/{migrationServiceName}",
|
503
|
+
httpMethod: "DELETE",
|
504
|
+
responses: {
|
505
|
+
200: {
|
506
|
+
headersMapper: Mappers.MigrationServicesDeleteHeaders,
|
507
|
+
},
|
508
|
+
201: {
|
509
|
+
headersMapper: Mappers.MigrationServicesDeleteHeaders,
|
510
|
+
},
|
511
|
+
202: {
|
512
|
+
headersMapper: Mappers.MigrationServicesDeleteHeaders,
|
513
|
+
},
|
514
|
+
204: {
|
515
|
+
headersMapper: Mappers.MigrationServicesDeleteHeaders,
|
516
|
+
},
|
517
|
+
default: {
|
518
|
+
bodyMapper: Mappers.ErrorResponse,
|
519
|
+
},
|
520
|
+
},
|
521
|
+
queryParameters: [Parameters.apiVersion],
|
522
|
+
urlParameters: [
|
523
|
+
Parameters.$host,
|
524
|
+
Parameters.resourceGroupName,
|
525
|
+
Parameters.subscriptionId,
|
526
|
+
Parameters.migrationServiceName,
|
527
|
+
],
|
528
|
+
headerParameters: [Parameters.accept],
|
529
|
+
serializer,
|
530
|
+
};
|
531
|
+
const updateOperationSpec = {
|
532
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/migrationServices/{migrationServiceName}",
|
533
|
+
httpMethod: "PATCH",
|
534
|
+
responses: {
|
535
|
+
200: {
|
536
|
+
bodyMapper: Mappers.MigrationService,
|
537
|
+
},
|
538
|
+
201: {
|
539
|
+
bodyMapper: Mappers.MigrationService,
|
540
|
+
},
|
541
|
+
202: {
|
542
|
+
bodyMapper: Mappers.MigrationService,
|
543
|
+
},
|
544
|
+
204: {
|
545
|
+
bodyMapper: Mappers.MigrationService,
|
546
|
+
},
|
547
|
+
default: {
|
548
|
+
bodyMapper: Mappers.ErrorResponse,
|
549
|
+
},
|
550
|
+
},
|
551
|
+
requestBody: Parameters.parameters6,
|
552
|
+
queryParameters: [Parameters.apiVersion],
|
553
|
+
urlParameters: [
|
554
|
+
Parameters.$host,
|
555
|
+
Parameters.resourceGroupName,
|
556
|
+
Parameters.subscriptionId,
|
557
|
+
Parameters.migrationServiceName,
|
558
|
+
],
|
559
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
560
|
+
mediaType: "json",
|
561
|
+
serializer,
|
562
|
+
};
|
563
|
+
const listByResourceGroupOperationSpec = {
|
564
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/migrationServices",
|
565
|
+
httpMethod: "GET",
|
566
|
+
responses: {
|
567
|
+
200: {
|
568
|
+
bodyMapper: Mappers.MigrationServiceListResult,
|
569
|
+
},
|
570
|
+
default: {
|
571
|
+
bodyMapper: Mappers.ErrorResponse,
|
572
|
+
},
|
573
|
+
},
|
574
|
+
queryParameters: [Parameters.apiVersion],
|
575
|
+
urlParameters: [
|
576
|
+
Parameters.$host,
|
577
|
+
Parameters.resourceGroupName,
|
578
|
+
Parameters.subscriptionId,
|
579
|
+
],
|
580
|
+
headerParameters: [Parameters.accept],
|
581
|
+
serializer,
|
582
|
+
};
|
583
|
+
const listBySubscriptionOperationSpec = {
|
584
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/migrationServices",
|
585
|
+
httpMethod: "GET",
|
586
|
+
responses: {
|
587
|
+
200: {
|
588
|
+
bodyMapper: Mappers.MigrationServiceListResult,
|
589
|
+
},
|
590
|
+
default: {
|
591
|
+
bodyMapper: Mappers.ErrorResponse,
|
592
|
+
},
|
593
|
+
},
|
594
|
+
queryParameters: [Parameters.apiVersion],
|
595
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
596
|
+
headerParameters: [Parameters.accept],
|
597
|
+
serializer,
|
598
|
+
};
|
599
|
+
const listMigrationsOperationSpec = {
|
600
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/migrationServices/{migrationServiceName}/listMigrations",
|
601
|
+
httpMethod: "GET",
|
602
|
+
responses: {
|
603
|
+
200: {
|
604
|
+
bodyMapper: Mappers.DatabaseMigrationBaseListResult,
|
605
|
+
},
|
606
|
+
default: {
|
607
|
+
bodyMapper: Mappers.ErrorResponse,
|
608
|
+
},
|
609
|
+
},
|
610
|
+
queryParameters: [Parameters.apiVersion],
|
611
|
+
urlParameters: [
|
612
|
+
Parameters.$host,
|
613
|
+
Parameters.resourceGroupName,
|
614
|
+
Parameters.subscriptionId,
|
615
|
+
Parameters.migrationServiceName,
|
616
|
+
],
|
617
|
+
headerParameters: [Parameters.accept],
|
618
|
+
serializer,
|
619
|
+
};
|
620
|
+
const listByResourceGroupNextOperationSpec = {
|
621
|
+
path: "{nextLink}",
|
622
|
+
httpMethod: "GET",
|
623
|
+
responses: {
|
624
|
+
200: {
|
625
|
+
bodyMapper: Mappers.MigrationServiceListResult,
|
626
|
+
},
|
627
|
+
default: {
|
628
|
+
bodyMapper: Mappers.ErrorResponse,
|
629
|
+
},
|
630
|
+
},
|
631
|
+
urlParameters: [
|
632
|
+
Parameters.$host,
|
633
|
+
Parameters.resourceGroupName,
|
634
|
+
Parameters.subscriptionId,
|
635
|
+
Parameters.nextLink,
|
636
|
+
],
|
637
|
+
headerParameters: [Parameters.accept],
|
638
|
+
serializer,
|
639
|
+
};
|
640
|
+
const listBySubscriptionNextOperationSpec = {
|
641
|
+
path: "{nextLink}",
|
642
|
+
httpMethod: "GET",
|
643
|
+
responses: {
|
644
|
+
200: {
|
645
|
+
bodyMapper: Mappers.MigrationServiceListResult,
|
646
|
+
},
|
647
|
+
default: {
|
648
|
+
bodyMapper: Mappers.ErrorResponse,
|
649
|
+
},
|
650
|
+
},
|
651
|
+
urlParameters: [
|
652
|
+
Parameters.$host,
|
653
|
+
Parameters.subscriptionId,
|
654
|
+
Parameters.nextLink,
|
655
|
+
],
|
656
|
+
headerParameters: [Parameters.accept],
|
657
|
+
serializer,
|
658
|
+
};
|
659
|
+
const listMigrationsNextOperationSpec = {
|
660
|
+
path: "{nextLink}",
|
661
|
+
httpMethod: "GET",
|
662
|
+
responses: {
|
663
|
+
200: {
|
664
|
+
bodyMapper: Mappers.DatabaseMigrationBaseListResult,
|
665
|
+
},
|
666
|
+
default: {
|
667
|
+
bodyMapper: Mappers.ErrorResponse,
|
668
|
+
},
|
669
|
+
},
|
670
|
+
urlParameters: [
|
671
|
+
Parameters.$host,
|
672
|
+
Parameters.resourceGroupName,
|
673
|
+
Parameters.subscriptionId,
|
674
|
+
Parameters.nextLink,
|
675
|
+
Parameters.migrationServiceName,
|
676
|
+
],
|
677
|
+
headerParameters: [Parameters.accept],
|
678
|
+
serializer,
|
679
|
+
};
|
680
|
+
//# sourceMappingURL=migrationServices.js.map
|