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