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