@azure/arm-datamigration 3.0.0-beta.1 → 3.0.0-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +2 -2
- package/README.md +12 -1
- package/dist/index.js +981 -288
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.js +35 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js +117 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.js +35 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiCutoverSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.js +32 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlMiGetSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.js +35 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js +117 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.js +35 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMCutoverSample.js.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.js +32 -0
- package/dist-esm/samples-dev/databaseMigrationsSqlVMGetSample.js.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/filesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/filesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesDeleteSample.js +33 -0
- package/dist-esm/samples-dev/filesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/filesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesGetSample.js +33 -0
- package/dist-esm/samples-dev/filesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/filesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesListSample.js +46 -0
- package/dist-esm/samples-dev/filesListSample.js.map +1 -0
- package/dist-esm/samples-dev/filesReadSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesReadSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesReadSample.js +33 -0
- package/dist-esm/samples-dev/filesReadSample.js.map +1 -0
- package/dist-esm/samples-dev/filesReadWriteSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesReadWriteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesReadWriteSample.js +33 -0
- package/dist-esm/samples-dev/filesReadWriteSample.js.map +1 -0
- package/dist-esm/samples-dev/filesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/filesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/filesUpdateSample.js +36 -0
- package/dist-esm/samples-dev/filesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +43 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js +37 -0
- package/dist-esm/samples-dev/projectsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsDeleteSample.js +32 -0
- package/dist-esm/samples-dev/projectsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsGetSample.js +32 -0
- package/dist-esm/samples-dev/projectsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsListSample.js +45 -0
- package/dist-esm/samples-dev/projectsListSample.js.map +1 -0
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/projectsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/projectsUpdateSample.js +37 -0
- package/dist-esm/samples-dev/projectsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceSkusListSkusSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceSkusListSkusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceSkusListSkusSample.js +43 -0
- package/dist-esm/samples-dev/resourceSkusListSkusSample.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksCancelSample.js +32 -0
- package/dist-esm/samples-dev/serviceTasksCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.js +38 -0
- package/dist-esm/samples-dev/serviceTasksCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksDeleteSample.js +32 -0
- package/dist-esm/samples-dev/serviceTasksDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksGetSample.js +32 -0
- package/dist-esm/samples-dev/serviceTasksGetSample.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksListSample.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksListSample.js +45 -0
- package/dist-esm/samples-dev/serviceTasksListSample.js.map +1 -0
- package/dist-esm/samples-dev/serviceTasksUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/serviceTasksUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/serviceTasksUpdateSample.js +38 -0
- package/dist-esm/samples-dev/serviceTasksUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.js +32 -0
- package/dist-esm/samples-dev/servicesCheckChildrenNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js +34 -0
- package/dist-esm/samples-dev/servicesCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatusSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCheckStatusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCheckStatusSample.js +31 -0
- package/dist-esm/samples-dev/servicesCheckStatusSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js +36 -0
- package/dist-esm/samples-dev/servicesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/servicesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesGetSample.js +31 -0
- package/dist-esm/samples-dev/servicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSample.js +43 -0
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesListSkusSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesListSkusSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesListSkusSample.js +45 -0
- package/dist-esm/samples-dev/servicesListSkusSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesStartSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStartSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStartSample.js +31 -0
- package/dist-esm/samples-dev/servicesStartSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesStopSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesStopSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesStopSample.js +31 -0
- package/dist-esm/samples-dev/servicesStopSample.js.map +1 -0
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/servicesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/servicesUpdateSample.js +35 -0
- package/dist-esm/samples-dev/servicesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.js +51 -0
- package/dist-esm/samples-dev/sqlMigrationServicesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.js +35 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteNodeSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.js +31 -0
- package/dist-esm/samples-dev/sqlMigrationServicesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesGetSample.js +31 -0
- package/dist-esm/samples-dev/sqlMigrationServicesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.js +31 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListAuthKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.js +44 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListByResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.js +43 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListBySubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.js +45 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMigrationsSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.js +31 -0
- package/dist-esm/samples-dev/sqlMigrationServicesListMonitoringDataSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.js +32 -0
- package/dist-esm/samples-dev/sqlMigrationServicesRegenerateAuthKeysSample.js.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.js +32 -0
- package/dist-esm/samples-dev/sqlMigrationServicesUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCancelSample.js +33 -0
- package/dist-esm/samples-dev/tasksCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksCommandSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCommandSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCommandSample.js +37 -0
- package/dist-esm/samples-dev/tasksCommandSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdateSample.js +49 -0
- package/dist-esm/samples-dev/tasksCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksDeleteSample.js +33 -0
- package/dist-esm/samples-dev/tasksDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksGetSample.js +33 -0
- package/dist-esm/samples-dev/tasksGetSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksListSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksListSample.js +46 -0
- package/dist-esm/samples-dev/tasksListSample.js.map +1 -0
- package/dist-esm/samples-dev/tasksUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/tasksUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/tasksUpdateSample.js +49 -0
- package/dist-esm/samples-dev/tasksUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/usagesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/usagesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/usagesListSample.js +44 -0
- package/dist-esm/samples-dev/usagesListSample.js.map +1 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts +2 -0
- package/dist-esm/src/dataMigrationManagementClient.d.ts.map +1 -1
- package/dist-esm/src/dataMigrationManagementClient.js +54 -5
- package/dist-esm/src/dataMigrationManagementClient.js.map +1 -1
- package/dist-esm/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +556 -240
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +314 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/databaseMigrationsSqlMi.d.ts.map +1 -1
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js +9 -3
- package/dist-esm/src/operations/databaseMigrationsSqlMi.js.map +1 -1
- package/dist-esm/src/operations/databaseMigrationsSqlVm.d.ts.map +1 -1
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js +9 -3
- package/dist-esm/src/operations/databaseMigrationsSqlVm.js.map +1 -1
- package/dist-esm/src/operations/files.d.ts.map +1 -1
- package/dist-esm/src/operations/files.js +19 -7
- package/dist-esm/src/operations/files.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/projects.d.ts.map +1 -1
- package/dist-esm/src/operations/projects.js +19 -7
- package/dist-esm/src/operations/projects.js.map +1 -1
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -1
- package/dist-esm/src/operations/resourceSkus.js +19 -7
- package/dist-esm/src/operations/resourceSkus.js.map +1 -1
- package/dist-esm/src/operations/serviceTasks.d.ts.map +1 -1
- package/dist-esm/src/operations/serviceTasks.js +19 -7
- package/dist-esm/src/operations/serviceTasks.js.map +1 -1
- package/dist-esm/src/operations/services.d.ts.map +1 -1
- package/dist-esm/src/operations/services.js +70 -26
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/sqlMigrationServices.d.ts.map +1 -1
- package/dist-esm/src/operations/sqlMigrationServices.js +64 -24
- package/dist-esm/src/operations/sqlMigrationServices.js.map +1 -1
- package/dist-esm/src/operations/tasks.d.ts.map +1 -1
- package/dist-esm/src/operations/tasks.js +19 -7
- package/dist-esm/src/operations/tasks.js.map +1 -1
- package/dist-esm/src/operations/usages.d.ts.map +1 -1
- package/dist-esm/src/operations/usages.js +19 -7
- package/dist-esm/src/operations/usages.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +38 -22
- package/review/arm-datamigration.api.md +564 -872
- package/rollup.config.js +6 -72
- package/src/dataMigrationManagementClient.ts +70 -5
- package/src/index.ts +1 -0
- package/src/models/index.ts +646 -246
- package/src/operations/databaseMigrationsSqlMi.ts +9 -3
- package/src/operations/databaseMigrationsSqlVm.ts +9 -3
- package/src/operations/files.ts +22 -8
- package/src/operations/operations.ts +21 -8
- package/src/operations/projects.ts +21 -8
- package/src/operations/resourceSkus.ts +21 -8
- package/src/operations/serviceTasks.ts +21 -8
- package/src/operations/services.ts +82 -30
- package/src/operations/sqlMigrationServices.ts +80 -32
- package/src/operations/tasks.ts +22 -8
- package/src/operations/usages.ts +21 -8
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +18 -5
- package/types/arm-datamigration.d.ts +567 -240
- package/types/tsdoc-metadata.json +1 -1
- package/LICENSE.txt +0 -21
package/dist/index.js
CHANGED
@@ -2,10 +2,32 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var coreClient = require('@azure/core-client');
|
6
5
|
var tslib = require('tslib');
|
6
|
+
var coreClient = require('@azure/core-client');
|
7
|
+
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
7
8
|
var coreLro = require('@azure/core-lro');
|
8
9
|
|
10
|
+
function _interopNamespace(e) {
|
11
|
+
if (e && e.__esModule) return e;
|
12
|
+
var n = Object.create(null);
|
13
|
+
if (e) {
|
14
|
+
Object.keys(e).forEach(function (k) {
|
15
|
+
if (k !== 'default') {
|
16
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
17
|
+
Object.defineProperty(n, k, d.get ? d : {
|
18
|
+
enumerable: true,
|
19
|
+
get: function () { return e[k]; }
|
20
|
+
});
|
21
|
+
}
|
22
|
+
});
|
23
|
+
}
|
24
|
+
n["default"] = e;
|
25
|
+
return Object.freeze(n);
|
26
|
+
}
|
27
|
+
|
28
|
+
var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
|
29
|
+
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespace(coreRestPipeline);
|
30
|
+
|
9
31
|
/*
|
10
32
|
* Copyright (c) Microsoft Corporation.
|
11
33
|
* Licensed under the MIT License.
|
@@ -13,424 +35,876 @@ var coreLro = require('@azure/core-lro');
|
|
13
35
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
14
36
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
15
37
|
*/
|
38
|
+
const pageMap = new WeakMap();
|
39
|
+
/**
|
40
|
+
* Given a result page from a pageable operation, returns a
|
41
|
+
* continuation token that can be used to begin paging from
|
42
|
+
* that point later.
|
43
|
+
* @param page A result object from calling .byPage() on a paged operation.
|
44
|
+
* @returns The continuation token that can be passed into byPage().
|
45
|
+
*/
|
46
|
+
function getContinuationToken(page) {
|
47
|
+
var _a;
|
48
|
+
if (typeof page !== "object" || page === null) {
|
49
|
+
return undefined;
|
50
|
+
}
|
51
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
52
|
+
}
|
53
|
+
function setContinuationToken(page, continuationToken) {
|
54
|
+
var _a;
|
55
|
+
if (typeof page !== "object" || page === null || !continuationToken) {
|
56
|
+
return;
|
57
|
+
}
|
58
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
59
|
+
pageInfo.continuationToken = continuationToken;
|
60
|
+
pageMap.set(page, pageInfo);
|
61
|
+
}
|
62
|
+
|
63
|
+
/*
|
64
|
+
* Copyright (c) Microsoft Corporation.
|
65
|
+
* Licensed under the MIT License.
|
66
|
+
*
|
67
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
68
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
69
|
+
*/
|
70
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
71
|
+
exports.KnownCreatedByType = void 0;
|
16
72
|
(function (KnownCreatedByType) {
|
73
|
+
/** User */
|
17
74
|
KnownCreatedByType["User"] = "User";
|
75
|
+
/** Application */
|
18
76
|
KnownCreatedByType["Application"] = "Application";
|
77
|
+
/** ManagedIdentity */
|
19
78
|
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
79
|
+
/** Key */
|
20
80
|
KnownCreatedByType["Key"] = "Key";
|
21
81
|
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
82
|
+
/** Known values of {@link ResourceType} that the service accepts. */
|
83
|
+
exports.KnownResourceType = void 0;
|
22
84
|
(function (KnownResourceType) {
|
85
|
+
/** SqlMi */
|
23
86
|
KnownResourceType["SqlMi"] = "SqlMi";
|
87
|
+
/** SqlVm */
|
24
88
|
KnownResourceType["SqlVm"] = "SqlVm";
|
25
89
|
})(exports.KnownResourceType || (exports.KnownResourceType = {}));
|
90
|
+
/** Known values of {@link OperationOrigin} that the service accepts. */
|
91
|
+
exports.KnownOperationOrigin = void 0;
|
26
92
|
(function (KnownOperationOrigin) {
|
93
|
+
/** User */
|
27
94
|
KnownOperationOrigin["User"] = "user";
|
95
|
+
/** System */
|
28
96
|
KnownOperationOrigin["System"] = "system";
|
29
97
|
})(exports.KnownOperationOrigin || (exports.KnownOperationOrigin = {}));
|
98
|
+
/** Known values of {@link ResourceSkuCapacityScaleType} that the service accepts. */
|
99
|
+
exports.KnownResourceSkuCapacityScaleType = void 0;
|
30
100
|
(function (KnownResourceSkuCapacityScaleType) {
|
101
|
+
/** Automatic */
|
31
102
|
KnownResourceSkuCapacityScaleType["Automatic"] = "Automatic";
|
103
|
+
/** Manual */
|
32
104
|
KnownResourceSkuCapacityScaleType["Manual"] = "Manual";
|
105
|
+
/** None */
|
33
106
|
KnownResourceSkuCapacityScaleType["None"] = "None";
|
34
107
|
})(exports.KnownResourceSkuCapacityScaleType || (exports.KnownResourceSkuCapacityScaleType = {}));
|
108
|
+
/** Known values of {@link ResourceSkuRestrictionsType} that the service accepts. */
|
109
|
+
exports.KnownResourceSkuRestrictionsType = void 0;
|
35
110
|
(function (KnownResourceSkuRestrictionsType) {
|
111
|
+
/** Location */
|
36
112
|
KnownResourceSkuRestrictionsType["Location"] = "location";
|
37
113
|
})(exports.KnownResourceSkuRestrictionsType || (exports.KnownResourceSkuRestrictionsType = {}));
|
114
|
+
/** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
|
115
|
+
exports.KnownResourceSkuRestrictionsReasonCode = void 0;
|
38
116
|
(function (KnownResourceSkuRestrictionsReasonCode) {
|
117
|
+
/** QuotaId */
|
39
118
|
KnownResourceSkuRestrictionsReasonCode["QuotaId"] = "QuotaId";
|
119
|
+
/** NotAvailableForSubscription */
|
40
120
|
KnownResourceSkuRestrictionsReasonCode["NotAvailableForSubscription"] = "NotAvailableForSubscription";
|
41
121
|
})(exports.KnownResourceSkuRestrictionsReasonCode || (exports.KnownResourceSkuRestrictionsReasonCode = {}));
|
122
|
+
/** Known values of {@link ServiceProvisioningState} that the service accepts. */
|
123
|
+
exports.KnownServiceProvisioningState = void 0;
|
42
124
|
(function (KnownServiceProvisioningState) {
|
125
|
+
/** Accepted */
|
43
126
|
KnownServiceProvisioningState["Accepted"] = "Accepted";
|
127
|
+
/** Deleting */
|
44
128
|
KnownServiceProvisioningState["Deleting"] = "Deleting";
|
129
|
+
/** Deploying */
|
45
130
|
KnownServiceProvisioningState["Deploying"] = "Deploying";
|
131
|
+
/** Stopped */
|
46
132
|
KnownServiceProvisioningState["Stopped"] = "Stopped";
|
133
|
+
/** Stopping */
|
47
134
|
KnownServiceProvisioningState["Stopping"] = "Stopping";
|
135
|
+
/** Starting */
|
48
136
|
KnownServiceProvisioningState["Starting"] = "Starting";
|
137
|
+
/** FailedToStart */
|
49
138
|
KnownServiceProvisioningState["FailedToStart"] = "FailedToStart";
|
139
|
+
/** FailedToStop */
|
50
140
|
KnownServiceProvisioningState["FailedToStop"] = "FailedToStop";
|
141
|
+
/** Succeeded */
|
51
142
|
KnownServiceProvisioningState["Succeeded"] = "Succeeded";
|
143
|
+
/** Failed */
|
52
144
|
KnownServiceProvisioningState["Failed"] = "Failed";
|
53
145
|
})(exports.KnownServiceProvisioningState || (exports.KnownServiceProvisioningState = {}));
|
146
|
+
/** Known values of {@link ServiceScalability} that the service accepts. */
|
147
|
+
exports.KnownServiceScalability = void 0;
|
54
148
|
(function (KnownServiceScalability) {
|
149
|
+
/** None */
|
55
150
|
KnownServiceScalability["None"] = "none";
|
151
|
+
/** Manual */
|
56
152
|
KnownServiceScalability["Manual"] = "manual";
|
153
|
+
/** Automatic */
|
57
154
|
KnownServiceScalability["Automatic"] = "automatic";
|
58
155
|
})(exports.KnownServiceScalability || (exports.KnownServiceScalability = {}));
|
156
|
+
/** Known values of {@link TaskType} that the service accepts. */
|
157
|
+
exports.KnownTaskType = void 0;
|
59
158
|
(function (KnownTaskType) {
|
159
|
+
/** ConnectMongoDb */
|
60
160
|
KnownTaskType["ConnectMongoDb"] = "Connect.MongoDb";
|
161
|
+
/** ConnectToSourceSqlServer */
|
61
162
|
KnownTaskType["ConnectToSourceSqlServer"] = "ConnectToSource.SqlServer";
|
163
|
+
/** ConnectToSourceSqlServerSync */
|
62
164
|
KnownTaskType["ConnectToSourceSqlServerSync"] = "ConnectToSource.SqlServer.Sync";
|
165
|
+
/** ConnectToSourcePostgreSqlSync */
|
63
166
|
KnownTaskType["ConnectToSourcePostgreSqlSync"] = "ConnectToSource.PostgreSql.Sync";
|
167
|
+
/** ConnectToSourceMySql */
|
64
168
|
KnownTaskType["ConnectToSourceMySql"] = "ConnectToSource.MySql";
|
169
|
+
/** ConnectToSourceOracleSync */
|
65
170
|
KnownTaskType["ConnectToSourceOracleSync"] = "ConnectToSource.Oracle.Sync";
|
171
|
+
/** ConnectToTargetSqlDb */
|
66
172
|
KnownTaskType["ConnectToTargetSqlDb"] = "ConnectToTarget.SqlDb";
|
173
|
+
/** ConnectToTargetSqlDbSync */
|
67
174
|
KnownTaskType["ConnectToTargetSqlDbSync"] = "ConnectToTarget.SqlDb.Sync";
|
175
|
+
/** ConnectToTargetAzureDbForPostgreSqlSync */
|
68
176
|
KnownTaskType["ConnectToTargetAzureDbForPostgreSqlSync"] = "ConnectToTarget.AzureDbForPostgreSql.Sync";
|
177
|
+
/** ConnectToTargetOracleAzureDbForPostgreSqlSync */
|
69
178
|
KnownTaskType["ConnectToTargetOracleAzureDbForPostgreSqlSync"] = "ConnectToTarget.Oracle.AzureDbForPostgreSql.Sync";
|
179
|
+
/** ConnectToTargetAzureSqlDbMI */
|
70
180
|
KnownTaskType["ConnectToTargetAzureSqlDbMI"] = "ConnectToTarget.AzureSqlDbMI";
|
181
|
+
/** ConnectToTargetAzureSqlDbMISyncLRS */
|
71
182
|
KnownTaskType["ConnectToTargetAzureSqlDbMISyncLRS"] = "ConnectToTarget.AzureSqlDbMI.Sync.LRS";
|
183
|
+
/** ConnectToTargetAzureDbForMySql */
|
72
184
|
KnownTaskType["ConnectToTargetAzureDbForMySql"] = "ConnectToTarget.AzureDbForMySql";
|
185
|
+
/** GetUserTablesSql */
|
73
186
|
KnownTaskType["GetUserTablesSql"] = "GetUserTables.Sql";
|
187
|
+
/** GetUserTablesAzureSqlDbSync */
|
74
188
|
KnownTaskType["GetUserTablesAzureSqlDbSync"] = "GetUserTables.AzureSqlDb.Sync";
|
189
|
+
/** GetUserTablesOracle */
|
75
190
|
KnownTaskType["GetUserTablesOracle"] = "GetUserTablesOracle";
|
191
|
+
/** GetUserTablesPostgreSql */
|
76
192
|
KnownTaskType["GetUserTablesPostgreSql"] = "GetUserTablesPostgreSql";
|
193
|
+
/** GetUserTablesMySql */
|
77
194
|
KnownTaskType["GetUserTablesMySql"] = "GetUserTablesMySql";
|
195
|
+
/** MigrateMongoDb */
|
78
196
|
KnownTaskType["MigrateMongoDb"] = "Migrate.MongoDb";
|
197
|
+
/** MigrateSqlServerAzureSqlDbMI */
|
79
198
|
KnownTaskType["MigrateSqlServerAzureSqlDbMI"] = "Migrate.SqlServer.AzureSqlDbMI";
|
199
|
+
/** MigrateSqlServerAzureSqlDbMISyncLRS */
|
80
200
|
KnownTaskType["MigrateSqlServerAzureSqlDbMISyncLRS"] = "Migrate.SqlServer.AzureSqlDbMI.Sync.LRS";
|
201
|
+
/** MigrateSqlServerSqlDb */
|
81
202
|
KnownTaskType["MigrateSqlServerSqlDb"] = "Migrate.SqlServer.SqlDb";
|
203
|
+
/** MigrateSqlServerAzureSqlDbSync */
|
82
204
|
KnownTaskType["MigrateSqlServerAzureSqlDbSync"] = "Migrate.SqlServer.AzureSqlDb.Sync";
|
205
|
+
/** MigrateMySqlAzureDbForMySqlSync */
|
83
206
|
KnownTaskType["MigrateMySqlAzureDbForMySqlSync"] = "Migrate.MySql.AzureDbForMySql.Sync";
|
207
|
+
/** MigrateMySqlAzureDbForMySql */
|
84
208
|
KnownTaskType["MigrateMySqlAzureDbForMySql"] = "Migrate.MySql.AzureDbForMySql";
|
209
|
+
/** MigratePostgreSqlAzureDbForPostgreSqlSyncV2 */
|
85
210
|
KnownTaskType["MigratePostgreSqlAzureDbForPostgreSqlSyncV2"] = "Migrate.PostgreSql.AzureDbForPostgreSql.SyncV2";
|
211
|
+
/** MigrateOracleAzureDbForPostgreSqlSync */
|
86
212
|
KnownTaskType["MigrateOracleAzureDbForPostgreSqlSync"] = "Migrate.Oracle.AzureDbForPostgreSql.Sync";
|
213
|
+
/** ValidateMigrationInputSqlServerSqlDbSync */
|
87
214
|
KnownTaskType["ValidateMigrationInputSqlServerSqlDbSync"] = "ValidateMigrationInput.SqlServer.SqlDb.Sync";
|
215
|
+
/** ValidateMigrationInputSqlServerAzureSqlDbMI */
|
88
216
|
KnownTaskType["ValidateMigrationInputSqlServerAzureSqlDbMI"] = "ValidateMigrationInput.SqlServer.AzureSqlDbMI";
|
217
|
+
/** ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS */
|
89
218
|
KnownTaskType["ValidateMigrationInputSqlServerAzureSqlDbMISyncLRS"] = "ValidateMigrationInput.SqlServer.AzureSqlDbMI.Sync.LRS";
|
219
|
+
/** ValidateMongoDb */
|
90
220
|
KnownTaskType["ValidateMongoDb"] = "Validate.MongoDb";
|
221
|
+
/** ValidateOracleAzureDbPostgreSqlSync */
|
91
222
|
KnownTaskType["ValidateOracleAzureDbPostgreSqlSync"] = "Validate.Oracle.AzureDbPostgreSql.Sync";
|
223
|
+
/** GetTDECertificatesSql */
|
92
224
|
KnownTaskType["GetTDECertificatesSql"] = "GetTDECertificates.Sql";
|
225
|
+
/** MigrateSsis */
|
93
226
|
KnownTaskType["MigrateSsis"] = "Migrate.Ssis";
|
227
|
+
/** ServiceCheckOCI */
|
94
228
|
KnownTaskType["ServiceCheckOCI"] = "Service.Check.OCI";
|
229
|
+
/** ServiceUploadOCI */
|
95
230
|
KnownTaskType["ServiceUploadOCI"] = "Service.Upload.OCI";
|
231
|
+
/** ServiceInstallOCI */
|
96
232
|
KnownTaskType["ServiceInstallOCI"] = "Service.Install.OCI";
|
233
|
+
/** MigrateSchemaSqlServerSqlDb */
|
97
234
|
KnownTaskType["MigrateSchemaSqlServerSqlDb"] = "MigrateSchemaSqlServerSqlDb";
|
98
235
|
})(exports.KnownTaskType || (exports.KnownTaskType = {}));
|
236
|
+
/** Known values of {@link TaskState} that the service accepts. */
|
237
|
+
exports.KnownTaskState = void 0;
|
99
238
|
(function (KnownTaskState) {
|
239
|
+
/** Unknown */
|
100
240
|
KnownTaskState["Unknown"] = "Unknown";
|
241
|
+
/** Queued */
|
101
242
|
KnownTaskState["Queued"] = "Queued";
|
243
|
+
/** Running */
|
102
244
|
KnownTaskState["Running"] = "Running";
|
245
|
+
/** Canceled */
|
103
246
|
KnownTaskState["Canceled"] = "Canceled";
|
247
|
+
/** Succeeded */
|
104
248
|
KnownTaskState["Succeeded"] = "Succeeded";
|
249
|
+
/** Failed */
|
105
250
|
KnownTaskState["Failed"] = "Failed";
|
251
|
+
/** FailedInputValidation */
|
106
252
|
KnownTaskState["FailedInputValidation"] = "FailedInputValidation";
|
253
|
+
/** Faulted */
|
107
254
|
KnownTaskState["Faulted"] = "Faulted";
|
108
255
|
})(exports.KnownTaskState || (exports.KnownTaskState = {}));
|
256
|
+
/** Known values of {@link CommandType} that the service accepts. */
|
257
|
+
exports.KnownCommandType = void 0;
|
109
258
|
(function (KnownCommandType) {
|
259
|
+
/** MigrateSyncCompleteDatabase */
|
110
260
|
KnownCommandType["MigrateSyncCompleteDatabase"] = "Migrate.Sync.Complete.Database";
|
261
|
+
/** MigrateSqlServerAzureDbSqlMiComplete */
|
111
262
|
KnownCommandType["MigrateSqlServerAzureDbSqlMiComplete"] = "Migrate.SqlServer.AzureDbSqlMi.Complete";
|
263
|
+
/** Cancel */
|
112
264
|
KnownCommandType["Cancel"] = "cancel";
|
265
|
+
/** Finish */
|
113
266
|
KnownCommandType["Finish"] = "finish";
|
267
|
+
/** Restart */
|
114
268
|
KnownCommandType["Restart"] = "restart";
|
115
269
|
})(exports.KnownCommandType || (exports.KnownCommandType = {}));
|
270
|
+
/** Known values of {@link CommandState} that the service accepts. */
|
271
|
+
exports.KnownCommandState = void 0;
|
116
272
|
(function (KnownCommandState) {
|
273
|
+
/** Unknown */
|
117
274
|
KnownCommandState["Unknown"] = "Unknown";
|
275
|
+
/** Accepted */
|
118
276
|
KnownCommandState["Accepted"] = "Accepted";
|
277
|
+
/** Running */
|
119
278
|
KnownCommandState["Running"] = "Running";
|
279
|
+
/** Succeeded */
|
120
280
|
KnownCommandState["Succeeded"] = "Succeeded";
|
281
|
+
/** Failed */
|
121
282
|
KnownCommandState["Failed"] = "Failed";
|
122
283
|
})(exports.KnownCommandState || (exports.KnownCommandState = {}));
|
284
|
+
/** Known values of {@link NameCheckFailureReason} that the service accepts. */
|
285
|
+
exports.KnownNameCheckFailureReason = void 0;
|
123
286
|
(function (KnownNameCheckFailureReason) {
|
287
|
+
/** AlreadyExists */
|
124
288
|
KnownNameCheckFailureReason["AlreadyExists"] = "AlreadyExists";
|
289
|
+
/** Invalid */
|
125
290
|
KnownNameCheckFailureReason["Invalid"] = "Invalid";
|
126
291
|
})(exports.KnownNameCheckFailureReason || (exports.KnownNameCheckFailureReason = {}));
|
292
|
+
/** Known values of {@link ProjectSourcePlatform} that the service accepts. */
|
293
|
+
exports.KnownProjectSourcePlatform = void 0;
|
127
294
|
(function (KnownProjectSourcePlatform) {
|
295
|
+
/** SQL */
|
128
296
|
KnownProjectSourcePlatform["SQL"] = "SQL";
|
297
|
+
/** MySQL */
|
129
298
|
KnownProjectSourcePlatform["MySQL"] = "MySQL";
|
299
|
+
/** PostgreSql */
|
130
300
|
KnownProjectSourcePlatform["PostgreSql"] = "PostgreSql";
|
301
|
+
/** MongoDb */
|
131
302
|
KnownProjectSourcePlatform["MongoDb"] = "MongoDb";
|
303
|
+
/** Unknown */
|
132
304
|
KnownProjectSourcePlatform["Unknown"] = "Unknown";
|
133
305
|
})(exports.KnownProjectSourcePlatform || (exports.KnownProjectSourcePlatform = {}));
|
306
|
+
/** Known values of {@link ProjectTargetPlatform} that the service accepts. */
|
307
|
+
exports.KnownProjectTargetPlatform = void 0;
|
134
308
|
(function (KnownProjectTargetPlatform) {
|
309
|
+
/** Sqldb */
|
135
310
|
KnownProjectTargetPlatform["Sqldb"] = "SQLDB";
|
311
|
+
/** Sqlmi */
|
136
312
|
KnownProjectTargetPlatform["Sqlmi"] = "SQLMI";
|
313
|
+
/** AzureDbForMySql */
|
137
314
|
KnownProjectTargetPlatform["AzureDbForMySql"] = "AzureDbForMySql";
|
315
|
+
/** AzureDbForPostgreSql */
|
138
316
|
KnownProjectTargetPlatform["AzureDbForPostgreSql"] = "AzureDbForPostgreSql";
|
317
|
+
/** MongoDb */
|
139
318
|
KnownProjectTargetPlatform["MongoDb"] = "MongoDb";
|
319
|
+
/** Unknown */
|
140
320
|
KnownProjectTargetPlatform["Unknown"] = "Unknown";
|
141
321
|
})(exports.KnownProjectTargetPlatform || (exports.KnownProjectTargetPlatform = {}));
|
322
|
+
/** Known values of {@link ProjectProvisioningState} that the service accepts. */
|
323
|
+
exports.KnownProjectProvisioningState = void 0;
|
142
324
|
(function (KnownProjectProvisioningState) {
|
325
|
+
/** Deleting */
|
143
326
|
KnownProjectProvisioningState["Deleting"] = "Deleting";
|
327
|
+
/** Succeeded */
|
144
328
|
KnownProjectProvisioningState["Succeeded"] = "Succeeded";
|
145
329
|
})(exports.KnownProjectProvisioningState || (exports.KnownProjectProvisioningState = {}));
|
330
|
+
/** Known values of {@link AuthenticationType} that the service accepts. */
|
331
|
+
exports.KnownAuthenticationType = void 0;
|
146
332
|
(function (KnownAuthenticationType) {
|
333
|
+
/** None */
|
147
334
|
KnownAuthenticationType["None"] = "None";
|
335
|
+
/** WindowsAuthentication */
|
148
336
|
KnownAuthenticationType["WindowsAuthentication"] = "WindowsAuthentication";
|
337
|
+
/** SqlAuthentication */
|
149
338
|
KnownAuthenticationType["SqlAuthentication"] = "SqlAuthentication";
|
339
|
+
/** ActiveDirectoryIntegrated */
|
150
340
|
KnownAuthenticationType["ActiveDirectoryIntegrated"] = "ActiveDirectoryIntegrated";
|
341
|
+
/** ActiveDirectoryPassword */
|
151
342
|
KnownAuthenticationType["ActiveDirectoryPassword"] = "ActiveDirectoryPassword";
|
152
343
|
})(exports.KnownAuthenticationType || (exports.KnownAuthenticationType = {}));
|
344
|
+
/** Known values of {@link SqlSourcePlatform} that the service accepts. */
|
345
|
+
exports.KnownSqlSourcePlatform = void 0;
|
153
346
|
(function (KnownSqlSourcePlatform) {
|
347
|
+
/** SqlOnPrem */
|
154
348
|
KnownSqlSourcePlatform["SqlOnPrem"] = "SqlOnPrem";
|
155
349
|
})(exports.KnownSqlSourcePlatform || (exports.KnownSqlSourcePlatform = {}));
|
350
|
+
/** Known values of {@link BackupType} that the service accepts. */
|
351
|
+
exports.KnownBackupType = void 0;
|
156
352
|
(function (KnownBackupType) {
|
353
|
+
/** Database */
|
157
354
|
KnownBackupType["Database"] = "Database";
|
355
|
+
/** TransactionLog */
|
158
356
|
KnownBackupType["TransactionLog"] = "TransactionLog";
|
357
|
+
/** File */
|
159
358
|
KnownBackupType["File"] = "File";
|
359
|
+
/** DifferentialDatabase */
|
160
360
|
KnownBackupType["DifferentialDatabase"] = "DifferentialDatabase";
|
361
|
+
/** DifferentialFile */
|
161
362
|
KnownBackupType["DifferentialFile"] = "DifferentialFile";
|
363
|
+
/** Partial */
|
162
364
|
KnownBackupType["Partial"] = "Partial";
|
365
|
+
/** DifferentialPartial */
|
163
366
|
KnownBackupType["DifferentialPartial"] = "DifferentialPartial";
|
164
367
|
})(exports.KnownBackupType || (exports.KnownBackupType = {}));
|
368
|
+
/** Known values of {@link BackupFileStatus} that the service accepts. */
|
369
|
+
exports.KnownBackupFileStatus = void 0;
|
165
370
|
(function (KnownBackupFileStatus) {
|
371
|
+
/** Arrived */
|
166
372
|
KnownBackupFileStatus["Arrived"] = "Arrived";
|
373
|
+
/** Queued */
|
167
374
|
KnownBackupFileStatus["Queued"] = "Queued";
|
375
|
+
/** Uploading */
|
168
376
|
KnownBackupFileStatus["Uploading"] = "Uploading";
|
377
|
+
/** Uploaded */
|
169
378
|
KnownBackupFileStatus["Uploaded"] = "Uploaded";
|
379
|
+
/** Restoring */
|
170
380
|
KnownBackupFileStatus["Restoring"] = "Restoring";
|
381
|
+
/** Restored */
|
171
382
|
KnownBackupFileStatus["Restored"] = "Restored";
|
383
|
+
/** Cancelled */
|
172
384
|
KnownBackupFileStatus["Cancelled"] = "Cancelled";
|
173
385
|
})(exports.KnownBackupFileStatus || (exports.KnownBackupFileStatus = {}));
|
386
|
+
/** Known values of {@link MySqlTargetPlatformType} that the service accepts. */
|
387
|
+
exports.KnownMySqlTargetPlatformType = void 0;
|
174
388
|
(function (KnownMySqlTargetPlatformType) {
|
389
|
+
/** SqlServer */
|
175
390
|
KnownMySqlTargetPlatformType["SqlServer"] = "SqlServer";
|
391
|
+
/** AzureDbForMySQL */
|
176
392
|
KnownMySqlTargetPlatformType["AzureDbForMySQL"] = "AzureDbForMySQL";
|
177
393
|
})(exports.KnownMySqlTargetPlatformType || (exports.KnownMySqlTargetPlatformType = {}));
|
394
|
+
/** Known values of {@link DatabaseFileType} that the service accepts. */
|
395
|
+
exports.KnownDatabaseFileType = void 0;
|
178
396
|
(function (KnownDatabaseFileType) {
|
397
|
+
/** Rows */
|
179
398
|
KnownDatabaseFileType["Rows"] = "Rows";
|
399
|
+
/** Log */
|
180
400
|
KnownDatabaseFileType["Log"] = "Log";
|
401
|
+
/** Filestream */
|
181
402
|
KnownDatabaseFileType["Filestream"] = "Filestream";
|
403
|
+
/** NotSupported */
|
182
404
|
KnownDatabaseFileType["NotSupported"] = "NotSupported";
|
405
|
+
/** Fulltext */
|
183
406
|
KnownDatabaseFileType["Fulltext"] = "Fulltext";
|
184
407
|
})(exports.KnownDatabaseFileType || (exports.KnownDatabaseFileType = {}));
|
408
|
+
/** Known values of {@link DatabaseCompatLevel} that the service accepts. */
|
409
|
+
exports.KnownDatabaseCompatLevel = void 0;
|
185
410
|
(function (KnownDatabaseCompatLevel) {
|
411
|
+
/** CompatLevel80 */
|
186
412
|
KnownDatabaseCompatLevel["CompatLevel80"] = "CompatLevel80";
|
413
|
+
/** CompatLevel90 */
|
187
414
|
KnownDatabaseCompatLevel["CompatLevel90"] = "CompatLevel90";
|
415
|
+
/** CompatLevel100 */
|
188
416
|
KnownDatabaseCompatLevel["CompatLevel100"] = "CompatLevel100";
|
417
|
+
/** CompatLevel110 */
|
189
418
|
KnownDatabaseCompatLevel["CompatLevel110"] = "CompatLevel110";
|
419
|
+
/** CompatLevel120 */
|
190
420
|
KnownDatabaseCompatLevel["CompatLevel120"] = "CompatLevel120";
|
421
|
+
/** CompatLevel130 */
|
191
422
|
KnownDatabaseCompatLevel["CompatLevel130"] = "CompatLevel130";
|
423
|
+
/** CompatLevel140 */
|
192
424
|
KnownDatabaseCompatLevel["CompatLevel140"] = "CompatLevel140";
|
193
425
|
})(exports.KnownDatabaseCompatLevel || (exports.KnownDatabaseCompatLevel = {}));
|
426
|
+
/** Known values of {@link DatabaseState} that the service accepts. */
|
427
|
+
exports.KnownDatabaseState = void 0;
|
194
428
|
(function (KnownDatabaseState) {
|
429
|
+
/** Online */
|
195
430
|
KnownDatabaseState["Online"] = "Online";
|
431
|
+
/** Restoring */
|
196
432
|
KnownDatabaseState["Restoring"] = "Restoring";
|
433
|
+
/** Recovering */
|
197
434
|
KnownDatabaseState["Recovering"] = "Recovering";
|
435
|
+
/** RecoveryPending */
|
198
436
|
KnownDatabaseState["RecoveryPending"] = "RecoveryPending";
|
437
|
+
/** Suspect */
|
199
438
|
KnownDatabaseState["Suspect"] = "Suspect";
|
439
|
+
/** Emergency */
|
200
440
|
KnownDatabaseState["Emergency"] = "Emergency";
|
441
|
+
/** Offline */
|
201
442
|
KnownDatabaseState["Offline"] = "Offline";
|
443
|
+
/** Copying */
|
202
444
|
KnownDatabaseState["Copying"] = "Copying";
|
445
|
+
/** OfflineSecondary */
|
203
446
|
KnownDatabaseState["OfflineSecondary"] = "OfflineSecondary";
|
204
447
|
})(exports.KnownDatabaseState || (exports.KnownDatabaseState = {}));
|
448
|
+
/** Known values of {@link LoginType} that the service accepts. */
|
449
|
+
exports.KnownLoginType = void 0;
|
205
450
|
(function (KnownLoginType) {
|
451
|
+
/** WindowsUser */
|
206
452
|
KnownLoginType["WindowsUser"] = "WindowsUser";
|
453
|
+
/** WindowsGroup */
|
207
454
|
KnownLoginType["WindowsGroup"] = "WindowsGroup";
|
455
|
+
/** SqlLogin */
|
208
456
|
KnownLoginType["SqlLogin"] = "SqlLogin";
|
457
|
+
/** Certificate */
|
209
458
|
KnownLoginType["Certificate"] = "Certificate";
|
459
|
+
/** AsymmetricKey */
|
210
460
|
KnownLoginType["AsymmetricKey"] = "AsymmetricKey";
|
461
|
+
/** ExternalUser */
|
211
462
|
KnownLoginType["ExternalUser"] = "ExternalUser";
|
463
|
+
/** ExternalGroup */
|
212
464
|
KnownLoginType["ExternalGroup"] = "ExternalGroup";
|
213
465
|
})(exports.KnownLoginType || (exports.KnownLoginType = {}));
|
466
|
+
/** Known values of {@link SchemaMigrationOption} that the service accepts. */
|
467
|
+
exports.KnownSchemaMigrationOption = void 0;
|
214
468
|
(function (KnownSchemaMigrationOption) {
|
469
|
+
/** None */
|
215
470
|
KnownSchemaMigrationOption["None"] = "None";
|
471
|
+
/** ExtractFromSource */
|
216
472
|
KnownSchemaMigrationOption["ExtractFromSource"] = "ExtractFromSource";
|
473
|
+
/** UseStorageFile */
|
217
474
|
KnownSchemaMigrationOption["UseStorageFile"] = "UseStorageFile";
|
218
475
|
})(exports.KnownSchemaMigrationOption || (exports.KnownSchemaMigrationOption = {}));
|
476
|
+
/** Known values of {@link MigrationState} that the service accepts. */
|
477
|
+
exports.KnownMigrationState = void 0;
|
219
478
|
(function (KnownMigrationState) {
|
479
|
+
/** None */
|
220
480
|
KnownMigrationState["None"] = "None";
|
481
|
+
/** InProgress */
|
221
482
|
KnownMigrationState["InProgress"] = "InProgress";
|
483
|
+
/** Failed */
|
222
484
|
KnownMigrationState["Failed"] = "Failed";
|
485
|
+
/** Warning */
|
223
486
|
KnownMigrationState["Warning"] = "Warning";
|
487
|
+
/** Completed */
|
224
488
|
KnownMigrationState["Completed"] = "Completed";
|
489
|
+
/** Skipped */
|
225
490
|
KnownMigrationState["Skipped"] = "Skipped";
|
491
|
+
/** Stopped */
|
226
492
|
KnownMigrationState["Stopped"] = "Stopped";
|
227
493
|
})(exports.KnownMigrationState || (exports.KnownMigrationState = {}));
|
494
|
+
/** Known values of {@link SchemaMigrationStage} that the service accepts. */
|
495
|
+
exports.KnownSchemaMigrationStage = void 0;
|
228
496
|
(function (KnownSchemaMigrationStage) {
|
497
|
+
/** NotStarted */
|
229
498
|
KnownSchemaMigrationStage["NotStarted"] = "NotStarted";
|
499
|
+
/** ValidatingInputs */
|
230
500
|
KnownSchemaMigrationStage["ValidatingInputs"] = "ValidatingInputs";
|
501
|
+
/** CollectingObjects */
|
231
502
|
KnownSchemaMigrationStage["CollectingObjects"] = "CollectingObjects";
|
503
|
+
/** DownloadingScript */
|
232
504
|
KnownSchemaMigrationStage["DownloadingScript"] = "DownloadingScript";
|
505
|
+
/** GeneratingScript */
|
233
506
|
KnownSchemaMigrationStage["GeneratingScript"] = "GeneratingScript";
|
507
|
+
/** UploadingScript */
|
234
508
|
KnownSchemaMigrationStage["UploadingScript"] = "UploadingScript";
|
509
|
+
/** DeployingSchema */
|
235
510
|
KnownSchemaMigrationStage["DeployingSchema"] = "DeployingSchema";
|
511
|
+
/** Completed */
|
236
512
|
KnownSchemaMigrationStage["Completed"] = "Completed";
|
513
|
+
/** CompletedWithWarnings */
|
237
514
|
KnownSchemaMigrationStage["CompletedWithWarnings"] = "CompletedWithWarnings";
|
515
|
+
/** Failed */
|
238
516
|
KnownSchemaMigrationStage["Failed"] = "Failed";
|
239
517
|
})(exports.KnownSchemaMigrationStage || (exports.KnownSchemaMigrationStage = {}));
|
518
|
+
/** Known values of {@link SyncDatabaseMigrationReportingState} that the service accepts. */
|
519
|
+
exports.KnownSyncDatabaseMigrationReportingState = void 0;
|
240
520
|
(function (KnownSyncDatabaseMigrationReportingState) {
|
521
|
+
/** Undefined */
|
241
522
|
KnownSyncDatabaseMigrationReportingState["Undefined"] = "UNDEFINED";
|
523
|
+
/** Configuring */
|
242
524
|
KnownSyncDatabaseMigrationReportingState["Configuring"] = "CONFIGURING";
|
525
|
+
/** Initialiazing */
|
243
526
|
KnownSyncDatabaseMigrationReportingState["Initialiazing"] = "INITIALIAZING";
|
527
|
+
/** Starting */
|
244
528
|
KnownSyncDatabaseMigrationReportingState["Starting"] = "STARTING";
|
529
|
+
/** Running */
|
245
530
|
KnownSyncDatabaseMigrationReportingState["Running"] = "RUNNING";
|
531
|
+
/** ReadyTOComplete */
|
246
532
|
KnownSyncDatabaseMigrationReportingState["ReadyTOComplete"] = "READY_TO_COMPLETE";
|
533
|
+
/** Completing */
|
247
534
|
KnownSyncDatabaseMigrationReportingState["Completing"] = "COMPLETING";
|
535
|
+
/** Complete */
|
248
536
|
KnownSyncDatabaseMigrationReportingState["Complete"] = "COMPLETE";
|
537
|
+
/** Cancelling */
|
249
538
|
KnownSyncDatabaseMigrationReportingState["Cancelling"] = "CANCELLING";
|
539
|
+
/** Cancelled */
|
250
540
|
KnownSyncDatabaseMigrationReportingState["Cancelled"] = "CANCELLED";
|
541
|
+
/** Failed */
|
251
542
|
KnownSyncDatabaseMigrationReportingState["Failed"] = "FAILED";
|
543
|
+
/** Validating */
|
252
544
|
KnownSyncDatabaseMigrationReportingState["Validating"] = "VALIDATING";
|
545
|
+
/** ValidationComplete */
|
253
546
|
KnownSyncDatabaseMigrationReportingState["ValidationComplete"] = "VALIDATION_COMPLETE";
|
547
|
+
/** ValidationFailed */
|
254
548
|
KnownSyncDatabaseMigrationReportingState["ValidationFailed"] = "VALIDATION_FAILED";
|
549
|
+
/** RestoreINProgress */
|
255
550
|
KnownSyncDatabaseMigrationReportingState["RestoreINProgress"] = "RESTORE_IN_PROGRESS";
|
551
|
+
/** RestoreCompleted */
|
256
552
|
KnownSyncDatabaseMigrationReportingState["RestoreCompleted"] = "RESTORE_COMPLETED";
|
553
|
+
/** BackupINProgress */
|
257
554
|
KnownSyncDatabaseMigrationReportingState["BackupINProgress"] = "BACKUP_IN_PROGRESS";
|
555
|
+
/** BackupCompleted */
|
258
556
|
KnownSyncDatabaseMigrationReportingState["BackupCompleted"] = "BACKUP_COMPLETED";
|
259
557
|
})(exports.KnownSyncDatabaseMigrationReportingState || (exports.KnownSyncDatabaseMigrationReportingState = {}));
|
558
|
+
/** Known values of {@link SyncTableMigrationState} that the service accepts. */
|
559
|
+
exports.KnownSyncTableMigrationState = void 0;
|
260
560
|
(function (KnownSyncTableMigrationState) {
|
561
|
+
/** BeforeLoad */
|
261
562
|
KnownSyncTableMigrationState["BeforeLoad"] = "BEFORE_LOAD";
|
563
|
+
/** FullLoad */
|
262
564
|
KnownSyncTableMigrationState["FullLoad"] = "FULL_LOAD";
|
565
|
+
/** Completed */
|
263
566
|
KnownSyncTableMigrationState["Completed"] = "COMPLETED";
|
567
|
+
/** Canceled */
|
264
568
|
KnownSyncTableMigrationState["Canceled"] = "CANCELED";
|
569
|
+
/** Error */
|
265
570
|
KnownSyncTableMigrationState["Error"] = "ERROR";
|
571
|
+
/** Failed */
|
266
572
|
KnownSyncTableMigrationState["Failed"] = "FAILED";
|
267
573
|
})(exports.KnownSyncTableMigrationState || (exports.KnownSyncTableMigrationState = {}));
|
574
|
+
/** Known values of {@link ScenarioSource} that the service accepts. */
|
575
|
+
exports.KnownScenarioSource = void 0;
|
268
576
|
(function (KnownScenarioSource) {
|
577
|
+
/** Access */
|
269
578
|
KnownScenarioSource["Access"] = "Access";
|
579
|
+
/** DB2 */
|
270
580
|
KnownScenarioSource["DB2"] = "DB2";
|
581
|
+
/** MySQL */
|
271
582
|
KnownScenarioSource["MySQL"] = "MySQL";
|
583
|
+
/** Oracle */
|
272
584
|
KnownScenarioSource["Oracle"] = "Oracle";
|
585
|
+
/** SQL */
|
273
586
|
KnownScenarioSource["SQL"] = "SQL";
|
587
|
+
/** Sybase */
|
274
588
|
KnownScenarioSource["Sybase"] = "Sybase";
|
589
|
+
/** PostgreSQL */
|
275
590
|
KnownScenarioSource["PostgreSQL"] = "PostgreSQL";
|
591
|
+
/** MongoDB */
|
276
592
|
KnownScenarioSource["MongoDB"] = "MongoDB";
|
593
|
+
/** Sqlrds */
|
277
594
|
KnownScenarioSource["Sqlrds"] = "SQLRDS";
|
595
|
+
/** MySqlrds */
|
278
596
|
KnownScenarioSource["MySqlrds"] = "MySQLRDS";
|
597
|
+
/** PostgreSqlrds */
|
279
598
|
KnownScenarioSource["PostgreSqlrds"] = "PostgreSQLRDS";
|
280
599
|
})(exports.KnownScenarioSource || (exports.KnownScenarioSource = {}));
|
600
|
+
/** Known values of {@link ScenarioTarget} that the service accepts. */
|
601
|
+
exports.KnownScenarioTarget = void 0;
|
281
602
|
(function (KnownScenarioTarget) {
|
603
|
+
/** SQLServer */
|
282
604
|
KnownScenarioTarget["SQLServer"] = "SQLServer";
|
605
|
+
/** Sqldb */
|
283
606
|
KnownScenarioTarget["Sqldb"] = "SQLDB";
|
607
|
+
/** Sqldw */
|
284
608
|
KnownScenarioTarget["Sqldw"] = "SQLDW";
|
609
|
+
/** Sqlmi */
|
285
610
|
KnownScenarioTarget["Sqlmi"] = "SQLMI";
|
611
|
+
/** AzureDBForMySql */
|
286
612
|
KnownScenarioTarget["AzureDBForMySql"] = "AzureDBForMySql";
|
613
|
+
/** AzureDBForPostgresSQL */
|
287
614
|
KnownScenarioTarget["AzureDBForPostgresSQL"] = "AzureDBForPostgresSQL";
|
615
|
+
/** MongoDB */
|
288
616
|
KnownScenarioTarget["MongoDB"] = "MongoDB";
|
289
617
|
})(exports.KnownScenarioTarget || (exports.KnownScenarioTarget = {}));
|
618
|
+
/** Known values of {@link ReplicateMigrationState} that the service accepts. */
|
619
|
+
exports.KnownReplicateMigrationState = void 0;
|
290
620
|
(function (KnownReplicateMigrationState) {
|
621
|
+
/** Undefined */
|
291
622
|
KnownReplicateMigrationState["Undefined"] = "UNDEFINED";
|
623
|
+
/** Validating */
|
292
624
|
KnownReplicateMigrationState["Validating"] = "VALIDATING";
|
625
|
+
/** Pending */
|
293
626
|
KnownReplicateMigrationState["Pending"] = "PENDING";
|
627
|
+
/** Complete */
|
294
628
|
KnownReplicateMigrationState["Complete"] = "COMPLETE";
|
629
|
+
/** ActionRequired */
|
295
630
|
KnownReplicateMigrationState["ActionRequired"] = "ACTION_REQUIRED";
|
631
|
+
/** Failed */
|
296
632
|
KnownReplicateMigrationState["Failed"] = "FAILED";
|
297
633
|
})(exports.KnownReplicateMigrationState || (exports.KnownReplicateMigrationState = {}));
|
634
|
+
/** Known values of {@link MigrationStatus} that the service accepts. */
|
635
|
+
exports.KnownMigrationStatus = void 0;
|
298
636
|
(function (KnownMigrationStatus) {
|
637
|
+
/** Default */
|
299
638
|
KnownMigrationStatus["Default"] = "Default";
|
639
|
+
/** Connecting */
|
300
640
|
KnownMigrationStatus["Connecting"] = "Connecting";
|
641
|
+
/** SourceAndTargetSelected */
|
301
642
|
KnownMigrationStatus["SourceAndTargetSelected"] = "SourceAndTargetSelected";
|
643
|
+
/** SelectLogins */
|
302
644
|
KnownMigrationStatus["SelectLogins"] = "SelectLogins";
|
645
|
+
/** Configured */
|
303
646
|
KnownMigrationStatus["Configured"] = "Configured";
|
647
|
+
/** Running */
|
304
648
|
KnownMigrationStatus["Running"] = "Running";
|
649
|
+
/** Error */
|
305
650
|
KnownMigrationStatus["Error"] = "Error";
|
651
|
+
/** Stopped */
|
306
652
|
KnownMigrationStatus["Stopped"] = "Stopped";
|
653
|
+
/** Completed */
|
307
654
|
KnownMigrationStatus["Completed"] = "Completed";
|
655
|
+
/** CompletedWithWarnings */
|
308
656
|
KnownMigrationStatus["CompletedWithWarnings"] = "CompletedWithWarnings";
|
309
657
|
})(exports.KnownMigrationStatus || (exports.KnownMigrationStatus = {}));
|
658
|
+
/** Known values of {@link ValidationStatus} that the service accepts. */
|
659
|
+
exports.KnownValidationStatus = void 0;
|
310
660
|
(function (KnownValidationStatus) {
|
661
|
+
/** Default */
|
311
662
|
KnownValidationStatus["Default"] = "Default";
|
663
|
+
/** NotStarted */
|
312
664
|
KnownValidationStatus["NotStarted"] = "NotStarted";
|
665
|
+
/** Initialized */
|
313
666
|
KnownValidationStatus["Initialized"] = "Initialized";
|
667
|
+
/** InProgress */
|
314
668
|
KnownValidationStatus["InProgress"] = "InProgress";
|
669
|
+
/** Completed */
|
315
670
|
KnownValidationStatus["Completed"] = "Completed";
|
671
|
+
/** CompletedWithIssues */
|
316
672
|
KnownValidationStatus["CompletedWithIssues"] = "CompletedWithIssues";
|
673
|
+
/** Stopped */
|
317
674
|
KnownValidationStatus["Stopped"] = "Stopped";
|
675
|
+
/** Failed */
|
318
676
|
KnownValidationStatus["Failed"] = "Failed";
|
319
677
|
})(exports.KnownValidationStatus || (exports.KnownValidationStatus = {}));
|
678
|
+
/** Known values of {@link DatabaseMigrationStage} that the service accepts. */
|
679
|
+
exports.KnownDatabaseMigrationStage = void 0;
|
320
680
|
(function (KnownDatabaseMigrationStage) {
|
681
|
+
/** None */
|
321
682
|
KnownDatabaseMigrationStage["None"] = "None";
|
683
|
+
/** Initialize */
|
322
684
|
KnownDatabaseMigrationStage["Initialize"] = "Initialize";
|
685
|
+
/** Backup */
|
323
686
|
KnownDatabaseMigrationStage["Backup"] = "Backup";
|
687
|
+
/** FileCopy */
|
324
688
|
KnownDatabaseMigrationStage["FileCopy"] = "FileCopy";
|
689
|
+
/** Restore */
|
325
690
|
KnownDatabaseMigrationStage["Restore"] = "Restore";
|
691
|
+
/** Completed */
|
326
692
|
KnownDatabaseMigrationStage["Completed"] = "Completed";
|
327
693
|
})(exports.KnownDatabaseMigrationStage || (exports.KnownDatabaseMigrationStage = {}));
|
694
|
+
/** Known values of {@link Severity} that the service accepts. */
|
695
|
+
exports.KnownSeverity = void 0;
|
328
696
|
(function (KnownSeverity) {
|
697
|
+
/** Message */
|
329
698
|
KnownSeverity["Message"] = "Message";
|
699
|
+
/** Warning */
|
330
700
|
KnownSeverity["Warning"] = "Warning";
|
701
|
+
/** Error */
|
331
702
|
KnownSeverity["Error"] = "Error";
|
332
703
|
})(exports.KnownSeverity || (exports.KnownSeverity = {}));
|
704
|
+
/** Known values of {@link ObjectType} that the service accepts. */
|
705
|
+
exports.KnownObjectType = void 0;
|
333
706
|
(function (KnownObjectType) {
|
707
|
+
/** StoredProcedures */
|
334
708
|
KnownObjectType["StoredProcedures"] = "StoredProcedures";
|
709
|
+
/** Table */
|
335
710
|
KnownObjectType["Table"] = "Table";
|
711
|
+
/** User */
|
336
712
|
KnownObjectType["User"] = "User";
|
713
|
+
/** View */
|
337
714
|
KnownObjectType["View"] = "View";
|
715
|
+
/** Function */
|
338
716
|
KnownObjectType["Function"] = "Function";
|
339
717
|
})(exports.KnownObjectType || (exports.KnownObjectType = {}));
|
718
|
+
/** Known values of {@link UpdateActionType} that the service accepts. */
|
719
|
+
exports.KnownUpdateActionType = void 0;
|
340
720
|
(function (KnownUpdateActionType) {
|
721
|
+
/** DeletedOnTarget */
|
341
722
|
KnownUpdateActionType["DeletedOnTarget"] = "DeletedOnTarget";
|
723
|
+
/** ChangedOnTarget */
|
342
724
|
KnownUpdateActionType["ChangedOnTarget"] = "ChangedOnTarget";
|
725
|
+
/** AddedOnTarget */
|
343
726
|
KnownUpdateActionType["AddedOnTarget"] = "AddedOnTarget";
|
344
727
|
})(exports.KnownUpdateActionType || (exports.KnownUpdateActionType = {}));
|
728
|
+
/** Known values of {@link DatabaseMigrationState} that the service accepts. */
|
729
|
+
exports.KnownDatabaseMigrationState = void 0;
|
345
730
|
(function (KnownDatabaseMigrationState) {
|
731
|
+
/** Undefined */
|
346
732
|
KnownDatabaseMigrationState["Undefined"] = "UNDEFINED";
|
733
|
+
/** Initial */
|
347
734
|
KnownDatabaseMigrationState["Initial"] = "INITIAL";
|
735
|
+
/** FullBackupUploadStart */
|
348
736
|
KnownDatabaseMigrationState["FullBackupUploadStart"] = "FULL_BACKUP_UPLOAD_START";
|
737
|
+
/** LOGShippingStart */
|
349
738
|
KnownDatabaseMigrationState["LOGShippingStart"] = "LOG_SHIPPING_START";
|
739
|
+
/** UploadLOGFilesStart */
|
350
740
|
KnownDatabaseMigrationState["UploadLOGFilesStart"] = "UPLOAD_LOG_FILES_START";
|
741
|
+
/** CutoverStart */
|
351
742
|
KnownDatabaseMigrationState["CutoverStart"] = "CUTOVER_START";
|
743
|
+
/** PostCutoverComplete */
|
352
744
|
KnownDatabaseMigrationState["PostCutoverComplete"] = "POST_CUTOVER_COMPLETE";
|
745
|
+
/** Completed */
|
353
746
|
KnownDatabaseMigrationState["Completed"] = "COMPLETED";
|
747
|
+
/** Cancelled */
|
354
748
|
KnownDatabaseMigrationState["Cancelled"] = "CANCELLED";
|
749
|
+
/** Failed */
|
355
750
|
KnownDatabaseMigrationState["Failed"] = "FAILED";
|
356
751
|
})(exports.KnownDatabaseMigrationState || (exports.KnownDatabaseMigrationState = {}));
|
752
|
+
/** Known values of {@link BackupMode} that the service accepts. */
|
753
|
+
exports.KnownBackupMode = void 0;
|
357
754
|
(function (KnownBackupMode) {
|
755
|
+
/** CreateBackup */
|
358
756
|
KnownBackupMode["CreateBackup"] = "CreateBackup";
|
757
|
+
/** ExistingBackup */
|
359
758
|
KnownBackupMode["ExistingBackup"] = "ExistingBackup";
|
360
759
|
})(exports.KnownBackupMode || (exports.KnownBackupMode = {}));
|
760
|
+
/** Known values of {@link LoginMigrationStage} that the service accepts. */
|
761
|
+
exports.KnownLoginMigrationStage = void 0;
|
361
762
|
(function (KnownLoginMigrationStage) {
|
763
|
+
/** None */
|
362
764
|
KnownLoginMigrationStage["None"] = "None";
|
765
|
+
/** Initialize */
|
363
766
|
KnownLoginMigrationStage["Initialize"] = "Initialize";
|
767
|
+
/** LoginMigration */
|
364
768
|
KnownLoginMigrationStage["LoginMigration"] = "LoginMigration";
|
769
|
+
/** EstablishUserMapping */
|
365
770
|
KnownLoginMigrationStage["EstablishUserMapping"] = "EstablishUserMapping";
|
771
|
+
/** AssignRoleMembership */
|
366
772
|
KnownLoginMigrationStage["AssignRoleMembership"] = "AssignRoleMembership";
|
773
|
+
/** AssignRoleOwnership */
|
367
774
|
KnownLoginMigrationStage["AssignRoleOwnership"] = "AssignRoleOwnership";
|
775
|
+
/** EstablishServerPermissions */
|
368
776
|
KnownLoginMigrationStage["EstablishServerPermissions"] = "EstablishServerPermissions";
|
777
|
+
/** EstablishObjectPermissions */
|
369
778
|
KnownLoginMigrationStage["EstablishObjectPermissions"] = "EstablishObjectPermissions";
|
779
|
+
/** Completed */
|
370
780
|
KnownLoginMigrationStage["Completed"] = "Completed";
|
371
781
|
})(exports.KnownLoginMigrationStage || (exports.KnownLoginMigrationStage = {}));
|
782
|
+
/** Known values of {@link SsisStoreType} that the service accepts. */
|
783
|
+
exports.KnownSsisStoreType = void 0;
|
372
784
|
(function (KnownSsisStoreType) {
|
785
|
+
/** SsisCatalog */
|
373
786
|
KnownSsisStoreType["SsisCatalog"] = "SsisCatalog";
|
374
787
|
})(exports.KnownSsisStoreType || (exports.KnownSsisStoreType = {}));
|
788
|
+
/** Known values of {@link SsisMigrationOverwriteOption} that the service accepts. */
|
789
|
+
exports.KnownSsisMigrationOverwriteOption = void 0;
|
375
790
|
(function (KnownSsisMigrationOverwriteOption) {
|
791
|
+
/** Ignore */
|
376
792
|
KnownSsisMigrationOverwriteOption["Ignore"] = "Ignore";
|
793
|
+
/** Overwrite */
|
377
794
|
KnownSsisMigrationOverwriteOption["Overwrite"] = "Overwrite";
|
378
795
|
})(exports.KnownSsisMigrationOverwriteOption || (exports.KnownSsisMigrationOverwriteOption = {}));
|
796
|
+
/** Known values of {@link SsisMigrationStage} that the service accepts. */
|
797
|
+
exports.KnownSsisMigrationStage = void 0;
|
379
798
|
(function (KnownSsisMigrationStage) {
|
799
|
+
/** None */
|
380
800
|
KnownSsisMigrationStage["None"] = "None";
|
801
|
+
/** Initialize */
|
381
802
|
KnownSsisMigrationStage["Initialize"] = "Initialize";
|
803
|
+
/** InProgress */
|
382
804
|
KnownSsisMigrationStage["InProgress"] = "InProgress";
|
805
|
+
/** Completed */
|
383
806
|
KnownSsisMigrationStage["Completed"] = "Completed";
|
384
807
|
})(exports.KnownSsisMigrationStage || (exports.KnownSsisMigrationStage = {}));
|
808
|
+
/** Known values of {@link MongoDbShardKeyOrder} that the service accepts. */
|
809
|
+
exports.KnownMongoDbShardKeyOrder = void 0;
|
385
810
|
(function (KnownMongoDbShardKeyOrder) {
|
811
|
+
/** Forward */
|
386
812
|
KnownMongoDbShardKeyOrder["Forward"] = "Forward";
|
813
|
+
/** Reverse */
|
387
814
|
KnownMongoDbShardKeyOrder["Reverse"] = "Reverse";
|
815
|
+
/** Hashed */
|
388
816
|
KnownMongoDbShardKeyOrder["Hashed"] = "Hashed";
|
389
817
|
})(exports.KnownMongoDbShardKeyOrder || (exports.KnownMongoDbShardKeyOrder = {}));
|
818
|
+
/** Known values of {@link MongoDbClusterType} that the service accepts. */
|
819
|
+
exports.KnownMongoDbClusterType = void 0;
|
390
820
|
(function (KnownMongoDbClusterType) {
|
821
|
+
/** BlobContainer */
|
391
822
|
KnownMongoDbClusterType["BlobContainer"] = "BlobContainer";
|
823
|
+
/** CosmosDb */
|
392
824
|
KnownMongoDbClusterType["CosmosDb"] = "CosmosDb";
|
825
|
+
/** MongoDb */
|
393
826
|
KnownMongoDbClusterType["MongoDb"] = "MongoDb";
|
394
827
|
})(exports.KnownMongoDbClusterType || (exports.KnownMongoDbClusterType = {}));
|
828
|
+
/** Known values of {@link MongoDbErrorType} that the service accepts. */
|
829
|
+
exports.KnownMongoDbErrorType = void 0;
|
395
830
|
(function (KnownMongoDbErrorType) {
|
831
|
+
/** Error */
|
396
832
|
KnownMongoDbErrorType["Error"] = "Error";
|
833
|
+
/** ValidationError */
|
397
834
|
KnownMongoDbErrorType["ValidationError"] = "ValidationError";
|
835
|
+
/** Warning */
|
398
836
|
KnownMongoDbErrorType["Warning"] = "Warning";
|
399
837
|
})(exports.KnownMongoDbErrorType || (exports.KnownMongoDbErrorType = {}));
|
838
|
+
/** Known values of {@link MongoDbProgressResultType} that the service accepts. */
|
839
|
+
exports.KnownMongoDbProgressResultType = void 0;
|
400
840
|
(function (KnownMongoDbProgressResultType) {
|
841
|
+
/** Migration */
|
401
842
|
KnownMongoDbProgressResultType["Migration"] = "Migration";
|
843
|
+
/** Database */
|
402
844
|
KnownMongoDbProgressResultType["Database"] = "Database";
|
845
|
+
/** Collection */
|
403
846
|
KnownMongoDbProgressResultType["Collection"] = "Collection";
|
404
847
|
})(exports.KnownMongoDbProgressResultType || (exports.KnownMongoDbProgressResultType = {}));
|
848
|
+
/** Known values of {@link MongoDbMigrationState} that the service accepts. */
|
849
|
+
exports.KnownMongoDbMigrationState = void 0;
|
405
850
|
(function (KnownMongoDbMigrationState) {
|
851
|
+
/** NotStarted */
|
406
852
|
KnownMongoDbMigrationState["NotStarted"] = "NotStarted";
|
853
|
+
/** ValidatingInput */
|
407
854
|
KnownMongoDbMigrationState["ValidatingInput"] = "ValidatingInput";
|
855
|
+
/** Initializing */
|
408
856
|
KnownMongoDbMigrationState["Initializing"] = "Initializing";
|
857
|
+
/** Restarting */
|
409
858
|
KnownMongoDbMigrationState["Restarting"] = "Restarting";
|
859
|
+
/** Copying */
|
410
860
|
KnownMongoDbMigrationState["Copying"] = "Copying";
|
861
|
+
/** InitialReplay */
|
411
862
|
KnownMongoDbMigrationState["InitialReplay"] = "InitialReplay";
|
863
|
+
/** Replaying */
|
412
864
|
KnownMongoDbMigrationState["Replaying"] = "Replaying";
|
865
|
+
/** Finalizing */
|
413
866
|
KnownMongoDbMigrationState["Finalizing"] = "Finalizing";
|
867
|
+
/** Complete */
|
414
868
|
KnownMongoDbMigrationState["Complete"] = "Complete";
|
869
|
+
/** Canceled */
|
415
870
|
KnownMongoDbMigrationState["Canceled"] = "Canceled";
|
871
|
+
/** Failed */
|
416
872
|
KnownMongoDbMigrationState["Failed"] = "Failed";
|
417
873
|
})(exports.KnownMongoDbMigrationState || (exports.KnownMongoDbMigrationState = {}));
|
874
|
+
/** Known values of {@link MongoDbReplication} that the service accepts. */
|
875
|
+
exports.KnownMongoDbReplication = void 0;
|
418
876
|
(function (KnownMongoDbReplication) {
|
877
|
+
/** Disabled */
|
419
878
|
KnownMongoDbReplication["Disabled"] = "Disabled";
|
879
|
+
/** OneTime */
|
420
880
|
KnownMongoDbReplication["OneTime"] = "OneTime";
|
881
|
+
/** Continuous */
|
421
882
|
KnownMongoDbReplication["Continuous"] = "Continuous";
|
422
883
|
})(exports.KnownMongoDbReplication || (exports.KnownMongoDbReplication = {}));
|
884
|
+
/** Known values of {@link DataMigrationResultCode} that the service accepts. */
|
885
|
+
exports.KnownDataMigrationResultCode = void 0;
|
423
886
|
(function (KnownDataMigrationResultCode) {
|
887
|
+
/** Initial */
|
424
888
|
KnownDataMigrationResultCode["Initial"] = "Initial";
|
889
|
+
/** Completed */
|
425
890
|
KnownDataMigrationResultCode["Completed"] = "Completed";
|
891
|
+
/** ObjectNotExistsInSource */
|
426
892
|
KnownDataMigrationResultCode["ObjectNotExistsInSource"] = "ObjectNotExistsInSource";
|
893
|
+
/** ObjectNotExistsInTarget */
|
427
894
|
KnownDataMigrationResultCode["ObjectNotExistsInTarget"] = "ObjectNotExistsInTarget";
|
895
|
+
/** TargetObjectIsInaccessible */
|
428
896
|
KnownDataMigrationResultCode["TargetObjectIsInaccessible"] = "TargetObjectIsInaccessible";
|
897
|
+
/** FatalError */
|
429
898
|
KnownDataMigrationResultCode["FatalError"] = "FatalError";
|
430
899
|
})(exports.KnownDataMigrationResultCode || (exports.KnownDataMigrationResultCode = {}));
|
900
|
+
/** Known values of {@link ErrorType} that the service accepts. */
|
901
|
+
exports.KnownErrorType = void 0;
|
431
902
|
(function (KnownErrorType) {
|
903
|
+
/** Default */
|
432
904
|
KnownErrorType["Default"] = "Default";
|
905
|
+
/** Warning */
|
433
906
|
KnownErrorType["Warning"] = "Warning";
|
907
|
+
/** Error */
|
434
908
|
KnownErrorType["Error"] = "Error";
|
435
909
|
})(exports.KnownErrorType || (exports.KnownErrorType = {}));
|
436
910
|
|
@@ -12897,7 +13371,7 @@ class DatabaseMigrationsSqlMiImpl {
|
|
12897
13371
|
* @param options The options parameters.
|
12898
13372
|
*/
|
12899
13373
|
get(resourceGroupName, managedInstanceName, targetDbName, options) {
|
12900
|
-
return this.client.sendOperationRequest({ resourceGroupName, managedInstanceName, targetDbName, options }, getOperationSpec);
|
13374
|
+
return this.client.sendOperationRequest({ resourceGroupName, managedInstanceName, targetDbName, options }, getOperationSpec$7);
|
12901
13375
|
}
|
12902
13376
|
/**
|
12903
13377
|
* Create or Update Database Migration resource.
|
@@ -12938,11 +13412,13 @@ class DatabaseMigrationsSqlMiImpl {
|
|
12938
13412
|
targetDbName,
|
12939
13413
|
parameters,
|
12940
13414
|
options
|
12941
|
-
}, createOrUpdateOperationSpec);
|
12942
|
-
|
13415
|
+
}, createOrUpdateOperationSpec$7);
|
13416
|
+
const poller = new coreLro.LroEngine(lro, {
|
12943
13417
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
12944
13418
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
12945
13419
|
});
|
13420
|
+
yield poller.poll();
|
13421
|
+
return poller;
|
12946
13422
|
});
|
12947
13423
|
}
|
12948
13424
|
/**
|
@@ -12999,11 +13475,13 @@ class DatabaseMigrationsSqlMiImpl {
|
|
12999
13475
|
targetDbName,
|
13000
13476
|
parameters,
|
13001
13477
|
options
|
13002
|
-
}, cancelOperationSpec);
|
13003
|
-
|
13478
|
+
}, cancelOperationSpec$3);
|
13479
|
+
const poller = new coreLro.LroEngine(lro, {
|
13004
13480
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13005
13481
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13006
13482
|
});
|
13483
|
+
yield poller.poll();
|
13484
|
+
return poller;
|
13007
13485
|
});
|
13008
13486
|
}
|
13009
13487
|
/**
|
@@ -13060,11 +13538,13 @@ class DatabaseMigrationsSqlMiImpl {
|
|
13060
13538
|
targetDbName,
|
13061
13539
|
parameters,
|
13062
13540
|
options
|
13063
|
-
}, cutoverOperationSpec);
|
13064
|
-
|
13541
|
+
}, cutoverOperationSpec$1);
|
13542
|
+
const poller = new coreLro.LroEngine(lro, {
|
13065
13543
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13066
13544
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13067
13545
|
});
|
13546
|
+
yield poller.poll();
|
13547
|
+
return poller;
|
13068
13548
|
});
|
13069
13549
|
}
|
13070
13550
|
/**
|
@@ -13084,8 +13564,8 @@ class DatabaseMigrationsSqlMiImpl {
|
|
13084
13564
|
}
|
13085
13565
|
}
|
13086
13566
|
// Operation Specifications
|
13087
|
-
const serializer =
|
13088
|
-
const getOperationSpec = {
|
13567
|
+
const serializer$a = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
13568
|
+
const getOperationSpec$7 = {
|
13089
13569
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",
|
13090
13570
|
httpMethod: "GET",
|
13091
13571
|
responses: {
|
@@ -13107,9 +13587,9 @@ const getOperationSpec = {
|
|
13107
13587
|
subscriptionId
|
13108
13588
|
],
|
13109
13589
|
headerParameters: [accept],
|
13110
|
-
serializer
|
13590
|
+
serializer: serializer$a
|
13111
13591
|
};
|
13112
|
-
const createOrUpdateOperationSpec = {
|
13592
|
+
const createOrUpdateOperationSpec$7 = {
|
13113
13593
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",
|
13114
13594
|
httpMethod: "PUT",
|
13115
13595
|
responses: {
|
@@ -13138,9 +13618,9 @@ const createOrUpdateOperationSpec = {
|
|
13138
13618
|
],
|
13139
13619
|
headerParameters: [accept, contentType],
|
13140
13620
|
mediaType: "json",
|
13141
|
-
serializer
|
13621
|
+
serializer: serializer$a
|
13142
13622
|
};
|
13143
|
-
const cancelOperationSpec = {
|
13623
|
+
const cancelOperationSpec$3 = {
|
13144
13624
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",
|
13145
13625
|
httpMethod: "POST",
|
13146
13626
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
@@ -13155,9 +13635,9 @@ const cancelOperationSpec = {
|
|
13155
13635
|
],
|
13156
13636
|
headerParameters: [contentType],
|
13157
13637
|
mediaType: "json",
|
13158
|
-
serializer
|
13638
|
+
serializer: serializer$a
|
13159
13639
|
};
|
13160
|
-
const cutoverOperationSpec = {
|
13640
|
+
const cutoverOperationSpec$1 = {
|
13161
13641
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",
|
13162
13642
|
httpMethod: "POST",
|
13163
13643
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
@@ -13172,7 +13652,7 @@ const cutoverOperationSpec = {
|
|
13172
13652
|
],
|
13173
13653
|
headerParameters: [contentType],
|
13174
13654
|
mediaType: "json",
|
13175
|
-
serializer
|
13655
|
+
serializer: serializer$a
|
13176
13656
|
};
|
13177
13657
|
|
13178
13658
|
/*
|
@@ -13200,7 +13680,7 @@ class DatabaseMigrationsSqlVmImpl {
|
|
13200
13680
|
* @param options The options parameters.
|
13201
13681
|
*/
|
13202
13682
|
get(resourceGroupName, sqlVirtualMachineName, targetDbName, options) {
|
13203
|
-
return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineName, targetDbName, options }, getOperationSpec$
|
13683
|
+
return this.client.sendOperationRequest({ resourceGroupName, sqlVirtualMachineName, targetDbName, options }, getOperationSpec$6);
|
13204
13684
|
}
|
13205
13685
|
/**
|
13206
13686
|
* Create or Update Database Migration resource.
|
@@ -13241,11 +13721,13 @@ class DatabaseMigrationsSqlVmImpl {
|
|
13241
13721
|
targetDbName,
|
13242
13722
|
parameters,
|
13243
13723
|
options
|
13244
|
-
}, createOrUpdateOperationSpec$
|
13245
|
-
|
13724
|
+
}, createOrUpdateOperationSpec$6);
|
13725
|
+
const poller = new coreLro.LroEngine(lro, {
|
13246
13726
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13247
13727
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13248
13728
|
});
|
13729
|
+
yield poller.poll();
|
13730
|
+
return poller;
|
13249
13731
|
});
|
13250
13732
|
}
|
13251
13733
|
/**
|
@@ -13302,11 +13784,13 @@ class DatabaseMigrationsSqlVmImpl {
|
|
13302
13784
|
targetDbName,
|
13303
13785
|
parameters,
|
13304
13786
|
options
|
13305
|
-
}, cancelOperationSpec$
|
13306
|
-
|
13787
|
+
}, cancelOperationSpec$2);
|
13788
|
+
const poller = new coreLro.LroEngine(lro, {
|
13307
13789
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13308
13790
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13309
13791
|
});
|
13792
|
+
yield poller.poll();
|
13793
|
+
return poller;
|
13310
13794
|
});
|
13311
13795
|
}
|
13312
13796
|
/**
|
@@ -13363,11 +13847,13 @@ class DatabaseMigrationsSqlVmImpl {
|
|
13363
13847
|
targetDbName,
|
13364
13848
|
parameters,
|
13365
13849
|
options
|
13366
|
-
}, cutoverOperationSpec
|
13367
|
-
|
13850
|
+
}, cutoverOperationSpec);
|
13851
|
+
const poller = new coreLro.LroEngine(lro, {
|
13368
13852
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13369
13853
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13370
13854
|
});
|
13855
|
+
yield poller.poll();
|
13856
|
+
return poller;
|
13371
13857
|
});
|
13372
13858
|
}
|
13373
13859
|
/**
|
@@ -13387,8 +13873,8 @@ class DatabaseMigrationsSqlVmImpl {
|
|
13387
13873
|
}
|
13388
13874
|
}
|
13389
13875
|
// Operation Specifications
|
13390
|
-
const serializer$
|
13391
|
-
const getOperationSpec$
|
13876
|
+
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
13877
|
+
const getOperationSpec$6 = {
|
13392
13878
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",
|
13393
13879
|
httpMethod: "GET",
|
13394
13880
|
responses: {
|
@@ -13410,9 +13896,9 @@ const getOperationSpec$1 = {
|
|
13410
13896
|
sqlVirtualMachineName
|
13411
13897
|
],
|
13412
13898
|
headerParameters: [accept],
|
13413
|
-
serializer: serializer$
|
13899
|
+
serializer: serializer$9
|
13414
13900
|
};
|
13415
|
-
const createOrUpdateOperationSpec$
|
13901
|
+
const createOrUpdateOperationSpec$6 = {
|
13416
13902
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}",
|
13417
13903
|
httpMethod: "PUT",
|
13418
13904
|
responses: {
|
@@ -13441,9 +13927,9 @@ const createOrUpdateOperationSpec$1 = {
|
|
13441
13927
|
],
|
13442
13928
|
headerParameters: [accept, contentType],
|
13443
13929
|
mediaType: "json",
|
13444
|
-
serializer: serializer$
|
13930
|
+
serializer: serializer$9
|
13445
13931
|
};
|
13446
|
-
const cancelOperationSpec$
|
13932
|
+
const cancelOperationSpec$2 = {
|
13447
13933
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cancel",
|
13448
13934
|
httpMethod: "POST",
|
13449
13935
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
@@ -13458,9 +13944,9 @@ const cancelOperationSpec$1 = {
|
|
13458
13944
|
],
|
13459
13945
|
headerParameters: [contentType],
|
13460
13946
|
mediaType: "json",
|
13461
|
-
serializer: serializer$
|
13947
|
+
serializer: serializer$9
|
13462
13948
|
};
|
13463
|
-
const cutoverOperationSpec
|
13949
|
+
const cutoverOperationSpec = {
|
13464
13950
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/providers/Microsoft.DataMigration/databaseMigrations/{targetDbName}/cutover",
|
13465
13951
|
httpMethod: "POST",
|
13466
13952
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
@@ -13475,7 +13961,7 @@ const cutoverOperationSpec$1 = {
|
|
13475
13961
|
],
|
13476
13962
|
headerParameters: [contentType],
|
13477
13963
|
mediaType: "json",
|
13478
|
-
serializer: serializer$
|
13964
|
+
serializer: serializer$9
|
13479
13965
|
};
|
13480
13966
|
|
13481
13967
|
/*
|
@@ -13508,20 +13994,31 @@ class OperationsImpl {
|
|
13508
13994
|
[Symbol.asyncIterator]() {
|
13509
13995
|
return this;
|
13510
13996
|
},
|
13511
|
-
byPage: () => {
|
13512
|
-
|
13997
|
+
byPage: (settings) => {
|
13998
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
13999
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
14000
|
+
}
|
14001
|
+
return this.listPagingPage(options, settings);
|
13513
14002
|
}
|
13514
14003
|
};
|
13515
14004
|
}
|
13516
|
-
listPagingPage(options) {
|
14005
|
+
listPagingPage(options, settings) {
|
13517
14006
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
13518
|
-
let result
|
13519
|
-
|
13520
|
-
|
14007
|
+
let result;
|
14008
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
14009
|
+
if (!continuationToken) {
|
14010
|
+
result = yield tslib.__await(this._list(options));
|
14011
|
+
let page = result.value || [];
|
14012
|
+
continuationToken = result.nextLink;
|
14013
|
+
setContinuationToken(page, continuationToken);
|
14014
|
+
yield yield tslib.__await(page);
|
14015
|
+
}
|
13521
14016
|
while (continuationToken) {
|
13522
14017
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
13523
14018
|
continuationToken = result.nextLink;
|
13524
|
-
|
14019
|
+
let page = result.value || [];
|
14020
|
+
setContinuationToken(page, continuationToken);
|
14021
|
+
yield yield tslib.__await(page);
|
13525
14022
|
}
|
13526
14023
|
});
|
13527
14024
|
}
|
@@ -13548,7 +14045,7 @@ class OperationsImpl {
|
|
13548
14045
|
* @param options The options parameters.
|
13549
14046
|
*/
|
13550
14047
|
_list(options) {
|
13551
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
14048
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$6);
|
13552
14049
|
}
|
13553
14050
|
/**
|
13554
14051
|
* ListNext
|
@@ -13556,12 +14053,12 @@ class OperationsImpl {
|
|
13556
14053
|
* @param options The options parameters.
|
13557
14054
|
*/
|
13558
14055
|
_listNext(nextLink, options) {
|
13559
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
14056
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$6);
|
13560
14057
|
}
|
13561
14058
|
}
|
13562
14059
|
// Operation Specifications
|
13563
|
-
const serializer$
|
13564
|
-
const listOperationSpec = {
|
14060
|
+
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
14061
|
+
const listOperationSpec$6 = {
|
13565
14062
|
path: "/providers/Microsoft.DataMigration/operations",
|
13566
14063
|
httpMethod: "GET",
|
13567
14064
|
responses: {
|
@@ -13573,9 +14070,9 @@ const listOperationSpec = {
|
|
13573
14070
|
queryParameters: [apiVersion],
|
13574
14071
|
urlParameters: [$host],
|
13575
14072
|
headerParameters: [accept],
|
13576
|
-
serializer: serializer$
|
14073
|
+
serializer: serializer$8
|
13577
14074
|
};
|
13578
|
-
const listNextOperationSpec = {
|
14075
|
+
const listNextOperationSpec$6 = {
|
13579
14076
|
path: "{nextLink}",
|
13580
14077
|
httpMethod: "GET",
|
13581
14078
|
responses: {
|
@@ -13587,7 +14084,7 @@ const listNextOperationSpec = {
|
|
13587
14084
|
queryParameters: [apiVersion],
|
13588
14085
|
urlParameters: [$host, nextLink],
|
13589
14086
|
headerParameters: [accept],
|
13590
|
-
serializer: serializer$
|
14087
|
+
serializer: serializer$8
|
13591
14088
|
};
|
13592
14089
|
|
13593
14090
|
/*
|
@@ -13622,20 +14119,31 @@ class SqlMigrationServicesImpl {
|
|
13622
14119
|
[Symbol.asyncIterator]() {
|
13623
14120
|
return this;
|
13624
14121
|
},
|
13625
|
-
byPage: () => {
|
13626
|
-
|
14122
|
+
byPage: (settings) => {
|
14123
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
14124
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
14125
|
+
}
|
14126
|
+
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
13627
14127
|
}
|
13628
14128
|
};
|
13629
14129
|
}
|
13630
|
-
listByResourceGroupPagingPage(resourceGroupName, options) {
|
14130
|
+
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
13631
14131
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
13632
|
-
let result
|
13633
|
-
|
13634
|
-
|
14132
|
+
let result;
|
14133
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
14134
|
+
if (!continuationToken) {
|
14135
|
+
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
14136
|
+
let page = result.value || [];
|
14137
|
+
continuationToken = result.nextLink;
|
14138
|
+
setContinuationToken(page, continuationToken);
|
14139
|
+
yield yield tslib.__await(page);
|
14140
|
+
}
|
13635
14141
|
while (continuationToken) {
|
13636
14142
|
result = yield tslib.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
|
13637
14143
|
continuationToken = result.nextLink;
|
13638
|
-
|
14144
|
+
let page = result.value || [];
|
14145
|
+
setContinuationToken(page, continuationToken);
|
14146
|
+
yield yield tslib.__await(page);
|
13639
14147
|
}
|
13640
14148
|
});
|
13641
14149
|
}
|
@@ -13673,20 +14181,31 @@ class SqlMigrationServicesImpl {
|
|
13673
14181
|
[Symbol.asyncIterator]() {
|
13674
14182
|
return this;
|
13675
14183
|
},
|
13676
|
-
byPage: () => {
|
13677
|
-
|
14184
|
+
byPage: (settings) => {
|
14185
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
14186
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
14187
|
+
}
|
14188
|
+
return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
|
13678
14189
|
}
|
13679
14190
|
};
|
13680
14191
|
}
|
13681
|
-
listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options) {
|
14192
|
+
listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
|
13682
14193
|
return tslib.__asyncGenerator(this, arguments, function* listMigrationsPagingPage_1() {
|
13683
|
-
let result
|
13684
|
-
|
13685
|
-
|
14194
|
+
let result;
|
14195
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
14196
|
+
if (!continuationToken) {
|
14197
|
+
result = yield tslib.__await(this._listMigrations(resourceGroupName, sqlMigrationServiceName, options));
|
14198
|
+
let page = result.value || [];
|
14199
|
+
continuationToken = result.nextLink;
|
14200
|
+
setContinuationToken(page, continuationToken);
|
14201
|
+
yield yield tslib.__await(page);
|
14202
|
+
}
|
13686
14203
|
while (continuationToken) {
|
13687
14204
|
result = yield tslib.__await(this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options));
|
13688
14205
|
continuationToken = result.nextLink;
|
13689
|
-
|
14206
|
+
let page = result.value || [];
|
14207
|
+
setContinuationToken(page, continuationToken);
|
14208
|
+
yield yield tslib.__await(page);
|
13690
14209
|
}
|
13691
14210
|
});
|
13692
14211
|
}
|
@@ -13721,20 +14240,31 @@ class SqlMigrationServicesImpl {
|
|
13721
14240
|
[Symbol.asyncIterator]() {
|
13722
14241
|
return this;
|
13723
14242
|
},
|
13724
|
-
byPage: () => {
|
13725
|
-
|
14243
|
+
byPage: (settings) => {
|
14244
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
14245
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
14246
|
+
}
|
14247
|
+
return this.listBySubscriptionPagingPage(options, settings);
|
13726
14248
|
}
|
13727
14249
|
};
|
13728
14250
|
}
|
13729
|
-
listBySubscriptionPagingPage(options) {
|
14251
|
+
listBySubscriptionPagingPage(options, settings) {
|
13730
14252
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
13731
|
-
let result
|
13732
|
-
|
13733
|
-
|
14253
|
+
let result;
|
14254
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
14255
|
+
if (!continuationToken) {
|
14256
|
+
result = yield tslib.__await(this._listBySubscription(options));
|
14257
|
+
let page = result.value || [];
|
14258
|
+
continuationToken = result.nextLink;
|
14259
|
+
setContinuationToken(page, continuationToken);
|
14260
|
+
yield yield tslib.__await(page);
|
14261
|
+
}
|
13734
14262
|
while (continuationToken) {
|
13735
14263
|
result = yield tslib.__await(this._listBySubscriptionNext(continuationToken, options));
|
13736
14264
|
continuationToken = result.nextLink;
|
13737
|
-
|
14265
|
+
let page = result.value || [];
|
14266
|
+
setContinuationToken(page, continuationToken);
|
14267
|
+
yield yield tslib.__await(page);
|
13738
14268
|
}
|
13739
14269
|
});
|
13740
14270
|
}
|
@@ -13764,7 +14294,7 @@ class SqlMigrationServicesImpl {
|
|
13764
14294
|
* @param options The options parameters.
|
13765
14295
|
*/
|
13766
14296
|
get(resourceGroupName, sqlMigrationServiceName, options) {
|
13767
|
-
return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, getOperationSpec$
|
14297
|
+
return this.client.sendOperationRequest({ resourceGroupName, sqlMigrationServiceName, options }, getOperationSpec$5);
|
13768
14298
|
}
|
13769
14299
|
/**
|
13770
14300
|
* Create or Update SQL Migration Service.
|
@@ -13798,11 +14328,13 @@ class SqlMigrationServicesImpl {
|
|
13798
14328
|
}
|
13799
14329
|
};
|
13800
14330
|
});
|
13801
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, createOrUpdateOperationSpec$
|
13802
|
-
|
14331
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, createOrUpdateOperationSpec$5);
|
14332
|
+
const poller = new coreLro.LroEngine(lro, {
|
13803
14333
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13804
14334
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13805
14335
|
});
|
14336
|
+
yield poller.poll();
|
14337
|
+
return poller;
|
13806
14338
|
});
|
13807
14339
|
}
|
13808
14340
|
/**
|
@@ -13850,11 +14382,13 @@ class SqlMigrationServicesImpl {
|
|
13850
14382
|
}
|
13851
14383
|
};
|
13852
14384
|
});
|
13853
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, options }, deleteOperationSpec);
|
13854
|
-
|
14385
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, options }, deleteOperationSpec$5);
|
14386
|
+
const poller = new coreLro.LroEngine(lro, {
|
13855
14387
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13856
14388
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13857
14389
|
});
|
14390
|
+
yield poller.poll();
|
14391
|
+
return poller;
|
13858
14392
|
});
|
13859
14393
|
}
|
13860
14394
|
/**
|
@@ -13902,11 +14436,13 @@ class SqlMigrationServicesImpl {
|
|
13902
14436
|
}
|
13903
14437
|
};
|
13904
14438
|
});
|
13905
|
-
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, updateOperationSpec);
|
13906
|
-
|
14439
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, updateOperationSpec$5);
|
14440
|
+
const poller = new coreLro.LroEngine(lro, {
|
13907
14441
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
13908
14442
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
13909
14443
|
});
|
14444
|
+
yield poller.poll();
|
14445
|
+
return poller;
|
13910
14446
|
});
|
13911
14447
|
}
|
13912
14448
|
/**
|
@@ -13930,7 +14466,7 @@ class SqlMigrationServicesImpl {
|
|
13930
14466
|
* @param options The options parameters.
|
13931
14467
|
*/
|
13932
14468
|
_listByResourceGroup(resourceGroupName, options) {
|
13933
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
|
14469
|
+
return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec$1);
|
13934
14470
|
}
|
13935
14471
|
/**
|
13936
14472
|
* Retrieve the List of Authentication Keys for Self Hosted Integration Runtime.
|
@@ -13999,7 +14535,7 @@ class SqlMigrationServicesImpl {
|
|
13999
14535
|
* @param options The options parameters.
|
14000
14536
|
*/
|
14001
14537
|
_listByResourceGroupNext(resourceGroupName, nextLink, options) {
|
14002
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
14538
|
+
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec$1);
|
14003
14539
|
}
|
14004
14540
|
/**
|
14005
14541
|
* ListMigrationsNext
|
@@ -14022,8 +14558,8 @@ class SqlMigrationServicesImpl {
|
|
14022
14558
|
}
|
14023
14559
|
}
|
14024
14560
|
// Operation Specifications
|
14025
|
-
const serializer$
|
14026
|
-
const getOperationSpec$
|
14561
|
+
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
14562
|
+
const getOperationSpec$5 = {
|
14027
14563
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
14028
14564
|
httpMethod: "GET",
|
14029
14565
|
responses: {
|
@@ -14040,9 +14576,9 @@ const getOperationSpec$2 = {
|
|
14040
14576
|
sqlMigrationServiceName
|
14041
14577
|
],
|
14042
14578
|
headerParameters: [accept],
|
14043
|
-
serializer: serializer$
|
14579
|
+
serializer: serializer$7
|
14044
14580
|
};
|
14045
|
-
const createOrUpdateOperationSpec$
|
14581
|
+
const createOrUpdateOperationSpec$5 = {
|
14046
14582
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
14047
14583
|
httpMethod: "PUT",
|
14048
14584
|
responses: {
|
@@ -14070,9 +14606,9 @@ const createOrUpdateOperationSpec$2 = {
|
|
14070
14606
|
],
|
14071
14607
|
headerParameters: [accept, contentType],
|
14072
14608
|
mediaType: "json",
|
14073
|
-
serializer: serializer$
|
14609
|
+
serializer: serializer$7
|
14074
14610
|
};
|
14075
|
-
const deleteOperationSpec = {
|
14611
|
+
const deleteOperationSpec$5 = {
|
14076
14612
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
14077
14613
|
httpMethod: "DELETE",
|
14078
14614
|
responses: { 200: {}, 201: {}, 202: {}, 204: {}, default: {} },
|
@@ -14083,9 +14619,9 @@ const deleteOperationSpec = {
|
|
14083
14619
|
subscriptionId,
|
14084
14620
|
sqlMigrationServiceName
|
14085
14621
|
],
|
14086
|
-
serializer: serializer$
|
14622
|
+
serializer: serializer$7
|
14087
14623
|
};
|
14088
|
-
const updateOperationSpec = {
|
14624
|
+
const updateOperationSpec$5 = {
|
14089
14625
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}",
|
14090
14626
|
httpMethod: "PATCH",
|
14091
14627
|
responses: {
|
@@ -14113,9 +14649,9 @@ const updateOperationSpec = {
|
|
14113
14649
|
],
|
14114
14650
|
headerParameters: [accept, contentType],
|
14115
14651
|
mediaType: "json",
|
14116
|
-
serializer: serializer$
|
14652
|
+
serializer: serializer$7
|
14117
14653
|
};
|
14118
|
-
const listByResourceGroupOperationSpec = {
|
14654
|
+
const listByResourceGroupOperationSpec$1 = {
|
14119
14655
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices",
|
14120
14656
|
httpMethod: "GET",
|
14121
14657
|
responses: {
|
@@ -14131,7 +14667,7 @@ const listByResourceGroupOperationSpec = {
|
|
14131
14667
|
subscriptionId
|
14132
14668
|
],
|
14133
14669
|
headerParameters: [accept],
|
14134
|
-
serializer: serializer$
|
14670
|
+
serializer: serializer$7
|
14135
14671
|
};
|
14136
14672
|
const listAuthKeysOperationSpec = {
|
14137
14673
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listAuthKeys",
|
@@ -14150,7 +14686,7 @@ const listAuthKeysOperationSpec = {
|
|
14150
14686
|
sqlMigrationServiceName
|
14151
14687
|
],
|
14152
14688
|
headerParameters: [accept],
|
14153
|
-
serializer: serializer$
|
14689
|
+
serializer: serializer$7
|
14154
14690
|
};
|
14155
14691
|
const regenerateAuthKeysOperationSpec = {
|
14156
14692
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/regenerateAuthKeys",
|
@@ -14171,7 +14707,7 @@ const regenerateAuthKeysOperationSpec = {
|
|
14171
14707
|
],
|
14172
14708
|
headerParameters: [accept, contentType],
|
14173
14709
|
mediaType: "json",
|
14174
|
-
serializer: serializer$
|
14710
|
+
serializer: serializer$7
|
14175
14711
|
};
|
14176
14712
|
const deleteNodeOperationSpec = {
|
14177
14713
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/deleteNode",
|
@@ -14192,7 +14728,7 @@ const deleteNodeOperationSpec = {
|
|
14192
14728
|
],
|
14193
14729
|
headerParameters: [accept, contentType],
|
14194
14730
|
mediaType: "json",
|
14195
|
-
serializer: serializer$
|
14731
|
+
serializer: serializer$7
|
14196
14732
|
};
|
14197
14733
|
const listMigrationsOperationSpec = {
|
14198
14734
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMigrations",
|
@@ -14211,7 +14747,7 @@ const listMigrationsOperationSpec = {
|
|
14211
14747
|
sqlMigrationServiceName
|
14212
14748
|
],
|
14213
14749
|
headerParameters: [accept],
|
14214
|
-
serializer: serializer$
|
14750
|
+
serializer: serializer$7
|
14215
14751
|
};
|
14216
14752
|
const listMonitoringDataOperationSpec = {
|
14217
14753
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataMigration/sqlMigrationServices/{sqlMigrationServiceName}/listMonitoringData",
|
@@ -14230,7 +14766,7 @@ const listMonitoringDataOperationSpec = {
|
|
14230
14766
|
sqlMigrationServiceName
|
14231
14767
|
],
|
14232
14768
|
headerParameters: [accept],
|
14233
|
-
serializer: serializer$
|
14769
|
+
serializer: serializer$7
|
14234
14770
|
};
|
14235
14771
|
const listBySubscriptionOperationSpec = {
|
14236
14772
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices",
|
@@ -14244,9 +14780,9 @@ const listBySubscriptionOperationSpec = {
|
|
14244
14780
|
queryParameters: [apiVersion],
|
14245
14781
|
urlParameters: [$host, subscriptionId],
|
14246
14782
|
headerParameters: [accept],
|
14247
|
-
serializer: serializer$
|
14783
|
+
serializer: serializer$7
|
14248
14784
|
};
|
14249
|
-
const listByResourceGroupNextOperationSpec = {
|
14785
|
+
const listByResourceGroupNextOperationSpec$1 = {
|
14250
14786
|
path: "{nextLink}",
|
14251
14787
|
httpMethod: "GET",
|
14252
14788
|
responses: {
|
@@ -14263,7 +14799,7 @@ const listByResourceGroupNextOperationSpec = {
|
|
14263
14799
|
nextLink
|
14264
14800
|
],
|
14265
14801
|
headerParameters: [accept],
|
14266
|
-
serializer: serializer$
|
14802
|
+
serializer: serializer$7
|
14267
14803
|
};
|
14268
14804
|
const listMigrationsNextOperationSpec = {
|
14269
14805
|
path: "{nextLink}",
|
@@ -14283,7 +14819,7 @@ const listMigrationsNextOperationSpec = {
|
|
14283
14819
|
sqlMigrationServiceName
|
14284
14820
|
],
|
14285
14821
|
headerParameters: [accept],
|
14286
|
-
serializer: serializer$
|
14822
|
+
serializer: serializer$7
|
14287
14823
|
};
|
14288
14824
|
const listBySubscriptionNextOperationSpec = {
|
14289
14825
|
path: "{nextLink}",
|
@@ -14301,7 +14837,7 @@ const listBySubscriptionNextOperationSpec = {
|
|
14301
14837
|
nextLink
|
14302
14838
|
],
|
14303
14839
|
headerParameters: [accept],
|
14304
|
-
serializer: serializer$
|
14840
|
+
serializer: serializer$7
|
14305
14841
|
};
|
14306
14842
|
|
14307
14843
|
/*
|
@@ -14334,20 +14870,31 @@ class ResourceSkusImpl {
|
|
14334
14870
|
[Symbol.asyncIterator]() {
|
14335
14871
|
return this;
|
14336
14872
|
},
|
14337
|
-
byPage: () => {
|
14338
|
-
|
14873
|
+
byPage: (settings) => {
|
14874
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
14875
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
14876
|
+
}
|
14877
|
+
return this.listSkusPagingPage(options, settings);
|
14339
14878
|
}
|
14340
14879
|
};
|
14341
14880
|
}
|
14342
|
-
listSkusPagingPage(options) {
|
14881
|
+
listSkusPagingPage(options, settings) {
|
14343
14882
|
return tslib.__asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
14344
|
-
let result
|
14345
|
-
|
14346
|
-
|
14883
|
+
let result;
|
14884
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
14885
|
+
if (!continuationToken) {
|
14886
|
+
result = yield tslib.__await(this._listSkus(options));
|
14887
|
+
let page = result.value || [];
|
14888
|
+
continuationToken = result.nextLink;
|
14889
|
+
setContinuationToken(page, continuationToken);
|
14890
|
+
yield yield tslib.__await(page);
|
14891
|
+
}
|
14347
14892
|
while (continuationToken) {
|
14348
14893
|
result = yield tslib.__await(this._listSkusNext(continuationToken, options));
|
14349
14894
|
continuationToken = result.nextLink;
|
14350
|
-
|
14895
|
+
let page = result.value || [];
|
14896
|
+
setContinuationToken(page, continuationToken);
|
14897
|
+
yield yield tslib.__await(page);
|
14351
14898
|
}
|
14352
14899
|
});
|
14353
14900
|
}
|
@@ -14374,7 +14921,7 @@ class ResourceSkusImpl {
|
|
14374
14921
|
* @param options The options parameters.
|
14375
14922
|
*/
|
14376
14923
|
_listSkus(options) {
|
14377
|
-
return this.client.sendOperationRequest({ options }, listSkusOperationSpec);
|
14924
|
+
return this.client.sendOperationRequest({ options }, listSkusOperationSpec$1);
|
14378
14925
|
}
|
14379
14926
|
/**
|
14380
14927
|
* ListSkusNext
|
@@ -14382,12 +14929,12 @@ class ResourceSkusImpl {
|
|
14382
14929
|
* @param options The options parameters.
|
14383
14930
|
*/
|
14384
14931
|
_listSkusNext(nextLink, options) {
|
14385
|
-
return this.client.sendOperationRequest({ nextLink, options }, listSkusNextOperationSpec);
|
14932
|
+
return this.client.sendOperationRequest({ nextLink, options }, listSkusNextOperationSpec$1);
|
14386
14933
|
}
|
14387
14934
|
}
|
14388
14935
|
// Operation Specifications
|
14389
|
-
const serializer$
|
14390
|
-
const listSkusOperationSpec = {
|
14936
|
+
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
14937
|
+
const listSkusOperationSpec$1 = {
|
14391
14938
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/skus",
|
14392
14939
|
httpMethod: "GET",
|
14393
14940
|
responses: {
|
@@ -14401,9 +14948,9 @@ const listSkusOperationSpec = {
|
|
14401
14948
|
queryParameters: [apiVersion],
|
14402
14949
|
urlParameters: [$host, subscriptionId],
|
14403
14950
|
headerParameters: [accept],
|
14404
|
-
serializer: serializer$
|
14951
|
+
serializer: serializer$6
|
14405
14952
|
};
|
14406
|
-
const listSkusNextOperationSpec = {
|
14953
|
+
const listSkusNextOperationSpec$1 = {
|
14407
14954
|
path: "{nextLink}",
|
14408
14955
|
httpMethod: "GET",
|
14409
14956
|
responses: {
|
@@ -14421,7 +14968,7 @@ const listSkusNextOperationSpec = {
|
|
14421
14968
|
nextLink
|
14422
14969
|
],
|
14423
14970
|
headerParameters: [accept],
|
14424
|
-
serializer: serializer$
|
14971
|
+
serializer: serializer$6
|
14425
14972
|
};
|
14426
14973
|
|
14427
14974
|
/*
|
@@ -14457,20 +15004,31 @@ class ServicesImpl {
|
|
14457
15004
|
[Symbol.asyncIterator]() {
|
14458
15005
|
return this;
|
14459
15006
|
},
|
14460
|
-
byPage: () => {
|
14461
|
-
|
15007
|
+
byPage: (settings) => {
|
15008
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
15009
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
15010
|
+
}
|
15011
|
+
return this.listSkusPagingPage(groupName, serviceName, options, settings);
|
14462
15012
|
}
|
14463
15013
|
};
|
14464
15014
|
}
|
14465
|
-
listSkusPagingPage(groupName, serviceName, options) {
|
15015
|
+
listSkusPagingPage(groupName, serviceName, options, settings) {
|
14466
15016
|
return tslib.__asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
14467
|
-
let result
|
14468
|
-
|
14469
|
-
|
15017
|
+
let result;
|
15018
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
15019
|
+
if (!continuationToken) {
|
15020
|
+
result = yield tslib.__await(this._listSkus(groupName, serviceName, options));
|
15021
|
+
let page = result.value || [];
|
15022
|
+
continuationToken = result.nextLink;
|
15023
|
+
setContinuationToken(page, continuationToken);
|
15024
|
+
yield yield tslib.__await(page);
|
15025
|
+
}
|
14470
15026
|
while (continuationToken) {
|
14471
15027
|
result = yield tslib.__await(this._listSkusNext(groupName, serviceName, continuationToken, options));
|
14472
15028
|
continuationToken = result.nextLink;
|
14473
|
-
|
15029
|
+
let page = result.value || [];
|
15030
|
+
setContinuationToken(page, continuationToken);
|
15031
|
+
yield yield tslib.__await(page);
|
14474
15032
|
}
|
14475
15033
|
});
|
14476
15034
|
}
|
@@ -14507,20 +15065,31 @@ class ServicesImpl {
|
|
14507
15065
|
[Symbol.asyncIterator]() {
|
14508
15066
|
return this;
|
14509
15067
|
},
|
14510
|
-
byPage: () => {
|
14511
|
-
|
15068
|
+
byPage: (settings) => {
|
15069
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
15070
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
15071
|
+
}
|
15072
|
+
return this.listByResourceGroupPagingPage(groupName, options, settings);
|
14512
15073
|
}
|
14513
15074
|
};
|
14514
15075
|
}
|
14515
|
-
listByResourceGroupPagingPage(groupName, options) {
|
15076
|
+
listByResourceGroupPagingPage(groupName, options, settings) {
|
14516
15077
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
14517
|
-
let result
|
14518
|
-
|
14519
|
-
|
15078
|
+
let result;
|
15079
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
15080
|
+
if (!continuationToken) {
|
15081
|
+
result = yield tslib.__await(this._listByResourceGroup(groupName, options));
|
15082
|
+
let page = result.value || [];
|
15083
|
+
continuationToken = result.nextLink;
|
15084
|
+
setContinuationToken(page, continuationToken);
|
15085
|
+
yield yield tslib.__await(page);
|
15086
|
+
}
|
14520
15087
|
while (continuationToken) {
|
14521
15088
|
result = yield tslib.__await(this._listByResourceGroupNext(groupName, continuationToken, options));
|
14522
15089
|
continuationToken = result.nextLink;
|
14523
|
-
|
15090
|
+
let page = result.value || [];
|
15091
|
+
setContinuationToken(page, continuationToken);
|
15092
|
+
yield yield tslib.__await(page);
|
14524
15093
|
}
|
14525
15094
|
});
|
14526
15095
|
}
|
@@ -14556,20 +15125,31 @@ class ServicesImpl {
|
|
14556
15125
|
[Symbol.asyncIterator]() {
|
14557
15126
|
return this;
|
14558
15127
|
},
|
14559
|
-
byPage: () => {
|
14560
|
-
|
15128
|
+
byPage: (settings) => {
|
15129
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
15130
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
15131
|
+
}
|
15132
|
+
return this.listPagingPage(options, settings);
|
14561
15133
|
}
|
14562
15134
|
};
|
14563
15135
|
}
|
14564
|
-
listPagingPage(options) {
|
15136
|
+
listPagingPage(options, settings) {
|
14565
15137
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
14566
|
-
let result
|
14567
|
-
|
14568
|
-
|
15138
|
+
let result;
|
15139
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
15140
|
+
if (!continuationToken) {
|
15141
|
+
result = yield tslib.__await(this._list(options));
|
15142
|
+
let page = result.value || [];
|
15143
|
+
continuationToken = result.nextLink;
|
15144
|
+
setContinuationToken(page, continuationToken);
|
15145
|
+
yield yield tslib.__await(page);
|
15146
|
+
}
|
14569
15147
|
while (continuationToken) {
|
14570
15148
|
result = yield tslib.__await(this._listNext(continuationToken, options));
|
14571
15149
|
continuationToken = result.nextLink;
|
14572
|
-
|
15150
|
+
let page = result.value || [];
|
15151
|
+
setContinuationToken(page, continuationToken);
|
15152
|
+
yield yield tslib.__await(page);
|
14573
15153
|
}
|
14574
15154
|
});
|
14575
15155
|
}
|
@@ -14629,11 +15209,13 @@ class ServicesImpl {
|
|
14629
15209
|
}
|
14630
15210
|
};
|
14631
15211
|
});
|
14632
|
-
const lro = new LroImpl(sendOperation, { groupName, serviceName, parameters, options }, createOrUpdateOperationSpec$
|
14633
|
-
|
15212
|
+
const lro = new LroImpl(sendOperation, { groupName, serviceName, parameters, options }, createOrUpdateOperationSpec$4);
|
15213
|
+
const poller = new coreLro.LroEngine(lro, {
|
14634
15214
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
14635
15215
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
14636
15216
|
});
|
15217
|
+
yield poller.poll();
|
15218
|
+
return poller;
|
14637
15219
|
});
|
14638
15220
|
}
|
14639
15221
|
/**
|
@@ -14664,7 +15246,7 @@ class ServicesImpl {
|
|
14664
15246
|
* @param options The options parameters.
|
14665
15247
|
*/
|
14666
15248
|
get(groupName, serviceName, options) {
|
14667
|
-
return this.client.sendOperationRequest({ groupName, serviceName, options }, getOperationSpec$
|
15249
|
+
return this.client.sendOperationRequest({ groupName, serviceName, options }, getOperationSpec$4);
|
14668
15250
|
}
|
14669
15251
|
/**
|
14670
15252
|
* The services resource is the top-level resource that represents the Database Migration Service. The
|
@@ -14697,11 +15279,13 @@ class ServicesImpl {
|
|
14697
15279
|
}
|
14698
15280
|
};
|
14699
15281
|
});
|
14700
|
-
const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, deleteOperationSpec$
|
14701
|
-
|
15282
|
+
const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, deleteOperationSpec$4);
|
15283
|
+
const poller = new coreLro.LroEngine(lro, {
|
14702
15284
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
14703
15285
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
14704
15286
|
});
|
15287
|
+
yield poller.poll();
|
15288
|
+
return poller;
|
14705
15289
|
});
|
14706
15290
|
}
|
14707
15291
|
/**
|
@@ -14751,11 +15335,13 @@ class ServicesImpl {
|
|
14751
15335
|
}
|
14752
15336
|
};
|
14753
15337
|
});
|
14754
|
-
const lro = new LroImpl(sendOperation, { groupName, serviceName, parameters, options }, updateOperationSpec$
|
14755
|
-
|
15338
|
+
const lro = new LroImpl(sendOperation, { groupName, serviceName, parameters, options }, updateOperationSpec$4);
|
15339
|
+
const poller = new coreLro.LroEngine(lro, {
|
14756
15340
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
14757
15341
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
14758
15342
|
});
|
15343
|
+
yield poller.poll();
|
15344
|
+
return poller;
|
14759
15345
|
});
|
14760
15346
|
}
|
14761
15347
|
/**
|
@@ -14816,10 +15402,12 @@ class ServicesImpl {
|
|
14816
15402
|
};
|
14817
15403
|
});
|
14818
15404
|
const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, startOperationSpec);
|
14819
|
-
|
15405
|
+
const poller = new coreLro.LroEngine(lro, {
|
14820
15406
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
14821
15407
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
14822
15408
|
});
|
15409
|
+
yield poller.poll();
|
15410
|
+
return poller;
|
14823
15411
|
});
|
14824
15412
|
}
|
14825
15413
|
/**
|
@@ -14868,10 +15456,12 @@ class ServicesImpl {
|
|
14868
15456
|
};
|
14869
15457
|
});
|
14870
15458
|
const lro = new LroImpl(sendOperation, { groupName, serviceName, options }, stopOperationSpec);
|
14871
|
-
|
15459
|
+
const poller = new coreLro.LroEngine(lro, {
|
14872
15460
|
resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
14873
15461
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
14874
15462
|
});
|
15463
|
+
yield poller.poll();
|
15464
|
+
return poller;
|
14875
15465
|
});
|
14876
15466
|
}
|
14877
15467
|
/**
|
@@ -14896,7 +15486,7 @@ class ServicesImpl {
|
|
14896
15486
|
* @param options The options parameters.
|
14897
15487
|
*/
|
14898
15488
|
_listSkus(groupName, serviceName, options) {
|
14899
|
-
return this.client.sendOperationRequest({ groupName, serviceName, options }, listSkusOperationSpec
|
15489
|
+
return this.client.sendOperationRequest({ groupName, serviceName, options }, listSkusOperationSpec);
|
14900
15490
|
}
|
14901
15491
|
/**
|
14902
15492
|
* This method checks whether a proposed nested resource name is valid and available.
|
@@ -14915,7 +15505,7 @@ class ServicesImpl {
|
|
14915
15505
|
* @param options The options parameters.
|
14916
15506
|
*/
|
14917
15507
|
_listByResourceGroup(groupName, options) {
|
14918
|
-
return this.client.sendOperationRequest({ groupName, options }, listByResourceGroupOperationSpec
|
15508
|
+
return this.client.sendOperationRequest({ groupName, options }, listByResourceGroupOperationSpec);
|
14919
15509
|
}
|
14920
15510
|
/**
|
14921
15511
|
* The services resource is the top-level resource that represents the Database Migration Service. This
|
@@ -14923,7 +15513,7 @@ class ServicesImpl {
|
|
14923
15513
|
* @param options The options parameters.
|
14924
15514
|
*/
|
14925
15515
|
_list(options) {
|
14926
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$
|
15516
|
+
return this.client.sendOperationRequest({ options }, listOperationSpec$5);
|
14927
15517
|
}
|
14928
15518
|
/**
|
14929
15519
|
* This method checks whether a proposed top-level resource name is valid and available.
|
@@ -14942,7 +15532,7 @@ class ServicesImpl {
|
|
14942
15532
|
* @param options The options parameters.
|
14943
15533
|
*/
|
14944
15534
|
_listSkusNext(groupName, serviceName, nextLink, options) {
|
14945
|
-
return this.client.sendOperationRequest({ groupName, serviceName, nextLink, options }, listSkusNextOperationSpec
|
15535
|
+
return this.client.sendOperationRequest({ groupName, serviceName, nextLink, options }, listSkusNextOperationSpec);
|
14946
15536
|
}
|
14947
15537
|
/**
|
14948
15538
|
* ListByResourceGroupNext
|
@@ -14951,7 +15541,7 @@ class ServicesImpl {
|
|
14951
15541
|
* @param options The options parameters.
|
14952
15542
|
*/
|
14953
15543
|
_listByResourceGroupNext(groupName, nextLink, options) {
|
14954
|
-
return this.client.sendOperationRequest({ groupName, nextLink, options }, listByResourceGroupNextOperationSpec
|
15544
|
+
return this.client.sendOperationRequest({ groupName, nextLink, options }, listByResourceGroupNextOperationSpec);
|
14955
15545
|
}
|
14956
15546
|
/**
|
14957
15547
|
* ListNext
|
@@ -14959,12 +15549,12 @@ class ServicesImpl {
|
|
14959
15549
|
* @param options The options parameters.
|
14960
15550
|
*/
|
14961
15551
|
_listNext(nextLink, options) {
|
14962
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$
|
15552
|
+
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$5);
|
14963
15553
|
}
|
14964
15554
|
}
|
14965
15555
|
// Operation Specifications
|
14966
|
-
const serializer$5 =
|
14967
|
-
const createOrUpdateOperationSpec$
|
15556
|
+
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
15557
|
+
const createOrUpdateOperationSpec$4 = {
|
14968
15558
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
14969
15559
|
httpMethod: "PUT",
|
14970
15560
|
responses: {
|
@@ -14996,7 +15586,7 @@ const createOrUpdateOperationSpec$3 = {
|
|
14996
15586
|
mediaType: "json",
|
14997
15587
|
serializer: serializer$5
|
14998
15588
|
};
|
14999
|
-
const getOperationSpec$
|
15589
|
+
const getOperationSpec$4 = {
|
15000
15590
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
15001
15591
|
httpMethod: "GET",
|
15002
15592
|
responses: {
|
@@ -15017,7 +15607,7 @@ const getOperationSpec$3 = {
|
|
15017
15607
|
headerParameters: [accept],
|
15018
15608
|
serializer: serializer$5
|
15019
15609
|
};
|
15020
|
-
const deleteOperationSpec$
|
15610
|
+
const deleteOperationSpec$4 = {
|
15021
15611
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
15022
15612
|
httpMethod: "DELETE",
|
15023
15613
|
responses: {
|
@@ -15039,7 +15629,7 @@ const deleteOperationSpec$1 = {
|
|
15039
15629
|
headerParameters: [accept],
|
15040
15630
|
serializer: serializer$5
|
15041
15631
|
};
|
15042
|
-
const updateOperationSpec$
|
15632
|
+
const updateOperationSpec$4 = {
|
15043
15633
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}",
|
15044
15634
|
httpMethod: "PATCH",
|
15045
15635
|
responses: {
|
@@ -15136,7 +15726,7 @@ const stopOperationSpec = {
|
|
15136
15726
|
headerParameters: [accept],
|
15137
15727
|
serializer: serializer$5
|
15138
15728
|
};
|
15139
|
-
const listSkusOperationSpec
|
15729
|
+
const listSkusOperationSpec = {
|
15140
15730
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus",
|
15141
15731
|
httpMethod: "GET",
|
15142
15732
|
responses: {
|
@@ -15180,7 +15770,7 @@ const checkChildrenNameAvailabilityOperationSpec = {
|
|
15180
15770
|
mediaType: "json",
|
15181
15771
|
serializer: serializer$5
|
15182
15772
|
};
|
15183
|
-
const listByResourceGroupOperationSpec
|
15773
|
+
const listByResourceGroupOperationSpec = {
|
15184
15774
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services",
|
15185
15775
|
httpMethod: "GET",
|
15186
15776
|
responses: {
|
@@ -15200,7 +15790,7 @@ const listByResourceGroupOperationSpec$1 = {
|
|
15200
15790
|
headerParameters: [accept],
|
15201
15791
|
serializer: serializer$5
|
15202
15792
|
};
|
15203
|
-
const listOperationSpec$
|
15793
|
+
const listOperationSpec$5 = {
|
15204
15794
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services",
|
15205
15795
|
httpMethod: "GET",
|
15206
15796
|
responses: {
|
@@ -15238,7 +15828,7 @@ const checkNameAvailabilityOperationSpec = {
|
|
15238
15828
|
mediaType: "json",
|
15239
15829
|
serializer: serializer$5
|
15240
15830
|
};
|
15241
|
-
const listSkusNextOperationSpec
|
15831
|
+
const listSkusNextOperationSpec = {
|
15242
15832
|
path: "{nextLink}",
|
15243
15833
|
httpMethod: "GET",
|
15244
15834
|
responses: {
|
@@ -15260,7 +15850,7 @@ const listSkusNextOperationSpec$1 = {
|
|
15260
15850
|
headerParameters: [accept],
|
15261
15851
|
serializer: serializer$5
|
15262
15852
|
};
|
15263
|
-
const listByResourceGroupNextOperationSpec
|
15853
|
+
const listByResourceGroupNextOperationSpec = {
|
15264
15854
|
path: "{nextLink}",
|
15265
15855
|
httpMethod: "GET",
|
15266
15856
|
responses: {
|
@@ -15281,7 +15871,7 @@ const listByResourceGroupNextOperationSpec$1 = {
|
|
15281
15871
|
headerParameters: [accept],
|
15282
15872
|
serializer: serializer$5
|
15283
15873
|
};
|
15284
|
-
const listNextOperationSpec$
|
15874
|
+
const listNextOperationSpec$5 = {
|
15285
15875
|
path: "{nextLink}",
|
15286
15876
|
httpMethod: "GET",
|
15287
15877
|
responses: {
|
@@ -15337,20 +15927,31 @@ class TasksImpl {
|
|
15337
15927
|
[Symbol.asyncIterator]() {
|
15338
15928
|
return this;
|
15339
15929
|
},
|
15340
|
-
byPage: () => {
|
15341
|
-
|
15930
|
+
byPage: (settings) => {
|
15931
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
15932
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
15933
|
+
}
|
15934
|
+
return this.listPagingPage(groupName, serviceName, projectName, options, settings);
|
15342
15935
|
}
|
15343
15936
|
};
|
15344
15937
|
}
|
15345
|
-
listPagingPage(groupName, serviceName, projectName, options) {
|
15938
|
+
listPagingPage(groupName, serviceName, projectName, options, settings) {
|
15346
15939
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
15347
|
-
let result
|
15348
|
-
|
15349
|
-
|
15940
|
+
let result;
|
15941
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
15942
|
+
if (!continuationToken) {
|
15943
|
+
result = yield tslib.__await(this._list(groupName, serviceName, projectName, options));
|
15944
|
+
let page = result.value || [];
|
15945
|
+
continuationToken = result.nextLink;
|
15946
|
+
setContinuationToken(page, continuationToken);
|
15947
|
+
yield yield tslib.__await(page);
|
15948
|
+
}
|
15350
15949
|
while (continuationToken) {
|
15351
15950
|
result = yield tslib.__await(this._listNext(groupName, serviceName, projectName, continuationToken, options));
|
15352
15951
|
continuationToken = result.nextLink;
|
15353
|
-
|
15952
|
+
let page = result.value || [];
|
15953
|
+
setContinuationToken(page, continuationToken);
|
15954
|
+
yield yield tslib.__await(page);
|
15354
15955
|
}
|
15355
15956
|
});
|
15356
15957
|
}
|
@@ -15382,7 +15983,7 @@ class TasksImpl {
|
|
15382
15983
|
* @param options The options parameters.
|
15383
15984
|
*/
|
15384
15985
|
_list(groupName, serviceName, projectName, options) {
|
15385
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec$
|
15986
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec$4);
|
15386
15987
|
}
|
15387
15988
|
/**
|
15388
15989
|
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
@@ -15396,7 +15997,7 @@ class TasksImpl {
|
|
15396
15997
|
* @param options The options parameters.
|
15397
15998
|
*/
|
15398
15999
|
createOrUpdate(groupName, serviceName, projectName, taskName, parameters, options) {
|
15399
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, createOrUpdateOperationSpec$
|
16000
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, createOrUpdateOperationSpec$3);
|
15400
16001
|
}
|
15401
16002
|
/**
|
15402
16003
|
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
@@ -15408,7 +16009,7 @@ class TasksImpl {
|
|
15408
16009
|
* @param options The options parameters.
|
15409
16010
|
*/
|
15410
16011
|
get(groupName, serviceName, projectName, taskName, options) {
|
15411
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, getOperationSpec$
|
16012
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, getOperationSpec$3);
|
15412
16013
|
}
|
15413
16014
|
/**
|
15414
16015
|
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
@@ -15420,7 +16021,7 @@ class TasksImpl {
|
|
15420
16021
|
* @param options The options parameters.
|
15421
16022
|
*/
|
15422
16023
|
delete(groupName, serviceName, projectName, taskName, options) {
|
15423
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, deleteOperationSpec$
|
16024
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, deleteOperationSpec$3);
|
15424
16025
|
}
|
15425
16026
|
/**
|
15426
16027
|
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
@@ -15434,7 +16035,7 @@ class TasksImpl {
|
|
15434
16035
|
* @param options The options parameters.
|
15435
16036
|
*/
|
15436
16037
|
update(groupName, serviceName, projectName, taskName, parameters, options) {
|
15437
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, updateOperationSpec$
|
16038
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, parameters, options }, updateOperationSpec$3);
|
15438
16039
|
}
|
15439
16040
|
/**
|
15440
16041
|
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
@@ -15446,7 +16047,7 @@ class TasksImpl {
|
|
15446
16047
|
* @param options The options parameters.
|
15447
16048
|
*/
|
15448
16049
|
cancel(groupName, serviceName, projectName, taskName, options) {
|
15449
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, cancelOperationSpec$
|
16050
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, taskName, options }, cancelOperationSpec$1);
|
15450
16051
|
}
|
15451
16052
|
/**
|
15452
16053
|
* The tasks resource is a nested, proxy-only resource representing work performed by a DMS instance.
|
@@ -15470,12 +16071,12 @@ class TasksImpl {
|
|
15470
16071
|
* @param options The options parameters.
|
15471
16072
|
*/
|
15472
16073
|
_listNext(groupName, serviceName, projectName, nextLink, options) {
|
15473
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec$
|
16074
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec$4);
|
15474
16075
|
}
|
15475
16076
|
}
|
15476
16077
|
// Operation Specifications
|
15477
|
-
const serializer$
|
15478
|
-
const listOperationSpec$
|
16078
|
+
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
16079
|
+
const listOperationSpec$4 = {
|
15479
16080
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks",
|
15480
16081
|
httpMethod: "GET",
|
15481
16082
|
responses: {
|
@@ -15495,9 +16096,9 @@ const listOperationSpec$2 = {
|
|
15495
16096
|
projectName
|
15496
16097
|
],
|
15497
16098
|
headerParameters: [accept],
|
15498
|
-
serializer: serializer$
|
16099
|
+
serializer: serializer$4
|
15499
16100
|
};
|
15500
|
-
const createOrUpdateOperationSpec$
|
16101
|
+
const createOrUpdateOperationSpec$3 = {
|
15501
16102
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
15502
16103
|
httpMethod: "PUT",
|
15503
16104
|
responses: {
|
@@ -15523,9 +16124,9 @@ const createOrUpdateOperationSpec$4 = {
|
|
15523
16124
|
],
|
15524
16125
|
headerParameters: [accept, contentType],
|
15525
16126
|
mediaType: "json",
|
15526
|
-
serializer: serializer$
|
16127
|
+
serializer: serializer$4
|
15527
16128
|
};
|
15528
|
-
const getOperationSpec$
|
16129
|
+
const getOperationSpec$3 = {
|
15529
16130
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
15530
16131
|
httpMethod: "GET",
|
15531
16132
|
responses: {
|
@@ -15546,9 +16147,9 @@ const getOperationSpec$4 = {
|
|
15546
16147
|
taskName
|
15547
16148
|
],
|
15548
16149
|
headerParameters: [accept],
|
15549
|
-
serializer: serializer$
|
16150
|
+
serializer: serializer$4
|
15550
16151
|
};
|
15551
|
-
const deleteOperationSpec$
|
16152
|
+
const deleteOperationSpec$3 = {
|
15552
16153
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
15553
16154
|
httpMethod: "DELETE",
|
15554
16155
|
responses: {
|
@@ -15568,9 +16169,9 @@ const deleteOperationSpec$2 = {
|
|
15568
16169
|
taskName
|
15569
16170
|
],
|
15570
16171
|
headerParameters: [accept],
|
15571
|
-
serializer: serializer$
|
16172
|
+
serializer: serializer$4
|
15572
16173
|
};
|
15573
|
-
const updateOperationSpec$
|
16174
|
+
const updateOperationSpec$3 = {
|
15574
16175
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}",
|
15575
16176
|
httpMethod: "PATCH",
|
15576
16177
|
responses: {
|
@@ -15593,9 +16194,9 @@ const updateOperationSpec$2 = {
|
|
15593
16194
|
],
|
15594
16195
|
headerParameters: [accept, contentType],
|
15595
16196
|
mediaType: "json",
|
15596
|
-
serializer: serializer$
|
16197
|
+
serializer: serializer$4
|
15597
16198
|
};
|
15598
|
-
const cancelOperationSpec$
|
16199
|
+
const cancelOperationSpec$1 = {
|
15599
16200
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/cancel",
|
15600
16201
|
httpMethod: "POST",
|
15601
16202
|
responses: {
|
@@ -15616,7 +16217,7 @@ const cancelOperationSpec$2 = {
|
|
15616
16217
|
taskName
|
15617
16218
|
],
|
15618
16219
|
headerParameters: [accept],
|
15619
|
-
serializer: serializer$
|
16220
|
+
serializer: serializer$4
|
15620
16221
|
};
|
15621
16222
|
const commandOperationSpec = {
|
15622
16223
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/tasks/{taskName}/command",
|
@@ -15641,9 +16242,9 @@ const commandOperationSpec = {
|
|
15641
16242
|
],
|
15642
16243
|
headerParameters: [accept, contentType],
|
15643
16244
|
mediaType: "json",
|
15644
|
-
serializer: serializer$
|
16245
|
+
serializer: serializer$4
|
15645
16246
|
};
|
15646
|
-
const listNextOperationSpec$
|
16247
|
+
const listNextOperationSpec$4 = {
|
15647
16248
|
path: "{nextLink}",
|
15648
16249
|
httpMethod: "GET",
|
15649
16250
|
responses: {
|
@@ -15664,7 +16265,7 @@ const listNextOperationSpec$2 = {
|
|
15664
16265
|
projectName
|
15665
16266
|
],
|
15666
16267
|
headerParameters: [accept],
|
15667
|
-
serializer: serializer$
|
16268
|
+
serializer: serializer$4
|
15668
16269
|
};
|
15669
16270
|
|
15670
16271
|
/*
|
@@ -15701,20 +16302,31 @@ class ServiceTasksImpl {
|
|
15701
16302
|
[Symbol.asyncIterator]() {
|
15702
16303
|
return this;
|
15703
16304
|
},
|
15704
|
-
byPage: () => {
|
15705
|
-
|
16305
|
+
byPage: (settings) => {
|
16306
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
16307
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
16308
|
+
}
|
16309
|
+
return this.listPagingPage(groupName, serviceName, options, settings);
|
15706
16310
|
}
|
15707
16311
|
};
|
15708
16312
|
}
|
15709
|
-
listPagingPage(groupName, serviceName, options) {
|
16313
|
+
listPagingPage(groupName, serviceName, options, settings) {
|
15710
16314
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
15711
|
-
let result
|
15712
|
-
|
15713
|
-
|
16315
|
+
let result;
|
16316
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
16317
|
+
if (!continuationToken) {
|
16318
|
+
result = yield tslib.__await(this._list(groupName, serviceName, options));
|
16319
|
+
let page = result.value || [];
|
16320
|
+
continuationToken = result.nextLink;
|
16321
|
+
setContinuationToken(page, continuationToken);
|
16322
|
+
yield yield tslib.__await(page);
|
16323
|
+
}
|
15714
16324
|
while (continuationToken) {
|
15715
16325
|
result = yield tslib.__await(this._listNext(groupName, serviceName, continuationToken, options));
|
15716
16326
|
continuationToken = result.nextLink;
|
15717
|
-
|
16327
|
+
let page = result.value || [];
|
16328
|
+
setContinuationToken(page, continuationToken);
|
16329
|
+
yield yield tslib.__await(page);
|
15718
16330
|
}
|
15719
16331
|
});
|
15720
16332
|
}
|
@@ -15758,7 +16370,7 @@ class ServiceTasksImpl {
|
|
15758
16370
|
* @param options The options parameters.
|
15759
16371
|
*/
|
15760
16372
|
createOrUpdate(groupName, serviceName, taskName, parameters, options) {
|
15761
|
-
return this.client.sendOperationRequest({ groupName, serviceName, taskName, parameters, options }, createOrUpdateOperationSpec$
|
16373
|
+
return this.client.sendOperationRequest({ groupName, serviceName, taskName, parameters, options }, createOrUpdateOperationSpec$2);
|
15762
16374
|
}
|
15763
16375
|
/**
|
15764
16376
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
@@ -15769,7 +16381,7 @@ class ServiceTasksImpl {
|
|
15769
16381
|
* @param options The options parameters.
|
15770
16382
|
*/
|
15771
16383
|
get(groupName, serviceName, taskName, options) {
|
15772
|
-
return this.client.sendOperationRequest({ groupName, serviceName, taskName, options }, getOperationSpec$
|
16384
|
+
return this.client.sendOperationRequest({ groupName, serviceName, taskName, options }, getOperationSpec$2);
|
15773
16385
|
}
|
15774
16386
|
/**
|
15775
16387
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
@@ -15780,7 +16392,7 @@ class ServiceTasksImpl {
|
|
15780
16392
|
* @param options The options parameters.
|
15781
16393
|
*/
|
15782
16394
|
delete(groupName, serviceName, taskName, options) {
|
15783
|
-
return this.client.sendOperationRequest({ groupName, serviceName, taskName, options }, deleteOperationSpec$
|
16395
|
+
return this.client.sendOperationRequest({ groupName, serviceName, taskName, options }, deleteOperationSpec$2);
|
15784
16396
|
}
|
15785
16397
|
/**
|
15786
16398
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
@@ -15793,7 +16405,7 @@ class ServiceTasksImpl {
|
|
15793
16405
|
* @param options The options parameters.
|
15794
16406
|
*/
|
15795
16407
|
update(groupName, serviceName, taskName, parameters, options) {
|
15796
|
-
return this.client.sendOperationRequest({ groupName, serviceName, taskName, parameters, options }, updateOperationSpec$
|
16408
|
+
return this.client.sendOperationRequest({ groupName, serviceName, taskName, parameters, options }, updateOperationSpec$2);
|
15797
16409
|
}
|
15798
16410
|
/**
|
15799
16411
|
* The service tasks resource is a nested, proxy-only resource representing work performed by a DMS
|
@@ -15804,7 +16416,7 @@ class ServiceTasksImpl {
|
|
15804
16416
|
* @param options The options parameters.
|
15805
16417
|
*/
|
15806
16418
|
cancel(groupName, serviceName, taskName, options) {
|
15807
|
-
return this.client.sendOperationRequest({ groupName, serviceName, taskName, options }, cancelOperationSpec
|
16419
|
+
return this.client.sendOperationRequest({ groupName, serviceName, taskName, options }, cancelOperationSpec);
|
15808
16420
|
}
|
15809
16421
|
/**
|
15810
16422
|
* ListNext
|
@@ -15818,7 +16430,7 @@ class ServiceTasksImpl {
|
|
15818
16430
|
}
|
15819
16431
|
}
|
15820
16432
|
// Operation Specifications
|
15821
|
-
const serializer$
|
16433
|
+
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
15822
16434
|
const listOperationSpec$3 = {
|
15823
16435
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks",
|
15824
16436
|
httpMethod: "GET",
|
@@ -15838,9 +16450,9 @@ const listOperationSpec$3 = {
|
|
15838
16450
|
serviceName
|
15839
16451
|
],
|
15840
16452
|
headerParameters: [accept],
|
15841
|
-
serializer: serializer$
|
16453
|
+
serializer: serializer$3
|
15842
16454
|
};
|
15843
|
-
const createOrUpdateOperationSpec$
|
16455
|
+
const createOrUpdateOperationSpec$2 = {
|
15844
16456
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
15845
16457
|
httpMethod: "PUT",
|
15846
16458
|
responses: {
|
@@ -15865,9 +16477,9 @@ const createOrUpdateOperationSpec$5 = {
|
|
15865
16477
|
],
|
15866
16478
|
headerParameters: [accept, contentType],
|
15867
16479
|
mediaType: "json",
|
15868
|
-
serializer: serializer$
|
16480
|
+
serializer: serializer$3
|
15869
16481
|
};
|
15870
|
-
const getOperationSpec$
|
16482
|
+
const getOperationSpec$2 = {
|
15871
16483
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
15872
16484
|
httpMethod: "GET",
|
15873
16485
|
responses: {
|
@@ -15887,9 +16499,9 @@ const getOperationSpec$5 = {
|
|
15887
16499
|
taskName
|
15888
16500
|
],
|
15889
16501
|
headerParameters: [accept],
|
15890
|
-
serializer: serializer$
|
16502
|
+
serializer: serializer$3
|
15891
16503
|
};
|
15892
|
-
const deleteOperationSpec$
|
16504
|
+
const deleteOperationSpec$2 = {
|
15893
16505
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
15894
16506
|
httpMethod: "DELETE",
|
15895
16507
|
responses: {
|
@@ -15908,9 +16520,9 @@ const deleteOperationSpec$3 = {
|
|
15908
16520
|
taskName
|
15909
16521
|
],
|
15910
16522
|
headerParameters: [accept],
|
15911
|
-
serializer: serializer$
|
16523
|
+
serializer: serializer$3
|
15912
16524
|
};
|
15913
|
-
const updateOperationSpec$
|
16525
|
+
const updateOperationSpec$2 = {
|
15914
16526
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}",
|
15915
16527
|
httpMethod: "PATCH",
|
15916
16528
|
responses: {
|
@@ -15932,9 +16544,9 @@ const updateOperationSpec$3 = {
|
|
15932
16544
|
],
|
15933
16545
|
headerParameters: [accept, contentType],
|
15934
16546
|
mediaType: "json",
|
15935
|
-
serializer: serializer$
|
16547
|
+
serializer: serializer$3
|
15936
16548
|
};
|
15937
|
-
const cancelOperationSpec
|
16549
|
+
const cancelOperationSpec = {
|
15938
16550
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks/{taskName}/cancel",
|
15939
16551
|
httpMethod: "POST",
|
15940
16552
|
responses: {
|
@@ -15954,7 +16566,7 @@ const cancelOperationSpec$3 = {
|
|
15954
16566
|
taskName
|
15955
16567
|
],
|
15956
16568
|
headerParameters: [accept],
|
15957
|
-
serializer: serializer$
|
16569
|
+
serializer: serializer$3
|
15958
16570
|
};
|
15959
16571
|
const listNextOperationSpec$3 = {
|
15960
16572
|
path: "{nextLink}",
|
@@ -15976,7 +16588,7 @@ const listNextOperationSpec$3 = {
|
|
15976
16588
|
serviceName
|
15977
16589
|
],
|
15978
16590
|
headerParameters: [accept],
|
15979
|
-
serializer: serializer$
|
16591
|
+
serializer: serializer$3
|
15980
16592
|
};
|
15981
16593
|
|
15982
16594
|
/*
|
@@ -16012,20 +16624,31 @@ class ProjectsImpl {
|
|
16012
16624
|
[Symbol.asyncIterator]() {
|
16013
16625
|
return this;
|
16014
16626
|
},
|
16015
|
-
byPage: () => {
|
16016
|
-
|
16627
|
+
byPage: (settings) => {
|
16628
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
16629
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
16630
|
+
}
|
16631
|
+
return this.listPagingPage(groupName, serviceName, options, settings);
|
16017
16632
|
}
|
16018
16633
|
};
|
16019
16634
|
}
|
16020
|
-
listPagingPage(groupName, serviceName, options) {
|
16635
|
+
listPagingPage(groupName, serviceName, options, settings) {
|
16021
16636
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
16022
|
-
let result
|
16023
|
-
|
16024
|
-
|
16637
|
+
let result;
|
16638
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
16639
|
+
if (!continuationToken) {
|
16640
|
+
result = yield tslib.__await(this._list(groupName, serviceName, options));
|
16641
|
+
let page = result.value || [];
|
16642
|
+
continuationToken = result.nextLink;
|
16643
|
+
setContinuationToken(page, continuationToken);
|
16644
|
+
yield yield tslib.__await(page);
|
16645
|
+
}
|
16025
16646
|
while (continuationToken) {
|
16026
16647
|
result = yield tslib.__await(this._listNext(groupName, serviceName, continuationToken, options));
|
16027
16648
|
continuationToken = result.nextLink;
|
16028
|
-
|
16649
|
+
let page = result.value || [];
|
16650
|
+
setContinuationToken(page, continuationToken);
|
16651
|
+
yield yield tslib.__await(page);
|
16029
16652
|
}
|
16030
16653
|
});
|
16031
16654
|
}
|
@@ -16055,7 +16678,7 @@ class ProjectsImpl {
|
|
16055
16678
|
* @param options The options parameters.
|
16056
16679
|
*/
|
16057
16680
|
_list(groupName, serviceName, options) {
|
16058
|
-
return this.client.sendOperationRequest({ groupName, serviceName, options }, listOperationSpec$
|
16681
|
+
return this.client.sendOperationRequest({ groupName, serviceName, options }, listOperationSpec$2);
|
16059
16682
|
}
|
16060
16683
|
/**
|
16061
16684
|
* The project resource is a nested resource representing a stored migration project. The PUT method
|
@@ -16067,7 +16690,7 @@ class ProjectsImpl {
|
|
16067
16690
|
* @param options The options parameters.
|
16068
16691
|
*/
|
16069
16692
|
createOrUpdate(groupName, serviceName, projectName, parameters, options) {
|
16070
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, parameters, options }, createOrUpdateOperationSpec$
|
16693
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, parameters, options }, createOrUpdateOperationSpec$1);
|
16071
16694
|
}
|
16072
16695
|
/**
|
16073
16696
|
* The project resource is a nested resource representing a stored migration project. The GET method
|
@@ -16078,7 +16701,7 @@ class ProjectsImpl {
|
|
16078
16701
|
* @param options The options parameters.
|
16079
16702
|
*/
|
16080
16703
|
get(groupName, serviceName, projectName, options) {
|
16081
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, getOperationSpec$
|
16704
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, getOperationSpec$1);
|
16082
16705
|
}
|
16083
16706
|
/**
|
16084
16707
|
* The project resource is a nested resource representing a stored migration project. The DELETE method
|
@@ -16089,7 +16712,7 @@ class ProjectsImpl {
|
|
16089
16712
|
* @param options The options parameters.
|
16090
16713
|
*/
|
16091
16714
|
delete(groupName, serviceName, projectName, options) {
|
16092
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, deleteOperationSpec$
|
16715
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, deleteOperationSpec$1);
|
16093
16716
|
}
|
16094
16717
|
/**
|
16095
16718
|
* The project resource is a nested resource representing a stored migration project. The PATCH method
|
@@ -16101,7 +16724,7 @@ class ProjectsImpl {
|
|
16101
16724
|
* @param options The options parameters.
|
16102
16725
|
*/
|
16103
16726
|
update(groupName, serviceName, projectName, parameters, options) {
|
16104
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, parameters, options }, updateOperationSpec$
|
16727
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, parameters, options }, updateOperationSpec$1);
|
16105
16728
|
}
|
16106
16729
|
/**
|
16107
16730
|
* ListNext
|
@@ -16111,12 +16734,12 @@ class ProjectsImpl {
|
|
16111
16734
|
* @param options The options parameters.
|
16112
16735
|
*/
|
16113
16736
|
_listNext(groupName, serviceName, nextLink, options) {
|
16114
|
-
return this.client.sendOperationRequest({ groupName, serviceName, nextLink, options }, listNextOperationSpec$
|
16737
|
+
return this.client.sendOperationRequest({ groupName, serviceName, nextLink, options }, listNextOperationSpec$2);
|
16115
16738
|
}
|
16116
16739
|
}
|
16117
16740
|
// Operation Specifications
|
16118
|
-
const serializer$
|
16119
|
-
const listOperationSpec$
|
16741
|
+
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
16742
|
+
const listOperationSpec$2 = {
|
16120
16743
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects",
|
16121
16744
|
httpMethod: "GET",
|
16122
16745
|
responses: {
|
@@ -16135,9 +16758,9 @@ const listOperationSpec$4 = {
|
|
16135
16758
|
serviceName
|
16136
16759
|
],
|
16137
16760
|
headerParameters: [accept],
|
16138
|
-
serializer: serializer$
|
16761
|
+
serializer: serializer$2
|
16139
16762
|
};
|
16140
|
-
const createOrUpdateOperationSpec$
|
16763
|
+
const createOrUpdateOperationSpec$1 = {
|
16141
16764
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
16142
16765
|
httpMethod: "PUT",
|
16143
16766
|
responses: {
|
@@ -16162,9 +16785,9 @@ const createOrUpdateOperationSpec$6 = {
|
|
16162
16785
|
],
|
16163
16786
|
headerParameters: [accept, contentType],
|
16164
16787
|
mediaType: "json",
|
16165
|
-
serializer: serializer$
|
16788
|
+
serializer: serializer$2
|
16166
16789
|
};
|
16167
|
-
const getOperationSpec$
|
16790
|
+
const getOperationSpec$1 = {
|
16168
16791
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
16169
16792
|
httpMethod: "GET",
|
16170
16793
|
responses: {
|
@@ -16184,9 +16807,9 @@ const getOperationSpec$6 = {
|
|
16184
16807
|
projectName
|
16185
16808
|
],
|
16186
16809
|
headerParameters: [accept],
|
16187
|
-
serializer: serializer$
|
16810
|
+
serializer: serializer$2
|
16188
16811
|
};
|
16189
|
-
const deleteOperationSpec$
|
16812
|
+
const deleteOperationSpec$1 = {
|
16190
16813
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
16191
16814
|
httpMethod: "DELETE",
|
16192
16815
|
responses: {
|
@@ -16205,9 +16828,9 @@ const deleteOperationSpec$4 = {
|
|
16205
16828
|
projectName
|
16206
16829
|
],
|
16207
16830
|
headerParameters: [accept],
|
16208
|
-
serializer: serializer$
|
16831
|
+
serializer: serializer$2
|
16209
16832
|
};
|
16210
|
-
const updateOperationSpec$
|
16833
|
+
const updateOperationSpec$1 = {
|
16211
16834
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}",
|
16212
16835
|
httpMethod: "PATCH",
|
16213
16836
|
responses: {
|
@@ -16229,9 +16852,9 @@ const updateOperationSpec$4 = {
|
|
16229
16852
|
],
|
16230
16853
|
headerParameters: [accept, contentType],
|
16231
16854
|
mediaType: "json",
|
16232
|
-
serializer: serializer$
|
16855
|
+
serializer: serializer$2
|
16233
16856
|
};
|
16234
|
-
const listNextOperationSpec$
|
16857
|
+
const listNextOperationSpec$2 = {
|
16235
16858
|
path: "{nextLink}",
|
16236
16859
|
httpMethod: "GET",
|
16237
16860
|
responses: {
|
@@ -16251,7 +16874,7 @@ const listNextOperationSpec$4 = {
|
|
16251
16874
|
serviceName
|
16252
16875
|
],
|
16253
16876
|
headerParameters: [accept],
|
16254
|
-
serializer: serializer$
|
16877
|
+
serializer: serializer$2
|
16255
16878
|
};
|
16256
16879
|
|
16257
16880
|
/*
|
@@ -16286,20 +16909,31 @@ class UsagesImpl {
|
|
16286
16909
|
[Symbol.asyncIterator]() {
|
16287
16910
|
return this;
|
16288
16911
|
},
|
16289
|
-
byPage: () => {
|
16290
|
-
|
16912
|
+
byPage: (settings) => {
|
16913
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
16914
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
16915
|
+
}
|
16916
|
+
return this.listPagingPage(location, options, settings);
|
16291
16917
|
}
|
16292
16918
|
};
|
16293
16919
|
}
|
16294
|
-
listPagingPage(location, options) {
|
16920
|
+
listPagingPage(location, options, settings) {
|
16295
16921
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
16296
|
-
let result
|
16297
|
-
|
16298
|
-
|
16922
|
+
let result;
|
16923
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
16924
|
+
if (!continuationToken) {
|
16925
|
+
result = yield tslib.__await(this._list(location, options));
|
16926
|
+
let page = result.value || [];
|
16927
|
+
continuationToken = result.nextLink;
|
16928
|
+
setContinuationToken(page, continuationToken);
|
16929
|
+
yield yield tslib.__await(page);
|
16930
|
+
}
|
16299
16931
|
while (continuationToken) {
|
16300
16932
|
result = yield tslib.__await(this._listNext(location, continuationToken, options));
|
16301
16933
|
continuationToken = result.nextLink;
|
16302
|
-
|
16934
|
+
let page = result.value || [];
|
16935
|
+
setContinuationToken(page, continuationToken);
|
16936
|
+
yield yield tslib.__await(page);
|
16303
16937
|
}
|
16304
16938
|
});
|
16305
16939
|
}
|
@@ -16328,7 +16962,7 @@ class UsagesImpl {
|
|
16328
16962
|
* @param options The options parameters.
|
16329
16963
|
*/
|
16330
16964
|
_list(location, options) {
|
16331
|
-
return this.client.sendOperationRequest({ location, options }, listOperationSpec$
|
16965
|
+
return this.client.sendOperationRequest({ location, options }, listOperationSpec$1);
|
16332
16966
|
}
|
16333
16967
|
/**
|
16334
16968
|
* ListNext
|
@@ -16337,12 +16971,12 @@ class UsagesImpl {
|
|
16337
16971
|
* @param options The options parameters.
|
16338
16972
|
*/
|
16339
16973
|
_listNext(location, nextLink, options) {
|
16340
|
-
return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec$
|
16974
|
+
return this.client.sendOperationRequest({ location, nextLink, options }, listNextOperationSpec$1);
|
16341
16975
|
}
|
16342
16976
|
}
|
16343
16977
|
// Operation Specifications
|
16344
|
-
const serializer$
|
16345
|
-
const listOperationSpec$
|
16978
|
+
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
16979
|
+
const listOperationSpec$1 = {
|
16346
16980
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/usages",
|
16347
16981
|
httpMethod: "GET",
|
16348
16982
|
responses: {
|
@@ -16360,9 +16994,9 @@ const listOperationSpec$5 = {
|
|
16360
16994
|
location
|
16361
16995
|
],
|
16362
16996
|
headerParameters: [accept],
|
16363
|
-
serializer: serializer$
|
16997
|
+
serializer: serializer$1
|
16364
16998
|
};
|
16365
|
-
const listNextOperationSpec$
|
16999
|
+
const listNextOperationSpec$1 = {
|
16366
17000
|
path: "{nextLink}",
|
16367
17001
|
httpMethod: "GET",
|
16368
17002
|
responses: {
|
@@ -16381,7 +17015,7 @@ const listNextOperationSpec$5 = {
|
|
16381
17015
|
location
|
16382
17016
|
],
|
16383
17017
|
headerParameters: [accept],
|
16384
|
-
serializer: serializer$
|
17018
|
+
serializer: serializer$1
|
16385
17019
|
};
|
16386
17020
|
|
16387
17021
|
/*
|
@@ -16418,20 +17052,31 @@ class FilesImpl {
|
|
16418
17052
|
[Symbol.asyncIterator]() {
|
16419
17053
|
return this;
|
16420
17054
|
},
|
16421
|
-
byPage: () => {
|
16422
|
-
|
17055
|
+
byPage: (settings) => {
|
17056
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
17057
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
17058
|
+
}
|
17059
|
+
return this.listPagingPage(groupName, serviceName, projectName, options, settings);
|
16423
17060
|
}
|
16424
17061
|
};
|
16425
17062
|
}
|
16426
|
-
listPagingPage(groupName, serviceName, projectName, options) {
|
17063
|
+
listPagingPage(groupName, serviceName, projectName, options, settings) {
|
16427
17064
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
16428
|
-
let result
|
16429
|
-
|
16430
|
-
|
17065
|
+
let result;
|
17066
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
17067
|
+
if (!continuationToken) {
|
17068
|
+
result = yield tslib.__await(this._list(groupName, serviceName, projectName, options));
|
17069
|
+
let page = result.value || [];
|
17070
|
+
continuationToken = result.nextLink;
|
17071
|
+
setContinuationToken(page, continuationToken);
|
17072
|
+
yield yield tslib.__await(page);
|
17073
|
+
}
|
16431
17074
|
while (continuationToken) {
|
16432
17075
|
result = yield tslib.__await(this._listNext(groupName, serviceName, projectName, continuationToken, options));
|
16433
17076
|
continuationToken = result.nextLink;
|
16434
|
-
|
17077
|
+
let page = result.value || [];
|
17078
|
+
setContinuationToken(page, continuationToken);
|
17079
|
+
yield yield tslib.__await(page);
|
16435
17080
|
}
|
16436
17081
|
});
|
16437
17082
|
}
|
@@ -16462,7 +17107,7 @@ class FilesImpl {
|
|
16462
17107
|
* @param options The options parameters.
|
16463
17108
|
*/
|
16464
17109
|
_list(groupName, serviceName, projectName, options) {
|
16465
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec
|
17110
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, options }, listOperationSpec);
|
16466
17111
|
}
|
16467
17112
|
/**
|
16468
17113
|
* The files resource is a nested, proxy-only resource representing a file stored under the project
|
@@ -16474,7 +17119,7 @@ class FilesImpl {
|
|
16474
17119
|
* @param options The options parameters.
|
16475
17120
|
*/
|
16476
17121
|
get(groupName, serviceName, projectName, fileName, options) {
|
16477
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, getOperationSpec
|
17122
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, getOperationSpec);
|
16478
17123
|
}
|
16479
17124
|
/**
|
16480
17125
|
* The PUT method creates a new file or updates an existing one.
|
@@ -16486,7 +17131,7 @@ class FilesImpl {
|
|
16486
17131
|
* @param options The options parameters.
|
16487
17132
|
*/
|
16488
17133
|
createOrUpdate(groupName, serviceName, projectName, fileName, parameters, options) {
|
16489
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, parameters, options }, createOrUpdateOperationSpec
|
17134
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, parameters, options }, createOrUpdateOperationSpec);
|
16490
17135
|
}
|
16491
17136
|
/**
|
16492
17137
|
* This method deletes a file.
|
@@ -16497,7 +17142,7 @@ class FilesImpl {
|
|
16497
17142
|
* @param options The options parameters.
|
16498
17143
|
*/
|
16499
17144
|
delete(groupName, serviceName, projectName, fileName, options) {
|
16500
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, deleteOperationSpec
|
17145
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, options }, deleteOperationSpec);
|
16501
17146
|
}
|
16502
17147
|
/**
|
16503
17148
|
* This method updates an existing file.
|
@@ -16509,7 +17154,7 @@ class FilesImpl {
|
|
16509
17154
|
* @param options The options parameters.
|
16510
17155
|
*/
|
16511
17156
|
update(groupName, serviceName, projectName, fileName, parameters, options) {
|
16512
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, parameters, options }, updateOperationSpec
|
17157
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, fileName, parameters, options }, updateOperationSpec);
|
16513
17158
|
}
|
16514
17159
|
/**
|
16515
17160
|
* This method is used for requesting storage information using which contents of the file can be
|
@@ -16543,12 +17188,12 @@ class FilesImpl {
|
|
16543
17188
|
* @param options The options parameters.
|
16544
17189
|
*/
|
16545
17190
|
_listNext(groupName, serviceName, projectName, nextLink, options) {
|
16546
|
-
return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec
|
17191
|
+
return this.client.sendOperationRequest({ groupName, serviceName, projectName, nextLink, options }, listNextOperationSpec);
|
16547
17192
|
}
|
16548
17193
|
}
|
16549
17194
|
// Operation Specifications
|
16550
|
-
const serializer
|
16551
|
-
const listOperationSpec
|
17195
|
+
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
17196
|
+
const listOperationSpec = {
|
16552
17197
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files",
|
16553
17198
|
httpMethod: "GET",
|
16554
17199
|
responses: {
|
@@ -16568,9 +17213,9 @@ const listOperationSpec$6 = {
|
|
16568
17213
|
projectName
|
16569
17214
|
],
|
16570
17215
|
headerParameters: [accept],
|
16571
|
-
serializer
|
17216
|
+
serializer
|
16572
17217
|
};
|
16573
|
-
const getOperationSpec
|
17218
|
+
const getOperationSpec = {
|
16574
17219
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
16575
17220
|
httpMethod: "GET",
|
16576
17221
|
responses: {
|
@@ -16591,9 +17236,9 @@ const getOperationSpec$7 = {
|
|
16591
17236
|
fileName
|
16592
17237
|
],
|
16593
17238
|
headerParameters: [accept],
|
16594
|
-
serializer
|
17239
|
+
serializer
|
16595
17240
|
};
|
16596
|
-
const createOrUpdateOperationSpec
|
17241
|
+
const createOrUpdateOperationSpec = {
|
16597
17242
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
16598
17243
|
httpMethod: "PUT",
|
16599
17244
|
responses: {
|
@@ -16619,9 +17264,9 @@ const createOrUpdateOperationSpec$7 = {
|
|
16619
17264
|
],
|
16620
17265
|
headerParameters: [accept, contentType],
|
16621
17266
|
mediaType: "json",
|
16622
|
-
serializer
|
17267
|
+
serializer
|
16623
17268
|
};
|
16624
|
-
const deleteOperationSpec
|
17269
|
+
const deleteOperationSpec = {
|
16625
17270
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
16626
17271
|
httpMethod: "DELETE",
|
16627
17272
|
responses: {
|
@@ -16641,9 +17286,9 @@ const deleteOperationSpec$5 = {
|
|
16641
17286
|
fileName
|
16642
17287
|
],
|
16643
17288
|
headerParameters: [accept],
|
16644
|
-
serializer
|
17289
|
+
serializer
|
16645
17290
|
};
|
16646
|
-
const updateOperationSpec
|
17291
|
+
const updateOperationSpec = {
|
16647
17292
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}",
|
16648
17293
|
httpMethod: "PATCH",
|
16649
17294
|
responses: {
|
@@ -16666,7 +17311,7 @@ const updateOperationSpec$5 = {
|
|
16666
17311
|
],
|
16667
17312
|
headerParameters: [accept, contentType],
|
16668
17313
|
mediaType: "json",
|
16669
|
-
serializer
|
17314
|
+
serializer
|
16670
17315
|
};
|
16671
17316
|
const readOperationSpec = {
|
16672
17317
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/read",
|
@@ -16689,7 +17334,7 @@ const readOperationSpec = {
|
|
16689
17334
|
fileName
|
16690
17335
|
],
|
16691
17336
|
headerParameters: [accept],
|
16692
|
-
serializer
|
17337
|
+
serializer
|
16693
17338
|
};
|
16694
17339
|
const readWriteOperationSpec = {
|
16695
17340
|
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/projects/{projectName}/files/{fileName}/readwrite",
|
@@ -16712,9 +17357,9 @@ const readWriteOperationSpec = {
|
|
16712
17357
|
fileName
|
16713
17358
|
],
|
16714
17359
|
headerParameters: [accept],
|
16715
|
-
serializer
|
17360
|
+
serializer
|
16716
17361
|
};
|
16717
|
-
const listNextOperationSpec
|
17362
|
+
const listNextOperationSpec = {
|
16718
17363
|
path: "{nextLink}",
|
16719
17364
|
httpMethod: "GET",
|
16720
17365
|
responses: {
|
@@ -16735,7 +17380,7 @@ const listNextOperationSpec$6 = {
|
|
16735
17380
|
projectName
|
16736
17381
|
],
|
16737
17382
|
headerParameters: [accept],
|
16738
|
-
serializer
|
17383
|
+
serializer
|
16739
17384
|
};
|
16740
17385
|
|
16741
17386
|
/*
|
@@ -16745,7 +17390,7 @@ const listNextOperationSpec$6 = {
|
|
16745
17390
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
16746
17391
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
16747
17392
|
*/
|
16748
|
-
class DataMigrationManagementClient extends
|
17393
|
+
class DataMigrationManagementClient extends coreClient__namespace.ServiceClient {
|
16749
17394
|
/**
|
16750
17395
|
* Initializes a new instance of the DataMigrationManagementClient class.
|
16751
17396
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
@@ -16753,6 +17398,7 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
16753
17398
|
* @param options The parameter options
|
16754
17399
|
*/
|
16755
17400
|
constructor(credentials, subscriptionId, options) {
|
17401
|
+
var _a, _b, _c;
|
16756
17402
|
if (credentials === undefined) {
|
16757
17403
|
throw new Error("'credentials' cannot be null");
|
16758
17404
|
}
|
@@ -16767,17 +17413,35 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
16767
17413
|
requestContentType: "application/json; charset=utf-8",
|
16768
17414
|
credential: credentials
|
16769
17415
|
};
|
16770
|
-
const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.
|
17416
|
+
const packageDetails = `azsdk-js-arm-datamigration/3.0.0-beta.3`;
|
16771
17417
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
16772
17418
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
16773
17419
|
: `${packageDetails}`;
|
16774
|
-
if (!options.credentialScopes) {
|
16775
|
-
options.credentialScopes = ["https://management.azure.com/.default"];
|
16776
|
-
}
|
16777
17420
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
16778
17421
|
userAgentPrefix
|
16779
|
-
},
|
17422
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
16780
17423
|
super(optionsWithDefaults);
|
17424
|
+
let bearerTokenAuthenticationPolicyFound = false;
|
17425
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
17426
|
+
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
17427
|
+
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
17428
|
+
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
17429
|
+
}
|
17430
|
+
if (!options ||
|
17431
|
+
!options.pipeline ||
|
17432
|
+
options.pipeline.getOrderedPolicies().length == 0 ||
|
17433
|
+
!bearerTokenAuthenticationPolicyFound) {
|
17434
|
+
this.pipeline.removePolicy({
|
17435
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
17436
|
+
});
|
17437
|
+
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
17438
|
+
credential: credentials,
|
17439
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
17440
|
+
challengeCallbacks: {
|
17441
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
17442
|
+
}
|
17443
|
+
}));
|
17444
|
+
}
|
16781
17445
|
// Parameter assignments
|
16782
17446
|
this.subscriptionId = subscriptionId;
|
16783
17447
|
// Assigning values to Constant parameters
|
@@ -16794,8 +17458,37 @@ class DataMigrationManagementClient extends coreClient.ServiceClient {
|
|
16794
17458
|
this.projects = new ProjectsImpl(this);
|
16795
17459
|
this.usages = new UsagesImpl(this);
|
16796
17460
|
this.files = new FilesImpl(this);
|
17461
|
+
this.addCustomApiVersionPolicy(options.apiVersion);
|
17462
|
+
}
|
17463
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
17464
|
+
addCustomApiVersionPolicy(apiVersion) {
|
17465
|
+
if (!apiVersion) {
|
17466
|
+
return;
|
17467
|
+
}
|
17468
|
+
const apiVersionPolicy = {
|
17469
|
+
name: "CustomApiVersionPolicy",
|
17470
|
+
sendRequest(request, next) {
|
17471
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
17472
|
+
const param = request.url.split("?");
|
17473
|
+
if (param.length > 1) {
|
17474
|
+
const newParams = param[1].split("&").map((item) => {
|
17475
|
+
if (item.indexOf("api-version") > -1) {
|
17476
|
+
return "api-version=" + apiVersion;
|
17477
|
+
}
|
17478
|
+
else {
|
17479
|
+
return item;
|
17480
|
+
}
|
17481
|
+
});
|
17482
|
+
request.url = param[0] + "?" + newParams.join("&");
|
17483
|
+
}
|
17484
|
+
return next(request);
|
17485
|
+
});
|
17486
|
+
}
|
17487
|
+
};
|
17488
|
+
this.pipeline.addPolicy(apiVersionPolicy);
|
16797
17489
|
}
|
16798
17490
|
}
|
16799
17491
|
|
16800
17492
|
exports.DataMigrationManagementClient = DataMigrationManagementClient;
|
17493
|
+
exports.getContinuationToken = getContinuationToken;
|
16801
17494
|
//# sourceMappingURL=index.js.map
|