@azure/arm-datamigration 2.0.0 → 3.0.0-alpha.20220131.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 +82 -22
- 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 @@
|
|
1
|
+
{"version":3,"file":"sqlMigrationServices.js","sourceRoot":"","sources":["../../../src/operations/sqlMigrationServices.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAoCrC,4CAA4C;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B;IACpE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,sBAAsB;SAC3C;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,110 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Tasks } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { ProjectTask, TasksListOptionalParams, TasksCreateOrUpdateOptionalParams, TasksCreateOrUpdateResponse, TasksGetOptionalParams, TasksGetResponse, TasksDeleteOptionalParams, TasksUpdateOptionalParams, TasksUpdateResponse, TasksCancelOptionalParams, TasksCancelResponse, CommandPropertiesUnion, TasksCommandOptionalParams, TasksCommandResponse } from "../models";
|
5
|
+
/** Class containing Tasks operations. */
|
6
|
+
export declare class TasksImpl implements Tasks {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Tasks class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
15
|
+
* method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
|
16
|
+
* which indicates that an error occurred while querying the status of that task.
|
17
|
+
* @param groupName Name of the resource group
|
18
|
+
* @param serviceName Name of the service
|
19
|
+
* @param projectName Name of the project
|
20
|
+
* @param options The options parameters.
|
21
|
+
*/
|
22
|
+
list(groupName: string, serviceName: string, projectName: string, options?: TasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
|
23
|
+
private listPagingPage;
|
24
|
+
private listPagingAll;
|
25
|
+
/**
|
26
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
27
|
+
* method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
|
28
|
+
* which indicates that an error occurred while querying the status of that task.
|
29
|
+
* @param groupName Name of the resource group
|
30
|
+
* @param serviceName Name of the service
|
31
|
+
* @param projectName Name of the project
|
32
|
+
* @param options The options parameters.
|
33
|
+
*/
|
34
|
+
private _list;
|
35
|
+
/**
|
36
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
37
|
+
* The PUT method creates a new task or updates an existing one, although since tasks have no mutable
|
38
|
+
* custom properties, there is little reason to update an existing one.
|
39
|
+
* @param groupName Name of the resource group
|
40
|
+
* @param serviceName Name of the service
|
41
|
+
* @param projectName Name of the project
|
42
|
+
* @param taskName Name of the Task
|
43
|
+
* @param parameters Information about the task
|
44
|
+
* @param options The options parameters.
|
45
|
+
*/
|
46
|
+
createOrUpdate(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksCreateOrUpdateOptionalParams): Promise<TasksCreateOrUpdateResponse>;
|
47
|
+
/**
|
48
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
49
|
+
* The GET method retrieves information about a task.
|
50
|
+
* @param groupName Name of the resource group
|
51
|
+
* @param serviceName Name of the service
|
52
|
+
* @param projectName Name of the project
|
53
|
+
* @param taskName Name of the Task
|
54
|
+
* @param options The options parameters.
|
55
|
+
*/
|
56
|
+
get(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksGetOptionalParams): Promise<TasksGetResponse>;
|
57
|
+
/**
|
58
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
59
|
+
* The DELETE method deletes a task, canceling it first if it's running.
|
60
|
+
* @param groupName Name of the resource group
|
61
|
+
* @param serviceName Name of the service
|
62
|
+
* @param projectName Name of the project
|
63
|
+
* @param taskName Name of the Task
|
64
|
+
* @param options The options parameters.
|
65
|
+
*/
|
66
|
+
delete(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksDeleteOptionalParams): Promise<void>;
|
67
|
+
/**
|
68
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
69
|
+
* The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
|
70
|
+
* is little reason to do so.
|
71
|
+
* @param groupName Name of the resource group
|
72
|
+
* @param serviceName Name of the service
|
73
|
+
* @param projectName Name of the project
|
74
|
+
* @param taskName Name of the Task
|
75
|
+
* @param parameters Information about the task
|
76
|
+
* @param options The options parameters.
|
77
|
+
*/
|
78
|
+
update(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: ProjectTask, options?: TasksUpdateOptionalParams): Promise<TasksUpdateResponse>;
|
79
|
+
/**
|
80
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
81
|
+
* This method cancels a task if it's currently queued or running.
|
82
|
+
* @param groupName Name of the resource group
|
83
|
+
* @param serviceName Name of the service
|
84
|
+
* @param projectName Name of the project
|
85
|
+
* @param taskName Name of the Task
|
86
|
+
* @param options The options parameters.
|
87
|
+
*/
|
88
|
+
cancel(groupName: string, serviceName: string, projectName: string, taskName: string, options?: TasksCancelOptionalParams): Promise<TasksCancelResponse>;
|
89
|
+
/**
|
90
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
91
|
+
* This method executes a command on a running task.
|
92
|
+
* @param groupName Name of the resource group
|
93
|
+
* @param serviceName Name of the service
|
94
|
+
* @param projectName Name of the project
|
95
|
+
* @param taskName Name of the Task
|
96
|
+
* @param parameters Command to execute
|
97
|
+
* @param options The options parameters.
|
98
|
+
*/
|
99
|
+
command(groupName: string, serviceName: string, projectName: string, taskName: string, parameters: CommandPropertiesUnion, options?: TasksCommandOptionalParams): Promise<TasksCommandResponse>;
|
100
|
+
/**
|
101
|
+
* ListNext
|
102
|
+
* @param groupName Name of the resource group
|
103
|
+
* @param serviceName Name of the service
|
104
|
+
* @param projectName Name of the project
|
105
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
106
|
+
* @param options The options parameters.
|
107
|
+
*/
|
108
|
+
private _listNext;
|
109
|
+
}
|
110
|
+
//# sourceMappingURL=tasks.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAIhD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,WAAW,EAEX,uBAAuB,EAEvB,iCAAiC,EACjC,2BAA2B,EAC3B,sBAAsB,EACtB,gBAAgB,EAChB,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EAErB,MAAM,WAAW,CAAC;AAGnB,yCAAyC;AACzC,qBAAa,SAAU,YAAW,KAAK;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;;;OAQG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,uBAAuB,GAChC,0BAA0B,CAAC,WAAW,CAAC;YAyB3B,cAAc;YAsBd,aAAa;IAgB5B;;;;;;;;OAQG;IACH,OAAO,CAAC,KAAK;IAYb;;;;;;;;;;OAUG;IACH,cAAc,CACZ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,UA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
|
+
* 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
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
9
|
+
import * as coreClient from "@azure/core-client";
|
10
|
+
import * as Mappers from "../models/mappers";
|
11
|
+
import * as Parameters from "../models/parameters";
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
13
|
+
/** Class containing Tasks operations. */
|
14
|
+
export class TasksImpl {
|
15
|
+
/**
|
16
|
+
* Initialize a new instance of the class Tasks class.
|
17
|
+
* @param client Reference to the service client
|
18
|
+
*/
|
19
|
+
constructor(client) {
|
20
|
+
this.client = client;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
24
|
+
* method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
|
25
|
+
* which indicates that an error occurred while querying the status of that task.
|
26
|
+
* @param groupName Name of the resource group
|
27
|
+
* @param serviceName Name of the service
|
28
|
+
* @param projectName Name of the project
|
29
|
+
* @param options The options parameters.
|
30
|
+
*/
|
31
|
+
list(groupName, serviceName, projectName, options) {
|
32
|
+
const iter = this.listPagingAll(groupName, serviceName, projectName, options);
|
33
|
+
return {
|
34
|
+
next() {
|
35
|
+
return iter.next();
|
36
|
+
},
|
37
|
+
[Symbol.asyncIterator]() {
|
38
|
+
return this;
|
39
|
+
},
|
40
|
+
byPage: () => {
|
41
|
+
return this.listPagingPage(groupName, serviceName, projectName, options);
|
42
|
+
}
|
43
|
+
};
|
44
|
+
}
|
45
|
+
listPagingPage(groupName, serviceName, projectName, options) {
|
46
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
47
|
+
let result = yield __await(this._list(groupName, serviceName, projectName, options));
|
48
|
+
yield yield __await(result.value || []);
|
49
|
+
let continuationToken = result.nextLink;
|
50
|
+
while (continuationToken) {
|
51
|
+
result = yield __await(this._listNext(groupName, serviceName, projectName, continuationToken, options));
|
52
|
+
continuationToken = result.nextLink;
|
53
|
+
yield yield __await(result.value || []);
|
54
|
+
}
|
55
|
+
});
|
56
|
+
}
|
57
|
+
listPagingAll(groupName, serviceName, projectName, options) {
|
58
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
59
|
+
var e_1, _a;
|
60
|
+
try {
|
61
|
+
for (var _b = __asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
62
|
+
const page = _c.value;
|
63
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
64
|
+
}
|
65
|
+
}
|
66
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
67
|
+
finally {
|
68
|
+
try {
|
69
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
70
|
+
}
|
71
|
+
finally { if (e_1) throw e_1.error; }
|
72
|
+
}
|
73
|
+
});
|
74
|
+
}
|
75
|
+
/**
|
76
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
77
|
+
* method returns a list of tasks owned by a service resource. Some tasks may have a status of Unknown,
|
78
|
+
* which indicates that an error occurred while querying the status of that task.
|
79
|
+
* @param groupName Name of the resource group
|
80
|
+
* @param serviceName Name of the service
|
81
|
+
* @param projectName Name of the project
|
82
|
+
* @param options The options parameters.
|
83
|
+
*/
|
84
|
+
_list(groupName, serviceName, projectName, options) {
|
85
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec);
|
86
|
+
}
|
87
|
+
/**
|
88
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
89
|
+
* The PUT method creates a new task or updates an existing one, although since tasks have no mutable
|
90
|
+
* custom properties, there is little reason to update an existing one.
|
91
|
+
* @param groupName Name of the resource group
|
92
|
+
* @param serviceName Name of the service
|
93
|
+
* @param projectName Name of the project
|
94
|
+
* @param taskName Name of the Task
|
95
|
+
* @param parameters Information about the task
|
96
|
+
* @param options The options parameters.
|
97
|
+
*/
|
98
|
+
createOrUpdate(groupName, serviceName, projectName, taskName, parameters, options) {
|
99
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, createOrUpdateOperationSpec);
|
100
|
+
}
|
101
|
+
/**
|
102
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
103
|
+
* The GET method retrieves information about a task.
|
104
|
+
* @param groupName Name of the resource group
|
105
|
+
* @param serviceName Name of the service
|
106
|
+
* @param projectName Name of the project
|
107
|
+
* @param taskName Name of the Task
|
108
|
+
* @param options The options parameters.
|
109
|
+
*/
|
110
|
+
get(groupName, serviceName, projectName, taskName, options) {
|
111
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, getOperationSpec);
|
112
|
+
}
|
113
|
+
/**
|
114
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
115
|
+
* The DELETE method deletes a task, canceling it first if it's running.
|
116
|
+
* @param groupName Name of the resource group
|
117
|
+
* @param serviceName Name of the service
|
118
|
+
* @param projectName Name of the project
|
119
|
+
* @param taskName Name of the Task
|
120
|
+
* @param options The options parameters.
|
121
|
+
*/
|
122
|
+
delete(groupName, serviceName, projectName, taskName, options) {
|
123
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, deleteOperationSpec);
|
124
|
+
}
|
125
|
+
/**
|
126
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
127
|
+
* The PATCH method updates an existing task, but since tasks have no mutable custom properties, there
|
128
|
+
* is little reason to do so.
|
129
|
+
* @param groupName Name of the resource group
|
130
|
+
* @param serviceName Name of the service
|
131
|
+
* @param projectName Name of the project
|
132
|
+
* @param taskName Name of the Task
|
133
|
+
* @param parameters Information about the task
|
134
|
+
* @param options The options parameters.
|
135
|
+
*/
|
136
|
+
update(groupName, serviceName, projectName, taskName, parameters, options) {
|
137
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, updateOperationSpec);
|
138
|
+
}
|
139
|
+
/**
|
140
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
141
|
+
* This method cancels a task if it's currently queued or running.
|
142
|
+
* @param groupName Name of the resource group
|
143
|
+
* @param serviceName Name of the service
|
144
|
+
* @param projectName Name of the project
|
145
|
+
* @param taskName Name of the Task
|
146
|
+
* @param options The options parameters.
|
147
|
+
*/
|
148
|
+
cancel(groupName, serviceName, projectName, taskName, options) {
|
149
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, cancelOperationSpec);
|
150
|
+
}
|
151
|
+
/**
|
152
|
+
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
153
|
+
* This method executes a command on a running task.
|
154
|
+
* @param groupName Name of the resource group
|
155
|
+
* @param serviceName Name of the service
|
156
|
+
* @param projectName Name of the project
|
157
|
+
* @param taskName Name of the Task
|
158
|
+
* @param parameters Command to execute
|
159
|
+
* @param options The options parameters.
|
160
|
+
*/
|
161
|
+
command(groupName, serviceName, projectName, taskName, parameters, options) {
|
162
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, commandOperationSpec);
|
163
|
+
}
|
164
|
+
/**
|
165
|
+
* ListNext
|
166
|
+
* @param groupName Name of the resource group
|
167
|
+
* @param serviceName Name of the service
|
168
|
+
* @param projectName Name of the project
|
169
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
170
|
+
* @param options The options parameters.
|
171
|
+
*/
|
172
|
+
_listNext(groupName, serviceName, projectName, nextLink, options) {
|
173
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec);
|
174
|
+
}
|
175
|
+
}
|
176
|
+
// Operation Specifications
|
177
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
178
|
+
const listOperationSpec = {
|
179
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",
|
180
|
+
httpMethod: "GET",
|
181
|
+
responses: {
|
182
|
+
200: {
|
183
|
+
bodyMapper: Mappers.TaskList
|
184
|
+
},
|
185
|
+
default: {
|
186
|
+
bodyMapper: Mappers.ApiError
|
187
|
+
}
|
188
|
+
},
|
189
|
+
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
190
|
+
urlParameters: [
|
191
|
+
Parameters.$host,
|
192
|
+
Parameters.subscriptionId,
|
193
|
+
Parameters.groupName,
|
194
|
+
Parameters.serviceName,
|
195
|
+
Parameters.projectName
|
196
|
+
],
|
197
|
+
headerParameters: [Parameters.accept],
|
198
|
+
serializer
|
199
|
+
};
|
200
|
+
const createOrUpdateOperationSpec = {
|
201
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
202
|
+
httpMethod: "PUT",
|
203
|
+
responses: {
|
204
|
+
200: {
|
205
|
+
bodyMapper: Mappers.ProjectTask
|
206
|
+
},
|
207
|
+
201: {
|
208
|
+
bodyMapper: Mappers.ProjectTask
|
209
|
+
},
|
210
|
+
default: {
|
211
|
+
bodyMapper: Mappers.ApiError
|
212
|
+
}
|
213
|
+
},
|
214
|
+
requestBody: Parameters.parameters9,
|
215
|
+
queryParameters: [Parameters.apiVersion],
|
216
|
+
urlParameters: [
|
217
|
+
Parameters.$host,
|
218
|
+
Parameters.subscriptionId,
|
219
|
+
Parameters.groupName,
|
220
|
+
Parameters.serviceName,
|
221
|
+
Parameters.projectName,
|
222
|
+
Parameters.taskName
|
223
|
+
],
|
224
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
225
|
+
mediaType: "json",
|
226
|
+
serializer
|
227
|
+
};
|
228
|
+
const getOperationSpec = {
|
229
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
230
|
+
httpMethod: "GET",
|
231
|
+
responses: {
|
232
|
+
200: {
|
233
|
+
bodyMapper: Mappers.ProjectTask
|
234
|
+
},
|
235
|
+
default: {
|
236
|
+
bodyMapper: Mappers.ApiError
|
237
|
+
}
|
238
|
+
},
|
239
|
+
queryParameters: [Parameters.expand, Parameters.apiVersion],
|
240
|
+
urlParameters: [
|
241
|
+
Parameters.$host,
|
242
|
+
Parameters.subscriptionId,
|
243
|
+
Parameters.groupName,
|
244
|
+
Parameters.serviceName,
|
245
|
+
Parameters.projectName,
|
246
|
+
Parameters.taskName
|
247
|
+
],
|
248
|
+
headerParameters: [Parameters.accept],
|
249
|
+
serializer
|
250
|
+
};
|
251
|
+
const deleteOperationSpec = {
|
252
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
253
|
+
httpMethod: "DELETE",
|
254
|
+
responses: {
|
255
|
+
200: {},
|
256
|
+
204: {},
|
257
|
+
default: {
|
258
|
+
bodyMapper: Mappers.ApiError
|
259
|
+
}
|
260
|
+
},
|
261
|
+
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
262
|
+
urlParameters: [
|
263
|
+
Parameters.$host,
|
264
|
+
Parameters.subscriptionId,
|
265
|
+
Parameters.groupName,
|
266
|
+
Parameters.serviceName,
|
267
|
+
Parameters.projectName,
|
268
|
+
Parameters.taskName
|
269
|
+
],
|
270
|
+
headerParameters: [Parameters.accept],
|
271
|
+
serializer
|
272
|
+
};
|
273
|
+
const updateOperationSpec = {
|
274
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
275
|
+
httpMethod: "PATCH",
|
276
|
+
responses: {
|
277
|
+
200: {
|
278
|
+
bodyMapper: Mappers.ProjectTask
|
279
|
+
},
|
280
|
+
default: {
|
281
|
+
bodyMapper: Mappers.ApiError
|
282
|
+
}
|
283
|
+
},
|
284
|
+
requestBody: Parameters.parameters9,
|
285
|
+
queryParameters: [Parameters.apiVersion],
|
286
|
+
urlParameters: [
|
287
|
+
Parameters.$host,
|
288
|
+
Parameters.subscriptionId,
|
289
|
+
Parameters.groupName,
|
290
|
+
Parameters.serviceName,
|
291
|
+
Parameters.projectName,
|
292
|
+
Parameters.taskName
|
293
|
+
],
|
294
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
295
|
+
mediaType: "json",
|
296
|
+
serializer
|
297
|
+
};
|
298
|
+
const cancelOperationSpec = {
|
299
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",
|
300
|
+
httpMethod: "POST",
|
301
|
+
responses: {
|
302
|
+
200: {
|
303
|
+
bodyMapper: Mappers.ProjectTask
|
304
|
+
},
|
305
|
+
default: {
|
306
|
+
bodyMapper: Mappers.ApiError
|
307
|
+
}
|
308
|
+
},
|
309
|
+
queryParameters: [Parameters.apiVersion],
|
310
|
+
urlParameters: [
|
311
|
+
Parameters.$host,
|
312
|
+
Parameters.subscriptionId,
|
313
|
+
Parameters.groupName,
|
314
|
+
Parameters.serviceName,
|
315
|
+
Parameters.projectName,
|
316
|
+
Parameters.taskName
|
317
|
+
],
|
318
|
+
headerParameters: [Parameters.accept],
|
319
|
+
serializer
|
320
|
+
};
|
321
|
+
const commandOperationSpec = {
|
322
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",
|
323
|
+
httpMethod: "POST",
|
324
|
+
responses: {
|
325
|
+
200: {
|
326
|
+
bodyMapper: Mappers.CommandProperties
|
327
|
+
},
|
328
|
+
default: {
|
329
|
+
bodyMapper: Mappers.ApiError
|
330
|
+
}
|
331
|
+
},
|
332
|
+
requestBody: Parameters.parameters10,
|
333
|
+
queryParameters: [Parameters.apiVersion],
|
334
|
+
urlParameters: [
|
335
|
+
Parameters.$host,
|
336
|
+
Parameters.subscriptionId,
|
337
|
+
Parameters.groupName,
|
338
|
+
Parameters.serviceName,
|
339
|
+
Parameters.projectName,
|
340
|
+
Parameters.taskName
|
341
|
+
],
|
342
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
343
|
+
mediaType: "json",
|
344
|
+
serializer
|
345
|
+
};
|
346
|
+
const listNextOperationSpec = {
|
347
|
+
path: "{nextLink}",
|
348
|
+
httpMethod: "GET",
|
349
|
+
responses: {
|
350
|
+
200: {
|
351
|
+
bodyMapper: Mappers.TaskList
|
352
|
+
},
|
353
|
+
default: {
|
354
|
+
bodyMapper: Mappers.ApiError
|
355
|
+
}
|
356
|
+
},
|
357
|
+
queryParameters: [Parameters.apiVersion, Parameters.taskType],
|
358
|
+
urlParameters: [
|
359
|
+
Parameters.$host,
|
360
|
+
Parameters.subscriptionId,
|
361
|
+
Parameters.nextLink,
|
362
|
+
Parameters.groupName,
|
363
|
+
Parameters.serviceName,
|
364
|
+
Parameters.projectName
|
365
|
+
],
|
366
|
+
headerParameters: [Parameters.accept],
|
367
|
+
serializer
|
368
|
+
};
|
369
|
+
//# sourceMappingURL=tasks.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../../src/operations/tasks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,yCAAyC;AACzC,MAAM,OAAO,SAAS;IAGpB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,IAAI,CACT,SAAiB,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AM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC7D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Usages } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { Quota, UsagesListOptionalParams } from "../models";
|
5
|
+
/** Class containing Usages operations. */
|
6
|
+
export declare class UsagesImpl implements Usages {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Usages class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* This method returns region-specific quotas and resource usage information for the Database Migration
|
15
|
+
* Service.
|
16
|
+
* @param location The Azure region of the operation
|
17
|
+
* @param options The options parameters.
|
18
|
+
*/
|
19
|
+
list(location: string, options?: UsagesListOptionalParams): PagedAsyncIterableIterator<Quota>;
|
20
|
+
private listPagingPage;
|
21
|
+
private listPagingAll;
|
22
|
+
/**
|
23
|
+
* This method returns region-specific quotas and resource usage information for the Database Migration
|
24
|
+
* Service.
|
25
|
+
* @param location The Azure region of the operation
|
26
|
+
* @param options The options parameters.
|
27
|
+
*/
|
28
|
+
private _list;
|
29
|
+
/**
|
30
|
+
* ListNext
|
31
|
+
* @param location The Azure region of the operation
|
32
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
33
|
+
* @param options The options parameters.
|
34
|
+
*/
|
35
|
+
private _listNext;
|
36
|
+
}
|
37
|
+
//# sourceMappingURL=usages.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"usages.d.ts","sourceRoot":"","sources":["../../../src/operations/usages.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAIjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,KAAK,EAEL,wBAAwB,EAGzB,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,qBAAa,UAAW,YAAW,MAAM;IACvC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;OAKG;IACI,IAAI,CACT,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,wBAAwB,GACjC,0BAA0B,CAAC,KAAK,CAAC;YAerB,cAAc;YAcd,aAAa;IAS5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAUb;;;;;OAKG;IACH,OAAO,CAAC,SAAS;CAUlB"}
|