@azure/arm-datamigration 2.1.1 → 3.0.0-alpha.20220118.3
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 +69 -80
- 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 +82 -23
- 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 -14012
- 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 -31
- package/esm/dataMigrationServiceClient.d.ts.map +0 -1
- package/esm/dataMigrationServiceClient.js +0 -45
- package/esm/dataMigrationServiceClient.js.map +0 -1
- package/esm/dataMigrationServiceClientContext.d.ts +0 -22
- package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
- package/esm/dataMigrationServiceClientContext.js +0 -61
- 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 -62
- package/src/dataMigrationServiceClientContext.ts +0 -68
- 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
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsSqlMi.js","sourceRoot":"","sources":["../../../src/operations/databaseMigrationsSqlMi.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAYrC,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,IAAI,EACF,+MAA+M;IACjN,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9D,WAAW,EAAE,UAAU,CAAC,WAAW;IACnC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,mBAAmB;QAC9B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;IAC1C,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { DatabaseMigrationsSqlVm } from "../operationsInterfaces";
|
2
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
3
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
4
|
+
import { DatabaseMigrationsSqlVmGetOptionalParams, DatabaseMigrationsSqlVmGetResponse, DatabaseMigrationSqlVm, DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams, DatabaseMigrationsSqlVmCreateOrUpdateResponse, MigrationOperationInput, DatabaseMigrationsSqlVmCancelOptionalParams, DatabaseMigrationsSqlVmCutoverOptionalParams } from "../models";
|
5
|
+
/** Class containing DatabaseMigrationsSqlVm operations. */
|
6
|
+
export declare class DatabaseMigrationsSqlVmImpl implements DatabaseMigrationsSqlVm {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class DatabaseMigrationsSqlVm class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* Retrieve the Database Migration resource.
|
15
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
16
|
+
* value from the Azure Resource Manager API or the portal.
|
17
|
+
* @param sqlVirtualMachineName
|
18
|
+
* @param targetDbName The name of the target database.
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
get(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, options?: DatabaseMigrationsSqlVmGetOptionalParams): Promise<DatabaseMigrationsSqlVmGetResponse>;
|
22
|
+
/**
|
23
|
+
* Create or Update Database Migration resource.
|
24
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
25
|
+
* value from the Azure Resource Manager API or the portal.
|
26
|
+
* @param sqlVirtualMachineName
|
27
|
+
* @param targetDbName The name of the target database.
|
28
|
+
* @param parameters Details of SqlMigrationService resource.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
beginCreateOrUpdate(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: DatabaseMigrationSqlVm, options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<DatabaseMigrationsSqlVmCreateOrUpdateResponse>, DatabaseMigrationsSqlVmCreateOrUpdateResponse>>;
|
32
|
+
/**
|
33
|
+
* Create or Update Database Migration resource.
|
34
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
35
|
+
* value from the Azure Resource Manager API or the portal.
|
36
|
+
* @param sqlVirtualMachineName
|
37
|
+
* @param targetDbName The name of the target database.
|
38
|
+
* @param parameters Details of SqlMigrationService resource.
|
39
|
+
* @param options The options parameters.
|
40
|
+
*/
|
41
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: DatabaseMigrationSqlVm, options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams): Promise<DatabaseMigrationsSqlVmCreateOrUpdateResponse>;
|
42
|
+
/**
|
43
|
+
* Stop ongoing migration for the database.
|
44
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
45
|
+
* value from the Azure Resource Manager API or the portal.
|
46
|
+
* @param sqlVirtualMachineName
|
47
|
+
* @param targetDbName The name of the target database.
|
48
|
+
* @param parameters Migration Operation Input
|
49
|
+
* @param options The options parameters.
|
50
|
+
*/
|
51
|
+
beginCancel(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCancelOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
52
|
+
/**
|
53
|
+
* Stop ongoing migration for the database.
|
54
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
55
|
+
* value from the Azure Resource Manager API or the portal.
|
56
|
+
* @param sqlVirtualMachineName
|
57
|
+
* @param targetDbName The name of the target database.
|
58
|
+
* @param parameters Migration Operation Input
|
59
|
+
* @param options The options parameters.
|
60
|
+
*/
|
61
|
+
beginCancelAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCancelOptionalParams): Promise<void>;
|
62
|
+
/**
|
63
|
+
* Cutover online migration operation for the database.
|
64
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
65
|
+
* value from the Azure Resource Manager API or the portal.
|
66
|
+
* @param sqlVirtualMachineName
|
67
|
+
* @param targetDbName The name of the target database.
|
68
|
+
* @param parameters Migration Operation Input
|
69
|
+
* @param options The options parameters.
|
70
|
+
*/
|
71
|
+
beginCutover(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCutoverOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
72
|
+
/**
|
73
|
+
* Cutover online migration operation for the database.
|
74
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
75
|
+
* value from the Azure Resource Manager API or the portal.
|
76
|
+
* @param sqlVirtualMachineName
|
77
|
+
* @param targetDbName The name of the target database.
|
78
|
+
* @param parameters Migration Operation Input
|
79
|
+
* @param options The options parameters.
|
80
|
+
*/
|
81
|
+
beginCutoverAndWait(resourceGroupName: string, sqlVirtualMachineName: string, targetDbName: string, parameters: MigrationOperationInput, options?: DatabaseMigrationsSqlVmCutoverOptionalParams): Promise<void>;
|
82
|
+
}
|
83
|
+
//# sourceMappingURL=databaseMigrationsSqlVm.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsSqlVm.d.ts","sourceRoot":"","sources":["../../../src/operations/databaseMigrationsSqlVm.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAIlE,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,wCAAwC,EACxC,kCAAkC,EAClC,sBAAsB,EACtB,mDAAmD,EACnD,6CAA6C,EAC7C,uBAAuB,EACvB,2CAA2C,EAC3C,4CAA4C,EAC7C,MAAM,WAAW,CAAC;AAEnB,2DAA2D;AAC3D,qBAAa,2BAA4B,YAAW,uBAAuB;IACzE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,qBAAqB,EAAE,MAAM,EAC7B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,wCAAwC,GACjD,OAAO,CAAC,kCAAkC,CAAC;IAO9C;;;;;;;;OAQG;IACG,mBAAmB,CACvB,iBAAiB,EAAE,MAAM,EACzB,qBAAqB,EAAE,MAAM,EAC7B,YAAY,EAAE,MAAM,EACpB,UAAU,EAAE,sBAAsB,EAClC,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CACR,UAAU,CACR,kBAAkB,CAAC,6CAA6C,CAAC,E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ed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
import { __awaiter } from "tslib";
|
9
|
+
import * as coreClient from "@azure/core-client";
|
10
|
+
import * as Mappers from "../models/mappers";
|
11
|
+
import * as Parameters from "../models/parameters";
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
13
|
+
import { LroImpl } from "../lroImpl";
|
14
|
+
/** Class containing DatabaseMigrationsSqlVm operations. */
|
15
|
+
export class DatabaseMigrationsSqlVmImpl {
|
16
|
+
/**
|
17
|
+
* Initialize a new instance of the class DatabaseMigrationsSqlVm class.
|
18
|
+
* @param client Reference to the service client
|
19
|
+
*/
|
20
|
+
constructor(client) {
|
21
|
+
this.client = client;
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Retrieve the Database Migration resource.
|
25
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
26
|
+
* value from the Azure Resource Manager API or the portal.
|
27
|
+
* @param sqlVirtualMachineName
|
28
|
+
* @param targetDbName The name of the target database.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
get(resourceGroupName, sqlVirtualMachineName, targetDbName, options) {
|
32
|
+
return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineName, targetDbName, options }, getOperationSpec);
|
33
|
+
}
|
34
|
+
/**
|
35
|
+
* Create or Update Database Migration resource.
|
36
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
37
|
+
* value from the Azure Resource Manager API or the portal.
|
38
|
+
* @param sqlVirtualMachineName
|
39
|
+
* @param targetDbName The name of the target database.
|
40
|
+
* @param parameters Details of SqlMigrationService resource.
|
41
|
+
* @param options The options parameters.
|
42
|
+
*/
|
43
|
+
beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options) {
|
44
|
+
return __awaiter(this, void 0, void 0, function* () {
|
45
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
46
|
+
return this.client.sendOperationRequest(args, spec);
|
47
|
+
});
|
48
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
49
|
+
var _a;
|
50
|
+
let currentRawResponse = undefined;
|
51
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
52
|
+
const callback = (rawResponse, flatResponse) => {
|
53
|
+
currentRawResponse = rawResponse;
|
54
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
55
|
+
};
|
56
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
57
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
58
|
+
return {
|
59
|
+
flatResponse,
|
60
|
+
rawResponse: {
|
61
|
+
statusCode: currentRawResponse.status,
|
62
|
+
body: currentRawResponse.parsedBody,
|
63
|
+
headers: currentRawResponse.headers.toJSON()
|
64
|
+
}
|
65
|
+
};
|
66
|
+
});
|
67
|
+
const lro = new LroImpl(sendOperation, {
|
68
|
+
resourceGroupName,
|
69
|
+
sqlVirtualMachineName,
|
70
|
+
targetDbName,
|
71
|
+
parameters,
|
72
|
+
options
|
73
|
+
}, createOrUpdateOperationSpec);
|
74
|
+
return new LroEngine(lro, {
|
75
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
76
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
77
|
+
});
|
78
|
+
});
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* Create or Update Database Migration resource.
|
82
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
83
|
+
* value from the Azure Resource Manager API or the portal.
|
84
|
+
* @param sqlVirtualMachineName
|
85
|
+
* @param targetDbName The name of the target database.
|
86
|
+
* @param parameters Details of SqlMigrationService resource.
|
87
|
+
* @param options The options parameters.
|
88
|
+
*/
|
89
|
+
beginCreateOrUpdateAndWait(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options) {
|
90
|
+
return __awaiter(this, void 0, void 0, function* () {
|
91
|
+
const poller = yield this.beginCreateOrUpdate(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options);
|
92
|
+
return poller.pollUntilDone();
|
93
|
+
});
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* Stop ongoing migration for the database.
|
97
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
98
|
+
* value from the Azure Resource Manager API or the portal.
|
99
|
+
* @param sqlVirtualMachineName
|
100
|
+
* @param targetDbName The name of the target database.
|
101
|
+
* @param parameters Migration Operation Input
|
102
|
+
* @param options The options parameters.
|
103
|
+
*/
|
104
|
+
beginCancel(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options) {
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
106
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
107
|
+
return this.client.sendOperationRequest(args, spec);
|
108
|
+
});
|
109
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
110
|
+
var _a;
|
111
|
+
let currentRawResponse = undefined;
|
112
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
113
|
+
const callback = (rawResponse, flatResponse) => {
|
114
|
+
currentRawResponse = rawResponse;
|
115
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
116
|
+
};
|
117
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
118
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
119
|
+
return {
|
120
|
+
flatResponse,
|
121
|
+
rawResponse: {
|
122
|
+
statusCode: currentRawResponse.status,
|
123
|
+
body: currentRawResponse.parsedBody,
|
124
|
+
headers: currentRawResponse.headers.toJSON()
|
125
|
+
}
|
126
|
+
};
|
127
|
+
});
|
128
|
+
const lro = new LroImpl(sendOperation, {
|
129
|
+
resourceGroupName,
|
130
|
+
sqlVirtualMachineName,
|
131
|
+
targetDbName,
|
132
|
+
parameters,
|
133
|
+
options
|
134
|
+
}, cancelOperationSpec);
|
135
|
+
return new LroEngine(lro, {
|
136
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
137
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
138
|
+
});
|
139
|
+
});
|
140
|
+
}
|
141
|
+
/**
|
142
|
+
* Stop ongoing migration for the database.
|
143
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
144
|
+
* value from the Azure Resource Manager API or the portal.
|
145
|
+
* @param sqlVirtualMachineName
|
146
|
+
* @param targetDbName The name of the target database.
|
147
|
+
* @param parameters Migration Operation Input
|
148
|
+
* @param options The options parameters.
|
149
|
+
*/
|
150
|
+
beginCancelAndWait(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options) {
|
151
|
+
return __awaiter(this, void 0, void 0, function* () {
|
152
|
+
const poller = yield this.beginCancel(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options);
|
153
|
+
return poller.pollUntilDone();
|
154
|
+
});
|
155
|
+
}
|
156
|
+
/**
|
157
|
+
* Cutover online migration operation for the database.
|
158
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
159
|
+
* value from the Azure Resource Manager API or the portal.
|
160
|
+
* @param sqlVirtualMachineName
|
161
|
+
* @param targetDbName The name of the target database.
|
162
|
+
* @param parameters Migration Operation Input
|
163
|
+
* @param options The options parameters.
|
164
|
+
*/
|
165
|
+
beginCutover(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options) {
|
166
|
+
return __awaiter(this, void 0, void 0, function* () {
|
167
|
+
const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
168
|
+
return this.client.sendOperationRequest(args, spec);
|
169
|
+
});
|
170
|
+
const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
|
171
|
+
var _a;
|
172
|
+
let currentRawResponse = undefined;
|
173
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
174
|
+
const callback = (rawResponse, flatResponse) => {
|
175
|
+
currentRawResponse = rawResponse;
|
176
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
177
|
+
};
|
178
|
+
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
179
|
+
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
180
|
+
return {
|
181
|
+
flatResponse,
|
182
|
+
rawResponse: {
|
183
|
+
statusCode: currentRawResponse.status,
|
184
|
+
body: currentRawResponse.parsedBody,
|
185
|
+
headers: currentRawResponse.headers.toJSON()
|
186
|
+
}
|
187
|
+
};
|
188
|
+
});
|
189
|
+
const lro = new LroImpl(sendOperation, {
|
190
|
+
resourceGroupName,
|
191
|
+
sqlVirtualMachineName,
|
192
|
+
targetDbName,
|
193
|
+
parameters,
|
194
|
+
options
|
195
|
+
}, cutoverOperationSpec);
|
196
|
+
return new LroEngine(lro, {
|
197
|
+
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
198
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
199
|
+
});
|
200
|
+
});
|
201
|
+
}
|
202
|
+
/**
|
203
|
+
* Cutover online migration operation for the database.
|
204
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
205
|
+
* value from the Azure Resource Manager API or the portal.
|
206
|
+
* @param sqlVirtualMachineName
|
207
|
+
* @param targetDbName The name of the target database.
|
208
|
+
* @param parameters Migration Operation Input
|
209
|
+
* @param options The options parameters.
|
210
|
+
*/
|
211
|
+
beginCutoverAndWait(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options) {
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
213
|
+
const poller = yield this.beginCutover(resourceGroupName, sqlVirtualMachineName, targetDbName, parameters, options);
|
214
|
+
return poller.pollUntilDone();
|
215
|
+
});
|
216
|
+
}
|
217
|
+
}
|
218
|
+
// Operation Specifications
|
219
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
220
|
+
const getOperationSpec = {
|
221
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",
|
222
|
+
httpMethod: "GET",
|
223
|
+
responses: {
|
224
|
+
200: {
|
225
|
+
bodyMapper: Mappers.DatabaseMigrationSqlVm
|
226
|
+
},
|
227
|
+
default: {}
|
228
|
+
},
|
229
|
+
queryParameters: [
|
230
|
+
Parameters.migrationOperationId,
|
231
|
+
Parameters.expand,
|
232
|
+
Parameters.apiVersion
|
233
|
+
],
|
234
|
+
urlParameters: [
|
235
|
+
Parameters.$host,
|
236
|
+
Parameters.resourceGroupName,
|
237
|
+
Parameters.targetDbName,
|
238
|
+
Parameters.subscriptionId,
|
239
|
+
Parameters.sqlVirtualMachineName
|
240
|
+
],
|
241
|
+
headerParameters: [Parameters.accept],
|
242
|
+
serializer
|
243
|
+
};
|
244
|
+
const createOrUpdateOperationSpec = {
|
245
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",
|
246
|
+
httpMethod: "PUT",
|
247
|
+
responses: {
|
248
|
+
200: {
|
249
|
+
bodyMapper: Mappers.DatabaseMigrationSqlVm
|
250
|
+
},
|
251
|
+
201: {
|
252
|
+
bodyMapper: Mappers.DatabaseMigrationSqlVm
|
253
|
+
},
|
254
|
+
202: {
|
255
|
+
bodyMapper: Mappers.DatabaseMigrationSqlVm
|
256
|
+
},
|
257
|
+
204: {
|
258
|
+
bodyMapper: Mappers.DatabaseMigrationSqlVm
|
259
|
+
},
|
260
|
+
default: {}
|
261
|
+
},
|
262
|
+
requestBody: Parameters.parameters2,
|
263
|
+
queryParameters: [Parameters.apiVersion],
|
264
|
+
urlParameters: [
|
265
|
+
Parameters.$host,
|
266
|
+
Parameters.resourceGroupName,
|
267
|
+
Parameters.targetDbName,
|
268
|
+
Parameters.subscriptionId,
|
269
|
+
Parameters.sqlVirtualMachineName
|
270
|
+
],
|
271
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
272
|
+
mediaType: "json",
|
273
|
+
serializer
|
274
|
+
};
|
275
|
+
const cancelOperationSpec = {
|
276
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",
|
277
|
+
httpMethod: "POST",
|
278
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
279
|
+
requestBody: Parameters.parameters1,
|
280
|
+
queryParameters: [Parameters.apiVersion],
|
281
|
+
urlParameters: [
|
282
|
+
Parameters.$host,
|
283
|
+
Parameters.resourceGroupName,
|
284
|
+
Parameters.targetDbName,
|
285
|
+
Parameters.subscriptionId,
|
286
|
+
Parameters.sqlVirtualMachineName
|
287
|
+
],
|
288
|
+
headerParameters: [Parameters.contentType],
|
289
|
+
mediaType: "json",
|
290
|
+
serializer
|
291
|
+
};
|
292
|
+
const cutoverOperationSpec = {
|
293
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",
|
294
|
+
httpMethod: "POST",
|
295
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
296
|
+
requestBody: Parameters.parameters1,
|
297
|
+
queryParameters: [Parameters.apiVersion],
|
298
|
+
urlParameters: [
|
299
|
+
Parameters.$host,
|
300
|
+
Parameters.resourceGroupName,
|
301
|
+
Parameters.targetDbName,
|
302
|
+
Parameters.subscriptionId,
|
303
|
+
Parameters.sqlVirtualMachineName
|
304
|
+
],
|
305
|
+
headerParameters: [Parameters.contentType],
|
306
|
+
mediaType: "json",
|
307
|
+
serializer
|
308
|
+
};
|
309
|
+
//# sourceMappingURL=databaseMigrationsSqlVm.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"databaseMigrationsSqlVm.js","sourceRoot":"","sources":["../../../src/operations/databaseMigrationsSqlVm.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAYrC,2DAA2D;AAC3D,MAAM,OAAO,2BAA2B;IAGtC;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,qBAA6B,EAC7B,YAAoB,EACpB,OAAkD;QAElD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,YAAY,EAAE,OAAO,EAAE,EACnE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACG,mBAAmB,CACvB,iBAAyB,EACzB,qBAA6B,EAC7B,YAAoB,EACpB,UAAkC,EAClC,OAA6D;;YAO7D,MAAM,mBAAmB,GAAG,CAC1B,IAAmC,EACnC,IAA8B,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}
|
@@ -0,0 +1,101 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Files } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { ProjectFile, FilesListOptionalParams, FilesGetOptionalParams, FilesGetResponse, FilesCreateOrUpdateOptionalParams, FilesCreateOrUpdateResponse, FilesDeleteOptionalParams, FilesUpdateOptionalParams, FilesUpdateResponse, FilesReadOptionalParams, FilesReadResponse, FilesReadWriteOptionalParams, FilesReadWriteResponse } from "../models";
|
5
|
+
/** Class containing Files operations. */
|
6
|
+
export declare class FilesImpl implements Files {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Files class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
15
|
+
* returns a list of files owned by a project resource.
|
16
|
+
* @param groupName Name of the resource group
|
17
|
+
* @param serviceName Name of the service
|
18
|
+
* @param projectName Name of the project
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
list(groupName: string, serviceName: string, projectName: string, options?: FilesListOptionalParams): PagedAsyncIterableIterator<ProjectFile>;
|
22
|
+
private listPagingPage;
|
23
|
+
private listPagingAll;
|
24
|
+
/**
|
25
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
26
|
+
* returns a list of files owned by a project resource.
|
27
|
+
* @param groupName Name of the resource group
|
28
|
+
* @param serviceName Name of the service
|
29
|
+
* @param projectName Name of the project
|
30
|
+
* @param options The options parameters.
|
31
|
+
*/
|
32
|
+
private _list;
|
33
|
+
/**
|
34
|
+
* The files resource is a nested, proxy-only resource representing a file stored under the project
|
35
|
+
* resource. This method retrieves information about a file.
|
36
|
+
* @param groupName Name of the resource group
|
37
|
+
* @param serviceName Name of the service
|
38
|
+
* @param projectName Name of the project
|
39
|
+
* @param fileName Name of the File
|
40
|
+
* @param options The options parameters.
|
41
|
+
*/
|
42
|
+
get(groupName: string, serviceName: string, projectName: string, fileName: string, options?: FilesGetOptionalParams): Promise<FilesGetResponse>;
|
43
|
+
/**
|
44
|
+
* The PUT method creates a new file or updates an existing one.
|
45
|
+
* @param groupName Name of the resource group
|
46
|
+
* @param serviceName Name of the service
|
47
|
+
* @param projectName Name of the project
|
48
|
+
* @param fileName Name of the File
|
49
|
+
* @param parameters Information about the file
|
50
|
+
* @param options The options parameters.
|
51
|
+
*/
|
52
|
+
createOrUpdate(groupName: string, serviceName: string, projectName: string, fileName: string, parameters: ProjectFile, options?: FilesCreateOrUpdateOptionalParams): Promise<FilesCreateOrUpdateResponse>;
|
53
|
+
/**
|
54
|
+
* This method deletes a file.
|
55
|
+
* @param groupName Name of the resource group
|
56
|
+
* @param serviceName Name of the service
|
57
|
+
* @param projectName Name of the project
|
58
|
+
* @param fileName Name of the File
|
59
|
+
* @param options The options parameters.
|
60
|
+
*/
|
61
|
+
delete(groupName: string, serviceName: string, projectName: string, fileName: string, options?: FilesDeleteOptionalParams): Promise<void>;
|
62
|
+
/**
|
63
|
+
* This method updates an existing file.
|
64
|
+
* @param groupName Name of the resource group
|
65
|
+
* @param serviceName Name of the service
|
66
|
+
* @param projectName Name of the project
|
67
|
+
* @param fileName Name of the File
|
68
|
+
* @param parameters Information about the file
|
69
|
+
* @param options The options parameters.
|
70
|
+
*/
|
71
|
+
update(groupName: string, serviceName: string, projectName: string, fileName: string, parameters: ProjectFile, options?: FilesUpdateOptionalParams): Promise<FilesUpdateResponse>;
|
72
|
+
/**
|
73
|
+
* This method is used for requesting storage information using which contents of the file can be
|
74
|
+
* downloaded.
|
75
|
+
* @param groupName Name of the resource group
|
76
|
+
* @param serviceName Name of the service
|
77
|
+
* @param projectName Name of the project
|
78
|
+
* @param fileName Name of the File
|
79
|
+
* @param options The options parameters.
|
80
|
+
*/
|
81
|
+
read(groupName: string, serviceName: string, projectName: string, fileName: string, options?: FilesReadOptionalParams): Promise<FilesReadResponse>;
|
82
|
+
/**
|
83
|
+
* This method is used for requesting information for reading and writing the file content.
|
84
|
+
* @param groupName Name of the resource group
|
85
|
+
* @param serviceName Name of the service
|
86
|
+
* @param projectName Name of the project
|
87
|
+
* @param fileName Name of the File
|
88
|
+
* @param options The options parameters.
|
89
|
+
*/
|
90
|
+
readWrite(groupName: string, serviceName: string, projectName: string, fileName: string, options?: FilesReadWriteOptionalParams): Promise<FilesReadWriteResponse>;
|
91
|
+
/**
|
92
|
+
* ListNext
|
93
|
+
* @param groupName Name of the resource group
|
94
|
+
* @param serviceName Name of the service
|
95
|
+
* @param projectName Name of the project
|
96
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
private _listNext;
|
100
|
+
}
|
101
|
+
//# sourceMappingURL=files.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../src/operations/files.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,WAAW,EAEX,uBAAuB,EAEvB,sBAAsB,EACtB,gBAAgB,EAChB,iCAAiC,EACjC,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,4BAA4B,EAC5B,sBAAsB,EAEvB,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;OAOG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,W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