@azure/arm-datamigration 3.0.0-alpha.20250925.1 → 3.0.0-alpha.20251006.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/browser/dataMigrationManagementClient.js +8 -13
- package/dist/browser/dataMigrationManagementClient.js.map +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +4 -7
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +2 -7
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +120 -155
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +2 -7
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +8 -12
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +294 -490
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +3 -0
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +33 -8
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +3 -8
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +3 -8
- package/dist/browser/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/browser/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlDb.js +103 -13
- package/dist/browser/operations/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/browser/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlMi.js +93 -13
- package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operations/databaseMigrationsSqlVm.js +93 -13
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.d.ts.map +1 -1
- package/dist/browser/operations/files.js +2 -7
- package/dist/browser/operations/files.js.map +1 -1
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +4 -7
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/migrationServices.d.ts.map +1 -1
- package/dist/browser/operations/migrationServices.js +5 -18
- package/dist/browser/operations/migrationServices.js.map +1 -1
- package/dist/browser/operations/operations.d.ts.map +1 -1
- package/dist/browser/operations/operations.js +2 -7
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.d.ts.map +1 -1
- package/dist/browser/operations/projects.js +2 -7
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operations/resourceSkus.js +3 -12
- package/dist/browser/operations/resourceSkus.js.map +1 -1
- package/dist/browser/operations/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operations/serviceTasks.js +2 -7
- package/dist/browser/operations/serviceTasks.js.map +1 -1
- package/dist/browser/operations/services.d.ts.map +1 -1
- package/dist/browser/operations/services.js +6 -23
- package/dist/browser/operations/services.js.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operations/sqlMigrationServices.js +5 -18
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts.map +1 -1
- package/dist/browser/operations/tasks.js +2 -7
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts.map +1 -1
- package/dist/browser/operations/usages.js +3 -12
- package/dist/browser/operations/usages.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
- package/dist/browser/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
- package/dist/browser/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operationsInterfaces/files.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/files.js +2 -7
- package/dist/browser/operationsInterfaces/files.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +4 -7
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/operationsInterfaces/migrationServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/migrationServices.js +2 -7
- package/dist/browser/operationsInterfaces/migrationServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js +2 -7
- package/dist/browser/operationsInterfaces/operations.js.map +1 -1
- package/dist/browser/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/projects.js +2 -7
- package/dist/browser/operationsInterfaces/projects.js.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/browser/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/serviceTasks.js +2 -7
- package/dist/browser/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/services.js +2 -7
- package/dist/browser/operationsInterfaces/services.js.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/sqlMigrationServices.js +2 -7
- package/dist/browser/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/tasks.js +2 -7
- package/dist/browser/operationsInterfaces/tasks.js.map +1 -1
- package/dist/browser/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/usages.js +2 -7
- package/dist/browser/operationsInterfaces/usages.js.map +1 -1
- package/dist/browser/pagingHelper.d.ts.map +1 -1
- package/dist/browser/pagingHelper.js +2 -7
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.js +8 -13
- package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +4 -7
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/lroImpl.d.ts.map +1 -1
- package/dist/commonjs/lroImpl.js +2 -7
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +120 -155
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +2 -7
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +8 -12
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +301 -497
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +3 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +34 -9
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
- package/dist/commonjs/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/commonjs/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js +102 -12
- package/dist/commonjs/operations/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/commonjs/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js +92 -12
- package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js +92 -12
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.d.ts.map +1 -1
- package/dist/commonjs/operations/files.js +2 -7
- package/dist/commonjs/operations/files.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +4 -7
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/migrationServices.d.ts.map +1 -1
- package/dist/commonjs/operations/migrationServices.js +4 -17
- package/dist/commonjs/operations/migrationServices.js.map +1 -1
- package/dist/commonjs/operations/operations.d.ts.map +1 -1
- package/dist/commonjs/operations/operations.js +2 -7
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.d.ts.map +1 -1
- package/dist/commonjs/operations/projects.js +2 -7
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operations/resourceSkus.js +3 -12
- package/dist/commonjs/operations/resourceSkus.js.map +1 -1
- package/dist/commonjs/operations/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operations/serviceTasks.js +2 -7
- package/dist/commonjs/operations/serviceTasks.js.map +1 -1
- package/dist/commonjs/operations/services.d.ts.map +1 -1
- package/dist/commonjs/operations/services.js +5 -22
- package/dist/commonjs/operations/services.js.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operations/sqlMigrationServices.js +4 -17
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts.map +1 -1
- package/dist/commonjs/operations/tasks.js +2 -7
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts.map +1 -1
- package/dist/commonjs/operations/usages.js +3 -12
- package/dist/commonjs/operations/usages.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
- package/dist/commonjs/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
- package/dist/commonjs/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/files.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/files.js +2 -7
- package/dist/commonjs/operationsInterfaces/files.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +4 -7
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrationServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/migrationServices.js +2 -7
- package/dist/commonjs/operationsInterfaces/migrationServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/operations.js +2 -7
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/projects.js +2 -7
- package/dist/commonjs/operationsInterfaces/projects.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/commonjs/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/serviceTasks.js +2 -7
- package/dist/commonjs/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/services.js +2 -7
- package/dist/commonjs/operationsInterfaces/services.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js +2 -7
- package/dist/commonjs/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/tasks.js +2 -7
- package/dist/commonjs/operationsInterfaces/tasks.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/usages.js +2 -7
- package/dist/commonjs/operationsInterfaces/usages.js.map +1 -1
- package/dist/commonjs/pagingHelper.d.ts.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -7
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +1 -1
- package/dist/esm/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/esm/dataMigrationManagementClient.js +8 -13
- package/dist/esm/dataMigrationManagementClient.js.map +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lroImpl.d.ts.map +1 -1
- package/dist/esm/lroImpl.js +2 -7
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +120 -155
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +2 -7
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +8 -12
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +294 -490
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +3 -0
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +33 -8
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +3 -8
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +3 -8
- package/dist/esm/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/esm/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlDb.js +103 -13
- package/dist/esm/operations/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/esm/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlMi.js +93 -13
- package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operations/databaseMigrationsSqlVm.js +93 -13
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.d.ts.map +1 -1
- package/dist/esm/operations/files.js +2 -7
- package/dist/esm/operations/files.js.map +1 -1
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +4 -7
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/migrationServices.d.ts.map +1 -1
- package/dist/esm/operations/migrationServices.js +5 -18
- package/dist/esm/operations/migrationServices.js.map +1 -1
- package/dist/esm/operations/operations.d.ts.map +1 -1
- package/dist/esm/operations/operations.js +2 -7
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.d.ts.map +1 -1
- package/dist/esm/operations/projects.js +2 -7
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operations/resourceSkus.js +3 -12
- package/dist/esm/operations/resourceSkus.js.map +1 -1
- package/dist/esm/operations/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operations/serviceTasks.js +2 -7
- package/dist/esm/operations/serviceTasks.js.map +1 -1
- package/dist/esm/operations/services.d.ts.map +1 -1
- package/dist/esm/operations/services.js +6 -23
- package/dist/esm/operations/services.js.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operations/sqlMigrationServices.js +5 -18
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts.map +1 -1
- package/dist/esm/operations/tasks.js +2 -7
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts.map +1 -1
- package/dist/esm/operations/usages.js +3 -12
- package/dist/esm/operations/usages.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
- package/dist/esm/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
- package/dist/esm/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operationsInterfaces/files.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/files.js +2 -7
- package/dist/esm/operationsInterfaces/files.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +4 -7
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/operationsInterfaces/migrationServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/migrationServices.js +2 -7
- package/dist/esm/operationsInterfaces/migrationServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/operations.js +2 -7
- package/dist/esm/operationsInterfaces/operations.js.map +1 -1
- package/dist/esm/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/projects.js +2 -7
- package/dist/esm/operationsInterfaces/projects.js.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/esm/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/serviceTasks.js +2 -7
- package/dist/esm/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/services.js +2 -7
- package/dist/esm/operationsInterfaces/services.js.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/sqlMigrationServices.js +2 -7
- package/dist/esm/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/tasks.js +2 -7
- package/dist/esm/operationsInterfaces/tasks.js.map +1 -1
- package/dist/esm/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/usages.js +2 -7
- package/dist/esm/operationsInterfaces/usages.js.map +1 -1
- package/dist/esm/pagingHelper.d.ts.map +1 -1
- package/dist/esm/pagingHelper.js +2 -7
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.js +8 -13
- package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
- package/dist/react-native/index.d.ts.map +1 -1
- package/dist/react-native/index.js +4 -7
- package/dist/react-native/index.js.map +1 -1
- package/dist/react-native/lroImpl.d.ts.map +1 -1
- package/dist/react-native/lroImpl.js +2 -7
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +120 -155
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +2 -7
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +8 -12
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +294 -490
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +3 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +33 -8
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js +3 -8
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js +3 -8
- package/dist/react-native/operations/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/react-native/operations/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlDb.js +103 -13
- package/dist/react-native/operations/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/react-native/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlMi.js +93 -13
- package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operations/databaseMigrationsSqlVm.js +93 -13
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.d.ts.map +1 -1
- package/dist/react-native/operations/files.js +2 -7
- package/dist/react-native/operations/files.js.map +1 -1
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +4 -7
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/migrationServices.d.ts.map +1 -1
- package/dist/react-native/operations/migrationServices.js +5 -18
- package/dist/react-native/operations/migrationServices.js.map +1 -1
- package/dist/react-native/operations/operations.d.ts.map +1 -1
- package/dist/react-native/operations/operations.js +2 -7
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.d.ts.map +1 -1
- package/dist/react-native/operations/projects.js +2 -7
- package/dist/react-native/operations/projects.js.map +1 -1
- package/dist/react-native/operations/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operations/resourceSkus.js +3 -12
- package/dist/react-native/operations/resourceSkus.js.map +1 -1
- package/dist/react-native/operations/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operations/serviceTasks.js +2 -7
- package/dist/react-native/operations/serviceTasks.js.map +1 -1
- package/dist/react-native/operations/services.d.ts.map +1 -1
- package/dist/react-native/operations/services.js +6 -23
- package/dist/react-native/operations/services.js.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operations/sqlMigrationServices.js +5 -18
- package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operations/tasks.d.ts.map +1 -1
- package/dist/react-native/operations/tasks.js +2 -7
- package/dist/react-native/operations/tasks.js.map +1 -1
- package/dist/react-native/operations/usages.d.ts.map +1 -1
- package/dist/react-native/operations/usages.js +3 -12
- package/dist/react-native/operations/usages.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js +2 -7
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbRUMongo.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js +2 -7
- package/dist/react-native/operationsInterfaces/databaseMigrationsMongoToCosmosDbvCoreMongo.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts +21 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js +2 -7
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlDb.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts +19 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js +2 -7
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts +19 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js +2 -7
- package/dist/react-native/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operationsInterfaces/files.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/files.js +2 -7
- package/dist/react-native/operationsInterfaces/files.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +4 -7
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/operationsInterfaces/migrationServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/migrationServices.js +2 -7
- package/dist/react-native/operationsInterfaces/migrationServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/operations.js +2 -7
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/projects.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/projects.js +2 -7
- package/dist/react-native/operationsInterfaces/projects.js.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/resourceSkus.js +2 -7
- package/dist/react-native/operationsInterfaces/resourceSkus.js.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/serviceTasks.js +2 -7
- package/dist/react-native/operationsInterfaces/serviceTasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/services.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/services.js +2 -7
- package/dist/react-native/operationsInterfaces/services.js.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.js +2 -7
- package/dist/react-native/operationsInterfaces/sqlMigrationServices.js.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/tasks.js +2 -7
- package/dist/react-native/operationsInterfaces/tasks.js.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/usages.js +2 -7
- package/dist/react-native/operationsInterfaces/usages.js.map +1 -1
- package/dist/react-native/pagingHelper.d.ts.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -7
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +31 -30
package/README.md
CHANGED
@@ -6,7 +6,7 @@ Data Migration Client
|
|
6
6
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datamigration/arm-datamigration) |
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-datamigration) |
|
9
|
-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-datamigration
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-datamigration) |
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
11
11
|
|
12
12
|
## Getting started
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAGjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAkB7C,OAAO,EACL,wCAAwC,EACxC,2CAA2C,EAC3C,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,QAAQ,EACR,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,KAAK,EACN,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,2CAA2C,EAAE,MAAM,mBAAmB,CAAC;AAEhF,qBAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,2CAA2C;IAyFvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IAwBjC,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,2CAA2C,EAAE,2CAA2C,CAAC;IACzF,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC;IACvB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd"}
|
@@ -1,10 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT License.
|
3
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
4
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
5
|
import * as coreClient from "@azure/core-client";
|
9
6
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
10
7
|
import { DatabaseMigrationsMongoToCosmosDbRUMongoImpl, DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl, DatabaseMigrationsSqlDbImpl, DatabaseMigrationsSqlMiImpl, DatabaseMigrationsSqlVmImpl, OperationsImpl, MigrationServicesImpl, SqlMigrationServicesImpl, ResourceSkusImpl, ServicesImpl, TasksImpl, ServiceTasksImpl, ProjectsImpl, UsagesImpl, FilesImpl, } from "./operations/index.js";
|
@@ -33,7 +30,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
33
30
|
requestContentType: "application/json; charset=utf-8",
|
34
31
|
credential: credentials,
|
35
32
|
};
|
36
|
-
const packageDetails = `azsdk-js-arm-datamigration/3.0.0
|
33
|
+
const packageDetails = `azsdk-js-arm-datamigration/3.0.0`;
|
37
34
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
38
35
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
39
36
|
: `${packageDetails}`;
|
@@ -49,8 +46,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
49
46
|
let bearerTokenAuthenticationPolicyFound = false;
|
50
47
|
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
51
48
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
52
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
53
|
-
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
49
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
54
50
|
}
|
55
51
|
if (!options ||
|
56
52
|
!options.pipeline ||
|
@@ -61,8 +57,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
61
57
|
});
|
62
58
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
63
59
|
credential: credentials,
|
64
|
-
scopes: optionsWithDefaults.credentialScopes ??
|
65
|
-
`${optionsWithDefaults.endpoint}/.default`,
|
60
|
+
scopes: optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,
|
66
61
|
challengeCallbacks: {
|
67
62
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
68
63
|
},
|
@@ -72,7 +67,7 @@ export class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
72
67
|
this.subscriptionId = subscriptionId;
|
73
68
|
// Assigning values to Constant parameters
|
74
69
|
this.$host = options.$host || "https://management.azure.com";
|
75
|
-
this.apiVersion = options.apiVersion || "2025-
|
70
|
+
this.apiVersion = options.apiVersion || "2025-06-30";
|
76
71
|
this.databaseMigrationsMongoToCosmosDbRUMongo =
|
77
72
|
new DatabaseMigrationsMongoToCosmosDbRUMongoImpl(this);
|
78
73
|
this.databaseMigrationsMongoToCosmosDbvCoreMongo =
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,4CAA4C,EAC5C,+CAA+C,EAC/C,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,EAC3B,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAoB/B,MAAM,OAAO,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAqD;QAErD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAA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,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,wCAAwC,CAA2C;IACnF,2CAA2C,CAA8C;IACzF,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,iBAAiB,CAAoB;IACrC,oBAAoB,CAAuB;IAC3C,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,KAAK,CAAQ;IACb,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,MAAM,CAAS;IACf,KAAK,CAAQ;CACd","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DatabaseMigrationsMongoToCosmosDbRUMongoImpl,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl,\n DatabaseMigrationsSqlDbImpl,\n DatabaseMigrationsSqlMiImpl,\n DatabaseMigrationsSqlVmImpl,\n OperationsImpl,\n MigrationServicesImpl,\n SqlMigrationServicesImpl,\n ResourceSkusImpl,\n ServicesImpl,\n TasksImpl,\n ServiceTasksImpl,\n ProjectsImpl,\n UsagesImpl,\n FilesImpl,\n} from \"./operations/index.js\";\nimport {\n DatabaseMigrationsMongoToCosmosDbRUMongo,\n DatabaseMigrationsMongoToCosmosDbvCoreMongo,\n DatabaseMigrationsSqlDb,\n DatabaseMigrationsSqlMi,\n DatabaseMigrationsSqlVm,\n Operations,\n MigrationServices,\n SqlMigrationServices,\n ResourceSkus,\n Services,\n Tasks,\n ServiceTasks,\n Projects,\n Usages,\n Files,\n} from \"./operationsInterfaces/index.js\";\nimport { DataMigrationManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DataMigrationManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DataMigrationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription ID that identifies an Azure subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DataMigrationManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DataMigrationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-03-15-preview\";\n this.databaseMigrationsMongoToCosmosDbRUMongo =\n new DatabaseMigrationsMongoToCosmosDbRUMongoImpl(this);\n this.databaseMigrationsMongoToCosmosDbvCoreMongo =\n new DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl(this);\n this.databaseMigrationsSqlDb = new DatabaseMigrationsSqlDbImpl(this);\n this.databaseMigrationsSqlMi = new DatabaseMigrationsSqlMiImpl(this);\n this.databaseMigrationsSqlVm = new DatabaseMigrationsSqlVmImpl(this);\n this.operations = new OperationsImpl(this);\n this.migrationServices = new MigrationServicesImpl(this);\n this.sqlMigrationServices = new SqlMigrationServicesImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.services = new ServicesImpl(this);\n this.tasks = new TasksImpl(this);\n this.serviceTasks = new ServiceTasksImpl(this);\n this.projects = new ProjectsImpl(this);\n this.usages = new UsagesImpl(this);\n this.files = new FilesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n databaseMigrationsMongoToCosmosDbRUMongo: DatabaseMigrationsMongoToCosmosDbRUMongo;\n databaseMigrationsMongoToCosmosDbvCoreMongo: DatabaseMigrationsMongoToCosmosDbvCoreMongo;\n databaseMigrationsSqlDb: DatabaseMigrationsSqlDb;\n databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;\n databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;\n operations: Operations;\n migrationServices: MigrationServices;\n sqlMigrationServices: SqlMigrationServices;\n resourceSkus: ResourceSkus;\n services: Services;\n tasks: Tasks;\n serviceTasks: ServiceTasks;\n projects: Projects;\n usages: Usages;\n files: Files;\n}\n"]}
|
1
|
+
{"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAG9D,OAAO,EACL,4CAA4C,EAC5C,+CAA+C,EAC/C,2BAA2B,EAC3B,2BAA2B,EAC3B,2BAA2B,EAC3B,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,SAAS,GACV,MAAM,uBAAuB,CAAC;AAoB/B,MAAM,OAAO,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IACzE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAA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,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,wCAAwC,CAA2C;IACnF,2CAA2C,CAA8C;IACzF,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,uBAAuB,CAA0B;IACjD,UAAU,CAAa;IACvB,iBAAiB,CAAoB;IACrC,oBAAoB,CAAuB;IAC3C,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,KAAK,CAAQ;IACb,YAAY,CAAe;IAC3B,QAAQ,CAAW;IACnB,MAAM,CAAS;IACf,KAAK,CAAQ;CACd","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport { PipelineRequest, PipelineResponse, SendRequest } from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n DatabaseMigrationsMongoToCosmosDbRUMongoImpl,\n DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl,\n DatabaseMigrationsSqlDbImpl,\n DatabaseMigrationsSqlMiImpl,\n DatabaseMigrationsSqlVmImpl,\n OperationsImpl,\n MigrationServicesImpl,\n SqlMigrationServicesImpl,\n ResourceSkusImpl,\n ServicesImpl,\n TasksImpl,\n ServiceTasksImpl,\n ProjectsImpl,\n UsagesImpl,\n FilesImpl,\n} from \"./operations/index.js\";\nimport {\n DatabaseMigrationsMongoToCosmosDbRUMongo,\n DatabaseMigrationsMongoToCosmosDbvCoreMongo,\n DatabaseMigrationsSqlDb,\n DatabaseMigrationsSqlMi,\n DatabaseMigrationsSqlVm,\n Operations,\n MigrationServices,\n SqlMigrationServices,\n ResourceSkus,\n Services,\n Tasks,\n ServiceTasks,\n Projects,\n Usages,\n Files,\n} from \"./operationsInterfaces/index.js\";\nimport { DataMigrationManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class DataMigrationManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the DataMigrationManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription ID that identifies an Azure subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: DataMigrationManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: DataMigrationManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-datamigration/3.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint: options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name === coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ?? `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2025-06-30\";\n this.databaseMigrationsMongoToCosmosDbRUMongo =\n new DatabaseMigrationsMongoToCosmosDbRUMongoImpl(this);\n this.databaseMigrationsMongoToCosmosDbvCoreMongo =\n new DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl(this);\n this.databaseMigrationsSqlDb = new DatabaseMigrationsSqlDbImpl(this);\n this.databaseMigrationsSqlMi = new DatabaseMigrationsSqlMiImpl(this);\n this.databaseMigrationsSqlVm = new DatabaseMigrationsSqlVmImpl(this);\n this.operations = new OperationsImpl(this);\n this.migrationServices = new MigrationServicesImpl(this);\n this.sqlMigrationServices = new SqlMigrationServicesImpl(this);\n this.resourceSkus = new ResourceSkusImpl(this);\n this.services = new ServicesImpl(this);\n this.tasks = new TasksImpl(this);\n this.serviceTasks = new ServiceTasksImpl(this);\n this.projects = new ProjectsImpl(this);\n this.usages = new UsagesImpl(this);\n this.files = new FilesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(request: PipelineRequest, next: SendRequest): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n databaseMigrationsMongoToCosmosDbRUMongo: DatabaseMigrationsMongoToCosmosDbRUMongo;\n databaseMigrationsMongoToCosmosDbvCoreMongo: DatabaseMigrationsMongoToCosmosDbvCoreMongo;\n databaseMigrationsSqlDb: DatabaseMigrationsSqlDb;\n databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;\n databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;\n operations: Operations;\n migrationServices: MigrationServices;\n sqlMigrationServices: SqlMigrationServices;\n resourceSkus: ResourceSkus;\n services: Services;\n tasks: Tasks;\n serviceTasks: ServiceTasks;\n projects: Projects;\n usages: Usages;\n files: Files;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC"}
|
package/dist/browser/index.js
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT License.
|
3
|
+
// Code generated by Microsoft (R) AutoRest Code Generator.
|
4
|
+
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
5
|
/// <reference lib="esnext.asynciterable" />
|
9
6
|
export { getContinuationToken } from "./pagingHelper.js";
|
10
7
|
export * from "./models/index.js";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,2DAA2D;AAC3D,oFAAoF;AAEpF,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,cAAc,iCAAiC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { DataMigrationManagementClient } from \"./dataMigrationManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAgB1B"}
|
package/dist/browser/lroImpl.js
CHANGED
@@ -1,10 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
2
|
+
// Licensed under the MIT License.
|
8
3
|
export function createLroSpec(inputs) {
|
9
4
|
const { args, spec, sendOperationFn } = inputs;
|
10
5
|
return {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CAAC,IAAY,EAAE,OAA2C,EAAE,EAAE;YAC7E,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n// Code generated by Microsoft (R) AutoRest Code Generator.\n// Changes may cause incorrect behavior and will be lost if the code is regenerated.\n\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (path: string, options?: { abortSignal?: AbortSignalLike }) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
|
@@ -322,29 +322,6 @@ export interface SqlDbOfflineConfiguration {
|
|
322
322
|
*/
|
323
323
|
readonly offline?: boolean;
|
324
324
|
}
|
325
|
-
export interface ProxyResourceAutoGenerated {
|
326
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
327
|
-
readonly id?: string;
|
328
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
329
|
-
readonly name?: string;
|
330
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
331
|
-
readonly type?: string;
|
332
|
-
/**
|
333
|
-
* Metadata pertaining to creation and last modification of the resource.
|
334
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
335
|
-
*/
|
336
|
-
readonly systemData?: SystemDataAutoGenerated;
|
337
|
-
}
|
338
|
-
export interface SystemDataAutoGenerated {
|
339
|
-
createdBy?: string;
|
340
|
-
/** The type of identity that created the resource. */
|
341
|
-
createdByType?: CreatedByType;
|
342
|
-
createdAt?: Date;
|
343
|
-
lastModifiedBy?: string;
|
344
|
-
/** The type of identity that created the resource. */
|
345
|
-
lastModifiedByType?: CreatedByType;
|
346
|
-
lastModifiedAt?: Date;
|
347
|
-
}
|
348
325
|
/** Migration Operation Input */
|
349
326
|
export interface MigrationOperationInput {
|
350
327
|
/** ID tracking migration operation. */
|
@@ -664,21 +641,6 @@ export interface DatabaseMigrationBaseListResult {
|
|
664
641
|
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
665
642
|
readonly nextLink?: string;
|
666
643
|
}
|
667
|
-
export interface TrackedResourceAutoGenerated {
|
668
|
-
location?: string;
|
669
|
-
/** Dictionary of <string> */
|
670
|
-
tags?: {
|
671
|
-
[propertyName: string]: string;
|
672
|
-
};
|
673
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
674
|
-
readonly id?: string;
|
675
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
676
|
-
readonly name?: string;
|
677
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
678
|
-
readonly type?: string;
|
679
|
-
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
680
|
-
readonly systemData?: SystemDataAutoGenerated;
|
681
|
-
}
|
682
644
|
/** An update to a SQL Migration Service. */
|
683
645
|
export interface SqlMigrationServiceUpdate {
|
684
646
|
/** Dictionary of <string> */
|
@@ -935,7 +897,7 @@ export interface ApiError {
|
|
935
897
|
* Metadata pertaining to creation and last modification of the resource.
|
936
898
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
937
899
|
*/
|
938
|
-
readonly systemData?:
|
900
|
+
readonly systemData?: SystemData;
|
939
901
|
}
|
940
902
|
/** Error information in OData format. */
|
941
903
|
export interface ODataError {
|
@@ -1056,24 +1018,6 @@ export interface CommandProperties {
|
|
1056
1018
|
*/
|
1057
1019
|
readonly state?: CommandState;
|
1058
1020
|
}
|
1059
|
-
/** ARM resource. */
|
1060
|
-
export interface ResourceAutoGenerated {
|
1061
|
-
/**
|
1062
|
-
* Resource ID.
|
1063
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1064
|
-
*/
|
1065
|
-
readonly id?: string;
|
1066
|
-
/**
|
1067
|
-
* Resource name.
|
1068
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1069
|
-
*/
|
1070
|
-
readonly name?: string;
|
1071
|
-
/**
|
1072
|
-
* Resource type.
|
1073
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1074
|
-
*/
|
1075
|
-
readonly type?: string;
|
1076
|
-
}
|
1077
1021
|
/** A resource type and proposed name */
|
1078
1022
|
export interface NameAvailabilityRequest {
|
1079
1023
|
/** The proposed resource name */
|
@@ -3207,84 +3151,19 @@ export interface TrackedResource extends Resource {
|
|
3207
3151
|
/** The geo-location where the resource lives */
|
3208
3152
|
location: string;
|
3209
3153
|
}
|
3210
|
-
/**
|
3211
|
-
export interface
|
3212
|
-
/**
|
3213
|
-
properties?: DatabaseMigrationPropertiesSqlDb;
|
3214
|
-
}
|
3215
|
-
/** Database Migration Resource for SQL Managed Instance. */
|
3216
|
-
export interface DatabaseMigrationSqlMi extends ProxyResourceAutoGenerated {
|
3217
|
-
/** Database Migration Resource properties for SQL Managed Instance. */
|
3218
|
-
properties?: DatabaseMigrationPropertiesSqlMi;
|
3219
|
-
}
|
3220
|
-
/** Database Migration Resource for SQL Virtual Machine. */
|
3221
|
-
export interface DatabaseMigrationSqlVm extends ProxyResourceAutoGenerated {
|
3222
|
-
/** Database Migration Resource properties for SQL Virtual Machine. */
|
3223
|
-
properties?: DatabaseMigrationPropertiesSqlVm;
|
3224
|
-
}
|
3225
|
-
/** A SQL Migration Service. */
|
3226
|
-
export interface SqlMigrationService extends TrackedResourceAutoGenerated {
|
3227
|
-
/**
|
3228
|
-
* Provisioning state to track the async operation status.
|
3229
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3230
|
-
*/
|
3231
|
-
readonly provisioningState?: string;
|
3232
|
-
/**
|
3233
|
-
* Current state of the Integration runtime.
|
3234
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3235
|
-
*/
|
3236
|
-
readonly integrationRuntimeState?: string;
|
3237
|
-
}
|
3238
|
-
/** An Azure Database Migration Service (classic) resource */
|
3239
|
-
export interface DataMigrationService extends TrackedResourceAutoGenerated {
|
3240
|
-
/** HTTP strong entity tag value. Ignored if submitted */
|
3154
|
+
/** A task resource */
|
3155
|
+
export interface ProjectTask extends Resource {
|
3156
|
+
/** HTTP strong entity tag value. This is ignored if submitted. */
|
3241
3157
|
etag?: string;
|
3242
|
-
/**
|
3243
|
-
|
3244
|
-
/** Service SKU */
|
3245
|
-
sku?: ServiceSku;
|
3246
|
-
/**
|
3247
|
-
* The resource's provisioning state
|
3248
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3249
|
-
*/
|
3250
|
-
readonly provisioningState?: ServiceProvisioningState;
|
3251
|
-
/** The public key of the service, used to encrypt secrets sent to the service */
|
3252
|
-
publicKey?: string;
|
3253
|
-
/** The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined */
|
3254
|
-
virtualSubnetId?: string;
|
3255
|
-
/** The ID of the Microsoft.Network/networkInterfaces resource which the service have */
|
3256
|
-
virtualNicId?: string;
|
3257
|
-
/** The time delay before the service is auto-stopped when idle. */
|
3258
|
-
autoStopDelay?: string;
|
3259
|
-
/** Whether service resources should be deleted when stopped. (Turned on by default) */
|
3260
|
-
deleteResourcesOnStop?: boolean;
|
3158
|
+
/** Custom task properties */
|
3159
|
+
properties?: ProjectTaskPropertiesUnion;
|
3261
3160
|
}
|
3262
|
-
/** A
|
3263
|
-
export interface
|
3161
|
+
/** A file resource */
|
3162
|
+
export interface ProjectFile extends Resource {
|
3264
3163
|
/** HTTP strong entity tag value. This is ignored if submitted. */
|
3265
3164
|
etag?: string;
|
3266
|
-
/**
|
3267
|
-
|
3268
|
-
/** Field that defines the Azure active directory application info, used to connect to the target Azure resource */
|
3269
|
-
azureAuthenticationInfo?: AzureActiveDirectoryApp;
|
3270
|
-
/** Target platform for the project */
|
3271
|
-
targetPlatform?: ProjectTargetPlatform;
|
3272
|
-
/**
|
3273
|
-
* UTC Date and time when project was created
|
3274
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3275
|
-
*/
|
3276
|
-
readonly creationTime?: Date;
|
3277
|
-
/** Information for connecting to source */
|
3278
|
-
sourceConnectionInfo?: ConnectionInfoUnion;
|
3279
|
-
/** Information for connecting to target */
|
3280
|
-
targetConnectionInfo?: ConnectionInfoUnion;
|
3281
|
-
/** List of DatabaseInfo */
|
3282
|
-
databasesInfo?: DatabaseInfo[];
|
3283
|
-
/**
|
3284
|
-
* The project's provisioning state
|
3285
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3286
|
-
*/
|
3287
|
-
readonly provisioningState?: ProjectProvisioningState;
|
3165
|
+
/** Custom file properties */
|
3166
|
+
properties?: ProjectFileProperties;
|
3288
3167
|
}
|
3289
3168
|
/** Properties for task that migrates Schema for SQL Server databases to Azure SQL databases */
|
3290
3169
|
export interface MigrateSchemaSqlServerSqlDbTaskProperties extends ProjectTaskProperties {
|
@@ -3824,30 +3703,6 @@ export interface MongoDbRestartCommand extends CommandProperties {
|
|
3824
3703
|
/** Command input */
|
3825
3704
|
input?: MongoDbCommandInput;
|
3826
3705
|
}
|
3827
|
-
/** A task resource */
|
3828
|
-
export interface ProjectTask extends ResourceAutoGenerated {
|
3829
|
-
/** HTTP strong entity tag value. This is ignored if submitted. */
|
3830
|
-
etag?: string;
|
3831
|
-
/** Custom task properties */
|
3832
|
-
properties?: ProjectTaskPropertiesUnion;
|
3833
|
-
/**
|
3834
|
-
* Metadata pertaining to creation and last modification of the resource.
|
3835
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3836
|
-
*/
|
3837
|
-
readonly systemData?: SystemDataAutoGenerated;
|
3838
|
-
}
|
3839
|
-
/** A file resource */
|
3840
|
-
export interface ProjectFile extends ResourceAutoGenerated {
|
3841
|
-
/** HTTP strong entity tag value. This is ignored if submitted. */
|
3842
|
-
etag?: string;
|
3843
|
-
/** Custom file properties */
|
3844
|
-
properties?: ProjectFileProperties;
|
3845
|
-
/**
|
3846
|
-
* Metadata pertaining to creation and last modification of the resource.
|
3847
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
3848
|
-
*/
|
3849
|
-
readonly systemData?: SystemDataAutoGenerated;
|
3850
|
-
}
|
3851
3706
|
/** Describes a connection to a MongoDB data source */
|
3852
3707
|
export interface MongoDbConnectionInfo extends ConnectionInfo {
|
3853
3708
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
@@ -6119,6 +5974,21 @@ export interface DatabaseMigrationCosmosDbMongo extends ProxyResource {
|
|
6119
5974
|
/** List of Mongo Collections to be migrated. */
|
6120
5975
|
collectionList?: MongoMigrationCollection[];
|
6121
5976
|
}
|
5977
|
+
/** Database Migration Resource for SQL Database. */
|
5978
|
+
export interface DatabaseMigrationSqlDb extends ProxyResource {
|
5979
|
+
/** Database Migration Resource properties for SQL database. */
|
5980
|
+
properties?: DatabaseMigrationPropertiesSqlDb;
|
5981
|
+
}
|
5982
|
+
/** Database Migration Resource for SQL Managed Instance. */
|
5983
|
+
export interface DatabaseMigrationSqlMi extends ProxyResource {
|
5984
|
+
/** Database Migration Resource properties for SQL Managed Instance. */
|
5985
|
+
properties?: DatabaseMigrationPropertiesSqlMi;
|
5986
|
+
}
|
5987
|
+
/** Database Migration Resource for SQL Virtual Machine. */
|
5988
|
+
export interface DatabaseMigrationSqlVm extends ProxyResource {
|
5989
|
+
/** Database Migration Resource properties for SQL Virtual Machine. */
|
5990
|
+
properties?: DatabaseMigrationPropertiesSqlVm;
|
5991
|
+
}
|
6122
5992
|
/** Database Migration Resource. */
|
6123
5993
|
export interface DatabaseMigrationBase extends ProxyResource {
|
6124
5994
|
/** Database Migration Base Resource properties. */
|
@@ -6142,6 +6012,70 @@ export interface MigrationService extends TrackedResource {
|
|
6142
6012
|
*/
|
6143
6013
|
readonly integrationRuntimeState?: string;
|
6144
6014
|
}
|
6015
|
+
/** A SQL Migration Service. */
|
6016
|
+
export interface SqlMigrationService extends TrackedResource {
|
6017
|
+
/**
|
6018
|
+
* Provisioning state to track the async operation status.
|
6019
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
6020
|
+
*/
|
6021
|
+
readonly provisioningState?: string;
|
6022
|
+
/**
|
6023
|
+
* Current state of the Integration runtime.
|
6024
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
6025
|
+
*/
|
6026
|
+
readonly integrationRuntimeState?: string;
|
6027
|
+
}
|
6028
|
+
/** An Azure Database Migration Service (classic) resource */
|
6029
|
+
export interface DataMigrationService extends TrackedResource {
|
6030
|
+
/** HTTP strong entity tag value. Ignored if submitted */
|
6031
|
+
etag?: string;
|
6032
|
+
/** The resource kind. Only 'vm' (the default) is supported. */
|
6033
|
+
kind?: string;
|
6034
|
+
/** Service SKU */
|
6035
|
+
sku?: ServiceSku;
|
6036
|
+
/**
|
6037
|
+
* The resource's provisioning state
|
6038
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
6039
|
+
*/
|
6040
|
+
readonly provisioningState?: ServiceProvisioningState;
|
6041
|
+
/** The public key of the service, used to encrypt secrets sent to the service */
|
6042
|
+
publicKey?: string;
|
6043
|
+
/** The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined */
|
6044
|
+
virtualSubnetId?: string;
|
6045
|
+
/** The ID of the Microsoft.Network/networkInterfaces resource which the service have */
|
6046
|
+
virtualNicId?: string;
|
6047
|
+
/** The time delay before the service is auto-stopped when idle. */
|
6048
|
+
autoStopDelay?: string;
|
6049
|
+
/** Whether service resources should be deleted when stopped. (Turned on by default) */
|
6050
|
+
deleteResourcesOnStop?: boolean;
|
6051
|
+
}
|
6052
|
+
/** A project resource */
|
6053
|
+
export interface Project extends TrackedResource {
|
6054
|
+
/** HTTP strong entity tag value. This is ignored if submitted. */
|
6055
|
+
etag?: string;
|
6056
|
+
/** Source platform for the project */
|
6057
|
+
sourcePlatform?: ProjectSourcePlatform;
|
6058
|
+
/** Field that defines the Azure active directory application info, used to connect to the target Azure resource */
|
6059
|
+
azureAuthenticationInfo?: AzureActiveDirectoryApp;
|
6060
|
+
/** Target platform for the project */
|
6061
|
+
targetPlatform?: ProjectTargetPlatform;
|
6062
|
+
/**
|
6063
|
+
* UTC Date and time when project was created
|
6064
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
6065
|
+
*/
|
6066
|
+
readonly creationTime?: Date;
|
6067
|
+
/** Information for connecting to source */
|
6068
|
+
sourceConnectionInfo?: ConnectionInfoUnion;
|
6069
|
+
/** Information for connecting to target */
|
6070
|
+
targetConnectionInfo?: ConnectionInfoUnion;
|
6071
|
+
/** List of DatabaseInfo */
|
6072
|
+
databasesInfo?: DatabaseInfo[];
|
6073
|
+
/**
|
6074
|
+
* The project's provisioning state
|
6075
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
6076
|
+
*/
|
6077
|
+
readonly provisioningState?: ProjectProvisioningState;
|
6078
|
+
}
|
6145
6079
|
/** Defines headers for DatabaseMigrationsMongoToCosmosDbRUMongo_delete operation. */
|
6146
6080
|
export interface DatabaseMigrationsMongoToCosmosDbRUMongoDeleteHeaders {
|
6147
6081
|
location?: string;
|
@@ -7817,6 +7751,15 @@ export interface DatabaseMigrationsSqlDbCancelOptionalParams extends coreClient.
|
|
7817
7751
|
resumeFrom?: string;
|
7818
7752
|
}
|
7819
7753
|
/** Optional parameters. */
|
7754
|
+
export interface DatabaseMigrationsSqlDbRetryOptionalParams extends coreClient.OperationOptions {
|
7755
|
+
/** Delay to wait until next poll, in milliseconds. */
|
7756
|
+
updateIntervalInMs?: number;
|
7757
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
7758
|
+
resumeFrom?: string;
|
7759
|
+
}
|
7760
|
+
/** Contains response data for the retry operation. */
|
7761
|
+
export type DatabaseMigrationsSqlDbRetryResponse = DatabaseMigrationSqlDb;
|
7762
|
+
/** Optional parameters. */
|
7820
7763
|
export interface DatabaseMigrationsSqlMiGetOptionalParams extends coreClient.OperationOptions {
|
7821
7764
|
/** Optional migration operation ID. If this is provided, then details of migration operation for that ID are retrieved. If not provided (default), then details related to most recent or current operation are retrieved. */
|
7822
7765
|
migrationOperationId?: string;
|
@@ -7835,6 +7778,17 @@ export interface DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams extends cor
|
|
7835
7778
|
/** Contains response data for the createOrUpdate operation. */
|
7836
7779
|
export type DatabaseMigrationsSqlMiCreateOrUpdateResponse = DatabaseMigrationSqlMi;
|
7837
7780
|
/** Optional parameters. */
|
7781
|
+
export interface DatabaseMigrationsSqlMiDeleteOptionalParams extends coreClient.OperationOptions {
|
7782
|
+
/** Optional force delete boolean. If this is provided as true, migration will be deleted even if active. */
|
7783
|
+
force?: boolean;
|
7784
|
+
/** Delay to wait until next poll, in milliseconds. */
|
7785
|
+
updateIntervalInMs?: number;
|
7786
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
7787
|
+
resumeFrom?: string;
|
7788
|
+
}
|
7789
|
+
/** Contains response data for the delete operation. */
|
7790
|
+
export type DatabaseMigrationsSqlMiDeleteResponse = DatabaseMigrationSqlMi;
|
7791
|
+
/** Optional parameters. */
|
7838
7792
|
export interface DatabaseMigrationsSqlMiCancelOptionalParams extends coreClient.OperationOptions {
|
7839
7793
|
/** Delay to wait until next poll, in milliseconds. */
|
7840
7794
|
updateIntervalInMs?: number;
|
@@ -7867,6 +7821,17 @@ export interface DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams extends cor
|
|
7867
7821
|
/** Contains response data for the createOrUpdate operation. */
|
7868
7822
|
export type DatabaseMigrationsSqlVmCreateOrUpdateResponse = DatabaseMigrationSqlVm;
|
7869
7823
|
/** Optional parameters. */
|
7824
|
+
export interface DatabaseMigrationsSqlVmDeleteOptionalParams extends coreClient.OperationOptions {
|
7825
|
+
/** Optional force delete boolean. If this is provided as true, migration will be deleted even if active. */
|
7826
|
+
force?: boolean;
|
7827
|
+
/** Delay to wait until next poll, in milliseconds. */
|
7828
|
+
updateIntervalInMs?: number;
|
7829
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
7830
|
+
resumeFrom?: string;
|
7831
|
+
}
|
7832
|
+
/** Contains response data for the delete operation. */
|
7833
|
+
export type DatabaseMigrationsSqlVmDeleteResponse = DatabaseMigrationSqlVm;
|
7834
|
+
/** Optional parameters. */
|
7870
7835
|
export interface DatabaseMigrationsSqlVmCancelOptionalParams extends coreClient.OperationOptions {
|
7871
7836
|
/** Delay to wait until next poll, in milliseconds. */
|
7872
7837
|
updateIntervalInMs?: number;
|