@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
@@ -1,5 +1,5 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
-
import {
|
2
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
3
3
|
import { SqlMigrationService, SqlMigrationServicesListByResourceGroupOptionalParams, DatabaseMigration, SqlMigrationServicesListMigrationsOptionalParams, SqlMigrationServicesListBySubscriptionOptionalParams, SqlMigrationServicesGetOptionalParams, SqlMigrationServicesGetResponse, SqlMigrationServicesCreateOrUpdateOptionalParams, SqlMigrationServicesCreateOrUpdateResponse, SqlMigrationServicesDeleteOptionalParams, SqlMigrationServiceUpdate, SqlMigrationServicesUpdateOptionalParams, SqlMigrationServicesUpdateResponse, SqlMigrationServicesListAuthKeysOptionalParams, SqlMigrationServicesListAuthKeysResponse, RegenAuthKeys, SqlMigrationServicesRegenerateAuthKeysOptionalParams, SqlMigrationServicesRegenerateAuthKeysResponse, DeleteNode, SqlMigrationServicesDeleteNodeOptionalParams, SqlMigrationServicesDeleteNodeResponse, SqlMigrationServicesListMonitoringDataOptionalParams, SqlMigrationServicesListMonitoringDataResponse } from "../models/index.js";
|
4
4
|
/** Interface representing a SqlMigrationServices. */
|
5
5
|
export interface SqlMigrationServices {
|
@@ -24,7 +24,7 @@ export interface SqlMigrationServices {
|
|
24
24
|
*/
|
25
25
|
listBySubscription(options?: SqlMigrationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<SqlMigrationService>;
|
26
26
|
/**
|
27
|
-
* Retrieve the Migration Service
|
27
|
+
* Retrieve the Database Migration Service
|
28
28
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
29
29
|
* value from the Azure Resource Manager API or the portal.
|
30
30
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -32,16 +32,16 @@ export interface SqlMigrationServices {
|
|
32
32
|
*/
|
33
33
|
get(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesGetOptionalParams): Promise<SqlMigrationServicesGetResponse>;
|
34
34
|
/**
|
35
|
-
* Create or Update
|
35
|
+
* Create or Update Database Migration Service.
|
36
36
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
37
37
|
* value from the Azure Resource Manager API or the portal.
|
38
38
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
39
39
|
* @param parameters Details of SqlMigrationService resource.
|
40
40
|
* @param options The options parameters.
|
41
41
|
*/
|
42
|
-
beginCreateOrUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<
|
42
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlMigrationServicesCreateOrUpdateResponse>, SqlMigrationServicesCreateOrUpdateResponse>>;
|
43
43
|
/**
|
44
|
-
* Create or Update
|
44
|
+
* Create or Update Database Migration Service.
|
45
45
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
46
46
|
* value from the Azure Resource Manager API or the portal.
|
47
47
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -50,15 +50,15 @@ export interface SqlMigrationServices {
|
|
50
50
|
*/
|
51
51
|
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationService, options?: SqlMigrationServicesCreateOrUpdateOptionalParams): Promise<SqlMigrationServicesCreateOrUpdateResponse>;
|
52
52
|
/**
|
53
|
-
* Delete
|
53
|
+
* Delete Database Migration Service.
|
54
54
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
55
55
|
* value from the Azure Resource Manager API or the portal.
|
56
56
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
57
57
|
* @param options The options parameters.
|
58
58
|
*/
|
59
|
-
beginDelete(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<
|
59
|
+
beginDelete(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
60
60
|
/**
|
61
|
-
* Delete
|
61
|
+
* Delete Database Migration Service.
|
62
62
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
63
63
|
* value from the Azure Resource Manager API or the portal.
|
64
64
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -66,16 +66,16 @@ export interface SqlMigrationServices {
|
|
66
66
|
*/
|
67
67
|
beginDeleteAndWait(resourceGroupName: string, sqlMigrationServiceName: string, options?: SqlMigrationServicesDeleteOptionalParams): Promise<void>;
|
68
68
|
/**
|
69
|
-
* Update
|
69
|
+
* Update Database Migration Service.
|
70
70
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
71
71
|
* value from the Azure Resource Manager API or the portal.
|
72
72
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
73
73
|
* @param parameters Details of SqlMigrationService resource.
|
74
74
|
* @param options The options parameters.
|
75
75
|
*/
|
76
|
-
beginUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationServiceUpdate, options?: SqlMigrationServicesUpdateOptionalParams): Promise<
|
76
|
+
beginUpdate(resourceGroupName: string, sqlMigrationServiceName: string, parameters: SqlMigrationServiceUpdate, options?: SqlMigrationServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SqlMigrationServicesUpdateResponse>, SqlMigrationServicesUpdateResponse>>;
|
77
77
|
/**
|
78
|
-
* Update
|
78
|
+
* Update Database Migration Service.
|
79
79
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
80
80
|
* value from the Azure Resource Manager API or the portal.
|
81
81
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -110,7 +110,8 @@ export interface SqlMigrationServices {
|
|
110
110
|
*/
|
111
111
|
deleteNode(resourceGroupName: string, sqlMigrationServiceName: string, parameters: DeleteNode, options?: SqlMigrationServicesDeleteNodeOptionalParams): Promise<SqlMigrationServicesDeleteNodeResponse>;
|
112
112
|
/**
|
113
|
-
* Retrieve the
|
113
|
+
* Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database
|
114
|
+
* Migration Service.
|
114
115
|
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
115
116
|
* value from the Azure Resource Manager API or the portal.
|
116
117
|
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sqlMigrationServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"sqlMigrationServices.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EACL,mBAAmB,EACnB,qDAAqD,EACrD,iBAAiB,EACjB,gDAAgD,EAChD,oDAAoD,EACpD,qCAAqC,EACrC,+BAA+B,EAC/B,gDAAgD,EACh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,OAAO,CAAC,EAAE,4CAA4C,GACrD,OAAO,CAAC,sCAAsC,CAAC,CAAC;IACnD;;;;;;;OAOG;IACH,kBAAkB,CAChB,iBAAiB,EAAE,MAAM,EACzB,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,oDAAoD,GAC7D,OAAO,CAAC,8CAA8C,CAAC,CAAC;CAC5D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { PollerLike, PollOperationState } from \"@azure/core-lro\";\nimport {\n SqlMigrationService,\n SqlMigrationServicesListByResourceGroupOptionalParams,\n DatabaseMigration,\n SqlMigrationServicesListMigrationsOptionalParams,\n SqlMigrationServicesListBySubscriptionOptionalParams,\n SqlMigrationServicesGetOptionalParams,\n SqlMigrationServicesGetResponse,\n SqlMigrationServicesCreateOrUpdateOptionalParams,\n SqlMigrationServicesCreateOrUpdateResponse,\n SqlMigrationServicesDeleteOptionalParams,\n SqlMigrationServiceUpdate,\n SqlMigrationServicesUpdateOptionalParams,\n SqlMigrationServicesUpdateResponse,\n SqlMigrationServicesListAuthKeysOptionalParams,\n SqlMigrationServicesListAuthKeysResponse,\n RegenAuthKeys,\n SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n SqlMigrationServicesRegenerateAuthKeysResponse,\n DeleteNode,\n SqlMigrationServicesDeleteNodeOptionalParams,\n SqlMigrationServicesDeleteNodeResponse,\n SqlMigrationServicesListMonitoringDataOptionalParams,\n SqlMigrationServicesListMonitoringDataResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SqlMigrationServices. */\nexport interface SqlMigrationServices {\n /**\n * Retrieve all SQL migration services in the resource group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<SqlMigrationService>;\n /**\n * Retrieve the List of database migrations attached to the service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams\n ): PagedAsyncIterableIterator<DatabaseMigration>;\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<SqlMigrationService>;\n /**\n * Retrieve the Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesGetOptionalParams\n ): Promise<SqlMigrationServicesGetResponse>;\n /**\n * Create or Update SQL Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SqlMigrationServicesCreateOrUpdateResponse>,\n SqlMigrationServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create or Update SQL Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse>;\n /**\n * Delete SQL Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>>;\n /**\n * Delete SQL Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams\n ): Promise<void>;\n /**\n * Update SQL Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<SqlMigrationServicesUpdateResponse>,\n SqlMigrationServicesUpdateResponse\n >\n >;\n /**\n * Update SQL Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams\n ): Promise<SqlMigrationServicesUpdateResponse>;\n /**\n * Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListAuthKeysOptionalParams\n ): Promise<SqlMigrationServicesListAuthKeysResponse>;\n /**\n * Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n regenerateAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: RegenAuthKeys,\n options?: SqlMigrationServicesRegenerateAuthKeysOptionalParams\n ): Promise<SqlMigrationServicesRegenerateAuthKeysResponse>;\n /**\n * Delete the integration runtime node.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n deleteNode(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: DeleteNode,\n options?: SqlMigrationServicesDeleteNodeOptionalParams\n ): Promise<SqlMigrationServicesDeleteNodeResponse>;\n /**\n * Retrieve the Monitoring Data.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listMonitoringData(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMonitoringDataOptionalParams\n ): Promise<SqlMigrationServicesListMonitoringDataResponse>;\n}\n"]}
|
1
|
+
{"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { SimplePollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n SqlMigrationService,\n SqlMigrationServicesListByResourceGroupOptionalParams,\n DatabaseMigration,\n SqlMigrationServicesListMigrationsOptionalParams,\n SqlMigrationServicesListBySubscriptionOptionalParams,\n SqlMigrationServicesGetOptionalParams,\n SqlMigrationServicesGetResponse,\n SqlMigrationServicesCreateOrUpdateOptionalParams,\n SqlMigrationServicesCreateOrUpdateResponse,\n SqlMigrationServicesDeleteOptionalParams,\n SqlMigrationServiceUpdate,\n SqlMigrationServicesUpdateOptionalParams,\n SqlMigrationServicesUpdateResponse,\n SqlMigrationServicesListAuthKeysOptionalParams,\n SqlMigrationServicesListAuthKeysResponse,\n RegenAuthKeys,\n SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n SqlMigrationServicesRegenerateAuthKeysResponse,\n DeleteNode,\n SqlMigrationServicesDeleteNodeOptionalParams,\n SqlMigrationServicesDeleteNodeResponse,\n SqlMigrationServicesListMonitoringDataOptionalParams,\n SqlMigrationServicesListMonitoringDataResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a SqlMigrationServices. */\nexport interface SqlMigrationServices {\n /**\n * Retrieve all SQL migration services in the resource group.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param options The options parameters.\n */\n listByResourceGroup(\n resourceGroupName: string,\n options?: SqlMigrationServicesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService>;\n /**\n * Retrieve the List of database migrations attached to the service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listMigrations(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMigrationsOptionalParams,\n ): PagedAsyncIterableIterator<DatabaseMigration>;\n /**\n * Retrieve all SQL migration services in the subscriptions.\n * @param options The options parameters.\n */\n listBySubscription(\n options?: SqlMigrationServicesListBySubscriptionOptionalParams,\n ): PagedAsyncIterableIterator<SqlMigrationService>;\n /**\n * Retrieve the Database Migration Service\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesGetOptionalParams,\n ): Promise<SqlMigrationServicesGetResponse>;\n /**\n * Create or Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SqlMigrationServicesCreateOrUpdateResponse>,\n SqlMigrationServicesCreateOrUpdateResponse\n >\n >;\n /**\n * Create or Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationService,\n options?: SqlMigrationServicesCreateOrUpdateOptionalParams,\n ): Promise<SqlMigrationServicesCreateOrUpdateResponse>;\n /**\n * Delete Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n beginDelete(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>>;\n /**\n * Delete Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n beginDeleteAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesDeleteOptionalParams,\n ): Promise<void>;\n /**\n * Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginUpdate(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<SqlMigrationServicesUpdateResponse>,\n SqlMigrationServicesUpdateResponse\n >\n >;\n /**\n * Update Database Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n beginUpdateAndWait(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: SqlMigrationServiceUpdate,\n options?: SqlMigrationServicesUpdateOptionalParams,\n ): Promise<SqlMigrationServicesUpdateResponse>;\n /**\n * Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListAuthKeysOptionalParams,\n ): Promise<SqlMigrationServicesListAuthKeysResponse>;\n /**\n * Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n regenerateAuthKeys(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: RegenAuthKeys,\n options?: SqlMigrationServicesRegenerateAuthKeysOptionalParams,\n ): Promise<SqlMigrationServicesRegenerateAuthKeysResponse>;\n /**\n * Delete the integration runtime node.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param parameters Details of SqlMigrationService resource.\n * @param options The options parameters.\n */\n deleteNode(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n parameters: DeleteNode,\n options?: SqlMigrationServicesDeleteNodeOptionalParams,\n ): Promise<SqlMigrationServicesDeleteNodeResponse>;\n /**\n * Retrieve the registered Integration Runtime nodes and their monitoring data for a given Database\n * Migration Service.\n * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this\n * value from the Azure Resource Manager API or the portal.\n * @param sqlMigrationServiceName Name of the SQL Migration Service.\n * @param options The options parameters.\n */\n listMonitoringData(\n resourceGroupName: string,\n sqlMigrationServiceName: string,\n options?: SqlMigrationServicesListMonitoringDataOptionalParams,\n ): Promise<SqlMigrationServicesListMonitoringDataResponse>;\n}\n"]}
|
@@ -3,9 +3,9 @@ import { ProjectTask, TasksListOptionalParams, TasksCreateOrUpdateOptionalParams
|
|
3
3
|
/** Interface representing a Tasks. */
|
4
4
|
export interface Tasks {
|
5
5
|
/**
|
6
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
7
|
-
* method returns a list of tasks owned by a service resource. Some tasks may have a
|
8
|
-
* which indicates that an error occurred while querying the status of that task.
|
6
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
7
|
+
* (classic). This method returns a list of tasks owned by a service resource. Some tasks may have a
|
8
|
+
* status of Unknown, which indicates that an error occurred while querying the status of that task.
|
9
9
|
* @param groupName Name of the resource group
|
10
10
|
* @param serviceName Name of the service
|
11
11
|
* @param projectName Name of the project
|
@@ -13,9 +13,9 @@ export interface Tasks {
|
|
13
13
|
*/
|
14
14
|
list(groupName: string, serviceName: string, projectName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
|
15
15
|
/**
|
16
|
-
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
17
|
-
* The PUT method creates a new task or updates an existing one, although since tasks have no
|
18
|
-
* custom properties, there is little reason to update an existing one.
|
16
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
|
17
|
+
* instance. The PUT method creates a new task or updates an existing one, although since tasks have no
|
18
|
+
* mutable custom properties, there is little reason to update an existing one.
|
19
19
|
* @param groupName Name of the resource group
|
20
20
|
* @param serviceName Name of the service
|
21
21
|
* @param projectName Name of the project
|
@@ -25,8 +25,8 @@ export interface Tasks {
|
|
25
25
|
*/
|
26
26
|
createOrUpdate(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksCreateOrUpdateOptionalParams): Promise<TasksCreateOrUpdateResponse>;
|
27
27
|
/**
|
28
|
-
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
29
|
-
* The GET method retrieves information about a task.
|
28
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
|
29
|
+
* instance. The GET method retrieves information about a task.
|
30
30
|
* @param groupName Name of the resource group
|
31
31
|
* @param serviceName Name of the service
|
32
32
|
* @param projectName Name of the project
|
@@ -35,8 +35,8 @@ export interface Tasks {
|
|
35
35
|
*/
|
36
36
|
get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
|
37
37
|
/**
|
38
|
-
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
39
|
-
* The DELETE method deletes a task, canceling it first if it's running.
|
38
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
|
39
|
+
* instance. The DELETE method deletes a task, canceling it first if it's running.
|
40
40
|
* @param groupName Name of the resource group
|
41
41
|
* @param serviceName Name of the service
|
42
42
|
* @param projectName Name of the project
|
@@ -45,9 +45,9 @@ export interface Tasks {
|
|
45
45
|
*/
|
46
46
|
delete(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
|
47
47
|
/**
|
48
|
-
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
49
|
-
* The PATCH method updates an existing task, but since tasks have no mutable custom
|
50
|
-
* is little reason to do so.
|
48
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
|
49
|
+
* instance. The PATCH method updates an existing task, but since tasks have no mutable custom
|
50
|
+
* properties, there is little reason to do so.
|
51
51
|
* @param groupName Name of the resource group
|
52
52
|
* @param serviceName Name of the service
|
53
53
|
* @param projectName Name of the project
|
@@ -57,8 +57,8 @@ export interface Tasks {
|
|
57
57
|
*/
|
58
58
|
update(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
|
59
59
|
/**
|
60
|
-
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
61
|
-
* This method cancels a task if it's currently queued or running.
|
60
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
|
61
|
+
* instance. This method cancels a task if it's currently queued or running.
|
62
62
|
* @param groupName Name of the resource group
|
63
63
|
* @param serviceName Name of the service
|
64
64
|
* @param projectName Name of the project
|
@@ -67,8 +67,8 @@ export interface Tasks {
|
|
67
67
|
*/
|
68
68
|
cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksCancelOptionalParams): Promise<TasksCancelResponse>;
|
69
69
|
/**
|
70
|
-
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
71
|
-
* This method executes a command on a running task.
|
70
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)
|
71
|
+
* instance. This method executes a command on a running task.
|
72
72
|
* @param groupName Name of the resource group
|
73
73
|
* @param serviceName Name of the service
|
74
74
|
* @param projectName Name of the project
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ProjectTask,\n TasksListOptionalParams,\n TasksCreateOrUpdateOptionalParams,\n TasksCreateOrUpdateResponse,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksDeleteOptionalParams,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksCancelOptionalParams,\n TasksCancelResponse,\n CommandPropertiesUnion,\n TasksCommandOptionalParams,\n TasksCommandResponse
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n ProjectTask,\n TasksListOptionalParams,\n TasksCreateOrUpdateOptionalParams,\n TasksCreateOrUpdateResponse,\n TasksGetOptionalParams,\n TasksGetResponse,\n TasksDeleteOptionalParams,\n TasksUpdateOptionalParams,\n TasksUpdateResponse,\n TasksCancelOptionalParams,\n TasksCancelResponse,\n CommandPropertiesUnion,\n TasksCommandOptionalParams,\n TasksCommandResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tasks. */\nexport interface Tasks {\n /**\n * The services resource is the top-level resource that represents the Azure Database Migration Service\n * (classic). This method returns a list of tasks owned by a service resource. Some tasks may have a\n * status of Unknown, which indicates that an error occurred while querying the status of that task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param options The options parameters.\n */\n list(\n groupName: string,\n serviceName: string,\n projectName: string,\n options?: TasksListOptionalParams,\n ): PagedAsyncIterableIterator<ProjectTask>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The PUT method creates a new task or updates an existing one, although since tasks have no\n * mutable custom properties, there is little reason to update an existing one.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Information about the task\n * @param options The options parameters.\n */\n createOrUpdate(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: ProjectTask,\n options?: TasksCreateOrUpdateOptionalParams,\n ): Promise<TasksCreateOrUpdateResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The GET method retrieves information about a task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksGetOptionalParams,\n ): Promise<TasksGetResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The DELETE method deletes a task, canceling it first if it's running.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n delete(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksDeleteOptionalParams,\n ): Promise<void>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. The PATCH method updates an existing task, but since tasks have no mutable custom\n * properties, there is little reason to do so.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Information about the task\n * @param options The options parameters.\n */\n update(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: ProjectTask,\n options?: TasksUpdateOptionalParams,\n ): Promise<TasksUpdateResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. This method cancels a task if it's currently queued or running.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n cancel(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n options?: TasksCancelOptionalParams,\n ): Promise<TasksCancelResponse>;\n /**\n * The tasks resource is a nested, proxy-only resource representing work performed by a DMS (classic)\n * instance. This method executes a command on a running task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param projectName Name of the project\n * @param taskName Name of the Task\n * @param parameters Command to execute\n * @param options The options parameters.\n */\n command(\n groupName: string,\n serviceName: string,\n projectName: string,\n taskName: string,\n parameters: CommandPropertiesUnion,\n options?: TasksCommandOptionalParams,\n ): Promise<TasksCommandResponse>;\n}\n"]}
|
@@ -3,8 +3,8 @@ import { Quota, UsagesListOptionalParams } from "../models/index.js";
|
|
3
3
|
/** Interface representing a Usages. */
|
4
4
|
export interface Usages {
|
5
5
|
/**
|
6
|
-
* This method returns region-specific quotas and resource usage information for the Database
|
7
|
-
* Service.
|
6
|
+
* This method returns region-specific quotas and resource usage information for the Azure Database
|
7
|
+
* Migration Service (classic).
|
8
8
|
* @param location The Azure region of the operation
|
9
9
|
* @param options The options parameters.
|
10
10
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Quota, UsagesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Usages. */\nexport interface Usages {\n /**\n * This method returns region-specific quotas and resource usage information for the Database
|
1
|
+
{"version":3,"file":"usages.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/usages.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG","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 { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Quota, UsagesListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Usages. */\nexport interface Usages {\n /**\n * This method returns region-specific quotas and resource usage information for the Azure Database\n * Migration Service (classic).\n * @param location The Azure region of the operation\n * @param options The options parameters.\n */\n list(\n location: string,\n options?: UsagesListOptionalParams,\n ): PagedAsyncIterableIterator<Quota>;\n}\n"]}
|
@@ -2,11 +2,11 @@ export interface PageInfo {
|
|
2
2
|
continuationToken?: string;
|
3
3
|
}
|
4
4
|
/**
|
5
|
-
* Given
|
6
|
-
* continuation token that can be used to begin paging from
|
5
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
6
|
+
* returns a continuation token that can be used to begin paging from
|
7
7
|
* that point later.
|
8
|
-
* @param page
|
9
|
-
* @returns The continuation token that can be passed into byPage().
|
8
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
9
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
10
10
|
*/
|
11
11
|
export declare function getContinuationToken(page: unknown): string | undefined;
|
12
12
|
export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
|
@@ -7,11 +7,11 @@
|
|
7
7
|
*/
|
8
8
|
const pageMap = new WeakMap();
|
9
9
|
/**
|
10
|
-
* Given
|
11
|
-
* continuation token that can be used to begin paging from
|
10
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
11
|
+
* returns a continuation token that can be used to begin paging from
|
12
12
|
* that point later.
|
13
|
-
* @param page
|
14
|
-
* @returns The continuation token that can be passed into byPage().
|
13
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
14
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
15
15
|
*/
|
16
16
|
export function getContinuationToken(page) {
|
17
17
|
var _a;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given
|
1
|
+
{"version":3,"file":"pagingHelper.js","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,OAAO,GAAG,IAAI,OAAO,EAAoB,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAa;;IAChD,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,OAAO,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,0CAAE,iBAAiB,CAAC;AAC9C,CAAC;AAED,MAAM,UAAU,oBAAoB,CAClC,IAAa,EACb,iBAAqC;;IAErC,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACpE,OAAO;IACT,CAAC;IACD,MAAM,QAAQ,GAAG,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,mCAAI,EAAE,CAAC;IACzC,QAAQ,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AAC9B,CAAC","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\nexport interface PageInfo {\n continuationToken?: string;\n}\n\nconst pageMap = new WeakMap<object, PageInfo>();\n\n/**\n * Given the last `.value` produced by the `byPage` iterator,\n * returns a continuation token that can be used to begin paging from\n * that point later.\n * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.\n * @returns The continuation token that can be passed into byPage() during future calls.\n */\nexport function getContinuationToken(page: unknown): string | undefined {\n if (typeof page !== \"object\" || page === null) {\n return undefined;\n }\n return pageMap.get(page)?.continuationToken;\n}\n\nexport function setContinuationToken(\n page: unknown,\n continuationToken: string | undefined,\n): void {\n if (typeof page !== \"object\" || page === null || !continuationToken) {\n return;\n }\n const pageInfo = pageMap.get(page) ?? {};\n pageInfo.continuationToken = continuationToken;\n pageMap.set(page, pageInfo);\n}\n"]}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
3
|
-
import { DatabaseMigrationsSqlMi, DatabaseMigrationsSqlVm, Operations, SqlMigrationServices, ResourceSkus, Services, Tasks, ServiceTasks, Projects, Usages, Files } from "./operationsInterfaces/index.js";
|
3
|
+
import { DatabaseMigrationsMongoToCosmosDbRUMongo, DatabaseMigrationsMongoToCosmosDbvCoreMongo, DatabaseMigrationsSqlDb, DatabaseMigrationsSqlMi, DatabaseMigrationsSqlVm, Operations, MigrationServices, SqlMigrationServices, ResourceSkus, Services, Tasks, ServiceTasks, Projects, Usages, Files } from "./operationsInterfaces/index.js";
|
4
4
|
import { DataMigrationManagementClientOptionalParams } from "./models/index.js";
|
5
5
|
export declare class DataMigrationManagementClient extends coreClient.ServiceClient {
|
6
6
|
$host: string;
|
@@ -15,9 +15,13 @@ export declare class DataMigrationManagementClient extends coreClient.ServiceCli
|
|
15
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataMigrationManagementClientOptionalParams);
|
16
16
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17
17
|
private addCustomApiVersionPolicy;
|
18
|
+
databaseMigrationsMongoToCosmosDbRUMongo: DatabaseMigrationsMongoToCosmosDbRUMongo;
|
19
|
+
databaseMigrationsMongoToCosmosDbvCoreMongo: DatabaseMigrationsMongoToCosmosDbvCoreMongo;
|
20
|
+
databaseMigrationsSqlDb: DatabaseMigrationsSqlDb;
|
18
21
|
databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;
|
19
22
|
databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;
|
20
23
|
operations: Operations;
|
24
|
+
migrationServices: MigrationServices;
|
21
25
|
sqlMigrationServices: SqlMigrationServices;
|
22
26
|
resourceSkus: ResourceSkus;
|
23
27
|
services: Services;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
1
|
+
{"version":3,"file":"dataMigrationManagementClient.d.ts","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,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;IA6FvD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,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"}
|
@@ -33,14 +33,14 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
33
33
|
}
|
34
34
|
const defaults = {
|
35
35
|
requestContentType: "application/json; charset=utf-8",
|
36
|
-
credential: credentials
|
36
|
+
credential: credentials,
|
37
37
|
};
|
38
38
|
const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.4`;
|
39
39
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
40
40
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
41
41
|
: `${packageDetails}`;
|
42
42
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
43
|
-
userAgentPrefix
|
43
|
+
userAgentPrefix,
|
44
44
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
45
45
|
super(optionsWithDefaults);
|
46
46
|
let bearerTokenAuthenticationPolicyFound = false;
|
@@ -54,24 +54,30 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
54
54
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
55
55
|
!bearerTokenAuthenticationPolicyFound) {
|
56
56
|
this.pipeline.removePolicy({
|
57
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
57
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
58
58
|
});
|
59
59
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
60
60
|
credential: credentials,
|
61
61
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
62
62
|
challengeCallbacks: {
|
63
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
64
|
-
}
|
63
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
64
|
+
},
|
65
65
|
}));
|
66
66
|
}
|
67
67
|
// Parameter assignments
|
68
68
|
this.subscriptionId = subscriptionId;
|
69
69
|
// Assigning values to Constant parameters
|
70
70
|
this.$host = options.$host || "https://management.azure.com";
|
71
|
-
this.apiVersion = options.apiVersion || "
|
71
|
+
this.apiVersion = options.apiVersion || "2025-03-15-preview";
|
72
|
+
this.databaseMigrationsMongoToCosmosDbRUMongo =
|
73
|
+
new index_js_1.DatabaseMigrationsMongoToCosmosDbRUMongoImpl(this);
|
74
|
+
this.databaseMigrationsMongoToCosmosDbvCoreMongo =
|
75
|
+
new index_js_1.DatabaseMigrationsMongoToCosmosDbvCoreMongoImpl(this);
|
76
|
+
this.databaseMigrationsSqlDb = new index_js_1.DatabaseMigrationsSqlDbImpl(this);
|
72
77
|
this.databaseMigrationsSqlMi = new index_js_1.DatabaseMigrationsSqlMiImpl(this);
|
73
78
|
this.databaseMigrationsSqlVm = new index_js_1.DatabaseMigrationsSqlVmImpl(this);
|
74
79
|
this.operations = new index_js_1.OperationsImpl(this);
|
80
|
+
this.migrationServices = new index_js_1.MigrationServicesImpl(this);
|
75
81
|
this.sqlMigrationServices = new index_js_1.SqlMigrationServicesImpl(this);
|
76
82
|
this.resourceSkus = new index_js_1.ResourceSkusImpl(this);
|
77
83
|
this.services = new index_js_1.ServicesImpl(this);
|
@@ -103,7 +109,7 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
103
109
|
request.url = param[0] + "?" + newParams.join("&");
|
104
110
|
}
|
105
111
|
return next(request);
|
106
|
-
}
|
112
|
+
},
|
107
113
|
};
|
108
114
|
this.pipeline.addPolicy(apiVersionPolicy);
|
109
115
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dataMigrationManagementClient.js","sourceRoot":"","sources":["../../src/dataMigrationManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAY+B;AAgB/B,MAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IAKzE;;;;;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,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCA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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 DatabaseMigrationsSqlMiImpl,\n DatabaseMigrationsSqlVmImpl,\n OperationsImpl,\n SqlMigrationServicesImpl,\n ResourceSkusImpl,\n ServicesImpl,\n TasksImpl,\n ServiceTasksImpl,\n ProjectsImpl,\n UsagesImpl,\n FilesImpl\n} from \"./operations/index.js\";\nimport {\n DatabaseMigrationsSqlMi,\n DatabaseMigrationsSqlVm,\n Operations,\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[] = 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 || \"2021-10-30-preview\";\n this.databaseMigrationsSqlMi = new DatabaseMigrationsSqlMiImpl(this);\n this.databaseMigrationsSqlVm = new DatabaseMigrationsSqlVmImpl(this);\n this.operations = new OperationsImpl(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 databaseMigrationsSqlMi: DatabaseMigrationsSqlMi;\n databaseMigrationsSqlVm: DatabaseMigrationsSqlVm;\n operations: Operations;\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;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAgB+B;AAoB/B,MAAa,6BAA8B,SAAQ,UAAU,CAAC,aAAa;IAKzE;;;;;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,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAgD;YAC5D,kBAAkB,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S,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;CAiBF;AAtJD,sEAsJC","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,16 +1,11 @@
|
|
1
1
|
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
2
|
-
export declare
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
requestPath: string;
|
7
|
-
requestMethod: string;
|
8
|
-
constructor(sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>, args: Record<string, unknown>, spec: {
|
2
|
+
export declare function createLroSpec<T>(inputs: {
|
3
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
4
|
+
args: Record<string, unknown>;
|
5
|
+
spec: {
|
9
6
|
readonly requestBody?: unknown;
|
10
7
|
readonly path?: string;
|
11
8
|
readonly httpMethod: string;
|
12
|
-
} & Record<string, any
|
13
|
-
|
14
|
-
sendPollRequest(path: string): Promise<LroResponse<T>>;
|
15
|
-
}
|
9
|
+
} & Record<string, any>;
|
10
|
+
}): LongRunningOperation<T>;
|
16
11
|
//# sourceMappingURL=lroImpl.d.ts.map
|
@@ -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":"AASA,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,CAmB1B"}
|
package/dist/commonjs/lroImpl.js
CHANGED
@@ -7,23 +7,18 @@
|
|
7
7
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
8
8
|
*/
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
10
|
-
exports.
|
10
|
+
exports.createLroSpec = createLroSpec;
|
11
11
|
const tslib_1 = require("tslib");
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
}
|
23
|
-
async sendPollRequest(path) {
|
24
|
-
const _a = this.spec, { requestBody } = _a, restSpec = tslib_1.__rest(_a, ["requestBody"]);
|
25
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
26
|
-
}
|
12
|
+
function createLroSpec(inputs) {
|
13
|
+
const { args, spec, sendOperationFn } = inputs;
|
14
|
+
return {
|
15
|
+
requestMethod: spec.httpMethod,
|
16
|
+
requestPath: spec.path,
|
17
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
18
|
+
sendPollRequest: (path, options) => {
|
19
|
+
const { requestBody } = spec, restSpec = tslib_1.__rest(spec, ["requestBody"]);
|
20
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
21
|
+
},
|
22
|
+
};
|
27
23
|
}
|
28
|
-
exports.LroImpl = LroImpl;
|
29
24
|
//# sourceMappingURL=lroImpl.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG
|
1
|
+
{"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAKH,sCA2BC;;AA3BD,SAAgB,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,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,KAAkB,IAAI,EAAjB,QAAQ,kBAAK,IAAI,EAAnC,eAA4B,CAAO,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,kCACtB,QAAQ,KACX,UAAU,EAAE,KAAK,EACjB,IAAI,EACJ,WAAW,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,IACjC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","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 { 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: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\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"]}
|