@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
@@ -1,77 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
11
|
-
import * as Mappers from "../models/operationsMappers";
|
12
|
-
import * as Parameters from "../models/parameters";
|
13
|
-
/** Class representing a Operations. */
|
14
|
-
var Operations = /** @class */ (function () {
|
15
|
-
/**
|
16
|
-
* Create a Operations.
|
17
|
-
* @param {DataMigrationServiceClientContext} client Reference to the service client.
|
18
|
-
*/
|
19
|
-
function Operations(client) {
|
20
|
-
this.client = client;
|
21
|
-
}
|
22
|
-
Operations.prototype.list = function (options, callback) {
|
23
|
-
return this.client.sendOperationRequest({
|
24
|
-
options: options
|
25
|
-
}, listOperationSpec, callback);
|
26
|
-
};
|
27
|
-
Operations.prototype.listNext = function (nextPageLink, options, callback) {
|
28
|
-
return this.client.sendOperationRequest({
|
29
|
-
nextPageLink: nextPageLink,
|
30
|
-
options: options
|
31
|
-
}, listNextOperationSpec, callback);
|
32
|
-
};
|
33
|
-
return Operations;
|
34
|
-
}());
|
35
|
-
export { Operations };
|
36
|
-
// Operation Specifications
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
38
|
-
var listOperationSpec = {
|
39
|
-
httpMethod: "GET",
|
40
|
-
path: "providers/Microsoft.DataMigration/operations",
|
41
|
-
queryParameters: [
|
42
|
-
Parameters.apiVersion
|
43
|
-
],
|
44
|
-
headerParameters: [
|
45
|
-
Parameters.acceptLanguage
|
46
|
-
],
|
47
|
-
responses: {
|
48
|
-
200: {
|
49
|
-
bodyMapper: Mappers.ServiceOperationList
|
50
|
-
},
|
51
|
-
default: {
|
52
|
-
bodyMapper: Mappers.ApiError
|
53
|
-
}
|
54
|
-
},
|
55
|
-
serializer: serializer
|
56
|
-
};
|
57
|
-
var listNextOperationSpec = {
|
58
|
-
httpMethod: "GET",
|
59
|
-
baseUrl: "https://management.azure.com",
|
60
|
-
path: "{nextLink}",
|
61
|
-
urlParameters: [
|
62
|
-
Parameters.nextPageLink
|
63
|
-
],
|
64
|
-
headerParameters: [
|
65
|
-
Parameters.acceptLanguage
|
66
|
-
],
|
67
|
-
responses: {
|
68
|
-
200: {
|
69
|
-
bodyMapper: Mappers.ServiceOperationList
|
70
|
-
},
|
71
|
-
default: {
|
72
|
-
bodyMapper: Mappers.ApiError
|
73
|
-
}
|
74
|
-
},
|
75
|
-
serializer: serializer
|
76
|
-
};
|
77
|
-
//# sourceMappingURL=operations.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,6BAA6B,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,uCAAuC;AACvC;IAGE;;;OAGG;IACH,oBAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAkBD,yBAAI,GAAJ,UAAK,OAAyF,EAAE,QAA8D;QAC5J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAA2C,CAAC;IACxD,CAAC;IAqBD,6BAAQ,GAAR,UAAS,YAAoB,EAAE,OAAyF,EAAE,QAA8D;QACtL,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,YAAY,cAAA;YACZ,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAA+C,CAAC;IAC5D,CAAC;IACH,iBAAC;AAAD,CAAC,AAhED,IAgEC;;AAED,2BAA2B;AAC3B,IAAM,UAAU,GAAG,IAAI,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;AAClD,IAAM,iBAAiB,GAAyB;IAC9C,UAAU,EAAE,KAAK;IACjB,IAAI,EAAE,8CAA8C;IACpD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oBAAoB;SACzC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
@@ -1,166 +0,0 @@
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
2
|
-
import * as Models from "../models";
|
3
|
-
import { DataMigrationServiceClientContext } from "../dataMigrationServiceClientContext";
|
4
|
-
/** Class representing a Projects. */
|
5
|
-
export declare class Projects {
|
6
|
-
private readonly client;
|
7
|
-
/**
|
8
|
-
* Create a Projects.
|
9
|
-
* @param {DataMigrationServiceClientContext} client Reference to the service client.
|
10
|
-
*/
|
11
|
-
constructor(client: DataMigrationServiceClientContext);
|
12
|
-
/**
|
13
|
-
* The project resource is a nested resource representing a stored migration project. This method
|
14
|
-
* returns a list of projects owned by a service resource.
|
15
|
-
* @summary Get projects in a service
|
16
|
-
* @param groupName Name of the resource group
|
17
|
-
* @param serviceName Name of the service
|
18
|
-
* @param [options] The optional parameters
|
19
|
-
* @returns Promise<Models.ProjectsListResponse>
|
20
|
-
*/
|
21
|
-
list(groupName: string, serviceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListResponse>;
|
22
|
-
/**
|
23
|
-
* @param groupName Name of the resource group
|
24
|
-
* @param serviceName Name of the service
|
25
|
-
* @param callback The callback
|
26
|
-
*/
|
27
|
-
list(groupName: string, serviceName: string, callback: msRest.ServiceCallback<Models.ProjectList>): void;
|
28
|
-
/**
|
29
|
-
* @param groupName Name of the resource group
|
30
|
-
* @param serviceName Name of the service
|
31
|
-
* @param options The optional parameters
|
32
|
-
* @param callback The callback
|
33
|
-
*/
|
34
|
-
list(groupName: string, serviceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectList>): void;
|
35
|
-
/**
|
36
|
-
* The project resource is a nested resource representing a stored migration project. The PUT
|
37
|
-
* method creates a new project or updates an existing one.
|
38
|
-
* @summary Create or update project
|
39
|
-
* @param parameters Information about the project
|
40
|
-
* @param groupName Name of the resource group
|
41
|
-
* @param serviceName Name of the service
|
42
|
-
* @param projectName Name of the project
|
43
|
-
* @param [options] The optional parameters
|
44
|
-
* @returns Promise<Models.ProjectsCreateOrUpdateResponse>
|
45
|
-
*/
|
46
|
-
createOrUpdate(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsCreateOrUpdateResponse>;
|
47
|
-
/**
|
48
|
-
* @param parameters Information about the project
|
49
|
-
* @param groupName Name of the resource group
|
50
|
-
* @param serviceName Name of the service
|
51
|
-
* @param projectName Name of the project
|
52
|
-
* @param callback The callback
|
53
|
-
*/
|
54
|
-
createOrUpdate(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Models.Project>): void;
|
55
|
-
/**
|
56
|
-
* @param parameters Information about the project
|
57
|
-
* @param groupName Name of the resource group
|
58
|
-
* @param serviceName Name of the service
|
59
|
-
* @param projectName Name of the project
|
60
|
-
* @param options The optional parameters
|
61
|
-
* @param callback The callback
|
62
|
-
*/
|
63
|
-
createOrUpdate(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
64
|
-
/**
|
65
|
-
* The project resource is a nested resource representing a stored migration project. The GET
|
66
|
-
* method retrieves information about a project.
|
67
|
-
* @summary Get project information
|
68
|
-
* @param groupName Name of the resource group
|
69
|
-
* @param serviceName Name of the service
|
70
|
-
* @param projectName Name of the project
|
71
|
-
* @param [options] The optional parameters
|
72
|
-
* @returns Promise<Models.ProjectsGetResponse>
|
73
|
-
*/
|
74
|
-
get(groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsGetResponse>;
|
75
|
-
/**
|
76
|
-
* @param groupName Name of the resource group
|
77
|
-
* @param serviceName Name of the service
|
78
|
-
* @param projectName Name of the project
|
79
|
-
* @param callback The callback
|
80
|
-
*/
|
81
|
-
get(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Models.Project>): void;
|
82
|
-
/**
|
83
|
-
* @param groupName Name of the resource group
|
84
|
-
* @param serviceName Name of the service
|
85
|
-
* @param projectName Name of the project
|
86
|
-
* @param options The optional parameters
|
87
|
-
* @param callback The callback
|
88
|
-
*/
|
89
|
-
get(groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
90
|
-
/**
|
91
|
-
* The project resource is a nested resource representing a stored migration project. The DELETE
|
92
|
-
* method deletes a project.
|
93
|
-
* @summary Delete project
|
94
|
-
* @param groupName Name of the resource group
|
95
|
-
* @param serviceName Name of the service
|
96
|
-
* @param projectName Name of the project
|
97
|
-
* @param [options] The optional parameters
|
98
|
-
* @returns Promise<msRest.RestResponse>
|
99
|
-
*/
|
100
|
-
deleteMethod(groupName: string, serviceName: string, projectName: string, options?: Models.ProjectsDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
|
101
|
-
/**
|
102
|
-
* @param groupName Name of the resource group
|
103
|
-
* @param serviceName Name of the service
|
104
|
-
* @param projectName Name of the project
|
105
|
-
* @param callback The callback
|
106
|
-
*/
|
107
|
-
deleteMethod(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<void>): void;
|
108
|
-
/**
|
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 optional parameters
|
113
|
-
* @param callback The callback
|
114
|
-
*/
|
115
|
-
deleteMethod(groupName: string, serviceName: string, projectName: string, options: Models.ProjectsDeleteMethodOptionalParams, callback: msRest.ServiceCallback<void>): void;
|
116
|
-
/**
|
117
|
-
* The project resource is a nested resource representing a stored migration project. The PATCH
|
118
|
-
* method updates an existing project.
|
119
|
-
* @summary Update project
|
120
|
-
* @param parameters Information about the project
|
121
|
-
* @param groupName Name of the resource group
|
122
|
-
* @param serviceName Name of the service
|
123
|
-
* @param projectName Name of the project
|
124
|
-
* @param [options] The optional parameters
|
125
|
-
* @returns Promise<Models.ProjectsUpdateResponse>
|
126
|
-
*/
|
127
|
-
update(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsUpdateResponse>;
|
128
|
-
/**
|
129
|
-
* @param parameters Information about the project
|
130
|
-
* @param groupName Name of the resource group
|
131
|
-
* @param serviceName Name of the service
|
132
|
-
* @param projectName Name of the project
|
133
|
-
* @param callback The callback
|
134
|
-
*/
|
135
|
-
update(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Models.Project>): void;
|
136
|
-
/**
|
137
|
-
* @param parameters Information about the project
|
138
|
-
* @param groupName Name of the resource group
|
139
|
-
* @param serviceName Name of the service
|
140
|
-
* @param projectName Name of the project
|
141
|
-
* @param options The optional parameters
|
142
|
-
* @param callback The callback
|
143
|
-
*/
|
144
|
-
update(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
145
|
-
/**
|
146
|
-
* The project resource is a nested resource representing a stored migration project. This method
|
147
|
-
* returns a list of projects owned by a service resource.
|
148
|
-
* @summary Get projects in a service
|
149
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
150
|
-
* @param [options] The optional parameters
|
151
|
-
* @returns Promise<Models.ProjectsListNextResponse>
|
152
|
-
*/
|
153
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListNextResponse>;
|
154
|
-
/**
|
155
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
156
|
-
* @param callback The callback
|
157
|
-
*/
|
158
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProjectList>): void;
|
159
|
-
/**
|
160
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
161
|
-
* @param options The optional parameters
|
162
|
-
* @param callback The callback
|
163
|
-
*/
|
164
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ProjectList>): void;
|
165
|
-
}
|
166
|
-
//# sourceMappingURL=projects.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/operations/projects.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,iCAAiC,EAAE,MAAM,sCAAsC,CAAC;AAEzF,qCAAqC;AACrC,qBAAa,QAAQ;IACnB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;;;;OAQG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,oBAAoB,CAAC;IACvH;;;;OAIG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IACxG;;;;;OAKG;IACH,IAAI,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,k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,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,IAAI;IAc3L;;;;;;;OAOG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,wBAAwB,CAAC;IAC7G;;;OAGG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;IAC1F;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,WAAW,CAAC,GAAG,IAAI;CAU/H"}
|
@@ -1,230 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
import { __assign } from "tslib";
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
12
|
-
import * as Mappers from "../models/projectsMappers";
|
13
|
-
import * as Parameters from "../models/parameters";
|
14
|
-
/** Class representing a Projects. */
|
15
|
-
var Projects = /** @class */ (function () {
|
16
|
-
/**
|
17
|
-
* Create a Projects.
|
18
|
-
* @param {DataMigrationServiceClientContext} client Reference to the service client.
|
19
|
-
*/
|
20
|
-
function Projects(client) {
|
21
|
-
this.client = client;
|
22
|
-
}
|
23
|
-
Projects.prototype.list = function (groupName, serviceName, options, callback) {
|
24
|
-
return this.client.sendOperationRequest({
|
25
|
-
groupName: groupName,
|
26
|
-
serviceName: serviceName,
|
27
|
-
options: options
|
28
|
-
}, listOperationSpec, callback);
|
29
|
-
};
|
30
|
-
Projects.prototype.createOrUpdate = function (parameters, groupName, serviceName, projectName, options, callback) {
|
31
|
-
return this.client.sendOperationRequest({
|
32
|
-
parameters: parameters,
|
33
|
-
groupName: groupName,
|
34
|
-
serviceName: serviceName,
|
35
|
-
projectName: projectName,
|
36
|
-
options: options
|
37
|
-
}, createOrUpdateOperationSpec, callback);
|
38
|
-
};
|
39
|
-
Projects.prototype.get = function (groupName, serviceName, projectName, options, callback) {
|
40
|
-
return this.client.sendOperationRequest({
|
41
|
-
groupName: groupName,
|
42
|
-
serviceName: serviceName,
|
43
|
-
projectName: projectName,
|
44
|
-
options: options
|
45
|
-
}, getOperationSpec, callback);
|
46
|
-
};
|
47
|
-
Projects.prototype.deleteMethod = function (groupName, serviceName, projectName, options, callback) {
|
48
|
-
return this.client.sendOperationRequest({
|
49
|
-
groupName: groupName,
|
50
|
-
serviceName: serviceName,
|
51
|
-
projectName: projectName,
|
52
|
-
options: options
|
53
|
-
}, deleteMethodOperationSpec, callback);
|
54
|
-
};
|
55
|
-
Projects.prototype.update = function (parameters, groupName, serviceName, projectName, options, callback) {
|
56
|
-
return this.client.sendOperationRequest({
|
57
|
-
parameters: parameters,
|
58
|
-
groupName: groupName,
|
59
|
-
serviceName: serviceName,
|
60
|
-
projectName: projectName,
|
61
|
-
options: options
|
62
|
-
}, updateOperationSpec, callback);
|
63
|
-
};
|
64
|
-
Projects.prototype.listNext = function (nextPageLink, options, callback) {
|
65
|
-
return this.client.sendOperationRequest({
|
66
|
-
nextPageLink: nextPageLink,
|
67
|
-
options: options
|
68
|
-
}, listNextOperationSpec, callback);
|
69
|
-
};
|
70
|
-
return Projects;
|
71
|
-
}());
|
72
|
-
export { Projects };
|
73
|
-
// Operation Specifications
|
74
|
-
var serializer = new msRest.Serializer(Mappers);
|
75
|
-
var listOperationSpec = {
|
76
|
-
httpMethod: "GET",
|
77
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",
|
78
|
-
urlParameters: [
|
79
|
-
Parameters.subscriptionId,
|
80
|
-
Parameters.groupName,
|
81
|
-
Parameters.serviceName
|
82
|
-
],
|
83
|
-
queryParameters: [
|
84
|
-
Parameters.apiVersion
|
85
|
-
],
|
86
|
-
headerParameters: [
|
87
|
-
Parameters.acceptLanguage
|
88
|
-
],
|
89
|
-
responses: {
|
90
|
-
200: {
|
91
|
-
bodyMapper: Mappers.ProjectList
|
92
|
-
},
|
93
|
-
default: {
|
94
|
-
bodyMapper: Mappers.ApiError
|
95
|
-
}
|
96
|
-
},
|
97
|
-
serializer: serializer
|
98
|
-
};
|
99
|
-
var createOrUpdateOperationSpec = {
|
100
|
-
httpMethod: "PUT",
|
101
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
102
|
-
urlParameters: [
|
103
|
-
Parameters.subscriptionId,
|
104
|
-
Parameters.groupName,
|
105
|
-
Parameters.serviceName,
|
106
|
-
Parameters.projectName
|
107
|
-
],
|
108
|
-
queryParameters: [
|
109
|
-
Parameters.apiVersion
|
110
|
-
],
|
111
|
-
headerParameters: [
|
112
|
-
Parameters.acceptLanguage
|
113
|
-
],
|
114
|
-
requestBody: {
|
115
|
-
parameterPath: "parameters",
|
116
|
-
mapper: __assign(__assign({}, Mappers.Project), { required: true })
|
117
|
-
},
|
118
|
-
responses: {
|
119
|
-
200: {
|
120
|
-
bodyMapper: Mappers.Project
|
121
|
-
},
|
122
|
-
201: {
|
123
|
-
bodyMapper: Mappers.Project
|
124
|
-
},
|
125
|
-
default: {
|
126
|
-
bodyMapper: Mappers.ApiError
|
127
|
-
}
|
128
|
-
},
|
129
|
-
serializer: serializer
|
130
|
-
};
|
131
|
-
var getOperationSpec = {
|
132
|
-
httpMethod: "GET",
|
133
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
134
|
-
urlParameters: [
|
135
|
-
Parameters.subscriptionId,
|
136
|
-
Parameters.groupName,
|
137
|
-
Parameters.serviceName,
|
138
|
-
Parameters.projectName
|
139
|
-
],
|
140
|
-
queryParameters: [
|
141
|
-
Parameters.apiVersion
|
142
|
-
],
|
143
|
-
headerParameters: [
|
144
|
-
Parameters.acceptLanguage
|
145
|
-
],
|
146
|
-
responses: {
|
147
|
-
200: {
|
148
|
-
bodyMapper: Mappers.Project
|
149
|
-
},
|
150
|
-
default: {
|
151
|
-
bodyMapper: Mappers.ApiError
|
152
|
-
}
|
153
|
-
},
|
154
|
-
serializer: serializer
|
155
|
-
};
|
156
|
-
var deleteMethodOperationSpec = {
|
157
|
-
httpMethod: "DELETE",
|
158
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
159
|
-
urlParameters: [
|
160
|
-
Parameters.subscriptionId,
|
161
|
-
Parameters.groupName,
|
162
|
-
Parameters.serviceName,
|
163
|
-
Parameters.projectName
|
164
|
-
],
|
165
|
-
queryParameters: [
|
166
|
-
Parameters.deleteRunningTasks,
|
167
|
-
Parameters.apiVersion
|
168
|
-
],
|
169
|
-
headerParameters: [
|
170
|
-
Parameters.acceptLanguage
|
171
|
-
],
|
172
|
-
responses: {
|
173
|
-
200: {},
|
174
|
-
204: {},
|
175
|
-
default: {
|
176
|
-
bodyMapper: Mappers.ApiError
|
177
|
-
}
|
178
|
-
},
|
179
|
-
serializer: serializer
|
180
|
-
};
|
181
|
-
var updateOperationSpec = {
|
182
|
-
httpMethod: "PATCH",
|
183
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
184
|
-
urlParameters: [
|
185
|
-
Parameters.subscriptionId,
|
186
|
-
Parameters.groupName,
|
187
|
-
Parameters.serviceName,
|
188
|
-
Parameters.projectName
|
189
|
-
],
|
190
|
-
queryParameters: [
|
191
|
-
Parameters.apiVersion
|
192
|
-
],
|
193
|
-
headerParameters: [
|
194
|
-
Parameters.acceptLanguage
|
195
|
-
],
|
196
|
-
requestBody: {
|
197
|
-
parameterPath: "parameters",
|
198
|
-
mapper: __assign(__assign({}, Mappers.Project), { required: true })
|
199
|
-
},
|
200
|
-
responses: {
|
201
|
-
200: {
|
202
|
-
bodyMapper: Mappers.Project
|
203
|
-
},
|
204
|
-
default: {
|
205
|
-
bodyMapper: Mappers.ApiError
|
206
|
-
}
|
207
|
-
},
|
208
|
-
serializer: serializer
|
209
|
-
};
|
210
|
-
var listNextOperationSpec = {
|
211
|
-
httpMethod: "GET",
|
212
|
-
baseUrl: "https://management.azure.com",
|
213
|
-
path: "{nextLink}",
|
214
|
-
urlParameters: [
|
215
|
-
Parameters.nextPageLink
|
216
|
-
],
|
217
|
-
headerParameters: [
|
218
|
-
Parameters.acceptLanguage
|
219
|
-
],
|
220
|
-
responses: {
|
221
|
-
200: {
|
222
|
-
bodyMapper: Mappers.ProjectList
|
223
|
-
},
|
224
|
-
default: {
|
225
|
-
bodyMapper: Mappers.ApiError
|
226
|
-
}
|
227
|
-
},
|
228
|
-
serializer: serializer
|
229
|
-
};
|
230
|
-
//# sourceMappingURL=projects.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"projects.js","sourceRoot":"","sources":["../../src/operations/projects.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAyC;QACnD,IA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;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,mBAAmB,GAAyB;IAChD,UAAU,EAAE,OAAO;IACnB,IAAI,EAAE,2IAA2I;IACjJ,aAAa,EAAE;QACb,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,WAAW,EAAE;QACX,aAAa,EAAE,YAAY;QAC3B,MAAM,wBACD,OAAO,CAAC,OAAO,KAClB,QAAQ,EAAE,IAAI,GACf;KACF;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,OAAO;SAC5B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,qBAAqB,GAAyB;IAClD,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
import * as msRest from "@azure/ms-rest-js";
|
2
|
-
import * as Models from "../models";
|
3
|
-
import { DataMigrationServiceClientContext } from "../dataMigrationServiceClientContext";
|
4
|
-
/** Class representing a ResourceSkus. */
|
5
|
-
export declare class ResourceSkus {
|
6
|
-
private readonly client;
|
7
|
-
/**
|
8
|
-
* Create a ResourceSkus.
|
9
|
-
* @param {DataMigrationServiceClientContext} client Reference to the service client.
|
10
|
-
*/
|
11
|
-
constructor(client: DataMigrationServiceClientContext);
|
12
|
-
/**
|
13
|
-
* The skus action returns the list of SKUs that DMS supports.
|
14
|
-
* @summary Get supported SKUs
|
15
|
-
* @param [options] The optional parameters
|
16
|
-
* @returns Promise<Models.ResourceSkusListSkusResponse>
|
17
|
-
*/
|
18
|
-
listSkus(options?: msRest.RequestOptionsBase): Promise<Models.ResourceSkusListSkusResponse>;
|
19
|
-
/**
|
20
|
-
* @param callback The callback
|
21
|
-
*/
|
22
|
-
listSkus(callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
23
|
-
/**
|
24
|
-
* @param options The optional parameters
|
25
|
-
* @param callback The callback
|
26
|
-
*/
|
27
|
-
listSkus(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
28
|
-
/**
|
29
|
-
* The skus action returns the list of SKUs that DMS supports.
|
30
|
-
* @summary Get supported SKUs
|
31
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
32
|
-
* @param [options] The optional parameters
|
33
|
-
* @returns Promise<Models.ResourceSkusListSkusNextResponse>
|
34
|
-
*/
|
35
|
-
listSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ResourceSkusListSkusNextResponse>;
|
36
|
-
/**
|
37
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
38
|
-
* @param callback The callback
|
39
|
-
*/
|
40
|
-
listSkusNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
41
|
-
/**
|
42
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
43
|
-
* @param options The optional parameters
|
44
|
-
* @param callback The callback
|
45
|
-
*/
|
46
|
-
listSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ResourceSkusResult>): void;
|
47
|
-
}
|
48
|
-
//# sourceMappingURL=resourceSkus.d.ts.map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|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
4
|
-
* license information.
|
5
|
-
*
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
9
|
-
*/
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
11
|
-
import * as Mappers from "../models/resourceSkusMappers";
|
12
|
-
import * as Parameters from "../models/parameters";
|
13
|
-
/** Class representing a ResourceSkus. */
|
14
|
-
var ResourceSkus = /** @class */ (function () {
|
15
|
-
/**
|
16
|
-
* Create a ResourceSkus.
|
17
|
-
* @param {DataMigrationServiceClientContext} client Reference to the service client.
|
18
|
-
*/
|
19
|
-
function ResourceSkus(client) {
|
20
|
-
this.client = client;
|
21
|
-
}
|
22
|
-
ResourceSkus.prototype.listSkus = function (options, callback) {
|
23
|
-
return this.client.sendOperationRequest({
|
24
|
-
options: options
|
25
|
-
}, listSkusOperationSpec, callback);
|
26
|
-
};
|
27
|
-
ResourceSkus.prototype.listSkusNext = function (nextPageLink, options, callback) {
|
28
|
-
return this.client.sendOperationRequest({
|
29
|
-
nextPageLink: nextPageLink,
|
30
|
-
options: options
|
31
|
-
}, listSkusNextOperationSpec, callback);
|
32
|
-
};
|
33
|
-
return ResourceSkus;
|
34
|
-
}());
|
35
|
-
export { ResourceSkus };
|
36
|
-
// Operation Specifications
|
37
|
-
var serializer = new msRest.Serializer(Mappers);
|
38
|
-
var listSkusOperationSpec = {
|
39
|
-
httpMethod: "GET",
|
40
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus",
|
41
|
-
urlParameters: [
|
42
|
-
Parameters.subscriptionId
|
43
|
-
],
|
44
|
-
queryParameters: [
|
45
|
-
Parameters.apiVersion
|
46
|
-
],
|
47
|
-
headerParameters: [
|
48
|
-
Parameters.acceptLanguage
|
49
|
-
],
|
50
|
-
responses: {
|
51
|
-
200: {
|
52
|
-
bodyMapper: Mappers.ResourceSkusResult
|
53
|
-
},
|
54
|
-
default: {
|
55
|
-
bodyMapper: Mappers.ApiError
|
56
|
-
}
|
57
|
-
},
|
58
|
-
serializer: serializer
|
59
|
-
};
|
60
|
-
var listSkusNextOperationSpec = {
|
61
|
-
httpMethod: "GET",
|
62
|
-
baseUrl: "https://management.azure.com",
|
63
|
-
path: "{nextLink}",
|
64
|
-
urlParameters: [
|
65
|
-
Parameters.nextPageLink
|
66
|
-
],
|
67
|
-
headerParameters: [
|
68
|
-
Parameters.acceptLanguage
|
69
|
-
],
|
70
|
-
responses: {
|
71
|
-
200: {
|
72
|
-
bodyMapper: Mappers.ResourceSkusResult
|
73
|
-
},
|
74
|
-
default: {
|
75
|
-
bodyMapper: Mappers.ApiError
|
76
|
-
}
|
77
|
-
},
|
78
|
-
serializer: serializer
|
79
|
-
};
|
80
|
-
//# sourceMappingURL=resourceSkus.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resourceSkus.js","sourceRoot":"","sources":["../../src/operations/resourceSkus.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yCAAyC;AACzC;IAGE;;;OAGG;IACH,sBAAY,MAAyC;QACnD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAkBD,+BAAQ,GAAR,UAAS,OAAuF,EAAE,QAA4D;QAC5J,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,OAAO,SAAA;SACR,EACD,qBAAqB,EACrB,QAAQ,CAAiD,CAAC;IAC9D,CAAC;IAqBD,mCAAY,GAAZ,UAAa,YAAoB,EAAE,OAAuF,EAAE,QAA4D;QACtL,OAAO,IAAI,CAAC,MAAM,CAAC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