@azure/arm-sqlvirtualmachine 5.0.0-beta.1 → 5.0.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +3 -3
- package/README.md +35 -18
- package/dist/browser/api/availabilityGroupListeners/index.d.ts +3 -0
- package/dist/browser/api/availabilityGroupListeners/index.js +4 -0
- package/dist/browser/api/availabilityGroupListeners/index.js.map +1 -0
- package/dist/browser/api/availabilityGroupListeners/operations.d.ts +23 -0
- package/dist/browser/api/availabilityGroupListeners/operations.js +140 -0
- package/dist/browser/api/availabilityGroupListeners/operations.js.map +1 -0
- package/dist/browser/api/availabilityGroupListeners/options.d.ts +20 -0
- package/dist/browser/api/availabilityGroupListeners/options.js +4 -0
- package/dist/browser/api/availabilityGroupListeners/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +33 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineGroups/index.d.ts +3 -0
- package/dist/browser/api/sqlVirtualMachineGroups/index.js +4 -0
- package/dist/browser/api/sqlVirtualMachineGroups/index.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
- package/dist/browser/api/sqlVirtualMachineGroups/operations.js +199 -0
- package/dist/browser/api/sqlVirtualMachineGroups/operations.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineGroups/options.d.ts +26 -0
- package/dist/browser/api/sqlVirtualMachineGroups/options.js +4 -0
- package/dist/browser/api/sqlVirtualMachineGroups/options.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineManagementContext.d.ts +22 -0
- package/dist/browser/api/sqlVirtualMachineManagementContext.js +26 -0
- package/dist/browser/api/sqlVirtualMachineManagementContext.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.js +4 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.js +44 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/operations.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.js +4 -0
- package/dist/browser/api/sqlVirtualMachineTroubleshoot/options.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachines/index.d.ts +3 -0
- package/dist/browser/api/sqlVirtualMachines/index.js +4 -0
- package/dist/browser/api/sqlVirtualMachines/index.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachines/operations.d.ts +47 -0
- package/dist/browser/api/sqlVirtualMachines/operations.js +329 -0
- package/dist/browser/api/sqlVirtualMachines/operations.js.map +1 -0
- package/dist/browser/api/sqlVirtualMachines/options.d.ts +46 -0
- package/dist/browser/api/sqlVirtualMachines/options.js +4 -0
- package/dist/browser/api/sqlVirtualMachines/options.js.map +1 -0
- package/dist/browser/classic/availabilityGroupListeners/index.d.ts +27 -0
- package/dist/browser/classic/availabilityGroupListeners/index.js +34 -0
- package/dist/browser/classic/availabilityGroupListeners/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +6 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
- package/dist/browser/classic/sqlVirtualMachineGroups/index.js +44 -0
- package/dist/browser/classic/sqlVirtualMachineGroups/index.js.map +1 -0
- package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
- package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.js +23 -0
- package/dist/browser/classic/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
- package/dist/browser/classic/sqlVirtualMachines/index.d.ts +55 -0
- package/dist/browser/classic/sqlVirtualMachines/index.js +72 -0
- package/dist/browser/classic/sqlVirtualMachines/index.js.map +1 -0
- package/dist/browser/index.d.ts +21 -0
- package/dist/browser/index.js +9 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +1249 -0
- package/dist/browser/models/models.js +1363 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/restorePollerHelpers.d.ts +21 -0
- package/dist/browser/restorePollerHelpers.js +120 -0
- package/dist/browser/restorePollerHelpers.js.map +1 -0
- package/dist/browser/sqlVirtualMachineManagementClient.d.ts +27 -0
- package/dist/browser/sqlVirtualMachineManagementClient.js +49 -0
- package/dist/browser/sqlVirtualMachineManagementClient.js.map +1 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/browser/static-helpers/pollingHelpers.js +95 -0
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/availabilityGroupListeners/index.d.ts +3 -0
- package/dist/commonjs/api/availabilityGroupListeners/index.js +34 -0
- package/dist/commonjs/api/availabilityGroupListeners/index.js.map +7 -0
- package/dist/commonjs/api/availabilityGroupListeners/operations.d.ts +23 -0
- package/dist/commonjs/api/availabilityGroupListeners/operations.js +223 -0
- package/dist/commonjs/api/availabilityGroupListeners/operations.js.map +7 -0
- package/dist/commonjs/api/availabilityGroupListeners/options.d.ts +20 -0
- package/dist/commonjs/api/availabilityGroupListeners/options.js +16 -0
- package/dist/commonjs/api/availabilityGroupListeners/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +70 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/index.d.ts +3 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/index.js +38 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/index.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/operations.js +293 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/operations.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/options.d.ts +26 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/options.js +16 -0
- package/dist/commonjs/api/sqlVirtualMachineGroups/options.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineManagementContext.d.ts +22 -0
- package/dist/commonjs/api/sqlVirtualMachineManagementContext.js +47 -0
- package/dist/commonjs/api/sqlVirtualMachineManagementContext.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.js +28 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/index.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.js +75 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/operations.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.js +16 -0
- package/dist/commonjs/api/sqlVirtualMachineTroubleshoot/options.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachines/index.d.ts +3 -0
- package/dist/commonjs/api/sqlVirtualMachines/index.js +46 -0
- package/dist/commonjs/api/sqlVirtualMachines/index.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachines/operations.d.ts +47 -0
- package/dist/commonjs/api/sqlVirtualMachines/operations.js +465 -0
- package/dist/commonjs/api/sqlVirtualMachines/operations.js.map +7 -0
- package/dist/commonjs/api/sqlVirtualMachines/options.d.ts +46 -0
- package/dist/commonjs/api/sqlVirtualMachines/options.js +16 -0
- package/dist/commonjs/api/sqlVirtualMachines/options.js.map +7 -0
- package/dist/commonjs/classic/availabilityGroupListeners/index.d.ts +27 -0
- package/dist/commonjs/classic/availabilityGroupListeners/index.js +103 -0
- package/dist/commonjs/classic/availabilityGroupListeners/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +6 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
- package/dist/commonjs/classic/sqlVirtualMachineGroups/index.js +92 -0
- package/dist/commonjs/classic/sqlVirtualMachineGroups/index.js.map +7 -0
- package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
- package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.js +59 -0
- package/dist/commonjs/classic/sqlVirtualMachineTroubleshoot/index.js.map +7 -0
- package/dist/commonjs/classic/sqlVirtualMachines/index.d.ts +55 -0
- package/dist/commonjs/classic/sqlVirtualMachines/index.js +120 -0
- package/dist/commonjs/classic/sqlVirtualMachines/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +21 -0
- package/dist/commonjs/index.js +96 -0
- package/dist/commonjs/index.js.map +7 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.js +82 -0
- package/dist/commonjs/models/index.js.map +7 -0
- package/dist/commonjs/models/models.d.ts +1249 -0
- package/dist/commonjs/models/models.js +1367 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
- package/dist/commonjs/restorePollerHelpers.js +133 -0
- package/dist/commonjs/restorePollerHelpers.js.map +7 -0
- package/dist/commonjs/sqlVirtualMachineManagementClient.d.ts +27 -0
- package/dist/commonjs/sqlVirtualMachineManagementClient.js +70 -0
- package/dist/commonjs/sqlVirtualMachineManagementClient.js.map +7 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/api/availabilityGroupListeners/index.d.ts +3 -0
- package/dist/esm/api/availabilityGroupListeners/index.js +4 -0
- package/dist/esm/api/availabilityGroupListeners/index.js.map +1 -0
- package/dist/esm/api/availabilityGroupListeners/operations.d.ts +23 -0
- package/dist/esm/api/availabilityGroupListeners/operations.js +140 -0
- package/dist/esm/api/availabilityGroupListeners/operations.js.map +1 -0
- package/dist/esm/api/availabilityGroupListeners/options.d.ts +20 -0
- package/dist/esm/api/availabilityGroupListeners/options.js +4 -0
- package/dist/esm/api/availabilityGroupListeners/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +33 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineGroups/index.d.ts +3 -0
- package/dist/esm/api/sqlVirtualMachineGroups/index.js +4 -0
- package/dist/esm/api/sqlVirtualMachineGroups/index.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineGroups/operations.d.ts +31 -0
- package/dist/esm/api/sqlVirtualMachineGroups/operations.js +199 -0
- package/dist/esm/api/sqlVirtualMachineGroups/operations.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineGroups/options.d.ts +26 -0
- package/dist/esm/api/sqlVirtualMachineGroups/options.js +4 -0
- package/dist/esm/api/sqlVirtualMachineGroups/options.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineManagementContext.d.ts +22 -0
- package/dist/esm/api/sqlVirtualMachineManagementContext.js +26 -0
- package/dist/esm/api/sqlVirtualMachineManagementContext.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.d.ts +3 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.js +4 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.d.ts +10 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.js +44 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/operations.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.d.ts +7 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.js +4 -0
- package/dist/esm/api/sqlVirtualMachineTroubleshoot/options.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachines/index.d.ts +3 -0
- package/dist/esm/api/sqlVirtualMachines/index.js +4 -0
- package/dist/esm/api/sqlVirtualMachines/index.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachines/operations.d.ts +47 -0
- package/dist/esm/api/sqlVirtualMachines/operations.js +329 -0
- package/dist/esm/api/sqlVirtualMachines/operations.js.map +1 -0
- package/dist/esm/api/sqlVirtualMachines/options.d.ts +46 -0
- package/dist/esm/api/sqlVirtualMachines/options.js +4 -0
- package/dist/esm/api/sqlVirtualMachines/options.js.map +1 -0
- package/dist/esm/classic/availabilityGroupListeners/index.d.ts +27 -0
- package/dist/esm/classic/availabilityGroupListeners/index.js +34 -0
- package/dist/esm/classic/availabilityGroupListeners/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +6 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/sqlVirtualMachineGroups/index.d.ts +35 -0
- package/dist/esm/classic/sqlVirtualMachineGroups/index.js +44 -0
- package/dist/esm/classic/sqlVirtualMachineGroups/index.js.map +1 -0
- package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.d.ts +16 -0
- package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.js +23 -0
- package/dist/esm/classic/sqlVirtualMachineTroubleshoot/index.js.map +1 -0
- package/dist/esm/classic/sqlVirtualMachines/index.d.ts +55 -0
- package/dist/esm/classic/sqlVirtualMachines/index.js +72 -0
- package/dist/esm/classic/sqlVirtualMachines/index.js.map +1 -0
- package/dist/esm/index.d.ts +21 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +1249 -0
- package/dist/esm/models/models.js +1363 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/restorePollerHelpers.d.ts +21 -0
- package/dist/esm/restorePollerHelpers.js +120 -0
- package/dist/esm/restorePollerHelpers.js.map +1 -0
- package/dist/esm/sqlVirtualMachineManagementClient.d.ts +27 -0
- package/dist/esm/sqlVirtualMachineManagementClient.js +49 -0
- package/dist/esm/sqlVirtualMachineManagementClient.js.map +1 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
- package/dist/esm/static-helpers/pollingHelpers.js +95 -0
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +215 -82
- package/CHANGELOG.md +0 -14
- package/dist/index.js +0 -2827
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -12
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -16
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -29
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -783
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -103
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -31
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -972
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -18
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -143
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts +0 -89
- package/dist-esm/src/operations/availabilityGroupListeners.d.ts.map +0 -1
- package/dist-esm/src/operations/availabilityGroupListeners.js +0 -338
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -5
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -12
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -32
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -116
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts +0 -117
- package/dist-esm/src/operations/sqlVirtualMachineGroups.d.ts.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js +0 -487
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +0 -144
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +0 -598
- package/dist-esm/src/operations/sqlVirtualMachines.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts +0 -62
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js +0 -9
- package/dist-esm/src/operationsInterfaces/availabilityGroupListeners.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -12
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts +0 -79
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js +0 -9
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineGroups.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +0 -87
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js +0 -9
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.js.map +0 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +0 -21
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +0 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +0 -54
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -40
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/review/arm-sqlvirtualmachine.api.md +0 -678
- package/rollup.config.js +0 -188
- package/src/index.ts +0 -12
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -906
- package/src/models/mappers.ts +0 -1040
- package/src/models/parameters.ts +0 -170
- package/src/operations/availabilityGroupListeners.ts +0 -484
- package/src/operations/index.ts +0 -12
- package/src/operations/operations.ts +0 -133
- package/src/operations/sqlVirtualMachineGroups.ts +0 -658
- package/src/operations/sqlVirtualMachines.ts +0 -812
- package/src/operationsInterfaces/availabilityGroupListeners.ts +0 -115
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +0 -147
- package/src/operationsInterfaces/sqlVirtualMachines.ts +0 -160
- package/src/sqlVirtualMachineManagementClient.ts +0 -91
- package/tsconfig.json +0 -19
- package/types/arm-sqlvirtualmachine.d.ts +0 -1141
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"","sources":["../../../src/models/models.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,yDAAyD,CAAC;AAgB/F,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACxD,OAAO;QACL,KAAK,EAAE,0BAA0B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;KAC3B,CAA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AO;QACL,iBAAiB,EAAE,IAAI,CAAC,mBAAmB,CAAC;QAC5C,aAAa,EAAE,IAAI,CAAC,eAAe,CAAC;QACpC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC;QAChC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC;QAC5B,kBAAkB,EAAE,IAAI,CAAC,oBAAoB,CAAC;QAC9C,oBAAoB,EAAE,IAAI,CAAC,sBAAsB,CAAC;QAClD,iBAAiB,EAAE,CAAC,IAAI,CAAC,mBAAmB,CAAC;YAC3C,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC;YAC3B,CAAC,CAAC,6BAA6B,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;KAC7D,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** Virtual machine resource id for response. */\nexport interface _OperationListResult {\n /** The Operation items on this page */\n readonly value: Operation[];\n /** The link to the next page of items */\n readonly nextLink?: string;\n}\n\nexport function _operationListResultDeserializer(item: any): _OperationListResult {\n return {\n value: operationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Result of the request to list SQL operations. */\nexport interface Operation {\n /** The name of the operation being performed on this particular object.\" */\n readonly name?: string;\n /** he localized display information for this particular operation / action. */\n readonly display?: OperationDisplay;\n /** The intended executor of the operation.\" */\n readonly origin?: OperationOrigin;\n /** Additional descriptions for the operation. */\n readonly properties?: Record<string, Record<string, any>>;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : _operationPropertyRecordDeserializer(item[\"properties\"]),\n };\n}\n\n/** Display metadata associated with the operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation. */\nexport enum KnownOperationOrigin {\n /** user */\n User = \"user\",\n /** system */\n System = \"system\",\n}\n\n/**\n * The intended executor of the operation. \\\n * {@link KnownOperationOrigin} can be used interchangeably with OperationOrigin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user** \\\n * **system**\n */\nexport type OperationOrigin = string;\n\nexport function _operationPropertyRecordDeserializer(\n item: Record<string, any>,\n): Record<string, _OperationProperty> {\n const result: Record<string, any> = {};\n Object.keys(item).map((key) => {\n result[key] = !item[key] ? item[key] : _operationPropertyDeserializer(item[key]);\n });\n return result;\n}\n\n/** model interface _OperationProperty */\nexport interface _OperationProperty {}\n\nexport function _operationPropertyDeserializer(item: any): _OperationProperty {\n return item;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */\nexport interface ErrorResponse {\n /** The error object. */\n error?: ErrorDetail;\n}\n\nexport function errorResponseDeserializer(item: any): ErrorResponse {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailDeserializer(item[\"error\"]),\n };\n}\n\n/** The error detail. */\nexport interface ErrorDetail {\n /** The error code. */\n readonly code?: string;\n /** The error message. */\n readonly message?: string;\n /** The error target. */\n readonly target?: string;\n /** The error details. */\n readonly details?: ErrorDetail[];\n /** The error additional info. */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\nexport function errorDetailDeserializer(item: any): ErrorDetail {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n target: item[\"target\"],\n details: !item[\"details\"] ? item[\"details\"] : errorDetailArrayDeserializer(item[\"details\"]),\n additionalInfo: !item[\"additionalInfo\"]\n ? item[\"additionalInfo\"]\n : errorAdditionalInfoArrayDeserializer(item[\"additionalInfo\"]),\n };\n}\n\nexport function errorDetailArrayDeserializer(result: Array<ErrorDetail>): any[] {\n return result.map((item) => {\n return errorDetailDeserializer(item);\n });\n}\n\nexport function errorAdditionalInfoArrayDeserializer(result: Array<ErrorAdditionalInfo>): any[] {\n return result.map((item) => {\n return errorAdditionalInfoDeserializer(item);\n });\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /** The additional info type. */\n readonly type?: string;\n /** The additional info. */\n readonly info?: any;\n}\n\nexport function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo {\n return {\n type: item[\"type\"],\n info: item[\"info\"],\n };\n}\n\n/** A SQL Server availability group listener. */\nexport interface AvailabilityGroupListener extends ProxyResource {\n /** Provisioning state to track the async operation status. */\n readonly provisioningState?: string;\n /** Name of the availability group. */\n availabilityGroupName?: string;\n /** List of load balancer configurations for an availability group listener. */\n loadBalancerConfigurations?: LoadBalancerConfiguration[];\n /** List of multi subnet IP configurations for an AG listener. */\n multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];\n /** Create a default availability group if it does not exist. */\n createDefaultAvailabilityGroupIfNotExist?: boolean;\n /** Listener port. */\n port?: number;\n /** Availability Group configuration. */\n availabilityGroupConfiguration?: AgConfiguration;\n}\n\nexport function availabilityGroupListenerSerializer(item: AvailabilityGroupListener): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"availabilityGroupName\",\n \"loadBalancerConfigurations\",\n \"multiSubnetIpConfigurations\",\n \"createDefaultAvailabilityGroupIfNotExist\",\n \"port\",\n \"availabilityGroupConfiguration\",\n ])\n ? undefined\n : _availabilityGroupListenerPropertiesSerializer(item),\n };\n}\n\nexport function availabilityGroupListenerDeserializer(item: any): AvailabilityGroupListener {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _availabilityGroupListenerPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The properties of an availability group listener. */\nexport interface AvailabilityGroupListenerProperties {\n /** Provisioning state to track the async operation status. */\n readonly provisioningState?: string;\n /** Name of the availability group. */\n availabilityGroupName?: string;\n /** List of load balancer configurations for an availability group listener. */\n loadBalancerConfigurations?: LoadBalancerConfiguration[];\n /** List of multi subnet IP configurations for an AG listener. */\n multiSubnetIpConfigurations?: MultiSubnetIpConfiguration[];\n /** Create a default availability group if it does not exist. */\n createDefaultAvailabilityGroupIfNotExist?: boolean;\n /** Listener port. */\n port?: number;\n /** Availability Group configuration. */\n availabilityGroupConfiguration?: AgConfiguration;\n}\n\nexport function availabilityGroupListenerPropertiesSerializer(\n item: AvailabilityGroupListenerProperties,\n): any {\n return {\n availabilityGroupName: item[\"availabilityGroupName\"],\n loadBalancerConfigurations: !item[\"loadBalancerConfigurations\"]\n ? item[\"loadBalancerConfigurations\"]\n : loadBalancerConfigurationArraySerializer(item[\"loadBalancerConfigurations\"]),\n multiSubnetIpConfigurations: !item[\"multiSubnetIpConfigurations\"]\n ? item[\"multiSubnetIpConfigurations\"]\n : multiSubnetIpConfigurationArraySerializer(item[\"multiSubnetIpConfigurations\"]),\n createDefaultAvailabilityGroupIfNotExist: item[\"createDefaultAvailabilityGroupIfNotExist\"],\n port: item[\"port\"],\n availabilityGroupConfiguration: !item[\"availabilityGroupConfiguration\"]\n ? item[\"availabilityGroupConfiguration\"]\n : agConfigurationSerializer(item[\"availabilityGroupConfiguration\"]),\n };\n}\n\nexport function availabilityGroupListenerPropertiesDeserializer(\n item: any,\n): AvailabilityGroupListenerProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n availabilityGroupName: item[\"availabilityGroupName\"],\n loadBalancerConfigurations: !item[\"loadBalancerConfigurations\"]\n ? item[\"loadBalancerConfigurations\"]\n : loadBalancerConfigurationArrayDeserializer(item[\"loadBalancerConfigurations\"]),\n multiSubnetIpConfigurations: !item[\"multiSubnetIpConfigurations\"]\n ? item[\"multiSubnetIpConfigurations\"]\n : multiSubnetIpConfigurationArrayDeserializer(item[\"multiSubnetIpConfigurations\"]),\n createDefaultAvailabilityGroupIfNotExist: item[\"createDefaultAvailabilityGroupIfNotExist\"],\n port: item[\"port\"],\n availabilityGroupConfiguration: !item[\"availabilityGroupConfiguration\"]\n ? item[\"availabilityGroupConfiguration\"]\n : agConfigurationDeserializer(item[\"availabilityGroupConfiguration\"]),\n };\n}\n\nexport function loadBalancerConfigurationArraySerializer(\n result: Array<LoadBalancerConfiguration>,\n): any[] {\n return result.map((item) => {\n return loadBalancerConfigurationSerializer(item);\n });\n}\n\nexport function loadBalancerConfigurationArrayDeserializer(\n result: Array<LoadBalancerConfiguration>,\n): any[] {\n return result.map((item) => {\n return loadBalancerConfigurationDeserializer(item);\n });\n}\n\n/** A load balancer configuration for an availability group listener. */\nexport interface LoadBalancerConfiguration {\n /** Private IP address. */\n privateIpAddress?: PrivateIPAddress;\n /** Resource id of the public IP. */\n publicIpAddressResourceId?: string;\n /** Resource id of the load balancer. */\n loadBalancerResourceId?: string;\n /** Probe port. */\n probePort?: number;\n /** List of the SQL virtual machine instance resource id's that are enrolled into the availability group listener. */\n sqlVirtualMachineInstances?: string[];\n}\n\nexport function loadBalancerConfigurationSerializer(item: LoadBalancerConfiguration): any {\n return {\n privateIpAddress: !item[\"privateIpAddress\"]\n ? item[\"privateIpAddress\"]\n : privateIPAddressSerializer(item[\"privateIpAddress\"]),\n publicIpAddressResourceId: item[\"publicIpAddressResourceId\"],\n loadBalancerResourceId: item[\"loadBalancerResourceId\"],\n probePort: item[\"probePort\"],\n sqlVirtualMachineInstances: !item[\"sqlVirtualMachineInstances\"]\n ? item[\"sqlVirtualMachineInstances\"]\n : item[\"sqlVirtualMachineInstances\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function loadBalancerConfigurationDeserializer(item: any): LoadBalancerConfiguration {\n return {\n privateIpAddress: !item[\"privateIpAddress\"]\n ? item[\"privateIpAddress\"]\n : privateIPAddressDeserializer(item[\"privateIpAddress\"]),\n publicIpAddressResourceId: item[\"publicIpAddressResourceId\"],\n loadBalancerResourceId: item[\"loadBalancerResourceId\"],\n probePort: item[\"probePort\"],\n sqlVirtualMachineInstances: !item[\"sqlVirtualMachineInstances\"]\n ? item[\"sqlVirtualMachineInstances\"]\n : item[\"sqlVirtualMachineInstances\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** A private IP address bound to the availability group listener. */\nexport interface PrivateIPAddress {\n /** Private IP address bound to the availability group listener. */\n ipAddress?: string;\n /** Subnet used to include private IP. */\n subnetResourceId?: string;\n}\n\nexport function privateIPAddressSerializer(item: PrivateIPAddress): any {\n return { ipAddress: item[\"ipAddress\"], subnetResourceId: item[\"subnetResourceId\"] };\n}\n\nexport function privateIPAddressDeserializer(item: any): PrivateIPAddress {\n return {\n ipAddress: item[\"ipAddress\"],\n subnetResourceId: item[\"subnetResourceId\"],\n };\n}\n\nexport function multiSubnetIpConfigurationArraySerializer(\n result: Array<MultiSubnetIpConfiguration>,\n): any[] {\n return result.map((item) => {\n return multiSubnetIpConfigurationSerializer(item);\n });\n}\n\nexport function multiSubnetIpConfigurationArrayDeserializer(\n result: Array<MultiSubnetIpConfiguration>,\n): any[] {\n return result.map((item) => {\n return multiSubnetIpConfigurationDeserializer(item);\n });\n}\n\n/** Multi subnet ip configuration for an availability group listener. */\nexport interface MultiSubnetIpConfiguration {\n /** Private IP address. */\n privateIpAddress: PrivateIPAddress;\n /** SQL virtual machine instance resource id that are enrolled into the availability group listener. */\n sqlVirtualMachineInstance: string;\n}\n\nexport function multiSubnetIpConfigurationSerializer(item: MultiSubnetIpConfiguration): any {\n return {\n privateIpAddress: privateIPAddressSerializer(item[\"privateIpAddress\"]),\n sqlVirtualMachineInstance: item[\"sqlVirtualMachineInstance\"],\n };\n}\n\nexport function multiSubnetIpConfigurationDeserializer(item: any): MultiSubnetIpConfiguration {\n return {\n privateIpAddress: privateIPAddressDeserializer(item[\"privateIpAddress\"]),\n sqlVirtualMachineInstance: item[\"sqlVirtualMachineInstance\"],\n };\n}\n\n/** Availability group configuration. */\nexport interface AgConfiguration {\n /** Replica configurations. */\n replicas?: AgReplica[];\n}\n\nexport function agConfigurationSerializer(item: AgConfiguration): any {\n return {\n replicas: !item[\"replicas\"] ? item[\"replicas\"] : agReplicaArraySerializer(item[\"replicas\"]),\n };\n}\n\nexport function agConfigurationDeserializer(item: any): AgConfiguration {\n return {\n replicas: !item[\"replicas\"] ? item[\"replicas\"] : agReplicaArrayDeserializer(item[\"replicas\"]),\n };\n}\n\nexport function agReplicaArraySerializer(result: Array<AgReplica>): any[] {\n return result.map((item) => {\n return agReplicaSerializer(item);\n });\n}\n\nexport function agReplicaArrayDeserializer(result: Array<AgReplica>): any[] {\n return result.map((item) => {\n return agReplicaDeserializer(item);\n });\n}\n\n/** Availability group replica configuration. */\nexport interface AgReplica {\n /** Sql VirtualMachine Instance Id. */\n sqlVirtualMachineInstanceId?: string;\n /** Replica Role in availability group. */\n role?: Role;\n /** Replica commit mode in availability group. */\n commit?: Commit;\n /** Replica failover mode in availability group. */\n failover?: Failover;\n /** Replica readable secondary mode in availability group. */\n readableSecondary?: ReadableSecondary;\n}\n\nexport function agReplicaSerializer(item: AgReplica): any {\n return {\n sqlVirtualMachineInstanceId: item[\"sqlVirtualMachineInstanceId\"],\n role: item[\"role\"],\n commit: item[\"commit\"],\n failover: item[\"failover\"],\n readableSecondary: item[\"readableSecondary\"],\n };\n}\n\nexport function agReplicaDeserializer(item: any): AgReplica {\n return {\n sqlVirtualMachineInstanceId: item[\"sqlVirtualMachineInstanceId\"],\n role: item[\"role\"],\n commit: item[\"commit\"],\n failover: item[\"failover\"],\n readableSecondary: item[\"readableSecondary\"],\n };\n}\n\n/** Replica Role in availability group. */\nexport enum KnownRole {\n /** Primary */\n Primary = \"Primary\",\n /** Secondary */\n Secondary = \"Secondary\",\n}\n\n/**\n * Replica Role in availability group. \\\n * {@link KnownRole} can be used interchangeably with Role,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Primary** \\\n * **Secondary**\n */\nexport type Role = string;\n\n/** Replica commit mode in availability group. */\nexport enum KnownCommit {\n /** Synchronous_Commit */\n SynchronousCommit = \"Synchronous_Commit\",\n /** Asynchronous_Commit */\n AsynchronousCommit = \"Asynchronous_Commit\",\n}\n\n/**\n * Replica commit mode in availability group. \\\n * {@link KnownCommit} can be used interchangeably with Commit,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Synchronous_Commit** \\\n * **Asynchronous_Commit**\n */\nexport type Commit = string;\n\n/** Replica failover mode in availability group. */\nexport enum KnownFailover {\n /** Automatic */\n Automatic = \"Automatic\",\n /** Manual */\n Manual = \"Manual\",\n}\n\n/**\n * Replica failover mode in availability group. \\\n * {@link KnownFailover} can be used interchangeably with Failover,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Automatic** \\\n * **Manual**\n */\nexport type Failover = string;\n\n/** Replica readable secondary mode in availability group. */\nexport enum KnownReadableSecondary {\n /** No */\n NO = \"No\",\n /** All */\n ALL = \"All\",\n /** Read_Only */\n ReadOnly = \"Read_Only\",\n}\n\n/**\n * Replica readable secondary mode in availability group. \\\n * {@link KnownReadableSecondary} can be used interchangeably with ReadableSecondary,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **No** \\\n * **All** \\\n * **Read_Only**\n */\nexport type ReadableSecondary = string;\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(_item: ProxyResource): any {\n return {};\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** The response of a AvailabilityGroupListener list operation. */\nexport interface _AvailabilityGroupListenerListResult {\n /** The AvailabilityGroupListener items on this page */\n readonly value: AvailabilityGroupListener[];\n /** The link to the next page of items */\n readonly nextLink?: string;\n}\n\nexport function _availabilityGroupListenerListResultDeserializer(\n item: any,\n): _AvailabilityGroupListenerListResult {\n return {\n value: availabilityGroupListenerArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function availabilityGroupListenerArraySerializer(\n result: Array<AvailabilityGroupListener>,\n): any[] {\n return result.map((item) => {\n return availabilityGroupListenerSerializer(item);\n });\n}\n\nexport function availabilityGroupListenerArrayDeserializer(\n result: Array<AvailabilityGroupListener>,\n): any[] {\n return result.map((item) => {\n return availabilityGroupListenerDeserializer(item);\n });\n}\n\n/** A SQL virtual machine. */\nexport interface SqlVirtualMachine extends TrackedResource {\n /** DO NOT USE. This value will be deprecated. Azure Active Directory identity of the server. */\n identity?: ResourceIdentity;\n /** ARM Resource id of underlying virtual machine created from SQL marketplace image. */\n virtualMachineResourceId?: string;\n /** Provisioning state to track the async operation status. */\n readonly provisioningState?: string;\n /** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */\n sqlImageOffer?: string;\n /** SQL Server license type. */\n sqlServerLicenseType?: SqlServerLicenseType;\n /** SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */\n sqlManagement?: SqlManagementMode;\n /** SQL IaaS Agent least privilege mode. */\n leastPrivilegeMode?: LeastPrivilegeMode;\n /** SQL Server edition type. */\n sqlImageSku?: SqlImageSku;\n /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */\n sqlVirtualMachineGroupResourceId?: string;\n /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */\n wsfcDomainCredentials?: WsfcDomainCredentials;\n /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */\n wsfcStaticIp?: string;\n /** Auto patching settings for applying critical security updates to SQL virtual machine. */\n autoPatchingSettings?: AutoPatchingSettings;\n /** Auto backup settings for SQL Server. */\n autoBackupSettings?: AutoBackupSettings;\n /** Key vault credential settings. */\n keyVaultCredentialSettings?: KeyVaultCredentialSettings;\n /** SQL Server configuration management settings. */\n serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;\n /** Storage Configuration Settings. */\n storageConfigurationSettings?: StorageConfigurationSettings;\n /** Troubleshooting status */\n readonly troubleshootingStatus?: TroubleshootingStatus;\n /** SQL best practices Assessment Settings. */\n assessmentSettings?: AssessmentSettings;\n /** Enable automatic upgrade of Sql IaaS extension Agent. */\n enableAutomaticUpgrade?: boolean;\n /** Additional VM Patching solution enabled on the Virtual Machine */\n readonly additionalVmPatch?: AdditionalOsPatch;\n /** Virtual Machine Identity details used for Sql IaaS extension configurations. */\n virtualMachineIdentitySettings?: VirtualMachineIdentity;\n /** Operating System of the current SQL Virtual Machine. */\n readonly osType?: OsType;\n}\n\nexport function sqlVirtualMachineSerializer(item: SqlVirtualMachine): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: areAllPropsUndefined(item, [\n \"virtualMachineResourceId\",\n \"sqlImageOffer\",\n \"sqlServerLicenseType\",\n \"sqlManagement\",\n \"leastPrivilegeMode\",\n \"sqlImageSku\",\n \"sqlVirtualMachineGroupResourceId\",\n \"wsfcDomainCredentials\",\n \"wsfcStaticIp\",\n \"autoPatchingSettings\",\n \"autoBackupSettings\",\n \"keyVaultCredentialSettings\",\n \"serverConfigurationsManagementSettings\",\n \"storageConfigurationSettings\",\n \"assessmentSettings\",\n \"enableAutomaticUpgrade\",\n \"virtualMachineIdentitySettings\",\n ])\n ? undefined\n : _sqlVirtualMachinePropertiesSerializer(item),\n identity: !item[\"identity\"] ? item[\"identity\"] : resourceIdentitySerializer(item[\"identity\"]),\n };\n}\n\nexport function sqlVirtualMachineDeserializer(item: any): SqlVirtualMachine {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _sqlVirtualMachinePropertiesDeserializer(item[\"properties\"])),\n identity: !item[\"identity\"] ? item[\"identity\"] : resourceIdentityDeserializer(item[\"identity\"]),\n };\n}\n\n/** The SQL virtual machine properties. */\nexport interface SqlVirtualMachineProperties {\n /** ARM Resource id of underlying virtual machine created from SQL marketplace image. */\n virtualMachineResourceId?: string;\n /** Provisioning state to track the async operation status. */\n readonly provisioningState?: string;\n /** SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */\n sqlImageOffer?: string;\n /** SQL Server license type. */\n sqlServerLicenseType?: SqlServerLicenseType;\n /** SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */\n sqlManagement?: SqlManagementMode;\n /** SQL IaaS Agent least privilege mode. */\n leastPrivilegeMode?: LeastPrivilegeMode;\n /** SQL Server edition type. */\n sqlImageSku?: SqlImageSku;\n /** ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */\n sqlVirtualMachineGroupResourceId?: string;\n /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */\n wsfcDomainCredentials?: WsfcDomainCredentials;\n /** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */\n wsfcStaticIp?: string;\n /** Auto patching settings for applying critical security updates to SQL virtual machine. */\n autoPatchingSettings?: AutoPatchingSettings;\n /** Auto backup settings for SQL Server. */\n autoBackupSettings?: AutoBackupSettings;\n /** Key vault credential settings. */\n keyVaultCredentialSettings?: KeyVaultCredentialSettings;\n /** SQL Server configuration management settings. */\n serverConfigurationsManagementSettings?: ServerConfigurationsManagementSettings;\n /** Storage Configuration Settings. */\n storageConfigurationSettings?: StorageConfigurationSettings;\n /** Troubleshooting status */\n readonly troubleshootingStatus?: TroubleshootingStatus;\n /** SQL best practices Assessment Settings. */\n assessmentSettings?: AssessmentSettings;\n /** Enable automatic upgrade of Sql IaaS extension Agent. */\n enableAutomaticUpgrade?: boolean;\n /** Additional VM Patching solution enabled on the Virtual Machine */\n readonly additionalVmPatch?: AdditionalOsPatch;\n /** Virtual Machine Identity details used for Sql IaaS extension configurations. */\n virtualMachineIdentitySettings?: VirtualMachineIdentity;\n /** Operating System of the current SQL Virtual Machine. */\n readonly osType?: OsType;\n}\n\nexport function sqlVirtualMachinePropertiesSerializer(item: SqlVirtualMachineProperties): any {\n return {\n virtualMachineResourceId: item[\"virtualMachineResourceId\"],\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlServerLicenseType: item[\"sqlServerLicenseType\"],\n sqlManagement: item[\"sqlManagement\"],\n leastPrivilegeMode: item[\"leastPrivilegeMode\"],\n sqlImageSku: item[\"sqlImageSku\"],\n sqlVirtualMachineGroupResourceId: item[\"sqlVirtualMachineGroupResourceId\"],\n wsfcDomainCredentials: !item[\"wsfcDomainCredentials\"]\n ? item[\"wsfcDomainCredentials\"]\n : wsfcDomainCredentialsSerializer(item[\"wsfcDomainCredentials\"]),\n wsfcStaticIp: item[\"wsfcStaticIp\"],\n autoPatchingSettings: !item[\"autoPatchingSettings\"]\n ? item[\"autoPatchingSettings\"]\n : autoPatchingSettingsSerializer(item[\"autoPatchingSettings\"]),\n autoBackupSettings: !item[\"autoBackupSettings\"]\n ? item[\"autoBackupSettings\"]\n : autoBackupSettingsSerializer(item[\"autoBackupSettings\"]),\n keyVaultCredentialSettings: !item[\"keyVaultCredentialSettings\"]\n ? item[\"keyVaultCredentialSettings\"]\n : keyVaultCredentialSettingsSerializer(item[\"keyVaultCredentialSettings\"]),\n serverConfigurationsManagementSettings: !item[\"serverConfigurationsManagementSettings\"]\n ? item[\"serverConfigurationsManagementSettings\"]\n : serverConfigurationsManagementSettingsSerializer(\n item[\"serverConfigurationsManagementSettings\"],\n ),\n storageConfigurationSettings: !item[\"storageConfigurationSettings\"]\n ? item[\"storageConfigurationSettings\"]\n : storageConfigurationSettingsSerializer(item[\"storageConfigurationSettings\"]),\n assessmentSettings: !item[\"assessmentSettings\"]\n ? item[\"assessmentSettings\"]\n : assessmentSettingsSerializer(item[\"assessmentSettings\"]),\n enableAutomaticUpgrade: item[\"enableAutomaticUpgrade\"],\n virtualMachineIdentitySettings: !item[\"virtualMachineIdentitySettings\"]\n ? item[\"virtualMachineIdentitySettings\"]\n : virtualMachineIdentitySerializer(item[\"virtualMachineIdentitySettings\"]),\n };\n}\n\nexport function sqlVirtualMachinePropertiesDeserializer(item: any): SqlVirtualMachineProperties {\n return {\n virtualMachineResourceId: item[\"virtualMachineResourceId\"],\n provisioningState: item[\"provisioningState\"],\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlServerLicenseType: item[\"sqlServerLicenseType\"],\n sqlManagement: item[\"sqlManagement\"],\n leastPrivilegeMode: item[\"leastPrivilegeMode\"],\n sqlImageSku: item[\"sqlImageSku\"],\n sqlVirtualMachineGroupResourceId: item[\"sqlVirtualMachineGroupResourceId\"],\n wsfcDomainCredentials: !item[\"wsfcDomainCredentials\"]\n ? item[\"wsfcDomainCredentials\"]\n : wsfcDomainCredentialsDeserializer(item[\"wsfcDomainCredentials\"]),\n wsfcStaticIp: item[\"wsfcStaticIp\"],\n autoPatchingSettings: !item[\"autoPatchingSettings\"]\n ? item[\"autoPatchingSettings\"]\n : autoPatchingSettingsDeserializer(item[\"autoPatchingSettings\"]),\n autoBackupSettings: !item[\"autoBackupSettings\"]\n ? item[\"autoBackupSettings\"]\n : autoBackupSettingsDeserializer(item[\"autoBackupSettings\"]),\n keyVaultCredentialSettings: !item[\"keyVaultCredentialSettings\"]\n ? item[\"keyVaultCredentialSettings\"]\n : keyVaultCredentialSettingsDeserializer(item[\"keyVaultCredentialSettings\"]),\n serverConfigurationsManagementSettings: !item[\"serverConfigurationsManagementSettings\"]\n ? item[\"serverConfigurationsManagementSettings\"]\n : serverConfigurationsManagementSettingsDeserializer(\n item[\"serverConfigurationsManagementSettings\"],\n ),\n storageConfigurationSettings: !item[\"storageConfigurationSettings\"]\n ? item[\"storageConfigurationSettings\"]\n : storageConfigurationSettingsDeserializer(item[\"storageConfigurationSettings\"]),\n troubleshootingStatus: !item[\"troubleshootingStatus\"]\n ? item[\"troubleshootingStatus\"]\n : troubleshootingStatusDeserializer(item[\"troubleshootingStatus\"]),\n assessmentSettings: !item[\"assessmentSettings\"]\n ? item[\"assessmentSettings\"]\n : assessmentSettingsDeserializer(item[\"assessmentSettings\"]),\n enableAutomaticUpgrade: item[\"enableAutomaticUpgrade\"],\n additionalVmPatch: item[\"additionalVmPatch\"],\n virtualMachineIdentitySettings: !item[\"virtualMachineIdentitySettings\"]\n ? item[\"virtualMachineIdentitySettings\"]\n : virtualMachineIdentityDeserializer(item[\"virtualMachineIdentitySettings\"]),\n osType: item[\"osType\"],\n };\n}\n\n/** SQL Server license type. */\nexport enum KnownSqlServerLicenseType {\n /** PAYG */\n Payg = \"PAYG\",\n /** AHUB */\n Ahub = \"AHUB\",\n /** DR */\n DR = \"DR\",\n}\n\n/**\n * SQL Server license type. \\\n * {@link KnownSqlServerLicenseType} can be used interchangeably with SqlServerLicenseType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **PAYG** \\\n * **AHUB** \\\n * **DR**\n */\nexport type SqlServerLicenseType = string;\n\n/** SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */\nexport enum KnownSqlManagementMode {\n /** Full */\n Full = \"Full\",\n /** LightWeight */\n LightWeight = \"LightWeight\",\n /** NoAgent */\n NoAgent = \"NoAgent\",\n}\n\n/**\n * SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. \\\n * {@link KnownSqlManagementMode} can be used interchangeably with SqlManagementMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Full** \\\n * **LightWeight** \\\n * **NoAgent**\n */\nexport type SqlManagementMode = string;\n\n/** SQL IaaS Agent least privilege mode. */\nexport enum KnownLeastPrivilegeMode {\n /** Enabled */\n Enabled = \"Enabled\",\n /** NotSet */\n NotSet = \"NotSet\",\n}\n\n/**\n * SQL IaaS Agent least privilege mode. \\\n * {@link KnownLeastPrivilegeMode} can be used interchangeably with LeastPrivilegeMode,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Enabled** \\\n * **NotSet**\n */\nexport type LeastPrivilegeMode = string;\n\n/** SQL Server edition type. */\nexport enum KnownSqlImageSku {\n /** Developer */\n Developer = \"Developer\",\n /** Express */\n Express = \"Express\",\n /** Standard */\n Standard = \"Standard\",\n /** Enterprise */\n Enterprise = \"Enterprise\",\n /** Web */\n Web = \"Web\",\n}\n\n/**\n * SQL Server edition type. \\\n * {@link KnownSqlImageSku} can be used interchangeably with SqlImageSku,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Developer** \\\n * **Express** \\\n * **Standard** \\\n * **Enterprise** \\\n * **Web**\n */\nexport type SqlImageSku = string;\n\n/** Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */\nexport interface WsfcDomainCredentials {\n /** Cluster bootstrap account password. */\n clusterBootstrapAccountPassword?: string;\n /** Cluster operator account password. */\n clusterOperatorAccountPassword?: string;\n /** SQL service account password. */\n sqlServiceAccountPassword?: string;\n}\n\nexport function wsfcDomainCredentialsSerializer(item: WsfcDomainCredentials): any {\n return {\n clusterBootstrapAccountPassword: item[\"clusterBootstrapAccountPassword\"],\n clusterOperatorAccountPassword: item[\"clusterOperatorAccountPassword\"],\n sqlServiceAccountPassword: item[\"sqlServiceAccountPassword\"],\n };\n}\n\nexport function wsfcDomainCredentialsDeserializer(item: any): WsfcDomainCredentials {\n return {\n clusterBootstrapAccountPassword: item[\"clusterBootstrapAccountPassword\"],\n clusterOperatorAccountPassword: item[\"clusterOperatorAccountPassword\"],\n sqlServiceAccountPassword: item[\"sqlServiceAccountPassword\"],\n };\n}\n\n/** Set a patching window during which Windows and SQL patches will be applied. */\nexport interface AutoPatchingSettings {\n /** Enable or disable autopatching on SQL virtual machine. */\n enable?: boolean;\n /** Day of week to apply the patch on. */\n dayOfWeek?: DayOfWeek;\n /** Hour of the day when patching is initiated. Local VM time. */\n maintenanceWindowStartingHour?: number;\n /** Duration of patching. */\n maintenanceWindowDuration?: number;\n /** Additional Patch to be enable or enabled on the SQL Virtual Machine. */\n additionalVmPatch?: AdditionalVmPatch;\n}\n\nexport function autoPatchingSettingsSerializer(item: AutoPatchingSettings): any {\n return {\n enable: item[\"enable\"],\n dayOfWeek: item[\"dayOfWeek\"],\n maintenanceWindowStartingHour: item[\"maintenanceWindowStartingHour\"],\n maintenanceWindowDuration: item[\"maintenanceWindowDuration\"],\n additionalVmPatch: item[\"additionalVmPatch\"],\n };\n}\n\nexport function autoPatchingSettingsDeserializer(item: any): AutoPatchingSettings {\n return {\n enable: item[\"enable\"],\n dayOfWeek: item[\"dayOfWeek\"],\n maintenanceWindowStartingHour: item[\"maintenanceWindowStartingHour\"],\n maintenanceWindowDuration: item[\"maintenanceWindowDuration\"],\n additionalVmPatch: item[\"additionalVmPatch\"],\n };\n}\n\n/** Day of week to apply the patch on. */\nexport type DayOfWeek =\n | \"Everyday\"\n | \"Monday\"\n | \"Tuesday\"\n | \"Wednesday\"\n | \"Thursday\"\n | \"Friday\"\n | \"Saturday\"\n | \"Sunday\";\n\n/** Additional Patch to be enable or enabled on the SQL Virtual Machine. */\nexport enum KnownAdditionalVmPatch {\n /** NotSet */\n NotSet = \"NotSet\",\n /** MicrosoftUpdate */\n MicrosoftUpdate = \"MicrosoftUpdate\",\n}\n\n/**\n * Additional Patch to be enable or enabled on the SQL Virtual Machine. \\\n * {@link KnownAdditionalVmPatch} can be used interchangeably with AdditionalVmPatch,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NotSet** \\\n * **MicrosoftUpdate**\n */\nexport type AdditionalVmPatch = string;\n\n/** Configure backups for databases in your SQL virtual machine. */\nexport interface AutoBackupSettings {\n /** Enable or disable autobackup on SQL virtual machine. */\n enable?: boolean;\n /** Enable or disable encryption for backup on SQL virtual machine. */\n enableEncryption?: boolean;\n /** Retention period of backup: 1-90 days. */\n retentionPeriod?: number;\n /** Storage account url where backup will be taken to. */\n storageAccountUrl?: string;\n /** Storage container name where backup will be taken to. */\n storageContainerName?: string;\n /** Storage account key where backup will be taken to. */\n storageAccessKey?: string;\n /** Password for encryption on backup. */\n password?: string;\n /** Include or exclude system databases from auto backup. */\n backupSystemDbs?: boolean;\n /** Backup schedule type. */\n backupScheduleType?: BackupScheduleType;\n /** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */\n fullBackupFrequency?: FullBackupFrequencyType;\n /** Days of the week for the backups when FullBackupFrequency is set to Weekly. */\n daysOfWeek?: AutoBackupDaysOfWeek[];\n /** Start time of a given day during which full backups can take place. 0-23 hours. */\n fullBackupStartTime?: number;\n /** Duration of the time window of a given day during which full backups can take place. 1-23 hours. */\n fullBackupWindowHours?: number;\n /** Frequency of log backups. 5-60 minutes. */\n logBackupFrequency?: number;\n}\n\nexport function autoBackupSettingsSerializer(item: AutoBackupSettings): any {\n return {\n enable: item[\"enable\"],\n enableEncryption: item[\"enableEncryption\"],\n retentionPeriod: item[\"retentionPeriod\"],\n storageAccountUrl: item[\"storageAccountUrl\"],\n storageContainerName: item[\"storageContainerName\"],\n storageAccessKey: item[\"storageAccessKey\"],\n password: item[\"password\"],\n backupSystemDbs: item[\"backupSystemDbs\"],\n backupScheduleType: item[\"backupScheduleType\"],\n fullBackupFrequency: item[\"fullBackupFrequency\"],\n daysOfWeek: !item[\"daysOfWeek\"]\n ? item[\"daysOfWeek\"]\n : item[\"daysOfWeek\"].map((p: any) => {\n return p;\n }),\n fullBackupStartTime: item[\"fullBackupStartTime\"],\n fullBackupWindowHours: item[\"fullBackupWindowHours\"],\n logBackupFrequency: item[\"logBackupFrequency\"],\n };\n}\n\nexport function autoBackupSettingsDeserializer(item: any): AutoBackupSettings {\n return {\n enable: item[\"enable\"],\n enableEncryption: item[\"enableEncryption\"],\n retentionPeriod: item[\"retentionPeriod\"],\n storageAccountUrl: item[\"storageAccountUrl\"],\n storageContainerName: item[\"storageContainerName\"],\n storageAccessKey: item[\"storageAccessKey\"],\n password: item[\"password\"],\n backupSystemDbs: item[\"backupSystemDbs\"],\n backupScheduleType: item[\"backupScheduleType\"],\n fullBackupFrequency: item[\"fullBackupFrequency\"],\n daysOfWeek: !item[\"daysOfWeek\"]\n ? item[\"daysOfWeek\"]\n : item[\"daysOfWeek\"].map((p: any) => {\n return p;\n }),\n fullBackupStartTime: item[\"fullBackupStartTime\"],\n fullBackupWindowHours: item[\"fullBackupWindowHours\"],\n logBackupFrequency: item[\"logBackupFrequency\"],\n };\n}\n\n/** Backup schedule type. */\nexport enum KnownBackupScheduleType {\n /** Manual */\n Manual = \"Manual\",\n /** Automated */\n Automated = \"Automated\",\n}\n\n/**\n * Backup schedule type. \\\n * {@link KnownBackupScheduleType} can be used interchangeably with BackupScheduleType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Manual** \\\n * **Automated**\n */\nexport type BackupScheduleType = string;\n\n/** Frequency of full backups. In both cases, full backups begin during the next scheduled time window. */\nexport enum KnownFullBackupFrequencyType {\n /** Daily */\n Daily = \"Daily\",\n /** Weekly */\n Weekly = \"Weekly\",\n}\n\n/**\n * Frequency of full backups. In both cases, full backups begin during the next scheduled time window. \\\n * {@link KnownFullBackupFrequencyType} can be used interchangeably with FullBackupFrequencyType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Daily** \\\n * **Weekly**\n */\nexport type FullBackupFrequencyType = string;\n\n/** Known values of {@link AutoBackupDaysOfWeek} that the service accepts. */\nexport enum KnownAutoBackupDaysOfWeek {\n /** Monday */\n Monday = \"Monday\",\n /** Tuesday */\n Tuesday = \"Tuesday\",\n /** Wednesday */\n Wednesday = \"Wednesday\",\n /** Thursday */\n Thursday = \"Thursday\",\n /** Friday */\n Friday = \"Friday\",\n /** Saturday */\n Saturday = \"Saturday\",\n /** Sunday */\n Sunday = \"Sunday\",\n}\n\n/** Type of AutoBackupDaysOfWeek */\nexport type AutoBackupDaysOfWeek = string;\n\n/** Configure your SQL virtual machine to be able to connect to the Azure Key Vault service. */\nexport interface KeyVaultCredentialSettings {\n /** Enable or disable key vault credential setting. */\n enable?: boolean;\n /** Credential name. */\n credentialName?: string;\n /** Azure Key Vault url. */\n azureKeyVaultUrl?: string;\n /** Service principal name to access key vault. */\n servicePrincipalName?: string;\n /** Service principal name secret to access key vault. */\n servicePrincipalSecret?: string;\n}\n\nexport function keyVaultCredentialSettingsSerializer(item: KeyVaultCredentialSettings): any {\n return {\n enable: item[\"enable\"],\n credentialName: item[\"credentialName\"],\n azureKeyVaultUrl: item[\"azureKeyVaultUrl\"],\n servicePrincipalName: item[\"servicePrincipalName\"],\n servicePrincipalSecret: item[\"servicePrincipalSecret\"],\n };\n}\n\nexport function keyVaultCredentialSettingsDeserializer(item: any): KeyVaultCredentialSettings {\n return {\n enable: item[\"enable\"],\n credentialName: item[\"credentialName\"],\n azureKeyVaultUrl: item[\"azureKeyVaultUrl\"],\n servicePrincipalName: item[\"servicePrincipalName\"],\n servicePrincipalSecret: item[\"servicePrincipalSecret\"],\n };\n}\n\n/** Set the connectivity, storage and workload settings. */\nexport interface ServerConfigurationsManagementSettings {\n /** SQL connectivity type settings. */\n sqlConnectivityUpdateSettings?: SqlConnectivityUpdateSettings;\n /** SQL workload type settings. */\n sqlWorkloadTypeUpdateSettings?: SqlWorkloadTypeUpdateSettings;\n /** SQL storage update settings. */\n sqlStorageUpdateSettings?: SqlStorageUpdateSettings;\n /** Additional SQL feature settings. */\n additionalFeaturesServerConfigurations?: AdditionalFeaturesServerConfigurations;\n /** SQL Instance settings. */\n sqlInstanceSettings?: SQLInstanceSettings;\n /** Azure AD authentication Settings. */\n azureAdAuthenticationSettings?: AADAuthenticationSettings;\n}\n\nexport function serverConfigurationsManagementSettingsSerializer(\n item: ServerConfigurationsManagementSettings,\n): any {\n return {\n sqlConnectivityUpdateSettings: !item[\"sqlConnectivityUpdateSettings\"]\n ? item[\"sqlConnectivityUpdateSettings\"]\n : sqlConnectivityUpdateSettingsSerializer(item[\"sqlConnectivityUpdateSettings\"]),\n sqlWorkloadTypeUpdateSettings: !item[\"sqlWorkloadTypeUpdateSettings\"]\n ? item[\"sqlWorkloadTypeUpdateSettings\"]\n : sqlWorkloadTypeUpdateSettingsSerializer(item[\"sqlWorkloadTypeUpdateSettings\"]),\n sqlStorageUpdateSettings: !item[\"sqlStorageUpdateSettings\"]\n ? item[\"sqlStorageUpdateSettings\"]\n : sqlStorageUpdateSettingsSerializer(item[\"sqlStorageUpdateSettings\"]),\n additionalFeaturesServerConfigurations: !item[\"additionalFeaturesServerConfigurations\"]\n ? item[\"additionalFeaturesServerConfigurations\"]\n : additionalFeaturesServerConfigurationsSerializer(\n item[\"additionalFeaturesServerConfigurations\"],\n ),\n sqlInstanceSettings: !item[\"sqlInstanceSettings\"]\n ? item[\"sqlInstanceSettings\"]\n : sqlInstanceSettingsSerializer(item[\"sqlInstanceSettings\"]),\n azureAdAuthenticationSettings: !item[\"azureAdAuthenticationSettings\"]\n ? item[\"azureAdAuthenticationSettings\"]\n : aadAuthenticationSettingsSerializer(item[\"azureAdAuthenticationSettings\"]),\n };\n}\n\nexport function serverConfigurationsManagementSettingsDeserializer(\n item: any,\n): ServerConfigurationsManagementSettings {\n return {\n sqlConnectivityUpdateSettings: !item[\"sqlConnectivityUpdateSettings\"]\n ? item[\"sqlConnectivityUpdateSettings\"]\n : sqlConnectivityUpdateSettingsDeserializer(item[\"sqlConnectivityUpdateSettings\"]),\n sqlWorkloadTypeUpdateSettings: !item[\"sqlWorkloadTypeUpdateSettings\"]\n ? item[\"sqlWorkloadTypeUpdateSettings\"]\n : sqlWorkloadTypeUpdateSettingsDeserializer(item[\"sqlWorkloadTypeUpdateSettings\"]),\n sqlStorageUpdateSettings: !item[\"sqlStorageUpdateSettings\"]\n ? item[\"sqlStorageUpdateSettings\"]\n : sqlStorageUpdateSettingsDeserializer(item[\"sqlStorageUpdateSettings\"]),\n additionalFeaturesServerConfigurations: !item[\"additionalFeaturesServerConfigurations\"]\n ? item[\"additionalFeaturesServerConfigurations\"]\n : additionalFeaturesServerConfigurationsDeserializer(\n item[\"additionalFeaturesServerConfigurations\"],\n ),\n sqlInstanceSettings: !item[\"sqlInstanceSettings\"]\n ? item[\"sqlInstanceSettings\"]\n : sqlInstanceSettingsDeserializer(item[\"sqlInstanceSettings\"]),\n azureAdAuthenticationSettings: !item[\"azureAdAuthenticationSettings\"]\n ? item[\"azureAdAuthenticationSettings\"]\n : aadAuthenticationSettingsDeserializer(item[\"azureAdAuthenticationSettings\"]),\n };\n}\n\n/** Set the access level and network port settings for SQL Server. */\nexport interface SqlConnectivityUpdateSettings {\n /** SQL Server connectivity option. */\n connectivityType?: ConnectivityType;\n /** SQL Server port. */\n port?: number;\n /** SQL Server sysadmin login to create. */\n sqlAuthUpdateUserName?: string;\n /** SQL Server sysadmin login password. */\n sqlAuthUpdatePassword?: string;\n}\n\nexport function sqlConnectivityUpdateSettingsSerializer(item: SqlConnectivityUpdateSettings): any {\n return {\n connectivityType: item[\"connectivityType\"],\n port: item[\"port\"],\n sqlAuthUpdateUserName: item[\"sqlAuthUpdateUserName\"],\n sqlAuthUpdatePassword: item[\"sqlAuthUpdatePassword\"],\n };\n}\n\nexport function sqlConnectivityUpdateSettingsDeserializer(\n item: any,\n): SqlConnectivityUpdateSettings {\n return {\n connectivityType: item[\"connectivityType\"],\n port: item[\"port\"],\n sqlAuthUpdateUserName: item[\"sqlAuthUpdateUserName\"],\n sqlAuthUpdatePassword: item[\"sqlAuthUpdatePassword\"],\n };\n}\n\n/** SQL Server connectivity option. */\nexport enum KnownConnectivityType {\n /** LOCAL */\n Local = \"LOCAL\",\n /** PRIVATE */\n Private = \"PRIVATE\",\n /** PUBLIC */\n Public = \"PUBLIC\",\n}\n\n/**\n * SQL Server connectivity option. \\\n * {@link KnownConnectivityType} can be used interchangeably with ConnectivityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **LOCAL** \\\n * **PRIVATE** \\\n * **PUBLIC**\n */\nexport type ConnectivityType = string;\n\n/** Set workload type to optimize storage for SQL Server. */\nexport interface SqlWorkloadTypeUpdateSettings {\n /** SQL Server workload type. */\n sqlWorkloadType?: SqlWorkloadType;\n}\n\nexport function sqlWorkloadTypeUpdateSettingsSerializer(item: SqlWorkloadTypeUpdateSettings): any {\n return { sqlWorkloadType: item[\"sqlWorkloadType\"] };\n}\n\nexport function sqlWorkloadTypeUpdateSettingsDeserializer(\n item: any,\n): SqlWorkloadTypeUpdateSettings {\n return {\n sqlWorkloadType: item[\"sqlWorkloadType\"],\n };\n}\n\n/** SQL Server workload type. */\nexport enum KnownSqlWorkloadType {\n /** GENERAL */\n General = \"GENERAL\",\n /** OLTP */\n Oltp = \"OLTP\",\n /** DW */\n DW = \"DW\",\n}\n\n/**\n * SQL Server workload type. \\\n * {@link KnownSqlWorkloadType} can be used interchangeably with SqlWorkloadType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **GENERAL** \\\n * **OLTP** \\\n * **DW**\n */\nexport type SqlWorkloadType = string;\n\n/** Set disk storage settings for SQL Server. */\nexport interface SqlStorageUpdateSettings {\n /** Virtual machine disk count. */\n diskCount?: number;\n /** Device id of the first disk to be updated. */\n startingDeviceId?: number;\n /** Disk configuration to apply to SQL Server. */\n diskConfigurationType?: DiskConfigurationType;\n}\n\nexport function sqlStorageUpdateSettingsSerializer(item: SqlStorageUpdateSettings): any {\n return {\n diskCount: item[\"diskCount\"],\n startingDeviceId: item[\"startingDeviceId\"],\n diskConfigurationType: item[\"diskConfigurationType\"],\n };\n}\n\nexport function sqlStorageUpdateSettingsDeserializer(item: any): SqlStorageUpdateSettings {\n return {\n diskCount: item[\"diskCount\"],\n startingDeviceId: item[\"startingDeviceId\"],\n diskConfigurationType: item[\"diskConfigurationType\"],\n };\n}\n\n/** Disk configuration to apply to SQL Server. */\nexport enum KnownDiskConfigurationType {\n /** NEW */\n NEW = \"NEW\",\n /** EXTEND */\n Extend = \"EXTEND\",\n /** ADD */\n ADD = \"ADD\",\n}\n\n/**\n * Disk configuration to apply to SQL Server. \\\n * {@link KnownDiskConfigurationType} can be used interchangeably with DiskConfigurationType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **NEW** \\\n * **EXTEND** \\\n * **ADD**\n */\nexport type DiskConfigurationType = string;\n\n/** Additional SQL Server feature settings. */\nexport interface AdditionalFeaturesServerConfigurations {\n /** Enable or disable R services (SQL 2016 onwards). */\n isRServicesEnabled?: boolean;\n}\n\nexport function additionalFeaturesServerConfigurationsSerializer(\n item: AdditionalFeaturesServerConfigurations,\n): any {\n return { isRServicesEnabled: item[\"isRServicesEnabled\"] };\n}\n\nexport function additionalFeaturesServerConfigurationsDeserializer(\n item: any,\n): AdditionalFeaturesServerConfigurations {\n return {\n isRServicesEnabled: item[\"isRServicesEnabled\"],\n };\n}\n\n/** Set the server/instance-level settings for SQL Server. */\nexport interface SQLInstanceSettings {\n /** SQL Server Collation. */\n collation?: string;\n /** SQL Server MAXDOP. */\n maxDop?: number;\n /** SQL Server Optimize for Adhoc workloads. */\n isOptimizeForAdHocWorkloadsEnabled?: boolean;\n /** SQL Server minimum memory. */\n minServerMemoryMB?: number;\n /** SQL Server maximum memory. */\n maxServerMemoryMB?: number;\n /** SQL Server LPIM. */\n isLpimEnabled?: boolean;\n /** SQL Server IFI. */\n isIfiEnabled?: boolean;\n}\n\nexport function sqlInstanceSettingsSerializer(item: SQLInstanceSettings): any {\n return {\n collation: item[\"collation\"],\n maxDop: item[\"maxDop\"],\n isOptimizeForAdHocWorkloadsEnabled: item[\"isOptimizeForAdHocWorkloadsEnabled\"],\n minServerMemoryMB: item[\"minServerMemoryMB\"],\n maxServerMemoryMB: item[\"maxServerMemoryMB\"],\n isLpimEnabled: item[\"isLpimEnabled\"],\n isIfiEnabled: item[\"isIfiEnabled\"],\n };\n}\n\nexport function sqlInstanceSettingsDeserializer(item: any): SQLInstanceSettings {\n return {\n collation: item[\"collation\"],\n maxDop: item[\"maxDop\"],\n isOptimizeForAdHocWorkloadsEnabled: item[\"isOptimizeForAdHocWorkloadsEnabled\"],\n minServerMemoryMB: item[\"minServerMemoryMB\"],\n maxServerMemoryMB: item[\"maxServerMemoryMB\"],\n isLpimEnabled: item[\"isLpimEnabled\"],\n isIfiEnabled: item[\"isIfiEnabled\"],\n };\n}\n\n/** Enable AAD authentication for SQL VM. */\nexport interface AADAuthenticationSettings {\n /** The client Id of the Managed Identity to query Microsoft Graph API. An empty string must be used for the system assigned Managed Identity */\n clientId?: string;\n}\n\nexport function aadAuthenticationSettingsSerializer(item: AADAuthenticationSettings): any {\n return { clientId: item[\"clientId\"] };\n}\n\nexport function aadAuthenticationSettingsDeserializer(item: any): AADAuthenticationSettings {\n return {\n clientId: item[\"clientId\"],\n };\n}\n\n/** Storage Configurations for SQL Data, Log and TempDb. */\nexport interface StorageConfigurationSettings {\n /** SQL Server Data Storage Settings. */\n sqlDataSettings?: SQLStorageSettings;\n /** SQL Server Log Storage Settings. */\n sqlLogSettings?: SQLStorageSettings;\n /** SQL Server TempDb Storage Settings. */\n sqlTempDbSettings?: SQLTempDbSettings;\n /** SQL Server SystemDb Storage on DataPool if true. */\n sqlSystemDbOnDataDisk?: boolean;\n /** Disk configuration to apply to SQL Server. */\n diskConfigurationType?: DiskConfigurationType;\n /** Storage workload type. */\n storageWorkloadType?: StorageWorkloadType;\n /** Enable SQL IaaS Agent storage configuration blade in Azure Portal. */\n enableStorageConfigBlade?: boolean;\n}\n\nexport function storageConfigurationSettingsSerializer(item: StorageConfigurationSettings): any {\n return {\n sqlDataSettings: !item[\"sqlDataSettings\"]\n ? item[\"sqlDataSettings\"]\n : sqlStorageSettingsSerializer(item[\"sqlDataSettings\"]),\n sqlLogSettings: !item[\"sqlLogSettings\"]\n ? item[\"sqlLogSettings\"]\n : sqlStorageSettingsSerializer(item[\"sqlLogSettings\"]),\n sqlTempDbSettings: !item[\"sqlTempDbSettings\"]\n ? item[\"sqlTempDbSettings\"]\n : sqlTempDbSettingsSerializer(item[\"sqlTempDbSettings\"]),\n sqlSystemDbOnDataDisk: item[\"sqlSystemDbOnDataDisk\"],\n diskConfigurationType: item[\"diskConfigurationType\"],\n storageWorkloadType: item[\"storageWorkloadType\"],\n enableStorageConfigBlade: item[\"enableStorageConfigBlade\"],\n };\n}\n\nexport function storageConfigurationSettingsDeserializer(item: any): StorageConfigurationSettings {\n return {\n sqlDataSettings: !item[\"sqlDataSettings\"]\n ? item[\"sqlDataSettings\"]\n : sqlStorageSettingsDeserializer(item[\"sqlDataSettings\"]),\n sqlLogSettings: !item[\"sqlLogSettings\"]\n ? item[\"sqlLogSettings\"]\n : sqlStorageSettingsDeserializer(item[\"sqlLogSettings\"]),\n sqlTempDbSettings: !item[\"sqlTempDbSettings\"]\n ? item[\"sqlTempDbSettings\"]\n : sqlTempDbSettingsDeserializer(item[\"sqlTempDbSettings\"]),\n sqlSystemDbOnDataDisk: item[\"sqlSystemDbOnDataDisk\"],\n diskConfigurationType: item[\"diskConfigurationType\"],\n storageWorkloadType: item[\"storageWorkloadType\"],\n enableStorageConfigBlade: item[\"enableStorageConfigBlade\"],\n };\n}\n\n/** Set disk storage settings for SQL Server. */\nexport interface SQLStorageSettings {\n /** Logical Unit Numbers for the disks. */\n luns?: number[];\n /** SQL Server default file path */\n defaultFilePath?: string;\n /** Use storage pool to build a drive if true or not provided */\n useStoragePool?: boolean;\n}\n\nexport function sqlStorageSettingsSerializer(item: SQLStorageSettings): any {\n return {\n luns: !item[\"luns\"]\n ? item[\"luns\"]\n : item[\"luns\"].map((p: any) => {\n return p;\n }),\n defaultFilePath: item[\"defaultFilePath\"],\n useStoragePool: item[\"useStoragePool\"],\n };\n}\n\nexport function sqlStorageSettingsDeserializer(item: any): SQLStorageSettings {\n return {\n luns: !item[\"luns\"]\n ? item[\"luns\"]\n : item[\"luns\"].map((p: any) => {\n return p;\n }),\n defaultFilePath: item[\"defaultFilePath\"],\n useStoragePool: item[\"useStoragePool\"],\n };\n}\n\n/** Set tempDb storage settings for SQL Server. */\nexport interface SQLTempDbSettings {\n /** SQL Server tempdb data file size */\n dataFileSize?: number;\n /** SQL Server tempdb data file autoGrowth size */\n dataGrowth?: number;\n /** SQL Server tempdb log file size */\n logFileSize?: number;\n /** SQL Server tempdb log file autoGrowth size */\n logGrowth?: number;\n /** SQL Server tempdb data file count */\n dataFileCount?: number;\n /** SQL Server tempdb persist folder choice */\n persistFolder?: boolean;\n /** SQL Server tempdb persist folder location */\n persistFolderPath?: string;\n /** Logical Unit Numbers for the disks. */\n luns?: number[];\n /** SQL Server default file path */\n defaultFilePath?: string;\n /** Use storage pool to build a drive if true or not provided */\n useStoragePool?: boolean;\n}\n\nexport function sqlTempDbSettingsSerializer(item: SQLTempDbSettings): any {\n return {\n dataFileSize: item[\"dataFileSize\"],\n dataGrowth: item[\"dataGrowth\"],\n logFileSize: item[\"logFileSize\"],\n logGrowth: item[\"logGrowth\"],\n dataFileCount: item[\"dataFileCount\"],\n persistFolder: item[\"persistFolder\"],\n persistFolderPath: item[\"persistFolderPath\"],\n luns: !item[\"luns\"]\n ? item[\"luns\"]\n : item[\"luns\"].map((p: any) => {\n return p;\n }),\n defaultFilePath: item[\"defaultFilePath\"],\n useStoragePool: item[\"useStoragePool\"],\n };\n}\n\nexport function sqlTempDbSettingsDeserializer(item: any): SQLTempDbSettings {\n return {\n dataFileSize: item[\"dataFileSize\"],\n dataGrowth: item[\"dataGrowth\"],\n logFileSize: item[\"logFileSize\"],\n logGrowth: item[\"logGrowth\"],\n dataFileCount: item[\"dataFileCount\"],\n persistFolder: item[\"persistFolder\"],\n persistFolderPath: item[\"persistFolderPath\"],\n luns: !item[\"luns\"]\n ? item[\"luns\"]\n : item[\"luns\"].map((p: any) => {\n return p;\n }),\n defaultFilePath: item[\"defaultFilePath\"],\n useStoragePool: item[\"useStoragePool\"],\n };\n}\n\n/** Storage workload type. */\nexport enum KnownStorageWorkloadType {\n /** GENERAL */\n General = \"GENERAL\",\n /** OLTP */\n Oltp = \"OLTP\",\n /** DW */\n DW = \"DW\",\n}\n\n/**\n * Storage workload type. \\\n * {@link KnownStorageWorkloadType} can be used interchangeably with StorageWorkloadType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **GENERAL** \\\n * **OLTP** \\\n * **DW**\n */\nexport type StorageWorkloadType = string;\n\n/** Status of last troubleshooting operation on this SQL VM */\nexport interface TroubleshootingStatus {\n /** Root cause of the issue */\n readonly rootCause?: string;\n /** Last troubleshooting trigger time in UTC timezone */\n readonly lastTriggerTimeUtc?: Date;\n /** Start time in UTC timezone. */\n readonly startTimeUtc?: Date;\n /** End time in UTC timezone. */\n readonly endTimeUtc?: Date;\n /** SQL VM troubleshooting scenario. */\n readonly troubleshootingScenario?: TroubleshootingScenario;\n /** Troubleshooting properties */\n readonly properties?: TroubleshootingAdditionalProperties;\n}\n\nexport function troubleshootingStatusDeserializer(item: any): TroubleshootingStatus {\n return {\n rootCause: item[\"rootCause\"],\n lastTriggerTimeUtc: !item[\"lastTriggerTimeUtc\"]\n ? item[\"lastTriggerTimeUtc\"]\n : new Date(item[\"lastTriggerTimeUtc\"]),\n startTimeUtc: !item[\"startTimeUtc\"] ? item[\"startTimeUtc\"] : new Date(item[\"startTimeUtc\"]),\n endTimeUtc: !item[\"endTimeUtc\"] ? item[\"endTimeUtc\"] : new Date(item[\"endTimeUtc\"]),\n troubleshootingScenario: item[\"troubleshootingScenario\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : troubleshootingAdditionalPropertiesDeserializer(item[\"properties\"]),\n };\n}\n\n/** SQL VM troubleshooting scenario. */\nexport enum KnownTroubleshootingScenario {\n /** UnhealthyReplica */\n UnhealthyReplica = \"UnhealthyReplica\",\n}\n\n/**\n * SQL VM troubleshooting scenario. \\\n * {@link KnownTroubleshootingScenario} can be used interchangeably with TroubleshootingScenario,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **UnhealthyReplica**\n */\nexport type TroubleshootingScenario = string;\n\n/** SQL VM Troubleshooting additional properties. */\nexport interface TroubleshootingAdditionalProperties {\n /** The unhealthy replica information */\n unhealthyReplicaInfo?: UnhealthyReplicaInfo;\n}\n\nexport function troubleshootingAdditionalPropertiesSerializer(\n item: TroubleshootingAdditionalProperties,\n): any {\n return {\n unhealthyReplicaInfo: !item[\"unhealthyReplicaInfo\"]\n ? item[\"unhealthyReplicaInfo\"]\n : unhealthyReplicaInfoSerializer(item[\"unhealthyReplicaInfo\"]),\n };\n}\n\nexport function troubleshootingAdditionalPropertiesDeserializer(\n item: any,\n): TroubleshootingAdditionalProperties {\n return {\n unhealthyReplicaInfo: !item[\"unhealthyReplicaInfo\"]\n ? item[\"unhealthyReplicaInfo\"]\n : unhealthyReplicaInfoDeserializer(item[\"unhealthyReplicaInfo\"]),\n };\n}\n\n/** SQL VM Troubleshoot UnhealthyReplica scenario information. */\nexport interface UnhealthyReplicaInfo {\n /** The name of the availability group */\n availabilityGroupName?: string;\n}\n\nexport function unhealthyReplicaInfoSerializer(item: UnhealthyReplicaInfo): any {\n return { availabilityGroupName: item[\"availabilityGroupName\"] };\n}\n\nexport function unhealthyReplicaInfoDeserializer(item: any): UnhealthyReplicaInfo {\n return {\n availabilityGroupName: item[\"availabilityGroupName\"],\n };\n}\n\n/** Configure SQL best practices Assessment for databases in your SQL virtual machine. */\nexport interface AssessmentSettings {\n /** Enable or disable SQL best practices Assessment feature on SQL virtual machine. */\n enable?: boolean;\n /** Run SQL best practices Assessment immediately on SQL virtual machine. */\n runImmediately?: boolean;\n /** Schedule for SQL best practices Assessment. */\n schedule?: Schedule;\n}\n\nexport function assessmentSettingsSerializer(item: AssessmentSettings): any {\n return {\n enable: item[\"enable\"],\n runImmediately: item[\"runImmediately\"],\n schedule: !item[\"schedule\"] ? item[\"schedule\"] : scheduleSerializer(item[\"schedule\"]),\n };\n}\n\nexport function assessmentSettingsDeserializer(item: any): AssessmentSettings {\n return {\n enable: item[\"enable\"],\n runImmediately: item[\"runImmediately\"],\n schedule: !item[\"schedule\"] ? item[\"schedule\"] : scheduleDeserializer(item[\"schedule\"]),\n };\n}\n\n/** Set assessment schedule for SQL Server. */\nexport interface Schedule {\n /** Enable or disable assessment schedule on SQL virtual machine. */\n enable?: boolean;\n /** Number of weeks to schedule between 2 assessment runs. Takes value from 1-6 */\n weeklyInterval?: number;\n /** Occurrence of the DayOfWeek day within a month to schedule assessment. Takes values: 1,2,3,4 and -1. Use -1 for last DayOfWeek day of the month */\n monthlyOccurrence?: number;\n /** Day of the week to run assessment. */\n dayOfWeek?: AssessmentDayOfWeek;\n /** Time of the day in HH:mm format. Eg. 17:30 */\n startTime?: string;\n}\n\nexport function scheduleSerializer(item: Schedule): any {\n return {\n enable: item[\"enable\"],\n weeklyInterval: item[\"weeklyInterval\"],\n monthlyOccurrence: item[\"monthlyOccurrence\"],\n dayOfWeek: item[\"dayOfWeek\"],\n startTime: item[\"startTime\"],\n };\n}\n\nexport function scheduleDeserializer(item: any): Schedule {\n return {\n enable: item[\"enable\"],\n weeklyInterval: item[\"weeklyInterval\"],\n monthlyOccurrence: item[\"monthlyOccurrence\"],\n dayOfWeek: item[\"dayOfWeek\"],\n startTime: item[\"startTime\"],\n };\n}\n\n/** Day of the week to run assessment. */\nexport type AssessmentDayOfWeek =\n | \"Monday\"\n | \"Tuesday\"\n | \"Wednesday\"\n | \"Thursday\"\n | \"Friday\"\n | \"Saturday\"\n | \"Sunday\";\n\n/** Additional VM Patching solution enabled on the Virtual Machine */\nexport enum KnownAdditionalOsPatch {\n /** WU */\n WU = \"WU\",\n /** WUMU */\n Wumu = \"WUMU\",\n /** WSUS */\n Wsus = \"WSUS\",\n}\n\n/**\n * Additional VM Patching solution enabled on the Virtual Machine \\\n * {@link KnownAdditionalOsPatch} can be used interchangeably with AdditionalOsPatch,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **WU** \\\n * **WUMU** \\\n * **WSUS**\n */\nexport type AdditionalOsPatch = string;\n\n/** Virtual Machine Identity details used for Sql IaaS extension configurations. */\nexport interface VirtualMachineIdentity {\n /** Identity type of the virtual machine. Specify None to opt-out of Managed Identities. */\n type?: VmIdentityType;\n /** ARM Resource Id of the identity. Only required when UserAssigned identity is selected. */\n resourceId?: string;\n}\n\nexport function virtualMachineIdentitySerializer(item: VirtualMachineIdentity): any {\n return { type: item[\"type\"], resourceId: item[\"resourceId\"] };\n}\n\nexport function virtualMachineIdentityDeserializer(item: any): VirtualMachineIdentity {\n return {\n type: item[\"type\"],\n resourceId: item[\"resourceId\"],\n };\n}\n\n/** Identity type of the virtual machine. Specify None to opt-out of Managed Identities. */\nexport enum KnownVmIdentityType {\n /** None */\n None = \"None\",\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** UserAssigned */\n UserAssigned = \"UserAssigned\",\n}\n\n/**\n * Identity type of the virtual machine. Specify None to opt-out of Managed Identities. \\\n * {@link KnownVmIdentityType} can be used interchangeably with VmIdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None** \\\n * **SystemAssigned** \\\n * **UserAssigned**\n */\nexport type VmIdentityType = string;\n/** Operating System of the current SQL Virtual Machine. */\nexport type OsType = \"Windows\" | \"Linux\";\n\n/** Azure Active Directory identity configuration for a resource. */\nexport interface ResourceIdentity {\n /** The Azure Active Directory principal id. */\n readonly principalId?: string;\n /** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */\n type?: IdentityType;\n /** The Azure Active Directory tenant id. */\n readonly tenantId?: string;\n}\n\nexport function resourceIdentitySerializer(item: ResourceIdentity): any {\n return { type: item[\"type\"] };\n}\n\nexport function resourceIdentityDeserializer(item: any): ResourceIdentity {\n return {\n principalId: item[\"principalId\"],\n type: item[\"type\"],\n tenantId: item[\"tenantId\"],\n };\n}\n\n/** The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. */\nexport enum KnownIdentityType {\n /** None */\n None = \"None\",\n /** SystemAssigned */\n SystemAssigned = \"SystemAssigned\",\n /** UserAssigned */\n UserAssigned = \"UserAssigned\",\n /** SystemAssigned,UserAssigned */\n SystemAssignedUserAssigned = \"SystemAssigned,UserAssigned\",\n}\n\n/**\n * The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource. \\\n * {@link KnownIdentityType} can be used interchangeably with IdentityType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None** \\\n * **SystemAssigned** \\\n * **UserAssigned** \\\n * **SystemAssigned,UserAssigned**\n */\nexport type IdentityType = string;\n\n/** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */\nexport interface TrackedResource extends Resource {\n /** Resource tags. */\n tags?: Record<string, string>;\n /** The geo-location where the resource lives */\n location: string;\n}\n\nexport function trackedResourceSerializer(item: TrackedResource): any {\n return { tags: item[\"tags\"], location: item[\"location\"] };\n}\n\nexport function trackedResourceDeserializer(item: any): TrackedResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n };\n}\n\n/** An update to a SQL virtual machine. */\nexport interface SqlVirtualMachineUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function sqlVirtualMachineUpdateSerializer(item: SqlVirtualMachineUpdate): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The response of a SqlVirtualMachine list operation. */\nexport interface _SqlVirtualMachineListResult {\n /** The SqlVirtualMachine items on this page */\n readonly value: SqlVirtualMachine[];\n /** The link to the next page of items */\n readonly nextLink?: string;\n}\n\nexport function _sqlVirtualMachineListResultDeserializer(item: any): _SqlVirtualMachineListResult {\n return {\n value: sqlVirtualMachineArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function sqlVirtualMachineArraySerializer(result: Array<SqlVirtualMachine>): any[] {\n return result.map((item) => {\n return sqlVirtualMachineSerializer(item);\n });\n}\n\nexport function sqlVirtualMachineArrayDeserializer(result: Array<SqlVirtualMachine>): any[] {\n return result.map((item) => {\n return sqlVirtualMachineDeserializer(item);\n });\n}\n\n/** Configure disk config assessment for databases in your SQL virtual machine. */\nexport interface DiskConfigAssessmentRequest {\n /** Boolean to run disk config Assessment. Use false to fetch past Assessment. */\n runDiskConfigRules?: boolean;\n}\n\nexport function diskConfigAssessmentRequestSerializer(item: DiskConfigAssessmentRequest): any {\n return { runDiskConfigRules: item[\"runDiskConfigRules\"] };\n}\n\n/** A SQL virtual machine group. */\nexport interface SqlVirtualMachineGroup extends TrackedResource {\n /** Provisioning state to track the async operation status. */\n readonly provisioningState?: string;\n /** SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016. */\n sqlImageOffer?: string;\n /** SQL image sku. */\n sqlImageSku?: SqlVmGroupImageSku;\n /** Scale type. */\n readonly scaleType?: ScaleType;\n /** Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. */\n readonly clusterManagerType?: ClusterManagerType;\n /** Cluster type. */\n readonly clusterConfiguration?: ClusterConfiguration;\n /** Cluster Active Directory domain profile. */\n wsfcDomainProfile?: WsfcDomainProfile;\n}\n\nexport function sqlVirtualMachineGroupSerializer(item: SqlVirtualMachineGroup): any {\n return {\n tags: item[\"tags\"],\n location: item[\"location\"],\n properties: areAllPropsUndefined(item, [\"sqlImageOffer\", \"sqlImageSku\", \"wsfcDomainProfile\"])\n ? undefined\n : _sqlVirtualMachineGroupPropertiesSerializer(item),\n };\n}\n\nexport function sqlVirtualMachineGroupDeserializer(item: any): SqlVirtualMachineGroup {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n location: item[\"location\"],\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _sqlVirtualMachineGroupPropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The properties of a SQL virtual machine group. */\nexport interface SqlVirtualMachineGroupProperties {\n /** Provisioning state to track the async operation status. */\n readonly provisioningState?: string;\n /** SQL image offer. Examples may include SQL2016-WS2016, SQL2017-WS2016. */\n sqlImageOffer?: string;\n /** SQL image sku. */\n sqlImageSku?: SqlVmGroupImageSku;\n /** Scale type. */\n readonly scaleType?: ScaleType;\n /** Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. */\n readonly clusterManagerType?: ClusterManagerType;\n /** Cluster type. */\n readonly clusterConfiguration?: ClusterConfiguration;\n /** Cluster Active Directory domain profile. */\n wsfcDomainProfile?: WsfcDomainProfile;\n}\n\nexport function sqlVirtualMachineGroupPropertiesSerializer(\n item: SqlVirtualMachineGroupProperties,\n): any {\n return {\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlImageSku: item[\"sqlImageSku\"],\n wsfcDomainProfile: !item[\"wsfcDomainProfile\"]\n ? item[\"wsfcDomainProfile\"]\n : wsfcDomainProfileSerializer(item[\"wsfcDomainProfile\"]),\n };\n}\n\nexport function sqlVirtualMachineGroupPropertiesDeserializer(\n item: any,\n): SqlVirtualMachineGroupProperties {\n return {\n provisioningState: item[\"provisioningState\"],\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlImageSku: item[\"sqlImageSku\"],\n scaleType: item[\"scaleType\"],\n clusterManagerType: item[\"clusterManagerType\"],\n clusterConfiguration: item[\"clusterConfiguration\"],\n wsfcDomainProfile: !item[\"wsfcDomainProfile\"]\n ? item[\"wsfcDomainProfile\"]\n : wsfcDomainProfileDeserializer(item[\"wsfcDomainProfile\"]),\n };\n}\n\n/** SQL image sku. */\nexport enum KnownSqlVmGroupImageSku {\n /** Developer */\n Developer = \"Developer\",\n /** Enterprise */\n Enterprise = \"Enterprise\",\n}\n\n/**\n * SQL image sku. \\\n * {@link KnownSqlVmGroupImageSku} can be used interchangeably with SqlVmGroupImageSku,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Developer** \\\n * **Enterprise**\n */\nexport type SqlVmGroupImageSku = string;\n\n/** Scale type. */\nexport enum KnownScaleType {\n /** HA */\n HA = \"HA\",\n}\n\n/**\n * Scale type. \\\n * {@link KnownScaleType} can be used interchangeably with ScaleType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **HA**\n */\nexport type ScaleType = string;\n\n/** Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. */\nexport enum KnownClusterManagerType {\n /** WSFC */\n Wsfc = \"WSFC\",\n}\n\n/**\n * Type of cluster manager: Windows Server Failover Cluster (WSFC), implied by the scale type of the group and the OS type. \\\n * {@link KnownClusterManagerType} can be used interchangeably with ClusterManagerType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **WSFC**\n */\nexport type ClusterManagerType = string;\n\n/** Cluster type. */\nexport enum KnownClusterConfiguration {\n /** Domainful */\n Domainful = \"Domainful\",\n}\n\n/**\n * Cluster type. \\\n * {@link KnownClusterConfiguration} can be used interchangeably with ClusterConfiguration,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Domainful**\n */\nexport type ClusterConfiguration = string;\n\n/** Active Directory account details to operate Windows Server Failover Cluster. */\nexport interface WsfcDomainProfile {\n /** Fully qualified name of the domain. */\n domainFqdn?: string;\n /** Organizational Unit path in which the nodes and cluster will be present. */\n ouPath?: string;\n /** Account name used for creating cluster (at minimum needs permissions to 'Create Computer Objects' in domain). */\n clusterBootstrapAccount?: string;\n /** Account name used for operating cluster i.e. will be part of administrators group on all the participating virtual machines in the cluster. */\n clusterOperatorAccount?: string;\n /** Account name under which SQL service will run on all participating SQL virtual machines in the cluster. */\n sqlServiceAccount?: string;\n /** The flag to check if SQL service account is GMSA. */\n isSqlServiceAccountGmsa?: boolean;\n /** Optional path for fileshare witness. */\n fileShareWitnessPath?: string;\n /** Fully qualified ARM resource id of the witness storage account. */\n storageAccountUrl?: string;\n /** Primary key of the witness storage account. */\n storageAccountPrimaryKey?: string;\n /** Cluster subnet type. */\n clusterSubnetType?: ClusterSubnetType;\n}\n\nexport function wsfcDomainProfileSerializer(item: WsfcDomainProfile): any {\n return {\n domainFqdn: item[\"domainFqdn\"],\n ouPath: item[\"ouPath\"],\n clusterBootstrapAccount: item[\"clusterBootstrapAccount\"],\n clusterOperatorAccount: item[\"clusterOperatorAccount\"],\n sqlServiceAccount: item[\"sqlServiceAccount\"],\n isSqlServiceAccountGmsa: item[\"isSqlServiceAccountGmsa\"],\n fileShareWitnessPath: item[\"fileShareWitnessPath\"],\n storageAccountUrl: item[\"storageAccountUrl\"],\n storageAccountPrimaryKey: item[\"storageAccountPrimaryKey\"],\n clusterSubnetType: item[\"clusterSubnetType\"],\n };\n}\n\nexport function wsfcDomainProfileDeserializer(item: any): WsfcDomainProfile {\n return {\n domainFqdn: item[\"domainFqdn\"],\n ouPath: item[\"ouPath\"],\n clusterBootstrapAccount: item[\"clusterBootstrapAccount\"],\n clusterOperatorAccount: item[\"clusterOperatorAccount\"],\n sqlServiceAccount: item[\"sqlServiceAccount\"],\n isSqlServiceAccountGmsa: item[\"isSqlServiceAccountGmsa\"],\n fileShareWitnessPath: item[\"fileShareWitnessPath\"],\n storageAccountUrl: item[\"storageAccountUrl\"],\n storageAccountPrimaryKey: item[\"storageAccountPrimaryKey\"],\n clusterSubnetType: item[\"clusterSubnetType\"],\n };\n}\n\n/** Cluster subnet type. */\nexport enum KnownClusterSubnetType {\n /** SingleSubnet */\n SingleSubnet = \"SingleSubnet\",\n /** MultiSubnet */\n MultiSubnet = \"MultiSubnet\",\n}\n\n/**\n * Cluster subnet type. \\\n * {@link KnownClusterSubnetType} can be used interchangeably with ClusterSubnetType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **SingleSubnet** \\\n * **MultiSubnet**\n */\nexport type ClusterSubnetType = string;\n\n/** An update to a SQL virtual machine group. */\nexport interface SqlVirtualMachineGroupUpdate {\n /** Resource tags. */\n tags?: Record<string, string>;\n}\n\nexport function sqlVirtualMachineGroupUpdateSerializer(item: SqlVirtualMachineGroupUpdate): any {\n return { tags: item[\"tags\"] };\n}\n\n/** The response of a SqlVirtualMachineGroup list operation. */\nexport interface _SqlVirtualMachineGroupListResult {\n /** The SqlVirtualMachineGroup items on this page */\n readonly value: SqlVirtualMachineGroup[];\n /** The link to the next page of items */\n readonly nextLink?: string;\n}\n\nexport function _sqlVirtualMachineGroupListResultDeserializer(\n item: any,\n): _SqlVirtualMachineGroupListResult {\n return {\n value: sqlVirtualMachineGroupArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function sqlVirtualMachineGroupArraySerializer(\n result: Array<SqlVirtualMachineGroup>,\n): any[] {\n return result.map((item) => {\n return sqlVirtualMachineGroupSerializer(item);\n });\n}\n\nexport function sqlVirtualMachineGroupArrayDeserializer(\n result: Array<SqlVirtualMachineGroup>,\n): any[] {\n return result.map((item) => {\n return sqlVirtualMachineGroupDeserializer(item);\n });\n}\n\n/** Details required for SQL VM troubleshooting */\nexport interface SqlVmTroubleshooting {\n /** Start time in UTC timezone. */\n startTimeUtc?: Date;\n /** End time in UTC timezone. */\n endTimeUtc?: Date;\n /** SQL VM troubleshooting scenario. */\n troubleshootingScenario?: TroubleshootingScenario;\n /** Troubleshooting properties */\n properties?: TroubleshootingAdditionalProperties;\n /** Virtual machine resource id for response. */\n readonly virtualMachineResourceId?: string;\n}\n\nexport function sqlVmTroubleshootingSerializer(item: SqlVmTroubleshooting): any {\n return {\n startTimeUtc: !item[\"startTimeUtc\"] ? item[\"startTimeUtc\"] : item[\"startTimeUtc\"].toISOString(),\n endTimeUtc: !item[\"endTimeUtc\"] ? item[\"endTimeUtc\"] : item[\"endTimeUtc\"].toISOString(),\n troubleshootingScenario: item[\"troubleshootingScenario\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : troubleshootingAdditionalPropertiesSerializer(item[\"properties\"]),\n };\n}\n\nexport function sqlVmTroubleshootingDeserializer(item: any): SqlVmTroubleshooting {\n return {\n startTimeUtc: !item[\"startTimeUtc\"] ? item[\"startTimeUtc\"] : new Date(item[\"startTimeUtc\"]),\n endTimeUtc: !item[\"endTimeUtc\"] ? item[\"endTimeUtc\"] : new Date(item[\"endTimeUtc\"]),\n troubleshootingScenario: item[\"troubleshootingScenario\"],\n properties: !item[\"properties\"]\n ? item[\"properties\"]\n : troubleshootingAdditionalPropertiesDeserializer(item[\"properties\"]),\n virtualMachineResourceId: item[\"virtualMachineResourceId\"],\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2023-10-01 API version. */\n V20231001 = \"2023-10-01\",\n}\n\nexport function _availabilityGroupListenerPropertiesSerializer(\n item: AvailabilityGroupListener,\n): any {\n return {\n availabilityGroupName: item[\"availabilityGroupName\"],\n loadBalancerConfigurations: !item[\"loadBalancerConfigurations\"]\n ? item[\"loadBalancerConfigurations\"]\n : loadBalancerConfigurationArraySerializer(item[\"loadBalancerConfigurations\"]),\n multiSubnetIpConfigurations: !item[\"multiSubnetIpConfigurations\"]\n ? item[\"multiSubnetIpConfigurations\"]\n : multiSubnetIpConfigurationArraySerializer(item[\"multiSubnetIpConfigurations\"]),\n createDefaultAvailabilityGroupIfNotExist: item[\"createDefaultAvailabilityGroupIfNotExist\"],\n port: item[\"port\"],\n availabilityGroupConfiguration: !item[\"availabilityGroupConfiguration\"]\n ? item[\"availabilityGroupConfiguration\"]\n : agConfigurationSerializer(item[\"availabilityGroupConfiguration\"]),\n };\n}\n\nexport function _availabilityGroupListenerPropertiesDeserializer(item: any) {\n return {\n provisioningState: item[\"provisioningState\"],\n availabilityGroupName: item[\"availabilityGroupName\"],\n loadBalancerConfigurations: !item[\"loadBalancerConfigurations\"]\n ? item[\"loadBalancerConfigurations\"]\n : loadBalancerConfigurationArrayDeserializer(item[\"loadBalancerConfigurations\"]),\n multiSubnetIpConfigurations: !item[\"multiSubnetIpConfigurations\"]\n ? item[\"multiSubnetIpConfigurations\"]\n : multiSubnetIpConfigurationArrayDeserializer(item[\"multiSubnetIpConfigurations\"]),\n createDefaultAvailabilityGroupIfNotExist: item[\"createDefaultAvailabilityGroupIfNotExist\"],\n port: item[\"port\"],\n availabilityGroupConfiguration: !item[\"availabilityGroupConfiguration\"]\n ? item[\"availabilityGroupConfiguration\"]\n : agConfigurationDeserializer(item[\"availabilityGroupConfiguration\"]),\n };\n}\n\nexport function _sqlVirtualMachinePropertiesSerializer(item: SqlVirtualMachine): any {\n return {\n virtualMachineResourceId: item[\"virtualMachineResourceId\"],\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlServerLicenseType: item[\"sqlServerLicenseType\"],\n sqlManagement: item[\"sqlManagement\"],\n leastPrivilegeMode: item[\"leastPrivilegeMode\"],\n sqlImageSku: item[\"sqlImageSku\"],\n sqlVirtualMachineGroupResourceId: item[\"sqlVirtualMachineGroupResourceId\"],\n wsfcDomainCredentials: !item[\"wsfcDomainCredentials\"]\n ? item[\"wsfcDomainCredentials\"]\n : wsfcDomainCredentialsSerializer(item[\"wsfcDomainCredentials\"]),\n wsfcStaticIp: item[\"wsfcStaticIp\"],\n autoPatchingSettings: !item[\"autoPatchingSettings\"]\n ? item[\"autoPatchingSettings\"]\n : autoPatchingSettingsSerializer(item[\"autoPatchingSettings\"]),\n autoBackupSettings: !item[\"autoBackupSettings\"]\n ? item[\"autoBackupSettings\"]\n : autoBackupSettingsSerializer(item[\"autoBackupSettings\"]),\n keyVaultCredentialSettings: !item[\"keyVaultCredentialSettings\"]\n ? item[\"keyVaultCredentialSettings\"]\n : keyVaultCredentialSettingsSerializer(item[\"keyVaultCredentialSettings\"]),\n serverConfigurationsManagementSettings: !item[\"serverConfigurationsManagementSettings\"]\n ? item[\"serverConfigurationsManagementSettings\"]\n : serverConfigurationsManagementSettingsSerializer(\n item[\"serverConfigurationsManagementSettings\"],\n ),\n storageConfigurationSettings: !item[\"storageConfigurationSettings\"]\n ? item[\"storageConfigurationSettings\"]\n : storageConfigurationSettingsSerializer(item[\"storageConfigurationSettings\"]),\n assessmentSettings: !item[\"assessmentSettings\"]\n ? item[\"assessmentSettings\"]\n : assessmentSettingsSerializer(item[\"assessmentSettings\"]),\n enableAutomaticUpgrade: item[\"enableAutomaticUpgrade\"],\n virtualMachineIdentitySettings: !item[\"virtualMachineIdentitySettings\"]\n ? item[\"virtualMachineIdentitySettings\"]\n : virtualMachineIdentitySerializer(item[\"virtualMachineIdentitySettings\"]),\n };\n}\n\nexport function _sqlVirtualMachinePropertiesDeserializer(item: any) {\n return {\n virtualMachineResourceId: item[\"virtualMachineResourceId\"],\n provisioningState: item[\"provisioningState\"],\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlServerLicenseType: item[\"sqlServerLicenseType\"],\n sqlManagement: item[\"sqlManagement\"],\n leastPrivilegeMode: item[\"leastPrivilegeMode\"],\n sqlImageSku: item[\"sqlImageSku\"],\n sqlVirtualMachineGroupResourceId: item[\"sqlVirtualMachineGroupResourceId\"],\n wsfcDomainCredentials: !item[\"wsfcDomainCredentials\"]\n ? item[\"wsfcDomainCredentials\"]\n : wsfcDomainCredentialsDeserializer(item[\"wsfcDomainCredentials\"]),\n wsfcStaticIp: item[\"wsfcStaticIp\"],\n autoPatchingSettings: !item[\"autoPatchingSettings\"]\n ? item[\"autoPatchingSettings\"]\n : autoPatchingSettingsDeserializer(item[\"autoPatchingSettings\"]),\n autoBackupSettings: !item[\"autoBackupSettings\"]\n ? item[\"autoBackupSettings\"]\n : autoBackupSettingsDeserializer(item[\"autoBackupSettings\"]),\n keyVaultCredentialSettings: !item[\"keyVaultCredentialSettings\"]\n ? item[\"keyVaultCredentialSettings\"]\n : keyVaultCredentialSettingsDeserializer(item[\"keyVaultCredentialSettings\"]),\n serverConfigurationsManagementSettings: !item[\"serverConfigurationsManagementSettings\"]\n ? item[\"serverConfigurationsManagementSettings\"]\n : serverConfigurationsManagementSettingsDeserializer(\n item[\"serverConfigurationsManagementSettings\"],\n ),\n storageConfigurationSettings: !item[\"storageConfigurationSettings\"]\n ? item[\"storageConfigurationSettings\"]\n : storageConfigurationSettingsDeserializer(item[\"storageConfigurationSettings\"]),\n troubleshootingStatus: !item[\"troubleshootingStatus\"]\n ? item[\"troubleshootingStatus\"]\n : troubleshootingStatusDeserializer(item[\"troubleshootingStatus\"]),\n assessmentSettings: !item[\"assessmentSettings\"]\n ? item[\"assessmentSettings\"]\n : assessmentSettingsDeserializer(item[\"assessmentSettings\"]),\n enableAutomaticUpgrade: item[\"enableAutomaticUpgrade\"],\n additionalVmPatch: item[\"additionalVmPatch\"],\n virtualMachineIdentitySettings: !item[\"virtualMachineIdentitySettings\"]\n ? item[\"virtualMachineIdentitySettings\"]\n : virtualMachineIdentityDeserializer(item[\"virtualMachineIdentitySettings\"]),\n osType: item[\"osType\"],\n };\n}\n\nexport function _sqlVirtualMachineGroupPropertiesSerializer(item: SqlVirtualMachineGroup): any {\n return {\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlImageSku: item[\"sqlImageSku\"],\n wsfcDomainProfile: !item[\"wsfcDomainProfile\"]\n ? item[\"wsfcDomainProfile\"]\n : wsfcDomainProfileSerializer(item[\"wsfcDomainProfile\"]),\n };\n}\n\nexport function _sqlVirtualMachineGroupPropertiesDeserializer(item: any) {\n return {\n provisioningState: item[\"provisioningState\"],\n sqlImageOffer: item[\"sqlImageOffer\"],\n sqlImageSku: item[\"sqlImageSku\"],\n scaleType: item[\"scaleType\"],\n clusterManagerType: item[\"clusterManagerType\"],\n clusterConfiguration: item[\"clusterConfiguration\"],\n wsfcDomainProfile: !item[\"wsfcDomainProfile\"]\n ? item[\"wsfcDomainProfile\"]\n : wsfcDomainProfileDeserializer(item[\"wsfcDomainProfile\"]),\n };\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SqlVirtualMachineManagementClient } from "./sqlVirtualMachineManagementClient.js";
|
|
2
|
+
import type { OperationOptions, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { AbortSignalLike } from "@azure/abort-controller";
|
|
4
|
+
import type { PollerLike, OperationState } from "@azure/core-lro";
|
|
5
|
+
export interface RestorePollerOptions<TResult, TResponse extends PathUncheckedResponse = PathUncheckedResponse> extends OperationOptions {
|
|
6
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
7
|
+
updateIntervalInMs?: number;
|
|
8
|
+
/**
|
|
9
|
+
* The signal which can be used to abort requests.
|
|
10
|
+
*/
|
|
11
|
+
abortSignal?: AbortSignalLike;
|
|
12
|
+
/** Deserialization function for raw response body */
|
|
13
|
+
processResponseBody?: (result: TResponse) => Promise<TResult>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
17
|
+
* useful when you want to create pollers on a different host or a poller
|
|
18
|
+
* needs to be constructed after the original one is not in scope.
|
|
19
|
+
*/
|
|
20
|
+
export declare function restorePoller<TResponse extends PathUncheckedResponse, TResult>(client: SqlVirtualMachineManagementClient, serializedState: string, sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult>): PollerLike<OperationState<TResult>, TResult>;
|
|
21
|
+
//# sourceMappingURL=restorePollerHelpers.d.ts.map
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// Copyright (c) Microsoft Corporation.
|
|
2
|
+
// Licensed under the MIT License.
|
|
3
|
+
import { _troubleshootDeserialize } from "./api/sqlVirtualMachineTroubleshoot/operations.js";
|
|
4
|
+
import { _$deleteDeserialize, _updateDeserialize, _createOrUpdateDeserialize, } from "./api/sqlVirtualMachineGroups/operations.js";
|
|
5
|
+
import { _redeployDeserialize, _fetchDCAssessmentDeserialize, _startAssessmentDeserialize, _$deleteDeserialize as _$deleteDeserializeSqlVirtualMachines, _updateDeserialize as _updateDeserializeSqlVirtualMachines, _createOrUpdateDeserialize as _createOrUpdateDeserializeSqlVirtualMachines, } from "./api/sqlVirtualMachines/operations.js";
|
|
6
|
+
import { _$deleteDeserialize as _$deleteDeserializeAvailabilityGroupListeners, _createOrUpdateDeserialize as _createOrUpdateDeserializeAvailabilityGroupListeners, } from "./api/availabilityGroupListeners/operations.js";
|
|
7
|
+
import { getLongRunningPoller } from "./static-helpers/pollingHelpers.js";
|
|
8
|
+
import { deserializeState } from "@azure/core-lro";
|
|
9
|
+
/**
|
|
10
|
+
* Creates a poller from the serialized state of another poller. This can be
|
|
11
|
+
* useful when you want to create pollers on a different host or a poller
|
|
12
|
+
* needs to be constructed after the original one is not in scope.
|
|
13
|
+
*/
|
|
14
|
+
export function restorePoller(client, serializedState, sourceOperation, options) {
|
|
15
|
+
const pollerConfig = deserializeState(serializedState).config;
|
|
16
|
+
const { initialRequestUrl, requestMethod, metadata } = pollerConfig;
|
|
17
|
+
if (!initialRequestUrl || !requestMethod) {
|
|
18
|
+
throw new Error(`Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`);
|
|
19
|
+
}
|
|
20
|
+
const resourceLocationConfig = metadata?.["resourceLocationConfig"];
|
|
21
|
+
const { deserializer, expectedStatuses = [] } = getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};
|
|
22
|
+
const deserializeHelper = options?.processResponseBody ?? deserializer;
|
|
23
|
+
if (!deserializeHelper) {
|
|
24
|
+
throw new Error(`Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`);
|
|
25
|
+
}
|
|
26
|
+
const apiVersion = getApiVersionFromUrl(initialRequestUrl);
|
|
27
|
+
return getLongRunningPoller(client["_client"] ?? client, deserializeHelper, expectedStatuses, {
|
|
28
|
+
updateIntervalInMs: options?.updateIntervalInMs,
|
|
29
|
+
abortSignal: options?.abortSignal,
|
|
30
|
+
resourceLocationConfig,
|
|
31
|
+
restoreFrom: serializedState,
|
|
32
|
+
initialRequestUrl,
|
|
33
|
+
apiVersion,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
const deserializeMap = {
|
|
37
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/troubleshoot": { deserializer: _troubleshootDeserialize, expectedStatuses: ["200", "202", "201"] },
|
|
38
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}": { deserializer: _$deleteDeserialize, expectedStatuses: ["200", "202", "204"] },
|
|
39
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}": { deserializer: _updateDeserialize, expectedStatuses: ["200", "201", "202"] },
|
|
40
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}": { deserializer: _createOrUpdateDeserialize, expectedStatuses: ["200", "201", "202"] },
|
|
41
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/redeploy": { deserializer: _redeployDeserialize, expectedStatuses: ["202", "200", "201"] },
|
|
42
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/fetchDCAssessment": { deserializer: _fetchDCAssessmentDeserialize, expectedStatuses: ["202", "200", "201"] },
|
|
43
|
+
"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/startAssessment": { deserializer: _startAssessmentDeserialize, expectedStatuses: ["202", "200", "201"] },
|
|
44
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}": {
|
|
45
|
+
deserializer: _$deleteDeserializeSqlVirtualMachines,
|
|
46
|
+
expectedStatuses: ["200", "202", "204"],
|
|
47
|
+
},
|
|
48
|
+
"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}": { deserializer: _updateDeserializeSqlVirtualMachines, expectedStatuses: ["200", "201", "202"] },
|
|
49
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}": {
|
|
50
|
+
deserializer: _createOrUpdateDeserializeSqlVirtualMachines,
|
|
51
|
+
expectedStatuses: ["200", "201", "202"],
|
|
52
|
+
},
|
|
53
|
+
"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}": {
|
|
54
|
+
deserializer: _$deleteDeserializeAvailabilityGroupListeners,
|
|
55
|
+
expectedStatuses: ["200", "202", "204"],
|
|
56
|
+
},
|
|
57
|
+
"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}": {
|
|
58
|
+
deserializer: _createOrUpdateDeserializeAvailabilityGroupListeners,
|
|
59
|
+
expectedStatuses: ["200", "201", "202"],
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
function getDeserializationHelper(urlStr, method) {
|
|
63
|
+
const path = new URL(urlStr).pathname;
|
|
64
|
+
const pathParts = path.split("/");
|
|
65
|
+
// Traverse list to match the longest candidate
|
|
66
|
+
// matchedLen: the length of candidate path
|
|
67
|
+
// matchedValue: the matched status code array
|
|
68
|
+
let matchedLen = -1, matchedValue;
|
|
69
|
+
// Iterate the responseMap to find a match
|
|
70
|
+
for (const [key, value] of Object.entries(deserializeMap)) {
|
|
71
|
+
// Extracting the path from the map key which is in format
|
|
72
|
+
// GET /path/foo
|
|
73
|
+
if (!key.startsWith(method)) {
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
const candidatePath = getPathFromMapKey(key);
|
|
77
|
+
// Get each part of the url path
|
|
78
|
+
const candidateParts = candidatePath.split("/");
|
|
79
|
+
// track if we have found a match to return the values found.
|
|
80
|
+
let found = true;
|
|
81
|
+
for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {
|
|
82
|
+
if (candidateParts[i]?.startsWith("{") && candidateParts[i]?.indexOf("}") !== -1) {
|
|
83
|
+
const start = candidateParts[i].indexOf("}") + 1, end = candidateParts[i]?.length;
|
|
84
|
+
// If the current part of the candidate is a "template" part
|
|
85
|
+
// Try to use the suffix of pattern to match the path
|
|
86
|
+
// {guid} ==> $
|
|
87
|
+
// {guid}:export ==> :export$
|
|
88
|
+
const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(pathParts[j] || "");
|
|
89
|
+
if (!isMatched) {
|
|
90
|
+
found = false;
|
|
91
|
+
break;
|
|
92
|
+
}
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
95
|
+
// If the candidate part is not a template and
|
|
96
|
+
// the parts don't match mark the candidate as not found
|
|
97
|
+
// to move on with the next candidate path.
|
|
98
|
+
if (candidateParts[i] !== pathParts[j]) {
|
|
99
|
+
found = false;
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
// We finished evaluating the current candidate parts
|
|
104
|
+
// Update the matched value if and only if we found the longer pattern
|
|
105
|
+
if (found && candidatePath.length > matchedLen) {
|
|
106
|
+
matchedLen = candidatePath.length;
|
|
107
|
+
matchedValue = value;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return matchedValue;
|
|
111
|
+
}
|
|
112
|
+
function getPathFromMapKey(mapKey) {
|
|
113
|
+
const pathStart = mapKey.indexOf("/");
|
|
114
|
+
return mapKey.slice(pathStart);
|
|
115
|
+
}
|
|
116
|
+
function getApiVersionFromUrl(urlStr) {
|
|
117
|
+
const url = new URL(urlStr);
|
|
118
|
+
return url.searchParams.get("api-version") ?? undefined;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=restorePollerHelpers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"restorePollerHelpers.js","sourceRoot":"","sources":["../../src/restorePollerHelpers.ts"],"names":[],"mappings":"AAAA,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AAG,UAAU,EAAE,CAAC;YAC/C,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC;YAClC,YAAY,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO,YAAY,CAAC;AACtB,CAAC;AAED,SAAS,iBAAiB,CAAC,MAAc;IACvC,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACtC,OAAO,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACjC,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAc;IAC1C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC;AAC1D,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { SqlVirtualMachineManagementClient } from \"./sqlVirtualMachineManagementClient.js\";\nimport { _troubleshootDeserialize } from \"./api/sqlVirtualMachineTroubleshoot/operations.js\";\nimport {\n _$deleteDeserialize,\n _updateDeserialize,\n _createOrUpdateDeserialize,\n} from \"./api/sqlVirtualMachineGroups/operations.js\";\nimport {\n _redeployDeserialize,\n _fetchDCAssessmentDeserialize,\n _startAssessmentDeserialize,\n _$deleteDeserialize as _$deleteDeserializeSqlVirtualMachines,\n _updateDeserialize as _updateDeserializeSqlVirtualMachines,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeSqlVirtualMachines,\n} from \"./api/sqlVirtualMachines/operations.js\";\nimport {\n _$deleteDeserialize as _$deleteDeserializeAvailabilityGroupListeners,\n _createOrUpdateDeserialize as _createOrUpdateDeserializeAvailabilityGroupListeners,\n} from \"./api/availabilityGroupListeners/operations.js\";\nimport { getLongRunningPoller } from \"./static-helpers/pollingHelpers.js\";\nimport type { OperationOptions, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport type { AbortSignalLike } from \"@azure/abort-controller\";\nimport type { PollerLike, OperationState, ResourceLocationConfig } from \"@azure/core-lro\";\nimport { deserializeState } from \"@azure/core-lro\";\n\nexport interface RestorePollerOptions<\n TResult,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n> extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /**\n * The signal which can be used to abort requests.\n */\n abortSignal?: AbortSignalLike;\n /** Deserialization function for raw response body */\n processResponseBody?: (result: TResponse) => Promise<TResult>;\n}\n\n/**\n * Creates a poller from the serialized state of another poller. This can be\n * useful when you want to create pollers on a different host or a poller\n * needs to be constructed after the original one is not in scope.\n */\nexport function restorePoller<TResponse extends PathUncheckedResponse, TResult>(\n client: SqlVirtualMachineManagementClient,\n serializedState: string,\n sourceOperation: (...args: any[]) => PollerLike<OperationState<TResult>, TResult>,\n options?: RestorePollerOptions<TResult>,\n): PollerLike<OperationState<TResult>, TResult> {\n const pollerConfig = deserializeState(serializedState).config;\n const { initialRequestUrl, requestMethod, metadata } = pollerConfig;\n if (!initialRequestUrl || !requestMethod) {\n throw new Error(\n `Invalid serialized state: ${serializedState} for sourceOperation ${sourceOperation?.name}`,\n );\n }\n const resourceLocationConfig = metadata?.[\"resourceLocationConfig\"] as\n | ResourceLocationConfig\n | undefined;\n const { deserializer, expectedStatuses = [] } =\n getDeserializationHelper(initialRequestUrl, requestMethod) ?? {};\n const deserializeHelper = options?.processResponseBody ?? deserializer;\n if (!deserializeHelper) {\n throw new Error(\n `Please ensure the operation is in this client! We can't find its deserializeHelper for ${sourceOperation?.name}.`,\n );\n }\n const apiVersion = getApiVersionFromUrl(initialRequestUrl);\n return getLongRunningPoller(\n (client as any)[\"_client\"] ?? client,\n deserializeHelper as (result: TResponse) => Promise<TResult>,\n expectedStatuses,\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n resourceLocationConfig,\n restoreFrom: serializedState,\n initialRequestUrl,\n apiVersion,\n },\n );\n}\n\ninterface DeserializationHelper {\n deserializer: (result: PathUncheckedResponse) => Promise<any>;\n expectedStatuses: string[];\n}\n\nconst deserializeMap: Record<string, DeserializationHelper> = {\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/troubleshoot\":\n { deserializer: _troubleshootDeserialize, expectedStatuses: [\"200\", \"202\", \"201\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}\":\n { deserializer: _$deleteDeserialize, expectedStatuses: [\"200\", \"202\", \"204\"] },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}\":\n { deserializer: _updateDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}\":\n { deserializer: _createOrUpdateDeserialize, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/redeploy\":\n { deserializer: _redeployDeserialize, expectedStatuses: [\"202\", \"200\", \"201\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/fetchDCAssessment\":\n { deserializer: _fetchDCAssessmentDeserialize, expectedStatuses: [\"202\", \"200\", \"201\"] },\n \"POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}/startAssessment\":\n { deserializer: _startAssessmentDeserialize, expectedStatuses: [\"202\", \"200\", \"201\"] },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}\":\n {\n deserializer: _$deleteDeserializeSqlVirtualMachines,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}\":\n { deserializer: _updateDeserializeSqlVirtualMachines, expectedStatuses: [\"200\", \"201\", \"202\"] },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/{sqlVirtualMachineName}\":\n {\n deserializer: _createOrUpdateDeserializeSqlVirtualMachines,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n \"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}\":\n {\n deserializer: _$deleteDeserializeAvailabilityGroupListeners,\n expectedStatuses: [\"200\", \"202\", \"204\"],\n },\n \"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}\":\n {\n deserializer: _createOrUpdateDeserializeAvailabilityGroupListeners,\n expectedStatuses: [\"200\", \"201\", \"202\"],\n },\n};\n\nfunction getDeserializationHelper(\n urlStr: string,\n method: string,\n): DeserializationHelper | undefined {\n const path = new URL(urlStr).pathname;\n const pathParts = path.split(\"/\");\n\n // Traverse list to match the longest candidate\n // matchedLen: the length of candidate path\n // matchedValue: the matched status code array\n let matchedLen = -1,\n matchedValue: DeserializationHelper | undefined;\n\n // Iterate the responseMap to find a match\n for (const [key, value] of Object.entries(deserializeMap)) {\n // Extracting the path from the map key which is in format\n // GET /path/foo\n if (!key.startsWith(method)) {\n continue;\n }\n const candidatePath = getPathFromMapKey(key);\n // Get each part of the url path\n const candidateParts = candidatePath.split(\"/\");\n\n // track if we have found a match to return the values found.\n let found = true;\n for (let i = candidateParts.length - 1, j = pathParts.length - 1; i >= 1 && j >= 1; i--, j--) {\n if (candidateParts[i]?.startsWith(\"{\") && candidateParts[i]?.indexOf(\"}\") !== -1) {\n const start = candidateParts[i]!.indexOf(\"}\") + 1,\n end = candidateParts[i]?.length;\n // If the current part of the candidate is a \"template\" part\n // Try to use the suffix of pattern to match the path\n // {guid} ==> $\n // {guid}:export ==> :export$\n const isMatched = new RegExp(`${candidateParts[i]?.slice(start, end)}`).test(\n pathParts[j] || \"\",\n );\n\n if (!isMatched) {\n found = false;\n break;\n }\n continue;\n }\n\n // If the candidate part is not a template and\n // the parts don't match mark the candidate as not found\n // to move on with the next candidate path.\n if (candidateParts[i] !== pathParts[j]) {\n found = false;\n break;\n }\n }\n\n // We finished evaluating the current candidate parts\n // Update the matched value if and only if we found the longer pattern\n if (found && candidatePath.length > matchedLen) {\n matchedLen = candidatePath.length;\n matchedValue = value;\n }\n }\n\n return matchedValue;\n}\n\nfunction getPathFromMapKey(mapKey: string): string {\n const pathStart = mapKey.indexOf(\"/\");\n return mapKey.slice(pathStart);\n}\n\nfunction getApiVersionFromUrl(urlStr: string): string | undefined {\n const url = new URL(urlStr);\n return url.searchParams.get(\"api-version\") ?? undefined;\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SqlVirtualMachineManagementClientOptionalParams } from "./api/index.js";
|
|
2
|
+
import type { AvailabilityGroupListenersOperations } from "./classic/availabilityGroupListeners/index.js";
|
|
3
|
+
import type { OperationsOperations } from "./classic/operations/index.js";
|
|
4
|
+
import type { SqlVirtualMachineGroupsOperations } from "./classic/sqlVirtualMachineGroups/index.js";
|
|
5
|
+
import type { SqlVirtualMachineTroubleshootOperations } from "./classic/sqlVirtualMachineTroubleshoot/index.js";
|
|
6
|
+
import type { SqlVirtualMachinesOperations } from "./classic/sqlVirtualMachines/index.js";
|
|
7
|
+
import type { TokenCredential } from "@azure/core-auth";
|
|
8
|
+
import type { Pipeline } from "@azure/core-rest-pipeline";
|
|
9
|
+
export type { SqlVirtualMachineManagementClientOptionalParams } from "./api/sqlVirtualMachineManagementContext.js";
|
|
10
|
+
export declare class SqlVirtualMachineManagementClient {
|
|
11
|
+
private _client;
|
|
12
|
+
/** The pipeline used by this client to make requests */
|
|
13
|
+
readonly pipeline: Pipeline;
|
|
14
|
+
constructor(credential: TokenCredential, options?: SqlVirtualMachineManagementClientOptionalParams);
|
|
15
|
+
constructor(credential: TokenCredential, subscriptionId: string, options?: SqlVirtualMachineManagementClientOptionalParams);
|
|
16
|
+
/** The operation groups for sqlVirtualMachineTroubleshoot */
|
|
17
|
+
readonly sqlVirtualMachineTroubleshoot: SqlVirtualMachineTroubleshootOperations;
|
|
18
|
+
/** The operation groups for sqlVirtualMachineGroups */
|
|
19
|
+
readonly sqlVirtualMachineGroups: SqlVirtualMachineGroupsOperations;
|
|
20
|
+
/** The operation groups for sqlVirtualMachines */
|
|
21
|
+
readonly sqlVirtualMachines: SqlVirtualMachinesOperations;
|
|
22
|
+
/** The operation groups for availabilityGroupListeners */
|
|
23
|
+
readonly availabilityGroupListeners: AvailabilityGroupListenersOperations;
|
|
24
|
+
/** The operation groups for operations */
|
|
25
|
+
readonly operations: OperationsOperations;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=sqlVirtualMachineManagementClient.d.ts.map
|