@azure/arm-datamigration 3.0.0-alpha.20250718.1 → 3.0.0-alpha.20250723.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +0 -3
- package/dist/browser/dataMigrationManagementClient.d.ts +5 -1
- package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/browser/dataMigrationManagementClient.js +14 -8
- package/dist/browser/dataMigrationManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.d.ts +6 -11
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +11 -15
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +968 -216
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +52 -8
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +47 -14
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +4993 -3891
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +21 -12
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +184 -110
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.js +303 -0
- package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlMi.js +83 -71
- package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.js +83 -71
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.js +43 -44
- package/dist/browser/operations/files.js.map +1 -1
- package/dist/browser/operations/index.d.ts +4 -0
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -0
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/migrationServices.d.ts +144 -0
- package/dist/browser/operations/migrationServices.d.ts.map +1 -0
- package/dist/browser/operations/migrationServices.js +676 -0
- package/dist/browser/operations/migrationServices.js.map +1 -0
- package/dist/browser/operations/operations.js +7 -8
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.js +33 -34
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts +2 -2
- package/dist/browser/operations/resourceSkus.js +12 -13
- package/dist/browser/operations/resourceSkus.js.map +1 -1
- package/dist/browser/operations/serviceTasks.d.ts +16 -13
- package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operations/serviceTasks.js +55 -53
- package/dist/browser/operations/serviceTasks.js.map +1 -1
- package/dist/browser/operations/services.d.ts +59 -58
- package/dist/browser/operations/services.d.ts.map +1 -1
- package/dist/browser/operations/services.js +194 -176
- package/dist/browser/operations/services.js.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.js +110 -100
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +20 -20
- package/dist/browser/operations/tasks.js +65 -66
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.js +15 -16
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operationsInterfaces/files.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +4 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/migrationServices.js +9 -0
- package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/projects.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts +53 -52
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/services.js.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts +2 -2
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts +4 -4
- package/dist/browser/pagingHelper.js +4 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.js +13 -7
- package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts +6 -11
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +12 -17
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +968 -216
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +54 -10
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +47 -14
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +5000 -3898
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +21 -12
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +184 -110
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +374 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +374 -0
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js +308 -0
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js +81 -69
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js +81 -69
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.js +43 -44
- package/dist/commonjs/operations/files.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +4 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -0
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/migrationServices.d.ts +144 -0
- package/dist/commonjs/operations/migrationServices.d.ts.map +1 -0
- package/dist/commonjs/operations/migrationServices.js +680 -0
- package/dist/commonjs/operations/migrationServices.js.map +1 -0
- package/dist/commonjs/operations/operations.js +7 -8
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.js +33 -34
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
- package/dist/commonjs/operations/resourceSkus.js +12 -13
- package/dist/commonjs/operations/resourceSkus.js.map +1 -1
- package/dist/commonjs/operations/serviceTasks.d.ts +16 -13
- package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operations/serviceTasks.js +55 -53
- package/dist/commonjs/operations/serviceTasks.js.map +1 -1
- package/dist/commonjs/operations/services.d.ts +59 -58
- package/dist/commonjs/operations/services.d.ts.map +1 -1
- package/dist/commonjs/operations/services.js +192 -174
- package/dist/commonjs/operations/services.js.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.js +108 -98
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +20 -20
- package/dist/commonjs/operations/tasks.js +65 -66
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.js +15 -16
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +10 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +4 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.js +10 -0
- package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.d.ts +53 -52
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts +2 -2
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts +4 -4
- package/dist/commonjs/pagingHelper.js +4 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/esm/dataMigrationManagementClient.d.ts +5 -1
- package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/esm/dataMigrationManagementClient.js +14 -8
- package/dist/esm/dataMigrationManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.d.ts +6 -11
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +11 -15
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +968 -216
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +52 -8
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +47 -14
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +4993 -3891
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +21 -12
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +184 -110
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.js +303 -0
- package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlMi.js +83 -71
- package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.js +83 -71
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.js +43 -44
- package/dist/esm/operations/files.js.map +1 -1
- package/dist/esm/operations/index.d.ts +4 -0
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -0
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/migrationServices.d.ts +144 -0
- package/dist/esm/operations/migrationServices.d.ts.map +1 -0
- package/dist/esm/operations/migrationServices.js +676 -0
- package/dist/esm/operations/migrationServices.js.map +1 -0
- package/dist/esm/operations/operations.js +7 -8
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.js +33 -34
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts +2 -2
- package/dist/esm/operations/resourceSkus.js +12 -13
- package/dist/esm/operations/resourceSkus.js.map +1 -1
- package/dist/esm/operations/serviceTasks.d.ts +16 -13
- package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operations/serviceTasks.js +55 -53
- package/dist/esm/operations/serviceTasks.js.map +1 -1
- package/dist/esm/operations/services.d.ts +59 -58
- package/dist/esm/operations/services.d.ts.map +1 -1
- package/dist/esm/operations/services.js +194 -176
- package/dist/esm/operations/services.js.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.js +110 -100
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +20 -20
- package/dist/esm/operations/tasks.js +65 -66
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.js +15 -16
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operationsInterfaces/files.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +4 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/migrationServices.js +9 -0
- package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/projects.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/services.d.ts +53 -52
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/services.js.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts +2 -2
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts +4 -4
- package/dist/esm/pagingHelper.js +4 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.js +14 -8
- package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts +6 -11
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +11 -15
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +968 -216
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +52 -8
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +47 -14
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +4993 -3891
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +21 -12
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +184 -110
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +89 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +370 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +89 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +370 -0
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +81 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.js +303 -0
- package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlMi.js +83 -71
- package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.js +83 -71
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.js +43 -44
- package/dist/react-native/operations/files.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +4 -0
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -0
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/migrationServices.d.ts +144 -0
- package/dist/react-native/operations/migrationServices.d.ts.map +1 -0
- package/dist/react-native/operations/migrationServices.js +676 -0
- package/dist/react-native/operations/migrationServices.js.map +1 -0
- package/dist/react-native/operations/operations.js +7 -8
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.js +33 -34
- package/dist/react-native/operations/projects.js.map +1 -1
- package/dist/react-native/operations/resourceSkus.d.ts +2 -2
- package/dist/react-native/operations/resourceSkus.js +12 -13
- package/dist/react-native/operations/resourceSkus.js.map +1 -1
- package/dist/react-native/operations/serviceTasks.d.ts +16 -13
- package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operations/serviceTasks.js +55 -53
- package/dist/react-native/operations/serviceTasks.js.map +1 -1
- package/dist/react-native/operations/services.d.ts +59 -58
- package/dist/react-native/operations/services.d.ts.map +1 -1
- package/dist/react-native/operations/services.js +194 -176
- package/dist/react-native/operations/services.js.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.d.ts +13 -12
- package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.js +110 -100
- package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts +20 -20
- package/dist/react-native/operations/tasks.js +65 -66
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operations/usages.d.ts +4 -4
- package/dist/react-native/operations/usages.js +15 -16
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts +62 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +73 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +9 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -0
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +11 -11
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operationsInterfaces/files.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +4 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts +87 -0
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/migrationServices.js +9 -0
- package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts +12 -10
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/services.d.ts +53 -52
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/services.js.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts +13 -12
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts +17 -17
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts +2 -2
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts +4 -4
- package/dist/react-native/pagingHelper.js +4 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +25 -26
- package/CHANGELOG.md +0 -21
- package/review/arm-datamigration-node.api.md +0 -4103
@@ -26,8 +26,8 @@ class ServicesImpl {
|
|
26
26
|
this.client = client;
|
27
27
|
}
|
28
28
|
/**
|
29
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
30
|
-
* skus action returns the list of SKUs that a service resource can be updated to.
|
29
|
+
* The services resource is the top-level resource that represents the Database Migration Service
|
30
|
+
* (classic). The skus action returns the list of SKUs that a service resource can be updated to.
|
31
31
|
* @param groupName Name of the resource group
|
32
32
|
* @param serviceName Name of the service
|
33
33
|
* @param options The options parameters.
|
@@ -46,7 +46,7 @@ class ServicesImpl {
|
|
46
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
47
47
|
}
|
48
48
|
return this.listSkusPagingPage(groupName, serviceName, options, settings);
|
49
|
-
}
|
49
|
+
},
|
50
50
|
};
|
51
51
|
}
|
52
52
|
listSkusPagingPage(groupName, serviceName, options, settings) {
|
@@ -90,8 +90,8 @@ class ServicesImpl {
|
|
90
90
|
});
|
91
91
|
}
|
92
92
|
/**
|
93
|
-
* The Services resource is the top-level resource that represents the Database Migration Service
|
94
|
-
* method returns a list of service resources in a resource group.
|
93
|
+
* The Services resource is the top-level resource that represents the Azure Database Migration Service
|
94
|
+
* (classic). This method returns a list of service resources in a resource group.
|
95
95
|
* @param groupName Name of the resource group
|
96
96
|
* @param options The options parameters.
|
97
97
|
*/
|
@@ -109,7 +109,7 @@ class ServicesImpl {
|
|
109
109
|
throw new Error("maxPageSize is not supported by this operation.");
|
110
110
|
}
|
111
111
|
return this.listByResourceGroupPagingPage(groupName, options, settings);
|
112
|
-
}
|
112
|
+
},
|
113
113
|
};
|
114
114
|
}
|
115
115
|
listByResourceGroupPagingPage(groupName, options, settings) {
|
@@ -153,8 +153,8 @@ class ServicesImpl {
|
|
153
153
|
});
|
154
154
|
}
|
155
155
|
/**
|
156
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
157
|
-
* method returns a list of service resources in a subscription.
|
156
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
157
|
+
* (classic). This method returns a list of service resources in a subscription.
|
158
158
|
* @param options The options parameters.
|
159
159
|
*/
|
160
160
|
list(options) {
|
@@ -171,7 +171,7 @@ class ServicesImpl {
|
|
171
171
|
throw new Error("maxPageSize is not supported by this operation.");
|
172
172
|
}
|
173
173
|
return this.listPagingPage(options, settings);
|
174
|
-
}
|
174
|
+
},
|
175
175
|
};
|
176
176
|
}
|
177
177
|
listPagingPage(options, settings) {
|
@@ -215,13 +215,13 @@ class ServicesImpl {
|
|
215
215
|
});
|
216
216
|
}
|
217
217
|
/**
|
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
|
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
|
225
225
|
* property.
|
226
226
|
* @param groupName Name of the resource group
|
227
227
|
* @param serviceName Name of the service
|
@@ -232,7 +232,7 @@ class ServicesImpl {
|
|
232
232
|
const directSendOperation = async (args, spec) => {
|
233
233
|
return this.client.sendOperationRequest(args, spec);
|
234
234
|
};
|
235
|
-
const
|
235
|
+
const sendOperationFn = async (args, spec) => {
|
236
236
|
var _a;
|
237
237
|
let currentRawResponse = undefined;
|
238
238
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -247,26 +247,30 @@ class ServicesImpl {
|
|
247
247
|
rawResponse: {
|
248
248
|
statusCode: currentRawResponse.status,
|
249
249
|
body: currentRawResponse.parsedBody,
|
250
|
-
headers: currentRawResponse.headers.toJSON()
|
251
|
-
}
|
250
|
+
headers: currentRawResponse.headers.toJSON(),
|
251
|
+
},
|
252
252
|
};
|
253
253
|
};
|
254
|
-
const lro =
|
255
|
-
|
256
|
-
|
257
|
-
|
254
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
255
|
+
sendOperationFn,
|
256
|
+
args: { groupName, serviceName, parameters, options },
|
257
|
+
spec: createOrUpdateOperationSpec,
|
258
|
+
});
|
259
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
260
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
261
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
258
262
|
});
|
259
263
|
await poller.poll();
|
260
264
|
return poller;
|
261
265
|
}
|
262
266
|
/**
|
263
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
264
|
-
* PUT method creates a new service or updates an existing one. When a service is
|
265
|
-
* child resources (i.e. tasks) are unaffected. Services currently support a single
|
266
|
-
* refers to a VM-based service, although other kinds may be added in the future.
|
267
|
-
* change the kind, SKU, and network of the service, but if tasks are currently running
|
268
|
-
* service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
269
|
-
* when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
267
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
268
|
+
* (classic). The PUT method creates a new service or updates an existing one. When a service is
|
269
|
+
* updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
|
270
|
+
* kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
|
271
|
+
* This method can change the kind, SKU, and network of the service, but if tasks are currently running
|
272
|
+
* (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
273
|
+
* reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
270
274
|
* property.
|
271
275
|
* @param groupName Name of the resource group
|
272
276
|
* @param serviceName Name of the service
|
@@ -278,8 +282,8 @@ class ServicesImpl {
|
|
278
282
|
return poller.pollUntilDone();
|
279
283
|
}
|
280
284
|
/**
|
281
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
282
|
-
* GET method retrieves information about a service instance.
|
285
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
286
|
+
* (classic). The GET method retrieves information about a service instance.
|
283
287
|
* @param groupName Name of the resource group
|
284
288
|
* @param serviceName Name of the service
|
285
289
|
* @param options The options parameters.
|
@@ -288,8 +292,8 @@ class ServicesImpl {
|
|
288
292
|
return this.client.sendOperationRequest({ groupName, serviceName, options }, getOperationSpec);
|
289
293
|
}
|
290
294
|
/**
|
291
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
292
|
-
* DELETE method deletes a service. Any running tasks will be canceled.
|
295
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
296
|
+
* (classic). The DELETE method deletes a service. Any running tasks will be canceled.
|
293
297
|
* @param groupName Name of the resource group
|
294
298
|
* @param serviceName Name of the service
|
295
299
|
* @param options The options parameters.
|
@@ -298,7 +302,7 @@ class ServicesImpl {
|
|
298
302
|
const directSendOperation = async (args, spec) => {
|
299
303
|
return this.client.sendOperationRequest(args, spec);
|
300
304
|
};
|
301
|
-
const
|
305
|
+
const sendOperationFn = async (args, spec) => {
|
302
306
|
var _a;
|
303
307
|
let currentRawResponse = undefined;
|
304
308
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -313,21 +317,25 @@ class ServicesImpl {
|
|
313
317
|
rawResponse: {
|
314
318
|
statusCode: currentRawResponse.status,
|
315
319
|
body: currentRawResponse.parsedBody,
|
316
|
-
headers: currentRawResponse.headers.toJSON()
|
317
|
-
}
|
320
|
+
headers: currentRawResponse.headers.toJSON(),
|
321
|
+
},
|
318
322
|
};
|
319
323
|
};
|
320
|
-
const lro =
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
325
|
+
sendOperationFn,
|
326
|
+
args: { groupName, serviceName, options },
|
327
|
+
spec: deleteOperationSpec,
|
328
|
+
});
|
329
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
330
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
331
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
324
332
|
});
|
325
333
|
await poller.poll();
|
326
334
|
return poller;
|
327
335
|
}
|
328
336
|
/**
|
329
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
330
|
-
* DELETE method deletes a service. Any running tasks will be canceled.
|
337
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
338
|
+
* (classic). The DELETE method deletes a service. Any running tasks will be canceled.
|
331
339
|
* @param groupName Name of the resource group
|
332
340
|
* @param serviceName Name of the service
|
333
341
|
* @param options The options parameters.
|
@@ -337,10 +345,10 @@ class ServicesImpl {
|
|
337
345
|
return poller.pollUntilDone();
|
338
346
|
}
|
339
347
|
/**
|
340
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
341
|
-
* PATCH method updates an existing service. This method can change the kind, SKU, and
|
342
|
-
* service, but if tasks are currently running (i.e. the service is busy), this will
|
343
|
-
* Request ("ServiceIsBusy").
|
348
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
349
|
+
* (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
|
350
|
+
* network of the service, but if tasks are currently running (i.e. the service is busy), this will
|
351
|
+
* fail with 400 Bad Request ("ServiceIsBusy").
|
344
352
|
* @param groupName Name of the resource group
|
345
353
|
* @param serviceName Name of the service
|
346
354
|
* @param parameters Information about the service
|
@@ -350,7 +358,7 @@ class ServicesImpl {
|
|
350
358
|
const directSendOperation = async (args, spec) => {
|
351
359
|
return this.client.sendOperationRequest(args, spec);
|
352
360
|
};
|
353
|
-
const
|
361
|
+
const sendOperationFn = async (args, spec) => {
|
354
362
|
var _a;
|
355
363
|
let currentRawResponse = undefined;
|
356
364
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -365,23 +373,27 @@ class ServicesImpl {
|
|
365
373
|
rawResponse: {
|
366
374
|
statusCode: currentRawResponse.status,
|
367
375
|
body: currentRawResponse.parsedBody,
|
368
|
-
headers: currentRawResponse.headers.toJSON()
|
369
|
-
}
|
376
|
+
headers: currentRawResponse.headers.toJSON(),
|
377
|
+
},
|
370
378
|
};
|
371
379
|
};
|
372
|
-
const lro =
|
373
|
-
|
374
|
-
|
375
|
-
|
380
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
381
|
+
sendOperationFn,
|
382
|
+
args: { groupName, serviceName, parameters, options },
|
383
|
+
spec: updateOperationSpec,
|
384
|
+
});
|
385
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
386
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
387
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
376
388
|
});
|
377
389
|
await poller.poll();
|
378
390
|
return poller;
|
379
391
|
}
|
380
392
|
/**
|
381
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
382
|
-
* PATCH method updates an existing service. This method can change the kind, SKU, and
|
383
|
-
* service, but if tasks are currently running (i.e. the service is busy), this will
|
384
|
-
* Request ("ServiceIsBusy").
|
393
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
394
|
+
* (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
|
395
|
+
* network of the service, but if tasks are currently running (i.e. the service is busy), this will
|
396
|
+
* fail with 400 Bad Request ("ServiceIsBusy").
|
385
397
|
* @param groupName Name of the resource group
|
386
398
|
* @param serviceName Name of the service
|
387
399
|
* @param parameters Information about the service
|
@@ -392,8 +404,9 @@ class ServicesImpl {
|
|
392
404
|
return poller.pollUntilDone();
|
393
405
|
}
|
394
406
|
/**
|
395
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
396
|
-
* action performs a health check and returns the status of the service and virtual
|
407
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
408
|
+
* (classic). This action performs a health check and returns the status of the service and virtual
|
409
|
+
* machine size.
|
397
410
|
* @param groupName Name of the resource group
|
398
411
|
* @param serviceName Name of the service
|
399
412
|
* @param options The options parameters.
|
@@ -402,8 +415,8 @@ class ServicesImpl {
|
|
402
415
|
return this.client.sendOperationRequest({ groupName, serviceName, options }, checkStatusOperationSpec);
|
403
416
|
}
|
404
417
|
/**
|
405
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
406
|
-
* action starts the service and the service can be used for data migration.
|
418
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
419
|
+
* (classic). This action starts the service and the service can be used for data migration.
|
407
420
|
* @param groupName Name of the resource group
|
408
421
|
* @param serviceName Name of the service
|
409
422
|
* @param options The options parameters.
|
@@ -412,7 +425,7 @@ class ServicesImpl {
|
|
412
425
|
const directSendOperation = async (args, spec) => {
|
413
426
|
return this.client.sendOperationRequest(args, spec);
|
414
427
|
};
|
415
|
-
const
|
428
|
+
const sendOperationFn = async (args, spec) => {
|
416
429
|
var _a;
|
417
430
|
let currentRawResponse = undefined;
|
418
431
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -427,21 +440,25 @@ class ServicesImpl {
|
|
427
440
|
rawResponse: {
|
428
441
|
statusCode: currentRawResponse.status,
|
429
442
|
body: currentRawResponse.parsedBody,
|
430
|
-
headers: currentRawResponse.headers.toJSON()
|
431
|
-
}
|
443
|
+
headers: currentRawResponse.headers.toJSON(),
|
444
|
+
},
|
432
445
|
};
|
433
446
|
};
|
434
|
-
const lro =
|
435
|
-
|
436
|
-
|
437
|
-
|
447
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
448
|
+
sendOperationFn,
|
449
|
+
args: { groupName, serviceName, options },
|
450
|
+
spec: startOperationSpec,
|
451
|
+
});
|
452
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
453
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
454
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
438
455
|
});
|
439
456
|
await poller.poll();
|
440
457
|
return poller;
|
441
458
|
}
|
442
459
|
/**
|
443
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
444
|
-
* action starts the service and the service can be used for data migration.
|
460
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
461
|
+
* (classic). This action starts the service and the service can be used for data migration.
|
445
462
|
* @param groupName Name of the resource group
|
446
463
|
* @param serviceName Name of the service
|
447
464
|
* @param options The options parameters.
|
@@ -451,9 +468,9 @@ class ServicesImpl {
|
|
451
468
|
return poller.pollUntilDone();
|
452
469
|
}
|
453
470
|
/**
|
454
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
455
|
-
* action stops the service and the service cannot be used for data migration. The
|
456
|
-
* be billed when the service is stopped.
|
471
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
472
|
+
* (classic). This action stops the service and the service cannot be used for data migration. The
|
473
|
+
* service owner won't be billed when the service is stopped.
|
457
474
|
* @param groupName Name of the resource group
|
458
475
|
* @param serviceName Name of the service
|
459
476
|
* @param options The options parameters.
|
@@ -462,7 +479,7 @@ class ServicesImpl {
|
|
462
479
|
const directSendOperation = async (args, spec) => {
|
463
480
|
return this.client.sendOperationRequest(args, spec);
|
464
481
|
};
|
465
|
-
const
|
482
|
+
const sendOperationFn = async (args, spec) => {
|
466
483
|
var _a;
|
467
484
|
let currentRawResponse = undefined;
|
468
485
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
@@ -477,22 +494,26 @@ class ServicesImpl {
|
|
477
494
|
rawResponse: {
|
478
495
|
statusCode: currentRawResponse.status,
|
479
496
|
body: currentRawResponse.parsedBody,
|
480
|
-
headers: currentRawResponse.headers.toJSON()
|
481
|
-
}
|
497
|
+
headers: currentRawResponse.headers.toJSON(),
|
498
|
+
},
|
482
499
|
};
|
483
500
|
};
|
484
|
-
const lro =
|
485
|
-
|
486
|
-
|
487
|
-
|
501
|
+
const lro = (0, lroImpl_js_1.createLroSpec)({
|
502
|
+
sendOperationFn,
|
503
|
+
args: { groupName, serviceName, options },
|
504
|
+
spec: stopOperationSpec,
|
505
|
+
});
|
506
|
+
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
507
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
508
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
488
509
|
});
|
489
510
|
await poller.poll();
|
490
511
|
return poller;
|
491
512
|
}
|
492
513
|
/**
|
493
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
494
|
-
* action stops the service and the service cannot be used for data migration. The
|
495
|
-
* be billed when the service is stopped.
|
514
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
515
|
+
* (classic). This action stops the service and the service cannot be used for data migration. The
|
516
|
+
* service owner won't be billed when the service is stopped.
|
496
517
|
* @param groupName Name of the resource group
|
497
518
|
* @param serviceName Name of the service
|
498
519
|
* @param options The options parameters.
|
@@ -502,8 +523,8 @@ class ServicesImpl {
|
|
502
523
|
return poller.pollUntilDone();
|
503
524
|
}
|
504
525
|
/**
|
505
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
506
|
-
* skus action returns the list of SKUs that a service resource can be updated to.
|
526
|
+
* The services resource is the top-level resource that represents the Database Migration Service
|
527
|
+
* (classic). The skus action returns the list of SKUs that a service resource can be updated to.
|
507
528
|
* @param groupName Name of the resource group
|
508
529
|
* @param serviceName Name of the service
|
509
530
|
* @param options The options parameters.
|
@@ -522,8 +543,8 @@ class ServicesImpl {
|
|
522
543
|
return this.client.sendOperationRequest({ groupName, serviceName, parameters, options }, checkChildrenNameAvailabilityOperationSpec);
|
523
544
|
}
|
524
545
|
/**
|
525
|
-
* The Services resource is the top-level resource that represents the Database Migration Service
|
526
|
-
* method returns a list of service resources in a resource group.
|
546
|
+
* The Services resource is the top-level resource that represents the Azure Database Migration Service
|
547
|
+
* (classic). This method returns a list of service resources in a resource group.
|
527
548
|
* @param groupName Name of the resource group
|
528
549
|
* @param options The options parameters.
|
529
550
|
*/
|
@@ -531,8 +552,8 @@ class ServicesImpl {
|
|
531
552
|
return this.client.sendOperationRequest({ groupName, options }, listByResourceGroupOperationSpec);
|
532
553
|
}
|
533
554
|
/**
|
534
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
535
|
-
* method returns a list of service resources in a subscription.
|
555
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
556
|
+
* (classic). This method returns a list of service resources in a subscription.
|
536
557
|
* @param options The options parameters.
|
537
558
|
*/
|
538
559
|
_list(options) {
|
@@ -583,53 +604,53 @@ const createOrUpdateOperationSpec = {
|
|
583
604
|
httpMethod: "PUT",
|
584
605
|
responses: {
|
585
606
|
200: {
|
586
|
-
bodyMapper: Mappers.DataMigrationService
|
607
|
+
bodyMapper: Mappers.DataMigrationService,
|
587
608
|
},
|
588
609
|
201: {
|
589
|
-
bodyMapper: Mappers.DataMigrationService
|
610
|
+
bodyMapper: Mappers.DataMigrationService,
|
590
611
|
},
|
591
612
|
202: {
|
592
|
-
bodyMapper: Mappers.DataMigrationService
|
613
|
+
bodyMapper: Mappers.DataMigrationService,
|
593
614
|
},
|
594
615
|
204: {
|
595
|
-
bodyMapper: Mappers.DataMigrationService
|
616
|
+
bodyMapper: Mappers.DataMigrationService,
|
596
617
|
},
|
597
618
|
default: {
|
598
|
-
bodyMapper: Mappers.ApiError
|
599
|
-
}
|
619
|
+
bodyMapper: Mappers.ApiError,
|
620
|
+
},
|
600
621
|
},
|
601
|
-
requestBody: Parameters.
|
622
|
+
requestBody: Parameters.parameters11,
|
602
623
|
queryParameters: [Parameters.apiVersion],
|
603
624
|
urlParameters: [
|
604
625
|
Parameters.$host,
|
605
626
|
Parameters.subscriptionId,
|
606
627
|
Parameters.groupName,
|
607
|
-
Parameters.serviceName
|
628
|
+
Parameters.serviceName,
|
608
629
|
],
|
609
630
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
610
631
|
mediaType: "json",
|
611
|
-
serializer
|
632
|
+
serializer,
|
612
633
|
};
|
613
634
|
const getOperationSpec = {
|
614
635
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
615
636
|
httpMethod: "GET",
|
616
637
|
responses: {
|
617
638
|
200: {
|
618
|
-
bodyMapper: Mappers.DataMigrationService
|
639
|
+
bodyMapper: Mappers.DataMigrationService,
|
619
640
|
},
|
620
641
|
default: {
|
621
|
-
bodyMapper: Mappers.ApiError
|
622
|
-
}
|
642
|
+
bodyMapper: Mappers.ApiError,
|
643
|
+
},
|
623
644
|
},
|
624
645
|
queryParameters: [Parameters.apiVersion],
|
625
646
|
urlParameters: [
|
626
647
|
Parameters.$host,
|
627
648
|
Parameters.subscriptionId,
|
628
649
|
Parameters.groupName,
|
629
|
-
Parameters.serviceName
|
650
|
+
Parameters.serviceName,
|
630
651
|
],
|
631
652
|
headerParameters: [Parameters.accept],
|
632
|
-
serializer
|
653
|
+
serializer,
|
633
654
|
};
|
634
655
|
const deleteOperationSpec = {
|
635
656
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
@@ -640,71 +661,71 @@ const deleteOperationSpec = {
|
|
640
661
|
202: {},
|
641
662
|
204: {},
|
642
663
|
default: {
|
643
|
-
bodyMapper: Mappers.ApiError
|
644
|
-
}
|
664
|
+
bodyMapper: Mappers.ApiError,
|
665
|
+
},
|
645
666
|
},
|
646
667
|
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
647
668
|
urlParameters: [
|
648
669
|
Parameters.$host,
|
649
670
|
Parameters.subscriptionId,
|
650
671
|
Parameters.groupName,
|
651
|
-
Parameters.serviceName
|
672
|
+
Parameters.serviceName,
|
652
673
|
],
|
653
674
|
headerParameters: [Parameters.accept],
|
654
|
-
serializer
|
675
|
+
serializer,
|
655
676
|
};
|
656
677
|
const updateOperationSpec = {
|
657
678
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
658
679
|
httpMethod: "PATCH",
|
659
680
|
responses: {
|
660
681
|
200: {
|
661
|
-
bodyMapper: Mappers.DataMigrationService
|
682
|
+
bodyMapper: Mappers.DataMigrationService,
|
662
683
|
},
|
663
684
|
201: {
|
664
|
-
bodyMapper: Mappers.DataMigrationService
|
685
|
+
bodyMapper: Mappers.DataMigrationService,
|
665
686
|
},
|
666
687
|
202: {
|
667
|
-
bodyMapper: Mappers.DataMigrationService
|
688
|
+
bodyMapper: Mappers.DataMigrationService,
|
668
689
|
},
|
669
690
|
204: {
|
670
|
-
bodyMapper: Mappers.DataMigrationService
|
691
|
+
bodyMapper: Mappers.DataMigrationService,
|
671
692
|
},
|
672
693
|
default: {
|
673
|
-
bodyMapper: Mappers.ApiError
|
674
|
-
}
|
694
|
+
bodyMapper: Mappers.ApiError,
|
695
|
+
},
|
675
696
|
},
|
676
|
-
requestBody: Parameters.
|
697
|
+
requestBody: Parameters.parameters11,
|
677
698
|
queryParameters: [Parameters.apiVersion],
|
678
699
|
urlParameters: [
|
679
700
|
Parameters.$host,
|
680
701
|
Parameters.subscriptionId,
|
681
702
|
Parameters.groupName,
|
682
|
-
Parameters.serviceName
|
703
|
+
Parameters.serviceName,
|
683
704
|
],
|
684
705
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
685
706
|
mediaType: "json",
|
686
|
-
serializer
|
707
|
+
serializer,
|
687
708
|
};
|
688
709
|
const checkStatusOperationSpec = {
|
689
710
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus",
|
690
711
|
httpMethod: "POST",
|
691
712
|
responses: {
|
692
713
|
200: {
|
693
|
-
bodyMapper: Mappers.DataMigrationServiceStatusResponse
|
714
|
+
bodyMapper: Mappers.DataMigrationServiceStatusResponse,
|
694
715
|
},
|
695
716
|
default: {
|
696
|
-
bodyMapper: Mappers.ApiError
|
697
|
-
}
|
717
|
+
bodyMapper: Mappers.ApiError,
|
718
|
+
},
|
698
719
|
},
|
699
720
|
queryParameters: [Parameters.apiVersion],
|
700
721
|
urlParameters: [
|
701
722
|
Parameters.$host,
|
702
723
|
Parameters.subscriptionId,
|
703
724
|
Parameters.groupName,
|
704
|
-
Parameters.serviceName
|
725
|
+
Parameters.serviceName,
|
705
726
|
],
|
706
727
|
headerParameters: [Parameters.accept],
|
707
|
-
serializer
|
728
|
+
serializer,
|
708
729
|
};
|
709
730
|
const startOperationSpec = {
|
710
731
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start",
|
@@ -715,18 +736,18 @@ const startOperationSpec = {
|
|
715
736
|
202: {},
|
716
737
|
204: {},
|
717
738
|
default: {
|
718
|
-
bodyMapper: Mappers.ApiError
|
719
|
-
}
|
739
|
+
bodyMapper: Mappers.ApiError,
|
740
|
+
},
|
720
741
|
},
|
721
742
|
queryParameters: [Parameters.apiVersion],
|
722
743
|
urlParameters: [
|
723
744
|
Parameters.$host,
|
724
745
|
Parameters.subscriptionId,
|
725
746
|
Parameters.groupName,
|
726
|
-
Parameters.serviceName
|
747
|
+
Parameters.serviceName,
|
727
748
|
],
|
728
749
|
headerParameters: [Parameters.accept],
|
729
|
-
serializer
|
750
|
+
serializer,
|
730
751
|
};
|
731
752
|
const stopOperationSpec = {
|
732
753
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop",
|
@@ -737,182 +758,179 @@ const stopOperationSpec = {
|
|
737
758
|
202: {},
|
738
759
|
204: {},
|
739
760
|
default: {
|
740
|
-
bodyMapper: Mappers.ApiError
|
741
|
-
}
|
761
|
+
bodyMapper: Mappers.ApiError,
|
762
|
+
},
|
742
763
|
},
|
743
764
|
queryParameters: [Parameters.apiVersion],
|
744
765
|
urlParameters: [
|
745
766
|
Parameters.$host,
|
746
767
|
Parameters.subscriptionId,
|
747
768
|
Parameters.groupName,
|
748
|
-
Parameters.serviceName
|
769
|
+
Parameters.serviceName,
|
749
770
|
],
|
750
771
|
headerParameters: [Parameters.accept],
|
751
|
-
serializer
|
772
|
+
serializer,
|
752
773
|
};
|
753
774
|
const listSkusOperationSpec = {
|
754
775
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",
|
755
776
|
httpMethod: "GET",
|
756
777
|
responses: {
|
757
778
|
200: {
|
758
|
-
bodyMapper: Mappers.ServiceSkuList
|
779
|
+
bodyMapper: Mappers.ServiceSkuList,
|
759
780
|
},
|
760
781
|
default: {
|
761
|
-
bodyMapper: Mappers.ApiError
|
762
|
-
}
|
782
|
+
bodyMapper: Mappers.ApiError,
|
783
|
+
},
|
763
784
|
},
|
764
785
|
queryParameters: [Parameters.apiVersion],
|
765
786
|
urlParameters: [
|
766
787
|
Parameters.$host,
|
767
788
|
Parameters.subscriptionId,
|
768
789
|
Parameters.groupName,
|
769
|
-
Parameters.serviceName
|
790
|
+
Parameters.serviceName,
|
770
791
|
],
|
771
792
|
headerParameters: [Parameters.accept],
|
772
|
-
serializer
|
793
|
+
serializer,
|
773
794
|
};
|
774
795
|
const checkChildrenNameAvailabilityOperationSpec = {
|
775
796
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability",
|
776
797
|
httpMethod: "POST",
|
777
798
|
responses: {
|
778
799
|
200: {
|
779
|
-
bodyMapper: Mappers.NameAvailabilityResponse
|
800
|
+
bodyMapper: Mappers.NameAvailabilityResponse,
|
780
801
|
},
|
781
802
|
default: {
|
782
|
-
bodyMapper: Mappers.ApiError
|
783
|
-
}
|
803
|
+
bodyMapper: Mappers.ApiError,
|
804
|
+
},
|
784
805
|
},
|
785
|
-
requestBody: Parameters.
|
806
|
+
requestBody: Parameters.parameters12,
|
786
807
|
queryParameters: [Parameters.apiVersion],
|
787
808
|
urlParameters: [
|
788
809
|
Parameters.$host,
|
789
810
|
Parameters.subscriptionId,
|
790
811
|
Parameters.groupName,
|
791
|
-
Parameters.serviceName
|
812
|
+
Parameters.serviceName,
|
792
813
|
],
|
793
814
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
794
815
|
mediaType: "json",
|
795
|
-
serializer
|
816
|
+
serializer,
|
796
817
|
};
|
797
818
|
const listByResourceGroupOperationSpec = {
|
798
819
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",
|
799
820
|
httpMethod: "GET",
|
800
821
|
responses: {
|
801
822
|
200: {
|
802
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
823
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
803
824
|
},
|
804
825
|
default: {
|
805
|
-
bodyMapper: Mappers.ApiError
|
806
|
-
}
|
826
|
+
bodyMapper: Mappers.ApiError,
|
827
|
+
},
|
807
828
|
},
|
808
829
|
queryParameters: [Parameters.apiVersion],
|
809
830
|
urlParameters: [
|
810
831
|
Parameters.$host,
|
811
832
|
Parameters.subscriptionId,
|
812
|
-
Parameters.groupName
|
833
|
+
Parameters.groupName,
|
813
834
|
],
|
814
835
|
headerParameters: [Parameters.accept],
|
815
|
-
serializer
|
836
|
+
serializer,
|
816
837
|
};
|
817
838
|
const listOperationSpec = {
|
818
839
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",
|
819
840
|
httpMethod: "GET",
|
820
841
|
responses: {
|
821
842
|
200: {
|
822
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
843
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
823
844
|
},
|
824
845
|
default: {
|
825
|
-
bodyMapper: Mappers.ApiError
|
826
|
-
}
|
846
|
+
bodyMapper: Mappers.ApiError,
|
847
|
+
},
|
827
848
|
},
|
828
849
|
queryParameters: [Parameters.apiVersion],
|
829
850
|
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
830
851
|
headerParameters: [Parameters.accept],
|
831
|
-
serializer
|
852
|
+
serializer,
|
832
853
|
};
|
833
854
|
const checkNameAvailabilityOperationSpec = {
|
834
855
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability",
|
835
856
|
httpMethod: "POST",
|
836
857
|
responses: {
|
837
858
|
200: {
|
838
|
-
bodyMapper: Mappers.NameAvailabilityResponse
|
859
|
+
bodyMapper: Mappers.NameAvailabilityResponse,
|
839
860
|
},
|
840
861
|
default: {
|
841
|
-
bodyMapper: Mappers.ApiError
|
842
|
-
}
|
862
|
+
bodyMapper: Mappers.ApiError,
|
863
|
+
},
|
843
864
|
},
|
844
|
-
requestBody: Parameters.
|
865
|
+
requestBody: Parameters.parameters12,
|
845
866
|
queryParameters: [Parameters.apiVersion],
|
846
867
|
urlParameters: [
|
847
868
|
Parameters.$host,
|
848
869
|
Parameters.subscriptionId,
|
849
|
-
Parameters.location
|
870
|
+
Parameters.location,
|
850
871
|
],
|
851
872
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
852
873
|
mediaType: "json",
|
853
|
-
serializer
|
874
|
+
serializer,
|
854
875
|
};
|
855
876
|
const listSkusNextOperationSpec = {
|
856
877
|
path: "{nextLink}",
|
857
878
|
httpMethod: "GET",
|
858
879
|
responses: {
|
859
880
|
200: {
|
860
|
-
bodyMapper: Mappers.ServiceSkuList
|
881
|
+
bodyMapper: Mappers.ServiceSkuList,
|
861
882
|
},
|
862
883
|
default: {
|
863
|
-
bodyMapper: Mappers.ApiError
|
864
|
-
}
|
884
|
+
bodyMapper: Mappers.ApiError,
|
885
|
+
},
|
865
886
|
},
|
866
|
-
queryParameters: [Parameters.apiVersion],
|
867
887
|
urlParameters: [
|
868
888
|
Parameters.$host,
|
869
889
|
Parameters.subscriptionId,
|
870
890
|
Parameters.nextLink,
|
871
891
|
Parameters.groupName,
|
872
|
-
Parameters.serviceName
|
892
|
+
Parameters.serviceName,
|
873
893
|
],
|
874
894
|
headerParameters: [Parameters.accept],
|
875
|
-
serializer
|
895
|
+
serializer,
|
876
896
|
};
|
877
897
|
const listByResourceGroupNextOperationSpec = {
|
878
898
|
path: "{nextLink}",
|
879
899
|
httpMethod: "GET",
|
880
900
|
responses: {
|
881
901
|
200: {
|
882
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
902
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
883
903
|
},
|
884
904
|
default: {
|
885
|
-
bodyMapper: Mappers.ApiError
|
886
|
-
}
|
905
|
+
bodyMapper: Mappers.ApiError,
|
906
|
+
},
|
887
907
|
},
|
888
|
-
queryParameters: [Parameters.apiVersion],
|
889
908
|
urlParameters: [
|
890
909
|
Parameters.$host,
|
891
910
|
Parameters.subscriptionId,
|
892
911
|
Parameters.nextLink,
|
893
|
-
Parameters.groupName
|
912
|
+
Parameters.groupName,
|
894
913
|
],
|
895
914
|
headerParameters: [Parameters.accept],
|
896
|
-
serializer
|
915
|
+
serializer,
|
897
916
|
};
|
898
917
|
const listNextOperationSpec = {
|
899
918
|
path: "{nextLink}",
|
900
919
|
httpMethod: "GET",
|
901
920
|
responses: {
|
902
921
|
200: {
|
903
|
-
bodyMapper: Mappers.DataMigrationServiceList
|
922
|
+
bodyMapper: Mappers.DataMigrationServiceList,
|
904
923
|
},
|
905
924
|
default: {
|
906
|
-
bodyMapper: Mappers.ApiError
|
907
|
-
}
|
925
|
+
bodyMapper: Mappers.ApiError,
|
926
|
+
},
|
908
927
|
},
|
909
|
-
queryParameters: [Parameters.apiVersion],
|
910
928
|
urlParameters: [
|
911
929
|
Parameters.$host,
|
912
930
|
Parameters.subscriptionId,
|
913
|
-
Parameters.nextLink
|
931
|
+
Parameters.nextLink,
|
914
932
|
],
|
915
933
|
headerParameters: [Parameters.accept],
|
916
|
-
serializer
|
934
|
+
serializer,
|
917
935
|
};
|
918
936
|
//# sourceMappingURL=services.js.map
|