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