@azure/arm-datamigration 3.0.0-alpha.20250721.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 +19 -32
- 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 +12 -24
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +968 -216
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +52 -8
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +47 -14
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +5531 -5222
- 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 +95 -99
- 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 +95 -99
- package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/browser/operations/files.js +83 -67
- 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 +47 -31
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/projects.js +73 -57
- package/dist/browser/operations/projects.js.map +1 -1
- package/dist/browser/operations/resourceSkus.d.ts +2 -2
- package/dist/browser/operations/resourceSkus.js +52 -36
- 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 +95 -76
- 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 +332 -288
- 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 +240 -194
- package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
- package/dist/browser/operations/tasks.d.ts +20 -20
- package/dist/browser/operations/tasks.js +105 -89
- package/dist/browser/operations/tasks.js.map +1 -1
- package/dist/browser/operations/usages.d.ts +4 -4
- package/dist/browser/operations/usages.js +55 -39
- 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 +8 -6
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts +5 -1
- package/dist/commonjs/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/commonjs/dataMigrationManagementClient.js +18 -31
- 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 +13 -26
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +968 -216
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +54 -10
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +47 -14
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +5538 -5229
- 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 +93 -97
- 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 +93 -97
- package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/commonjs/operations/files.js +82 -67
- 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 +46 -31
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/projects.js +72 -57
- package/dist/commonjs/operations/projects.js.map +1 -1
- package/dist/commonjs/operations/resourceSkus.d.ts +2 -2
- package/dist/commonjs/operations/resourceSkus.js +51 -36
- 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 +94 -76
- 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 +329 -286
- 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 +237 -192
- package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
- package/dist/commonjs/operations/tasks.d.ts +20 -20
- package/dist/commonjs/operations/tasks.js +104 -89
- package/dist/commonjs/operations/tasks.js.map +1 -1
- package/dist/commonjs/operations/usages.d.ts +4 -4
- package/dist/commonjs/operations/usages.js +54 -39
- 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 +8 -6
- 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 +19 -32
- 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 +12 -24
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +968 -216
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +52 -8
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +47 -14
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +5531 -5222
- 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 +95 -99
- 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 +95 -99
- package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/esm/operations/files.js +83 -67
- 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 +47 -31
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/projects.js +73 -57
- package/dist/esm/operations/projects.js.map +1 -1
- package/dist/esm/operations/resourceSkus.d.ts +2 -2
- package/dist/esm/operations/resourceSkus.js +52 -36
- 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 +95 -76
- 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 +332 -288
- 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 +240 -194
- package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
- package/dist/esm/operations/tasks.d.ts +20 -20
- package/dist/esm/operations/tasks.js +105 -89
- package/dist/esm/operations/tasks.js.map +1 -1
- package/dist/esm/operations/usages.d.ts +4 -4
- package/dist/esm/operations/usages.js +55 -39
- 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 +8 -6
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts +5 -1
- package/dist/react-native/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist/react-native/dataMigrationManagementClient.js +19 -32
- 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 +12 -24
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +968 -216
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +52 -8
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +47 -14
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +5531 -5222
- 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 +95 -99
- 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 +95 -99
- package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist/react-native/operations/files.js +83 -67
- 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 +47 -31
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/projects.js +73 -57
- 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 +52 -36
- 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 +95 -76
- 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 +332 -288
- 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 +240 -194
- 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 +105 -89
- 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 +55 -39
- 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 +8 -6
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +26 -27
- package/CHANGELOG.md +0 -21
- package/review/arm-datamigration-node.api.md +0 -4103
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"serviceTasks.js","sourceRoot":"","sources":["../../../src/operations/serviceTasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAmBtD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IACV,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACI,IAAI,CACT,SAAiB,EACjB,WAAmB,EACnB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,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AM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC7D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ServiceTasks } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n ProjectTask,\n ServiceTasksListNextOptionalParams,\n ServiceTasksListOptionalParams,\n ServiceTasksListResponse,\n ServiceTasksCreateOrUpdateOptionalParams,\n ServiceTasksCreateOrUpdateResponse,\n ServiceTasksGetOptionalParams,\n ServiceTasksGetResponse,\n ServiceTasksDeleteOptionalParams,\n ServiceTasksUpdateOptionalParams,\n ServiceTasksUpdateResponse,\n ServiceTasksCancelOptionalParams,\n ServiceTasksCancelResponse,\n ServiceTasksListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServiceTasks operations. */\nexport class ServiceTasksImpl implements ServiceTasks {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class ServiceTasks class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service level 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 options The options parameters.\n */\n public list(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams\n ): PagedAsyncIterableIterator<ProjectTask> {\n const iter = this.listPagingAll(groupName, serviceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(groupName, serviceName, options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<ProjectTask[]> {\n let result: ServiceTasksListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(groupName, serviceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n groupName,\n serviceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams\n ): AsyncIterableIterator<ProjectTask> {\n for await (const page of this.listPagingPage(\n groupName,\n serviceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service level 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 options The options parameters.\n */\n private _list(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams\n ): Promise<ServiceTasksListResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n listOperationSpec\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * instance. The PUT method creates a new service task or updates an existing one, although since\n * service tasks have no 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 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 taskName: string,\n parameters: ProjectTask,\n options?: ServiceTasksCreateOrUpdateOptionalParams\n ): Promise<ServiceTasksCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, parameters, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * instance. The GET method retrieves information about a service task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n taskName: string,\n options?: ServiceTasksGetOptionalParams\n ): Promise<ServiceTasksGetResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, options },\n getOperationSpec\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * instance. The DELETE method deletes a service 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 taskName Name of the Task\n * @param options The options parameters.\n */\n delete(\n groupName: string,\n serviceName: string,\n taskName: string,\n options?: ServiceTasksDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * instance. The PATCH method updates an existing service task, but since service tasks have no mutable\n * custom 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 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 taskName: string,\n parameters: ProjectTask,\n options?: ServiceTasksUpdateOptionalParams\n ): Promise<ServiceTasksUpdateResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, parameters, options },\n updateOperationSpec\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * instance. This method cancels a service 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 taskName Name of the Task\n * @param options The options parameters.\n */\n cancel(\n groupName: string,\n serviceName: string,\n taskName: string,\n options?: ServiceTasksCancelOptionalParams\n ): Promise<ServiceTasksCancelResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, options },\n cancelOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n groupName: string,\n serviceName: string,\n nextLink: string,\n options?: ServiceTasksListNextOptionalParams\n ): Promise<ServiceTasksListNextResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TaskList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.taskType],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask\n },\n 201: {\n bodyMapper: Mappers.ProjectTask\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.expand, Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters9,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TaskList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.taskType],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
1
|
+
{"version":3,"file":"serviceTasks.js","sourceRoot":"","sources":["../../../src/operations/serviceTasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAo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AC,MAAM,CAAC;IACrC,UAAU;CACX,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 { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ServiceTasks } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport {\n ProjectTask,\n ServiceTasksListNextOptionalParams,\n ServiceTasksListOptionalParams,\n ServiceTasksListResponse,\n ServiceTasksCreateOrUpdateOptionalParams,\n ServiceTasksCreateOrUpdateResponse,\n ServiceTasksGetOptionalParams,\n ServiceTasksGetResponse,\n ServiceTasksDeleteOptionalParams,\n ServiceTasksUpdateOptionalParams,\n ServiceTasksUpdateResponse,\n ServiceTasksCancelOptionalParams,\n ServiceTasksCancelResponse,\n ServiceTasksListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ServiceTasks operations. */\nexport class ServiceTasksImpl implements ServiceTasks {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class ServiceTasks class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\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 service level tasks owned by a service resource. Some tasks\n * may have a status of Unknown, which indicates that an error occurred while querying the status of\n * that task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n public list(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams,\n ): PagedAsyncIterableIterator<ProjectTask> {\n const iter = this.listPagingAll(groupName, serviceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(groupName, serviceName, options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProjectTask[]> {\n let result: ServiceTasksListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(groupName, serviceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n groupName,\n serviceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams,\n ): AsyncIterableIterator<ProjectTask> {\n for await (const page of this.listPagingPage(\n groupName,\n serviceName,\n options,\n )) {\n yield* page;\n }\n }\n\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 service level tasks owned by a service resource. Some tasks\n * may have a status of Unknown, which indicates that an error occurred while querying the status of\n * that task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n private _list(\n groupName: string,\n serviceName: string,\n options?: ServiceTasksListOptionalParams,\n ): Promise<ServiceTasksListResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * (classic) instance. The PUT method creates a new service task or updates an existing one, although\n * since service tasks have no mutable custom properties, there is little reason to update an existing\n * one.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\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 taskName: string,\n parameters: ProjectTask,\n options?: ServiceTasksCreateOrUpdateOptionalParams,\n ): Promise<ServiceTasksCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, parameters, options },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * (classic) instance. The GET method retrieves information about a service task.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param taskName Name of the Task\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n taskName: string,\n options?: ServiceTasksGetOptionalParams,\n ): Promise<ServiceTasksGetResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, options },\n getOperationSpec,\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * (classic) instance. The DELETE method deletes a service 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 taskName Name of the Task\n * @param options The options parameters.\n */\n delete(\n groupName: string,\n serviceName: string,\n taskName: string,\n options?: ServiceTasksDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * (classic) instance. The PATCH method updates an existing service task, but since service tasks have\n * no mutable custom 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 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 taskName: string,\n parameters: ProjectTask,\n options?: ServiceTasksUpdateOptionalParams,\n ): Promise<ServiceTasksUpdateResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, parameters, options },\n updateOperationSpec,\n );\n }\n\n /**\n * The service tasks resource is a nested, proxy-only resource representing work performed by a DMS\n * (classic) instance. This method cancels a service 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 taskName Name of the Task\n * @param options The options parameters.\n */\n cancel(\n groupName: string,\n serviceName: string,\n taskName: string,\n options?: ServiceTasksCancelOptionalParams,\n ): Promise<ServiceTasksCancelResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, taskName, options },\n cancelOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n groupName: string,\n serviceName: string,\n nextLink: string,\n options?: ServiceTasksListNextOptionalParams,\n ): Promise<ServiceTasksListNextResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TaskList,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.taskType],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask,\n },\n 201: {\n bodyMapper: Mappers.ProjectTask,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n requestBody: Parameters.parameters13,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst cancelOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProjectTask,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName,\n Parameters.taskName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TaskList,\n },\n default: {\n bodyMapper: Mappers.ApiError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.groupName,\n Parameters.serviceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
2
|
import { Services } from "../operationsInterfaces/index.js";
|
3
3
|
import { DataMigrationManagementClient } from "../dataMigrationManagementClient.js";
|
4
|
-
import {
|
4
|
+
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
5
5
|
import { AvailableServiceSku, ServicesListSkusOptionalParams, DataMigrationService, ServicesListByResourceGroupOptionalParams, ServicesListOptionalParams, ServicesCreateOrUpdateOptionalParams, ServicesCreateOrUpdateResponse, ServicesGetOptionalParams, ServicesGetResponse, ServicesDeleteOptionalParams, ServicesUpdateOptionalParams, ServicesUpdateResponse, ServicesCheckStatusOptionalParams, ServicesCheckStatusResponse, ServicesStartOptionalParams, ServicesStopOptionalParams, NameAvailabilityRequest, ServicesCheckChildrenNameAvailabilityOptionalParams, ServicesCheckChildrenNameAvailabilityResponse, ServicesCheckNameAvailabilityOptionalParams, ServicesCheckNameAvailabilityResponse } from "../models/index.js";
|
6
6
|
/** Class containing Services operations. */
|
7
7
|
export declare class ServicesImpl implements Services {
|
@@ -12,8 +12,8 @@ export declare class ServicesImpl implements Services {
|
|
12
12
|
*/
|
13
13
|
constructor(client: DataMigrationManagementClient);
|
14
14
|
/**
|
15
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
16
|
-
* skus action returns the list of SKUs that a service resource can be updated to.
|
15
|
+
* The services resource is the top-level resource that represents the Database Migration Service
|
16
|
+
* (classic). The skus action returns the list of SKUs that a service resource can be updated to.
|
17
17
|
* @param groupName Name of the resource group
|
18
18
|
* @param serviceName Name of the service
|
19
19
|
* @param options The options parameters.
|
@@ -22,8 +22,8 @@ export declare class ServicesImpl implements Services {
|
|
22
22
|
private listSkusPagingPage;
|
23
23
|
private listSkusPagingAll;
|
24
24
|
/**
|
25
|
-
* The Services resource is the top-level resource that represents the Database Migration Service
|
26
|
-
* method returns a list of service resources in a resource group.
|
25
|
+
* The Services resource is the top-level resource that represents the Azure Database Migration Service
|
26
|
+
* (classic). This method returns a list of service resources in a resource group.
|
27
27
|
* @param groupName Name of the resource group
|
28
28
|
* @param options The options parameters.
|
29
29
|
*/
|
@@ -31,36 +31,36 @@ export declare class ServicesImpl implements Services {
|
|
31
31
|
private listByResourceGroupPagingPage;
|
32
32
|
private listByResourceGroupPagingAll;
|
33
33
|
/**
|
34
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
35
|
-
* method returns a list of service resources in a subscription.
|
34
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
35
|
+
* (classic). This method returns a list of service resources in a subscription.
|
36
36
|
* @param options The options parameters.
|
37
37
|
*/
|
38
38
|
list(options?: ServicesListOptionalParams): PagedAsyncIterableIterator<DataMigrationService>;
|
39
39
|
private listPagingPage;
|
40
40
|
private listPagingAll;
|
41
41
|
/**
|
42
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
43
|
-
* PUT method creates a new service or updates an existing one. When a service is
|
44
|
-
* child resources (i.e. tasks) are unaffected. Services currently support a single
|
45
|
-
* refers to a VM-based service, although other kinds may be added in the future.
|
46
|
-
* change the kind, SKU, and network of the service, but if tasks are currently running
|
47
|
-
* service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
48
|
-
* when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
42
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
43
|
+
* (classic). The PUT method creates a new service or updates an existing one. When a service is
|
44
|
+
* updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
|
45
|
+
* kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
|
46
|
+
* This method can change the kind, SKU, and network of the service, but if tasks are currently running
|
47
|
+
* (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
48
|
+
* reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
49
49
|
* property.
|
50
50
|
* @param groupName Name of the resource group
|
51
51
|
* @param serviceName Name of the service
|
52
52
|
* @param parameters Information about the service
|
53
53
|
* @param options The options parameters.
|
54
54
|
*/
|
55
|
-
beginCreateOrUpdate(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesCreateOrUpdateOptionalParams): Promise<
|
55
|
+
beginCreateOrUpdate(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesCreateOrUpdateResponse>, ServicesCreateOrUpdateResponse>>;
|
56
56
|
/**
|
57
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
58
|
-
* PUT method creates a new service or updates an existing one. When a service is
|
59
|
-
* child resources (i.e. tasks) are unaffected. Services currently support a single
|
60
|
-
* refers to a VM-based service, although other kinds may be added in the future.
|
61
|
-
* change the kind, SKU, and network of the service, but if tasks are currently running
|
62
|
-
* service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
63
|
-
* when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
57
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
58
|
+
* (classic). The PUT method creates a new service or updates an existing one. When a service is
|
59
|
+
* updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single
|
60
|
+
* kind, "vm", which refers to a VM-based service, although other kinds may be added in the future.
|
61
|
+
* This method can change the kind, SKU, and network of the service, but if tasks are currently running
|
62
|
+
* (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy"). The provider will
|
63
|
+
* reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState
|
64
64
|
* property.
|
65
65
|
* @param groupName Name of the resource group
|
66
66
|
* @param serviceName Name of the service
|
@@ -69,45 +69,45 @@ export declare class ServicesImpl implements Services {
|
|
69
69
|
*/
|
70
70
|
beginCreateOrUpdateAndWait(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesCreateOrUpdateOptionalParams): Promise<ServicesCreateOrUpdateResponse>;
|
71
71
|
/**
|
72
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
73
|
-
* GET method retrieves information about a service instance.
|
72
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
73
|
+
* (classic). The GET method retrieves information about a service instance.
|
74
74
|
* @param groupName Name of the resource group
|
75
75
|
* @param serviceName Name of the service
|
76
76
|
* @param options The options parameters.
|
77
77
|
*/
|
78
78
|
get(groupName: string, serviceName: string, options?: ServicesGetOptionalParams): Promise<ServicesGetResponse>;
|
79
79
|
/**
|
80
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
81
|
-
* DELETE method deletes a service. Any running tasks will be canceled.
|
80
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
81
|
+
* (classic). The DELETE method deletes a service. Any running tasks will be canceled.
|
82
82
|
* @param groupName Name of the resource group
|
83
83
|
* @param serviceName Name of the service
|
84
84
|
* @param options The options parameters.
|
85
85
|
*/
|
86
|
-
beginDelete(groupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<
|
86
|
+
beginDelete(groupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
87
87
|
/**
|
88
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
89
|
-
* DELETE method deletes a service. Any running tasks will be canceled.
|
88
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
89
|
+
* (classic). The DELETE method deletes a service. Any running tasks will be canceled.
|
90
90
|
* @param groupName Name of the resource group
|
91
91
|
* @param serviceName Name of the service
|
92
92
|
* @param options The options parameters.
|
93
93
|
*/
|
94
94
|
beginDeleteAndWait(groupName: string, serviceName: string, options?: ServicesDeleteOptionalParams): Promise<void>;
|
95
95
|
/**
|
96
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
97
|
-
* PATCH method updates an existing service. This method can change the kind, SKU, and
|
98
|
-
* service, but if tasks are currently running (i.e. the service is busy), this will
|
99
|
-
* Request ("ServiceIsBusy").
|
96
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
97
|
+
* (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
|
98
|
+
* network of the service, but if tasks are currently running (i.e. the service is busy), this will
|
99
|
+
* fail with 400 Bad Request ("ServiceIsBusy").
|
100
100
|
* @param groupName Name of the resource group
|
101
101
|
* @param serviceName Name of the service
|
102
102
|
* @param parameters Information about the service
|
103
103
|
* @param options The options parameters.
|
104
104
|
*/
|
105
|
-
beginUpdate(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesUpdateOptionalParams): Promise<
|
105
|
+
beginUpdate(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ServicesUpdateResponse>, ServicesUpdateResponse>>;
|
106
106
|
/**
|
107
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
108
|
-
* PATCH method updates an existing service. This method can change the kind, SKU, and
|
109
|
-
* service, but if tasks are currently running (i.e. the service is busy), this will
|
110
|
-
* Request ("ServiceIsBusy").
|
107
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
108
|
+
* (classic). The PATCH method updates an existing service. This method can change the kind, SKU, and
|
109
|
+
* network of the service, but if tasks are currently running (i.e. the service is busy), this will
|
110
|
+
* fail with 400 Bad Request ("ServiceIsBusy").
|
111
111
|
* @param groupName Name of the resource group
|
112
112
|
* @param serviceName Name of the service
|
113
113
|
* @param parameters Information about the service
|
@@ -115,50 +115,51 @@ export declare class ServicesImpl implements Services {
|
|
115
115
|
*/
|
116
116
|
beginUpdateAndWait(groupName: string, serviceName: string, parameters: DataMigrationService, options?: ServicesUpdateOptionalParams): Promise<ServicesUpdateResponse>;
|
117
117
|
/**
|
118
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
119
|
-
* action performs a health check and returns the status of the service and virtual
|
118
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
119
|
+
* (classic). This action performs a health check and returns the status of the service and virtual
|
120
|
+
* machine size.
|
120
121
|
* @param groupName Name of the resource group
|
121
122
|
* @param serviceName Name of the service
|
122
123
|
* @param options The options parameters.
|
123
124
|
*/
|
124
125
|
checkStatus(groupName: string, serviceName: string, options?: ServicesCheckStatusOptionalParams): Promise<ServicesCheckStatusResponse>;
|
125
126
|
/**
|
126
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
127
|
-
* action starts the service and the service can be used for data migration.
|
127
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
128
|
+
* (classic). This action starts the service and the service can be used for data migration.
|
128
129
|
* @param groupName Name of the resource group
|
129
130
|
* @param serviceName Name of the service
|
130
131
|
* @param options The options parameters.
|
131
132
|
*/
|
132
|
-
beginStart(groupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<
|
133
|
+
beginStart(groupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
133
134
|
/**
|
134
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
135
|
-
* action starts the service and the service can be used for data migration.
|
135
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
136
|
+
* (classic). This action starts the service and the service can be used for data migration.
|
136
137
|
* @param groupName Name of the resource group
|
137
138
|
* @param serviceName Name of the service
|
138
139
|
* @param options The options parameters.
|
139
140
|
*/
|
140
141
|
beginStartAndWait(groupName: string, serviceName: string, options?: ServicesStartOptionalParams): Promise<void>;
|
141
142
|
/**
|
142
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
143
|
-
* action stops the service and the service cannot be used for data migration. The
|
144
|
-
* be billed when the service is stopped.
|
143
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
144
|
+
* (classic). This action stops the service and the service cannot be used for data migration. The
|
145
|
+
* service owner won't be billed when the service is stopped.
|
145
146
|
* @param groupName Name of the resource group
|
146
147
|
* @param serviceName Name of the service
|
147
148
|
* @param options The options parameters.
|
148
149
|
*/
|
149
|
-
beginStop(groupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<
|
150
|
+
beginStop(groupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
|
150
151
|
/**
|
151
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
152
|
-
* action stops the service and the service cannot be used for data migration. The
|
153
|
-
* be billed when the service is stopped.
|
152
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
153
|
+
* (classic). This action stops the service and the service cannot be used for data migration. The
|
154
|
+
* service owner won't be billed when the service is stopped.
|
154
155
|
* @param groupName Name of the resource group
|
155
156
|
* @param serviceName Name of the service
|
156
157
|
* @param options The options parameters.
|
157
158
|
*/
|
158
159
|
beginStopAndWait(groupName: string, serviceName: string, options?: ServicesStopOptionalParams): Promise<void>;
|
159
160
|
/**
|
160
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
161
|
-
* skus action returns the list of SKUs that a service resource can be updated to.
|
161
|
+
* The services resource is the top-level resource that represents the Database Migration Service
|
162
|
+
* (classic). The skus action returns the list of SKUs that a service resource can be updated to.
|
162
163
|
* @param groupName Name of the resource group
|
163
164
|
* @param serviceName Name of the service
|
164
165
|
* @param options The options parameters.
|
@@ -173,15 +174,15 @@ export declare class ServicesImpl implements Services {
|
|
173
174
|
*/
|
174
175
|
checkChildrenNameAvailability(groupName: string, serviceName: string, parameters: NameAvailabilityRequest, options?: ServicesCheckChildrenNameAvailabilityOptionalParams): Promise<ServicesCheckChildrenNameAvailabilityResponse>;
|
175
176
|
/**
|
176
|
-
* The Services resource is the top-level resource that represents the Database Migration Service
|
177
|
-
* method returns a list of service resources in a resource group.
|
177
|
+
* The Services resource is the top-level resource that represents the Azure Database Migration Service
|
178
|
+
* (classic). This method returns a list of service resources in a resource group.
|
178
179
|
* @param groupName Name of the resource group
|
179
180
|
* @param options The options parameters.
|
180
181
|
*/
|
181
182
|
private _listByResourceGroup;
|
182
183
|
/**
|
183
|
-
* The services resource is the top-level resource that represents the Database Migration Service
|
184
|
-
* method returns a list of service resources in a subscription.
|
184
|
+
* The services resource is the top-level resource that represents the Azure Database Migration Service
|
185
|
+
* (classic). This method returns a list of service resources in a subscription.
|
185
186
|
* @param options The options parameters.
|
186
187
|
*/
|
187
188
|
private _list;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,
|
1
|
+
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAi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