@azure/arm-datamigration 2.0.0 → 3.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -73
- package/dist/index.js +16801 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesDelete.js +33 -0
- package/dist-esm/samples-dev/filesDelete.js.map +1 -0
- package/dist-esm/samples-dev/filesList.d.ts +2 -0
- package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesList.js +33 -0
- package/dist-esm/samples-dev/filesList.js.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.js +36 -0
- package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.js +31 -0
- package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
- package/dist-esm/samples-dev/listSkus.d.ts +2 -0
- package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSkus.js +43 -0
- package/dist-esm/samples-dev/listSkus.js.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.js +32 -0
- package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
- package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGet.js +32 -0
- package/dist-esm/samples-dev/projectsGet.js.map +1 -0
- package/dist-esm/samples-dev/projectsList.d.ts +2 -0
- package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsList.js +45 -0
- package/dist-esm/samples-dev/projectsList.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.js +45 -0
- package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/servicesList.d.ts +2 -0
- package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesList.js +43 -0
- package/dist-esm/samples-dev/servicesList.js.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.js +45 -0
- package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
- package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStart.js +31 -0
- package/dist-esm/samples-dev/servicesStart.js.map +1 -0
- package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStop.js +31 -0
- package/dist-esm/samples-dev/servicesStop.js.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.js +44 -0
- package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.js +32 -0
- package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.js +37 -0
- package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.js +32 -0
- package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
- package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
- package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksGet.js +32 -0
- package/dist-esm/samples-dev/tasksGet.js.map +1 -0
- package/dist-esm/samples-dev/tasksList.d.ts +2 -0
- package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksList.js +46 -0
- package/dist-esm/samples-dev/tasksList.js.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.js +61 -0
- package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7238 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +534 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +434 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +36 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +272 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operations/files.d.ts +101 -0
- package/dist-esm/src/operations/files.d.ts.map +1 -0
- package/dist-esm/src/operations/files.js +358 -0
- package/dist-esm/src/operations/files.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +19 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +78 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +279 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +124 -0
- package/dist-esm/src/operations/resourceSkus.js.map +1 -0
- package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
- package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceTasks.js +316 -0
- package/dist-esm/src/operations/serviceTasks.js.map +1 -0
- package/dist-esm/src/operations/services.d.ts +217 -0
- package/dist-esm/src/operations/services.d.ts.map +1 -0
- package/dist-esm/src/operations/services.js +884 -0
- package/dist-esm/src/operations/services.js.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
- package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +110 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +369 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +37 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +134 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.js +9 -0
- package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.js +9 -0
- package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +80 -32
- package/review/arm-datamigration.api.md +4412 -0
- package/rollup.config.js +181 -30
- package/src/dataMigrationManagementClient.ts +119 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +6252 -7473
- package/src/models/mappers.ts +8147 -6279
- package/src/models/parameters.ts +230 -54
- package/src/operations/databaseMigrationsSqlMi.ts +453 -0
- package/src/operations/databaseMigrationsSqlVm.ts +453 -0
- package/src/operations/files.ts +283 -368
- package/src/operations/index.ts +7 -6
- package/src/operations/operations.ts +93 -85
- package/src/operations/projects.ts +222 -275
- package/src/operations/resourceSkus.ts +92 -78
- package/src/operations/serviceTasks.ts +244 -321
- package/src/operations/services.ts +887 -647
- package/src/operations/sqlMigrationServices.ts +986 -0
- package/src/operations/tasks.ts +303 -397
- package/src/operations/usages.ts +110 -85
- package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
- package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
- package/src/operationsInterfaces/files.ts +139 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/projects.ts +97 -0
- package/src/operationsInterfaces/resourceSkus.ts +22 -0
- package/src/operationsInterfaces/serviceTasks.ts +116 -0
- package/src/operationsInterfaces/services.ts +272 -0
- package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
- package/src/operationsInterfaces/tasks.ts +149 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/tsconfig.json +5 -4
- package/types/arm-datamigration.d.ts +8549 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datamigration.js +0 -14002
- package/dist/arm-datamigration.js.map +0 -1
- package/dist/arm-datamigration.min.js +0 -1
- package/dist/arm-datamigration.min.js.map +0 -1
- package/esm/dataMigrationServiceClient.d.ts +0 -25
- package/esm/dataMigrationServiceClient.d.ts.map +0 -1
- package/esm/dataMigrationServiceClient.js +0 -40
- package/esm/dataMigrationServiceClient.js.map +0 -1
- package/esm/dataMigrationServiceClientContext.d.ts +0 -16
- package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
- package/esm/dataMigrationServiceClientContext.js +0 -56
- package/esm/dataMigrationServiceClientContext.js.map +0 -1
- package/esm/models/filesMappers.d.ts +0 -2
- package/esm/models/filesMappers.d.ts.map +0 -1
- package/esm/models/filesMappers.js +0 -9
- package/esm/models/filesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -8920
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -374
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -147
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -9
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/models/resourceSkusMappers.d.ts +0 -2
- package/esm/models/resourceSkusMappers.d.ts.map +0 -1
- package/esm/models/resourceSkusMappers.js +0 -9
- package/esm/models/resourceSkusMappers.js.map +0 -1
- package/esm/models/serviceTasksMappers.d.ts +0 -2
- package/esm/models/serviceTasksMappers.d.ts.map +0 -1
- package/esm/models/serviceTasksMappers.js +0 -9
- package/esm/models/serviceTasksMappers.js.map +0 -1
- package/esm/models/servicesMappers.d.ts +0 -2
- package/esm/models/servicesMappers.d.ts.map +0 -1
- package/esm/models/servicesMappers.js +0 -9
- package/esm/models/servicesMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/operations/files.d.ts +0 -235
- package/esm/operations/files.d.ts.map +0 -1
- package/esm/operations/files.js +0 -309
- package/esm/operations/files.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -166
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -230
- package/esm/operations/projects.js.map +0 -1
- package/esm/operations/resourceSkus.d.ts +0 -48
- package/esm/operations/resourceSkus.d.ts.map +0 -1
- package/esm/operations/resourceSkus.js +0 -80
- package/esm/operations/resourceSkus.js.map +0 -1
- package/esm/operations/serviceTasks.d.ts +0 -199
- package/esm/operations/serviceTasks.d.ts.map +0 -1
- package/esm/operations/serviceTasks.js +0 -265
- package/esm/operations/serviceTasks.js.map +0 -1
- package/esm/operations/services.d.ts +0 -350
- package/esm/operations/services.d.ts.map +0 -1
- package/esm/operations/services.js +0 -626
- package/esm/operations/services.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -246
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -317
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -53
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -82
- package/esm/operations/usages.js.map +0 -1
- package/src/dataMigrationServiceClient.ts +0 -56
- package/src/dataMigrationServiceClientContext.ts +0 -62
- package/src/models/filesMappers.ts +0 -235
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/projectsMappers.ts +0 -234
- package/src/models/resourceSkusMappers.ts +0 -19
- package/src/models/serviceTasksMappers.ts +0 -234
- package/src/models/servicesMappers.ts +0 -241
- package/src/models/tasksMappers.ts +0 -234
- package/src/models/usagesMappers.ts +0 -16
@@ -1,318 +1,259 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import * as
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { ServiceTasks } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
14
13
|
import * as Parameters from "../models/parameters";
|
15
|
-
import {
|
14
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
15
|
+
import {
|
16
|
+
ProjectTask,
|
17
|
+
ServiceTasksListNextOptionalParams,
|
18
|
+
ServiceTasksListOptionalParams,
|
19
|
+
ServiceTasksListResponse,
|
20
|
+
ServiceTasksCreateOrUpdateOptionalParams,
|
21
|
+
ServiceTasksCreateOrUpdateResponse,
|
22
|
+
ServiceTasksGetOptionalParams,
|
23
|
+
ServiceTasksGetResponse,
|
24
|
+
ServiceTasksDeleteOptionalParams,
|
25
|
+
ServiceTasksUpdateOptionalParams,
|
26
|
+
ServiceTasksUpdateResponse,
|
27
|
+
ServiceTasksCancelOptionalParams,
|
28
|
+
ServiceTasksCancelResponse,
|
29
|
+
ServiceTasksListNextResponse
|
30
|
+
} from "../models";
|
16
31
|
|
17
|
-
|
18
|
-
|
19
|
-
|
32
|
+
/// <reference lib="esnext.asynciterable" />
|
33
|
+
/** Class containing ServiceTasks operations. */
|
34
|
+
export class ServiceTasksImpl implements ServiceTasks {
|
35
|
+
private readonly client: DataMigrationManagementClient;
|
20
36
|
|
21
37
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
38
|
+
* Initialize a new instance of the class ServiceTasks class.
|
39
|
+
* @param client Reference to the service client
|
24
40
|
*/
|
25
|
-
constructor(client:
|
41
|
+
constructor(client: DataMigrationManagementClient) {
|
26
42
|
this.client = client;
|
27
43
|
}
|
28
44
|
|
29
45
|
/**
|
30
|
-
* The services resource is the top-level resource that represents the Database Migration Service.
|
31
|
-
*
|
32
|
-
*
|
33
|
-
* that task.
|
34
|
-
* @summary Get service level tasks for a service
|
46
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
47
|
+
* method returns a list of service level tasks owned by a service resource. Some tasks may have a
|
48
|
+
* status of Unknown, which indicates that an error occurred while querying the status of that task.
|
35
49
|
* @param groupName Name of the resource group
|
36
50
|
* @param serviceName Name of the service
|
37
|
-
* @param
|
38
|
-
* @returns Promise<Models.ServiceTasksListResponse>
|
51
|
+
* @param options The options parameters.
|
39
52
|
*/
|
40
|
-
list(
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
53
|
+
public list(
|
54
|
+
groupName: string,
|
55
|
+
serviceName: string,
|
56
|
+
options?: ServiceTasksListOptionalParams
|
57
|
+
): PagedAsyncIterableIterator<ProjectTask> {
|
58
|
+
const iter = this.listPagingAll(groupName, serviceName, options);
|
59
|
+
return {
|
60
|
+
next() {
|
61
|
+
return iter.next();
|
62
|
+
},
|
63
|
+
[Symbol.asyncIterator]() {
|
64
|
+
return this;
|
65
|
+
},
|
66
|
+
byPage: () => {
|
67
|
+
return this.listPagingPage(groupName, serviceName, options);
|
68
|
+
}
|
69
|
+
};
|
70
|
+
}
|
71
|
+
|
72
|
+
private async *listPagingPage(
|
73
|
+
groupName: string,
|
74
|
+
serviceName: string,
|
75
|
+
options?: ServiceTasksListOptionalParams
|
76
|
+
): AsyncIterableIterator<ProjectTask[]> {
|
77
|
+
let result = await this._list(groupName, serviceName, options);
|
78
|
+
yield result.value || [];
|
79
|
+
let continuationToken = result.nextLink;
|
80
|
+
while (continuationToken) {
|
81
|
+
result = await this._listNext(
|
57
82
|
groupName,
|
58
83
|
serviceName,
|
84
|
+
continuationToken,
|
59
85
|
options
|
60
|
-
|
61
|
-
|
62
|
-
|
86
|
+
);
|
87
|
+
continuationToken = result.nextLink;
|
88
|
+
yield result.value || [];
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
private async *listPagingAll(
|
93
|
+
groupName: string,
|
94
|
+
serviceName: string,
|
95
|
+
options?: ServiceTasksListOptionalParams
|
96
|
+
): AsyncIterableIterator<ProjectTask> {
|
97
|
+
for await (const page of this.listPagingPage(
|
98
|
+
groupName,
|
99
|
+
serviceName,
|
100
|
+
options
|
101
|
+
)) {
|
102
|
+
yield* page;
|
103
|
+
}
|
63
104
|
}
|
64
105
|
|
65
106
|
/**
|
66
|
-
* The
|
67
|
-
*
|
68
|
-
*
|
69
|
-
* one.
|
70
|
-
* @summary Create or update service task
|
71
|
-
* @param parameters Information about the task
|
107
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
108
|
+
* method returns a list of service level tasks owned by a service resource. Some tasks may have a
|
109
|
+
* status of Unknown, which indicates that an error occurred while querying the status of that task.
|
72
110
|
* @param groupName Name of the resource group
|
73
111
|
* @param serviceName Name of the service
|
74
|
-
* @param
|
75
|
-
* @param [options] The optional parameters
|
76
|
-
* @returns Promise<Models.ServiceTasksCreateOrUpdateResponse>
|
112
|
+
* @param options The options parameters.
|
77
113
|
*/
|
78
|
-
|
114
|
+
private _list(
|
115
|
+
groupName: string,
|
116
|
+
serviceName: string,
|
117
|
+
options?: ServiceTasksListOptionalParams
|
118
|
+
): Promise<ServiceTasksListResponse> {
|
119
|
+
return this.client.sendOperationRequest(
|
120
|
+
{ groupName, serviceName, options },
|
121
|
+
listOperationSpec
|
122
|
+
);
|
123
|
+
}
|
124
|
+
|
79
125
|
/**
|
80
|
-
*
|
126
|
+
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
127
|
+
* instance. The PUT method creates a new service task or updates an existing one, although since
|
128
|
+
* service tasks have no mutable custom properties, there is little reason to update an existing one.
|
81
129
|
* @param groupName Name of the resource group
|
82
130
|
* @param serviceName Name of the service
|
83
131
|
* @param taskName Name of the Task
|
84
|
-
* @param callback The callback
|
85
|
-
*/
|
86
|
-
createOrUpdate(parameters: Models.ProjectTask, groupName: string, serviceName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
|
87
|
-
/**
|
88
132
|
* @param parameters Information about the task
|
89
|
-
* @param
|
90
|
-
* @param serviceName Name of the service
|
91
|
-
* @param taskName Name of the Task
|
92
|
-
* @param options The optional parameters
|
93
|
-
* @param callback The callback
|
133
|
+
* @param options The options parameters.
|
94
134
|
*/
|
95
|
-
createOrUpdate(
|
96
|
-
|
135
|
+
createOrUpdate(
|
136
|
+
groupName: string,
|
137
|
+
serviceName: string,
|
138
|
+
taskName: string,
|
139
|
+
parameters: ProjectTask,
|
140
|
+
options?: ServiceTasksCreateOrUpdateOptionalParams
|
141
|
+
): Promise<ServiceTasksCreateOrUpdateResponse> {
|
97
142
|
return this.client.sendOperationRequest(
|
98
|
-
{
|
99
|
-
|
100
|
-
|
101
|
-
serviceName,
|
102
|
-
taskName,
|
103
|
-
options
|
104
|
-
},
|
105
|
-
createOrUpdateOperationSpec,
|
106
|
-
callback) as Promise<Models.ServiceTasksCreateOrUpdateResponse>;
|
143
|
+
{ groupName, serviceName, taskName, parameters, options },
|
144
|
+
createOrUpdateOperationSpec
|
145
|
+
);
|
107
146
|
}
|
108
147
|
|
109
148
|
/**
|
110
149
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
111
150
|
* instance. The GET method retrieves information about a service task.
|
112
|
-
* @summary Get service task information
|
113
151
|
* @param groupName Name of the resource group
|
114
152
|
* @param serviceName Name of the service
|
115
153
|
* @param taskName Name of the Task
|
116
|
-
* @param
|
117
|
-
* @returns Promise<Models.ServiceTasksGetResponse>
|
154
|
+
* @param options The options parameters.
|
118
155
|
*/
|
119
|
-
get(
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
*/
|
126
|
-
get(groupName: string, serviceName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
|
127
|
-
/**
|
128
|
-
* @param groupName Name of the resource group
|
129
|
-
* @param serviceName Name of the service
|
130
|
-
* @param taskName Name of the Task
|
131
|
-
* @param options The optional parameters
|
132
|
-
* @param callback The callback
|
133
|
-
*/
|
134
|
-
get(groupName: string, serviceName: string, taskName: string, options: Models.ServiceTasksGetOptionalParams, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
|
135
|
-
get(groupName: string, serviceName: string, taskName: string, options?: Models.ServiceTasksGetOptionalParams | msRest.ServiceCallback<Models.ProjectTask>, callback?: msRest.ServiceCallback<Models.ProjectTask>): Promise<Models.ServiceTasksGetResponse> {
|
156
|
+
get(
|
157
|
+
groupName: string,
|
158
|
+
serviceName: string,
|
159
|
+
taskName: string,
|
160
|
+
options?: ServiceTasksGetOptionalParams
|
161
|
+
): Promise<ServiceTasksGetResponse> {
|
136
162
|
return this.client.sendOperationRequest(
|
137
|
-
{
|
138
|
-
|
139
|
-
|
140
|
-
taskName,
|
141
|
-
options
|
142
|
-
},
|
143
|
-
getOperationSpec,
|
144
|
-
callback) as Promise<Models.ServiceTasksGetResponse>;
|
163
|
+
{ groupName, serviceName, taskName, options },
|
164
|
+
getOperationSpec
|
165
|
+
);
|
145
166
|
}
|
146
167
|
|
147
168
|
/**
|
148
169
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
149
170
|
* instance. The DELETE method deletes a service task, canceling it first if it's running.
|
150
|
-
* @summary Delete service task
|
151
|
-
* @param groupName Name of the resource group
|
152
|
-
* @param serviceName Name of the service
|
153
|
-
* @param taskName Name of the Task
|
154
|
-
* @param [options] The optional parameters
|
155
|
-
* @returns Promise<msRest.RestResponse>
|
156
|
-
*/
|
157
|
-
deleteMethod(groupName: string, serviceName: string, taskName: string, options?: Models.ServiceTasksDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
|
158
|
-
/**
|
159
171
|
* @param groupName Name of the resource group
|
160
172
|
* @param serviceName Name of the service
|
161
173
|
* @param taskName Name of the Task
|
162
|
-
* @param
|
174
|
+
* @param options The options parameters.
|
163
175
|
*/
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
* @param callback The callback
|
171
|
-
*/
|
172
|
-
deleteMethod(groupName: string, serviceName: string, taskName: string, options: Models.ServiceTasksDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
|
173
|
-
deleteMethod(groupName: string, serviceName: string, taskName: string, options?: Models.ServiceTasksDeleteMethodOptionalParams | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
176
|
+
delete(
|
177
|
+
groupName: string,
|
178
|
+
serviceName: string,
|
179
|
+
taskName: string,
|
180
|
+
options?: ServiceTasksDeleteOptionalParams
|
181
|
+
): Promise<void> {
|
174
182
|
return this.client.sendOperationRequest(
|
175
|
-
{
|
176
|
-
|
177
|
-
|
178
|
-
taskName,
|
179
|
-
options
|
180
|
-
},
|
181
|
-
deleteMethodOperationSpec,
|
182
|
-
callback);
|
183
|
+
{ groupName, serviceName, taskName, options },
|
184
|
+
deleteOperationSpec
|
185
|
+
);
|
183
186
|
}
|
184
187
|
|
185
188
|
/**
|
186
189
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
187
|
-
* instance. The PATCH method updates an existing service task, but since service tasks have no
|
188
|
-
*
|
189
|
-
* @summary Create or update service task
|
190
|
-
* @param parameters Information about the task
|
190
|
+
* instance. The PATCH method updates an existing service task, but since service tasks have no mutable
|
191
|
+
* custom properties, there is little reason to do so.
|
191
192
|
* @param groupName Name of the resource group
|
192
193
|
* @param serviceName Name of the service
|
193
194
|
* @param taskName Name of the Task
|
194
|
-
* @param [options] The optional parameters
|
195
|
-
* @returns Promise<Models.ServiceTasksUpdateResponse>
|
196
|
-
*/
|
197
|
-
update(parameters: Models.ProjectTask, groupName: string, serviceName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServiceTasksUpdateResponse>;
|
198
|
-
/**
|
199
195
|
* @param parameters Information about the task
|
200
|
-
* @param
|
201
|
-
* @param serviceName Name of the service
|
202
|
-
* @param taskName Name of the Task
|
203
|
-
* @param callback The callback
|
196
|
+
* @param options The options parameters.
|
204
197
|
*/
|
205
|
-
update(
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
* @param callback The callback
|
213
|
-
*/
|
214
|
-
update(parameters: Models.ProjectTask, groupName: string, serviceName: string, taskName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
|
215
|
-
update(parameters: Models.ProjectTask, groupName: string, serviceName: string, taskName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ProjectTask>, callback?: msRest.ServiceCallback<Models.ProjectTask>): Promise<Models.ServiceTasksUpdateResponse> {
|
198
|
+
update(
|
199
|
+
groupName: string,
|
200
|
+
serviceName: string,
|
201
|
+
taskName: string,
|
202
|
+
parameters: ProjectTask,
|
203
|
+
options?: ServiceTasksUpdateOptionalParams
|
204
|
+
): Promise<ServiceTasksUpdateResponse> {
|
216
205
|
return this.client.sendOperationRequest(
|
217
|
-
{
|
218
|
-
|
219
|
-
|
220
|
-
serviceName,
|
221
|
-
taskName,
|
222
|
-
options
|
223
|
-
},
|
224
|
-
updateOperationSpec,
|
225
|
-
callback) as Promise<Models.ServiceTasksUpdateResponse>;
|
206
|
+
{ groupName, serviceName, taskName, parameters, options },
|
207
|
+
updateOperationSpec
|
208
|
+
);
|
226
209
|
}
|
227
210
|
|
228
211
|
/**
|
229
212
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
230
213
|
* instance. This method cancels a service task if it's currently queued or running.
|
231
|
-
* @summary Cancel a service task
|
232
|
-
* @param groupName Name of the resource group
|
233
|
-
* @param serviceName Name of the service
|
234
|
-
* @param taskName Name of the Task
|
235
|
-
* @param [options] The optional parameters
|
236
|
-
* @returns Promise<Models.ServiceTasksCancelResponse>
|
237
|
-
*/
|
238
|
-
cancel(groupName: string, serviceName: string, taskName: string, options?: msRest.RequestOptionsBase): Promise<Models.ServiceTasksCancelResponse>;
|
239
|
-
/**
|
240
|
-
* @param groupName Name of the resource group
|
241
|
-
* @param serviceName Name of the service
|
242
|
-
* @param taskName Name of the Task
|
243
|
-
* @param callback The callback
|
244
|
-
*/
|
245
|
-
cancel(groupName: string, serviceName: string, taskName: string, callback: msRest.ServiceCallback<Models.ProjectTask>): void;
|
246
|
-
/**
|
247
214
|
* @param groupName Name of the resource group
|
248
215
|
* @param serviceName Name of the service
|
249
216
|
* @param taskName Name of the Task
|
250
|
-
* @param options The
|
251
|
-
* @param callback The callback
|
217
|
+
* @param options The options parameters.
|
252
218
|
*/
|
253
|
-
cancel(
|
254
|
-
|
219
|
+
cancel(
|
220
|
+
groupName: string,
|
221
|
+
serviceName: string,
|
222
|
+
taskName: string,
|
223
|
+
options?: ServiceTasksCancelOptionalParams
|
224
|
+
): Promise<ServiceTasksCancelResponse> {
|
255
225
|
return this.client.sendOperationRequest(
|
256
|
-
{
|
257
|
-
|
258
|
-
|
259
|
-
taskName,
|
260
|
-
options
|
261
|
-
},
|
262
|
-
cancelOperationSpec,
|
263
|
-
callback) as Promise<Models.ServiceTasksCancelResponse>;
|
226
|
+
{ groupName, serviceName, taskName, options },
|
227
|
+
cancelOperationSpec
|
228
|
+
);
|
264
229
|
}
|
265
230
|
|
266
231
|
/**
|
267
|
-
*
|
268
|
-
*
|
269
|
-
*
|
270
|
-
*
|
271
|
-
* @
|
272
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
273
|
-
* @param [options] The optional parameters
|
274
|
-
* @returns Promise<Models.ServiceTasksListNextResponse>
|
275
|
-
*/
|
276
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ServiceTasksListNextResponse>;
|
277
|
-
/**
|
278
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
279
|
-
* @param callback The callback
|
280
|
-
*/
|
281
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TaskList>): void;
|
282
|
-
/**
|
283
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
284
|
-
* @param options The optional parameters
|
285
|
-
* @param callback The callback
|
232
|
+
* ListNext
|
233
|
+
* @param groupName Name of the resource group
|
234
|
+
* @param serviceName Name of the service
|
235
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
236
|
+
* @param options The options parameters.
|
286
237
|
*/
|
287
|
-
|
288
|
-
|
238
|
+
private _listNext(
|
239
|
+
groupName: string,
|
240
|
+
serviceName: string,
|
241
|
+
nextLink: string,
|
242
|
+
options?: ServiceTasksListNextOptionalParams
|
243
|
+
): Promise<ServiceTasksListNextResponse> {
|
289
244
|
return this.client.sendOperationRequest(
|
290
|
-
{
|
291
|
-
|
292
|
-
|
293
|
-
},
|
294
|
-
listNextOperationSpec,
|
295
|
-
callback) as Promise<Models.ServiceTasksListNextResponse>;
|
245
|
+
{ groupName, serviceName, nextLink, options },
|
246
|
+
listNextOperationSpec
|
247
|
+
);
|
296
248
|
}
|
297
249
|
}
|
298
|
-
|
299
250
|
// Operation Specifications
|
300
|
-
const serializer =
|
301
|
-
|
251
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
252
|
+
|
253
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
254
|
+
path:
|
255
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks",
|
302
256
|
httpMethod: "GET",
|
303
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks",
|
304
|
-
urlParameters: [
|
305
|
-
Parameters.subscriptionId,
|
306
|
-
Parameters.groupName,
|
307
|
-
Parameters.serviceName
|
308
|
-
],
|
309
|
-
queryParameters: [
|
310
|
-
Parameters.apiVersion,
|
311
|
-
Parameters.taskType
|
312
|
-
],
|
313
|
-
headerParameters: [
|
314
|
-
Parameters.acceptLanguage
|
315
|
-
],
|
316
257
|
responses: {
|
317
258
|
200: {
|
318
259
|
bodyMapper: Mappers.TaskList
|
@@ -321,31 +262,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
321
262
|
bodyMapper: Mappers.ApiError
|
322
263
|
}
|
323
264
|
},
|
324
|
-
|
325
|
-
};
|
326
|
-
|
327
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
328
|
-
httpMethod: "PUT",
|
329
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
265
|
+
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
330
266
|
urlParameters: [
|
267
|
+
Parameters.$host,
|
331
268
|
Parameters.subscriptionId,
|
332
269
|
Parameters.groupName,
|
333
|
-
Parameters.serviceName
|
334
|
-
Parameters.taskName
|
335
|
-
],
|
336
|
-
queryParameters: [
|
337
|
-
Parameters.apiVersion
|
338
|
-
],
|
339
|
-
headerParameters: [
|
340
|
-
Parameters.acceptLanguage
|
270
|
+
Parameters.serviceName
|
341
271
|
],
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
}
|
348
|
-
|
272
|
+
headerParameters: [Parameters.accept],
|
273
|
+
serializer
|
274
|
+
};
|
275
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
276
|
+
path:
|
277
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
278
|
+
httpMethod: "PUT",
|
349
279
|
responses: {
|
350
280
|
200: {
|
351
281
|
bodyMapper: Mappers.ProjectTask
|
@@ -357,25 +287,23 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
357
287
|
bodyMapper: Mappers.ApiError
|
358
288
|
}
|
359
289
|
},
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
const getOperationSpec: msRest.OperationSpec = {
|
364
|
-
httpMethod: "GET",
|
365
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
290
|
+
requestBody: Parameters.parameters9,
|
291
|
+
queryParameters: [Parameters.apiVersion],
|
366
292
|
urlParameters: [
|
293
|
+
Parameters.$host,
|
367
294
|
Parameters.subscriptionId,
|
368
295
|
Parameters.groupName,
|
369
296
|
Parameters.serviceName,
|
370
297
|
Parameters.taskName
|
371
298
|
],
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
299
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
300
|
+
mediaType: "json",
|
301
|
+
serializer
|
302
|
+
};
|
303
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
304
|
+
path:
|
305
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
306
|
+
httpMethod: "GET",
|
379
307
|
responses: {
|
380
308
|
200: {
|
381
309
|
bodyMapper: Mappers.ProjectTask
|
@@ -384,25 +312,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
384
312
|
bodyMapper: Mappers.ApiError
|
385
313
|
}
|
386
314
|
},
|
387
|
-
|
388
|
-
};
|
389
|
-
|
390
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
391
|
-
httpMethod: "DELETE",
|
392
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
315
|
+
queryParameters: [Parameters.expand, Parameters.apiVersion],
|
393
316
|
urlParameters: [
|
317
|
+
Parameters.$host,
|
394
318
|
Parameters.subscriptionId,
|
395
319
|
Parameters.groupName,
|
396
320
|
Parameters.serviceName,
|
397
321
|
Parameters.taskName
|
398
322
|
],
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
323
|
+
headerParameters: [Parameters.accept],
|
324
|
+
serializer
|
325
|
+
};
|
326
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
327
|
+
path:
|
328
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
329
|
+
httpMethod: "DELETE",
|
406
330
|
responses: {
|
407
331
|
200: {},
|
408
332
|
204: {},
|
@@ -410,31 +334,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
410
334
|
bodyMapper: Mappers.ApiError
|
411
335
|
}
|
412
336
|
},
|
413
|
-
|
414
|
-
};
|
415
|
-
|
416
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
417
|
-
httpMethod: "PATCH",
|
418
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
337
|
+
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
419
338
|
urlParameters: [
|
339
|
+
Parameters.$host,
|
420
340
|
Parameters.subscriptionId,
|
421
341
|
Parameters.groupName,
|
422
342
|
Parameters.serviceName,
|
423
343
|
Parameters.taskName
|
424
344
|
],
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
parameterPath: "parameters",
|
433
|
-
mapper: {
|
434
|
-
...Mappers.ProjectTask,
|
435
|
-
required: true
|
436
|
-
}
|
437
|
-
},
|
345
|
+
headerParameters: [Parameters.accept],
|
346
|
+
serializer
|
347
|
+
};
|
348
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
349
|
+
path:
|
350
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
351
|
+
httpMethod: "PATCH",
|
438
352
|
responses: {
|
439
353
|
200: {
|
440
354
|
bodyMapper: Mappers.ProjectTask
|
@@ -443,24 +357,23 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
443
357
|
bodyMapper: Mappers.ApiError
|
444
358
|
}
|
445
359
|
},
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
const cancelOperationSpec: msRest.OperationSpec = {
|
450
|
-
httpMethod: "POST",
|
451
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",
|
360
|
+
requestBody: Parameters.parameters9,
|
361
|
+
queryParameters: [Parameters.apiVersion],
|
452
362
|
urlParameters: [
|
363
|
+
Parameters.$host,
|
453
364
|
Parameters.subscriptionId,
|
454
365
|
Parameters.groupName,
|
455
366
|
Parameters.serviceName,
|
456
367
|
Parameters.taskName
|
457
368
|
],
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
369
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
370
|
+
mediaType: "json",
|
371
|
+
serializer
|
372
|
+
};
|
373
|
+
const cancelOperationSpec: coreClient.OperationSpec = {
|
374
|
+
path:
|
375
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",
|
376
|
+
httpMethod: "POST",
|
464
377
|
responses: {
|
465
378
|
200: {
|
466
379
|
bodyMapper: Mappers.ProjectTask
|
@@ -469,19 +382,20 @@ const cancelOperationSpec: msRest.OperationSpec = {
|
|
469
382
|
bodyMapper: Mappers.ApiError
|
470
383
|
}
|
471
384
|
},
|
385
|
+
queryParameters: [Parameters.apiVersion],
|
386
|
+
urlParameters: [
|
387
|
+
Parameters.$host,
|
388
|
+
Parameters.subscriptionId,
|
389
|
+
Parameters.groupName,
|
390
|
+
Parameters.serviceName,
|
391
|
+
Parameters.taskName
|
392
|
+
],
|
393
|
+
headerParameters: [Parameters.accept],
|
472
394
|
serializer
|
473
395
|
};
|
474
|
-
|
475
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
476
|
-
httpMethod: "GET",
|
477
|
-
baseUrl: "https://management.azure.com",
|
396
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
478
397
|
path: "{nextLink}",
|
479
|
-
|
480
|
-
Parameters.nextPageLink
|
481
|
-
],
|
482
|
-
headerParameters: [
|
483
|
-
Parameters.acceptLanguage
|
484
|
-
],
|
398
|
+
httpMethod: "GET",
|
485
399
|
responses: {
|
486
400
|
200: {
|
487
401
|
bodyMapper: Mappers.TaskList
|
@@ -490,5 +404,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
490
404
|
bodyMapper: Mappers.ApiError
|
491
405
|
}
|
492
406
|
},
|
407
|
+
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
408
|
+
urlParameters: [
|
409
|
+
Parameters.$host,
|
410
|
+
Parameters.subscriptionId,
|
411
|
+
Parameters.nextLink,
|
412
|
+
Parameters.groupName,
|
413
|
+
Parameters.serviceName
|
414
|
+
],
|
415
|
+
headerParameters: [Parameters.accept],
|
493
416
|
serializer
|
494
417
|
};
|