@azure/arm-datamigration 2.1.1 → 3.0.0-alpha.20220118.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +16801 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesDelete.js +33 -0
- package/dist-esm/samples-dev/filesDelete.js.map +1 -0
- package/dist-esm/samples-dev/filesList.d.ts +2 -0
- package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesList.js +33 -0
- package/dist-esm/samples-dev/filesList.js.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.js +36 -0
- package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.js +31 -0
- package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
- package/dist-esm/samples-dev/listSkus.d.ts +2 -0
- package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSkus.js +43 -0
- package/dist-esm/samples-dev/listSkus.js.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.js +32 -0
- package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
- package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGet.js +32 -0
- package/dist-esm/samples-dev/projectsGet.js.map +1 -0
- package/dist-esm/samples-dev/projectsList.d.ts +2 -0
- package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsList.js +45 -0
- package/dist-esm/samples-dev/projectsList.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.js +45 -0
- package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/servicesList.d.ts +2 -0
- package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesList.js +43 -0
- package/dist-esm/samples-dev/servicesList.js.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.js +45 -0
- package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
- package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStart.js +31 -0
- package/dist-esm/samples-dev/servicesStart.js.map +1 -0
- package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStop.js +31 -0
- package/dist-esm/samples-dev/servicesStop.js.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.js +44 -0
- package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.js +32 -0
- package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.js +37 -0
- package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.js +32 -0
- package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
- package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
- package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksGet.js +32 -0
- package/dist-esm/samples-dev/tasksGet.js.map +1 -0
- package/dist-esm/samples-dev/tasksList.d.ts +2 -0
- package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksList.js +46 -0
- package/dist-esm/samples-dev/tasksList.js.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.js +61 -0
- package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7238 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +534 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +434 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +36 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +272 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operations/files.d.ts +101 -0
- package/dist-esm/src/operations/files.d.ts.map +1 -0
- package/dist-esm/src/operations/files.js +358 -0
- package/dist-esm/src/operations/files.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +19 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +78 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +279 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +124 -0
- package/dist-esm/src/operations/resourceSkus.js.map +1 -0
- package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
- package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceTasks.js +316 -0
- package/dist-esm/src/operations/serviceTasks.js.map +1 -0
- package/dist-esm/src/operations/services.d.ts +217 -0
- package/dist-esm/src/operations/services.d.ts.map +1 -0
- package/dist-esm/src/operations/services.js +884 -0
- package/dist-esm/src/operations/services.js.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
- package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +110 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +369 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +37 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +134 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.js +9 -0
- package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.js +9 -0
- package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -23
- package/review/arm-datamigration.api.md +4412 -0
- package/rollup.config.js +181 -30
- package/src/dataMigrationManagementClient.ts +119 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +6252 -7473
- package/src/models/mappers.ts +8147 -6279
- package/src/models/parameters.ts +230 -54
- package/src/operations/databaseMigrationsSqlMi.ts +453 -0
- package/src/operations/databaseMigrationsSqlVm.ts +453 -0
- package/src/operations/files.ts +283 -368
- package/src/operations/index.ts +7 -6
- package/src/operations/operations.ts +93 -85
- package/src/operations/projects.ts +222 -275
- package/src/operations/resourceSkus.ts +92 -78
- package/src/operations/serviceTasks.ts +244 -321
- package/src/operations/services.ts +887 -647
- package/src/operations/sqlMigrationServices.ts +986 -0
- package/src/operations/tasks.ts +303 -397
- package/src/operations/usages.ts +110 -85
- package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
- package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
- package/src/operationsInterfaces/files.ts +139 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/projects.ts +97 -0
- package/src/operationsInterfaces/resourceSkus.ts +22 -0
- package/src/operationsInterfaces/serviceTasks.ts +116 -0
- package/src/operationsInterfaces/services.ts +272 -0
- package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
- package/src/operationsInterfaces/tasks.ts +149 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/tsconfig.json +5 -4
- package/types/arm-datamigration.d.ts +8549 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datamigration.js +0 -14012
- package/dist/arm-datamigration.js.map +0 -1
- package/dist/arm-datamigration.min.js +0 -1
- package/dist/arm-datamigration.min.js.map +0 -1
- package/esm/dataMigrationServiceClient.d.ts +0 -31
- package/esm/dataMigrationServiceClient.d.ts.map +0 -1
- package/esm/dataMigrationServiceClient.js +0 -45
- package/esm/dataMigrationServiceClient.js.map +0 -1
- package/esm/dataMigrationServiceClientContext.d.ts +0 -22
- package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
- package/esm/dataMigrationServiceClientContext.js +0 -61
- package/esm/dataMigrationServiceClientContext.js.map +0 -1
- package/esm/models/filesMappers.d.ts +0 -2
- package/esm/models/filesMappers.d.ts.map +0 -1
- package/esm/models/filesMappers.js +0 -9
- package/esm/models/filesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -8920
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -374
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -147
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -9
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/models/resourceSkusMappers.d.ts +0 -2
- package/esm/models/resourceSkusMappers.d.ts.map +0 -1
- package/esm/models/resourceSkusMappers.js +0 -9
- package/esm/models/resourceSkusMappers.js.map +0 -1
- package/esm/models/serviceTasksMappers.d.ts +0 -2
- package/esm/models/serviceTasksMappers.d.ts.map +0 -1
- package/esm/models/serviceTasksMappers.js +0 -9
- package/esm/models/serviceTasksMappers.js.map +0 -1
- package/esm/models/servicesMappers.d.ts +0 -2
- package/esm/models/servicesMappers.d.ts.map +0 -1
- package/esm/models/servicesMappers.js +0 -9
- package/esm/models/servicesMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/operations/files.d.ts +0 -235
- package/esm/operations/files.d.ts.map +0 -1
- package/esm/operations/files.js +0 -309
- package/esm/operations/files.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -166
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -230
- package/esm/operations/projects.js.map +0 -1
- package/esm/operations/resourceSkus.d.ts +0 -48
- package/esm/operations/resourceSkus.d.ts.map +0 -1
- package/esm/operations/resourceSkus.js +0 -80
- package/esm/operations/resourceSkus.js.map +0 -1
- package/esm/operations/serviceTasks.d.ts +0 -199
- package/esm/operations/serviceTasks.d.ts.map +0 -1
- package/esm/operations/serviceTasks.js +0 -265
- package/esm/operations/serviceTasks.js.map +0 -1
- package/esm/operations/services.d.ts +0 -350
- package/esm/operations/services.d.ts.map +0 -1
- package/esm/operations/services.js +0 -626
- package/esm/operations/services.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -246
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -317
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -53
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -82
- package/esm/operations/usages.js.map +0 -1
- package/src/dataMigrationServiceClient.ts +0 -62
- package/src/dataMigrationServiceClientContext.ts +0 -68
- package/src/models/filesMappers.ts +0 -235
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/projectsMappers.ts +0 -234
- package/src/models/resourceSkusMappers.ts +0 -19
- package/src/models/serviceTasksMappers.ts +0 -234
- package/src/models/servicesMappers.ts +0 -241
- package/src/models/tasksMappers.ts +0 -234
- package/src/models/usagesMappers.ts +0 -16
@@ -0,0 +1,279 @@
|
|
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
|
+
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 Projects operations. */
|
14
|
+
export class ProjectsImpl {
|
15
|
+
/**
|
16
|
+
* Initialize a new instance of the class Projects class.
|
17
|
+
* @param client Reference to the service client
|
18
|
+
*/
|
19
|
+
constructor(client) {
|
20
|
+
this.client = client;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
24
|
+
* returns a list of projects owned by a service resource.
|
25
|
+
* @param groupName Name of the resource group
|
26
|
+
* @param serviceName Name of the service
|
27
|
+
* @param options The options parameters.
|
28
|
+
*/
|
29
|
+
list(groupName, serviceName, options) {
|
30
|
+
const iter = this.listPagingAll(groupName, serviceName, options);
|
31
|
+
return {
|
32
|
+
next() {
|
33
|
+
return iter.next();
|
34
|
+
},
|
35
|
+
[Symbol.asyncIterator]() {
|
36
|
+
return this;
|
37
|
+
},
|
38
|
+
byPage: () => {
|
39
|
+
return this.listPagingPage(groupName, serviceName, options);
|
40
|
+
}
|
41
|
+
};
|
42
|
+
}
|
43
|
+
listPagingPage(groupName, serviceName, options) {
|
44
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
45
|
+
let result = yield __await(this._list(groupName, serviceName, options));
|
46
|
+
yield yield __await(result.value || []);
|
47
|
+
let continuationToken = result.nextLink;
|
48
|
+
while (continuationToken) {
|
49
|
+
result = yield __await(this._listNext(groupName, serviceName, continuationToken, options));
|
50
|
+
continuationToken = result.nextLink;
|
51
|
+
yield yield __await(result.value || []);
|
52
|
+
}
|
53
|
+
});
|
54
|
+
}
|
55
|
+
listPagingAll(groupName, serviceName, options) {
|
56
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
57
|
+
var e_1, _a;
|
58
|
+
try {
|
59
|
+
for (var _b = __asyncValues(this.listPagingPage(groupName, serviceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
60
|
+
const page = _c.value;
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
62
|
+
}
|
63
|
+
}
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
65
|
+
finally {
|
66
|
+
try {
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
68
|
+
}
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
70
|
+
}
|
71
|
+
});
|
72
|
+
}
|
73
|
+
/**
|
74
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
75
|
+
* returns a list of projects owned by a service resource.
|
76
|
+
* @param groupName Name of the resource group
|
77
|
+
* @param serviceName Name of the service
|
78
|
+
* @param options The options parameters.
|
79
|
+
*/
|
80
|
+
_list(groupName, serviceName, options) {
|
81
|
+
return this.client.sendOperationRequest({ groupName, serviceName, options }, listOperationSpec);
|
82
|
+
}
|
83
|
+
/**
|
84
|
+
* The project resource is a nested resource representing a stored migration project. The PUT method
|
85
|
+
* creates a new project or updates an existing one.
|
86
|
+
* @param groupName Name of the resource group
|
87
|
+
* @param serviceName Name of the service
|
88
|
+
* @param projectName Name of the project
|
89
|
+
* @param parameters Information about the project
|
90
|
+
* @param options The options parameters.
|
91
|
+
*/
|
92
|
+
createOrUpdate(groupName, serviceName, projectName, parameters, options) {
|
93
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, parameters, options }, createOrUpdateOperationSpec);
|
94
|
+
}
|
95
|
+
/**
|
96
|
+
* The project resource is a nested resource representing a stored migration project. The GET method
|
97
|
+
* retrieves information about a project.
|
98
|
+
* @param groupName Name of the resource group
|
99
|
+
* @param serviceName Name of the service
|
100
|
+
* @param projectName Name of the project
|
101
|
+
* @param options The options parameters.
|
102
|
+
*/
|
103
|
+
get(groupName, serviceName, projectName, options) {
|
104
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, getOperationSpec);
|
105
|
+
}
|
106
|
+
/**
|
107
|
+
* The project resource is a nested resource representing a stored migration project. The DELETE method
|
108
|
+
* deletes a project.
|
109
|
+
* @param groupName Name of the resource group
|
110
|
+
* @param serviceName Name of the service
|
111
|
+
* @param projectName Name of the project
|
112
|
+
* @param options The options parameters.
|
113
|
+
*/
|
114
|
+
delete(groupName, serviceName, projectName, options) {
|
115
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, deleteOperationSpec);
|
116
|
+
}
|
117
|
+
/**
|
118
|
+
* The project resource is a nested resource representing a stored migration project. The PATCH method
|
119
|
+
* updates an existing project.
|
120
|
+
* @param groupName Name of the resource group
|
121
|
+
* @param serviceName Name of the service
|
122
|
+
* @param projectName Name of the project
|
123
|
+
* @param parameters Information about the project
|
124
|
+
* @param options The options parameters.
|
125
|
+
*/
|
126
|
+
update(groupName, serviceName, projectName, parameters, options) {
|
127
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, parameters, options }, updateOperationSpec);
|
128
|
+
}
|
129
|
+
/**
|
130
|
+
* ListNext
|
131
|
+
* @param groupName Name of the resource group
|
132
|
+
* @param serviceName Name of the service
|
133
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
134
|
+
* @param options The options parameters.
|
135
|
+
*/
|
136
|
+
_listNext(groupName, serviceName, nextLink, options) {
|
137
|
+
return this.client.sendOperationRequest({ groupName, serviceName, nextLink, options }, listNextOperationSpec);
|
138
|
+
}
|
139
|
+
}
|
140
|
+
// Operation Specifications
|
141
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
142
|
+
const listOperationSpec = {
|
143
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",
|
144
|
+
httpMethod: "GET",
|
145
|
+
responses: {
|
146
|
+
200: {
|
147
|
+
bodyMapper: Mappers.ProjectList
|
148
|
+
},
|
149
|
+
default: {
|
150
|
+
bodyMapper: Mappers.ApiError
|
151
|
+
}
|
152
|
+
},
|
153
|
+
queryParameters: [Parameters.apiVersion],
|
154
|
+
urlParameters: [
|
155
|
+
Parameters.$host,
|
156
|
+
Parameters.subscriptionId,
|
157
|
+
Parameters.groupName,
|
158
|
+
Parameters.serviceName
|
159
|
+
],
|
160
|
+
headerParameters: [Parameters.accept],
|
161
|
+
serializer
|
162
|
+
};
|
163
|
+
const createOrUpdateOperationSpec = {
|
164
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
165
|
+
httpMethod: "PUT",
|
166
|
+
responses: {
|
167
|
+
200: {
|
168
|
+
bodyMapper: Mappers.Project
|
169
|
+
},
|
170
|
+
201: {
|
171
|
+
bodyMapper: Mappers.Project
|
172
|
+
},
|
173
|
+
default: {
|
174
|
+
bodyMapper: Mappers.ApiError
|
175
|
+
}
|
176
|
+
},
|
177
|
+
requestBody: Parameters.parameters11,
|
178
|
+
queryParameters: [Parameters.apiVersion],
|
179
|
+
urlParameters: [
|
180
|
+
Parameters.$host,
|
181
|
+
Parameters.subscriptionId,
|
182
|
+
Parameters.groupName,
|
183
|
+
Parameters.serviceName,
|
184
|
+
Parameters.projectName
|
185
|
+
],
|
186
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
187
|
+
mediaType: "json",
|
188
|
+
serializer
|
189
|
+
};
|
190
|
+
const getOperationSpec = {
|
191
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
192
|
+
httpMethod: "GET",
|
193
|
+
responses: {
|
194
|
+
200: {
|
195
|
+
bodyMapper: Mappers.Project
|
196
|
+
},
|
197
|
+
default: {
|
198
|
+
bodyMapper: Mappers.ApiError
|
199
|
+
}
|
200
|
+
},
|
201
|
+
queryParameters: [Parameters.apiVersion],
|
202
|
+
urlParameters: [
|
203
|
+
Parameters.$host,
|
204
|
+
Parameters.subscriptionId,
|
205
|
+
Parameters.groupName,
|
206
|
+
Parameters.serviceName,
|
207
|
+
Parameters.projectName
|
208
|
+
],
|
209
|
+
headerParameters: [Parameters.accept],
|
210
|
+
serializer
|
211
|
+
};
|
212
|
+
const deleteOperationSpec = {
|
213
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
214
|
+
httpMethod: "DELETE",
|
215
|
+
responses: {
|
216
|
+
200: {},
|
217
|
+
204: {},
|
218
|
+
default: {
|
219
|
+
bodyMapper: Mappers.ApiError
|
220
|
+
}
|
221
|
+
},
|
222
|
+
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
223
|
+
urlParameters: [
|
224
|
+
Parameters.$host,
|
225
|
+
Parameters.subscriptionId,
|
226
|
+
Parameters.groupName,
|
227
|
+
Parameters.serviceName,
|
228
|
+
Parameters.projectName
|
229
|
+
],
|
230
|
+
headerParameters: [Parameters.accept],
|
231
|
+
serializer
|
232
|
+
};
|
233
|
+
const updateOperationSpec = {
|
234
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
235
|
+
httpMethod: "PATCH",
|
236
|
+
responses: {
|
237
|
+
200: {
|
238
|
+
bodyMapper: Mappers.Project
|
239
|
+
},
|
240
|
+
default: {
|
241
|
+
bodyMapper: Mappers.ApiError
|
242
|
+
}
|
243
|
+
},
|
244
|
+
requestBody: Parameters.parameters11,
|
245
|
+
queryParameters: [Parameters.apiVersion],
|
246
|
+
urlParameters: [
|
247
|
+
Parameters.$host,
|
248
|
+
Parameters.subscriptionId,
|
249
|
+
Parameters.groupName,
|
250
|
+
Parameters.serviceName,
|
251
|
+
Parameters.projectName
|
252
|
+
],
|
253
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
254
|
+
mediaType: "json",
|
255
|
+
serializer
|
256
|
+
};
|
257
|
+
const listNextOperationSpec = {
|
258
|
+
path: "{nextLink}",
|
259
|
+
httpMethod: "GET",
|
260
|
+
responses: {
|
261
|
+
200: {
|
262
|
+
bodyMapper: Mappers.ProjectList
|
263
|
+
},
|
264
|
+
default: {
|
265
|
+
bodyMapper: Mappers.ApiError
|
266
|
+
}
|
267
|
+
},
|
268
|
+
queryParameters: [Parameters.apiVersion],
|
269
|
+
urlParameters: [
|
270
|
+
Parameters.$host,
|
271
|
+
Parameters.subscriptionId,
|
272
|
+
Parameters.nextLink,
|
273
|
+
Parameters.groupName,
|
274
|
+
Parameters.serviceName
|
275
|
+
],
|
276
|
+
headerParameters: [Parameters.accept],
|
277
|
+
serializer
|
278
|
+
};
|
279
|
+
//# sourceMappingURL=projects.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../../src/operations/projects.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;AAiBnD,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAM,OAAO,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,SAAiB,EACjB,WAAmB,EACnB,OAAoC;QAEpC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACjE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,SAAiB,EACjB,WAAmB,EACnB,OAAoC;;YAEpC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KA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jB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { ResourceSkus } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { ResourceSku, ResourceSkusListSkusOptionalParams } from "../models";
|
5
|
+
/** Class containing ResourceSkus operations. */
|
6
|
+
export declare class ResourceSkusImpl implements ResourceSkus {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class ResourceSkus class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* The skus action returns the list of SKUs that DMS supports.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
listSkus(options?: ResourceSkusListSkusOptionalParams): PagedAsyncIterableIterator<ResourceSku>;
|
18
|
+
private listSkusPagingPage;
|
19
|
+
private listSkusPagingAll;
|
20
|
+
/**
|
21
|
+
* The skus action returns the list of SKUs that DMS supports.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
private _listSkus;
|
25
|
+
/**
|
26
|
+
* ListSkusNext
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the ListSkus method.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
private _listSkusNext;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=resourceSkus.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"resourceSkus.d.ts","sourceRoot":"","sources":["../../../src/operations/resourceSkus.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,WAAW,EAEX,kCAAkC,EAGnC,MAAM,WAAW,CAAC;AAGnB,gDAAgD;AAChD,qBAAa,gBAAiB,YAAW,YAAY;IACnD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACI,QAAQ,CACb,OAAO,CAAC,EAAE,kCAAkC,GAC3C,0BAA0B,CAAC,WAAW,CAAC;YAe3B,kBAAkB;YAalB,iBAAiB;IAQhC;;;OAGG;IACH,OAAO,CAAC,SAAS;IAMjB;;;;OAIG;IACH,OAAO,CAAC,aAAa;CAStB"}
|
@@ -0,0 +1,124 @@
|
|
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
|
+
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 ResourceSkus operations. */
|
14
|
+
export class ResourceSkusImpl {
|
15
|
+
/**
|
16
|
+
* Initialize a new instance of the class ResourceSkus class.
|
17
|
+
* @param client Reference to the service client
|
18
|
+
*/
|
19
|
+
constructor(client) {
|
20
|
+
this.client = client;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* The skus action returns the list of SKUs that DMS supports.
|
24
|
+
* @param options The options parameters.
|
25
|
+
*/
|
26
|
+
listSkus(options) {
|
27
|
+
const iter = this.listSkusPagingAll(options);
|
28
|
+
return {
|
29
|
+
next() {
|
30
|
+
return iter.next();
|
31
|
+
},
|
32
|
+
[Symbol.asyncIterator]() {
|
33
|
+
return this;
|
34
|
+
},
|
35
|
+
byPage: () => {
|
36
|
+
return this.listSkusPagingPage(options);
|
37
|
+
}
|
38
|
+
};
|
39
|
+
}
|
40
|
+
listSkusPagingPage(options) {
|
41
|
+
return __asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
42
|
+
let result = yield __await(this._listSkus(options));
|
43
|
+
yield yield __await(result.value || []);
|
44
|
+
let continuationToken = result.nextLink;
|
45
|
+
while (continuationToken) {
|
46
|
+
result = yield __await(this._listSkusNext(continuationToken, options));
|
47
|
+
continuationToken = result.nextLink;
|
48
|
+
yield yield __await(result.value || []);
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
listSkusPagingAll(options) {
|
53
|
+
return __asyncGenerator(this, arguments, function* listSkusPagingAll_1() {
|
54
|
+
var e_1, _a;
|
55
|
+
try {
|
56
|
+
for (var _b = __asyncValues(this.listSkusPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
57
|
+
const page = _c.value;
|
58
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
59
|
+
}
|
60
|
+
}
|
61
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
62
|
+
finally {
|
63
|
+
try {
|
64
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
65
|
+
}
|
66
|
+
finally { if (e_1) throw e_1.error; }
|
67
|
+
}
|
68
|
+
});
|
69
|
+
}
|
70
|
+
/**
|
71
|
+
* The skus action returns the list of SKUs that DMS supports.
|
72
|
+
* @param options The options parameters.
|
73
|
+
*/
|
74
|
+
_listSkus(options) {
|
75
|
+
return this.client.sendOperationRequest({ options }, listSkusOperationSpec);
|
76
|
+
}
|
77
|
+
/**
|
78
|
+
* ListSkusNext
|
79
|
+
* @param nextLink The nextLink from the previous successful call to the ListSkus method.
|
80
|
+
* @param options The options parameters.
|
81
|
+
*/
|
82
|
+
_listSkusNext(nextLink, options) {
|
83
|
+
return this.client.sendOperationRequest({ nextLink, options }, listSkusNextOperationSpec);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
// Operation Specifications
|
87
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
88
|
+
const listSkusOperationSpec = {
|
89
|
+
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus",
|
90
|
+
httpMethod: "GET",
|
91
|
+
responses: {
|
92
|
+
200: {
|
93
|
+
bodyMapper: Mappers.ResourceSkusResult
|
94
|
+
},
|
95
|
+
default: {
|
96
|
+
bodyMapper: Mappers.ApiError
|
97
|
+
}
|
98
|
+
},
|
99
|
+
queryParameters: [Parameters.apiVersion],
|
100
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
101
|
+
headerParameters: [Parameters.accept],
|
102
|
+
serializer
|
103
|
+
};
|
104
|
+
const listSkusNextOperationSpec = {
|
105
|
+
path: "{nextLink}",
|
106
|
+
httpMethod: "GET",
|
107
|
+
responses: {
|
108
|
+
200: {
|
109
|
+
bodyMapper: Mappers.ResourceSkusResult
|
110
|
+
},
|
111
|
+
default: {
|
112
|
+
bodyMapper: Mappers.ApiError
|
113
|
+
}
|
114
|
+
},
|
115
|
+
queryParameters: [Parameters.apiVersion],
|
116
|
+
urlParameters: [
|
117
|
+
Parameters.$host,
|
118
|
+
Parameters.subscriptionId,
|
119
|
+
Parameters.nextLink
|
120
|
+
],
|
121
|
+
headerParameters: [Parameters.accept],
|
122
|
+
serializer
|
123
|
+
};
|
124
|
+
//# sourceMappingURL=resourceSkus.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../../src/operations/resourceSkus.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;AAUnD,4CAA4C;AAC5C,gDAAgD;AAChD,MAAM,OAAO,gBAAgB;IAG3B;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,QAAQ,CACb,OAA4C;QAE5C,MAAM,IAAI,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC7C,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;YAC1C,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,kBAAkB,CAC/B,OAA4C;;YAE5C,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA,CAAC;YAC3C,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;gBAC9D,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;gBACpC,oBAAM,MAAM,CAAC,KAAK,I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,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;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,91 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { ServiceTasks } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { ProjectTask, ServiceTasksListOptionalParams, ServiceTasksCreateOrUpdateOptionalParams, ServiceTasksCreateOrUpdateResponse, ServiceTasksGetOptionalParams, ServiceTasksGetResponse, ServiceTasksDeleteOptionalParams, ServiceTasksUpdateOptionalParams, ServiceTasksUpdateResponse, ServiceTasksCancelOptionalParams, ServiceTasksCancelResponse } from "../models";
|
5
|
+
/** Class containing ServiceTasks operations. */
|
6
|
+
export declare class ServiceTasksImpl implements ServiceTasks {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class ServiceTasks 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 service level tasks owned by a service resource. Some tasks may have a
|
16
|
+
* status of Unknown, 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 options The options parameters.
|
20
|
+
*/
|
21
|
+
list(groupName: string, serviceName: string, options?: ServiceTasksListOptionalParams): PagedAsyncIterableIterator<ProjectTask>;
|
22
|
+
private listPagingPage;
|
23
|
+
private listPagingAll;
|
24
|
+
/**
|
25
|
+
* The services resource is the top-level resource that represents the Database Migration Service. This
|
26
|
+
* method returns a list of service level tasks owned by a service resource. Some tasks may have a
|
27
|
+
* status of Unknown, which indicates that an error occurred while querying the status of that task.
|
28
|
+
* @param groupName Name of the resource group
|
29
|
+
* @param serviceName Name of the service
|
30
|
+
* @param options The options parameters.
|
31
|
+
*/
|
32
|
+
private _list;
|
33
|
+
/**
|
34
|
+
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
35
|
+
* instance. The PUT method creates a new service task or updates an existing one, although since
|
36
|
+
* service tasks have no mutable custom properties, there is little reason to update an existing one.
|
37
|
+
* @param groupName Name of the resource group
|
38
|
+
* @param serviceName Name of the service
|
39
|
+
* @param taskName Name of the Task
|
40
|
+
* @param parameters Information about the task
|
41
|
+
* @param options The options parameters.
|
42
|
+
*/
|
43
|
+
createOrUpdate(groupName: string, serviceName: string, taskName: string, parameters: ProjectTask, options?: ServiceTasksCreateOrUpdateOptionalParams): Promise<ServiceTasksCreateOrUpdateResponse>;
|
44
|
+
/**
|
45
|
+
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
46
|
+
* instance. The GET method retrieves information about a service task.
|
47
|
+
* @param groupName Name of the resource group
|
48
|
+
* @param serviceName Name of the service
|
49
|
+
* @param taskName Name of the Task
|
50
|
+
* @param options The options parameters.
|
51
|
+
*/
|
52
|
+
get(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksGetOptionalParams): Promise<ServiceTasksGetResponse>;
|
53
|
+
/**
|
54
|
+
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
55
|
+
* instance. The DELETE method deletes a service task, canceling it first if it's running.
|
56
|
+
* @param groupName Name of the resource group
|
57
|
+
* @param serviceName Name of the service
|
58
|
+
* @param taskName Name of the Task
|
59
|
+
* @param options The options parameters.
|
60
|
+
*/
|
61
|
+
delete(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksDeleteOptionalParams): Promise<void>;
|
62
|
+
/**
|
63
|
+
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
64
|
+
* instance. The PATCH method updates an existing service task, but since service tasks have no mutable
|
65
|
+
* custom properties, there is little reason to do so.
|
66
|
+
* @param groupName Name of the resource group
|
67
|
+
* @param serviceName Name of the service
|
68
|
+
* @param taskName Name of the Task
|
69
|
+
* @param parameters Information about the task
|
70
|
+
* @param options The options parameters.
|
71
|
+
*/
|
72
|
+
update(groupName: string, serviceName: string, taskName: string, parameters: ProjectTask, options?: ServiceTasksUpdateOptionalParams): Promise<ServiceTasksUpdateResponse>;
|
73
|
+
/**
|
74
|
+
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
75
|
+
* instance. This method cancels a service task if it's currently queued or running.
|
76
|
+
* @param groupName Name of the resource group
|
77
|
+
* @param serviceName Name of the service
|
78
|
+
* @param taskName Name of the Task
|
79
|
+
* @param options The options parameters.
|
80
|
+
*/
|
81
|
+
cancel(groupName: string, serviceName: string, taskName: string, options?: ServiceTasksCancelOptionalParams): Promise<ServiceTasksCancelResponse>;
|
82
|
+
/**
|
83
|
+
* ListNext
|
84
|
+
* @param groupName Name of the resource group
|
85
|
+
* @param serviceName Name of the service
|
86
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
87
|
+
* @param options The options parameters.
|
88
|
+
*/
|
89
|
+
private _listNext;
|
90
|
+
}
|
91
|
+
//# sourceMappingURL=serviceTasks.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"serviceTasks.d.ts","sourceRoot":"","sources":["../../../src/operations/serviceTasks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIvD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,WAAW,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