@azure/arm-sqlvirtualmachine 5.0.0-beta.8 → 5.0.0
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 +30 -24
- 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-esm/src/models/index.d.ts → dist/browser/models/models.d.ts} +881 -924
- 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 +193 -91
- package/CHANGELOG.md +0 -11
- package/dist/index.js +0 -4367
- 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/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js +0 -98
- package/dist-esm/samples-dev/availabilityGroupListenersCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js +0 -40
- package/dist-esm/samples-dev/availabilityGroupListenersDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js +0 -40
- package/dist-esm/samples-dev/availabilityGroupListenersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js +0 -60
- package/dist-esm/samples-dev/availabilityGroupListenersListByGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -58
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js +0 -55
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js +0 -39
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js +0 -59
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js +0 -58
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsListSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js +0 -40
- package/dist-esm/samples-dev/sqlVirtualMachineGroupsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js +0 -45
- package/dist-esm/samples-dev/sqlVirtualMachineTroubleshootSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js +0 -290
- package/dist-esm/samples-dev/sqlVirtualMachinesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js +0 -39
- package/dist-esm/samples-dev/sqlVirtualMachinesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js +0 -39
- package/dist-esm/samples-dev/sqlVirtualMachinesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js +0 -59
- package/dist-esm/samples-dev/sqlVirtualMachinesListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js +0 -60
- package/dist-esm/samples-dev/sqlVirtualMachinesListBySqlVMGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js +0 -58
- package/dist-esm/samples-dev/sqlVirtualMachinesListSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js +0 -39
- package/dist-esm/samples-dev/sqlVirtualMachinesRedeploySample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js +0 -39
- package/dist-esm/samples-dev/sqlVirtualMachinesStartAssessmentSample.js.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js +0 -40
- package/dist-esm/samples-dev/sqlVirtualMachinesUpdateSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.d.ts +0 -11
- package/dist-esm/src/lroImpl.d.ts.map +0 -1
- package/dist-esm/src/lroImpl.js +0 -21
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -226
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -53
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -1705
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -19
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -152
- 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 -387
- package/dist-esm/src/operations/availabilityGroupListeners.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -6
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -13
- 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 -138
- 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 -576
- package/dist-esm/src/operations/sqlVirtualMachineGroups.js.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts +0 -32
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js +0 -118
- package/dist-esm/src/operations/sqlVirtualMachineTroubleshoot.js.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts +0 -176
- package/dist-esm/src/operations/sqlVirtualMachines.d.ts.map +0 -1
- package/dist-esm/src/operations/sqlVirtualMachines.js +0 -858
- 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 -6
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -13
- 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/sqlVirtualMachineTroubleshoot.d.ts +0 -24
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js +0 -9
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/sqlVirtualMachines.d.ts +0 -119
- 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/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts +0 -24
- package/dist-esm/src/sqlVirtualMachineManagementClient.d.ts.map +0 -1
- package/dist-esm/src/sqlVirtualMachineManagementClient.js +0 -104
- package/dist-esm/src/sqlVirtualMachineManagementClient.js.map +0 -1
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js +0 -78
- package/dist-esm/test/sqlvirtualmachine_operations_test.spec.js.map +0 -1
- package/review/arm-sqlvirtualmachine.api.md +0 -949
- package/rollup.config.js +0 -122
- package/src/index.ts +0 -13
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1470
- package/src/models/mappers.ts +0 -1805
- package/src/models/parameters.ts +0 -183
- package/src/operations/availabilityGroupListeners.ts +0 -527
- package/src/operations/index.ts +0 -13
- package/src/operations/operations.ts +0 -149
- package/src/operations/sqlVirtualMachineGroups.ts +0 -737
- package/src/operations/sqlVirtualMachineTroubleshoot.ts +0 -172
- package/src/operations/sqlVirtualMachines.ts +0 -1115
- package/src/operationsInterfaces/availabilityGroupListeners.ts +0 -115
- package/src/operationsInterfaces/index.ts +0 -13
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/sqlVirtualMachineGroups.ts +0 -147
- package/src/operationsInterfaces/sqlVirtualMachineTroubleshoot.ts +0 -51
- package/src/operationsInterfaces/sqlVirtualMachines.ts +0 -210
- package/src/pagingHelper.ts +0 -39
- package/src/sqlVirtualMachineManagementClient.ts +0 -162
- package/tsconfig.json +0 -33
- package/types/arm-sqlvirtualmachine.d.ts +0 -1761
package/src/models/parameters.ts
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
OperationParameter,
|
|
11
|
-
OperationURLParameter,
|
|
12
|
-
OperationQueryParameter
|
|
13
|
-
} from "@azure/core-client";
|
|
14
|
-
import {
|
|
15
|
-
AvailabilityGroupListener as AvailabilityGroupListenerMapper,
|
|
16
|
-
SqlVirtualMachineGroup as SqlVirtualMachineGroupMapper,
|
|
17
|
-
SqlVirtualMachineGroupUpdate as SqlVirtualMachineGroupUpdateMapper,
|
|
18
|
-
SqlVirtualMachine as SqlVirtualMachineMapper,
|
|
19
|
-
SqlVirtualMachineUpdate as SqlVirtualMachineUpdateMapper,
|
|
20
|
-
SqlVmTroubleshooting as SqlVmTroubleshootingMapper
|
|
21
|
-
} from "../models/mappers";
|
|
22
|
-
|
|
23
|
-
export const accept: OperationParameter = {
|
|
24
|
-
parameterPath: "accept",
|
|
25
|
-
mapper: {
|
|
26
|
-
defaultValue: "application/json",
|
|
27
|
-
isConstant: true,
|
|
28
|
-
serializedName: "Accept",
|
|
29
|
-
type: {
|
|
30
|
-
name: "String"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export const $host: OperationURLParameter = {
|
|
36
|
-
parameterPath: "$host",
|
|
37
|
-
mapper: {
|
|
38
|
-
serializedName: "$host",
|
|
39
|
-
required: true,
|
|
40
|
-
type: {
|
|
41
|
-
name: "String"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
skipEncoding: true
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export const resourceGroupName: OperationURLParameter = {
|
|
48
|
-
parameterPath: "resourceGroupName",
|
|
49
|
-
mapper: {
|
|
50
|
-
serializedName: "resourceGroupName",
|
|
51
|
-
required: true,
|
|
52
|
-
type: {
|
|
53
|
-
name: "String"
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export const sqlVirtualMachineGroupName: OperationURLParameter = {
|
|
59
|
-
parameterPath: "sqlVirtualMachineGroupName",
|
|
60
|
-
mapper: {
|
|
61
|
-
serializedName: "sqlVirtualMachineGroupName",
|
|
62
|
-
required: true,
|
|
63
|
-
type: {
|
|
64
|
-
name: "String"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
export const availabilityGroupListenerName: OperationURLParameter = {
|
|
70
|
-
parameterPath: "availabilityGroupListenerName",
|
|
71
|
-
mapper: {
|
|
72
|
-
serializedName: "availabilityGroupListenerName",
|
|
73
|
-
required: true,
|
|
74
|
-
type: {
|
|
75
|
-
name: "String"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export const expand: OperationQueryParameter = {
|
|
81
|
-
parameterPath: ["options", "expand"],
|
|
82
|
-
mapper: {
|
|
83
|
-
serializedName: "$expand",
|
|
84
|
-
type: {
|
|
85
|
-
name: "String"
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export const subscriptionId: OperationURLParameter = {
|
|
91
|
-
parameterPath: "subscriptionId",
|
|
92
|
-
mapper: {
|
|
93
|
-
serializedName: "subscriptionId",
|
|
94
|
-
required: true,
|
|
95
|
-
type: {
|
|
96
|
-
name: "String"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
export const apiVersion: OperationQueryParameter = {
|
|
102
|
-
parameterPath: "apiVersion",
|
|
103
|
-
mapper: {
|
|
104
|
-
defaultValue: "2022-08-01-preview",
|
|
105
|
-
isConstant: true,
|
|
106
|
-
serializedName: "api-version",
|
|
107
|
-
type: {
|
|
108
|
-
name: "String"
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
export const contentType: OperationParameter = {
|
|
114
|
-
parameterPath: ["options", "contentType"],
|
|
115
|
-
mapper: {
|
|
116
|
-
defaultValue: "application/json",
|
|
117
|
-
isConstant: true,
|
|
118
|
-
serializedName: "Content-Type",
|
|
119
|
-
type: {
|
|
120
|
-
name: "String"
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
export const parameters: OperationParameter = {
|
|
126
|
-
parameterPath: "parameters",
|
|
127
|
-
mapper: AvailabilityGroupListenerMapper
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
export const nextLink: OperationURLParameter = {
|
|
131
|
-
parameterPath: "nextLink",
|
|
132
|
-
mapper: {
|
|
133
|
-
serializedName: "nextLink",
|
|
134
|
-
required: true,
|
|
135
|
-
type: {
|
|
136
|
-
name: "String"
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
|
-
skipEncoding: true
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export const parameters1: OperationParameter = {
|
|
143
|
-
parameterPath: "parameters",
|
|
144
|
-
mapper: SqlVirtualMachineGroupMapper
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
export const parameters2: OperationParameter = {
|
|
148
|
-
parameterPath: "parameters",
|
|
149
|
-
mapper: SqlVirtualMachineGroupUpdateMapper
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
export const sqlVirtualMachineName: OperationURLParameter = {
|
|
153
|
-
parameterPath: "sqlVirtualMachineName",
|
|
154
|
-
mapper: {
|
|
155
|
-
constraints: {
|
|
156
|
-
Pattern: new RegExp(
|
|
157
|
-
"^((?!_)[^\\\\/\"'\\[\\]:|<>+=;,?*@&]{1,64}(?<![.-]))$"
|
|
158
|
-
),
|
|
159
|
-
MaxLength: 64,
|
|
160
|
-
MinLength: 1
|
|
161
|
-
},
|
|
162
|
-
serializedName: "sqlVirtualMachineName",
|
|
163
|
-
required: true,
|
|
164
|
-
type: {
|
|
165
|
-
name: "String"
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
export const parameters3: OperationParameter = {
|
|
171
|
-
parameterPath: "parameters",
|
|
172
|
-
mapper: SqlVirtualMachineMapper
|
|
173
|
-
};
|
|
174
|
-
|
|
175
|
-
export const parameters4: OperationParameter = {
|
|
176
|
-
parameterPath: "parameters",
|
|
177
|
-
mapper: SqlVirtualMachineUpdateMapper
|
|
178
|
-
};
|
|
179
|
-
|
|
180
|
-
export const parameters5: OperationParameter = {
|
|
181
|
-
parameterPath: "parameters",
|
|
182
|
-
mapper: SqlVmTroubleshootingMapper
|
|
183
|
-
};
|
|
@@ -1,527 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
-
import { AvailabilityGroupListeners } from "../operationsInterfaces";
|
|
12
|
-
import * as coreClient from "@azure/core-client";
|
|
13
|
-
import * as Mappers from "../models/mappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { SqlVirtualMachineManagementClient } from "../sqlVirtualMachineManagementClient";
|
|
16
|
-
import {
|
|
17
|
-
SimplePollerLike,
|
|
18
|
-
OperationState,
|
|
19
|
-
createHttpPoller
|
|
20
|
-
} from "@azure/core-lro";
|
|
21
|
-
import { createLroSpec } from "../lroImpl";
|
|
22
|
-
import {
|
|
23
|
-
AvailabilityGroupListener,
|
|
24
|
-
AvailabilityGroupListenersListByGroupNextOptionalParams,
|
|
25
|
-
AvailabilityGroupListenersListByGroupOptionalParams,
|
|
26
|
-
AvailabilityGroupListenersListByGroupResponse,
|
|
27
|
-
AvailabilityGroupListenersGetOptionalParams,
|
|
28
|
-
AvailabilityGroupListenersGetResponse,
|
|
29
|
-
AvailabilityGroupListenersCreateOrUpdateOptionalParams,
|
|
30
|
-
AvailabilityGroupListenersCreateOrUpdateResponse,
|
|
31
|
-
AvailabilityGroupListenersDeleteOptionalParams,
|
|
32
|
-
AvailabilityGroupListenersListByGroupNextResponse
|
|
33
|
-
} from "../models";
|
|
34
|
-
|
|
35
|
-
/// <reference lib="esnext.asynciterable" />
|
|
36
|
-
/** Class containing AvailabilityGroupListeners operations. */
|
|
37
|
-
export class AvailabilityGroupListenersImpl
|
|
38
|
-
implements AvailabilityGroupListeners {
|
|
39
|
-
private readonly client: SqlVirtualMachineManagementClient;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Initialize a new instance of the class AvailabilityGroupListeners class.
|
|
43
|
-
* @param client Reference to the service client
|
|
44
|
-
*/
|
|
45
|
-
constructor(client: SqlVirtualMachineManagementClient) {
|
|
46
|
-
this.client = client;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Lists all availability group listeners in a SQL virtual machine group.
|
|
51
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
52
|
-
* value from the Azure Resource Manager API or the portal.
|
|
53
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
54
|
-
* @param options The options parameters.
|
|
55
|
-
*/
|
|
56
|
-
public listByGroup(
|
|
57
|
-
resourceGroupName: string,
|
|
58
|
-
sqlVirtualMachineGroupName: string,
|
|
59
|
-
options?: AvailabilityGroupListenersListByGroupOptionalParams
|
|
60
|
-
): PagedAsyncIterableIterator<AvailabilityGroupListener> {
|
|
61
|
-
const iter = this.listByGroupPagingAll(
|
|
62
|
-
resourceGroupName,
|
|
63
|
-
sqlVirtualMachineGroupName,
|
|
64
|
-
options
|
|
65
|
-
);
|
|
66
|
-
return {
|
|
67
|
-
next() {
|
|
68
|
-
return iter.next();
|
|
69
|
-
},
|
|
70
|
-
[Symbol.asyncIterator]() {
|
|
71
|
-
return this;
|
|
72
|
-
},
|
|
73
|
-
byPage: (settings?: PageSettings) => {
|
|
74
|
-
if (settings?.maxPageSize) {
|
|
75
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
76
|
-
}
|
|
77
|
-
return this.listByGroupPagingPage(
|
|
78
|
-
resourceGroupName,
|
|
79
|
-
sqlVirtualMachineGroupName,
|
|
80
|
-
options,
|
|
81
|
-
settings
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private async *listByGroupPagingPage(
|
|
88
|
-
resourceGroupName: string,
|
|
89
|
-
sqlVirtualMachineGroupName: string,
|
|
90
|
-
options?: AvailabilityGroupListenersListByGroupOptionalParams,
|
|
91
|
-
settings?: PageSettings
|
|
92
|
-
): AsyncIterableIterator<AvailabilityGroupListener[]> {
|
|
93
|
-
let result: AvailabilityGroupListenersListByGroupResponse;
|
|
94
|
-
let continuationToken = settings?.continuationToken;
|
|
95
|
-
if (!continuationToken) {
|
|
96
|
-
result = await this._listByGroup(
|
|
97
|
-
resourceGroupName,
|
|
98
|
-
sqlVirtualMachineGroupName,
|
|
99
|
-
options
|
|
100
|
-
);
|
|
101
|
-
let page = result.value || [];
|
|
102
|
-
continuationToken = result.nextLink;
|
|
103
|
-
setContinuationToken(page, continuationToken);
|
|
104
|
-
yield page;
|
|
105
|
-
}
|
|
106
|
-
while (continuationToken) {
|
|
107
|
-
result = await this._listByGroupNext(
|
|
108
|
-
resourceGroupName,
|
|
109
|
-
sqlVirtualMachineGroupName,
|
|
110
|
-
continuationToken,
|
|
111
|
-
options
|
|
112
|
-
);
|
|
113
|
-
continuationToken = result.nextLink;
|
|
114
|
-
let page = result.value || [];
|
|
115
|
-
setContinuationToken(page, continuationToken);
|
|
116
|
-
yield page;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
private async *listByGroupPagingAll(
|
|
121
|
-
resourceGroupName: string,
|
|
122
|
-
sqlVirtualMachineGroupName: string,
|
|
123
|
-
options?: AvailabilityGroupListenersListByGroupOptionalParams
|
|
124
|
-
): AsyncIterableIterator<AvailabilityGroupListener> {
|
|
125
|
-
for await (const page of this.listByGroupPagingPage(
|
|
126
|
-
resourceGroupName,
|
|
127
|
-
sqlVirtualMachineGroupName,
|
|
128
|
-
options
|
|
129
|
-
)) {
|
|
130
|
-
yield* page;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Gets an availability group listener.
|
|
136
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
137
|
-
* value from the Azure Resource Manager API or the portal.
|
|
138
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
139
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
140
|
-
* @param options The options parameters.
|
|
141
|
-
*/
|
|
142
|
-
get(
|
|
143
|
-
resourceGroupName: string,
|
|
144
|
-
sqlVirtualMachineGroupName: string,
|
|
145
|
-
availabilityGroupListenerName: string,
|
|
146
|
-
options?: AvailabilityGroupListenersGetOptionalParams
|
|
147
|
-
): Promise<AvailabilityGroupListenersGetResponse> {
|
|
148
|
-
return this.client.sendOperationRequest(
|
|
149
|
-
{
|
|
150
|
-
resourceGroupName,
|
|
151
|
-
sqlVirtualMachineGroupName,
|
|
152
|
-
availabilityGroupListenerName,
|
|
153
|
-
options
|
|
154
|
-
},
|
|
155
|
-
getOperationSpec
|
|
156
|
-
);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Creates or updates an availability group listener.
|
|
161
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
162
|
-
* value from the Azure Resource Manager API or the portal.
|
|
163
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
164
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
165
|
-
* @param parameters The availability group listener.
|
|
166
|
-
* @param options The options parameters.
|
|
167
|
-
*/
|
|
168
|
-
async beginCreateOrUpdate(
|
|
169
|
-
resourceGroupName: string,
|
|
170
|
-
sqlVirtualMachineGroupName: string,
|
|
171
|
-
availabilityGroupListenerName: string,
|
|
172
|
-
parameters: AvailabilityGroupListener,
|
|
173
|
-
options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams
|
|
174
|
-
): Promise<
|
|
175
|
-
SimplePollerLike<
|
|
176
|
-
OperationState<AvailabilityGroupListenersCreateOrUpdateResponse>,
|
|
177
|
-
AvailabilityGroupListenersCreateOrUpdateResponse
|
|
178
|
-
>
|
|
179
|
-
> {
|
|
180
|
-
const directSendOperation = async (
|
|
181
|
-
args: coreClient.OperationArguments,
|
|
182
|
-
spec: coreClient.OperationSpec
|
|
183
|
-
): Promise<AvailabilityGroupListenersCreateOrUpdateResponse> => {
|
|
184
|
-
return this.client.sendOperationRequest(args, spec);
|
|
185
|
-
};
|
|
186
|
-
const sendOperationFn = async (
|
|
187
|
-
args: coreClient.OperationArguments,
|
|
188
|
-
spec: coreClient.OperationSpec
|
|
189
|
-
) => {
|
|
190
|
-
let currentRawResponse:
|
|
191
|
-
| coreClient.FullOperationResponse
|
|
192
|
-
| undefined = undefined;
|
|
193
|
-
const providedCallback = args.options?.onResponse;
|
|
194
|
-
const callback: coreClient.RawResponseCallback = (
|
|
195
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
196
|
-
flatResponse: unknown
|
|
197
|
-
) => {
|
|
198
|
-
currentRawResponse = rawResponse;
|
|
199
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
200
|
-
};
|
|
201
|
-
const updatedArgs = {
|
|
202
|
-
...args,
|
|
203
|
-
options: {
|
|
204
|
-
...args.options,
|
|
205
|
-
onResponse: callback
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
209
|
-
return {
|
|
210
|
-
flatResponse,
|
|
211
|
-
rawResponse: {
|
|
212
|
-
statusCode: currentRawResponse!.status,
|
|
213
|
-
body: currentRawResponse!.parsedBody,
|
|
214
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
const lro = createLroSpec({
|
|
220
|
-
sendOperationFn,
|
|
221
|
-
args: {
|
|
222
|
-
resourceGroupName,
|
|
223
|
-
sqlVirtualMachineGroupName,
|
|
224
|
-
availabilityGroupListenerName,
|
|
225
|
-
parameters,
|
|
226
|
-
options
|
|
227
|
-
},
|
|
228
|
-
spec: createOrUpdateOperationSpec
|
|
229
|
-
});
|
|
230
|
-
const poller = await createHttpPoller<
|
|
231
|
-
AvailabilityGroupListenersCreateOrUpdateResponse,
|
|
232
|
-
OperationState<AvailabilityGroupListenersCreateOrUpdateResponse>
|
|
233
|
-
>(lro, {
|
|
234
|
-
restoreFrom: options?.resumeFrom,
|
|
235
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
236
|
-
resourceLocationConfig: "azure-async-operation"
|
|
237
|
-
});
|
|
238
|
-
await poller.poll();
|
|
239
|
-
return poller;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Creates or updates an availability group listener.
|
|
244
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
245
|
-
* value from the Azure Resource Manager API or the portal.
|
|
246
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
247
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
248
|
-
* @param parameters The availability group listener.
|
|
249
|
-
* @param options The options parameters.
|
|
250
|
-
*/
|
|
251
|
-
async beginCreateOrUpdateAndWait(
|
|
252
|
-
resourceGroupName: string,
|
|
253
|
-
sqlVirtualMachineGroupName: string,
|
|
254
|
-
availabilityGroupListenerName: string,
|
|
255
|
-
parameters: AvailabilityGroupListener,
|
|
256
|
-
options?: AvailabilityGroupListenersCreateOrUpdateOptionalParams
|
|
257
|
-
): Promise<AvailabilityGroupListenersCreateOrUpdateResponse> {
|
|
258
|
-
const poller = await this.beginCreateOrUpdate(
|
|
259
|
-
resourceGroupName,
|
|
260
|
-
sqlVirtualMachineGroupName,
|
|
261
|
-
availabilityGroupListenerName,
|
|
262
|
-
parameters,
|
|
263
|
-
options
|
|
264
|
-
);
|
|
265
|
-
return poller.pollUntilDone();
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Deletes an availability group listener.
|
|
270
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
271
|
-
* value from the Azure Resource Manager API or the portal.
|
|
272
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
273
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
274
|
-
* @param options The options parameters.
|
|
275
|
-
*/
|
|
276
|
-
async beginDelete(
|
|
277
|
-
resourceGroupName: string,
|
|
278
|
-
sqlVirtualMachineGroupName: string,
|
|
279
|
-
availabilityGroupListenerName: string,
|
|
280
|
-
options?: AvailabilityGroupListenersDeleteOptionalParams
|
|
281
|
-
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
282
|
-
const directSendOperation = async (
|
|
283
|
-
args: coreClient.OperationArguments,
|
|
284
|
-
spec: coreClient.OperationSpec
|
|
285
|
-
): Promise<void> => {
|
|
286
|
-
return this.client.sendOperationRequest(args, spec);
|
|
287
|
-
};
|
|
288
|
-
const sendOperationFn = async (
|
|
289
|
-
args: coreClient.OperationArguments,
|
|
290
|
-
spec: coreClient.OperationSpec
|
|
291
|
-
) => {
|
|
292
|
-
let currentRawResponse:
|
|
293
|
-
| coreClient.FullOperationResponse
|
|
294
|
-
| undefined = undefined;
|
|
295
|
-
const providedCallback = args.options?.onResponse;
|
|
296
|
-
const callback: coreClient.RawResponseCallback = (
|
|
297
|
-
rawResponse: coreClient.FullOperationResponse,
|
|
298
|
-
flatResponse: unknown
|
|
299
|
-
) => {
|
|
300
|
-
currentRawResponse = rawResponse;
|
|
301
|
-
providedCallback?.(rawResponse, flatResponse);
|
|
302
|
-
};
|
|
303
|
-
const updatedArgs = {
|
|
304
|
-
...args,
|
|
305
|
-
options: {
|
|
306
|
-
...args.options,
|
|
307
|
-
onResponse: callback
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
311
|
-
return {
|
|
312
|
-
flatResponse,
|
|
313
|
-
rawResponse: {
|
|
314
|
-
statusCode: currentRawResponse!.status,
|
|
315
|
-
body: currentRawResponse!.parsedBody,
|
|
316
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
const lro = createLroSpec({
|
|
322
|
-
sendOperationFn,
|
|
323
|
-
args: {
|
|
324
|
-
resourceGroupName,
|
|
325
|
-
sqlVirtualMachineGroupName,
|
|
326
|
-
availabilityGroupListenerName,
|
|
327
|
-
options
|
|
328
|
-
},
|
|
329
|
-
spec: deleteOperationSpec
|
|
330
|
-
});
|
|
331
|
-
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
332
|
-
restoreFrom: options?.resumeFrom,
|
|
333
|
-
intervalInMs: options?.updateIntervalInMs,
|
|
334
|
-
resourceLocationConfig: "location"
|
|
335
|
-
});
|
|
336
|
-
await poller.poll();
|
|
337
|
-
return poller;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Deletes an availability group listener.
|
|
342
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
343
|
-
* value from the Azure Resource Manager API or the portal.
|
|
344
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
345
|
-
* @param availabilityGroupListenerName Name of the availability group listener.
|
|
346
|
-
* @param options The options parameters.
|
|
347
|
-
*/
|
|
348
|
-
async beginDeleteAndWait(
|
|
349
|
-
resourceGroupName: string,
|
|
350
|
-
sqlVirtualMachineGroupName: string,
|
|
351
|
-
availabilityGroupListenerName: string,
|
|
352
|
-
options?: AvailabilityGroupListenersDeleteOptionalParams
|
|
353
|
-
): Promise<void> {
|
|
354
|
-
const poller = await this.beginDelete(
|
|
355
|
-
resourceGroupName,
|
|
356
|
-
sqlVirtualMachineGroupName,
|
|
357
|
-
availabilityGroupListenerName,
|
|
358
|
-
options
|
|
359
|
-
);
|
|
360
|
-
return poller.pollUntilDone();
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
/**
|
|
364
|
-
* Lists all availability group listeners in a SQL virtual machine group.
|
|
365
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
366
|
-
* value from the Azure Resource Manager API or the portal.
|
|
367
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
368
|
-
* @param options The options parameters.
|
|
369
|
-
*/
|
|
370
|
-
private _listByGroup(
|
|
371
|
-
resourceGroupName: string,
|
|
372
|
-
sqlVirtualMachineGroupName: string,
|
|
373
|
-
options?: AvailabilityGroupListenersListByGroupOptionalParams
|
|
374
|
-
): Promise<AvailabilityGroupListenersListByGroupResponse> {
|
|
375
|
-
return this.client.sendOperationRequest(
|
|
376
|
-
{ resourceGroupName, sqlVirtualMachineGroupName, options },
|
|
377
|
-
listByGroupOperationSpec
|
|
378
|
-
);
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
/**
|
|
382
|
-
* ListByGroupNext
|
|
383
|
-
* @param resourceGroupName Name of the resource group that contains the resource. You can obtain this
|
|
384
|
-
* value from the Azure Resource Manager API or the portal.
|
|
385
|
-
* @param sqlVirtualMachineGroupName Name of the SQL virtual machine group.
|
|
386
|
-
* @param nextLink The nextLink from the previous successful call to the ListByGroup method.
|
|
387
|
-
* @param options The options parameters.
|
|
388
|
-
*/
|
|
389
|
-
private _listByGroupNext(
|
|
390
|
-
resourceGroupName: string,
|
|
391
|
-
sqlVirtualMachineGroupName: string,
|
|
392
|
-
nextLink: string,
|
|
393
|
-
options?: AvailabilityGroupListenersListByGroupNextOptionalParams
|
|
394
|
-
): Promise<AvailabilityGroupListenersListByGroupNextResponse> {
|
|
395
|
-
return this.client.sendOperationRequest(
|
|
396
|
-
{ resourceGroupName, sqlVirtualMachineGroupName, nextLink, options },
|
|
397
|
-
listByGroupNextOperationSpec
|
|
398
|
-
);
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
// Operation Specifications
|
|
402
|
-
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
403
|
-
|
|
404
|
-
const getOperationSpec: coreClient.OperationSpec = {
|
|
405
|
-
path:
|
|
406
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
407
|
-
httpMethod: "GET",
|
|
408
|
-
responses: {
|
|
409
|
-
200: {
|
|
410
|
-
bodyMapper: Mappers.AvailabilityGroupListener
|
|
411
|
-
},
|
|
412
|
-
default: {
|
|
413
|
-
bodyMapper: Mappers.ErrorResponse
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
queryParameters: [Parameters.expand, Parameters.apiVersion],
|
|
417
|
-
urlParameters: [
|
|
418
|
-
Parameters.$host,
|
|
419
|
-
Parameters.resourceGroupName,
|
|
420
|
-
Parameters.sqlVirtualMachineGroupName,
|
|
421
|
-
Parameters.availabilityGroupListenerName,
|
|
422
|
-
Parameters.subscriptionId
|
|
423
|
-
],
|
|
424
|
-
headerParameters: [Parameters.accept],
|
|
425
|
-
serializer
|
|
426
|
-
};
|
|
427
|
-
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
428
|
-
path:
|
|
429
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
430
|
-
httpMethod: "PUT",
|
|
431
|
-
responses: {
|
|
432
|
-
200: {
|
|
433
|
-
bodyMapper: Mappers.AvailabilityGroupListener
|
|
434
|
-
},
|
|
435
|
-
201: {
|
|
436
|
-
bodyMapper: Mappers.AvailabilityGroupListener
|
|
437
|
-
},
|
|
438
|
-
202: {
|
|
439
|
-
bodyMapper: Mappers.AvailabilityGroupListener
|
|
440
|
-
},
|
|
441
|
-
204: {
|
|
442
|
-
bodyMapper: Mappers.AvailabilityGroupListener
|
|
443
|
-
},
|
|
444
|
-
default: {
|
|
445
|
-
bodyMapper: Mappers.ErrorResponse
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
requestBody: Parameters.parameters,
|
|
449
|
-
queryParameters: [Parameters.apiVersion],
|
|
450
|
-
urlParameters: [
|
|
451
|
-
Parameters.$host,
|
|
452
|
-
Parameters.resourceGroupName,
|
|
453
|
-
Parameters.sqlVirtualMachineGroupName,
|
|
454
|
-
Parameters.availabilityGroupListenerName,
|
|
455
|
-
Parameters.subscriptionId
|
|
456
|
-
],
|
|
457
|
-
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
458
|
-
mediaType: "json",
|
|
459
|
-
serializer
|
|
460
|
-
};
|
|
461
|
-
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
462
|
-
path:
|
|
463
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners/{availabilityGroupListenerName}",
|
|
464
|
-
httpMethod: "DELETE",
|
|
465
|
-
responses: {
|
|
466
|
-
200: {},
|
|
467
|
-
201: {},
|
|
468
|
-
202: {},
|
|
469
|
-
204: {},
|
|
470
|
-
default: {
|
|
471
|
-
bodyMapper: Mappers.ErrorResponse
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
queryParameters: [Parameters.apiVersion],
|
|
475
|
-
urlParameters: [
|
|
476
|
-
Parameters.$host,
|
|
477
|
-
Parameters.resourceGroupName,
|
|
478
|
-
Parameters.sqlVirtualMachineGroupName,
|
|
479
|
-
Parameters.availabilityGroupListenerName,
|
|
480
|
-
Parameters.subscriptionId
|
|
481
|
-
],
|
|
482
|
-
headerParameters: [Parameters.accept],
|
|
483
|
-
serializer
|
|
484
|
-
};
|
|
485
|
-
const listByGroupOperationSpec: coreClient.OperationSpec = {
|
|
486
|
-
path:
|
|
487
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/availabilityGroupListeners",
|
|
488
|
-
httpMethod: "GET",
|
|
489
|
-
responses: {
|
|
490
|
-
200: {
|
|
491
|
-
bodyMapper: Mappers.AvailabilityGroupListenerListResult
|
|
492
|
-
},
|
|
493
|
-
default: {
|
|
494
|
-
bodyMapper: Mappers.ErrorResponse
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
queryParameters: [Parameters.apiVersion],
|
|
498
|
-
urlParameters: [
|
|
499
|
-
Parameters.$host,
|
|
500
|
-
Parameters.resourceGroupName,
|
|
501
|
-
Parameters.sqlVirtualMachineGroupName,
|
|
502
|
-
Parameters.subscriptionId
|
|
503
|
-
],
|
|
504
|
-
headerParameters: [Parameters.accept],
|
|
505
|
-
serializer
|
|
506
|
-
};
|
|
507
|
-
const listByGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
508
|
-
path: "{nextLink}",
|
|
509
|
-
httpMethod: "GET",
|
|
510
|
-
responses: {
|
|
511
|
-
200: {
|
|
512
|
-
bodyMapper: Mappers.AvailabilityGroupListenerListResult
|
|
513
|
-
},
|
|
514
|
-
default: {
|
|
515
|
-
bodyMapper: Mappers.ErrorResponse
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
urlParameters: [
|
|
519
|
-
Parameters.$host,
|
|
520
|
-
Parameters.resourceGroupName,
|
|
521
|
-
Parameters.sqlVirtualMachineGroupName,
|
|
522
|
-
Parameters.subscriptionId,
|
|
523
|
-
Parameters.nextLink
|
|
524
|
-
],
|
|
525
|
-
headerParameters: [Parameters.accept],
|
|
526
|
-
serializer
|
|
527
|
-
};
|