@azure/arm-datamigration 2.0.0 → 3.0.0-alpha.20220131.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +72 -73
- package/dist/index.js +16801 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesDelete.js +33 -0
- package/dist-esm/samples-dev/filesDelete.js.map +1 -0
- package/dist-esm/samples-dev/filesList.d.ts +2 -0
- package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesList.js +33 -0
- package/dist-esm/samples-dev/filesList.js.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.js +36 -0
- package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.js +31 -0
- package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
- package/dist-esm/samples-dev/listSkus.d.ts +2 -0
- package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSkus.js +43 -0
- package/dist-esm/samples-dev/listSkus.js.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.js +32 -0
- package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
- package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGet.js +32 -0
- package/dist-esm/samples-dev/projectsGet.js.map +1 -0
- package/dist-esm/samples-dev/projectsList.d.ts +2 -0
- package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsList.js +45 -0
- package/dist-esm/samples-dev/projectsList.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.js +45 -0
- package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/servicesList.d.ts +2 -0
- package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesList.js +43 -0
- package/dist-esm/samples-dev/servicesList.js.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.js +45 -0
- package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
- package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStart.js +31 -0
- package/dist-esm/samples-dev/servicesStart.js.map +1 -0
- package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStop.js +31 -0
- package/dist-esm/samples-dev/servicesStop.js.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.js +44 -0
- package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.js +32 -0
- package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.js +37 -0
- package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.js +32 -0
- package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
- package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
- package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksGet.js +32 -0
- package/dist-esm/samples-dev/tasksGet.js.map +1 -0
- package/dist-esm/samples-dev/tasksList.d.ts +2 -0
- package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksList.js +46 -0
- package/dist-esm/samples-dev/tasksList.js.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.js +61 -0
- package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7238 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +534 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +434 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +36 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +272 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operations/files.d.ts +101 -0
- package/dist-esm/src/operations/files.d.ts.map +1 -0
- package/dist-esm/src/operations/files.js +358 -0
- package/dist-esm/src/operations/files.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +19 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +78 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +279 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +124 -0
- package/dist-esm/src/operations/resourceSkus.js.map +1 -0
- package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
- package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceTasks.js +316 -0
- package/dist-esm/src/operations/serviceTasks.js.map +1 -0
- package/dist-esm/src/operations/services.d.ts +217 -0
- package/dist-esm/src/operations/services.d.ts.map +1 -0
- package/dist-esm/src/operations/services.js +884 -0
- package/dist-esm/src/operations/services.js.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
- package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +110 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +369 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +37 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +134 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.js +9 -0
- package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.js +9 -0
- package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -22
- package/review/arm-datamigration.api.md +4412 -0
- package/rollup.config.js +181 -30
- package/src/dataMigrationManagementClient.ts +119 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +6252 -7473
- package/src/models/mappers.ts +8147 -6279
- package/src/models/parameters.ts +230 -54
- package/src/operations/databaseMigrationsSqlMi.ts +453 -0
- package/src/operations/databaseMigrationsSqlVm.ts +453 -0
- package/src/operations/files.ts +283 -368
- package/src/operations/index.ts +7 -6
- package/src/operations/operations.ts +93 -85
- package/src/operations/projects.ts +222 -275
- package/src/operations/resourceSkus.ts +92 -78
- package/src/operations/serviceTasks.ts +244 -321
- package/src/operations/services.ts +887 -647
- package/src/operations/sqlMigrationServices.ts +986 -0
- package/src/operations/tasks.ts +303 -397
- package/src/operations/usages.ts +110 -85
- package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
- package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
- package/src/operationsInterfaces/files.ts +139 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/projects.ts +97 -0
- package/src/operationsInterfaces/resourceSkus.ts +22 -0
- package/src/operationsInterfaces/serviceTasks.ts +116 -0
- package/src/operationsInterfaces/services.ts +272 -0
- package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
- package/src/operationsInterfaces/tasks.ts +149 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/tsconfig.json +5 -4
- package/types/arm-datamigration.d.ts +8549 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datamigration.js +0 -14002
- package/dist/arm-datamigration.js.map +0 -1
- package/dist/arm-datamigration.min.js +0 -1
- package/dist/arm-datamigration.min.js.map +0 -1
- package/esm/dataMigrationServiceClient.d.ts +0 -25
- package/esm/dataMigrationServiceClient.d.ts.map +0 -1
- package/esm/dataMigrationServiceClient.js +0 -40
- package/esm/dataMigrationServiceClient.js.map +0 -1
- package/esm/dataMigrationServiceClientContext.d.ts +0 -16
- package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
- package/esm/dataMigrationServiceClientContext.js +0 -56
- package/esm/dataMigrationServiceClientContext.js.map +0 -1
- package/esm/models/filesMappers.d.ts +0 -2
- package/esm/models/filesMappers.d.ts.map +0 -1
- package/esm/models/filesMappers.js +0 -9
- package/esm/models/filesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -8920
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -374
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -147
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -9
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/models/resourceSkusMappers.d.ts +0 -2
- package/esm/models/resourceSkusMappers.d.ts.map +0 -1
- package/esm/models/resourceSkusMappers.js +0 -9
- package/esm/models/resourceSkusMappers.js.map +0 -1
- package/esm/models/serviceTasksMappers.d.ts +0 -2
- package/esm/models/serviceTasksMappers.d.ts.map +0 -1
- package/esm/models/serviceTasksMappers.js +0 -9
- package/esm/models/serviceTasksMappers.js.map +0 -1
- package/esm/models/servicesMappers.d.ts +0 -2
- package/esm/models/servicesMappers.d.ts.map +0 -1
- package/esm/models/servicesMappers.js +0 -9
- package/esm/models/servicesMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/operations/files.d.ts +0 -235
- package/esm/operations/files.d.ts.map +0 -1
- package/esm/operations/files.js +0 -309
- package/esm/operations/files.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -166
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -230
- package/esm/operations/projects.js.map +0 -1
- package/esm/operations/resourceSkus.d.ts +0 -48
- package/esm/operations/resourceSkus.d.ts.map +0 -1
- package/esm/operations/resourceSkus.js +0 -80
- package/esm/operations/resourceSkus.js.map +0 -1
- package/esm/operations/serviceTasks.d.ts +0 -199
- package/esm/operations/serviceTasks.d.ts.map +0 -1
- package/esm/operations/serviceTasks.js +0 -265
- package/esm/operations/serviceTasks.js.map +0 -1
- package/esm/operations/services.d.ts +0 -350
- package/esm/operations/services.d.ts.map +0 -1
- package/esm/operations/services.js +0 -626
- package/esm/operations/services.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -246
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -317
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -53
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -82
- package/esm/operations/usages.js.map +0 -1
- package/src/dataMigrationServiceClient.ts +0 -56
- package/src/dataMigrationServiceClientContext.ts +0 -62
- package/src/models/filesMappers.ts +0 -235
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/projectsMappers.ts +0 -234
- package/src/models/resourceSkusMappers.ts +0 -19
- package/src/models/serviceTasksMappers.ts +0 -234
- package/src/models/servicesMappers.ts +0 -241
- package/src/models/tasksMappers.ts +0 -234
- package/src/models/usagesMappers.ts +0 -16
@@ -0,0 +1,358 @@
|
|
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 Files operations. */
|
14
|
+
export class FilesImpl {
|
15
|
+
/**
|
16
|
+
* Initialize a new instance of the class Files 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 files owned by a project resource.
|
25
|
+
* @param groupName Name of the resource group
|
26
|
+
* @param serviceName Name of the service
|
27
|
+
* @param projectName Name of the project
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
list(groupName, serviceName, projectName, options) {
|
31
|
+
const iter = this.listPagingAll(groupName, serviceName, projectName, options);
|
32
|
+
return {
|
33
|
+
next() {
|
34
|
+
return iter.next();
|
35
|
+
},
|
36
|
+
[Symbol.asyncIterator]() {
|
37
|
+
return this;
|
38
|
+
},
|
39
|
+
byPage: () => {
|
40
|
+
return this.listPagingPage(groupName, serviceName, projectName, options);
|
41
|
+
}
|
42
|
+
};
|
43
|
+
}
|
44
|
+
listPagingPage(groupName, serviceName, projectName, options) {
|
45
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
46
|
+
let result = yield __await(this._list(groupName, serviceName, projectName, options));
|
47
|
+
yield yield __await(result.value || []);
|
48
|
+
let continuationToken = result.nextLink;
|
49
|
+
while (continuationToken) {
|
50
|
+
result = yield __await(this._listNext(groupName, serviceName, projectName, continuationToken, options));
|
51
|
+
continuationToken = result.nextLink;
|
52
|
+
yield yield __await(result.value || []);
|
53
|
+
}
|
54
|
+
});
|
55
|
+
}
|
56
|
+
listPagingAll(groupName, serviceName, projectName, options) {
|
57
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
58
|
+
var e_1, _a;
|
59
|
+
try {
|
60
|
+
for (var _b = __asyncValues(this.listPagingPage(groupName, serviceName, projectName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
61
|
+
const page = _c.value;
|
62
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
63
|
+
}
|
64
|
+
}
|
65
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
66
|
+
finally {
|
67
|
+
try {
|
68
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
69
|
+
}
|
70
|
+
finally { if (e_1) throw e_1.error; }
|
71
|
+
}
|
72
|
+
});
|
73
|
+
}
|
74
|
+
/**
|
75
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
76
|
+
* returns a list of files owned by a project resource.
|
77
|
+
* @param groupName Name of the resource group
|
78
|
+
* @param serviceName Name of the service
|
79
|
+
* @param projectName Name of the project
|
80
|
+
* @param options The options parameters.
|
81
|
+
*/
|
82
|
+
_list(groupName, serviceName, projectName, options) {
|
83
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec);
|
84
|
+
}
|
85
|
+
/**
|
86
|
+
* The files resource is a nested, proxy-only resource representing a file stored under the project
|
87
|
+
* resource. This method retrieves information about a file.
|
88
|
+
* @param groupName Name of the resource group
|
89
|
+
* @param serviceName Name of the service
|
90
|
+
* @param projectName Name of the project
|
91
|
+
* @param fileName Name of the File
|
92
|
+
* @param options The options parameters.
|
93
|
+
*/
|
94
|
+
get(groupName, serviceName, projectName, fileName, options) {
|
95
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, getOperationSpec);
|
96
|
+
}
|
97
|
+
/**
|
98
|
+
* The PUT method creates a new file or updates an existing one.
|
99
|
+
* @param groupName Name of the resource group
|
100
|
+
* @param serviceName Name of the service
|
101
|
+
* @param projectName Name of the project
|
102
|
+
* @param fileName Name of the File
|
103
|
+
* @param parameters Information about the file
|
104
|
+
* @param options The options parameters.
|
105
|
+
*/
|
106
|
+
createOrUpdate(groupName, serviceName, projectName, fileName, parameters, options) {
|
107
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, parameters, options }, createOrUpdateOperationSpec);
|
108
|
+
}
|
109
|
+
/**
|
110
|
+
* This method deletes a file.
|
111
|
+
* @param groupName Name of the resource group
|
112
|
+
* @param serviceName Name of the service
|
113
|
+
* @param projectName Name of the project
|
114
|
+
* @param fileName Name of the File
|
115
|
+
* @param options The options parameters.
|
116
|
+
*/
|
117
|
+
delete(groupName, serviceName, projectName, fileName, options) {
|
118
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, deleteOperationSpec);
|
119
|
+
}
|
120
|
+
/**
|
121
|
+
* This method updates an existing file.
|
122
|
+
* @param groupName Name of the resource group
|
123
|
+
* @param serviceName Name of the service
|
124
|
+
* @param projectName Name of the project
|
125
|
+
* @param fileName Name of the File
|
126
|
+
* @param parameters Information about the file
|
127
|
+
* @param options The options parameters.
|
128
|
+
*/
|
129
|
+
update(groupName, serviceName, projectName, fileName, parameters, options) {
|
130
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, parameters, options }, updateOperationSpec);
|
131
|
+
}
|
132
|
+
/**
|
133
|
+
* This method is used for requesting storage information using which contents of the file can be
|
134
|
+
* downloaded.
|
135
|
+
* @param groupName Name of the resource group
|
136
|
+
* @param serviceName Name of the service
|
137
|
+
* @param projectName Name of the project
|
138
|
+
* @param fileName Name of the File
|
139
|
+
* @param options The options parameters.
|
140
|
+
*/
|
141
|
+
read(groupName, serviceName, projectName, fileName, options) {
|
142
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, readOperationSpec);
|
143
|
+
}
|
144
|
+
/**
|
145
|
+
* This method is used for requesting information for reading and writing the file content.
|
146
|
+
* @param groupName Name of the resource group
|
147
|
+
* @param serviceName Name of the service
|
148
|
+
* @param projectName Name of the project
|
149
|
+
* @param fileName Name of the File
|
150
|
+
* @param options The options parameters.
|
151
|
+
*/
|
152
|
+
readWrite(groupName, serviceName, projectName, fileName, options) {
|
153
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, readWriteOperationSpec);
|
154
|
+
}
|
155
|
+
/**
|
156
|
+
* ListNext
|
157
|
+
* @param groupName Name of the resource group
|
158
|
+
* @param serviceName Name of the service
|
159
|
+
* @param projectName Name of the project
|
160
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
161
|
+
* @param options The options parameters.
|
162
|
+
*/
|
163
|
+
_listNext(groupName, serviceName, projectName, nextLink, options) {
|
164
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec);
|
165
|
+
}
|
166
|
+
}
|
167
|
+
// Operation Specifications
|
168
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
169
|
+
const listOperationSpec = {
|
170
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files",
|
171
|
+
httpMethod: "GET",
|
172
|
+
responses: {
|
173
|
+
200: {
|
174
|
+
bodyMapper: Mappers.FileList
|
175
|
+
},
|
176
|
+
default: {
|
177
|
+
bodyMapper: Mappers.ApiError
|
178
|
+
}
|
179
|
+
},
|
180
|
+
queryParameters: [Parameters.apiVersion],
|
181
|
+
urlParameters: [
|
182
|
+
Parameters.$host,
|
183
|
+
Parameters.subscriptionId,
|
184
|
+
Parameters.groupName,
|
185
|
+
Parameters.serviceName,
|
186
|
+
Parameters.projectName
|
187
|
+
],
|
188
|
+
headerParameters: [Parameters.accept],
|
189
|
+
serializer
|
190
|
+
};
|
191
|
+
const getOperationSpec = {
|
192
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
193
|
+
httpMethod: "GET",
|
194
|
+
responses: {
|
195
|
+
200: {
|
196
|
+
bodyMapper: Mappers.ProjectFile
|
197
|
+
},
|
198
|
+
default: {
|
199
|
+
bodyMapper: Mappers.ApiError
|
200
|
+
}
|
201
|
+
},
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
203
|
+
urlParameters: [
|
204
|
+
Parameters.$host,
|
205
|
+
Parameters.subscriptionId,
|
206
|
+
Parameters.groupName,
|
207
|
+
Parameters.serviceName,
|
208
|
+
Parameters.projectName,
|
209
|
+
Parameters.fileName
|
210
|
+
],
|
211
|
+
headerParameters: [Parameters.accept],
|
212
|
+
serializer
|
213
|
+
};
|
214
|
+
const createOrUpdateOperationSpec = {
|
215
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
216
|
+
httpMethod: "PUT",
|
217
|
+
responses: {
|
218
|
+
200: {
|
219
|
+
bodyMapper: Mappers.ProjectFile
|
220
|
+
},
|
221
|
+
201: {
|
222
|
+
bodyMapper: Mappers.ProjectFile
|
223
|
+
},
|
224
|
+
default: {
|
225
|
+
bodyMapper: Mappers.ApiError
|
226
|
+
}
|
227
|
+
},
|
228
|
+
requestBody: Parameters.parameters12,
|
229
|
+
queryParameters: [Parameters.apiVersion],
|
230
|
+
urlParameters: [
|
231
|
+
Parameters.$host,
|
232
|
+
Parameters.subscriptionId,
|
233
|
+
Parameters.groupName,
|
234
|
+
Parameters.serviceName,
|
235
|
+
Parameters.projectName,
|
236
|
+
Parameters.fileName
|
237
|
+
],
|
238
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
239
|
+
mediaType: "json",
|
240
|
+
serializer
|
241
|
+
};
|
242
|
+
const deleteOperationSpec = {
|
243
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
244
|
+
httpMethod: "DELETE",
|
245
|
+
responses: {
|
246
|
+
200: {},
|
247
|
+
204: {},
|
248
|
+
default: {
|
249
|
+
bodyMapper: Mappers.ApiError
|
250
|
+
}
|
251
|
+
},
|
252
|
+
queryParameters: [Parameters.apiVersion],
|
253
|
+
urlParameters: [
|
254
|
+
Parameters.$host,
|
255
|
+
Parameters.subscriptionId,
|
256
|
+
Parameters.groupName,
|
257
|
+
Parameters.serviceName,
|
258
|
+
Parameters.projectName,
|
259
|
+
Parameters.fileName
|
260
|
+
],
|
261
|
+
headerParameters: [Parameters.accept],
|
262
|
+
serializer
|
263
|
+
};
|
264
|
+
const updateOperationSpec = {
|
265
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
266
|
+
httpMethod: "PATCH",
|
267
|
+
responses: {
|
268
|
+
200: {
|
269
|
+
bodyMapper: Mappers.ProjectFile
|
270
|
+
},
|
271
|
+
default: {
|
272
|
+
bodyMapper: Mappers.ApiError
|
273
|
+
}
|
274
|
+
},
|
275
|
+
requestBody: Parameters.parameters12,
|
276
|
+
queryParameters: [Parameters.apiVersion],
|
277
|
+
urlParameters: [
|
278
|
+
Parameters.$host,
|
279
|
+
Parameters.subscriptionId,
|
280
|
+
Parameters.groupName,
|
281
|
+
Parameters.serviceName,
|
282
|
+
Parameters.projectName,
|
283
|
+
Parameters.fileName
|
284
|
+
],
|
285
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
286
|
+
mediaType: "json",
|
287
|
+
serializer
|
288
|
+
};
|
289
|
+
const readOperationSpec = {
|
290
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read",
|
291
|
+
httpMethod: "POST",
|
292
|
+
responses: {
|
293
|
+
200: {
|
294
|
+
bodyMapper: Mappers.FileStorageInfo
|
295
|
+
},
|
296
|
+
default: {
|
297
|
+
bodyMapper: Mappers.ApiError
|
298
|
+
}
|
299
|
+
},
|
300
|
+
queryParameters: [Parameters.apiVersion],
|
301
|
+
urlParameters: [
|
302
|
+
Parameters.$host,
|
303
|
+
Parameters.subscriptionId,
|
304
|
+
Parameters.groupName,
|
305
|
+
Parameters.serviceName,
|
306
|
+
Parameters.projectName,
|
307
|
+
Parameters.fileName
|
308
|
+
],
|
309
|
+
headerParameters: [Parameters.accept],
|
310
|
+
serializer
|
311
|
+
};
|
312
|
+
const readWriteOperationSpec = {
|
313
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite",
|
314
|
+
httpMethod: "POST",
|
315
|
+
responses: {
|
316
|
+
200: {
|
317
|
+
bodyMapper: Mappers.FileStorageInfo
|
318
|
+
},
|
319
|
+
default: {
|
320
|
+
bodyMapper: Mappers.ApiError
|
321
|
+
}
|
322
|
+
},
|
323
|
+
queryParameters: [Parameters.apiVersion],
|
324
|
+
urlParameters: [
|
325
|
+
Parameters.$host,
|
326
|
+
Parameters.subscriptionId,
|
327
|
+
Parameters.groupName,
|
328
|
+
Parameters.serviceName,
|
329
|
+
Parameters.projectName,
|
330
|
+
Parameters.fileName
|
331
|
+
],
|
332
|
+
headerParameters: [Parameters.accept],
|
333
|
+
serializer
|
334
|
+
};
|
335
|
+
const listNextOperationSpec = {
|
336
|
+
path: "{nextLink}",
|
337
|
+
httpMethod: "GET",
|
338
|
+
responses: {
|
339
|
+
200: {
|
340
|
+
bodyMapper: Mappers.FileList
|
341
|
+
},
|
342
|
+
default: {
|
343
|
+
bodyMapper: Mappers.ApiError
|
344
|
+
}
|
345
|
+
},
|
346
|
+
queryParameters: [Parameters.apiVersion],
|
347
|
+
urlParameters: [
|
348
|
+
Parameters.$host,
|
349
|
+
Parameters.subscriptionId,
|
350
|
+
Parameters.nextLink,
|
351
|
+
Parameters.groupName,
|
352
|
+
Parameters.serviceName,
|
353
|
+
Parameters.projectName
|
354
|
+
],
|
355
|
+
headerParameters: [Parameters.accept],
|
356
|
+
serializer
|
357
|
+
};
|
358
|
+
//# sourceMappingURL=files.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"files.js","sourceRoot":"","sources":["../../../src/operations/files.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MA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UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -1,9 +1,12 @@
|
|
1
|
+
export * from "./databaseMigrationsSqlMi";
|
2
|
+
export * from "./databaseMigrationsSqlVm";
|
3
|
+
export * from "./operations";
|
4
|
+
export * from "./sqlMigrationServices";
|
1
5
|
export * from "./resourceSkus";
|
2
6
|
export * from "./services";
|
3
7
|
export * from "./tasks";
|
4
8
|
export * from "./serviceTasks";
|
5
9
|
export * from "./projects";
|
6
10
|
export * from "./usages";
|
7
|
-
export * from "./operations";
|
8
11
|
export * from "./files";
|
9
12
|
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
@@ -0,0 +1,19 @@
|
|
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
|
+
export * from "./databaseMigrationsSqlMi";
|
9
|
+
export * from "./databaseMigrationsSqlVm";
|
10
|
+
export * from "./operations";
|
11
|
+
export * from "./sqlMigrationServices";
|
12
|
+
export * from "./resourceSkus";
|
13
|
+
export * from "./services";
|
14
|
+
export * from "./tasks";
|
15
|
+
export * from "./serviceTasks";
|
16
|
+
export * from "./projects";
|
17
|
+
export * from "./usages";
|
18
|
+
export * from "./files";
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Operations } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { OperationsDefinition, OperationsListOptionalParams } from "../models";
|
5
|
+
/** Class containing Operations operations. */
|
6
|
+
export declare class OperationsImpl implements Operations {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Operations class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* Lists all of the available SQL Migration REST API operations.
|
15
|
+
* @param options The options parameters.
|
16
|
+
*/
|
17
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<OperationsDefinition>;
|
18
|
+
private listPagingPage;
|
19
|
+
private listPagingAll;
|
20
|
+
/**
|
21
|
+
* Lists all of the available SQL Migration REST API operations.
|
22
|
+
* @param options The options parameters.
|
23
|
+
*/
|
24
|
+
private _list;
|
25
|
+
/**
|
26
|
+
* ListNext
|
27
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
private _listNext;
|
31
|
+
}
|
32
|
+
//# sourceMappingURL=operations.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,oBAAoB,EAEpB,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,oBAAoB,CAAC;YAepC,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
@@ -0,0 +1,116 @@
|
|
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 Operations operations. */
|
14
|
+
export class OperationsImpl {
|
15
|
+
/**
|
16
|
+
* Initialize a new instance of the class Operations class.
|
17
|
+
* @param client Reference to the service client
|
18
|
+
*/
|
19
|
+
constructor(client) {
|
20
|
+
this.client = client;
|
21
|
+
}
|
22
|
+
/**
|
23
|
+
* Lists all of the available SQL Migration REST API operations.
|
24
|
+
* @param options The options parameters.
|
25
|
+
*/
|
26
|
+
list(options) {
|
27
|
+
const iter = this.listPagingAll(options);
|
28
|
+
return {
|
29
|
+
next() {
|
30
|
+
return iter.next();
|
31
|
+
},
|
32
|
+
[Symbol.asyncIterator]() {
|
33
|
+
return this;
|
34
|
+
},
|
35
|
+
byPage: () => {
|
36
|
+
return this.listPagingPage(options);
|
37
|
+
}
|
38
|
+
};
|
39
|
+
}
|
40
|
+
listPagingPage(options) {
|
41
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
42
|
+
let result = yield __await(this._list(options));
|
43
|
+
yield yield __await(result.value || []);
|
44
|
+
let continuationToken = result.nextLink;
|
45
|
+
while (continuationToken) {
|
46
|
+
result = yield __await(this._listNext(continuationToken, options));
|
47
|
+
continuationToken = result.nextLink;
|
48
|
+
yield yield __await(result.value || []);
|
49
|
+
}
|
50
|
+
});
|
51
|
+
}
|
52
|
+
listPagingAll(options) {
|
53
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
54
|
+
var e_1, _a;
|
55
|
+
try {
|
56
|
+
for (var _b = __asyncValues(this.listPagingPage(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
|
+
* Lists all of the available SQL Migration REST API operations.
|
72
|
+
* @param options The options parameters.
|
73
|
+
*/
|
74
|
+
_list(options) {
|
75
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
76
|
+
}
|
77
|
+
/**
|
78
|
+
* ListNext
|
79
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
80
|
+
* @param options The options parameters.
|
81
|
+
*/
|
82
|
+
_listNext(nextLink, options) {
|
83
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
84
|
+
}
|
85
|
+
}
|
86
|
+
// Operation Specifications
|
87
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
88
|
+
const listOperationSpec = {
|
89
|
+
path: "/providers/Microsoft.DataMigration/operations",
|
90
|
+
httpMethod: "GET",
|
91
|
+
responses: {
|
92
|
+
200: {
|
93
|
+
bodyMapper: Mappers.OperationListResult
|
94
|
+
},
|
95
|
+
default: {}
|
96
|
+
},
|
97
|
+
queryParameters: [Parameters.apiVersion],
|
98
|
+
urlParameters: [Parameters.$host],
|
99
|
+
headerParameters: [Parameters.accept],
|
100
|
+
serializer
|
101
|
+
};
|
102
|
+
const listNextOperationSpec = {
|
103
|
+
path: "{nextLink}",
|
104
|
+
httpMethod: "GET",
|
105
|
+
responses: {
|
106
|
+
200: {
|
107
|
+
bodyMapper: Mappers.OperationListResult
|
108
|
+
},
|
109
|
+
default: {}
|
110
|
+
},
|
111
|
+
queryParameters: [Parameters.apiVersion],
|
112
|
+
urlParameters: [Parameters.$host, Parameters.nextLink],
|
113
|
+
headerParameters: [Parameters.accept],
|
114
|
+
serializer
|
115
|
+
};
|
116
|
+
//# sourceMappingURL=operations.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.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,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,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,OAAO,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,OAAsC;;YAEtC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA,CAAC;YACvC,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,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,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE,EAAE;KACZ;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
@@ -0,0 +1,78 @@
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
2
|
+
import { Projects } from "../operationsInterfaces";
|
3
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
4
|
+
import { Project, ProjectsListOptionalParams, ProjectsCreateOrUpdateOptionalParams, ProjectsCreateOrUpdateResponse, ProjectsGetOptionalParams, ProjectsGetResponse, ProjectsDeleteOptionalParams, ProjectsUpdateOptionalParams, ProjectsUpdateResponse } from "../models";
|
5
|
+
/** Class containing Projects operations. */
|
6
|
+
export declare class ProjectsImpl implements Projects {
|
7
|
+
private readonly client;
|
8
|
+
/**
|
9
|
+
* Initialize a new instance of the class Projects class.
|
10
|
+
* @param client Reference to the service client
|
11
|
+
*/
|
12
|
+
constructor(client: DataMigrationManagementClient);
|
13
|
+
/**
|
14
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
15
|
+
* returns a list of projects owned by a service resource.
|
16
|
+
* @param groupName Name of the resource group
|
17
|
+
* @param serviceName Name of the service
|
18
|
+
* @param options The options parameters.
|
19
|
+
*/
|
20
|
+
list(groupName: string, serviceName: string, options?: ProjectsListOptionalParams): PagedAsyncIterableIterator<Project>;
|
21
|
+
private listPagingPage;
|
22
|
+
private listPagingAll;
|
23
|
+
/**
|
24
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
25
|
+
* returns a list of projects owned by a service resource.
|
26
|
+
* @param groupName Name of the resource group
|
27
|
+
* @param serviceName Name of the service
|
28
|
+
* @param options The options parameters.
|
29
|
+
*/
|
30
|
+
private _list;
|
31
|
+
/**
|
32
|
+
* The project resource is a nested resource representing a stored migration project. The PUT method
|
33
|
+
* creates a new project or updates an existing one.
|
34
|
+
* @param groupName Name of the resource group
|
35
|
+
* @param serviceName Name of the service
|
36
|
+
* @param projectName Name of the project
|
37
|
+
* @param parameters Information about the project
|
38
|
+
* @param options The options parameters.
|
39
|
+
*/
|
40
|
+
createOrUpdate(groupName: string, serviceName: string, projectName: string, parameters: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise<ProjectsCreateOrUpdateResponse>;
|
41
|
+
/**
|
42
|
+
* The project resource is a nested resource representing a stored migration project. The GET method
|
43
|
+
* retrieves information about a project.
|
44
|
+
* @param groupName Name of the resource group
|
45
|
+
* @param serviceName Name of the service
|
46
|
+
* @param projectName Name of the project
|
47
|
+
* @param options The options parameters.
|
48
|
+
*/
|
49
|
+
get(groupName: string, serviceName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>;
|
50
|
+
/**
|
51
|
+
* The project resource is a nested resource representing a stored migration project. The DELETE method
|
52
|
+
* deletes a project.
|
53
|
+
* @param groupName Name of the resource group
|
54
|
+
* @param serviceName Name of the service
|
55
|
+
* @param projectName Name of the project
|
56
|
+
* @param options The options parameters.
|
57
|
+
*/
|
58
|
+
delete(groupName: string, serviceName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<void>;
|
59
|
+
/**
|
60
|
+
* The project resource is a nested resource representing a stored migration project. The PATCH method
|
61
|
+
* updates an existing project.
|
62
|
+
* @param groupName Name of the resource group
|
63
|
+
* @param serviceName Name of the service
|
64
|
+
* @param projectName Name of the project
|
65
|
+
* @param parameters Information about the project
|
66
|
+
* @param options The options parameters.
|
67
|
+
*/
|
68
|
+
update(groupName: string, serviceName: string, projectName: string, parameters: Project, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>;
|
69
|
+
/**
|
70
|
+
* ListNext
|
71
|
+
* @param groupName Name of the resource group
|
72
|
+
* @param serviceName Name of the service
|
73
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
74
|
+
* @param options The options parameters.
|
75
|
+
*/
|
76
|
+
private _listNext;
|
77
|
+
}
|
78
|
+
//# sourceMappingURL=projects.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/operations/projects.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAInD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,OAAO,EAEP,0BAA0B,EAE1B,oCAAoC,EACpC,8BAA8B,EAC9B,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,4BAA4B,EAC5B,sBAAsB,EAEvB,MAAM,WAAW,CAAC;AAGnB,4CAA4C;AAC5C,qBAAa,YAAa,YAAW,QAAQ;IAC3C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAgC;IAEvD;;;OAGG;gBACS,MAAM,EAAE,6BAA6B;IAIjD;;;;;;OAMG;IACI,IAAI,CACT,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,0BAA0B,GACnC,0BAA0B,CAAC,OAAO,CAAC;YAevB,cAAc;YAoBd,aAAa;IAc5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;;;OAQG;IACH,cAAc,CACZ,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,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