@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
package/src/operations/usages.ts
CHANGED
@@ -1,107 +1,125 @@
|
|
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 { Usages } 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
|
+
Quota,
|
17
|
+
UsagesListNextOptionalParams,
|
18
|
+
UsagesListOptionalParams,
|
19
|
+
UsagesListResponse,
|
20
|
+
UsagesListNextResponse
|
21
|
+
} from "../models";
|
16
22
|
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
24
|
+
/** Class containing Usages operations. */
|
25
|
+
export class UsagesImpl implements Usages {
|
26
|
+
private readonly client: DataMigrationManagementClient;
|
20
27
|
|
21
28
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
29
|
+
* Initialize a new instance of the class Usages class.
|
30
|
+
* @param client Reference to the service client
|
24
31
|
*/
|
25
|
-
constructor(client:
|
32
|
+
constructor(client: DataMigrationManagementClient) {
|
26
33
|
this.client = client;
|
27
34
|
}
|
28
35
|
|
29
36
|
/**
|
30
|
-
* This method returns region-specific quotas and resource usage information for the Database
|
31
|
-
*
|
32
|
-
* @summary Get resource quotas and usage information
|
37
|
+
* This method returns region-specific quotas and resource usage information for the Database Migration
|
38
|
+
* Service.
|
33
39
|
* @param location The Azure region of the operation
|
34
|
-
* @param
|
35
|
-
* @returns Promise<Models.UsagesListResponse>
|
40
|
+
* @param options The options parameters.
|
36
41
|
*/
|
37
|
-
list(
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
42
|
+
public list(
|
43
|
+
location: string,
|
44
|
+
options?: UsagesListOptionalParams
|
45
|
+
): PagedAsyncIterableIterator<Quota> {
|
46
|
+
const iter = this.listPagingAll(location, options);
|
47
|
+
return {
|
48
|
+
next() {
|
49
|
+
return iter.next();
|
50
|
+
},
|
51
|
+
[Symbol.asyncIterator]() {
|
52
|
+
return this;
|
53
|
+
},
|
54
|
+
byPage: () => {
|
55
|
+
return this.listPagingPage(location, options);
|
56
|
+
}
|
57
|
+
};
|
58
|
+
}
|
59
|
+
|
60
|
+
private async *listPagingPage(
|
61
|
+
location: string,
|
62
|
+
options?: UsagesListOptionalParams
|
63
|
+
): AsyncIterableIterator<Quota[]> {
|
64
|
+
let result = await this._list(location, options);
|
65
|
+
yield result.value || [];
|
66
|
+
let continuationToken = result.nextLink;
|
67
|
+
while (continuationToken) {
|
68
|
+
result = await this._listNext(location, continuationToken, options);
|
69
|
+
continuationToken = result.nextLink;
|
70
|
+
yield result.value || [];
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
private async *listPagingAll(
|
75
|
+
location: string,
|
76
|
+
options?: UsagesListOptionalParams
|
77
|
+
): AsyncIterableIterator<Quota> {
|
78
|
+
for await (const page of this.listPagingPage(location, options)) {
|
79
|
+
yield* page;
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
43
83
|
/**
|
84
|
+
* This method returns region-specific quotas and resource usage information for the Database Migration
|
85
|
+
* Service.
|
44
86
|
* @param location The Azure region of the operation
|
45
|
-
* @param options The
|
46
|
-
* @param callback The callback
|
87
|
+
* @param options The options parameters.
|
47
88
|
*/
|
48
|
-
|
49
|
-
|
89
|
+
private _list(
|
90
|
+
location: string,
|
91
|
+
options?: UsagesListOptionalParams
|
92
|
+
): Promise<UsagesListResponse> {
|
50
93
|
return this.client.sendOperationRequest(
|
51
|
-
{
|
52
|
-
|
53
|
-
|
54
|
-
},
|
55
|
-
listOperationSpec,
|
56
|
-
callback) as Promise<Models.UsagesListResponse>;
|
94
|
+
{ location, options },
|
95
|
+
listOperationSpec
|
96
|
+
);
|
57
97
|
}
|
58
98
|
|
59
99
|
/**
|
60
|
-
*
|
61
|
-
*
|
62
|
-
* @
|
63
|
-
* @param
|
64
|
-
* @param [options] The optional parameters
|
65
|
-
* @returns Promise<Models.UsagesListNextResponse>
|
66
|
-
*/
|
67
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.UsagesListNextResponse>;
|
68
|
-
/**
|
69
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
70
|
-
* @param callback The callback
|
71
|
-
*/
|
72
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.QuotaList>): void;
|
73
|
-
/**
|
74
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
75
|
-
* @param options The optional parameters
|
76
|
-
* @param callback The callback
|
100
|
+
* ListNext
|
101
|
+
* @param location The Azure region of the operation
|
102
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
103
|
+
* @param options The options parameters.
|
77
104
|
*/
|
78
|
-
|
79
|
-
|
105
|
+
private _listNext(
|
106
|
+
location: string,
|
107
|
+
nextLink: string,
|
108
|
+
options?: UsagesListNextOptionalParams
|
109
|
+
): Promise<UsagesListNextResponse> {
|
80
110
|
return this.client.sendOperationRequest(
|
81
|
-
{
|
82
|
-
|
83
|
-
|
84
|
-
},
|
85
|
-
listNextOperationSpec,
|
86
|
-
callback) as Promise<Models.UsagesListNextResponse>;
|
111
|
+
{ location, nextLink, options },
|
112
|
+
listNextOperationSpec
|
113
|
+
);
|
87
114
|
}
|
88
115
|
}
|
89
|
-
|
90
116
|
// Operation Specifications
|
91
|
-
const serializer =
|
92
|
-
|
117
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
118
|
+
|
119
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
120
|
+
path:
|
121
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages",
|
93
122
|
httpMethod: "GET",
|
94
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages",
|
95
|
-
urlParameters: [
|
96
|
-
Parameters.subscriptionId,
|
97
|
-
Parameters.location
|
98
|
-
],
|
99
|
-
queryParameters: [
|
100
|
-
Parameters.apiVersion
|
101
|
-
],
|
102
|
-
headerParameters: [
|
103
|
-
Parameters.acceptLanguage
|
104
|
-
],
|
105
123
|
responses: {
|
106
124
|
200: {
|
107
125
|
bodyMapper: Mappers.QuotaList
|
@@ -110,19 +128,18 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
110
128
|
bodyMapper: Mappers.ApiError
|
111
129
|
}
|
112
130
|
},
|
131
|
+
queryParameters: [Parameters.apiVersion],
|
132
|
+
urlParameters: [
|
133
|
+
Parameters.$host,
|
134
|
+
Parameters.subscriptionId,
|
135
|
+
Parameters.location
|
136
|
+
],
|
137
|
+
headerParameters: [Parameters.accept],
|
113
138
|
serializer
|
114
139
|
};
|
115
|
-
|
116
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
117
|
-
httpMethod: "GET",
|
118
|
-
baseUrl: "https://management.azure.com",
|
140
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
119
141
|
path: "{nextLink}",
|
120
|
-
|
121
|
-
Parameters.nextPageLink
|
122
|
-
],
|
123
|
-
headerParameters: [
|
124
|
-
Parameters.acceptLanguage
|
125
|
-
],
|
142
|
+
httpMethod: "GET",
|
126
143
|
responses: {
|
127
144
|
200: {
|
128
145
|
bodyMapper: Mappers.QuotaList
|
@@ -131,5 +148,13 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
131
148
|
bodyMapper: Mappers.ApiError
|
132
149
|
}
|
133
150
|
},
|
151
|
+
queryParameters: [Parameters.apiVersion],
|
152
|
+
urlParameters: [
|
153
|
+
Parameters.$host,
|
154
|
+
Parameters.subscriptionId,
|
155
|
+
Parameters.nextLink,
|
156
|
+
Parameters.location
|
157
|
+
],
|
158
|
+
headerParameters: [Parameters.accept],
|
134
159
|
serializer
|
135
160
|
};
|
@@ -0,0 +1,138 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
|
9
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
10
|
+
import {
|
11
|
+
DatabaseMigrationsSqlMiGetOptionalParams,
|
12
|
+
DatabaseMigrationsSqlMiGetResponse,
|
13
|
+
DatabaseMigrationSqlMi,
|
14
|
+
DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams,
|
15
|
+
DatabaseMigrationsSqlMiCreateOrUpdateResponse,
|
16
|
+
MigrationOperationInput,
|
17
|
+
DatabaseMigrationsSqlMiCancelOptionalParams,
|
18
|
+
DatabaseMigrationsSqlMiCutoverOptionalParams
|
19
|
+
} from "../models";
|
20
|
+
|
21
|
+
/** Interface representing a DatabaseMigrationsSqlMi. */
|
22
|
+
export interface DatabaseMigrationsSqlMi {
|
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 managedInstanceName
|
28
|
+
* @param targetDbName The name of the target database.
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
get(
|
32
|
+
resourceGroupName: string,
|
33
|
+
managedInstanceName: string,
|
34
|
+
targetDbName: string,
|
35
|
+
options?: DatabaseMigrationsSqlMiGetOptionalParams
|
36
|
+
): Promise<DatabaseMigrationsSqlMiGetResponse>;
|
37
|
+
/**
|
38
|
+
* Create or Update Database Migration resource.
|
39
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
40
|
+
* value from the Azure Resource Manager API or the portal.
|
41
|
+
* @param managedInstanceName
|
42
|
+
* @param targetDbName The name of the target database.
|
43
|
+
* @param parameters Details of SqlMigrationService resource.
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
beginCreateOrUpdate(
|
47
|
+
resourceGroupName: string,
|
48
|
+
managedInstanceName: string,
|
49
|
+
targetDbName: string,
|
50
|
+
parameters: DatabaseMigrationSqlMi,
|
51
|
+
options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams
|
52
|
+
): Promise<
|
53
|
+
PollerLike<
|
54
|
+
PollOperationState<DatabaseMigrationsSqlMiCreateOrUpdateResponse>,
|
55
|
+
DatabaseMigrationsSqlMiCreateOrUpdateResponse
|
56
|
+
>
|
57
|
+
>;
|
58
|
+
/**
|
59
|
+
* Create or Update Database Migration resource.
|
60
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
61
|
+
* value from the Azure Resource Manager API or the portal.
|
62
|
+
* @param managedInstanceName
|
63
|
+
* @param targetDbName The name of the target database.
|
64
|
+
* @param parameters Details of SqlMigrationService resource.
|
65
|
+
* @param options The options parameters.
|
66
|
+
*/
|
67
|
+
beginCreateOrUpdateAndWait(
|
68
|
+
resourceGroupName: string,
|
69
|
+
managedInstanceName: string,
|
70
|
+
targetDbName: string,
|
71
|
+
parameters: DatabaseMigrationSqlMi,
|
72
|
+
options?: DatabaseMigrationsSqlMiCreateOrUpdateOptionalParams
|
73
|
+
): Promise<DatabaseMigrationsSqlMiCreateOrUpdateResponse>;
|
74
|
+
/**
|
75
|
+
* Stop migrations in progress for the database
|
76
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
77
|
+
* value from the Azure Resource Manager API or the portal.
|
78
|
+
* @param managedInstanceName
|
79
|
+
* @param targetDbName The name of the target database.
|
80
|
+
* @param parameters Required migration operation ID for which cancel will be initiated.
|
81
|
+
* @param options The options parameters.
|
82
|
+
*/
|
83
|
+
beginCancel(
|
84
|
+
resourceGroupName: string,
|
85
|
+
managedInstanceName: string,
|
86
|
+
targetDbName: string,
|
87
|
+
parameters: MigrationOperationInput,
|
88
|
+
options?: DatabaseMigrationsSqlMiCancelOptionalParams
|
89
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
90
|
+
/**
|
91
|
+
* Stop migrations in progress for the database
|
92
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
93
|
+
* value from the Azure Resource Manager API or the portal.
|
94
|
+
* @param managedInstanceName
|
95
|
+
* @param targetDbName The name of the target database.
|
96
|
+
* @param parameters Required migration operation ID for which cancel will be initiated.
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
beginCancelAndWait(
|
100
|
+
resourceGroupName: string,
|
101
|
+
managedInstanceName: string,
|
102
|
+
targetDbName: string,
|
103
|
+
parameters: MigrationOperationInput,
|
104
|
+
options?: DatabaseMigrationsSqlMiCancelOptionalParams
|
105
|
+
): Promise<void>;
|
106
|
+
/**
|
107
|
+
* Initiate cutover for online migration in progress for the database.
|
108
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
109
|
+
* value from the Azure Resource Manager API or the portal.
|
110
|
+
* @param managedInstanceName
|
111
|
+
* @param targetDbName The name of the target database.
|
112
|
+
* @param parameters Required migration operation ID for which cutover will be initiated.
|
113
|
+
* @param options The options parameters.
|
114
|
+
*/
|
115
|
+
beginCutover(
|
116
|
+
resourceGroupName: string,
|
117
|
+
managedInstanceName: string,
|
118
|
+
targetDbName: string,
|
119
|
+
parameters: MigrationOperationInput,
|
120
|
+
options?: DatabaseMigrationsSqlMiCutoverOptionalParams
|
121
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
122
|
+
/**
|
123
|
+
* Initiate cutover for online migration in progress for the database.
|
124
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
125
|
+
* value from the Azure Resource Manager API or the portal.
|
126
|
+
* @param managedInstanceName
|
127
|
+
* @param targetDbName The name of the target database.
|
128
|
+
* @param parameters Required migration operation ID for which cutover will be initiated.
|
129
|
+
* @param options The options parameters.
|
130
|
+
*/
|
131
|
+
beginCutoverAndWait(
|
132
|
+
resourceGroupName: string,
|
133
|
+
managedInstanceName: string,
|
134
|
+
targetDbName: string,
|
135
|
+
parameters: MigrationOperationInput,
|
136
|
+
options?: DatabaseMigrationsSqlMiCutoverOptionalParams
|
137
|
+
): Promise<void>;
|
138
|
+
}
|
@@ -0,0 +1,138 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
|
9
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
10
|
+
import {
|
11
|
+
DatabaseMigrationsSqlVmGetOptionalParams,
|
12
|
+
DatabaseMigrationsSqlVmGetResponse,
|
13
|
+
DatabaseMigrationSqlVm,
|
14
|
+
DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams,
|
15
|
+
DatabaseMigrationsSqlVmCreateOrUpdateResponse,
|
16
|
+
MigrationOperationInput,
|
17
|
+
DatabaseMigrationsSqlVmCancelOptionalParams,
|
18
|
+
DatabaseMigrationsSqlVmCutoverOptionalParams
|
19
|
+
} from "../models";
|
20
|
+
|
21
|
+
/** Interface representing a DatabaseMigrationsSqlVm. */
|
22
|
+
export interface DatabaseMigrationsSqlVm {
|
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(
|
32
|
+
resourceGroupName: string,
|
33
|
+
sqlVirtualMachineName: string,
|
34
|
+
targetDbName: string,
|
35
|
+
options?: DatabaseMigrationsSqlVmGetOptionalParams
|
36
|
+
): Promise<DatabaseMigrationsSqlVmGetResponse>;
|
37
|
+
/**
|
38
|
+
* Create or Update Database Migration resource.
|
39
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
40
|
+
* value from the Azure Resource Manager API or the portal.
|
41
|
+
* @param sqlVirtualMachineName
|
42
|
+
* @param targetDbName The name of the target database.
|
43
|
+
* @param parameters Details of SqlMigrationService resource.
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
beginCreateOrUpdate(
|
47
|
+
resourceGroupName: string,
|
48
|
+
sqlVirtualMachineName: string,
|
49
|
+
targetDbName: string,
|
50
|
+
parameters: DatabaseMigrationSqlVm,
|
51
|
+
options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams
|
52
|
+
): Promise<
|
53
|
+
PollerLike<
|
54
|
+
PollOperationState<DatabaseMigrationsSqlVmCreateOrUpdateResponse>,
|
55
|
+
DatabaseMigrationsSqlVmCreateOrUpdateResponse
|
56
|
+
>
|
57
|
+
>;
|
58
|
+
/**
|
59
|
+
* Create or Update Database Migration resource.
|
60
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
61
|
+
* value from the Azure Resource Manager API or the portal.
|
62
|
+
* @param sqlVirtualMachineName
|
63
|
+
* @param targetDbName The name of the target database.
|
64
|
+
* @param parameters Details of SqlMigrationService resource.
|
65
|
+
* @param options The options parameters.
|
66
|
+
*/
|
67
|
+
beginCreateOrUpdateAndWait(
|
68
|
+
resourceGroupName: string,
|
69
|
+
sqlVirtualMachineName: string,
|
70
|
+
targetDbName: string,
|
71
|
+
parameters: DatabaseMigrationSqlVm,
|
72
|
+
options?: DatabaseMigrationsSqlVmCreateOrUpdateOptionalParams
|
73
|
+
): Promise<DatabaseMigrationsSqlVmCreateOrUpdateResponse>;
|
74
|
+
/**
|
75
|
+
* Stop ongoing migration for the database.
|
76
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
77
|
+
* value from the Azure Resource Manager API or the portal.
|
78
|
+
* @param sqlVirtualMachineName
|
79
|
+
* @param targetDbName The name of the target database.
|
80
|
+
* @param parameters Migration Operation Input
|
81
|
+
* @param options The options parameters.
|
82
|
+
*/
|
83
|
+
beginCancel(
|
84
|
+
resourceGroupName: string,
|
85
|
+
sqlVirtualMachineName: string,
|
86
|
+
targetDbName: string,
|
87
|
+
parameters: MigrationOperationInput,
|
88
|
+
options?: DatabaseMigrationsSqlVmCancelOptionalParams
|
89
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
90
|
+
/**
|
91
|
+
* Stop ongoing migration for the database.
|
92
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
93
|
+
* value from the Azure Resource Manager API or the portal.
|
94
|
+
* @param sqlVirtualMachineName
|
95
|
+
* @param targetDbName The name of the target database.
|
96
|
+
* @param parameters Migration Operation Input
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
beginCancelAndWait(
|
100
|
+
resourceGroupName: string,
|
101
|
+
sqlVirtualMachineName: string,
|
102
|
+
targetDbName: string,
|
103
|
+
parameters: MigrationOperationInput,
|
104
|
+
options?: DatabaseMigrationsSqlVmCancelOptionalParams
|
105
|
+
): Promise<void>;
|
106
|
+
/**
|
107
|
+
* Cutover online migration operation for the database.
|
108
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
109
|
+
* value from the Azure Resource Manager API or the portal.
|
110
|
+
* @param sqlVirtualMachineName
|
111
|
+
* @param targetDbName The name of the target database.
|
112
|
+
* @param parameters Migration Operation Input
|
113
|
+
* @param options The options parameters.
|
114
|
+
*/
|
115
|
+
beginCutover(
|
116
|
+
resourceGroupName: string,
|
117
|
+
sqlVirtualMachineName: string,
|
118
|
+
targetDbName: string,
|
119
|
+
parameters: MigrationOperationInput,
|
120
|
+
options?: DatabaseMigrationsSqlVmCutoverOptionalParams
|
121
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
122
|
+
/**
|
123
|
+
* Cutover online migration operation for the database.
|
124
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
125
|
+
* value from the Azure Resource Manager API or the portal.
|
126
|
+
* @param sqlVirtualMachineName
|
127
|
+
* @param targetDbName The name of the target database.
|
128
|
+
* @param parameters Migration Operation Input
|
129
|
+
* @param options The options parameters.
|
130
|
+
*/
|
131
|
+
beginCutoverAndWait(
|
132
|
+
resourceGroupName: string,
|
133
|
+
sqlVirtualMachineName: string,
|
134
|
+
targetDbName: string,
|
135
|
+
parameters: MigrationOperationInput,
|
136
|
+
options?: DatabaseMigrationsSqlVmCutoverOptionalParams
|
137
|
+
): Promise<void>;
|
138
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
4
|
+
*
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
+
*/
|
8
|
+
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import {
|
11
|
+
ProjectFile,
|
12
|
+
FilesListOptionalParams,
|
13
|
+
FilesGetOptionalParams,
|
14
|
+
FilesGetResponse,
|
15
|
+
FilesCreateOrUpdateOptionalParams,
|
16
|
+
FilesCreateOrUpdateResponse,
|
17
|
+
FilesDeleteOptionalParams,
|
18
|
+
FilesUpdateOptionalParams,
|
19
|
+
FilesUpdateResponse,
|
20
|
+
FilesReadOptionalParams,
|
21
|
+
FilesReadResponse,
|
22
|
+
FilesReadWriteOptionalParams,
|
23
|
+
FilesReadWriteResponse
|
24
|
+
} from "../models";
|
25
|
+
|
26
|
+
/// <reference lib="esnext.asynciterable" />
|
27
|
+
/** Interface representing a Files. */
|
28
|
+
export interface Files {
|
29
|
+
/**
|
30
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
31
|
+
* returns a list of files owned by a project resource.
|
32
|
+
* @param groupName Name of the resource group
|
33
|
+
* @param serviceName Name of the service
|
34
|
+
* @param projectName Name of the project
|
35
|
+
* @param options The options parameters.
|
36
|
+
*/
|
37
|
+
list(
|
38
|
+
groupName: string,
|
39
|
+
serviceName: string,
|
40
|
+
projectName: string,
|
41
|
+
options?: FilesListOptionalParams
|
42
|
+
): PagedAsyncIterableIterator<ProjectFile>;
|
43
|
+
/**
|
44
|
+
* The files resource is a nested, proxy-only resource representing a file stored under the project
|
45
|
+
* resource. This method retrieves information about a file.
|
46
|
+
* @param groupName Name of the resource group
|
47
|
+
* @param serviceName Name of the service
|
48
|
+
* @param projectName Name of the project
|
49
|
+
* @param fileName Name of the File
|
50
|
+
* @param options The options parameters.
|
51
|
+
*/
|
52
|
+
get(
|
53
|
+
groupName: string,
|
54
|
+
serviceName: string,
|
55
|
+
projectName: string,
|
56
|
+
fileName: string,
|
57
|
+
options?: FilesGetOptionalParams
|
58
|
+
): Promise<FilesGetResponse>;
|
59
|
+
/**
|
60
|
+
* The PUT method creates a new file or updates an existing one.
|
61
|
+
* @param groupName Name of the resource group
|
62
|
+
* @param serviceName Name of the service
|
63
|
+
* @param projectName Name of the project
|
64
|
+
* @param fileName Name of the File
|
65
|
+
* @param parameters Information about the file
|
66
|
+
* @param options The options parameters.
|
67
|
+
*/
|
68
|
+
createOrUpdate(
|
69
|
+
groupName: string,
|
70
|
+
serviceName: string,
|
71
|
+
projectName: string,
|
72
|
+
fileName: string,
|
73
|
+
parameters: ProjectFile,
|
74
|
+
options?: FilesCreateOrUpdateOptionalParams
|
75
|
+
): Promise<FilesCreateOrUpdateResponse>;
|
76
|
+
/**
|
77
|
+
* This method deletes a file.
|
78
|
+
* @param groupName Name of the resource group
|
79
|
+
* @param serviceName Name of the service
|
80
|
+
* @param projectName Name of the project
|
81
|
+
* @param fileName Name of the File
|
82
|
+
* @param options The options parameters.
|
83
|
+
*/
|
84
|
+
delete(
|
85
|
+
groupName: string,
|
86
|
+
serviceName: string,
|
87
|
+
projectName: string,
|
88
|
+
fileName: string,
|
89
|
+
options?: FilesDeleteOptionalParams
|
90
|
+
): Promise<void>;
|
91
|
+
/**
|
92
|
+
* This method updates an existing file.
|
93
|
+
* @param groupName Name of the resource group
|
94
|
+
* @param serviceName Name of the service
|
95
|
+
* @param projectName Name of the project
|
96
|
+
* @param fileName Name of the File
|
97
|
+
* @param parameters Information about the file
|
98
|
+
* @param options The options parameters.
|
99
|
+
*/
|
100
|
+
update(
|
101
|
+
groupName: string,
|
102
|
+
serviceName: string,
|
103
|
+
projectName: string,
|
104
|
+
fileName: string,
|
105
|
+
parameters: ProjectFile,
|
106
|
+
options?: FilesUpdateOptionalParams
|
107
|
+
): Promise<FilesUpdateResponse>;
|
108
|
+
/**
|
109
|
+
* This method is used for requesting storage information using which contents of the file can be
|
110
|
+
* downloaded.
|
111
|
+
* @param groupName Name of the resource group
|
112
|
+
* @param serviceName Name of the service
|
113
|
+
* @param projectName Name of the project
|
114
|
+
* @param fileName Name of the File
|
115
|
+
* @param options The options parameters.
|
116
|
+
*/
|
117
|
+
read(
|
118
|
+
groupName: string,
|
119
|
+
serviceName: string,
|
120
|
+
projectName: string,
|
121
|
+
fileName: string,
|
122
|
+
options?: FilesReadOptionalParams
|
123
|
+
): Promise<FilesReadResponse>;
|
124
|
+
/**
|
125
|
+
* This method is used for requesting information for reading and writing the file content.
|
126
|
+
* @param groupName Name of the resource group
|
127
|
+
* @param serviceName Name of the service
|
128
|
+
* @param projectName Name of the project
|
129
|
+
* @param fileName Name of the File
|
130
|
+
* @param options The options parameters.
|
131
|
+
*/
|
132
|
+
readWrite(
|
133
|
+
groupName: string,
|
134
|
+
serviceName: string,
|
135
|
+
projectName: string,
|
136
|
+
fileName: string,
|
137
|
+
options?: FilesReadWriteOptionalParams
|
138
|
+
): Promise<FilesReadWriteResponse>;
|
139
|
+
}
|
@@ -1,18 +1,19 @@
|
|
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
|
*/
|
8
|
+
|
9
|
+
export * from "./databaseMigrationsSqlMi";
|
10
|
+
export * from "./databaseMigrationsSqlVm";
|
11
|
+
export * from "./operations";
|
12
|
+
export * from "./sqlMigrationServices";
|
10
13
|
export * from "./resourceSkus";
|
11
14
|
export * from "./services";
|
12
15
|
export * from "./tasks";
|
13
16
|
export * from "./serviceTasks";
|
14
17
|
export * from "./projects";
|
15
18
|
export * from "./usages";
|
16
|
-
export * from "./operations";
|
17
19
|
export * from "./files";
|
18
|
-
//# sourceMappingURL=index.js.map
|