@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
@@ -0,0 +1,223 @@
|
|
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 { PollerLike, PollOperationState } from "@azure/core-lro";
|
11
|
+
import {
|
12
|
+
SqlMigrationService,
|
13
|
+
SqlMigrationServicesListByResourceGroupOptionalParams,
|
14
|
+
DatabaseMigration,
|
15
|
+
SqlMigrationServicesListMigrationsOptionalParams,
|
16
|
+
SqlMigrationServicesListBySubscriptionOptionalParams,
|
17
|
+
SqlMigrationServicesGetOptionalParams,
|
18
|
+
SqlMigrationServicesGetResponse,
|
19
|
+
SqlMigrationServicesCreateOrUpdateOptionalParams,
|
20
|
+
SqlMigrationServicesCreateOrUpdateResponse,
|
21
|
+
SqlMigrationServicesDeleteOptionalParams,
|
22
|
+
SqlMigrationServiceUpdate,
|
23
|
+
SqlMigrationServicesUpdateOptionalParams,
|
24
|
+
SqlMigrationServicesUpdateResponse,
|
25
|
+
SqlMigrationServicesListAuthKeysOptionalParams,
|
26
|
+
SqlMigrationServicesListAuthKeysResponse,
|
27
|
+
RegenAuthKeys,
|
28
|
+
SqlMigrationServicesRegenerateAuthKeysOptionalParams,
|
29
|
+
SqlMigrationServicesRegenerateAuthKeysResponse,
|
30
|
+
DeleteNode,
|
31
|
+
SqlMigrationServicesDeleteNodeOptionalParams,
|
32
|
+
SqlMigrationServicesDeleteNodeResponse,
|
33
|
+
SqlMigrationServicesListMonitoringDataOptionalParams,
|
34
|
+
SqlMigrationServicesListMonitoringDataResponse
|
35
|
+
} from "../models";
|
36
|
+
|
37
|
+
/// <reference lib="esnext.asynciterable" />
|
38
|
+
/** Interface representing a SqlMigrationServices. */
|
39
|
+
export interface SqlMigrationServices {
|
40
|
+
/**
|
41
|
+
* Retrieve all SQL migration services in the resource group.
|
42
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
43
|
+
* value from the Azure Resource Manager API or the portal.
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
listByResourceGroup(
|
47
|
+
resourceGroupName: string,
|
48
|
+
options?: SqlMigrationServicesListByResourceGroupOptionalParams
|
49
|
+
): PagedAsyncIterableIterator<SqlMigrationService>;
|
50
|
+
/**
|
51
|
+
* Retrieve the List of database migrations attached to the service.
|
52
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
53
|
+
* value from the Azure Resource Manager API or the portal.
|
54
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
55
|
+
* @param options The options parameters.
|
56
|
+
*/
|
57
|
+
listMigrations(
|
58
|
+
resourceGroupName: string,
|
59
|
+
sqlMigrationServiceName: string,
|
60
|
+
options?: SqlMigrationServicesListMigrationsOptionalParams
|
61
|
+
): PagedAsyncIterableIterator<DatabaseMigration>;
|
62
|
+
/**
|
63
|
+
* Retrieve all SQL migration services in the subscriptions.
|
64
|
+
* @param options The options parameters.
|
65
|
+
*/
|
66
|
+
listBySubscription(
|
67
|
+
options?: SqlMigrationServicesListBySubscriptionOptionalParams
|
68
|
+
): PagedAsyncIterableIterator<SqlMigrationService>;
|
69
|
+
/**
|
70
|
+
* Retrieve the Migration Service.
|
71
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
72
|
+
* value from the Azure Resource Manager API or the portal.
|
73
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
74
|
+
* @param options The options parameters.
|
75
|
+
*/
|
76
|
+
get(
|
77
|
+
resourceGroupName: string,
|
78
|
+
sqlMigrationServiceName: string,
|
79
|
+
options?: SqlMigrationServicesGetOptionalParams
|
80
|
+
): Promise<SqlMigrationServicesGetResponse>;
|
81
|
+
/**
|
82
|
+
* Create or Update SQL Migration Service.
|
83
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
84
|
+
* value from the Azure Resource Manager API or the portal.
|
85
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
86
|
+
* @param parameters Details of SqlMigrationService resource.
|
87
|
+
* @param options The options parameters.
|
88
|
+
*/
|
89
|
+
beginCreateOrUpdate(
|
90
|
+
resourceGroupName: string,
|
91
|
+
sqlMigrationServiceName: string,
|
92
|
+
parameters: SqlMigrationService,
|
93
|
+
options?: SqlMigrationServicesCreateOrUpdateOptionalParams
|
94
|
+
): Promise<
|
95
|
+
PollerLike<
|
96
|
+
PollOperationState<SqlMigrationServicesCreateOrUpdateResponse>,
|
97
|
+
SqlMigrationServicesCreateOrUpdateResponse
|
98
|
+
>
|
99
|
+
>;
|
100
|
+
/**
|
101
|
+
* Create or Update SQL Migration Service.
|
102
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
103
|
+
* value from the Azure Resource Manager API or the portal.
|
104
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
105
|
+
* @param parameters Details of SqlMigrationService resource.
|
106
|
+
* @param options The options parameters.
|
107
|
+
*/
|
108
|
+
beginCreateOrUpdateAndWait(
|
109
|
+
resourceGroupName: string,
|
110
|
+
sqlMigrationServiceName: string,
|
111
|
+
parameters: SqlMigrationService,
|
112
|
+
options?: SqlMigrationServicesCreateOrUpdateOptionalParams
|
113
|
+
): Promise<SqlMigrationServicesCreateOrUpdateResponse>;
|
114
|
+
/**
|
115
|
+
* Delete SQL Migration Service.
|
116
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
117
|
+
* value from the Azure Resource Manager API or the portal.
|
118
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
119
|
+
* @param options The options parameters.
|
120
|
+
*/
|
121
|
+
beginDelete(
|
122
|
+
resourceGroupName: string,
|
123
|
+
sqlMigrationServiceName: string,
|
124
|
+
options?: SqlMigrationServicesDeleteOptionalParams
|
125
|
+
): Promise<PollerLike<PollOperationState<void>, void>>;
|
126
|
+
/**
|
127
|
+
* Delete SQL Migration Service.
|
128
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
129
|
+
* value from the Azure Resource Manager API or the portal.
|
130
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
131
|
+
* @param options The options parameters.
|
132
|
+
*/
|
133
|
+
beginDeleteAndWait(
|
134
|
+
resourceGroupName: string,
|
135
|
+
sqlMigrationServiceName: string,
|
136
|
+
options?: SqlMigrationServicesDeleteOptionalParams
|
137
|
+
): Promise<void>;
|
138
|
+
/**
|
139
|
+
* Update SQL Migration Service.
|
140
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
141
|
+
* value from the Azure Resource Manager API or the portal.
|
142
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
143
|
+
* @param parameters Details of SqlMigrationService resource.
|
144
|
+
* @param options The options parameters.
|
145
|
+
*/
|
146
|
+
beginUpdate(
|
147
|
+
resourceGroupName: string,
|
148
|
+
sqlMigrationServiceName: string,
|
149
|
+
parameters: SqlMigrationServiceUpdate,
|
150
|
+
options?: SqlMigrationServicesUpdateOptionalParams
|
151
|
+
): Promise<
|
152
|
+
PollerLike<
|
153
|
+
PollOperationState<SqlMigrationServicesUpdateResponse>,
|
154
|
+
SqlMigrationServicesUpdateResponse
|
155
|
+
>
|
156
|
+
>;
|
157
|
+
/**
|
158
|
+
* Update SQL Migration Service.
|
159
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
160
|
+
* value from the Azure Resource Manager API or the portal.
|
161
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
162
|
+
* @param parameters Details of SqlMigrationService resource.
|
163
|
+
* @param options The options parameters.
|
164
|
+
*/
|
165
|
+
beginUpdateAndWait(
|
166
|
+
resourceGroupName: string,
|
167
|
+
sqlMigrationServiceName: string,
|
168
|
+
parameters: SqlMigrationServiceUpdate,
|
169
|
+
options?: SqlMigrationServicesUpdateOptionalParams
|
170
|
+
): Promise<SqlMigrationServicesUpdateResponse>;
|
171
|
+
/**
|
172
|
+
* Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.
|
173
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
174
|
+
* value from the Azure Resource Manager API or the portal.
|
175
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
176
|
+
* @param options The options parameters.
|
177
|
+
*/
|
178
|
+
listAuthKeys(
|
179
|
+
resourceGroupName: string,
|
180
|
+
sqlMigrationServiceName: string,
|
181
|
+
options?: SqlMigrationServicesListAuthKeysOptionalParams
|
182
|
+
): Promise<SqlMigrationServicesListAuthKeysResponse>;
|
183
|
+
/**
|
184
|
+
* Regenerate a new set of Authentication Keys for Self Hosted Integration Runtime.
|
185
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
186
|
+
* value from the Azure Resource Manager API or the portal.
|
187
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
188
|
+
* @param parameters Details of SqlMigrationService resource.
|
189
|
+
* @param options The options parameters.
|
190
|
+
*/
|
191
|
+
regenerateAuthKeys(
|
192
|
+
resourceGroupName: string,
|
193
|
+
sqlMigrationServiceName: string,
|
194
|
+
parameters: RegenAuthKeys,
|
195
|
+
options?: SqlMigrationServicesRegenerateAuthKeysOptionalParams
|
196
|
+
): Promise<SqlMigrationServicesRegenerateAuthKeysResponse>;
|
197
|
+
/**
|
198
|
+
* Delete the integration runtime node.
|
199
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
200
|
+
* value from the Azure Resource Manager API or the portal.
|
201
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
202
|
+
* @param parameters Details of SqlMigrationService resource.
|
203
|
+
* @param options The options parameters.
|
204
|
+
*/
|
205
|
+
deleteNode(
|
206
|
+
resourceGroupName: string,
|
207
|
+
sqlMigrationServiceName: string,
|
208
|
+
parameters: DeleteNode,
|
209
|
+
options?: SqlMigrationServicesDeleteNodeOptionalParams
|
210
|
+
): Promise<SqlMigrationServicesDeleteNodeResponse>;
|
211
|
+
/**
|
212
|
+
* Retrieve the Monitoring Data.
|
213
|
+
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
214
|
+
* value from the Azure Resource Manager API or the portal.
|
215
|
+
* @param sqlMigrationServiceName Name of the SQL Migration Service.
|
216
|
+
* @param options The options parameters.
|
217
|
+
*/
|
218
|
+
listMonitoringData(
|
219
|
+
resourceGroupName: string,
|
220
|
+
sqlMigrationServiceName: string,
|
221
|
+
options?: SqlMigrationServicesListMonitoringDataOptionalParams
|
222
|
+
): Promise<SqlMigrationServicesListMonitoringDataResponse>;
|
223
|
+
}
|
@@ -0,0 +1,149 @@
|
|
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
|
+
ProjectTask,
|
12
|
+
TasksListOptionalParams,
|
13
|
+
TasksCreateOrUpdateOptionalParams,
|
14
|
+
TasksCreateOrUpdateResponse,
|
15
|
+
TasksGetOptionalParams,
|
16
|
+
TasksGetResponse,
|
17
|
+
TasksDeleteOptionalParams,
|
18
|
+
TasksUpdateOptionalParams,
|
19
|
+
TasksUpdateResponse,
|
20
|
+
TasksCancelOptionalParams,
|
21
|
+
TasksCancelResponse,
|
22
|
+
CommandPropertiesUnion,
|
23
|
+
TasksCommandOptionalParams,
|
24
|
+
TasksCommandResponse
|
25
|
+
} from "../models";
|
26
|
+
|
27
|
+
/// <reference lib="esnext.asynciterable" />
|
28
|
+
/** Interface representing a Tasks. */
|
29
|
+
export interface Tasks {
|
30
|
+
/**
|
31
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
32
|
+
* method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
|
33
|
+
* which indicates that an error occurred while querying the status of that task.
|
34
|
+
* @param groupName Name of the resource group
|
35
|
+
* @param serviceName Name of the service
|
36
|
+
* @param projectName Name of the project
|
37
|
+
* @param options The options parameters.
|
38
|
+
*/
|
39
|
+
list(
|
40
|
+
groupName: string,
|
41
|
+
serviceName: string,
|
42
|
+
projectName: string,
|
43
|
+
options?: TasksListOptionalParams
|
44
|
+
): PagedAsyncIterableIterator<ProjectTask>;
|
45
|
+
/**
|
46
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
47
|
+
* The PUT method creates a new task or updates an existing one, although since tasks have no mutable
|
48
|
+
* custom properties, there is little reason to update an existing one.
|
49
|
+
* @param groupName Name of the resource group
|
50
|
+
* @param serviceName Name of the service
|
51
|
+
* @param projectName Name of the project
|
52
|
+
* @param taskName Name of the Task
|
53
|
+
* @param parameters Information about the task
|
54
|
+
* @param options The options parameters.
|
55
|
+
*/
|
56
|
+
createOrUpdate(
|
57
|
+
groupName: string,
|
58
|
+
serviceName: string,
|
59
|
+
projectName: string,
|
60
|
+
taskName: string,
|
61
|
+
parameters: ProjectTask,
|
62
|
+
options?: TasksCreateOrUpdateOptionalParams
|
63
|
+
): Promise<TasksCreateOrUpdateResponse>;
|
64
|
+
/**
|
65
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
66
|
+
* The GET method retrieves information about a task.
|
67
|
+
* @param groupName Name of the resource group
|
68
|
+
* @param serviceName Name of the service
|
69
|
+
* @param projectName Name of the project
|
70
|
+
* @param taskName Name of the Task
|
71
|
+
* @param options The options parameters.
|
72
|
+
*/
|
73
|
+
get(
|
74
|
+
groupName: string,
|
75
|
+
serviceName: string,
|
76
|
+
projectName: string,
|
77
|
+
taskName: string,
|
78
|
+
options?: TasksGetOptionalParams
|
79
|
+
): Promise<TasksGetResponse>;
|
80
|
+
/**
|
81
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
82
|
+
* The DELETE method deletes a task, canceling it first if it's running.
|
83
|
+
* @param groupName Name of the resource group
|
84
|
+
* @param serviceName Name of the service
|
85
|
+
* @param projectName Name of the project
|
86
|
+
* @param taskName Name of the Task
|
87
|
+
* @param options The options parameters.
|
88
|
+
*/
|
89
|
+
delete(
|
90
|
+
groupName: string,
|
91
|
+
serviceName: string,
|
92
|
+
projectName: string,
|
93
|
+
taskName: string,
|
94
|
+
options?: TasksDeleteOptionalParams
|
95
|
+
): Promise<void>;
|
96
|
+
/**
|
97
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
98
|
+
* The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
|
99
|
+
* is little reason to do so.
|
100
|
+
* @param groupName Name of the resource group
|
101
|
+
* @param serviceName Name of the service
|
102
|
+
* @param projectName Name of the project
|
103
|
+
* @param taskName Name of the Task
|
104
|
+
* @param parameters Information about the task
|
105
|
+
* @param options The options parameters.
|
106
|
+
*/
|
107
|
+
update(
|
108
|
+
groupName: string,
|
109
|
+
serviceName: string,
|
110
|
+
projectName: string,
|
111
|
+
taskName: string,
|
112
|
+
parameters: ProjectTask,
|
113
|
+
options?: TasksUpdateOptionalParams
|
114
|
+
): Promise<TasksUpdateResponse>;
|
115
|
+
/**
|
116
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
117
|
+
* This method cancels a task if it's currently queued or running.
|
118
|
+
* @param groupName Name of the resource group
|
119
|
+
* @param serviceName Name of the service
|
120
|
+
* @param projectName Name of the project
|
121
|
+
* @param taskName Name of the Task
|
122
|
+
* @param options The options parameters.
|
123
|
+
*/
|
124
|
+
cancel(
|
125
|
+
groupName: string,
|
126
|
+
serviceName: string,
|
127
|
+
projectName: string,
|
128
|
+
taskName: string,
|
129
|
+
options?: TasksCancelOptionalParams
|
130
|
+
): Promise<TasksCancelResponse>;
|
131
|
+
/**
|
132
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
133
|
+
* This method executes a command on a running task.
|
134
|
+
* @param groupName Name of the resource group
|
135
|
+
* @param serviceName Name of the service
|
136
|
+
* @param projectName Name of the project
|
137
|
+
* @param taskName Name of the Task
|
138
|
+
* @param parameters Command to execute
|
139
|
+
* @param options The options parameters.
|
140
|
+
*/
|
141
|
+
command(
|
142
|
+
groupName: string,
|
143
|
+
serviceName: string,
|
144
|
+
projectName: string,
|
145
|
+
taskName: string,
|
146
|
+
parameters: CommandPropertiesUnion,
|
147
|
+
options?: TasksCommandOptionalParams
|
148
|
+
): Promise<TasksCommandResponse>;
|
149
|
+
}
|
@@ -0,0 +1,25 @@
|
|
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 { Quota, UsagesListOptionalParams } from "../models";
|
11
|
+
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
13
|
+
/** Interface representing a Usages. */
|
14
|
+
export interface Usages {
|
15
|
+
/**
|
16
|
+
* This method returns region-specific quotas and resource usage information for the Database Migration
|
17
|
+
* Service.
|
18
|
+
* @param location The Azure region of the operation
|
19
|
+
* @param options The options parameters.
|
20
|
+
*/
|
21
|
+
list(
|
22
|
+
location: string,
|
23
|
+
options?: UsagesListOptionalParams
|
24
|
+
): PagedAsyncIterableIterator<Quota>;
|
25
|
+
}
|
package/tsconfig.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"module": "es6",
|
4
4
|
"moduleResolution": "node",
|
5
5
|
"strict": true,
|
6
|
-
"target": "
|
6
|
+
"target": "es6",
|
7
7
|
"sourceMap": true,
|
8
8
|
"declarationMap": true,
|
9
9
|
"esModuleInterop": true,
|
@@ -11,9 +11,10 @@
|
|
11
11
|
"forceConsistentCasingInFileNames": true,
|
12
12
|
"lib": ["es6", "dom"],
|
13
13
|
"declaration": true,
|
14
|
-
"outDir": "./esm",
|
15
|
-
"importHelpers": true
|
14
|
+
"outDir": "./dist-esm",
|
15
|
+
"importHelpers": true,
|
16
|
+
"paths": { "@azure/arm-datamigration": ["./src/index"] }
|
16
17
|
},
|
17
|
-
"include": ["./src/**/*.ts"],
|
18
|
+
"include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
|
18
19
|
"exclude": ["node_modules"]
|
19
20
|
}
|