@azure/arm-datamigration 2.1.1 → 3.0.0-alpha.20220208.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 +69 -80
- package/dist/index.js +16801 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js +65 -0
- package/dist-esm/samples-dev/createOrUpdateDatabaseMigrationResourceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMaximumParameters.js.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts +2 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.d.ts.map +1 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js +32 -0
- package/dist-esm/samples-dev/createOrUpdateSqlMigrationServiceWithMinimumParameters.js.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/cutoverOnlineMigrationOperationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js +31 -0
- package/dist-esm/samples-dev/deleteSqlMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts +2 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.d.ts.map +1 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js +35 -0
- package/dist-esm/samples-dev/deleteTheIntegrationRuntimeNode.js.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js +36 -0
- package/dist-esm/samples-dev/filesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/filesDelete.d.ts +2 -0
- package/dist-esm/samples-dev/filesDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesDelete.js +33 -0
- package/dist-esm/samples-dev/filesDelete.js.map +1 -0
- package/dist-esm/samples-dev/filesList.d.ts +2 -0
- package/dist-esm/samples-dev/filesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesList.js +33 -0
- package/dist-esm/samples-dev/filesList.js.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/filesUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesUpdate.js +36 -0
- package/dist-esm/samples-dev/filesUpdate.js.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts +2 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.d.ts.map +1 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js +32 -0
- package/dist-esm/samples-dev/getDatabaseMigrationResource.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationService.js +31 -0
- package/dist-esm/samples-dev/getMigrationService.js.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js +44 -0
- package/dist-esm/samples-dev/getMigrationServicesInTheResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts +2 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.d.ts.map +1 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js +43 -0
- package/dist-esm/samples-dev/getServicesInTheSubscriptions.js.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts +2 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.d.ts.map +1 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js +45 -0
- package/dist-esm/samples-dev/listDatabaseMigrationsAttachedToTheService.js.map +1 -0
- package/dist-esm/samples-dev/listSkus.d.ts +2 -0
- package/dist-esm/samples-dev/listSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/listSkus.js +43 -0
- package/dist-esm/samples-dev/listSkus.js.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts +2 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.d.ts.map +1 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js +43 -0
- package/dist-esm/samples-dev/listsAllOfTheAvailableSqlRestApiOperations.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDelete.js +32 -0
- package/dist-esm/samples-dev/projectsDelete.js.map +1 -0
- package/dist-esm/samples-dev/projectsGet.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGet.js +32 -0
- package/dist-esm/samples-dev/projectsGet.js.map +1 -0
- package/dist-esm/samples-dev/projectsList.d.ts +2 -0
- package/dist-esm/samples-dev/projectsList.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsList.js +45 -0
- package/dist-esm/samples-dev/projectsList.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdate.js +37 -0
- package/dist-esm/samples-dev/projectsUpdate.js.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js +32 -0
- package/dist-esm/samples-dev/regenerateTheOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js +31 -0
- package/dist-esm/samples-dev/retrieveTheListOfAuthenticationKeys.js.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts +2 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.d.ts.map +1 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js +31 -0
- package/dist-esm/samples-dev/retrieveTheMonitoringData.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksList.js +45 -0
- package/dist-esm/samples-dev/serviceTasksList.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js +32 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js +34 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailability.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckStatus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js +31 -0
- package/dist-esm/samples-dev/servicesCheckStatus.js.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js +35 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/servicesList.d.ts +2 -0
- package/dist-esm/samples-dev/servicesList.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesList.js +43 -0
- package/dist-esm/samples-dev/servicesList.js.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js +44 -0
- package/dist-esm/samples-dev/servicesListByResourceGroup.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSkus.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSkus.js +45 -0
- package/dist-esm/samples-dev/servicesListSkus.js.map +1 -0
- package/dist-esm/samples-dev/servicesStart.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStart.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStart.js +31 -0
- package/dist-esm/samples-dev/servicesStart.js.map +1 -0
- package/dist-esm/samples-dev/servicesStop.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStop.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStop.js +31 -0
- package/dist-esm/samples-dev/servicesStop.js.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts +2 -0
- package/dist-esm/samples-dev/servicesUsages.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesUsages.js +44 -0
- package/dist-esm/samples-dev/servicesUsages.js.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts +2 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.d.ts.map +1 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js +35 -0
- package/dist-esm/samples-dev/stopOngoingMigrationForTheDatabase.js.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCancel.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCancel.js +32 -0
- package/dist-esm/samples-dev/tasksCancel.js.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCommand.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCommand.js +37 -0
- package/dist-esm/samples-dev/tasksCommand.js.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdate.js.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts +2 -0
- package/dist-esm/samples-dev/tasksDelete.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksDelete.js +32 -0
- package/dist-esm/samples-dev/tasksDelete.js.map +1 -0
- package/dist-esm/samples-dev/tasksGet.d.ts +2 -0
- package/dist-esm/samples-dev/tasksGet.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksGet.js +32 -0
- package/dist-esm/samples-dev/tasksGet.js.map +1 -0
- package/dist-esm/samples-dev/tasksList.d.ts +2 -0
- package/dist-esm/samples-dev/tasksList.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksList.js +46 -0
- package/dist-esm/samples-dev/tasksList.js.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts +2 -0
- package/dist-esm/samples-dev/tasksUpdate.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksUpdate.js +38 -0
- package/dist-esm/samples-dev/tasksUpdate.js.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts +2 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.d.ts.map +1 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js +32 -0
- package/dist-esm/samples-dev/updateSqlMigrationService.js.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts +28 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.js +61 -0
- package/dist-esm/src/dataMigrationManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7238 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +534 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +434 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +7803 -6204
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +36 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +272 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts +83 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js +309 -0
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operations/files.d.ts +101 -0
- package/dist-esm/src/operations/files.d.ts.map +1 -0
- package/dist-esm/src/operations/files.js +358 -0
- package/dist-esm/src/operations/files.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +4 -1
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +19 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +116 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/projects.d.ts +78 -0
- package/dist-esm/src/operations/projects.d.ts.map +1 -0
- package/dist-esm/src/operations/projects.js +279 -0
- package/dist-esm/src/operations/projects.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +124 -0
- package/dist-esm/src/operations/resourceSkus.js.map +1 -0
- package/dist-esm/src/operations/serviceTasks.d.ts +91 -0
- package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operations/serviceTasks.js +316 -0
- package/dist-esm/src/operations/serviceTasks.js.map +1 -0
- package/dist-esm/src/operations/services.d.ts +217 -0
- package/dist-esm/src/operations/services.d.ts.map +1 -0
- package/dist-esm/src/operations/services.js +884 -0
- package/dist-esm/src/operations/services.js.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts +178 -0
- package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operations/sqlMigrationServices.js +720 -0
- package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operations/tasks.d.ts +110 -0
- package/dist-esm/src/operations/tasks.d.ts.map +1 -0
- package/dist-esm/src/operations/tasks.js +369 -0
- package/dist-esm/src/operations/tasks.js.map +1 -0
- package/dist-esm/src/operations/usages.d.ts +37 -0
- package/dist-esm/src/operations/usages.d.ts.map +1 -0
- package/dist-esm/src/operations/usages.js +134 -0
- package/dist-esm/src/operations/usages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlMi.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js +9 -0
- package/dist-esm/src/operationsInterfaces/databaseMigrationsSqlVm.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/files.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/files.js +9 -0
- package/dist-esm/src/operationsInterfaces/files.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/projects.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/projects.js +9 -0
- package/dist-esm/src/operationsInterfaces/projects.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/serviceTasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts +161 -0
- package/dist-esm/src/operationsInterfaces/services.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/services.js +9 -0
- package/dist-esm/src/operationsInterfaces/services.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts +121 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/sqlMigrationServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/tasks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/tasks.js +9 -0
- package/dist-esm/src/operationsInterfaces/tasks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usages.js +9 -0
- package/dist-esm/src/operationsInterfaces/usages.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +82 -23
- package/review/arm-datamigration.api.md +4412 -0
- package/rollup.config.js +181 -30
- package/src/dataMigrationManagementClient.ts +119 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +6252 -7473
- package/src/models/mappers.ts +8147 -6279
- package/src/models/parameters.ts +230 -54
- package/src/operations/databaseMigrationsSqlMi.ts +453 -0
- package/src/operations/databaseMigrationsSqlVm.ts +453 -0
- package/src/operations/files.ts +283 -368
- package/src/operations/index.ts +7 -6
- package/src/operations/operations.ts +93 -85
- package/src/operations/projects.ts +222 -275
- package/src/operations/resourceSkus.ts +92 -78
- package/src/operations/serviceTasks.ts +244 -321
- package/src/operations/services.ts +887 -647
- package/src/operations/sqlMigrationServices.ts +986 -0
- package/src/operations/tasks.ts +303 -397
- package/src/operations/usages.ts +110 -85
- package/src/operationsInterfaces/databaseMigrationsSqlMi.ts +138 -0
- package/src/operationsInterfaces/databaseMigrationsSqlVm.ts +138 -0
- package/src/operationsInterfaces/files.ts +139 -0
- package/{esm/operations/index.js → src/operationsInterfaces/index.ts} +8 -7
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/projects.ts +97 -0
- package/src/operationsInterfaces/resourceSkus.ts +22 -0
- package/src/operationsInterfaces/serviceTasks.ts +116 -0
- package/src/operationsInterfaces/services.ts +272 -0
- package/src/operationsInterfaces/sqlMigrationServices.ts +223 -0
- package/src/operationsInterfaces/tasks.ts +149 -0
- package/src/operationsInterfaces/usages.ts +25 -0
- package/tsconfig.json +5 -4
- package/types/arm-datamigration.d.ts +8549 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-datamigration.js +0 -14012
- package/dist/arm-datamigration.js.map +0 -1
- package/dist/arm-datamigration.min.js +0 -1
- package/dist/arm-datamigration.min.js.map +0 -1
- package/esm/dataMigrationServiceClient.d.ts +0 -31
- package/esm/dataMigrationServiceClient.d.ts.map +0 -1
- package/esm/dataMigrationServiceClient.js +0 -45
- package/esm/dataMigrationServiceClient.js.map +0 -1
- package/esm/dataMigrationServiceClientContext.d.ts +0 -22
- package/esm/dataMigrationServiceClientContext.d.ts.map +0 -1
- package/esm/dataMigrationServiceClientContext.js +0 -61
- package/esm/dataMigrationServiceClientContext.js.map +0 -1
- package/esm/models/filesMappers.d.ts +0 -2
- package/esm/models/filesMappers.d.ts.map +0 -1
- package/esm/models/filesMappers.js +0 -9
- package/esm/models/filesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -8920
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -374
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -15
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -147
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/projectsMappers.d.ts +0 -2
- package/esm/models/projectsMappers.d.ts.map +0 -1
- package/esm/models/projectsMappers.js +0 -9
- package/esm/models/projectsMappers.js.map +0 -1
- package/esm/models/resourceSkusMappers.d.ts +0 -2
- package/esm/models/resourceSkusMappers.d.ts.map +0 -1
- package/esm/models/resourceSkusMappers.js +0 -9
- package/esm/models/resourceSkusMappers.js.map +0 -1
- package/esm/models/serviceTasksMappers.d.ts +0 -2
- package/esm/models/serviceTasksMappers.d.ts.map +0 -1
- package/esm/models/serviceTasksMappers.js +0 -9
- package/esm/models/serviceTasksMappers.js.map +0 -1
- package/esm/models/servicesMappers.d.ts +0 -2
- package/esm/models/servicesMappers.d.ts.map +0 -1
- package/esm/models/servicesMappers.js +0 -9
- package/esm/models/servicesMappers.js.map +0 -1
- package/esm/models/tasksMappers.d.ts +0 -2
- package/esm/models/tasksMappers.d.ts.map +0 -1
- package/esm/models/tasksMappers.js +0 -9
- package/esm/models/tasksMappers.js.map +0 -1
- package/esm/models/usagesMappers.d.ts +0 -2
- package/esm/models/usagesMappers.d.ts.map +0 -1
- package/esm/models/usagesMappers.js +0 -9
- package/esm/models/usagesMappers.js.map +0 -1
- package/esm/operations/files.d.ts +0 -235
- package/esm/operations/files.d.ts.map +0 -1
- package/esm/operations/files.js +0 -309
- package/esm/operations/files.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/projects.d.ts +0 -166
- package/esm/operations/projects.d.ts.map +0 -1
- package/esm/operations/projects.js +0 -230
- package/esm/operations/projects.js.map +0 -1
- package/esm/operations/resourceSkus.d.ts +0 -48
- package/esm/operations/resourceSkus.d.ts.map +0 -1
- package/esm/operations/resourceSkus.js +0 -80
- package/esm/operations/resourceSkus.js.map +0 -1
- package/esm/operations/serviceTasks.d.ts +0 -199
- package/esm/operations/serviceTasks.d.ts.map +0 -1
- package/esm/operations/serviceTasks.js +0 -265
- package/esm/operations/serviceTasks.js.map +0 -1
- package/esm/operations/services.d.ts +0 -350
- package/esm/operations/services.d.ts.map +0 -1
- package/esm/operations/services.js +0 -626
- package/esm/operations/services.js.map +0 -1
- package/esm/operations/tasks.d.ts +0 -246
- package/esm/operations/tasks.d.ts.map +0 -1
- package/esm/operations/tasks.js +0 -317
- package/esm/operations/tasks.js.map +0 -1
- package/esm/operations/usages.d.ts +0 -53
- package/esm/operations/usages.d.ts.map +0 -1
- package/esm/operations/usages.js +0 -82
- package/esm/operations/usages.js.map +0 -1
- package/src/dataMigrationServiceClient.ts +0 -62
- package/src/dataMigrationServiceClientContext.ts +0 -68
- package/src/models/filesMappers.ts +0 -235
- package/src/models/operationsMappers.ts +0 -16
- package/src/models/projectsMappers.ts +0 -234
- package/src/models/resourceSkusMappers.ts +0 -19
- package/src/models/serviceTasksMappers.ts +0 -234
- package/src/models/servicesMappers.ts +0 -241
- package/src/models/tasksMappers.ts +0 -234
- package/src/models/usagesMappers.ts +0 -16
@@ -1,272 +1,233 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
* license information.
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
3
|
+
* Licensed under the MIT License.
|
5
4
|
*
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
8
|
-
* regenerated.
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
9
7
|
*/
|
10
8
|
|
11
|
-
import
|
12
|
-
import
|
13
|
-
import * as
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
10
|
+
import { Projects } from "../operationsInterfaces";
|
11
|
+
import * as coreClient from "@azure/core-client";
|
12
|
+
import * as Mappers from "../models/mappers";
|
14
13
|
import * as Parameters from "../models/parameters";
|
15
|
-
import {
|
14
|
+
import { DataMigrationManagementClient } from "../dataMigrationManagementClient";
|
15
|
+
import {
|
16
|
+
Project,
|
17
|
+
ProjectsListNextOptionalParams,
|
18
|
+
ProjectsListOptionalParams,
|
19
|
+
ProjectsListResponse,
|
20
|
+
ProjectsCreateOrUpdateOptionalParams,
|
21
|
+
ProjectsCreateOrUpdateResponse,
|
22
|
+
ProjectsGetOptionalParams,
|
23
|
+
ProjectsGetResponse,
|
24
|
+
ProjectsDeleteOptionalParams,
|
25
|
+
ProjectsUpdateOptionalParams,
|
26
|
+
ProjectsUpdateResponse,
|
27
|
+
ProjectsListNextResponse
|
28
|
+
} from "../models";
|
16
29
|
|
17
|
-
|
18
|
-
|
19
|
-
|
30
|
+
/// <reference lib="esnext.asynciterable" />
|
31
|
+
/** Class containing Projects operations. */
|
32
|
+
export class ProjectsImpl implements Projects {
|
33
|
+
private readonly client: DataMigrationManagementClient;
|
20
34
|
|
21
35
|
/**
|
22
|
-
*
|
23
|
-
* @param
|
36
|
+
* Initialize a new instance of the class Projects class.
|
37
|
+
* @param client Reference to the service client
|
24
38
|
*/
|
25
|
-
constructor(client:
|
39
|
+
constructor(client: DataMigrationManagementClient) {
|
26
40
|
this.client = client;
|
27
41
|
}
|
28
42
|
|
29
43
|
/**
|
30
44
|
* The project resource is a nested resource representing a stored migration project. This method
|
31
45
|
* returns a list of projects owned by a service resource.
|
32
|
-
* @summary Get projects in a service
|
33
46
|
* @param groupName Name of the resource group
|
34
47
|
* @param serviceName Name of the service
|
35
|
-
* @param
|
36
|
-
* @returns Promise<Models.ProjectsListResponse>
|
48
|
+
* @param options The options parameters.
|
37
49
|
*/
|
38
|
-
list(
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
50
|
+
public list(
|
51
|
+
groupName: string,
|
52
|
+
serviceName: string,
|
53
|
+
options?: ProjectsListOptionalParams
|
54
|
+
): PagedAsyncIterableIterator<Project> {
|
55
|
+
const iter = this.listPagingAll(groupName, serviceName, options);
|
56
|
+
return {
|
57
|
+
next() {
|
58
|
+
return iter.next();
|
59
|
+
},
|
60
|
+
[Symbol.asyncIterator]() {
|
61
|
+
return this;
|
62
|
+
},
|
63
|
+
byPage: () => {
|
64
|
+
return this.listPagingPage(groupName, serviceName, options);
|
65
|
+
}
|
66
|
+
};
|
67
|
+
}
|
68
|
+
|
69
|
+
private async *listPagingPage(
|
70
|
+
groupName: string,
|
71
|
+
serviceName: string,
|
72
|
+
options?: ProjectsListOptionalParams
|
73
|
+
): AsyncIterableIterator<Project[]> {
|
74
|
+
let result = await this._list(groupName, serviceName, options);
|
75
|
+
yield result.value || [];
|
76
|
+
let continuationToken = result.nextLink;
|
77
|
+
while (continuationToken) {
|
78
|
+
result = await this._listNext(
|
55
79
|
groupName,
|
56
80
|
serviceName,
|
81
|
+
continuationToken,
|
57
82
|
options
|
58
|
-
|
59
|
-
|
60
|
-
|
83
|
+
);
|
84
|
+
continuationToken = result.nextLink;
|
85
|
+
yield result.value || [];
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
private async *listPagingAll(
|
90
|
+
groupName: string,
|
91
|
+
serviceName: string,
|
92
|
+
options?: ProjectsListOptionalParams
|
93
|
+
): AsyncIterableIterator<Project> {
|
94
|
+
for await (const page of this.listPagingPage(
|
95
|
+
groupName,
|
96
|
+
serviceName,
|
97
|
+
options
|
98
|
+
)) {
|
99
|
+
yield* page;
|
100
|
+
}
|
61
101
|
}
|
62
102
|
|
63
103
|
/**
|
64
|
-
* The project resource is a nested resource representing a stored migration project.
|
65
|
-
*
|
66
|
-
* @summary Create or update project
|
67
|
-
* @param parameters Information about the project
|
104
|
+
* The project resource is a nested resource representing a stored migration project. This method
|
105
|
+
* returns a list of projects owned by a service resource.
|
68
106
|
* @param groupName Name of the resource group
|
69
107
|
* @param serviceName Name of the service
|
70
|
-
* @param
|
71
|
-
* @param [options] The optional parameters
|
72
|
-
* @returns Promise<Models.ProjectsCreateOrUpdateResponse>
|
108
|
+
* @param options The options parameters.
|
73
109
|
*/
|
74
|
-
|
110
|
+
private _list(
|
111
|
+
groupName: string,
|
112
|
+
serviceName: string,
|
113
|
+
options?: ProjectsListOptionalParams
|
114
|
+
): Promise<ProjectsListResponse> {
|
115
|
+
return this.client.sendOperationRequest(
|
116
|
+
{ groupName, serviceName, options },
|
117
|
+
listOperationSpec
|
118
|
+
);
|
119
|
+
}
|
120
|
+
|
75
121
|
/**
|
76
|
-
*
|
122
|
+
* The project resource is a nested resource representing a stored migration project. The PUT method
|
123
|
+
* creates a new project or updates an existing one.
|
77
124
|
* @param groupName Name of the resource group
|
78
125
|
* @param serviceName Name of the service
|
79
126
|
* @param projectName Name of the project
|
80
|
-
* @param callback The callback
|
81
|
-
*/
|
82
|
-
createOrUpdate(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<Models.Project>): void;
|
83
|
-
/**
|
84
127
|
* @param parameters Information about the project
|
85
|
-
* @param
|
86
|
-
* @param serviceName Name of the service
|
87
|
-
* @param projectName Name of the project
|
88
|
-
* @param options The optional parameters
|
89
|
-
* @param callback The callback
|
128
|
+
* @param options The options parameters.
|
90
129
|
*/
|
91
|
-
createOrUpdate(
|
92
|
-
|
130
|
+
createOrUpdate(
|
131
|
+
groupName: string,
|
132
|
+
serviceName: string,
|
133
|
+
projectName: string,
|
134
|
+
parameters: Project,
|
135
|
+
options?: ProjectsCreateOrUpdateOptionalParams
|
136
|
+
): Promise<ProjectsCreateOrUpdateResponse> {
|
93
137
|
return this.client.sendOperationRequest(
|
94
|
-
{
|
95
|
-
|
96
|
-
|
97
|
-
serviceName,
|
98
|
-
projectName,
|
99
|
-
options
|
100
|
-
},
|
101
|
-
createOrUpdateOperationSpec,
|
102
|
-
callback) as Promise<Models.ProjectsCreateOrUpdateResponse>;
|
138
|
+
{ groupName, serviceName, projectName, parameters, options },
|
139
|
+
createOrUpdateOperationSpec
|
140
|
+
);
|
103
141
|
}
|
104
142
|
|
105
143
|
/**
|
106
|
-
* The project resource is a nested resource representing a stored migration project. The GET
|
107
|
-
*
|
108
|
-
* @summary Get project information
|
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
|
-
* @returns Promise<Models.ProjectsGetResponse>
|
114
|
-
*/
|
115
|
-
get(groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsGetResponse>;
|
116
|
-
/**
|
144
|
+
* The project resource is a nested resource representing a stored migration project. The GET method
|
145
|
+
* retrieves information about a project.
|
117
146
|
* @param groupName Name of the resource group
|
118
147
|
* @param serviceName Name of the service
|
119
148
|
* @param projectName Name of the project
|
120
|
-
* @param
|
149
|
+
* @param options The options parameters.
|
121
150
|
*/
|
122
|
-
get(
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
* @param callback The callback
|
129
|
-
*/
|
130
|
-
get(groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
131
|
-
get(groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsGetResponse> {
|
151
|
+
get(
|
152
|
+
groupName: string,
|
153
|
+
serviceName: string,
|
154
|
+
projectName: string,
|
155
|
+
options?: ProjectsGetOptionalParams
|
156
|
+
): Promise<ProjectsGetResponse> {
|
132
157
|
return this.client.sendOperationRequest(
|
133
|
-
{
|
134
|
-
|
135
|
-
|
136
|
-
projectName,
|
137
|
-
options
|
138
|
-
},
|
139
|
-
getOperationSpec,
|
140
|
-
callback) as Promise<Models.ProjectsGetResponse>;
|
158
|
+
{ groupName, serviceName, projectName, options },
|
159
|
+
getOperationSpec
|
160
|
+
);
|
141
161
|
}
|
142
162
|
|
143
163
|
/**
|
144
|
-
* The project resource is a nested resource representing a stored migration project. The DELETE
|
145
|
-
*
|
146
|
-
* @summary Delete project
|
147
|
-
* @param groupName Name of the resource group
|
148
|
-
* @param serviceName Name of the service
|
149
|
-
* @param projectName Name of the project
|
150
|
-
* @param [options] The optional parameters
|
151
|
-
* @returns Promise<msRest.RestResponse>
|
152
|
-
*/
|
153
|
-
deleteMethod(groupName: string, serviceName: string, projectName: string, options?: Models.ProjectsDeleteMethodOptionalParams): Promise<msRest.RestResponse>;
|
154
|
-
/**
|
155
|
-
* @param groupName Name of the resource group
|
156
|
-
* @param serviceName Name of the service
|
157
|
-
* @param projectName Name of the project
|
158
|
-
* @param callback The callback
|
159
|
-
*/
|
160
|
-
deleteMethod(groupName: string, serviceName: string, projectName: string, callback: msRest.ServiceCallback<void>): void;
|
161
|
-
/**
|
164
|
+
* The project resource is a nested resource representing a stored migration project. The DELETE method
|
165
|
+
* deletes a project.
|
162
166
|
* @param groupName Name of the resource group
|
163
167
|
* @param serviceName Name of the service
|
164
168
|
* @param projectName Name of the project
|
165
|
-
* @param options The
|
166
|
-
* @param callback The callback
|
169
|
+
* @param options The options parameters.
|
167
170
|
*/
|
168
|
-
|
169
|
-
|
171
|
+
delete(
|
172
|
+
groupName: string,
|
173
|
+
serviceName: string,
|
174
|
+
projectName: string,
|
175
|
+
options?: ProjectsDeleteOptionalParams
|
176
|
+
): Promise<void> {
|
170
177
|
return this.client.sendOperationRequest(
|
171
|
-
{
|
172
|
-
|
173
|
-
|
174
|
-
projectName,
|
175
|
-
options
|
176
|
-
},
|
177
|
-
deleteMethodOperationSpec,
|
178
|
-
callback);
|
178
|
+
{ groupName, serviceName, projectName, options },
|
179
|
+
deleteOperationSpec
|
180
|
+
);
|
179
181
|
}
|
180
182
|
|
181
183
|
/**
|
182
|
-
* The project resource is a nested resource representing a stored migration project. The PATCH
|
183
|
-
*
|
184
|
-
* @summary Update project
|
185
|
-
* @param parameters Information about the project
|
184
|
+
* The project resource is a nested resource representing a stored migration project. The PATCH method
|
185
|
+
* updates an existing project.
|
186
186
|
* @param groupName Name of the resource group
|
187
187
|
* @param serviceName Name of the service
|
188
188
|
* @param projectName Name of the project
|
189
|
-
* @param [options] The optional parameters
|
190
|
-
* @returns Promise<Models.ProjectsUpdateResponse>
|
191
|
-
*/
|
192
|
-
update(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsUpdateResponse>;
|
193
|
-
/**
|
194
189
|
* @param parameters Information about the project
|
195
|
-
* @param
|
196
|
-
* @param serviceName Name of the service
|
197
|
-
* @param projectName Name of the project
|
198
|
-
* @param callback The callback
|
190
|
+
* @param options The options parameters.
|
199
191
|
*/
|
200
|
-
update(
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
* @param callback The callback
|
208
|
-
*/
|
209
|
-
update(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.Project>): void;
|
210
|
-
update(parameters: Models.Project, groupName: string, serviceName: string, projectName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.Project>, callback?: msRest.ServiceCallback<Models.Project>): Promise<Models.ProjectsUpdateResponse> {
|
192
|
+
update(
|
193
|
+
groupName: string,
|
194
|
+
serviceName: string,
|
195
|
+
projectName: string,
|
196
|
+
parameters: Project,
|
197
|
+
options?: ProjectsUpdateOptionalParams
|
198
|
+
): Promise<ProjectsUpdateResponse> {
|
211
199
|
return this.client.sendOperationRequest(
|
212
|
-
{
|
213
|
-
|
214
|
-
|
215
|
-
serviceName,
|
216
|
-
projectName,
|
217
|
-
options
|
218
|
-
},
|
219
|
-
updateOperationSpec,
|
220
|
-
callback) as Promise<Models.ProjectsUpdateResponse>;
|
200
|
+
{ groupName, serviceName, projectName, parameters, options },
|
201
|
+
updateOperationSpec
|
202
|
+
);
|
221
203
|
}
|
222
204
|
|
223
205
|
/**
|
224
|
-
*
|
225
|
-
*
|
226
|
-
* @
|
227
|
-
* @param
|
228
|
-
* @param
|
229
|
-
* @returns Promise<Models.ProjectsListNextResponse>
|
230
|
-
*/
|
231
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ProjectsListNextResponse>;
|
232
|
-
/**
|
233
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
234
|
-
* @param callback The callback
|
235
|
-
*/
|
236
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ProjectList>): void;
|
237
|
-
/**
|
238
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
239
|
-
* @param options The optional parameters
|
240
|
-
* @param callback The callback
|
206
|
+
* ListNext
|
207
|
+
* @param groupName Name of the resource group
|
208
|
+
* @param serviceName Name of the service
|
209
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
210
|
+
* @param options The options parameters.
|
241
211
|
*/
|
242
|
-
|
243
|
-
|
212
|
+
private _listNext(
|
213
|
+
groupName: string,
|
214
|
+
serviceName: string,
|
215
|
+
nextLink: string,
|
216
|
+
options?: ProjectsListNextOptionalParams
|
217
|
+
): Promise<ProjectsListNextResponse> {
|
244
218
|
return this.client.sendOperationRequest(
|
245
|
-
{
|
246
|
-
|
247
|
-
|
248
|
-
},
|
249
|
-
listNextOperationSpec,
|
250
|
-
callback) as Promise<Models.ProjectsListNextResponse>;
|
219
|
+
{ groupName, serviceName, nextLink, options },
|
220
|
+
listNextOperationSpec
|
221
|
+
);
|
251
222
|
}
|
252
223
|
}
|
253
|
-
|
254
224
|
// Operation Specifications
|
255
|
-
const serializer =
|
256
|
-
|
225
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
226
|
+
|
227
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
228
|
+
path:
|
229
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",
|
257
230
|
httpMethod: "GET",
|
258
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",
|
259
|
-
urlParameters: [
|
260
|
-
Parameters.subscriptionId,
|
261
|
-
Parameters.groupName,
|
262
|
-
Parameters.serviceName
|
263
|
-
],
|
264
|
-
queryParameters: [
|
265
|
-
Parameters.apiVersion
|
266
|
-
],
|
267
|
-
headerParameters: [
|
268
|
-
Parameters.acceptLanguage
|
269
|
-
],
|
270
231
|
responses: {
|
271
232
|
200: {
|
272
233
|
bodyMapper: Mappers.ProjectList
|
@@ -275,31 +236,20 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
275
236
|
bodyMapper: Mappers.ApiError
|
276
237
|
}
|
277
238
|
},
|
278
|
-
|
279
|
-
};
|
280
|
-
|
281
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
282
|
-
httpMethod: "PUT",
|
283
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
239
|
+
queryParameters: [Parameters.apiVersion],
|
284
240
|
urlParameters: [
|
241
|
+
Parameters.$host,
|
285
242
|
Parameters.subscriptionId,
|
286
243
|
Parameters.groupName,
|
287
|
-
Parameters.serviceName
|
288
|
-
Parameters.projectName
|
289
|
-
],
|
290
|
-
queryParameters: [
|
291
|
-
Parameters.apiVersion
|
292
|
-
],
|
293
|
-
headerParameters: [
|
294
|
-
Parameters.acceptLanguage
|
244
|
+
Parameters.serviceName
|
295
245
|
],
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
}
|
302
|
-
|
246
|
+
headerParameters: [Parameters.accept],
|
247
|
+
serializer
|
248
|
+
};
|
249
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
250
|
+
path:
|
251
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
252
|
+
httpMethod: "PUT",
|
303
253
|
responses: {
|
304
254
|
200: {
|
305
255
|
bodyMapper: Mappers.Project
|
@@ -311,24 +261,23 @@ const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
311
261
|
bodyMapper: Mappers.ApiError
|
312
262
|
}
|
313
263
|
},
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
const getOperationSpec: msRest.OperationSpec = {
|
318
|
-
httpMethod: "GET",
|
319
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
264
|
+
requestBody: Parameters.parameters11,
|
265
|
+
queryParameters: [Parameters.apiVersion],
|
320
266
|
urlParameters: [
|
267
|
+
Parameters.$host,
|
321
268
|
Parameters.subscriptionId,
|
322
269
|
Parameters.groupName,
|
323
270
|
Parameters.serviceName,
|
324
271
|
Parameters.projectName
|
325
272
|
],
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
273
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
274
|
+
mediaType: "json",
|
275
|
+
serializer
|
276
|
+
};
|
277
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
278
|
+
path:
|
279
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
280
|
+
httpMethod: "GET",
|
332
281
|
responses: {
|
333
282
|
200: {
|
334
283
|
bodyMapper: Mappers.Project
|
@@ -337,25 +286,21 @@ const getOperationSpec: msRest.OperationSpec = {
|
|
337
286
|
bodyMapper: Mappers.ApiError
|
338
287
|
}
|
339
288
|
},
|
340
|
-
|
341
|
-
};
|
342
|
-
|
343
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
344
|
-
httpMethod: "DELETE",
|
345
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
289
|
+
queryParameters: [Parameters.apiVersion],
|
346
290
|
urlParameters: [
|
291
|
+
Parameters.$host,
|
347
292
|
Parameters.subscriptionId,
|
348
293
|
Parameters.groupName,
|
349
294
|
Parameters.serviceName,
|
350
295
|
Parameters.projectName
|
351
296
|
],
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
297
|
+
headerParameters: [Parameters.accept],
|
298
|
+
serializer
|
299
|
+
};
|
300
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
301
|
+
path:
|
302
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
303
|
+
httpMethod: "DELETE",
|
359
304
|
responses: {
|
360
305
|
200: {},
|
361
306
|
204: {},
|
@@ -363,31 +308,21 @@ const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
363
308
|
bodyMapper: Mappers.ApiError
|
364
309
|
}
|
365
310
|
},
|
366
|
-
|
367
|
-
};
|
368
|
-
|
369
|
-
const updateOperationSpec: msRest.OperationSpec = {
|
370
|
-
httpMethod: "PATCH",
|
371
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
311
|
+
queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],
|
372
312
|
urlParameters: [
|
313
|
+
Parameters.$host,
|
373
314
|
Parameters.subscriptionId,
|
374
315
|
Parameters.groupName,
|
375
316
|
Parameters.serviceName,
|
376
317
|
Parameters.projectName
|
377
318
|
],
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
parameterPath: "parameters",
|
386
|
-
mapper: {
|
387
|
-
...Mappers.Project,
|
388
|
-
required: true
|
389
|
-
}
|
390
|
-
},
|
319
|
+
headerParameters: [Parameters.accept],
|
320
|
+
serializer
|
321
|
+
};
|
322
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
323
|
+
path:
|
324
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
325
|
+
httpMethod: "PATCH",
|
391
326
|
responses: {
|
392
327
|
200: {
|
393
328
|
bodyMapper: Mappers.Project
|
@@ -396,19 +331,22 @@ const updateOperationSpec: msRest.OperationSpec = {
|
|
396
331
|
bodyMapper: Mappers.ApiError
|
397
332
|
}
|
398
333
|
},
|
334
|
+
requestBody: Parameters.parameters11,
|
335
|
+
queryParameters: [Parameters.apiVersion],
|
336
|
+
urlParameters: [
|
337
|
+
Parameters.$host,
|
338
|
+
Parameters.subscriptionId,
|
339
|
+
Parameters.groupName,
|
340
|
+
Parameters.serviceName,
|
341
|
+
Parameters.projectName
|
342
|
+
],
|
343
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
344
|
+
mediaType: "json",
|
399
345
|
serializer
|
400
346
|
};
|
401
|
-
|
402
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
403
|
-
httpMethod: "GET",
|
404
|
-
baseUrl: "https://management.azure.com",
|
347
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
405
348
|
path: "{nextLink}",
|
406
|
-
|
407
|
-
Parameters.nextPageLink
|
408
|
-
],
|
409
|
-
headerParameters: [
|
410
|
-
Parameters.acceptLanguage
|
411
|
-
],
|
349
|
+
httpMethod: "GET",
|
412
350
|
responses: {
|
413
351
|
200: {
|
414
352
|
bodyMapper: Mappers.ProjectList
|
@@ -417,5 +355,14 @@ const listNextOperationSpec: msRest.OperationSpec = {
|
|
417
355
|
bodyMapper: Mappers.ApiError
|
418
356
|
}
|
419
357
|
},
|
358
|
+
queryParameters: [Parameters.apiVersion],
|
359
|
+
urlParameters: [
|
360
|
+
Parameters.$host,
|
361
|
+
Parameters.subscriptionId,
|
362
|
+
Parameters.nextLink,
|
363
|
+
Parameters.groupName,
|
364
|
+
Parameters.serviceName
|
365
|
+
],
|
366
|
+
headerParameters: [Parameters.accept],
|
420
367
|
serializer
|
421
368
|
};
|