@azure/arm-selfhelp 2.0.0-beta.5 → 2.0.0-beta.6
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/CHANGELOG.md +11 -1
- package/LICENSE +4 -4
- package/README.md +27 -17
- package/{dist-esm/src → dist/browser}/helpRP.d.ts +2 -2
- package/dist/browser/helpRP.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/helpRP.js +37 -24
- package/dist/browser/helpRP.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
- package/dist/browser/lroImpl.js +18 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +99 -45
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/checkNameAvailability.d.ts +3 -3
- package/dist/browser/operations/checkNameAvailability.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/checkNameAvailability.js +3 -2
- package/dist/browser/operations/checkNameAvailability.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/diagnostics.d.ts +3 -3
- package/dist/browser/operations/diagnostics.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/diagnostics.js +46 -45
- package/dist/browser/operations/diagnostics.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/discoverySolution.d.ts +3 -3
- package/dist/browser/operations/discoverySolution.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/discoverySolution.js +26 -43
- package/dist/browser/operations/discoverySolution.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/discoverySolutionNLP.d.ts +3 -3
- package/dist/browser/operations/discoverySolutionNLP.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/discoverySolutionNLP.js +3 -2
- package/dist/browser/operations/discoverySolutionNLP.js.map +1 -0
- package/dist/browser/operations/index.d.ts +10 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +17 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/simplifiedSolutions.d.ts +3 -3
- package/dist/browser/operations/simplifiedSolutions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/simplifiedSolutions.js +46 -45
- package/dist/browser/operations/simplifiedSolutions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/solution.d.ts +3 -3
- package/dist/browser/operations/solution.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/solution.js +88 -86
- package/dist/browser/operations/solution.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/solutionSelfHelp.d.ts +3 -3
- package/dist/browser/operations/solutionSelfHelp.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/solutionSelfHelp.js +3 -2
- package/dist/browser/operations/solutionSelfHelp.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/troubleshooters.d.ts +3 -3
- package/dist/browser/operations/troubleshooters.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/troubleshooters.js +3 -2
- package/dist/browser/operations/troubleshooters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/checkNameAvailability.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/checkNameAvailability.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnostics.d.ts +1 -1
- package/dist/browser/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/diagnostics.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/discoverySolution.d.ts +1 -1
- package/dist/browser/operationsInterfaces/discoverySolution.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/discoverySolution.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/discoverySolutionNLP.d.ts +1 -1
- package/dist/browser/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +10 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +17 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/simplifiedSolutions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/solution.d.ts +1 -1
- package/dist/browser/operationsInterfaces/solution.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/solution.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/solutionSelfHelp.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/troubleshooters.d.ts +1 -1
- package/dist/browser/operationsInterfaces/troubleshooters.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/troubleshooters.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/helpRP.d.ts +26 -0
- package/dist/commonjs/helpRP.d.ts.map +1 -0
- package/dist/commonjs/helpRP.js +120 -0
- package/dist/commonjs/helpRP.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +21 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-selfhelp.d.ts → dist/commonjs/models/index.d.ts} +1315 -1770
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +237 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +58 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +1975 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +25 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +218 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/checkNameAvailability.d.ts +22 -0
- package/dist/commonjs/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist/commonjs/operations/checkNameAvailability.js +58 -0
- package/dist/commonjs/operations/checkNameAvailability.js.map +1 -0
- package/dist/commonjs/operations/diagnostics.d.ts +45 -0
- package/dist/commonjs/operations/diagnostics.d.ts.map +1 -0
- package/dist/commonjs/operations/diagnostics.js +158 -0
- package/dist/commonjs/operations/diagnostics.js.map +1 -0
- package/dist/commonjs/operations/discoverySolution.d.ts +48 -0
- package/dist/commonjs/operations/discoverySolution.d.ts.map +1 -0
- package/dist/commonjs/operations/discoverySolution.js +141 -0
- package/dist/commonjs/operations/discoverySolution.js.map +1 -0
- package/dist/commonjs/operations/discoverySolutionNLP.d.ts +26 -0
- package/dist/commonjs/operations/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/commonjs/operations/discoverySolutionNLP.js +82 -0
- package/dist/commonjs/operations/discoverySolutionNLP.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +10 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +20 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +32 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +121 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/simplifiedSolutions.d.ts +52 -0
- package/dist/commonjs/operations/simplifiedSolutions.d.ts.map +1 -0
- package/dist/commonjs/operations/simplifiedSolutions.js +165 -0
- package/dist/commonjs/operations/simplifiedSolutions.js.map +1 -0
- package/dist/commonjs/operations/solution.d.ts +82 -0
- package/dist/commonjs/operations/solution.d.ts.map +1 -0
- package/dist/commonjs/operations/solution.js +295 -0
- package/dist/commonjs/operations/solution.js.map +1 -0
- package/dist/commonjs/operations/solutionSelfHelp.d.ts +23 -0
- package/dist/commonjs/operations/solutionSelfHelp.d.ts.map +1 -0
- package/dist/commonjs/operations/solutionSelfHelp.js +57 -0
- package/dist/commonjs/operations/solutionSelfHelp.js.map +1 -0
- package/dist/commonjs/operations/troubleshooters.d.ts +73 -0
- package/dist/commonjs/operations/troubleshooters.d.ts.map +1 -0
- package/dist/commonjs/operations/troubleshooters.js +207 -0
- package/dist/commonjs/operations/troubleshooters.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.d.ts +14 -0
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.js +10 -0
- package/dist/commonjs/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/diagnostics.d.ts +37 -0
- package/dist/commonjs/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/diagnostics.js +10 -0
- package/dist/commonjs/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/discoverySolution.d.ts +19 -0
- package/dist/commonjs/operationsInterfaces/discoverySolution.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/discoverySolution.js +10 -0
- package/dist/commonjs/operationsInterfaces/discoverySolution.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
- package/dist/commonjs/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/discoverySolutionNLP.js +10 -0
- package/dist/commonjs/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +10 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +20 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
- package/dist/commonjs/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/simplifiedSolutions.js +10 -0
- package/dist/commonjs/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/solution.d.ts +74 -0
- package/dist/commonjs/operationsInterfaces/solution.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/solution.js +10 -0
- package/dist/commonjs/operationsInterfaces/solution.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/solutionSelfHelp.js +10 -0
- package/dist/commonjs/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/troubleshooters.d.ts +65 -0
- package/dist/commonjs/operationsInterfaces/troubleshooters.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/troubleshooters.js +10 -0
- package/dist/commonjs/operationsInterfaces/troubleshooters.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/helpRP.d.ts +26 -0
- package/dist/esm/helpRP.d.ts.map +1 -0
- package/dist/esm/helpRP.js +115 -0
- package/dist/esm/helpRP.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +18 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1315 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +234 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +58 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +1971 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +25 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +215 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/checkNameAvailability.d.ts +22 -0
- package/dist/esm/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist/esm/operations/checkNameAvailability.js +53 -0
- package/dist/esm/operations/checkNameAvailability.js.map +1 -0
- package/dist/esm/operations/diagnostics.d.ts +45 -0
- package/dist/esm/operations/diagnostics.d.ts.map +1 -0
- package/dist/esm/operations/diagnostics.js +153 -0
- package/dist/esm/operations/diagnostics.js.map +1 -0
- package/dist/esm/operations/discoverySolution.d.ts +48 -0
- package/dist/esm/operations/discoverySolution.d.ts.map +1 -0
- package/dist/esm/operations/discoverySolution.js +136 -0
- package/dist/esm/operations/discoverySolution.js.map +1 -0
- package/dist/esm/operations/discoverySolutionNLP.d.ts +26 -0
- package/dist/esm/operations/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/esm/operations/discoverySolutionNLP.js +77 -0
- package/dist/esm/operations/discoverySolutionNLP.js.map +1 -0
- package/dist/esm/operations/index.d.ts +10 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +17 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +32 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +116 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/simplifiedSolutions.d.ts +52 -0
- package/dist/esm/operations/simplifiedSolutions.d.ts.map +1 -0
- package/dist/esm/operations/simplifiedSolutions.js +160 -0
- package/dist/esm/operations/simplifiedSolutions.js.map +1 -0
- package/dist/esm/operations/solution.d.ts +82 -0
- package/dist/esm/operations/solution.d.ts.map +1 -0
- package/dist/esm/operations/solution.js +290 -0
- package/dist/esm/operations/solution.js.map +1 -0
- package/dist/esm/operations/solutionSelfHelp.d.ts +23 -0
- package/dist/esm/operations/solutionSelfHelp.d.ts.map +1 -0
- package/dist/esm/operations/solutionSelfHelp.js +52 -0
- package/dist/esm/operations/solutionSelfHelp.js.map +1 -0
- package/dist/esm/operations/troubleshooters.d.ts +73 -0
- package/dist/esm/operations/troubleshooters.d.ts.map +1 -0
- package/dist/esm/operations/troubleshooters.js +202 -0
- package/dist/esm/operations/troubleshooters.js.map +1 -0
- package/dist/esm/operationsInterfaces/checkNameAvailability.d.ts +14 -0
- package/dist/esm/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/checkNameAvailability.js +9 -0
- package/dist/esm/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist/esm/operationsInterfaces/diagnostics.d.ts +37 -0
- package/dist/esm/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/diagnostics.js +9 -0
- package/dist/esm/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist/esm/operationsInterfaces/discoverySolution.d.ts +19 -0
- package/dist/esm/operationsInterfaces/discoverySolution.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/discoverySolution.js +9 -0
- package/dist/esm/operationsInterfaces/discoverySolution.js.map +1 -0
- package/dist/esm/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
- package/dist/esm/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/discoverySolutionNLP.js +9 -0
- package/dist/esm/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +10 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +17 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
- package/dist/esm/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/simplifiedSolutions.js +9 -0
- package/dist/esm/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/dist/esm/operationsInterfaces/solution.d.ts +74 -0
- package/dist/esm/operationsInterfaces/solution.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/solution.js +9 -0
- package/dist/esm/operationsInterfaces/solution.js.map +1 -0
- package/dist/esm/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
- package/dist/esm/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/solutionSelfHelp.js +9 -0
- package/dist/esm/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/dist/esm/operationsInterfaces/troubleshooters.d.ts +65 -0
- package/dist/esm/operationsInterfaces/troubleshooters.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/troubleshooters.js +9 -0
- package/dist/esm/operationsInterfaces/troubleshooters.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/helpRP.d.ts +26 -0
- package/dist/react-native/helpRP.d.ts.map +1 -0
- package/dist/react-native/helpRP.js +115 -0
- package/dist/react-native/helpRP.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +18 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1315 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +234 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +58 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +1971 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +25 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +215 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/checkNameAvailability.d.ts +22 -0
- package/dist/react-native/operations/checkNameAvailability.d.ts.map +1 -0
- package/dist/react-native/operations/checkNameAvailability.js +53 -0
- package/dist/react-native/operations/checkNameAvailability.js.map +1 -0
- package/dist/react-native/operations/diagnostics.d.ts +45 -0
- package/dist/react-native/operations/diagnostics.d.ts.map +1 -0
- package/dist/react-native/operations/diagnostics.js +153 -0
- package/dist/react-native/operations/diagnostics.js.map +1 -0
- package/dist/react-native/operations/discoverySolution.d.ts +48 -0
- package/dist/react-native/operations/discoverySolution.d.ts.map +1 -0
- package/dist/react-native/operations/discoverySolution.js +136 -0
- package/dist/react-native/operations/discoverySolution.js.map +1 -0
- package/dist/react-native/operations/discoverySolutionNLP.d.ts +26 -0
- package/dist/react-native/operations/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/react-native/operations/discoverySolutionNLP.js +77 -0
- package/dist/react-native/operations/discoverySolutionNLP.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +10 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +17 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +32 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +116 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/simplifiedSolutions.d.ts +52 -0
- package/dist/react-native/operations/simplifiedSolutions.d.ts.map +1 -0
- package/dist/react-native/operations/simplifiedSolutions.js +160 -0
- package/dist/react-native/operations/simplifiedSolutions.js.map +1 -0
- package/dist/react-native/operations/solution.d.ts +82 -0
- package/dist/react-native/operations/solution.d.ts.map +1 -0
- package/dist/react-native/operations/solution.js +290 -0
- package/dist/react-native/operations/solution.js.map +1 -0
- package/dist/react-native/operations/solutionSelfHelp.d.ts +23 -0
- package/dist/react-native/operations/solutionSelfHelp.d.ts.map +1 -0
- package/dist/react-native/operations/solutionSelfHelp.js +52 -0
- package/dist/react-native/operations/solutionSelfHelp.js.map +1 -0
- package/dist/react-native/operations/troubleshooters.d.ts +73 -0
- package/dist/react-native/operations/troubleshooters.d.ts.map +1 -0
- package/dist/react-native/operations/troubleshooters.js +202 -0
- package/dist/react-native/operations/troubleshooters.js.map +1 -0
- package/dist/react-native/operationsInterfaces/checkNameAvailability.d.ts +14 -0
- package/dist/react-native/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/checkNameAvailability.js +9 -0
- package/dist/react-native/operationsInterfaces/checkNameAvailability.js.map +1 -0
- package/dist/react-native/operationsInterfaces/diagnostics.d.ts +37 -0
- package/dist/react-native/operationsInterfaces/diagnostics.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/diagnostics.js +9 -0
- package/dist/react-native/operationsInterfaces/diagnostics.js.map +1 -0
- package/dist/react-native/operationsInterfaces/discoverySolution.d.ts +19 -0
- package/dist/react-native/operationsInterfaces/discoverySolution.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/discoverySolution.js +9 -0
- package/dist/react-native/operationsInterfaces/discoverySolution.js.map +1 -0
- package/dist/react-native/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
- package/dist/react-native/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/discoverySolutionNLP.js +9 -0
- package/dist/react-native/operationsInterfaces/discoverySolutionNLP.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +10 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +17 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/simplifiedSolutions.d.ts +44 -0
- package/dist/react-native/operationsInterfaces/simplifiedSolutions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/simplifiedSolutions.js +9 -0
- package/dist/react-native/operationsInterfaces/simplifiedSolutions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/solution.d.ts +74 -0
- package/dist/react-native/operationsInterfaces/solution.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/solution.js +9 -0
- package/dist/react-native/operationsInterfaces/solution.js.map +1 -0
- package/dist/react-native/operationsInterfaces/solutionSelfHelp.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/solutionSelfHelp.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/solutionSelfHelp.js +9 -0
- package/dist/react-native/operationsInterfaces/solutionSelfHelp.js.map +1 -0
- package/dist/react-native/operationsInterfaces/troubleshooters.d.ts +65 -0
- package/dist/react-native/operationsInterfaces/troubleshooters.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/troubleshooters.js +9 -0
- package/dist/react-native/operationsInterfaces/troubleshooters.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +83 -67
- package/dist/index.js +0 -3832
- 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/checkNameAvailabilityCheckAvailabilitySample.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.js +0 -66
- package/dist-esm/samples-dev/checkNameAvailabilityCheckAvailabilitySample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticsCreateSample.js +0 -37
- package/dist-esm/samples-dev/diagnosticsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/diagnosticsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/diagnosticsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/diagnosticsGetSample.js +0 -37
- package/dist-esm/samples-dev/diagnosticsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionListSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionListSample.js +0 -53
- package/dist-esm/samples-dev/discoverySolutionListSample.js.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js +0 -42
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.js +0 -42
- package/dist-esm/samples-dev/discoverySolutionNlpDiscoverSolutionsSample.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 -51
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js +0 -46
- package/dist-esm/samples-dev/simplifiedSolutionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js +0 -37
- package/dist-esm/samples-dev/simplifiedSolutionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionCreateSample.js +0 -44
- package/dist-esm/samples-dev/solutionCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionGetSample.js +0 -37
- package/dist-esm/samples-dev/solutionGetSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js +0 -36
- package/dist-esm/samples-dev/solutionSelfHelpGetSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionUpdateSample.js +0 -37
- package/dist-esm/samples-dev/solutionUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts +0 -2
- package/dist-esm/samples-dev/solutionWarmUpSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/solutionWarmUpSample.js +0 -37
- package/dist-esm/samples-dev/solutionWarmUpSample.js.map +0 -1
- package/dist-esm/samples-dev/troubleshootersContinueSample.d.ts +0 -2
- package/dist-esm/samples-dev/troubleshootersContinueSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/troubleshootersContinueSample.js +0 -50
- package/dist-esm/samples-dev/troubleshootersContinueSample.js.map +0 -1
- package/dist-esm/samples-dev/troubleshootersCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/troubleshootersCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/troubleshootersCreateSample.js +0 -46
- package/dist-esm/samples-dev/troubleshootersCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/troubleshootersEndSample.d.ts +0 -2
- package/dist-esm/samples-dev/troubleshootersEndSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/troubleshootersEndSample.js +0 -37
- package/dist-esm/samples-dev/troubleshootersEndSample.js.map +0 -1
- package/dist-esm/samples-dev/troubleshootersGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/troubleshootersGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/troubleshootersGetSample.js +0 -37
- package/dist-esm/samples-dev/troubleshootersGetSample.js.map +0 -1
- package/dist-esm/samples-dev/troubleshootersRestartSample.d.ts +0 -2
- package/dist-esm/samples-dev/troubleshootersRestartSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/troubleshootersRestartSample.js +0 -37
- package/dist-esm/samples-dev/troubleshootersRestartSample.js.map +0 -1
- package/dist-esm/src/helpRP.d.ts.map +0 -1
- package/dist-esm/src/helpRP.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.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.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/checkNameAvailability.d.ts.map +0 -1
- package/dist-esm/src/operations/checkNameAvailability.js.map +0 -1
- package/dist-esm/src/operations/diagnostics.d.ts.map +0 -1
- package/dist-esm/src/operations/diagnostics.js.map +0 -1
- package/dist-esm/src/operations/discoverySolution.d.ts.map +0 -1
- package/dist-esm/src/operations/discoverySolution.js.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLP.d.ts.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLP.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -10
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -17
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/simplifiedSolutions.d.ts.map +0 -1
- package/dist-esm/src/operations/simplifiedSolutions.js.map +0 -1
- package/dist-esm/src/operations/solution.d.ts.map +0 -1
- package/dist-esm/src/operations/solution.js.map +0 -1
- package/dist-esm/src/operations/solutionSelfHelp.d.ts.map +0 -1
- package/dist-esm/src/operations/solutionSelfHelp.js.map +0 -1
- package/dist-esm/src/operations/troubleshooters.d.ts.map +0 -1
- package/dist-esm/src/operations/troubleshooters.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/checkNameAvailability.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/diagnostics.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/diagnostics.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolution.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolution.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLP.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -17
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/simplifiedSolutions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/solution.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/solution.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/solutionSelfHelp.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/troubleshooters.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/troubleshooters.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/selfhelp_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/selfhelp_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/selfhelp_operations_test.spec.js +0 -99
- package/dist-esm/test/selfhelp_operations_test.spec.js.map +0 -1
- package/src/helpRP.ts +0 -169
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1456
- package/src/models/mappers.ts +0 -2028
- package/src/models/parameters.ts +0 -253
- package/src/operations/checkNameAvailability.ts +0 -69
- package/src/operations/diagnostics.ts +0 -209
- package/src/operations/discoverySolution.ts +0 -169
- package/src/operations/discoverySolutionNLP.ts +0 -101
- package/src/operations/index.ts +0 -17
- package/src/operations/operations.ts +0 -149
- package/src/operations/simplifiedSolutions.ts +0 -216
- package/src/operations/solution.ts +0 -382
- package/src/operations/solutionSelfHelp.ts +0 -68
- package/src/operations/troubleshooters.ts +0 -259
- package/src/operationsInterfaces/checkNameAvailability.ts +0 -28
- package/src/operationsInterfaces/diagnostics.ts +0 -67
- package/src/operationsInterfaces/discoverySolution.ts +0 -33
- package/src/operationsInterfaces/discoverySolutionNLP.ts +0 -36
- package/src/operationsInterfaces/index.ts +0 -17
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/simplifiedSolutions.ts +0 -74
- package/src/operationsInterfaces/solution.ts +0 -124
- package/src/operationsInterfaces/solutionSelfHelp.ts +0 -29
- package/src/operationsInterfaces/troubleshooters.ts +0 -104
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/checkNameAvailability.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/diagnostics.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/discoverySolution.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/discoverySolutionNLP.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/simplifiedSolutions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/solution.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/solutionSelfHelp.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/troubleshooters.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-selfhelp.api.md → arm-selfhelp-node.api.md} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkNameAvailability.js","sourceRoot":"","sources":["../../../src/operations/checkNameAvailability.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAOtD,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IACnB,MAAM,CAAS;IAEhC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,iBAAiB,CACf,KAAa,EACb,OAA8D;QAE9D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,KAAK,EAAE,OAAO,EAAE,EAClB,8BAA8B,CAC/B,CAAC;IACJ,CAAC;CACF;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,yDAAyD;IAC/D,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,6BAA6B;SAClD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,4BAA4B;IACpD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC;IACnD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { CheckNameAvailability } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HelpRP } from \"../helpRP.js\";\nimport {\n CheckNameAvailabilityCheckAvailabilityOptionalParams,\n CheckNameAvailabilityCheckAvailabilityResponse,\n} from \"../models/index.js\";\n\n/** Class containing CheckNameAvailability operations. */\nexport class CheckNameAvailabilityImpl implements CheckNameAvailability {\n private readonly client: HelpRP;\n\n /**\n * Initialize a new instance of the class CheckNameAvailability class.\n * @param client Reference to the service client\n */\n constructor(client: HelpRP) {\n this.client = client;\n }\n\n /**\n * This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or\n * solutions\n * @param scope scope = resourceUri of affected resource.<br/> For example:\n * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read\n *\n * @param options The options parameters.\n */\n checkAvailability(\n scope: string,\n options?: CheckNameAvailabilityCheckAvailabilityOptionalParams,\n ): Promise<CheckNameAvailabilityCheckAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { scope, options },\n checkAvailabilityOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst checkAvailabilityOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Help/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckNameAvailabilityResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.checkNameAvailabilityRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.scope],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Diagnostics } from "../operationsInterfaces";
|
|
2
|
-
import { HelpRP } from "../helpRP";
|
|
1
|
+
import { Diagnostics } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { HelpRP } from "../helpRP.js";
|
|
3
3
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
4
|
-
import { DiagnosticsCreateOptionalParams, DiagnosticsCreateResponse, DiagnosticsGetOptionalParams, DiagnosticsGetResponse } from "../models";
|
|
4
|
+
import { DiagnosticsCreateOptionalParams, DiagnosticsCreateResponse, DiagnosticsGetOptionalParams, DiagnosticsGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing Diagnostics operations. */
|
|
6
6
|
export declare class DiagnosticsImpl implements Diagnostics {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnostics.d.ts","sourceRoot":"","sources":["../../../src/operations/diagnostics.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAI/D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,+BAA+B,EAC/B,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,+CAA+C;AAC/C,qBAAa,eAAgB,YAAW,WAAW;IACjD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;OASG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,yBAAyB,CAAC,EACzC,yBAAyB,CAC1B,CACF;IAwDD;;;;;;;;;OASG;IACG,kBAAkB,CACtB,KAAK,EAAE,MAAM,EACb,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,+BAA+B,GACxC,OAAO,CAAC,yBAAyB,CAAC;IASrC;;;;;;;OAOG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,uBAAuB,EAAE,MAAM,EAC/B,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;CAMnC"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
|
-
import * as Mappers from "../models/mappers";
|
|
11
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
11
|
import { createHttpPoller, } from "@azure/core-lro";
|
|
13
|
-
import { createLroSpec } from "../lroImpl";
|
|
12
|
+
import { createLroSpec } from "../lroImpl.js";
|
|
14
13
|
/** Class containing Diagnostics operations. */
|
|
15
14
|
export class DiagnosticsImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class Diagnostics class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -30,43 +30,46 @@ export class DiagnosticsImpl {
|
|
|
30
30
|
* @param diagnosticsResourceName Unique resource name for insight resources
|
|
31
31
|
* @param options The options parameters.
|
|
32
32
|
*/
|
|
33
|
-
beginCreate(scope, diagnosticsResourceName, options) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
resourceLocationConfig: "azure-async-operation",
|
|
66
|
-
});
|
|
67
|
-
yield poller.poll();
|
|
68
|
-
return poller;
|
|
33
|
+
async beginCreate(scope, diagnosticsResourceName, options) {
|
|
34
|
+
const directSendOperation = async (args, spec) => {
|
|
35
|
+
return this.client.sendOperationRequest(args, spec);
|
|
36
|
+
};
|
|
37
|
+
const sendOperationFn = async (args, spec) => {
|
|
38
|
+
let currentRawResponse = undefined;
|
|
39
|
+
const providedCallback = args.options?.onResponse;
|
|
40
|
+
const callback = (rawResponse, flatResponse) => {
|
|
41
|
+
currentRawResponse = rawResponse;
|
|
42
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
43
|
+
};
|
|
44
|
+
const updatedArgs = {
|
|
45
|
+
...args,
|
|
46
|
+
options: {
|
|
47
|
+
...args.options,
|
|
48
|
+
onResponse: callback,
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
52
|
+
return {
|
|
53
|
+
flatResponse,
|
|
54
|
+
rawResponse: {
|
|
55
|
+
statusCode: currentRawResponse.status,
|
|
56
|
+
body: currentRawResponse.parsedBody,
|
|
57
|
+
headers: currentRawResponse.headers.toJSON(),
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
const lro = createLroSpec({
|
|
62
|
+
sendOperationFn,
|
|
63
|
+
args: { scope, diagnosticsResourceName, options },
|
|
64
|
+
spec: createOperationSpec,
|
|
69
65
|
});
|
|
66
|
+
const poller = await createHttpPoller(lro, {
|
|
67
|
+
restoreFrom: options?.resumeFrom,
|
|
68
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
69
|
+
resourceLocationConfig: "azure-async-operation",
|
|
70
|
+
});
|
|
71
|
+
await poller.poll();
|
|
72
|
+
return poller;
|
|
70
73
|
}
|
|
71
74
|
/**
|
|
72
75
|
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
@@ -78,11 +81,9 @@ export class DiagnosticsImpl {
|
|
|
78
81
|
* @param diagnosticsResourceName Unique resource name for insight resources
|
|
79
82
|
* @param options The options parameters.
|
|
80
83
|
*/
|
|
81
|
-
beginCreateAndWait(scope, diagnosticsResourceName, options) {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
return poller.pollUntilDone();
|
|
85
|
-
});
|
|
84
|
+
async beginCreateAndWait(scope, diagnosticsResourceName, options) {
|
|
85
|
+
const poller = await this.beginCreate(scope, diagnosticsResourceName, options);
|
|
86
|
+
return poller.pollUntilDone();
|
|
86
87
|
}
|
|
87
88
|
/**
|
|
88
89
|
* Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diagnostics.js","sourceRoot":"","sources":["../../../src/operations/diagnostics.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAQ9C,+CAA+C;AAC/C,MAAM,OAAO,eAAe;IACT,MAAM,CAAS;IAEhC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,WAAW,CACf,KAAa,EACb,uBAA+B,EAC/B,OAAyC;QAOzC,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACM,EAAE;YACtC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,eAA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yEAAyE;IAC/E,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,uBAAuB;KACnC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Diagnostics } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HelpRP } from \"../helpRP.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n DiagnosticsCreateOptionalParams,\n DiagnosticsCreateResponse,\n DiagnosticsGetOptionalParams,\n DiagnosticsGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing Diagnostics operations. */\nexport class DiagnosticsImpl implements Diagnostics {\n private readonly client: HelpRP;\n\n /**\n * Initialize a new instance of the class Diagnostics class.\n * @param client Reference to the service client\n */\n constructor(client: HelpRP) {\n this.client = client;\n }\n\n /**\n * Creates a diagnostic for the specific resource using solutionId from discovery solutions.\n * <br/>Diagnostics are powerful solutions that access product resources or other relevant data and\n * provide the root cause of the issue and the steps to address the issue.<br/><br/>\n * @param scope scope = resourceUri of affected resource.<br/> For example:\n * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read\n *\n * @param diagnosticsResourceName Unique resource name for insight resources\n * @param options The options parameters.\n */\n async beginCreate(\n scope: string,\n diagnosticsResourceName: string,\n options?: DiagnosticsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<DiagnosticsCreateResponse>,\n DiagnosticsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<DiagnosticsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { scope, diagnosticsResourceName, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n DiagnosticsCreateResponse,\n OperationState<DiagnosticsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n resourceLocationConfig: \"azure-async-operation\",\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a diagnostic for the specific resource using solutionId from discovery solutions.\n * <br/>Diagnostics are powerful solutions that access product resources or other relevant data and\n * provide the root cause of the issue and the steps to address the issue.<br/><br/>\n * @param scope scope = resourceUri of affected resource.<br/> For example:\n * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read\n *\n * @param diagnosticsResourceName Unique resource name for insight resources\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n scope: string,\n diagnosticsResourceName: string,\n options?: DiagnosticsCreateOptionalParams,\n ): Promise<DiagnosticsCreateResponse> {\n const poller = await this.beginCreate(\n scope,\n diagnosticsResourceName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.\n * @param scope scope = resourceUri of affected resource.<br/> For example:\n * /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read\n *\n * @param diagnosticsResourceName Unique resource name for insight resources\n * @param options The options parameters.\n */\n get(\n scope: string,\n diagnosticsResourceName: string,\n options?: DiagnosticsGetOptionalParams,\n ): Promise<DiagnosticsGetResponse> {\n return this.client.sendOperationRequest(\n { scope, diagnosticsResourceName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiagnosticResource,\n },\n 201: {\n bodyMapper: Mappers.DiagnosticResource,\n },\n 202: {\n bodyMapper: Mappers.DiagnosticResource,\n },\n 204: {\n bodyMapper: Mappers.DiagnosticResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.diagnosticResourceRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.scope,\n Parameters.diagnosticsResourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiagnosticResource,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.scope,\n Parameters.diagnosticsResourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { DiscoverySolution } from "../operationsInterfaces";
|
|
3
|
-
import { HelpRP } from "../helpRP";
|
|
4
|
-
import { SolutionMetadataResource, DiscoverySolutionListOptionalParams } from "../models";
|
|
2
|
+
import { DiscoverySolution } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { HelpRP } from "../helpRP.js";
|
|
4
|
+
import { SolutionMetadataResource, DiscoverySolutionListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing DiscoverySolution operations. */
|
|
6
6
|
export declare class DiscoverySolutionImpl implements DiscoverySolution {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discoverySolution.d.ts","sourceRoot":"","sources":["../../../src/operations/discoverySolution.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,wBAAwB,EAExB,mCAAmC,EAGpC,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;;OAWG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,wBAAwB,CAAC;YAkBxC,cAAc;YAsBd,aAAa;IAQ5B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing DiscoverySolution operations. */
|
|
15
14
|
export class DiscoverySolutionImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class DiscoverySolution class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -42,52 +42,35 @@ export class DiscoverySolutionImpl {
|
|
|
42
42
|
return this;
|
|
43
43
|
},
|
|
44
44
|
byPage: (settings) => {
|
|
45
|
-
if (settings
|
|
45
|
+
if (settings?.maxPageSize) {
|
|
46
46
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
47
47
|
}
|
|
48
48
|
return this.listPagingPage(options, settings);
|
|
49
49
|
},
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
listPagingPage(options, settings) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
});
|
|
52
|
+
async *listPagingPage(options, settings) {
|
|
53
|
+
let result;
|
|
54
|
+
let continuationToken = settings?.continuationToken;
|
|
55
|
+
if (!continuationToken) {
|
|
56
|
+
result = await this._list(options);
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
setContinuationToken(page, continuationToken);
|
|
60
|
+
yield page;
|
|
61
|
+
}
|
|
62
|
+
while (continuationToken) {
|
|
63
|
+
result = await this._listNext(continuationToken, options);
|
|
64
|
+
continuationToken = result.nextLink;
|
|
65
|
+
let page = result.value || [];
|
|
66
|
+
setContinuationToken(page, continuationToken);
|
|
67
|
+
yield page;
|
|
68
|
+
}
|
|
71
69
|
}
|
|
72
|
-
listPagingAll(options) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
77
|
-
_c = _f.value;
|
|
78
|
-
_d = false;
|
|
79
|
-
const page = _c;
|
|
80
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
84
|
-
finally {
|
|
85
|
-
try {
|
|
86
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
87
|
-
}
|
|
88
|
-
finally { if (e_1) throw e_1.error; }
|
|
89
|
-
}
|
|
90
|
-
});
|
|
70
|
+
async *listPagingAll(options) {
|
|
71
|
+
for await (const page of this.listPagingPage(options)) {
|
|
72
|
+
yield* page;
|
|
73
|
+
}
|
|
91
74
|
}
|
|
92
75
|
/**
|
|
93
76
|
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":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H,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,iBAAiB;SACtC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { DiscoverySolution } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HelpRP } from \"../helpRP.js\";\nimport {\n SolutionMetadataResource,\n DiscoverySolutionListNextOptionalParams,\n DiscoverySolutionListOptionalParams,\n DiscoverySolutionListResponse,\n DiscoverySolutionListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing DiscoverySolution operations. */\nexport class DiscoverySolutionImpl implements DiscoverySolution {\n private readonly client: HelpRP;\n\n /**\n * Initialize a new instance of the class DiscoverySolution class.\n * @param client Reference to the service client\n */\n constructor(client: HelpRP) {\n this.client = client;\n }\n\n /**\n * Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification\n * API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND\n * resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,\n * which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :\n * problemClassificationId (Use the [problemClassification\n * API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP))\n * <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from\n * Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics\n * and Solutions API.\n * @param options The options parameters.\n */\n public list(\n options?: DiscoverySolutionListOptionalParams,\n ): PagedAsyncIterableIterator<SolutionMetadataResource> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: DiscoverySolutionListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<SolutionMetadataResource[]> {\n let result: DiscoverySolutionListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: DiscoverySolutionListOptionalParams,\n ): AsyncIterableIterator<SolutionMetadataResource> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification\n * API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND\n * resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,\n * which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :\n * problemClassificationId (Use the [problemClassification\n * API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP))\n * <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from\n * Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics\n * and Solutions API.\n * @param options The options parameters.\n */\n private _list(\n options?: DiscoverySolutionListOptionalParams,\n ): Promise<DiscoverySolutionListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: DiscoverySolutionListNextOptionalParams,\n ): Promise<DiscoverySolutionListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Help/discoverySolutions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiscoveryResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.skiptoken,\n ],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiscoveryResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DiscoverySolutionNLP } from "../operationsInterfaces";
|
|
2
|
-
import { HelpRP } from "../helpRP";
|
|
3
|
-
import { DiscoverySolutionNLPDiscoverSolutionsOptionalParams, DiscoverySolutionNLPDiscoverSolutionsResponse, DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams, DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse } from "../models";
|
|
1
|
+
import { DiscoverySolutionNLP } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { HelpRP } from "../helpRP.js";
|
|
3
|
+
import { DiscoverySolutionNLPDiscoverSolutionsOptionalParams, DiscoverySolutionNLPDiscoverSolutionsResponse, DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams, DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse } from "../models/index.js";
|
|
4
4
|
/** Class containing DiscoverySolutionNLP operations. */
|
|
5
5
|
export declare class DiscoverySolutionNLPImpl implements DiscoverySolutionNLP {
|
|
6
6
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discoverySolutionNLP.d.ts","sourceRoot":"","sources":["../../../src/operations/discoverySolutionNLP.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAIxE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,mDAAmD,EACnD,6CAA6C,EAC7C,iEAAiE,EACjE,2DAA2D,EAC5D,MAAM,oBAAoB,CAAC;AAE5B,wDAAwD;AACxD,qBAAa,wBAAyB,YAAW,oBAAoB;IACnE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;OAIG;IACH,iBAAiB,CACf,OAAO,CAAC,EAAE,mDAAmD,GAC5D,OAAO,CAAC,6CAA6C,CAAC;IAOzD;;;;;OAKG;IACH,+BAA+B,CAC7B,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,iEAAiE,GAC1E,OAAO,CAAC,2DAA2D,CAAC;CAMxE"}
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
import * as coreClient from "@azure/core-client";
|
|
9
|
-
import * as Mappers from "../models/mappers";
|
|
10
|
-
import * as Parameters from "../models/parameters";
|
|
9
|
+
import * as Mappers from "../models/mappers.js";
|
|
10
|
+
import * as Parameters from "../models/parameters.js";
|
|
11
11
|
/** Class containing DiscoverySolutionNLP operations. */
|
|
12
12
|
export class DiscoverySolutionNLPImpl {
|
|
13
|
+
client;
|
|
13
14
|
/**
|
|
14
15
|
* Initialize a new instance of the class DiscoverySolutionNLP class.
|
|
15
16
|
* @param client Reference to the service client
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discoverySolutionNLP.js","sourceRoot":"","sources":["../../../src/operations/discoverySolutionNLP.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAStD,wDAAwD;AACxD,MAAM,OAAO,wBAAwB;IAClB,MAAM,CAAS;IAEhC;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACH,iBAAiB,CACf,OAA6D;QAE7D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,OAAO,EAAE,EACX,8BAA8B,CAC/B,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACH,+BAA+B,CAC7B,cAAsB,EACtB,OAA2E;QAE3E,OAAO,IAAI,CAAC,MAAM,CAAC,oB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\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { DiscoverySolutionNLP } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HelpRP } from \"../helpRP.js\";\nimport {\n DiscoverySolutionNLPDiscoverSolutionsOptionalParams,\n DiscoverySolutionNLPDiscoverSolutionsResponse,\n DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams,\n DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse,\n} from \"../models/index.js\";\n\n/** Class containing DiscoverySolutionNLP operations. */\nexport class DiscoverySolutionNLPImpl implements DiscoverySolutionNLP {\n private readonly client: HelpRP;\n\n /**\n * Initialize a new instance of the class DiscoverySolutionNLP class.\n * @param client Reference to the service client\n */\n constructor(client: HelpRP) {\n this.client = client;\n }\n\n /**\n * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue\n * summary.\n * @param options The options parameters.\n */\n discoverSolutions(\n options?: DiscoverySolutionNLPDiscoverSolutionsOptionalParams,\n ): Promise<DiscoverySolutionNLPDiscoverSolutionsResponse> {\n return this.client.sendOperationRequest(\n { options },\n discoverSolutionsOperationSpec,\n );\n }\n\n /**\n * Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue\n * summary and subscription.\n * @param subscriptionId The Azure subscription ID.\n * @param options The options parameters.\n */\n discoverSolutionsBySubscription(\n subscriptionId: string,\n options?: DiscoverySolutionNLPDiscoverSolutionsBySubscriptionOptionalParams,\n ): Promise<DiscoverySolutionNLPDiscoverSolutionsBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n discoverSolutionsBySubscriptionOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst discoverSolutionsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Help/discoverSolutions\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiscoveryNlpResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.discoverSolutionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst discoverSolutionsBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DiscoveryNlpResponse,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n requestBody: Parameters.discoverSolutionRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./operations.js";
|
|
2
|
+
export * from "./checkNameAvailability.js";
|
|
3
|
+
export * from "./diagnostics.js";
|
|
4
|
+
export * from "./discoverySolution.js";
|
|
5
|
+
export * from "./solution.js";
|
|
6
|
+
export * from "./simplifiedSolutions.js";
|
|
7
|
+
export * from "./troubleshooters.js";
|
|
8
|
+
export * from "./solutionSelfHelp.js";
|
|
9
|
+
export * from "./discoverySolutionNLP.js";
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./operations.js";
|
|
9
|
+
export * from "./checkNameAvailability.js";
|
|
10
|
+
export * from "./diagnostics.js";
|
|
11
|
+
export * from "./discoverySolution.js";
|
|
12
|
+
export * from "./solution.js";
|
|
13
|
+
export * from "./simplifiedSolutions.js";
|
|
14
|
+
export * from "./troubleshooters.js";
|
|
15
|
+
export * from "./solutionSelfHelp.js";
|
|
16
|
+
export * from "./discoverySolutionNLP.js";
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nexport * from \"./operations.js\";\nexport * from \"./checkNameAvailability.js\";\nexport * from \"./diagnostics.js\";\nexport * from \"./discoverySolution.js\";\nexport * from \"./solution.js\";\nexport * from \"./simplifiedSolutions.js\";\nexport * from \"./troubleshooters.js\";\nexport * from \"./solutionSelfHelp.js\";\nexport * from \"./discoverySolutionNLP.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
-
import { Operations } from "../operationsInterfaces";
|
|
3
|
-
import { HelpRP } from "../helpRP";
|
|
4
|
-
import { Operation, OperationsListOptionalParams } from "../models";
|
|
2
|
+
import { Operations } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { HelpRP } from "../helpRP.js";
|
|
4
|
+
import { Operation, OperationsListOptionalParams } from "../models/index.js";
|
|
5
5
|
/** Class containing Operations operations. */
|
|
6
6
|
export declare class OperationsImpl implements Operations {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAI9D,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { setContinuationToken } from "../pagingHelper";
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
|
-
import * as Mappers from "../models/mappers";
|
|
12
|
-
import * as Parameters from "../models/parameters";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing Operations operations. */
|
|
15
14
|
export class OperationsImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class Operations class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -34,52 +34,35 @@ export class OperationsImpl {
|
|
|
34
34
|
return this;
|
|
35
35
|
},
|
|
36
36
|
byPage: (settings) => {
|
|
37
|
-
if (settings
|
|
37
|
+
if (settings?.maxPageSize) {
|
|
38
38
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
39
39
|
}
|
|
40
40
|
return this.listPagingPage(options, settings);
|
|
41
41
|
},
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
listPagingPage(options, settings) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
});
|
|
44
|
+
async *listPagingPage(options, settings) {
|
|
45
|
+
let result;
|
|
46
|
+
let continuationToken = settings?.continuationToken;
|
|
47
|
+
if (!continuationToken) {
|
|
48
|
+
result = await this._list(options);
|
|
49
|
+
let page = result.value || [];
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
setContinuationToken(page, continuationToken);
|
|
52
|
+
yield page;
|
|
53
|
+
}
|
|
54
|
+
while (continuationToken) {
|
|
55
|
+
result = await this._listNext(continuationToken, options);
|
|
56
|
+
continuationToken = result.nextLink;
|
|
57
|
+
let page = result.value || [];
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
63
61
|
}
|
|
64
|
-
listPagingAll(options) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
69
|
-
_c = _f.value;
|
|
70
|
-
_d = false;
|
|
71
|
-
const page = _c;
|
|
72
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
76
|
-
finally {
|
|
77
|
-
try {
|
|
78
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
79
|
-
}
|
|
80
|
-
finally { if (e_1) throw e_1.error; }
|
|
81
|
-
}
|
|
82
|
-
});
|
|
62
|
+
async *listPagingAll(options) {
|
|
63
|
+
for await (const page of this.listPagingPage(options)) {
|
|
64
|
+
yield* page;
|
|
65
|
+
}
|
|
83
66
|
}
|
|
84
67
|
/**
|
|
85
68
|
* Returns list of operations.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IACR,MAAM,CAAS;IAEhC;;;OAGG;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UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { HelpRP } from \"../helpRP.js\";\nimport {\n Operation,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: HelpRP;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: HelpRP) {\n this.client = client;\n }\n\n /**\n * Returns list of operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<Operation> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Operation[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<Operation> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns list of operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.Help/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationListResult,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SimplifiedSolutions } from "../operationsInterfaces";
|
|
2
|
-
import { HelpRP } from "../helpRP";
|
|
1
|
+
import { SimplifiedSolutions } from "../operationsInterfaces/index.js";
|
|
2
|
+
import { HelpRP } from "../helpRP.js";
|
|
3
3
|
import { SimplePollerLike, OperationState } from "@azure/core-lro";
|
|
4
|
-
import { SimplifiedSolutionsCreateOptionalParams, SimplifiedSolutionsCreateResponse, SimplifiedSolutionsGetOptionalParams, SimplifiedSolutionsGetResponse } from "../models";
|
|
4
|
+
import { SimplifiedSolutionsCreateOptionalParams, SimplifiedSolutionsCreateResponse, SimplifiedSolutionsGetOptionalParams, SimplifiedSolutionsGetResponse } from "../models/index.js";
|
|
5
5
|
/** Class containing SimplifiedSolutions operations. */
|
|
6
6
|
export declare class SimplifiedSolutionsImpl implements SimplifiedSolutions {
|
|
7
7
|
private readonly client;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simplifiedSolutions.d.ts","sourceRoot":"","sources":["../../../src/operations/simplifiedSolutions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAIvE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,uCAAuC,EACvC,iCAAiC,EACjC,oCAAoC,EACpC,8BAA8B,EAC/B,MAAM,oBAAoB,CAAC;AAE5B,uDAAuD;AACvD,qBAAa,uBAAwB,YAAW,mBAAmB;IACjE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;;;;;;;;;;OAYG;IACG,WAAW,CACf,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CACR,gBAAgB,CACd,cAAc,CAAC,iCAAiC,CAAC,EACjD,iCAAiC,CAClC,CACF;IAwDD;;;;;;;;;;;;OAYG;IACG,kBAAkB,CACtB,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAS7C;;;;;;;;OAQG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,+BAA+B,EAAE,MAAM,EACvC,OAAO,CAAC,EAAE,oCAAoC,GAC7C,OAAO,CAAC,8BAA8B,CAAC;CAM3C"}
|