@azure/arm-selfhelp 2.0.0-beta.4 → 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 +138 -8
- package/LICENSE +4 -4
- package/README.md +27 -17
- package/{dist-esm/src → dist/browser}/helpRP.d.ts +3 -4
- package/dist/browser/helpRP.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/helpRP.js +38 -28
- 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-esm/src → dist/browser}/models/index.d.ts +9 -9
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- 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 +4 -4
- package/dist/browser/operations/checkNameAvailability.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/checkNameAvailability.js +6 -5
- 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/browser/operations/discoverySolutionNLP.d.ts +26 -0
- package/dist/browser/operations/discoverySolutionNLP.d.ts.map +1 -0
- package/{dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js → dist/browser/operations/discoverySolutionNLP.js} +36 -9
- 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 +2 -2
- package/dist/browser/operationsInterfaces/checkNameAvailability.d.ts.map +1 -0
- 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/browser/operationsInterfaces/discoverySolutionNLP.d.ts +18 -0
- package/dist/browser/operationsInterfaces/discoverySolutionNLP.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/discoverySolutionNLP.js +9 -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 -1775
- 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-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js → dist/commonjs/operationsInterfaces/diagnostics.js} +3 -2
- 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 +84 -68
- package/review/{arm-selfhelp.api.md → arm-selfhelp-node.api.md} +11 -17
- package/dist/index.js +0 -3855
- 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/checkNameAvailabilityPostSample.d.ts +0 -2
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.js +0 -66
- package/dist-esm/samples-dev/checkNameAvailabilityPostSample.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/discoverySolutionNlpSubscriptionScopePostSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js +0 -44
- package/dist-esm/samples-dev/discoverySolutionNlpSubscriptionScopePostSample.js.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts +0 -2
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.js +0 -42
- package/dist-esm/samples-dev/discoverySolutionNlpTenantScopePostSample.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/discoverySolutionNLPSubscriptionScope.d.ts +0 -20
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPSubscriptionScope.js.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts +0 -19
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.d.ts.map +0 -1
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js +0 -49
- package/dist-esm/src/operations/discoverySolutionNLPTenantScope.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -11
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -18
- 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.d.ts.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/discoverySolutionNLPSubscriptionScope.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPSubscriptionScope.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js +0 -9
- package/dist-esm/src/operationsInterfaces/discoverySolutionNLPTenantScope.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -18
- 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 -175
- package/src/lroImpl.ts +0 -42
- package/src/models/index.ts +0 -1454
- 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/discoverySolutionNLPSubscriptionScope.ts +0 -69
- package/src/operations/discoverySolutionNLPTenantScope.ts +0 -64
- package/src/operations/index.ts +0 -18
- 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/discoverySolutionNLPSubscriptionScope.ts +0 -26
- package/src/operationsInterfaces/discoverySolutionNLPTenantScope.ts +0 -24
- package/src/operationsInterfaces/index.ts +0 -18
- 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.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/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/dist/index.js
DELETED
|
@@ -1,3855 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link Origin} that the service accepts. */
|
|
70
|
-
exports.KnownOrigin = void 0;
|
|
71
|
-
(function (KnownOrigin) {
|
|
72
|
-
/** User */
|
|
73
|
-
KnownOrigin["User"] = "user";
|
|
74
|
-
/** System */
|
|
75
|
-
KnownOrigin["System"] = "system";
|
|
76
|
-
/** UserSystem */
|
|
77
|
-
KnownOrigin["UserSystem"] = "user,system";
|
|
78
|
-
})(exports.KnownOrigin || (exports.KnownOrigin = {}));
|
|
79
|
-
/** Known values of {@link ActionType} that the service accepts. */
|
|
80
|
-
exports.KnownActionType = void 0;
|
|
81
|
-
(function (KnownActionType) {
|
|
82
|
-
/** Internal */
|
|
83
|
-
KnownActionType["Internal"] = "Internal";
|
|
84
|
-
})(exports.KnownActionType || (exports.KnownActionType = {}));
|
|
85
|
-
/** Known values of {@link DiagnosticProvisioningState} that the service accepts. */
|
|
86
|
-
exports.KnownDiagnosticProvisioningState = void 0;
|
|
87
|
-
(function (KnownDiagnosticProvisioningState) {
|
|
88
|
-
/** All Diagnostics in the Batch succeeded. */
|
|
89
|
-
KnownDiagnosticProvisioningState["Succeeded"] = "Succeeded";
|
|
90
|
-
/** Some Diagnostics are still running or failed. */
|
|
91
|
-
KnownDiagnosticProvisioningState["PartialComplete"] = "PartialComplete";
|
|
92
|
-
/** All Diagnostics failed to run. */
|
|
93
|
-
KnownDiagnosticProvisioningState["Failed"] = "Failed";
|
|
94
|
-
/** All Diagnostics are still running. */
|
|
95
|
-
KnownDiagnosticProvisioningState["Running"] = "Running";
|
|
96
|
-
/** When Diagnostic request gets canceled. */
|
|
97
|
-
KnownDiagnosticProvisioningState["Canceled"] = "Canceled";
|
|
98
|
-
})(exports.KnownDiagnosticProvisioningState || (exports.KnownDiagnosticProvisioningState = {}));
|
|
99
|
-
/** Known values of {@link Status} that the service accepts. */
|
|
100
|
-
exports.KnownStatus = void 0;
|
|
101
|
-
(function (KnownStatus) {
|
|
102
|
-
/** Diagnostic creation failed. */
|
|
103
|
-
KnownStatus["Failed"] = "Failed";
|
|
104
|
-
/** Request is missing required inputs to run. */
|
|
105
|
-
KnownStatus["MissingInputs"] = "MissingInputs";
|
|
106
|
-
/** Diagnostic is still running. */
|
|
107
|
-
KnownStatus["Running"] = "Running";
|
|
108
|
-
/** Diagnostic creation succeeded. */
|
|
109
|
-
KnownStatus["Succeeded"] = "Succeeded";
|
|
110
|
-
/** Diagnostic was timed out. */
|
|
111
|
-
KnownStatus["Timeout"] = "Timeout";
|
|
112
|
-
})(exports.KnownStatus || (exports.KnownStatus = {}));
|
|
113
|
-
/** Known values of {@link ImportanceLevel} that the service accepts. */
|
|
114
|
-
exports.KnownImportanceLevel = void 0;
|
|
115
|
-
(function (KnownImportanceLevel) {
|
|
116
|
-
/** A critical insight has been found after running the diagnostic. */
|
|
117
|
-
KnownImportanceLevel["Critical"] = "Critical";
|
|
118
|
-
/** A warning insight has been found after running the diagnostic. */
|
|
119
|
-
KnownImportanceLevel["Warning"] = "Warning";
|
|
120
|
-
/** An information insight has been found after running the diagnostic. */
|
|
121
|
-
KnownImportanceLevel["Information"] = "Information";
|
|
122
|
-
})(exports.KnownImportanceLevel || (exports.KnownImportanceLevel = {}));
|
|
123
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
124
|
-
exports.KnownCreatedByType = void 0;
|
|
125
|
-
(function (KnownCreatedByType) {
|
|
126
|
-
/** User */
|
|
127
|
-
KnownCreatedByType["User"] = "User";
|
|
128
|
-
/** Application */
|
|
129
|
-
KnownCreatedByType["Application"] = "Application";
|
|
130
|
-
/** ManagedIdentity */
|
|
131
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
132
|
-
/** Key */
|
|
133
|
-
KnownCreatedByType["Key"] = "Key";
|
|
134
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
135
|
-
/** Known values of {@link SolutionType} that the service accepts. */
|
|
136
|
-
exports.KnownSolutionType = void 0;
|
|
137
|
-
(function (KnownSolutionType) {
|
|
138
|
-
/** Diagnostics resource type. */
|
|
139
|
-
KnownSolutionType["Diagnostics"] = "Diagnostics";
|
|
140
|
-
/** Solutions resource type. */
|
|
141
|
-
KnownSolutionType["Solutions"] = "Solutions";
|
|
142
|
-
/** Troubleshooters resource type. */
|
|
143
|
-
KnownSolutionType["Troubleshooters"] = "Troubleshooters";
|
|
144
|
-
/** SelfHelp resource type. */
|
|
145
|
-
KnownSolutionType["SelfHelp"] = "SelfHelp";
|
|
146
|
-
})(exports.KnownSolutionType || (exports.KnownSolutionType = {}));
|
|
147
|
-
/** Known values of {@link Name} that the service accepts. */
|
|
148
|
-
exports.KnownName = void 0;
|
|
149
|
-
(function (KnownName) {
|
|
150
|
-
/** SolutionId */
|
|
151
|
-
KnownName["SolutionId"] = "SolutionId";
|
|
152
|
-
/** ProblemClassificationId */
|
|
153
|
-
KnownName["ProblemClassificationId"] = "ProblemClassificationId";
|
|
154
|
-
/** ReplacementKey */
|
|
155
|
-
KnownName["ReplacementKey"] = "ReplacementKey";
|
|
156
|
-
})(exports.KnownName || (exports.KnownName = {}));
|
|
157
|
-
/** Known values of {@link SolutionProvisioningState} that the service accepts. */
|
|
158
|
-
exports.KnownSolutionProvisioningState = void 0;
|
|
159
|
-
(function (KnownSolutionProvisioningState) {
|
|
160
|
-
/** All Solutions in the Batch succeeded. */
|
|
161
|
-
KnownSolutionProvisioningState["Succeeded"] = "Succeeded";
|
|
162
|
-
/** Some Solutions are still running or failed. */
|
|
163
|
-
KnownSolutionProvisioningState["PartialComplete"] = "PartialComplete";
|
|
164
|
-
/** All Solutions failed to run. */
|
|
165
|
-
KnownSolutionProvisioningState["Failed"] = "Failed";
|
|
166
|
-
/** All Solutions are still running. */
|
|
167
|
-
KnownSolutionProvisioningState["Running"] = "Running";
|
|
168
|
-
/** When Solutions request gets canceled. */
|
|
169
|
-
KnownSolutionProvisioningState["Canceled"] = "Canceled";
|
|
170
|
-
})(exports.KnownSolutionProvisioningState || (exports.KnownSolutionProvisioningState = {}));
|
|
171
|
-
/** Known values of {@link Confidence} that the service accepts. */
|
|
172
|
-
exports.KnownConfidence = void 0;
|
|
173
|
-
(function (KnownConfidence) {
|
|
174
|
-
/** Low */
|
|
175
|
-
KnownConfidence["Low"] = "Low";
|
|
176
|
-
/** Medium */
|
|
177
|
-
KnownConfidence["Medium"] = "Medium";
|
|
178
|
-
/** High */
|
|
179
|
-
KnownConfidence["High"] = "High";
|
|
180
|
-
})(exports.KnownConfidence || (exports.KnownConfidence = {}));
|
|
181
|
-
/** Known values of {@link ResultType} that the service accepts. */
|
|
182
|
-
exports.KnownResultType = void 0;
|
|
183
|
-
(function (KnownResultType) {
|
|
184
|
-
/** Community */
|
|
185
|
-
KnownResultType["Community"] = "Community";
|
|
186
|
-
/** Documentation */
|
|
187
|
-
KnownResultType["Documentation"] = "Documentation";
|
|
188
|
-
})(exports.KnownResultType || (exports.KnownResultType = {}));
|
|
189
|
-
/** Known values of {@link AggregationType} that the service accepts. */
|
|
190
|
-
exports.KnownAggregationType = void 0;
|
|
191
|
-
(function (KnownAggregationType) {
|
|
192
|
-
/** Sum */
|
|
193
|
-
KnownAggregationType["Sum"] = "Sum";
|
|
194
|
-
/** Avg */
|
|
195
|
-
KnownAggregationType["Avg"] = "Avg";
|
|
196
|
-
/** Count */
|
|
197
|
-
KnownAggregationType["Count"] = "Count";
|
|
198
|
-
/** Min */
|
|
199
|
-
KnownAggregationType["Min"] = "Min";
|
|
200
|
-
/** Max */
|
|
201
|
-
KnownAggregationType["Max"] = "Max";
|
|
202
|
-
})(exports.KnownAggregationType || (exports.KnownAggregationType = {}));
|
|
203
|
-
/** Known values of {@link TroubleshooterProvisioningState} that the service accepts. */
|
|
204
|
-
exports.KnownTroubleshooterProvisioningState = void 0;
|
|
205
|
-
(function (KnownTroubleshooterProvisioningState) {
|
|
206
|
-
/** Succeeded */
|
|
207
|
-
KnownTroubleshooterProvisioningState["Succeeded"] = "Succeeded";
|
|
208
|
-
/** Failed */
|
|
209
|
-
KnownTroubleshooterProvisioningState["Failed"] = "Failed";
|
|
210
|
-
/** Canceled */
|
|
211
|
-
KnownTroubleshooterProvisioningState["Canceled"] = "Canceled";
|
|
212
|
-
/** Running */
|
|
213
|
-
KnownTroubleshooterProvisioningState["Running"] = "Running";
|
|
214
|
-
/** AutoContinue */
|
|
215
|
-
KnownTroubleshooterProvisioningState["AutoContinue"] = "AutoContinue";
|
|
216
|
-
})(exports.KnownTroubleshooterProvisioningState || (exports.KnownTroubleshooterProvisioningState = {}));
|
|
217
|
-
/** Known values of {@link ExecutionStatus} that the service accepts. */
|
|
218
|
-
exports.KnownExecutionStatus = void 0;
|
|
219
|
-
(function (KnownExecutionStatus) {
|
|
220
|
-
/** Step execution succeeded. */
|
|
221
|
-
KnownExecutionStatus["Success"] = "Success";
|
|
222
|
-
/** Step execution running */
|
|
223
|
-
KnownExecutionStatus["Running"] = "Running";
|
|
224
|
-
/** Step execution failed */
|
|
225
|
-
KnownExecutionStatus["Failed"] = "Failed";
|
|
226
|
-
/** Step execution warning */
|
|
227
|
-
KnownExecutionStatus["Warning"] = "Warning";
|
|
228
|
-
})(exports.KnownExecutionStatus || (exports.KnownExecutionStatus = {}));
|
|
229
|
-
/** Known values of {@link Type} that the service accepts. */
|
|
230
|
-
exports.KnownType = void 0;
|
|
231
|
-
(function (KnownType) {
|
|
232
|
-
/** Decision */
|
|
233
|
-
KnownType["Decision"] = "Decision";
|
|
234
|
-
/** Solution */
|
|
235
|
-
KnownType["Solution"] = "Solution";
|
|
236
|
-
/** Insight */
|
|
237
|
-
KnownType["Insight"] = "Insight";
|
|
238
|
-
/** AutomatedCheck */
|
|
239
|
-
KnownType["AutomatedCheck"] = "AutomatedCheck";
|
|
240
|
-
/** Input */
|
|
241
|
-
KnownType["Input"] = "Input";
|
|
242
|
-
})(exports.KnownType || (exports.KnownType = {}));
|
|
243
|
-
/** Known values of {@link QuestionType} that the service accepts. */
|
|
244
|
-
exports.KnownQuestionType = void 0;
|
|
245
|
-
(function (KnownQuestionType) {
|
|
246
|
-
/** SingleChoice radio button */
|
|
247
|
-
KnownQuestionType["RadioButton"] = "RadioButton";
|
|
248
|
-
/** SingleChoice dropdown. */
|
|
249
|
-
KnownQuestionType["Dropdown"] = "Dropdown";
|
|
250
|
-
/** Text Input */
|
|
251
|
-
KnownQuestionType["TextInput"] = "TextInput";
|
|
252
|
-
/** MultiLineInfoBox */
|
|
253
|
-
KnownQuestionType["MultiLineInfoBox"] = "MultiLineInfoBox";
|
|
254
|
-
/** DateTime Picker */
|
|
255
|
-
KnownQuestionType["DateTimePicker"] = "DateTimePicker";
|
|
256
|
-
/** Multi Select */
|
|
257
|
-
KnownQuestionType["MultiSelect"] = "MultiSelect";
|
|
258
|
-
})(exports.KnownQuestionType || (exports.KnownQuestionType = {}));
|
|
259
|
-
/** Known values of {@link QuestionContentType} that the service accepts. */
|
|
260
|
-
exports.KnownQuestionContentType = void 0;
|
|
261
|
-
(function (KnownQuestionContentType) {
|
|
262
|
-
/** Text */
|
|
263
|
-
KnownQuestionContentType["Text"] = "Text";
|
|
264
|
-
/** Html */
|
|
265
|
-
KnownQuestionContentType["Html"] = "Html";
|
|
266
|
-
/** Markdown */
|
|
267
|
-
KnownQuestionContentType["Markdown"] = "Markdown";
|
|
268
|
-
})(exports.KnownQuestionContentType || (exports.KnownQuestionContentType = {}));
|
|
269
|
-
/** Known values of {@link ValidationScope} that the service accepts. */
|
|
270
|
-
exports.KnownValidationScope = void 0;
|
|
271
|
-
(function (KnownValidationScope) {
|
|
272
|
-
/** None */
|
|
273
|
-
KnownValidationScope["None"] = "None";
|
|
274
|
-
/** URLFormat */
|
|
275
|
-
KnownValidationScope["URLFormat"] = "URLFormat";
|
|
276
|
-
/** GuidFormat */
|
|
277
|
-
KnownValidationScope["GuidFormat"] = "GuidFormat";
|
|
278
|
-
/** IpAddressFormat */
|
|
279
|
-
KnownValidationScope["IpAddressFormat"] = "IpAddressFormat";
|
|
280
|
-
/** NumberOnlyFormat */
|
|
281
|
-
KnownValidationScope["NumberOnlyFormat"] = "NumberOnlyFormat";
|
|
282
|
-
})(exports.KnownValidationScope || (exports.KnownValidationScope = {}));
|
|
283
|
-
/** Known values of {@link AutomatedCheckResultType} that the service accepts. */
|
|
284
|
-
exports.KnownAutomatedCheckResultType = void 0;
|
|
285
|
-
(function (KnownAutomatedCheckResultType) {
|
|
286
|
-
/** Success */
|
|
287
|
-
KnownAutomatedCheckResultType["Success"] = "Success";
|
|
288
|
-
/** Warning */
|
|
289
|
-
KnownAutomatedCheckResultType["Warning"] = "Warning";
|
|
290
|
-
/** Error */
|
|
291
|
-
KnownAutomatedCheckResultType["Error"] = "Error";
|
|
292
|
-
/** Information */
|
|
293
|
-
KnownAutomatedCheckResultType["Information"] = "Information";
|
|
294
|
-
})(exports.KnownAutomatedCheckResultType || (exports.KnownAutomatedCheckResultType = {}));
|
|
295
|
-
|
|
296
|
-
/*
|
|
297
|
-
* Copyright (c) Microsoft Corporation.
|
|
298
|
-
* Licensed under the MIT License.
|
|
299
|
-
*
|
|
300
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
301
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
302
|
-
*/
|
|
303
|
-
const OperationListResult = {
|
|
304
|
-
type: {
|
|
305
|
-
name: "Composite",
|
|
306
|
-
className: "OperationListResult",
|
|
307
|
-
modelProperties: {
|
|
308
|
-
value: {
|
|
309
|
-
serializedName: "value",
|
|
310
|
-
readOnly: true,
|
|
311
|
-
type: {
|
|
312
|
-
name: "Sequence",
|
|
313
|
-
element: {
|
|
314
|
-
type: {
|
|
315
|
-
name: "Composite",
|
|
316
|
-
className: "Operation",
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
},
|
|
320
|
-
},
|
|
321
|
-
nextLink: {
|
|
322
|
-
serializedName: "nextLink",
|
|
323
|
-
readOnly: true,
|
|
324
|
-
type: {
|
|
325
|
-
name: "String",
|
|
326
|
-
},
|
|
327
|
-
},
|
|
328
|
-
},
|
|
329
|
-
},
|
|
330
|
-
};
|
|
331
|
-
const Operation = {
|
|
332
|
-
type: {
|
|
333
|
-
name: "Composite",
|
|
334
|
-
className: "Operation",
|
|
335
|
-
modelProperties: {
|
|
336
|
-
name: {
|
|
337
|
-
serializedName: "name",
|
|
338
|
-
readOnly: true,
|
|
339
|
-
type: {
|
|
340
|
-
name: "String",
|
|
341
|
-
},
|
|
342
|
-
},
|
|
343
|
-
isDataAction: {
|
|
344
|
-
serializedName: "isDataAction",
|
|
345
|
-
readOnly: true,
|
|
346
|
-
type: {
|
|
347
|
-
name: "Boolean",
|
|
348
|
-
},
|
|
349
|
-
},
|
|
350
|
-
display: {
|
|
351
|
-
serializedName: "display",
|
|
352
|
-
type: {
|
|
353
|
-
name: "Composite",
|
|
354
|
-
className: "OperationDisplay",
|
|
355
|
-
},
|
|
356
|
-
},
|
|
357
|
-
origin: {
|
|
358
|
-
serializedName: "origin",
|
|
359
|
-
readOnly: true,
|
|
360
|
-
type: {
|
|
361
|
-
name: "String",
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
actionType: {
|
|
365
|
-
serializedName: "actionType",
|
|
366
|
-
readOnly: true,
|
|
367
|
-
type: {
|
|
368
|
-
name: "String",
|
|
369
|
-
},
|
|
370
|
-
},
|
|
371
|
-
},
|
|
372
|
-
},
|
|
373
|
-
};
|
|
374
|
-
const OperationDisplay = {
|
|
375
|
-
type: {
|
|
376
|
-
name: "Composite",
|
|
377
|
-
className: "OperationDisplay",
|
|
378
|
-
modelProperties: {
|
|
379
|
-
provider: {
|
|
380
|
-
serializedName: "provider",
|
|
381
|
-
readOnly: true,
|
|
382
|
-
type: {
|
|
383
|
-
name: "String",
|
|
384
|
-
},
|
|
385
|
-
},
|
|
386
|
-
resource: {
|
|
387
|
-
serializedName: "resource",
|
|
388
|
-
readOnly: true,
|
|
389
|
-
type: {
|
|
390
|
-
name: "String",
|
|
391
|
-
},
|
|
392
|
-
},
|
|
393
|
-
operation: {
|
|
394
|
-
serializedName: "operation",
|
|
395
|
-
readOnly: true,
|
|
396
|
-
type: {
|
|
397
|
-
name: "String",
|
|
398
|
-
},
|
|
399
|
-
},
|
|
400
|
-
description: {
|
|
401
|
-
serializedName: "description",
|
|
402
|
-
readOnly: true,
|
|
403
|
-
type: {
|
|
404
|
-
name: "String",
|
|
405
|
-
},
|
|
406
|
-
},
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
};
|
|
410
|
-
const ErrorResponse = {
|
|
411
|
-
type: {
|
|
412
|
-
name: "Composite",
|
|
413
|
-
className: "ErrorResponse",
|
|
414
|
-
modelProperties: {
|
|
415
|
-
error: {
|
|
416
|
-
serializedName: "error",
|
|
417
|
-
type: {
|
|
418
|
-
name: "Composite",
|
|
419
|
-
className: "ErrorDetail",
|
|
420
|
-
},
|
|
421
|
-
},
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
};
|
|
425
|
-
const ErrorDetail = {
|
|
426
|
-
type: {
|
|
427
|
-
name: "Composite",
|
|
428
|
-
className: "ErrorDetail",
|
|
429
|
-
modelProperties: {
|
|
430
|
-
code: {
|
|
431
|
-
serializedName: "code",
|
|
432
|
-
readOnly: true,
|
|
433
|
-
type: {
|
|
434
|
-
name: "String",
|
|
435
|
-
},
|
|
436
|
-
},
|
|
437
|
-
message: {
|
|
438
|
-
serializedName: "message",
|
|
439
|
-
readOnly: true,
|
|
440
|
-
type: {
|
|
441
|
-
name: "String",
|
|
442
|
-
},
|
|
443
|
-
},
|
|
444
|
-
target: {
|
|
445
|
-
serializedName: "target",
|
|
446
|
-
readOnly: true,
|
|
447
|
-
type: {
|
|
448
|
-
name: "String",
|
|
449
|
-
},
|
|
450
|
-
},
|
|
451
|
-
details: {
|
|
452
|
-
serializedName: "details",
|
|
453
|
-
readOnly: true,
|
|
454
|
-
type: {
|
|
455
|
-
name: "Sequence",
|
|
456
|
-
element: {
|
|
457
|
-
type: {
|
|
458
|
-
name: "Composite",
|
|
459
|
-
className: "ErrorDetail",
|
|
460
|
-
},
|
|
461
|
-
},
|
|
462
|
-
},
|
|
463
|
-
},
|
|
464
|
-
additionalInfo: {
|
|
465
|
-
serializedName: "additionalInfo",
|
|
466
|
-
readOnly: true,
|
|
467
|
-
type: {
|
|
468
|
-
name: "Sequence",
|
|
469
|
-
element: {
|
|
470
|
-
type: {
|
|
471
|
-
name: "Composite",
|
|
472
|
-
className: "ErrorAdditionalInfo",
|
|
473
|
-
},
|
|
474
|
-
},
|
|
475
|
-
},
|
|
476
|
-
},
|
|
477
|
-
},
|
|
478
|
-
},
|
|
479
|
-
};
|
|
480
|
-
const ErrorAdditionalInfo = {
|
|
481
|
-
type: {
|
|
482
|
-
name: "Composite",
|
|
483
|
-
className: "ErrorAdditionalInfo",
|
|
484
|
-
modelProperties: {
|
|
485
|
-
type: {
|
|
486
|
-
serializedName: "type",
|
|
487
|
-
readOnly: true,
|
|
488
|
-
type: {
|
|
489
|
-
name: "String",
|
|
490
|
-
},
|
|
491
|
-
},
|
|
492
|
-
info: {
|
|
493
|
-
serializedName: "info",
|
|
494
|
-
readOnly: true,
|
|
495
|
-
type: {
|
|
496
|
-
name: "Dictionary",
|
|
497
|
-
value: { type: { name: "any" } },
|
|
498
|
-
},
|
|
499
|
-
},
|
|
500
|
-
},
|
|
501
|
-
},
|
|
502
|
-
};
|
|
503
|
-
const CheckNameAvailabilityRequest = {
|
|
504
|
-
type: {
|
|
505
|
-
name: "Composite",
|
|
506
|
-
className: "CheckNameAvailabilityRequest",
|
|
507
|
-
modelProperties: {
|
|
508
|
-
name: {
|
|
509
|
-
serializedName: "name",
|
|
510
|
-
type: {
|
|
511
|
-
name: "String",
|
|
512
|
-
},
|
|
513
|
-
},
|
|
514
|
-
type: {
|
|
515
|
-
serializedName: "type",
|
|
516
|
-
type: {
|
|
517
|
-
name: "String",
|
|
518
|
-
},
|
|
519
|
-
},
|
|
520
|
-
},
|
|
521
|
-
},
|
|
522
|
-
};
|
|
523
|
-
const CheckNameAvailabilityResponse = {
|
|
524
|
-
type: {
|
|
525
|
-
name: "Composite",
|
|
526
|
-
className: "CheckNameAvailabilityResponse",
|
|
527
|
-
modelProperties: {
|
|
528
|
-
nameAvailable: {
|
|
529
|
-
serializedName: "nameAvailable",
|
|
530
|
-
type: {
|
|
531
|
-
name: "Boolean",
|
|
532
|
-
},
|
|
533
|
-
},
|
|
534
|
-
reason: {
|
|
535
|
-
serializedName: "reason",
|
|
536
|
-
type: {
|
|
537
|
-
name: "String",
|
|
538
|
-
},
|
|
539
|
-
},
|
|
540
|
-
message: {
|
|
541
|
-
serializedName: "message",
|
|
542
|
-
type: {
|
|
543
|
-
name: "String",
|
|
544
|
-
},
|
|
545
|
-
},
|
|
546
|
-
},
|
|
547
|
-
},
|
|
548
|
-
};
|
|
549
|
-
const DiagnosticInvocation = {
|
|
550
|
-
type: {
|
|
551
|
-
name: "Composite",
|
|
552
|
-
className: "DiagnosticInvocation",
|
|
553
|
-
modelProperties: {
|
|
554
|
-
solutionId: {
|
|
555
|
-
serializedName: "solutionId",
|
|
556
|
-
type: {
|
|
557
|
-
name: "String",
|
|
558
|
-
},
|
|
559
|
-
},
|
|
560
|
-
additionalParameters: {
|
|
561
|
-
serializedName: "additionalParameters",
|
|
562
|
-
type: {
|
|
563
|
-
name: "Dictionary",
|
|
564
|
-
value: { type: { name: "String" } },
|
|
565
|
-
},
|
|
566
|
-
},
|
|
567
|
-
},
|
|
568
|
-
},
|
|
569
|
-
};
|
|
570
|
-
const Diagnostic = {
|
|
571
|
-
type: {
|
|
572
|
-
name: "Composite",
|
|
573
|
-
className: "Diagnostic",
|
|
574
|
-
modelProperties: {
|
|
575
|
-
solutionId: {
|
|
576
|
-
serializedName: "solutionId",
|
|
577
|
-
type: {
|
|
578
|
-
name: "String",
|
|
579
|
-
},
|
|
580
|
-
},
|
|
581
|
-
status: {
|
|
582
|
-
serializedName: "status",
|
|
583
|
-
type: {
|
|
584
|
-
name: "String",
|
|
585
|
-
},
|
|
586
|
-
},
|
|
587
|
-
insights: {
|
|
588
|
-
serializedName: "insights",
|
|
589
|
-
type: {
|
|
590
|
-
name: "Sequence",
|
|
591
|
-
element: {
|
|
592
|
-
type: {
|
|
593
|
-
name: "Composite",
|
|
594
|
-
className: "Insight",
|
|
595
|
-
},
|
|
596
|
-
},
|
|
597
|
-
},
|
|
598
|
-
},
|
|
599
|
-
error: {
|
|
600
|
-
serializedName: "error",
|
|
601
|
-
type: {
|
|
602
|
-
name: "Composite",
|
|
603
|
-
className: "ErrorModel",
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
},
|
|
607
|
-
},
|
|
608
|
-
};
|
|
609
|
-
const Insight = {
|
|
610
|
-
type: {
|
|
611
|
-
name: "Composite",
|
|
612
|
-
className: "Insight",
|
|
613
|
-
modelProperties: {
|
|
614
|
-
id: {
|
|
615
|
-
serializedName: "id",
|
|
616
|
-
type: {
|
|
617
|
-
name: "String",
|
|
618
|
-
},
|
|
619
|
-
},
|
|
620
|
-
title: {
|
|
621
|
-
serializedName: "title",
|
|
622
|
-
type: {
|
|
623
|
-
name: "String",
|
|
624
|
-
},
|
|
625
|
-
},
|
|
626
|
-
results: {
|
|
627
|
-
serializedName: "results",
|
|
628
|
-
type: {
|
|
629
|
-
name: "String",
|
|
630
|
-
},
|
|
631
|
-
},
|
|
632
|
-
importanceLevel: {
|
|
633
|
-
serializedName: "importanceLevel",
|
|
634
|
-
type: {
|
|
635
|
-
name: "String",
|
|
636
|
-
},
|
|
637
|
-
},
|
|
638
|
-
},
|
|
639
|
-
},
|
|
640
|
-
};
|
|
641
|
-
const ErrorModel = {
|
|
642
|
-
type: {
|
|
643
|
-
name: "Composite",
|
|
644
|
-
className: "ErrorModel",
|
|
645
|
-
modelProperties: {
|
|
646
|
-
code: {
|
|
647
|
-
serializedName: "code",
|
|
648
|
-
readOnly: true,
|
|
649
|
-
type: {
|
|
650
|
-
name: "String",
|
|
651
|
-
},
|
|
652
|
-
},
|
|
653
|
-
type: {
|
|
654
|
-
serializedName: "type",
|
|
655
|
-
readOnly: true,
|
|
656
|
-
type: {
|
|
657
|
-
name: "String",
|
|
658
|
-
},
|
|
659
|
-
},
|
|
660
|
-
message: {
|
|
661
|
-
serializedName: "message",
|
|
662
|
-
readOnly: true,
|
|
663
|
-
type: {
|
|
664
|
-
name: "String",
|
|
665
|
-
},
|
|
666
|
-
},
|
|
667
|
-
details: {
|
|
668
|
-
serializedName: "details",
|
|
669
|
-
type: {
|
|
670
|
-
name: "Sequence",
|
|
671
|
-
element: {
|
|
672
|
-
type: {
|
|
673
|
-
name: "Composite",
|
|
674
|
-
className: "ErrorModel",
|
|
675
|
-
},
|
|
676
|
-
},
|
|
677
|
-
},
|
|
678
|
-
},
|
|
679
|
-
},
|
|
680
|
-
},
|
|
681
|
-
};
|
|
682
|
-
const Resource = {
|
|
683
|
-
type: {
|
|
684
|
-
name: "Composite",
|
|
685
|
-
className: "Resource",
|
|
686
|
-
modelProperties: {
|
|
687
|
-
id: {
|
|
688
|
-
serializedName: "id",
|
|
689
|
-
readOnly: true,
|
|
690
|
-
type: {
|
|
691
|
-
name: "String",
|
|
692
|
-
},
|
|
693
|
-
},
|
|
694
|
-
name: {
|
|
695
|
-
serializedName: "name",
|
|
696
|
-
readOnly: true,
|
|
697
|
-
type: {
|
|
698
|
-
name: "String",
|
|
699
|
-
},
|
|
700
|
-
},
|
|
701
|
-
type: {
|
|
702
|
-
serializedName: "type",
|
|
703
|
-
readOnly: true,
|
|
704
|
-
type: {
|
|
705
|
-
name: "String",
|
|
706
|
-
},
|
|
707
|
-
},
|
|
708
|
-
systemData: {
|
|
709
|
-
serializedName: "systemData",
|
|
710
|
-
type: {
|
|
711
|
-
name: "Composite",
|
|
712
|
-
className: "SystemData",
|
|
713
|
-
},
|
|
714
|
-
},
|
|
715
|
-
},
|
|
716
|
-
},
|
|
717
|
-
};
|
|
718
|
-
const SystemData = {
|
|
719
|
-
type: {
|
|
720
|
-
name: "Composite",
|
|
721
|
-
className: "SystemData",
|
|
722
|
-
modelProperties: {
|
|
723
|
-
createdBy: {
|
|
724
|
-
serializedName: "createdBy",
|
|
725
|
-
type: {
|
|
726
|
-
name: "String",
|
|
727
|
-
},
|
|
728
|
-
},
|
|
729
|
-
createdByType: {
|
|
730
|
-
serializedName: "createdByType",
|
|
731
|
-
type: {
|
|
732
|
-
name: "String",
|
|
733
|
-
},
|
|
734
|
-
},
|
|
735
|
-
createdAt: {
|
|
736
|
-
serializedName: "createdAt",
|
|
737
|
-
type: {
|
|
738
|
-
name: "DateTime",
|
|
739
|
-
},
|
|
740
|
-
},
|
|
741
|
-
lastModifiedBy: {
|
|
742
|
-
serializedName: "lastModifiedBy",
|
|
743
|
-
type: {
|
|
744
|
-
name: "String",
|
|
745
|
-
},
|
|
746
|
-
},
|
|
747
|
-
lastModifiedByType: {
|
|
748
|
-
serializedName: "lastModifiedByType",
|
|
749
|
-
type: {
|
|
750
|
-
name: "String",
|
|
751
|
-
},
|
|
752
|
-
},
|
|
753
|
-
lastModifiedAt: {
|
|
754
|
-
serializedName: "lastModifiedAt",
|
|
755
|
-
type: {
|
|
756
|
-
name: "DateTime",
|
|
757
|
-
},
|
|
758
|
-
},
|
|
759
|
-
},
|
|
760
|
-
},
|
|
761
|
-
};
|
|
762
|
-
const DiscoveryResponse = {
|
|
763
|
-
type: {
|
|
764
|
-
name: "Composite",
|
|
765
|
-
className: "DiscoveryResponse",
|
|
766
|
-
modelProperties: {
|
|
767
|
-
value: {
|
|
768
|
-
serializedName: "value",
|
|
769
|
-
type: {
|
|
770
|
-
name: "Sequence",
|
|
771
|
-
element: {
|
|
772
|
-
type: {
|
|
773
|
-
name: "Composite",
|
|
774
|
-
className: "SolutionMetadataResource",
|
|
775
|
-
},
|
|
776
|
-
},
|
|
777
|
-
},
|
|
778
|
-
},
|
|
779
|
-
nextLink: {
|
|
780
|
-
serializedName: "nextLink",
|
|
781
|
-
type: {
|
|
782
|
-
name: "String",
|
|
783
|
-
},
|
|
784
|
-
},
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
};
|
|
788
|
-
const SolutionMetadataProperties = {
|
|
789
|
-
type: {
|
|
790
|
-
name: "Composite",
|
|
791
|
-
className: "SolutionMetadataProperties",
|
|
792
|
-
modelProperties: {
|
|
793
|
-
solutionId: {
|
|
794
|
-
serializedName: "solutionId",
|
|
795
|
-
type: {
|
|
796
|
-
name: "String",
|
|
797
|
-
},
|
|
798
|
-
},
|
|
799
|
-
solutionType: {
|
|
800
|
-
serializedName: "solutionType",
|
|
801
|
-
readOnly: true,
|
|
802
|
-
type: {
|
|
803
|
-
name: "String",
|
|
804
|
-
},
|
|
805
|
-
},
|
|
806
|
-
description: {
|
|
807
|
-
serializedName: "description",
|
|
808
|
-
readOnly: true,
|
|
809
|
-
type: {
|
|
810
|
-
name: "String",
|
|
811
|
-
},
|
|
812
|
-
},
|
|
813
|
-
requiredInputs: {
|
|
814
|
-
serializedName: "requiredInputs",
|
|
815
|
-
readOnly: true,
|
|
816
|
-
type: {
|
|
817
|
-
name: "Sequence",
|
|
818
|
-
element: {
|
|
819
|
-
type: {
|
|
820
|
-
name: "String",
|
|
821
|
-
},
|
|
822
|
-
},
|
|
823
|
-
},
|
|
824
|
-
},
|
|
825
|
-
},
|
|
826
|
-
},
|
|
827
|
-
};
|
|
828
|
-
const TriggerCriterion = {
|
|
829
|
-
type: {
|
|
830
|
-
name: "Composite",
|
|
831
|
-
className: "TriggerCriterion",
|
|
832
|
-
modelProperties: {
|
|
833
|
-
name: {
|
|
834
|
-
serializedName: "name",
|
|
835
|
-
type: {
|
|
836
|
-
name: "String",
|
|
837
|
-
},
|
|
838
|
-
},
|
|
839
|
-
value: {
|
|
840
|
-
serializedName: "value",
|
|
841
|
-
type: {
|
|
842
|
-
name: "String",
|
|
843
|
-
},
|
|
844
|
-
},
|
|
845
|
-
},
|
|
846
|
-
},
|
|
847
|
-
};
|
|
848
|
-
const ReplacementMaps = {
|
|
849
|
-
type: {
|
|
850
|
-
name: "Composite",
|
|
851
|
-
className: "ReplacementMaps",
|
|
852
|
-
modelProperties: {
|
|
853
|
-
webResults: {
|
|
854
|
-
serializedName: "webResults",
|
|
855
|
-
type: {
|
|
856
|
-
name: "Sequence",
|
|
857
|
-
element: {
|
|
858
|
-
type: {
|
|
859
|
-
name: "Composite",
|
|
860
|
-
className: "WebResult",
|
|
861
|
-
},
|
|
862
|
-
},
|
|
863
|
-
},
|
|
864
|
-
},
|
|
865
|
-
diagnostics: {
|
|
866
|
-
serializedName: "diagnostics",
|
|
867
|
-
type: {
|
|
868
|
-
name: "Sequence",
|
|
869
|
-
element: {
|
|
870
|
-
type: {
|
|
871
|
-
name: "Composite",
|
|
872
|
-
className: "SolutionsDiagnostic",
|
|
873
|
-
},
|
|
874
|
-
},
|
|
875
|
-
},
|
|
876
|
-
},
|
|
877
|
-
troubleshooters: {
|
|
878
|
-
serializedName: "troubleshooters",
|
|
879
|
-
type: {
|
|
880
|
-
name: "Sequence",
|
|
881
|
-
element: {
|
|
882
|
-
type: {
|
|
883
|
-
name: "Composite",
|
|
884
|
-
className: "SolutionsTroubleshooters",
|
|
885
|
-
},
|
|
886
|
-
},
|
|
887
|
-
},
|
|
888
|
-
},
|
|
889
|
-
metricsBasedCharts: {
|
|
890
|
-
serializedName: "metricsBasedCharts",
|
|
891
|
-
type: {
|
|
892
|
-
name: "Sequence",
|
|
893
|
-
element: {
|
|
894
|
-
type: {
|
|
895
|
-
name: "Composite",
|
|
896
|
-
className: "MetricsBasedChart",
|
|
897
|
-
},
|
|
898
|
-
},
|
|
899
|
-
},
|
|
900
|
-
},
|
|
901
|
-
videos: {
|
|
902
|
-
serializedName: "videos",
|
|
903
|
-
type: {
|
|
904
|
-
name: "Sequence",
|
|
905
|
-
element: {
|
|
906
|
-
type: {
|
|
907
|
-
name: "Composite",
|
|
908
|
-
className: "Video",
|
|
909
|
-
},
|
|
910
|
-
},
|
|
911
|
-
},
|
|
912
|
-
},
|
|
913
|
-
videoGroups: {
|
|
914
|
-
serializedName: "videoGroups",
|
|
915
|
-
type: {
|
|
916
|
-
name: "Sequence",
|
|
917
|
-
element: {
|
|
918
|
-
type: {
|
|
919
|
-
name: "Composite",
|
|
920
|
-
className: "VideoGroup",
|
|
921
|
-
},
|
|
922
|
-
},
|
|
923
|
-
},
|
|
924
|
-
},
|
|
925
|
-
},
|
|
926
|
-
},
|
|
927
|
-
};
|
|
928
|
-
const WebResult = {
|
|
929
|
-
type: {
|
|
930
|
-
name: "Composite",
|
|
931
|
-
className: "WebResult",
|
|
932
|
-
modelProperties: {
|
|
933
|
-
replacementKey: {
|
|
934
|
-
serializedName: "replacementKey",
|
|
935
|
-
type: {
|
|
936
|
-
name: "String",
|
|
937
|
-
},
|
|
938
|
-
},
|
|
939
|
-
searchResults: {
|
|
940
|
-
serializedName: "searchResults",
|
|
941
|
-
type: {
|
|
942
|
-
name: "Sequence",
|
|
943
|
-
element: {
|
|
944
|
-
type: {
|
|
945
|
-
name: "Composite",
|
|
946
|
-
className: "SearchResult",
|
|
947
|
-
},
|
|
948
|
-
},
|
|
949
|
-
},
|
|
950
|
-
},
|
|
951
|
-
},
|
|
952
|
-
},
|
|
953
|
-
};
|
|
954
|
-
const SearchResult = {
|
|
955
|
-
type: {
|
|
956
|
-
name: "Composite",
|
|
957
|
-
className: "SearchResult",
|
|
958
|
-
modelProperties: {
|
|
959
|
-
solutionId: {
|
|
960
|
-
serializedName: "solutionId",
|
|
961
|
-
type: {
|
|
962
|
-
name: "String",
|
|
963
|
-
},
|
|
964
|
-
},
|
|
965
|
-
content: {
|
|
966
|
-
serializedName: "content",
|
|
967
|
-
type: {
|
|
968
|
-
name: "String",
|
|
969
|
-
},
|
|
970
|
-
},
|
|
971
|
-
title: {
|
|
972
|
-
serializedName: "title",
|
|
973
|
-
type: {
|
|
974
|
-
name: "String",
|
|
975
|
-
},
|
|
976
|
-
},
|
|
977
|
-
confidence: {
|
|
978
|
-
serializedName: "confidence",
|
|
979
|
-
type: {
|
|
980
|
-
name: "String",
|
|
981
|
-
},
|
|
982
|
-
},
|
|
983
|
-
source: {
|
|
984
|
-
serializedName: "source",
|
|
985
|
-
type: {
|
|
986
|
-
name: "String",
|
|
987
|
-
},
|
|
988
|
-
},
|
|
989
|
-
resultType: {
|
|
990
|
-
serializedName: "resultType",
|
|
991
|
-
type: {
|
|
992
|
-
name: "String",
|
|
993
|
-
},
|
|
994
|
-
},
|
|
995
|
-
rank: {
|
|
996
|
-
serializedName: "rank",
|
|
997
|
-
type: {
|
|
998
|
-
name: "Number",
|
|
999
|
-
},
|
|
1000
|
-
},
|
|
1001
|
-
link: {
|
|
1002
|
-
serializedName: "link",
|
|
1003
|
-
type: {
|
|
1004
|
-
name: "String",
|
|
1005
|
-
},
|
|
1006
|
-
},
|
|
1007
|
-
},
|
|
1008
|
-
},
|
|
1009
|
-
};
|
|
1010
|
-
const SolutionsDiagnostic = {
|
|
1011
|
-
type: {
|
|
1012
|
-
name: "Composite",
|
|
1013
|
-
className: "SolutionsDiagnostic",
|
|
1014
|
-
modelProperties: {
|
|
1015
|
-
solutionId: {
|
|
1016
|
-
serializedName: "solutionId",
|
|
1017
|
-
type: {
|
|
1018
|
-
name: "String",
|
|
1019
|
-
},
|
|
1020
|
-
},
|
|
1021
|
-
status: {
|
|
1022
|
-
serializedName: "status",
|
|
1023
|
-
type: {
|
|
1024
|
-
name: "String",
|
|
1025
|
-
},
|
|
1026
|
-
},
|
|
1027
|
-
statusDetails: {
|
|
1028
|
-
serializedName: "statusDetails",
|
|
1029
|
-
type: {
|
|
1030
|
-
name: "String",
|
|
1031
|
-
},
|
|
1032
|
-
},
|
|
1033
|
-
replacementKey: {
|
|
1034
|
-
serializedName: "replacementKey",
|
|
1035
|
-
type: {
|
|
1036
|
-
name: "String",
|
|
1037
|
-
},
|
|
1038
|
-
},
|
|
1039
|
-
estimatedCompletionTime: {
|
|
1040
|
-
serializedName: "estimatedCompletionTime",
|
|
1041
|
-
type: {
|
|
1042
|
-
name: "String",
|
|
1043
|
-
},
|
|
1044
|
-
},
|
|
1045
|
-
requiredParameters: {
|
|
1046
|
-
serializedName: "requiredParameters",
|
|
1047
|
-
type: {
|
|
1048
|
-
name: "Sequence",
|
|
1049
|
-
element: {
|
|
1050
|
-
type: {
|
|
1051
|
-
name: "String",
|
|
1052
|
-
},
|
|
1053
|
-
},
|
|
1054
|
-
},
|
|
1055
|
-
},
|
|
1056
|
-
insights: {
|
|
1057
|
-
serializedName: "insights",
|
|
1058
|
-
type: {
|
|
1059
|
-
name: "Sequence",
|
|
1060
|
-
element: {
|
|
1061
|
-
type: {
|
|
1062
|
-
name: "Composite",
|
|
1063
|
-
className: "Insight",
|
|
1064
|
-
},
|
|
1065
|
-
},
|
|
1066
|
-
},
|
|
1067
|
-
},
|
|
1068
|
-
},
|
|
1069
|
-
},
|
|
1070
|
-
};
|
|
1071
|
-
const SolutionsTroubleshooters = {
|
|
1072
|
-
type: {
|
|
1073
|
-
name: "Composite",
|
|
1074
|
-
className: "SolutionsTroubleshooters",
|
|
1075
|
-
modelProperties: {
|
|
1076
|
-
solutionId: {
|
|
1077
|
-
serializedName: "solutionId",
|
|
1078
|
-
type: {
|
|
1079
|
-
name: "String",
|
|
1080
|
-
},
|
|
1081
|
-
},
|
|
1082
|
-
title: {
|
|
1083
|
-
serializedName: "title",
|
|
1084
|
-
type: {
|
|
1085
|
-
name: "String",
|
|
1086
|
-
},
|
|
1087
|
-
},
|
|
1088
|
-
summary: {
|
|
1089
|
-
serializedName: "summary",
|
|
1090
|
-
type: {
|
|
1091
|
-
name: "String",
|
|
1092
|
-
},
|
|
1093
|
-
},
|
|
1094
|
-
},
|
|
1095
|
-
},
|
|
1096
|
-
};
|
|
1097
|
-
const MetricsBasedChart = {
|
|
1098
|
-
type: {
|
|
1099
|
-
name: "Composite",
|
|
1100
|
-
className: "MetricsBasedChart",
|
|
1101
|
-
modelProperties: {
|
|
1102
|
-
name: {
|
|
1103
|
-
serializedName: "name",
|
|
1104
|
-
type: {
|
|
1105
|
-
name: "String",
|
|
1106
|
-
},
|
|
1107
|
-
},
|
|
1108
|
-
aggregationType: {
|
|
1109
|
-
serializedName: "aggregationType",
|
|
1110
|
-
type: {
|
|
1111
|
-
name: "String",
|
|
1112
|
-
},
|
|
1113
|
-
},
|
|
1114
|
-
timeSpanDuration: {
|
|
1115
|
-
serializedName: "timeSpanDuration",
|
|
1116
|
-
type: {
|
|
1117
|
-
name: "String",
|
|
1118
|
-
},
|
|
1119
|
-
},
|
|
1120
|
-
title: {
|
|
1121
|
-
serializedName: "title",
|
|
1122
|
-
type: {
|
|
1123
|
-
name: "String",
|
|
1124
|
-
},
|
|
1125
|
-
},
|
|
1126
|
-
filterGroup: {
|
|
1127
|
-
serializedName: "filterGroup",
|
|
1128
|
-
type: {
|
|
1129
|
-
name: "Composite",
|
|
1130
|
-
className: "FilterGroup",
|
|
1131
|
-
},
|
|
1132
|
-
},
|
|
1133
|
-
replacementKey: {
|
|
1134
|
-
serializedName: "replacementKey",
|
|
1135
|
-
type: {
|
|
1136
|
-
name: "String",
|
|
1137
|
-
},
|
|
1138
|
-
},
|
|
1139
|
-
},
|
|
1140
|
-
},
|
|
1141
|
-
};
|
|
1142
|
-
const FilterGroup = {
|
|
1143
|
-
type: {
|
|
1144
|
-
name: "Composite",
|
|
1145
|
-
className: "FilterGroup",
|
|
1146
|
-
modelProperties: {
|
|
1147
|
-
filter: {
|
|
1148
|
-
serializedName: "filter",
|
|
1149
|
-
type: {
|
|
1150
|
-
name: "Sequence",
|
|
1151
|
-
element: {
|
|
1152
|
-
type: {
|
|
1153
|
-
name: "Composite",
|
|
1154
|
-
className: "Filter",
|
|
1155
|
-
},
|
|
1156
|
-
},
|
|
1157
|
-
},
|
|
1158
|
-
},
|
|
1159
|
-
},
|
|
1160
|
-
},
|
|
1161
|
-
};
|
|
1162
|
-
const Filter = {
|
|
1163
|
-
type: {
|
|
1164
|
-
name: "Composite",
|
|
1165
|
-
className: "Filter",
|
|
1166
|
-
modelProperties: {
|
|
1167
|
-
name: {
|
|
1168
|
-
serializedName: "name",
|
|
1169
|
-
type: {
|
|
1170
|
-
name: "String",
|
|
1171
|
-
},
|
|
1172
|
-
},
|
|
1173
|
-
values: {
|
|
1174
|
-
serializedName: "values",
|
|
1175
|
-
type: {
|
|
1176
|
-
name: "String",
|
|
1177
|
-
},
|
|
1178
|
-
},
|
|
1179
|
-
operator: {
|
|
1180
|
-
serializedName: "operator",
|
|
1181
|
-
type: {
|
|
1182
|
-
name: "String",
|
|
1183
|
-
},
|
|
1184
|
-
},
|
|
1185
|
-
},
|
|
1186
|
-
},
|
|
1187
|
-
};
|
|
1188
|
-
const VideoGroupVideo = {
|
|
1189
|
-
type: {
|
|
1190
|
-
name: "Composite",
|
|
1191
|
-
className: "VideoGroupVideo",
|
|
1192
|
-
modelProperties: {
|
|
1193
|
-
src: {
|
|
1194
|
-
serializedName: "src",
|
|
1195
|
-
type: {
|
|
1196
|
-
name: "String",
|
|
1197
|
-
},
|
|
1198
|
-
},
|
|
1199
|
-
title: {
|
|
1200
|
-
serializedName: "title",
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String",
|
|
1203
|
-
},
|
|
1204
|
-
},
|
|
1205
|
-
},
|
|
1206
|
-
},
|
|
1207
|
-
};
|
|
1208
|
-
const VideoGroup = {
|
|
1209
|
-
type: {
|
|
1210
|
-
name: "Composite",
|
|
1211
|
-
className: "VideoGroup",
|
|
1212
|
-
modelProperties: {
|
|
1213
|
-
videos: {
|
|
1214
|
-
serializedName: "videos",
|
|
1215
|
-
type: {
|
|
1216
|
-
name: "Sequence",
|
|
1217
|
-
element: {
|
|
1218
|
-
type: {
|
|
1219
|
-
name: "Composite",
|
|
1220
|
-
className: "VideoGroupVideo",
|
|
1221
|
-
},
|
|
1222
|
-
},
|
|
1223
|
-
},
|
|
1224
|
-
},
|
|
1225
|
-
replacementKey: {
|
|
1226
|
-
serializedName: "replacementKey",
|
|
1227
|
-
type: {
|
|
1228
|
-
name: "String",
|
|
1229
|
-
},
|
|
1230
|
-
},
|
|
1231
|
-
},
|
|
1232
|
-
},
|
|
1233
|
-
};
|
|
1234
|
-
const Section = {
|
|
1235
|
-
type: {
|
|
1236
|
-
name: "Composite",
|
|
1237
|
-
className: "Section",
|
|
1238
|
-
modelProperties: {
|
|
1239
|
-
title: {
|
|
1240
|
-
serializedName: "title",
|
|
1241
|
-
type: {
|
|
1242
|
-
name: "String",
|
|
1243
|
-
},
|
|
1244
|
-
},
|
|
1245
|
-
content: {
|
|
1246
|
-
serializedName: "content",
|
|
1247
|
-
type: {
|
|
1248
|
-
name: "String",
|
|
1249
|
-
},
|
|
1250
|
-
},
|
|
1251
|
-
replacementMaps: {
|
|
1252
|
-
serializedName: "replacementMaps",
|
|
1253
|
-
type: {
|
|
1254
|
-
name: "Composite",
|
|
1255
|
-
className: "ReplacementMaps",
|
|
1256
|
-
},
|
|
1257
|
-
},
|
|
1258
|
-
},
|
|
1259
|
-
},
|
|
1260
|
-
};
|
|
1261
|
-
const SolutionPatchRequestBody = {
|
|
1262
|
-
type: {
|
|
1263
|
-
name: "Composite",
|
|
1264
|
-
className: "SolutionPatchRequestBody",
|
|
1265
|
-
modelProperties: {
|
|
1266
|
-
triggerCriteria: {
|
|
1267
|
-
serializedName: "properties.triggerCriteria",
|
|
1268
|
-
type: {
|
|
1269
|
-
name: "Sequence",
|
|
1270
|
-
element: {
|
|
1271
|
-
type: {
|
|
1272
|
-
name: "Composite",
|
|
1273
|
-
className: "TriggerCriterion",
|
|
1274
|
-
},
|
|
1275
|
-
},
|
|
1276
|
-
},
|
|
1277
|
-
},
|
|
1278
|
-
parameters: {
|
|
1279
|
-
serializedName: "properties.parameters",
|
|
1280
|
-
type: {
|
|
1281
|
-
name: "Dictionary",
|
|
1282
|
-
value: { type: { name: "String" } },
|
|
1283
|
-
},
|
|
1284
|
-
},
|
|
1285
|
-
solutionId: {
|
|
1286
|
-
serializedName: "properties.solutionId",
|
|
1287
|
-
readOnly: true,
|
|
1288
|
-
type: {
|
|
1289
|
-
name: "String",
|
|
1290
|
-
},
|
|
1291
|
-
},
|
|
1292
|
-
provisioningState: {
|
|
1293
|
-
serializedName: "properties.provisioningState",
|
|
1294
|
-
readOnly: true,
|
|
1295
|
-
type: {
|
|
1296
|
-
name: "String",
|
|
1297
|
-
},
|
|
1298
|
-
},
|
|
1299
|
-
title: {
|
|
1300
|
-
serializedName: "properties.title",
|
|
1301
|
-
readOnly: true,
|
|
1302
|
-
type: {
|
|
1303
|
-
name: "String",
|
|
1304
|
-
},
|
|
1305
|
-
},
|
|
1306
|
-
content: {
|
|
1307
|
-
serializedName: "properties.content",
|
|
1308
|
-
readOnly: true,
|
|
1309
|
-
type: {
|
|
1310
|
-
name: "String",
|
|
1311
|
-
},
|
|
1312
|
-
},
|
|
1313
|
-
replacementMaps: {
|
|
1314
|
-
serializedName: "properties.replacementMaps",
|
|
1315
|
-
type: {
|
|
1316
|
-
name: "Composite",
|
|
1317
|
-
className: "ReplacementMaps",
|
|
1318
|
-
},
|
|
1319
|
-
},
|
|
1320
|
-
sections: {
|
|
1321
|
-
serializedName: "properties.sections",
|
|
1322
|
-
readOnly: true,
|
|
1323
|
-
type: {
|
|
1324
|
-
name: "Sequence",
|
|
1325
|
-
element: {
|
|
1326
|
-
type: {
|
|
1327
|
-
name: "Composite",
|
|
1328
|
-
className: "Section",
|
|
1329
|
-
},
|
|
1330
|
-
},
|
|
1331
|
-
},
|
|
1332
|
-
},
|
|
1333
|
-
},
|
|
1334
|
-
},
|
|
1335
|
-
};
|
|
1336
|
-
const SolutionWarmUpRequestBody = {
|
|
1337
|
-
type: {
|
|
1338
|
-
name: "Composite",
|
|
1339
|
-
className: "SolutionWarmUpRequestBody",
|
|
1340
|
-
modelProperties: {
|
|
1341
|
-
parameters: {
|
|
1342
|
-
serializedName: "parameters",
|
|
1343
|
-
type: {
|
|
1344
|
-
name: "Dictionary",
|
|
1345
|
-
value: { type: { name: "String" } },
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
1348
|
-
},
|
|
1349
|
-
},
|
|
1350
|
-
};
|
|
1351
|
-
const Step = {
|
|
1352
|
-
type: {
|
|
1353
|
-
name: "Composite",
|
|
1354
|
-
className: "Step",
|
|
1355
|
-
modelProperties: {
|
|
1356
|
-
id: {
|
|
1357
|
-
serializedName: "id",
|
|
1358
|
-
type: {
|
|
1359
|
-
name: "String",
|
|
1360
|
-
},
|
|
1361
|
-
},
|
|
1362
|
-
title: {
|
|
1363
|
-
serializedName: "title",
|
|
1364
|
-
type: {
|
|
1365
|
-
name: "String",
|
|
1366
|
-
},
|
|
1367
|
-
},
|
|
1368
|
-
description: {
|
|
1369
|
-
serializedName: "description",
|
|
1370
|
-
type: {
|
|
1371
|
-
name: "String",
|
|
1372
|
-
},
|
|
1373
|
-
},
|
|
1374
|
-
guidance: {
|
|
1375
|
-
serializedName: "guidance",
|
|
1376
|
-
type: {
|
|
1377
|
-
name: "String",
|
|
1378
|
-
},
|
|
1379
|
-
},
|
|
1380
|
-
executionStatus: {
|
|
1381
|
-
serializedName: "executionStatus",
|
|
1382
|
-
type: {
|
|
1383
|
-
name: "String",
|
|
1384
|
-
},
|
|
1385
|
-
},
|
|
1386
|
-
executionStatusDescription: {
|
|
1387
|
-
serializedName: "executionStatusDescription",
|
|
1388
|
-
type: {
|
|
1389
|
-
name: "String",
|
|
1390
|
-
},
|
|
1391
|
-
},
|
|
1392
|
-
type: {
|
|
1393
|
-
serializedName: "type",
|
|
1394
|
-
type: {
|
|
1395
|
-
name: "String",
|
|
1396
|
-
},
|
|
1397
|
-
},
|
|
1398
|
-
isLastStep: {
|
|
1399
|
-
serializedName: "isLastStep",
|
|
1400
|
-
type: {
|
|
1401
|
-
name: "Boolean",
|
|
1402
|
-
},
|
|
1403
|
-
},
|
|
1404
|
-
inputs: {
|
|
1405
|
-
serializedName: "inputs",
|
|
1406
|
-
type: {
|
|
1407
|
-
name: "Sequence",
|
|
1408
|
-
element: {
|
|
1409
|
-
type: {
|
|
1410
|
-
name: "Composite",
|
|
1411
|
-
className: "StepInput",
|
|
1412
|
-
},
|
|
1413
|
-
},
|
|
1414
|
-
},
|
|
1415
|
-
},
|
|
1416
|
-
automatedCheckResults: {
|
|
1417
|
-
serializedName: "automatedCheckResults",
|
|
1418
|
-
type: {
|
|
1419
|
-
name: "Composite",
|
|
1420
|
-
className: "AutomatedCheckResult",
|
|
1421
|
-
},
|
|
1422
|
-
},
|
|
1423
|
-
insights: {
|
|
1424
|
-
serializedName: "insights",
|
|
1425
|
-
type: {
|
|
1426
|
-
name: "Sequence",
|
|
1427
|
-
element: {
|
|
1428
|
-
type: {
|
|
1429
|
-
name: "Composite",
|
|
1430
|
-
className: "Insight",
|
|
1431
|
-
},
|
|
1432
|
-
},
|
|
1433
|
-
},
|
|
1434
|
-
},
|
|
1435
|
-
error: {
|
|
1436
|
-
serializedName: "error",
|
|
1437
|
-
type: {
|
|
1438
|
-
name: "Composite",
|
|
1439
|
-
className: "ErrorDetail",
|
|
1440
|
-
},
|
|
1441
|
-
},
|
|
1442
|
-
},
|
|
1443
|
-
},
|
|
1444
|
-
};
|
|
1445
|
-
const StepInput = {
|
|
1446
|
-
type: {
|
|
1447
|
-
name: "Composite",
|
|
1448
|
-
className: "StepInput",
|
|
1449
|
-
modelProperties: {
|
|
1450
|
-
questionId: {
|
|
1451
|
-
serializedName: "questionId",
|
|
1452
|
-
type: {
|
|
1453
|
-
name: "String",
|
|
1454
|
-
},
|
|
1455
|
-
},
|
|
1456
|
-
questionType: {
|
|
1457
|
-
serializedName: "questionType",
|
|
1458
|
-
type: {
|
|
1459
|
-
name: "String",
|
|
1460
|
-
},
|
|
1461
|
-
},
|
|
1462
|
-
questionTitle: {
|
|
1463
|
-
serializedName: "questionTitle",
|
|
1464
|
-
type: {
|
|
1465
|
-
name: "String",
|
|
1466
|
-
},
|
|
1467
|
-
},
|
|
1468
|
-
questionContent: {
|
|
1469
|
-
serializedName: "questionContent",
|
|
1470
|
-
type: {
|
|
1471
|
-
name: "String",
|
|
1472
|
-
},
|
|
1473
|
-
},
|
|
1474
|
-
questionContentType: {
|
|
1475
|
-
serializedName: "questionContentType",
|
|
1476
|
-
type: {
|
|
1477
|
-
name: "String",
|
|
1478
|
-
},
|
|
1479
|
-
},
|
|
1480
|
-
responseHint: {
|
|
1481
|
-
serializedName: "responseHint",
|
|
1482
|
-
type: {
|
|
1483
|
-
name: "String",
|
|
1484
|
-
},
|
|
1485
|
-
},
|
|
1486
|
-
recommendedOption: {
|
|
1487
|
-
serializedName: "recommendedOption",
|
|
1488
|
-
type: {
|
|
1489
|
-
name: "String",
|
|
1490
|
-
},
|
|
1491
|
-
},
|
|
1492
|
-
selectedOptionValue: {
|
|
1493
|
-
serializedName: "selectedOptionValue",
|
|
1494
|
-
type: {
|
|
1495
|
-
name: "String",
|
|
1496
|
-
},
|
|
1497
|
-
},
|
|
1498
|
-
responseValidationProperties: {
|
|
1499
|
-
serializedName: "responseValidationProperties",
|
|
1500
|
-
type: {
|
|
1501
|
-
name: "Composite",
|
|
1502
|
-
className: "ResponseValidationProperties",
|
|
1503
|
-
},
|
|
1504
|
-
},
|
|
1505
|
-
responseOptions: {
|
|
1506
|
-
serializedName: "responseOptions",
|
|
1507
|
-
type: {
|
|
1508
|
-
name: "Sequence",
|
|
1509
|
-
element: {
|
|
1510
|
-
type: {
|
|
1511
|
-
name: "Composite",
|
|
1512
|
-
className: "ResponseOption",
|
|
1513
|
-
},
|
|
1514
|
-
},
|
|
1515
|
-
},
|
|
1516
|
-
},
|
|
1517
|
-
},
|
|
1518
|
-
},
|
|
1519
|
-
};
|
|
1520
|
-
const ResponseValidationProperties = {
|
|
1521
|
-
type: {
|
|
1522
|
-
name: "Composite",
|
|
1523
|
-
className: "ResponseValidationProperties",
|
|
1524
|
-
modelProperties: {
|
|
1525
|
-
regex: {
|
|
1526
|
-
serializedName: "regex",
|
|
1527
|
-
type: {
|
|
1528
|
-
name: "String",
|
|
1529
|
-
},
|
|
1530
|
-
},
|
|
1531
|
-
validationScope: {
|
|
1532
|
-
serializedName: "validationScope",
|
|
1533
|
-
type: {
|
|
1534
|
-
name: "String",
|
|
1535
|
-
},
|
|
1536
|
-
},
|
|
1537
|
-
isRequired: {
|
|
1538
|
-
serializedName: "isRequired",
|
|
1539
|
-
type: {
|
|
1540
|
-
name: "Boolean",
|
|
1541
|
-
},
|
|
1542
|
-
},
|
|
1543
|
-
validationErrorMessage: {
|
|
1544
|
-
serializedName: "validationErrorMessage",
|
|
1545
|
-
type: {
|
|
1546
|
-
name: "String",
|
|
1547
|
-
},
|
|
1548
|
-
},
|
|
1549
|
-
maxLength: {
|
|
1550
|
-
serializedName: "maxLength",
|
|
1551
|
-
type: {
|
|
1552
|
-
name: "Number",
|
|
1553
|
-
},
|
|
1554
|
-
},
|
|
1555
|
-
},
|
|
1556
|
-
},
|
|
1557
|
-
};
|
|
1558
|
-
const ResponseOption = {
|
|
1559
|
-
type: {
|
|
1560
|
-
name: "Composite",
|
|
1561
|
-
className: "ResponseOption",
|
|
1562
|
-
modelProperties: {
|
|
1563
|
-
key: {
|
|
1564
|
-
serializedName: "key",
|
|
1565
|
-
type: {
|
|
1566
|
-
name: "String",
|
|
1567
|
-
},
|
|
1568
|
-
},
|
|
1569
|
-
value: {
|
|
1570
|
-
serializedName: "value",
|
|
1571
|
-
type: {
|
|
1572
|
-
name: "String",
|
|
1573
|
-
},
|
|
1574
|
-
},
|
|
1575
|
-
},
|
|
1576
|
-
},
|
|
1577
|
-
};
|
|
1578
|
-
const AutomatedCheckResult = {
|
|
1579
|
-
type: {
|
|
1580
|
-
name: "Composite",
|
|
1581
|
-
className: "AutomatedCheckResult",
|
|
1582
|
-
modelProperties: {
|
|
1583
|
-
version: {
|
|
1584
|
-
serializedName: "version",
|
|
1585
|
-
type: {
|
|
1586
|
-
name: "String",
|
|
1587
|
-
},
|
|
1588
|
-
},
|
|
1589
|
-
status: {
|
|
1590
|
-
serializedName: "status",
|
|
1591
|
-
type: {
|
|
1592
|
-
name: "String",
|
|
1593
|
-
},
|
|
1594
|
-
},
|
|
1595
|
-
result: {
|
|
1596
|
-
serializedName: "result",
|
|
1597
|
-
type: {
|
|
1598
|
-
name: "String",
|
|
1599
|
-
},
|
|
1600
|
-
},
|
|
1601
|
-
type: {
|
|
1602
|
-
serializedName: "type",
|
|
1603
|
-
type: {
|
|
1604
|
-
name: "String",
|
|
1605
|
-
},
|
|
1606
|
-
},
|
|
1607
|
-
},
|
|
1608
|
-
},
|
|
1609
|
-
};
|
|
1610
|
-
const ContinueRequestBody = {
|
|
1611
|
-
type: {
|
|
1612
|
-
name: "Composite",
|
|
1613
|
-
className: "ContinueRequestBody",
|
|
1614
|
-
modelProperties: {
|
|
1615
|
-
stepId: {
|
|
1616
|
-
serializedName: "stepId",
|
|
1617
|
-
type: {
|
|
1618
|
-
name: "String",
|
|
1619
|
-
},
|
|
1620
|
-
},
|
|
1621
|
-
responses: {
|
|
1622
|
-
serializedName: "responses",
|
|
1623
|
-
type: {
|
|
1624
|
-
name: "Sequence",
|
|
1625
|
-
element: {
|
|
1626
|
-
type: {
|
|
1627
|
-
name: "Composite",
|
|
1628
|
-
className: "TroubleshooterResponse",
|
|
1629
|
-
},
|
|
1630
|
-
},
|
|
1631
|
-
},
|
|
1632
|
-
},
|
|
1633
|
-
},
|
|
1634
|
-
},
|
|
1635
|
-
};
|
|
1636
|
-
const TroubleshooterResponse = {
|
|
1637
|
-
type: {
|
|
1638
|
-
name: "Composite",
|
|
1639
|
-
className: "TroubleshooterResponse",
|
|
1640
|
-
modelProperties: {
|
|
1641
|
-
questionId: {
|
|
1642
|
-
serializedName: "questionId",
|
|
1643
|
-
type: {
|
|
1644
|
-
name: "String",
|
|
1645
|
-
},
|
|
1646
|
-
},
|
|
1647
|
-
questionType: {
|
|
1648
|
-
serializedName: "questionType",
|
|
1649
|
-
type: {
|
|
1650
|
-
name: "String",
|
|
1651
|
-
},
|
|
1652
|
-
},
|
|
1653
|
-
response: {
|
|
1654
|
-
serializedName: "response",
|
|
1655
|
-
type: {
|
|
1656
|
-
name: "String",
|
|
1657
|
-
},
|
|
1658
|
-
},
|
|
1659
|
-
},
|
|
1660
|
-
},
|
|
1661
|
-
};
|
|
1662
|
-
const RestartTroubleshooterResponse = {
|
|
1663
|
-
type: {
|
|
1664
|
-
name: "Composite",
|
|
1665
|
-
className: "RestartTroubleshooterResponse",
|
|
1666
|
-
modelProperties: {
|
|
1667
|
-
troubleshooterResourceName: {
|
|
1668
|
-
serializedName: "troubleshooterResourceName",
|
|
1669
|
-
readOnly: true,
|
|
1670
|
-
type: {
|
|
1671
|
-
name: "String",
|
|
1672
|
-
},
|
|
1673
|
-
},
|
|
1674
|
-
},
|
|
1675
|
-
},
|
|
1676
|
-
};
|
|
1677
|
-
const ReplacementMapsSelfHelp = {
|
|
1678
|
-
type: {
|
|
1679
|
-
name: "Composite",
|
|
1680
|
-
className: "ReplacementMapsSelfHelp",
|
|
1681
|
-
modelProperties: {
|
|
1682
|
-
webResults: {
|
|
1683
|
-
serializedName: "webResults",
|
|
1684
|
-
type: {
|
|
1685
|
-
name: "Sequence",
|
|
1686
|
-
element: {
|
|
1687
|
-
type: {
|
|
1688
|
-
name: "Composite",
|
|
1689
|
-
className: "WebResult",
|
|
1690
|
-
},
|
|
1691
|
-
},
|
|
1692
|
-
},
|
|
1693
|
-
},
|
|
1694
|
-
videos: {
|
|
1695
|
-
serializedName: "videos",
|
|
1696
|
-
type: {
|
|
1697
|
-
name: "Sequence",
|
|
1698
|
-
element: {
|
|
1699
|
-
type: {
|
|
1700
|
-
name: "Composite",
|
|
1701
|
-
className: "Video",
|
|
1702
|
-
},
|
|
1703
|
-
},
|
|
1704
|
-
},
|
|
1705
|
-
},
|
|
1706
|
-
videoGroups: {
|
|
1707
|
-
serializedName: "videoGroups",
|
|
1708
|
-
type: {
|
|
1709
|
-
name: "Sequence",
|
|
1710
|
-
element: {
|
|
1711
|
-
type: {
|
|
1712
|
-
name: "Composite",
|
|
1713
|
-
className: "VideoGroup",
|
|
1714
|
-
},
|
|
1715
|
-
},
|
|
1716
|
-
},
|
|
1717
|
-
},
|
|
1718
|
-
},
|
|
1719
|
-
},
|
|
1720
|
-
};
|
|
1721
|
-
const SectionSelfHelp = {
|
|
1722
|
-
type: {
|
|
1723
|
-
name: "Composite",
|
|
1724
|
-
className: "SectionSelfHelp",
|
|
1725
|
-
modelProperties: {
|
|
1726
|
-
title: {
|
|
1727
|
-
serializedName: "title",
|
|
1728
|
-
type: {
|
|
1729
|
-
name: "String",
|
|
1730
|
-
},
|
|
1731
|
-
},
|
|
1732
|
-
content: {
|
|
1733
|
-
serializedName: "content",
|
|
1734
|
-
type: {
|
|
1735
|
-
name: "String",
|
|
1736
|
-
},
|
|
1737
|
-
},
|
|
1738
|
-
replacementMaps: {
|
|
1739
|
-
serializedName: "replacementMaps",
|
|
1740
|
-
type: {
|
|
1741
|
-
name: "Composite",
|
|
1742
|
-
className: "ReplacementMapsSelfHelp",
|
|
1743
|
-
},
|
|
1744
|
-
},
|
|
1745
|
-
},
|
|
1746
|
-
},
|
|
1747
|
-
};
|
|
1748
|
-
const DiscoveryNlpRequest = {
|
|
1749
|
-
type: {
|
|
1750
|
-
name: "Composite",
|
|
1751
|
-
className: "DiscoveryNlpRequest",
|
|
1752
|
-
modelProperties: {
|
|
1753
|
-
issueSummary: {
|
|
1754
|
-
serializedName: "issueSummary",
|
|
1755
|
-
required: true,
|
|
1756
|
-
type: {
|
|
1757
|
-
name: "String",
|
|
1758
|
-
},
|
|
1759
|
-
},
|
|
1760
|
-
resourceId: {
|
|
1761
|
-
serializedName: "resourceId",
|
|
1762
|
-
type: {
|
|
1763
|
-
name: "String",
|
|
1764
|
-
},
|
|
1765
|
-
},
|
|
1766
|
-
serviceId: {
|
|
1767
|
-
serializedName: "serviceId",
|
|
1768
|
-
type: {
|
|
1769
|
-
name: "String",
|
|
1770
|
-
},
|
|
1771
|
-
},
|
|
1772
|
-
additionalContext: {
|
|
1773
|
-
serializedName: "additionalContext",
|
|
1774
|
-
type: {
|
|
1775
|
-
name: "String",
|
|
1776
|
-
},
|
|
1777
|
-
},
|
|
1778
|
-
},
|
|
1779
|
-
},
|
|
1780
|
-
};
|
|
1781
|
-
const DiscoveryNlpResponse = {
|
|
1782
|
-
type: {
|
|
1783
|
-
name: "Composite",
|
|
1784
|
-
className: "DiscoveryNlpResponse",
|
|
1785
|
-
modelProperties: {
|
|
1786
|
-
value: {
|
|
1787
|
-
serializedName: "value",
|
|
1788
|
-
type: {
|
|
1789
|
-
name: "Sequence",
|
|
1790
|
-
element: {
|
|
1791
|
-
type: {
|
|
1792
|
-
name: "Composite",
|
|
1793
|
-
className: "SolutionNlpMetadataResource",
|
|
1794
|
-
},
|
|
1795
|
-
},
|
|
1796
|
-
},
|
|
1797
|
-
},
|
|
1798
|
-
},
|
|
1799
|
-
},
|
|
1800
|
-
};
|
|
1801
|
-
const ClassificationService = {
|
|
1802
|
-
type: {
|
|
1803
|
-
name: "Composite",
|
|
1804
|
-
className: "ClassificationService",
|
|
1805
|
-
modelProperties: {
|
|
1806
|
-
serviceId: {
|
|
1807
|
-
serializedName: "serviceId",
|
|
1808
|
-
readOnly: true,
|
|
1809
|
-
type: {
|
|
1810
|
-
name: "String",
|
|
1811
|
-
},
|
|
1812
|
-
},
|
|
1813
|
-
displayName: {
|
|
1814
|
-
serializedName: "displayName",
|
|
1815
|
-
readOnly: true,
|
|
1816
|
-
type: {
|
|
1817
|
-
name: "String",
|
|
1818
|
-
},
|
|
1819
|
-
},
|
|
1820
|
-
resourceTypes: {
|
|
1821
|
-
serializedName: "resourceTypes",
|
|
1822
|
-
type: {
|
|
1823
|
-
name: "Sequence",
|
|
1824
|
-
element: {
|
|
1825
|
-
type: {
|
|
1826
|
-
name: "String",
|
|
1827
|
-
},
|
|
1828
|
-
},
|
|
1829
|
-
},
|
|
1830
|
-
},
|
|
1831
|
-
},
|
|
1832
|
-
},
|
|
1833
|
-
};
|
|
1834
|
-
const ProxyResource = {
|
|
1835
|
-
type: {
|
|
1836
|
-
name: "Composite",
|
|
1837
|
-
className: "ProxyResource",
|
|
1838
|
-
modelProperties: Object.assign({}, Resource.type.modelProperties),
|
|
1839
|
-
},
|
|
1840
|
-
};
|
|
1841
|
-
const Video = {
|
|
1842
|
-
type: {
|
|
1843
|
-
name: "Composite",
|
|
1844
|
-
className: "Video",
|
|
1845
|
-
modelProperties: Object.assign(Object.assign({}, VideoGroupVideo.type.modelProperties), { replacementKey: {
|
|
1846
|
-
serializedName: "replacementKey",
|
|
1847
|
-
type: {
|
|
1848
|
-
name: "String",
|
|
1849
|
-
},
|
|
1850
|
-
} }),
|
|
1851
|
-
},
|
|
1852
|
-
};
|
|
1853
|
-
const DiagnosticResource = {
|
|
1854
|
-
type: {
|
|
1855
|
-
name: "Composite",
|
|
1856
|
-
className: "DiagnosticResource",
|
|
1857
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { globalParameters: {
|
|
1858
|
-
serializedName: "properties.globalParameters",
|
|
1859
|
-
type: {
|
|
1860
|
-
name: "Dictionary",
|
|
1861
|
-
value: { type: { name: "String" } },
|
|
1862
|
-
},
|
|
1863
|
-
}, insights: {
|
|
1864
|
-
serializedName: "properties.insights",
|
|
1865
|
-
type: {
|
|
1866
|
-
name: "Sequence",
|
|
1867
|
-
element: {
|
|
1868
|
-
type: {
|
|
1869
|
-
name: "Composite",
|
|
1870
|
-
className: "DiagnosticInvocation",
|
|
1871
|
-
},
|
|
1872
|
-
},
|
|
1873
|
-
},
|
|
1874
|
-
}, acceptedAt: {
|
|
1875
|
-
serializedName: "properties.acceptedAt",
|
|
1876
|
-
readOnly: true,
|
|
1877
|
-
type: {
|
|
1878
|
-
name: "String",
|
|
1879
|
-
},
|
|
1880
|
-
}, provisioningState: {
|
|
1881
|
-
serializedName: "properties.provisioningState",
|
|
1882
|
-
readOnly: true,
|
|
1883
|
-
type: {
|
|
1884
|
-
name: "String",
|
|
1885
|
-
},
|
|
1886
|
-
}, diagnostics: {
|
|
1887
|
-
serializedName: "properties.diagnostics",
|
|
1888
|
-
readOnly: true,
|
|
1889
|
-
type: {
|
|
1890
|
-
name: "Sequence",
|
|
1891
|
-
element: {
|
|
1892
|
-
type: {
|
|
1893
|
-
name: "Composite",
|
|
1894
|
-
className: "Diagnostic",
|
|
1895
|
-
},
|
|
1896
|
-
},
|
|
1897
|
-
},
|
|
1898
|
-
} }),
|
|
1899
|
-
},
|
|
1900
|
-
};
|
|
1901
|
-
const SolutionMetadataResource = {
|
|
1902
|
-
type: {
|
|
1903
|
-
name: "Composite",
|
|
1904
|
-
className: "SolutionMetadataResource",
|
|
1905
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutions: {
|
|
1906
|
-
serializedName: "properties.solutions",
|
|
1907
|
-
type: {
|
|
1908
|
-
name: "Sequence",
|
|
1909
|
-
element: {
|
|
1910
|
-
type: {
|
|
1911
|
-
name: "Composite",
|
|
1912
|
-
className: "SolutionMetadataProperties",
|
|
1913
|
-
},
|
|
1914
|
-
},
|
|
1915
|
-
},
|
|
1916
|
-
} }),
|
|
1917
|
-
},
|
|
1918
|
-
};
|
|
1919
|
-
const SolutionResource = {
|
|
1920
|
-
type: {
|
|
1921
|
-
name: "Composite",
|
|
1922
|
-
className: "SolutionResource",
|
|
1923
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { triggerCriteria: {
|
|
1924
|
-
serializedName: "properties.triggerCriteria",
|
|
1925
|
-
type: {
|
|
1926
|
-
name: "Sequence",
|
|
1927
|
-
element: {
|
|
1928
|
-
type: {
|
|
1929
|
-
name: "Composite",
|
|
1930
|
-
className: "TriggerCriterion",
|
|
1931
|
-
},
|
|
1932
|
-
},
|
|
1933
|
-
},
|
|
1934
|
-
}, parameters: {
|
|
1935
|
-
serializedName: "properties.parameters",
|
|
1936
|
-
type: {
|
|
1937
|
-
name: "Dictionary",
|
|
1938
|
-
value: { type: { name: "String" } },
|
|
1939
|
-
},
|
|
1940
|
-
}, solutionId: {
|
|
1941
|
-
serializedName: "properties.solutionId",
|
|
1942
|
-
readOnly: true,
|
|
1943
|
-
type: {
|
|
1944
|
-
name: "String",
|
|
1945
|
-
},
|
|
1946
|
-
}, provisioningState: {
|
|
1947
|
-
serializedName: "properties.provisioningState",
|
|
1948
|
-
readOnly: true,
|
|
1949
|
-
type: {
|
|
1950
|
-
name: "String",
|
|
1951
|
-
},
|
|
1952
|
-
}, title: {
|
|
1953
|
-
serializedName: "properties.title",
|
|
1954
|
-
readOnly: true,
|
|
1955
|
-
type: {
|
|
1956
|
-
name: "String",
|
|
1957
|
-
},
|
|
1958
|
-
}, content: {
|
|
1959
|
-
serializedName: "properties.content",
|
|
1960
|
-
readOnly: true,
|
|
1961
|
-
type: {
|
|
1962
|
-
name: "String",
|
|
1963
|
-
},
|
|
1964
|
-
}, replacementMaps: {
|
|
1965
|
-
serializedName: "properties.replacementMaps",
|
|
1966
|
-
type: {
|
|
1967
|
-
name: "Composite",
|
|
1968
|
-
className: "ReplacementMaps",
|
|
1969
|
-
},
|
|
1970
|
-
}, sections: {
|
|
1971
|
-
serializedName: "properties.sections",
|
|
1972
|
-
readOnly: true,
|
|
1973
|
-
type: {
|
|
1974
|
-
name: "Sequence",
|
|
1975
|
-
element: {
|
|
1976
|
-
type: {
|
|
1977
|
-
name: "Composite",
|
|
1978
|
-
className: "Section",
|
|
1979
|
-
},
|
|
1980
|
-
},
|
|
1981
|
-
},
|
|
1982
|
-
} }),
|
|
1983
|
-
},
|
|
1984
|
-
};
|
|
1985
|
-
const SimplifiedSolutionsResource = {
|
|
1986
|
-
type: {
|
|
1987
|
-
name: "Composite",
|
|
1988
|
-
className: "SimplifiedSolutionsResource",
|
|
1989
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutionId: {
|
|
1990
|
-
serializedName: "properties.solutionId",
|
|
1991
|
-
type: {
|
|
1992
|
-
name: "String",
|
|
1993
|
-
},
|
|
1994
|
-
}, parameters: {
|
|
1995
|
-
serializedName: "properties.parameters",
|
|
1996
|
-
type: {
|
|
1997
|
-
name: "Dictionary",
|
|
1998
|
-
value: { type: { name: "String" } },
|
|
1999
|
-
},
|
|
2000
|
-
}, title: {
|
|
2001
|
-
serializedName: "properties.title",
|
|
2002
|
-
readOnly: true,
|
|
2003
|
-
type: {
|
|
2004
|
-
name: "String",
|
|
2005
|
-
},
|
|
2006
|
-
}, appendix: {
|
|
2007
|
-
serializedName: "properties.appendix",
|
|
2008
|
-
readOnly: true,
|
|
2009
|
-
type: {
|
|
2010
|
-
name: "Dictionary",
|
|
2011
|
-
value: { type: { name: "String" } },
|
|
2012
|
-
},
|
|
2013
|
-
}, content: {
|
|
2014
|
-
serializedName: "properties.content",
|
|
2015
|
-
readOnly: true,
|
|
2016
|
-
type: {
|
|
2017
|
-
name: "String",
|
|
2018
|
-
},
|
|
2019
|
-
}, provisioningState: {
|
|
2020
|
-
serializedName: "properties.provisioningState",
|
|
2021
|
-
readOnly: true,
|
|
2022
|
-
type: {
|
|
2023
|
-
name: "String",
|
|
2024
|
-
},
|
|
2025
|
-
} }),
|
|
2026
|
-
},
|
|
2027
|
-
};
|
|
2028
|
-
const TroubleshooterResource = {
|
|
2029
|
-
type: {
|
|
2030
|
-
name: "Composite",
|
|
2031
|
-
className: "TroubleshooterResource",
|
|
2032
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutionId: {
|
|
2033
|
-
serializedName: "properties.solutionId",
|
|
2034
|
-
type: {
|
|
2035
|
-
name: "String",
|
|
2036
|
-
},
|
|
2037
|
-
}, parameters: {
|
|
2038
|
-
serializedName: "properties.parameters",
|
|
2039
|
-
type: {
|
|
2040
|
-
name: "Dictionary",
|
|
2041
|
-
value: { type: { name: "String" } },
|
|
2042
|
-
},
|
|
2043
|
-
}, provisioningState: {
|
|
2044
|
-
serializedName: "properties.provisioningState",
|
|
2045
|
-
readOnly: true,
|
|
2046
|
-
type: {
|
|
2047
|
-
name: "String",
|
|
2048
|
-
},
|
|
2049
|
-
}, steps: {
|
|
2050
|
-
serializedName: "properties.steps",
|
|
2051
|
-
readOnly: true,
|
|
2052
|
-
type: {
|
|
2053
|
-
name: "Sequence",
|
|
2054
|
-
element: {
|
|
2055
|
-
type: {
|
|
2056
|
-
name: "Composite",
|
|
2057
|
-
className: "Step",
|
|
2058
|
-
},
|
|
2059
|
-
},
|
|
2060
|
-
},
|
|
2061
|
-
} }),
|
|
2062
|
-
},
|
|
2063
|
-
};
|
|
2064
|
-
const SolutionResourceSelfHelp = {
|
|
2065
|
-
type: {
|
|
2066
|
-
name: "Composite",
|
|
2067
|
-
className: "SolutionResourceSelfHelp",
|
|
2068
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { solutionId: {
|
|
2069
|
-
serializedName: "properties.solutionId",
|
|
2070
|
-
readOnly: true,
|
|
2071
|
-
type: {
|
|
2072
|
-
name: "String",
|
|
2073
|
-
},
|
|
2074
|
-
}, title: {
|
|
2075
|
-
serializedName: "properties.title",
|
|
2076
|
-
readOnly: true,
|
|
2077
|
-
type: {
|
|
2078
|
-
name: "String",
|
|
2079
|
-
},
|
|
2080
|
-
}, content: {
|
|
2081
|
-
serializedName: "properties.content",
|
|
2082
|
-
readOnly: true,
|
|
2083
|
-
type: {
|
|
2084
|
-
name: "String",
|
|
2085
|
-
},
|
|
2086
|
-
}, replacementMaps: {
|
|
2087
|
-
serializedName: "properties.replacementMaps",
|
|
2088
|
-
type: {
|
|
2089
|
-
name: "Composite",
|
|
2090
|
-
className: "ReplacementMapsSelfHelp",
|
|
2091
|
-
},
|
|
2092
|
-
}, sections: {
|
|
2093
|
-
serializedName: "properties.sections",
|
|
2094
|
-
readOnly: true,
|
|
2095
|
-
type: {
|
|
2096
|
-
name: "Sequence",
|
|
2097
|
-
element: {
|
|
2098
|
-
type: {
|
|
2099
|
-
name: "Composite",
|
|
2100
|
-
className: "SectionSelfHelp",
|
|
2101
|
-
},
|
|
2102
|
-
},
|
|
2103
|
-
},
|
|
2104
|
-
} }),
|
|
2105
|
-
},
|
|
2106
|
-
};
|
|
2107
|
-
const SolutionNlpMetadataResource = {
|
|
2108
|
-
type: {
|
|
2109
|
-
name: "Composite",
|
|
2110
|
-
className: "SolutionNlpMetadataResource",
|
|
2111
|
-
modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { problemTitle: {
|
|
2112
|
-
serializedName: "properties.problemTitle",
|
|
2113
|
-
type: {
|
|
2114
|
-
name: "String",
|
|
2115
|
-
},
|
|
2116
|
-
}, problemDescription: {
|
|
2117
|
-
serializedName: "properties.problemDescription",
|
|
2118
|
-
type: {
|
|
2119
|
-
name: "String",
|
|
2120
|
-
},
|
|
2121
|
-
}, serviceId: {
|
|
2122
|
-
serializedName: "properties.serviceId",
|
|
2123
|
-
type: {
|
|
2124
|
-
name: "String",
|
|
2125
|
-
},
|
|
2126
|
-
}, problemClassificationId: {
|
|
2127
|
-
serializedName: "properties.problemClassificationId",
|
|
2128
|
-
type: {
|
|
2129
|
-
name: "String",
|
|
2130
|
-
},
|
|
2131
|
-
}, solutions: {
|
|
2132
|
-
serializedName: "properties.solutions",
|
|
2133
|
-
type: {
|
|
2134
|
-
name: "Sequence",
|
|
2135
|
-
element: {
|
|
2136
|
-
type: {
|
|
2137
|
-
name: "Composite",
|
|
2138
|
-
className: "SolutionMetadataProperties",
|
|
2139
|
-
},
|
|
2140
|
-
},
|
|
2141
|
-
},
|
|
2142
|
-
}, relatedServices: {
|
|
2143
|
-
serializedName: "properties.relatedServices",
|
|
2144
|
-
type: {
|
|
2145
|
-
name: "Sequence",
|
|
2146
|
-
element: {
|
|
2147
|
-
type: {
|
|
2148
|
-
name: "Composite",
|
|
2149
|
-
className: "ClassificationService",
|
|
2150
|
-
},
|
|
2151
|
-
},
|
|
2152
|
-
},
|
|
2153
|
-
} }),
|
|
2154
|
-
},
|
|
2155
|
-
};
|
|
2156
|
-
const SolutionUpdateHeaders = {
|
|
2157
|
-
type: {
|
|
2158
|
-
name: "Composite",
|
|
2159
|
-
className: "SolutionUpdateHeaders",
|
|
2160
|
-
modelProperties: {
|
|
2161
|
-
location: {
|
|
2162
|
-
serializedName: "location",
|
|
2163
|
-
type: {
|
|
2164
|
-
name: "String",
|
|
2165
|
-
},
|
|
2166
|
-
},
|
|
2167
|
-
},
|
|
2168
|
-
},
|
|
2169
|
-
};
|
|
2170
|
-
const TroubleshootersContinueHeaders = {
|
|
2171
|
-
type: {
|
|
2172
|
-
name: "Composite",
|
|
2173
|
-
className: "TroubleshootersContinueHeaders",
|
|
2174
|
-
modelProperties: {
|
|
2175
|
-
location: {
|
|
2176
|
-
serializedName: "location",
|
|
2177
|
-
type: {
|
|
2178
|
-
name: "String",
|
|
2179
|
-
},
|
|
2180
|
-
},
|
|
2181
|
-
},
|
|
2182
|
-
},
|
|
2183
|
-
};
|
|
2184
|
-
const TroubleshootersEndHeaders = {
|
|
2185
|
-
type: {
|
|
2186
|
-
name: "Composite",
|
|
2187
|
-
className: "TroubleshootersEndHeaders",
|
|
2188
|
-
modelProperties: {
|
|
2189
|
-
location: {
|
|
2190
|
-
serializedName: "location",
|
|
2191
|
-
type: {
|
|
2192
|
-
name: "String",
|
|
2193
|
-
},
|
|
2194
|
-
},
|
|
2195
|
-
},
|
|
2196
|
-
},
|
|
2197
|
-
};
|
|
2198
|
-
const TroubleshootersRestartHeaders = {
|
|
2199
|
-
type: {
|
|
2200
|
-
name: "Composite",
|
|
2201
|
-
className: "TroubleshootersRestartHeaders",
|
|
2202
|
-
modelProperties: {
|
|
2203
|
-
location: {
|
|
2204
|
-
serializedName: "location",
|
|
2205
|
-
type: {
|
|
2206
|
-
name: "String",
|
|
2207
|
-
},
|
|
2208
|
-
},
|
|
2209
|
-
},
|
|
2210
|
-
},
|
|
2211
|
-
};
|
|
2212
|
-
|
|
2213
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2214
|
-
__proto__: null,
|
|
2215
|
-
AutomatedCheckResult: AutomatedCheckResult,
|
|
2216
|
-
CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
|
|
2217
|
-
CheckNameAvailabilityResponse: CheckNameAvailabilityResponse,
|
|
2218
|
-
ClassificationService: ClassificationService,
|
|
2219
|
-
ContinueRequestBody: ContinueRequestBody,
|
|
2220
|
-
Diagnostic: Diagnostic,
|
|
2221
|
-
DiagnosticInvocation: DiagnosticInvocation,
|
|
2222
|
-
DiagnosticResource: DiagnosticResource,
|
|
2223
|
-
DiscoveryNlpRequest: DiscoveryNlpRequest,
|
|
2224
|
-
DiscoveryNlpResponse: DiscoveryNlpResponse,
|
|
2225
|
-
DiscoveryResponse: DiscoveryResponse,
|
|
2226
|
-
ErrorAdditionalInfo: ErrorAdditionalInfo,
|
|
2227
|
-
ErrorDetail: ErrorDetail,
|
|
2228
|
-
ErrorModel: ErrorModel,
|
|
2229
|
-
ErrorResponse: ErrorResponse,
|
|
2230
|
-
Filter: Filter,
|
|
2231
|
-
FilterGroup: FilterGroup,
|
|
2232
|
-
Insight: Insight,
|
|
2233
|
-
MetricsBasedChart: MetricsBasedChart,
|
|
2234
|
-
Operation: Operation,
|
|
2235
|
-
OperationDisplay: OperationDisplay,
|
|
2236
|
-
OperationListResult: OperationListResult,
|
|
2237
|
-
ProxyResource: ProxyResource,
|
|
2238
|
-
ReplacementMaps: ReplacementMaps,
|
|
2239
|
-
ReplacementMapsSelfHelp: ReplacementMapsSelfHelp,
|
|
2240
|
-
Resource: Resource,
|
|
2241
|
-
ResponseOption: ResponseOption,
|
|
2242
|
-
ResponseValidationProperties: ResponseValidationProperties,
|
|
2243
|
-
RestartTroubleshooterResponse: RestartTroubleshooterResponse,
|
|
2244
|
-
SearchResult: SearchResult,
|
|
2245
|
-
Section: Section,
|
|
2246
|
-
SectionSelfHelp: SectionSelfHelp,
|
|
2247
|
-
SimplifiedSolutionsResource: SimplifiedSolutionsResource,
|
|
2248
|
-
SolutionMetadataProperties: SolutionMetadataProperties,
|
|
2249
|
-
SolutionMetadataResource: SolutionMetadataResource,
|
|
2250
|
-
SolutionNlpMetadataResource: SolutionNlpMetadataResource,
|
|
2251
|
-
SolutionPatchRequestBody: SolutionPatchRequestBody,
|
|
2252
|
-
SolutionResource: SolutionResource,
|
|
2253
|
-
SolutionResourceSelfHelp: SolutionResourceSelfHelp,
|
|
2254
|
-
SolutionUpdateHeaders: SolutionUpdateHeaders,
|
|
2255
|
-
SolutionWarmUpRequestBody: SolutionWarmUpRequestBody,
|
|
2256
|
-
SolutionsDiagnostic: SolutionsDiagnostic,
|
|
2257
|
-
SolutionsTroubleshooters: SolutionsTroubleshooters,
|
|
2258
|
-
Step: Step,
|
|
2259
|
-
StepInput: StepInput,
|
|
2260
|
-
SystemData: SystemData,
|
|
2261
|
-
TriggerCriterion: TriggerCriterion,
|
|
2262
|
-
TroubleshooterResource: TroubleshooterResource,
|
|
2263
|
-
TroubleshooterResponse: TroubleshooterResponse,
|
|
2264
|
-
TroubleshootersContinueHeaders: TroubleshootersContinueHeaders,
|
|
2265
|
-
TroubleshootersEndHeaders: TroubleshootersEndHeaders,
|
|
2266
|
-
TroubleshootersRestartHeaders: TroubleshootersRestartHeaders,
|
|
2267
|
-
Video: Video,
|
|
2268
|
-
VideoGroup: VideoGroup,
|
|
2269
|
-
VideoGroupVideo: VideoGroupVideo,
|
|
2270
|
-
WebResult: WebResult
|
|
2271
|
-
});
|
|
2272
|
-
|
|
2273
|
-
/*
|
|
2274
|
-
* Copyright (c) Microsoft Corporation.
|
|
2275
|
-
* Licensed under the MIT License.
|
|
2276
|
-
*
|
|
2277
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2278
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2279
|
-
*/
|
|
2280
|
-
const accept = {
|
|
2281
|
-
parameterPath: "accept",
|
|
2282
|
-
mapper: {
|
|
2283
|
-
defaultValue: "application/json",
|
|
2284
|
-
isConstant: true,
|
|
2285
|
-
serializedName: "Accept",
|
|
2286
|
-
type: {
|
|
2287
|
-
name: "String",
|
|
2288
|
-
},
|
|
2289
|
-
},
|
|
2290
|
-
};
|
|
2291
|
-
const $host = {
|
|
2292
|
-
parameterPath: "$host",
|
|
2293
|
-
mapper: {
|
|
2294
|
-
serializedName: "$host",
|
|
2295
|
-
required: true,
|
|
2296
|
-
type: {
|
|
2297
|
-
name: "String",
|
|
2298
|
-
},
|
|
2299
|
-
},
|
|
2300
|
-
skipEncoding: true,
|
|
2301
|
-
};
|
|
2302
|
-
const apiVersion = {
|
|
2303
|
-
parameterPath: "apiVersion",
|
|
2304
|
-
mapper: {
|
|
2305
|
-
defaultValue: "2024-03-01-preview",
|
|
2306
|
-
isConstant: true,
|
|
2307
|
-
serializedName: "api-version",
|
|
2308
|
-
type: {
|
|
2309
|
-
name: "String",
|
|
2310
|
-
},
|
|
2311
|
-
},
|
|
2312
|
-
};
|
|
2313
|
-
const nextLink = {
|
|
2314
|
-
parameterPath: "nextLink",
|
|
2315
|
-
mapper: {
|
|
2316
|
-
serializedName: "nextLink",
|
|
2317
|
-
required: true,
|
|
2318
|
-
type: {
|
|
2319
|
-
name: "String",
|
|
2320
|
-
},
|
|
2321
|
-
},
|
|
2322
|
-
skipEncoding: true,
|
|
2323
|
-
};
|
|
2324
|
-
const contentType = {
|
|
2325
|
-
parameterPath: ["options", "contentType"],
|
|
2326
|
-
mapper: {
|
|
2327
|
-
defaultValue: "application/json",
|
|
2328
|
-
isConstant: true,
|
|
2329
|
-
serializedName: "Content-Type",
|
|
2330
|
-
type: {
|
|
2331
|
-
name: "String",
|
|
2332
|
-
},
|
|
2333
|
-
},
|
|
2334
|
-
};
|
|
2335
|
-
const checkNameAvailabilityRequest = {
|
|
2336
|
-
parameterPath: ["options", "checkNameAvailabilityRequest"],
|
|
2337
|
-
mapper: CheckNameAvailabilityRequest,
|
|
2338
|
-
};
|
|
2339
|
-
const scope = {
|
|
2340
|
-
parameterPath: "scope",
|
|
2341
|
-
mapper: {
|
|
2342
|
-
serializedName: "scope",
|
|
2343
|
-
required: true,
|
|
2344
|
-
type: {
|
|
2345
|
-
name: "String",
|
|
2346
|
-
},
|
|
2347
|
-
},
|
|
2348
|
-
skipEncoding: true,
|
|
2349
|
-
};
|
|
2350
|
-
const diagnosticResourceRequest = {
|
|
2351
|
-
parameterPath: ["options", "diagnosticResourceRequest"],
|
|
2352
|
-
mapper: DiagnosticResource,
|
|
2353
|
-
};
|
|
2354
|
-
const diagnosticsResourceName = {
|
|
2355
|
-
parameterPath: "diagnosticsResourceName",
|
|
2356
|
-
mapper: {
|
|
2357
|
-
constraints: {
|
|
2358
|
-
Pattern: new RegExp("^[A-Za-z0-9-+@()_]+$"),
|
|
2359
|
-
MaxLength: 100,
|
|
2360
|
-
MinLength: 1,
|
|
2361
|
-
},
|
|
2362
|
-
serializedName: "diagnosticsResourceName",
|
|
2363
|
-
required: true,
|
|
2364
|
-
type: {
|
|
2365
|
-
name: "String",
|
|
2366
|
-
},
|
|
2367
|
-
},
|
|
2368
|
-
};
|
|
2369
|
-
const filter = {
|
|
2370
|
-
parameterPath: ["options", "filter"],
|
|
2371
|
-
mapper: {
|
|
2372
|
-
serializedName: "$filter",
|
|
2373
|
-
type: {
|
|
2374
|
-
name: "String",
|
|
2375
|
-
},
|
|
2376
|
-
},
|
|
2377
|
-
skipEncoding: true,
|
|
2378
|
-
};
|
|
2379
|
-
const skiptoken = {
|
|
2380
|
-
parameterPath: ["options", "skiptoken"],
|
|
2381
|
-
mapper: {
|
|
2382
|
-
serializedName: "$skiptoken",
|
|
2383
|
-
type: {
|
|
2384
|
-
name: "String",
|
|
2385
|
-
},
|
|
2386
|
-
},
|
|
2387
|
-
};
|
|
2388
|
-
const solutionRequestBody = {
|
|
2389
|
-
parameterPath: ["options", "solutionRequestBody"],
|
|
2390
|
-
mapper: SolutionResource,
|
|
2391
|
-
};
|
|
2392
|
-
const solutionResourceName = {
|
|
2393
|
-
parameterPath: "solutionResourceName",
|
|
2394
|
-
mapper: {
|
|
2395
|
-
constraints: {
|
|
2396
|
-
Pattern: new RegExp("^[A-Za-z0-9-+@()_]+$"),
|
|
2397
|
-
MaxLength: 100,
|
|
2398
|
-
MinLength: 1,
|
|
2399
|
-
},
|
|
2400
|
-
serializedName: "solutionResourceName",
|
|
2401
|
-
required: true,
|
|
2402
|
-
type: {
|
|
2403
|
-
name: "String",
|
|
2404
|
-
},
|
|
2405
|
-
},
|
|
2406
|
-
};
|
|
2407
|
-
const solutionPatchRequestBody = {
|
|
2408
|
-
parameterPath: ["options", "solutionPatchRequestBody"],
|
|
2409
|
-
mapper: SolutionPatchRequestBody,
|
|
2410
|
-
};
|
|
2411
|
-
const solutionWarmUpRequestBody = {
|
|
2412
|
-
parameterPath: ["options", "solutionWarmUpRequestBody"],
|
|
2413
|
-
mapper: SolutionWarmUpRequestBody,
|
|
2414
|
-
};
|
|
2415
|
-
const simplifiedSolutionsRequestBody = {
|
|
2416
|
-
parameterPath: ["options", "simplifiedSolutionsRequestBody"],
|
|
2417
|
-
mapper: SimplifiedSolutionsResource,
|
|
2418
|
-
};
|
|
2419
|
-
const simplifiedSolutionsResourceName = {
|
|
2420
|
-
parameterPath: "simplifiedSolutionsResourceName",
|
|
2421
|
-
mapper: {
|
|
2422
|
-
constraints: {
|
|
2423
|
-
Pattern: new RegExp("^[A-Za-z0-9-+@()_]+$"),
|
|
2424
|
-
MaxLength: 100,
|
|
2425
|
-
MinLength: 1,
|
|
2426
|
-
},
|
|
2427
|
-
serializedName: "simplifiedSolutionsResourceName",
|
|
2428
|
-
required: true,
|
|
2429
|
-
type: {
|
|
2430
|
-
name: "String",
|
|
2431
|
-
},
|
|
2432
|
-
},
|
|
2433
|
-
};
|
|
2434
|
-
const createTroubleshooterRequestBody = {
|
|
2435
|
-
parameterPath: ["options", "createTroubleshooterRequestBody"],
|
|
2436
|
-
mapper: TroubleshooterResource,
|
|
2437
|
-
};
|
|
2438
|
-
const troubleshooterName = {
|
|
2439
|
-
parameterPath: "troubleshooterName",
|
|
2440
|
-
mapper: {
|
|
2441
|
-
constraints: {
|
|
2442
|
-
Pattern: new RegExp("([A-Za-z0-9]+(-[A-Za-z0-9]+)+)"),
|
|
2443
|
-
MaxLength: 100,
|
|
2444
|
-
MinLength: 1,
|
|
2445
|
-
},
|
|
2446
|
-
serializedName: "troubleshooterName",
|
|
2447
|
-
required: true,
|
|
2448
|
-
type: {
|
|
2449
|
-
name: "String",
|
|
2450
|
-
},
|
|
2451
|
-
},
|
|
2452
|
-
};
|
|
2453
|
-
const continueRequestBody = {
|
|
2454
|
-
parameterPath: ["options", "continueRequestBody"],
|
|
2455
|
-
mapper: ContinueRequestBody,
|
|
2456
|
-
};
|
|
2457
|
-
const solutionId = {
|
|
2458
|
-
parameterPath: "solutionId",
|
|
2459
|
-
mapper: {
|
|
2460
|
-
constraints: {
|
|
2461
|
-
MaxLength: 100,
|
|
2462
|
-
MinLength: 1,
|
|
2463
|
-
},
|
|
2464
|
-
serializedName: "solutionId",
|
|
2465
|
-
required: true,
|
|
2466
|
-
type: {
|
|
2467
|
-
name: "String",
|
|
2468
|
-
},
|
|
2469
|
-
},
|
|
2470
|
-
};
|
|
2471
|
-
const discoverSolutionRequest = {
|
|
2472
|
-
parameterPath: ["options", "discoverSolutionRequest"],
|
|
2473
|
-
mapper: DiscoveryNlpRequest,
|
|
2474
|
-
};
|
|
2475
|
-
const subscriptionId = {
|
|
2476
|
-
parameterPath: "subscriptionId",
|
|
2477
|
-
mapper: {
|
|
2478
|
-
serializedName: "subscriptionId",
|
|
2479
|
-
required: true,
|
|
2480
|
-
type: {
|
|
2481
|
-
name: "String",
|
|
2482
|
-
},
|
|
2483
|
-
},
|
|
2484
|
-
skipEncoding: true,
|
|
2485
|
-
};
|
|
2486
|
-
|
|
2487
|
-
/*
|
|
2488
|
-
* Copyright (c) Microsoft Corporation.
|
|
2489
|
-
* Licensed under the MIT License.
|
|
2490
|
-
*
|
|
2491
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2492
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2493
|
-
*/
|
|
2494
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2495
|
-
/** Class containing Operations operations. */
|
|
2496
|
-
class OperationsImpl {
|
|
2497
|
-
/**
|
|
2498
|
-
* Initialize a new instance of the class Operations class.
|
|
2499
|
-
* @param client Reference to the service client
|
|
2500
|
-
*/
|
|
2501
|
-
constructor(client) {
|
|
2502
|
-
this.client = client;
|
|
2503
|
-
}
|
|
2504
|
-
/**
|
|
2505
|
-
* Returns list of operations.
|
|
2506
|
-
* @param options The options parameters.
|
|
2507
|
-
*/
|
|
2508
|
-
list(options) {
|
|
2509
|
-
const iter = this.listPagingAll(options);
|
|
2510
|
-
return {
|
|
2511
|
-
next() {
|
|
2512
|
-
return iter.next();
|
|
2513
|
-
},
|
|
2514
|
-
[Symbol.asyncIterator]() {
|
|
2515
|
-
return this;
|
|
2516
|
-
},
|
|
2517
|
-
byPage: (settings) => {
|
|
2518
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2519
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2520
|
-
}
|
|
2521
|
-
return this.listPagingPage(options, settings);
|
|
2522
|
-
},
|
|
2523
|
-
};
|
|
2524
|
-
}
|
|
2525
|
-
listPagingPage(options, settings) {
|
|
2526
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2527
|
-
let result;
|
|
2528
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2529
|
-
if (!continuationToken) {
|
|
2530
|
-
result = yield tslib.__await(this._list(options));
|
|
2531
|
-
let page = result.value || [];
|
|
2532
|
-
continuationToken = result.nextLink;
|
|
2533
|
-
setContinuationToken(page, continuationToken);
|
|
2534
|
-
yield yield tslib.__await(page);
|
|
2535
|
-
}
|
|
2536
|
-
while (continuationToken) {
|
|
2537
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2538
|
-
continuationToken = result.nextLink;
|
|
2539
|
-
let page = result.value || [];
|
|
2540
|
-
setContinuationToken(page, continuationToken);
|
|
2541
|
-
yield yield tslib.__await(page);
|
|
2542
|
-
}
|
|
2543
|
-
});
|
|
2544
|
-
}
|
|
2545
|
-
listPagingAll(options) {
|
|
2546
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2547
|
-
var _a, e_1, _b, _c;
|
|
2548
|
-
try {
|
|
2549
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2550
|
-
_c = _f.value;
|
|
2551
|
-
_d = false;
|
|
2552
|
-
const page = _c;
|
|
2553
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2554
|
-
}
|
|
2555
|
-
}
|
|
2556
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2557
|
-
finally {
|
|
2558
|
-
try {
|
|
2559
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2560
|
-
}
|
|
2561
|
-
finally { if (e_1) throw e_1.error; }
|
|
2562
|
-
}
|
|
2563
|
-
});
|
|
2564
|
-
}
|
|
2565
|
-
/**
|
|
2566
|
-
* Returns list of operations.
|
|
2567
|
-
* @param options The options parameters.
|
|
2568
|
-
*/
|
|
2569
|
-
_list(options) {
|
|
2570
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec$1);
|
|
2571
|
-
}
|
|
2572
|
-
/**
|
|
2573
|
-
* ListNext
|
|
2574
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2575
|
-
* @param options The options parameters.
|
|
2576
|
-
*/
|
|
2577
|
-
_listNext(nextLink, options) {
|
|
2578
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec$1);
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
// Operation Specifications
|
|
2582
|
-
const serializer$9 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2583
|
-
const listOperationSpec$1 = {
|
|
2584
|
-
path: "/providers/Microsoft.Help/operations",
|
|
2585
|
-
httpMethod: "GET",
|
|
2586
|
-
responses: {
|
|
2587
|
-
200: {
|
|
2588
|
-
bodyMapper: OperationListResult,
|
|
2589
|
-
},
|
|
2590
|
-
default: {
|
|
2591
|
-
bodyMapper: ErrorResponse,
|
|
2592
|
-
},
|
|
2593
|
-
},
|
|
2594
|
-
queryParameters: [apiVersion],
|
|
2595
|
-
urlParameters: [$host],
|
|
2596
|
-
headerParameters: [accept],
|
|
2597
|
-
serializer: serializer$9,
|
|
2598
|
-
};
|
|
2599
|
-
const listNextOperationSpec$1 = {
|
|
2600
|
-
path: "{nextLink}",
|
|
2601
|
-
httpMethod: "GET",
|
|
2602
|
-
responses: {
|
|
2603
|
-
200: {
|
|
2604
|
-
bodyMapper: OperationListResult,
|
|
2605
|
-
},
|
|
2606
|
-
default: {
|
|
2607
|
-
bodyMapper: ErrorResponse,
|
|
2608
|
-
},
|
|
2609
|
-
},
|
|
2610
|
-
urlParameters: [$host, nextLink],
|
|
2611
|
-
headerParameters: [accept],
|
|
2612
|
-
serializer: serializer$9,
|
|
2613
|
-
};
|
|
2614
|
-
|
|
2615
|
-
/*
|
|
2616
|
-
* Copyright (c) Microsoft Corporation.
|
|
2617
|
-
* Licensed under the MIT License.
|
|
2618
|
-
*
|
|
2619
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2620
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2621
|
-
*/
|
|
2622
|
-
/** Class containing CheckNameAvailability operations. */
|
|
2623
|
-
class CheckNameAvailabilityImpl {
|
|
2624
|
-
/**
|
|
2625
|
-
* Initialize a new instance of the class CheckNameAvailability class.
|
|
2626
|
-
* @param client Reference to the service client
|
|
2627
|
-
*/
|
|
2628
|
-
constructor(client) {
|
|
2629
|
-
this.client = client;
|
|
2630
|
-
}
|
|
2631
|
-
/**
|
|
2632
|
-
* This API is used to check the uniqueness of a resource name used for a diagnostic, troubleshooter or
|
|
2633
|
-
* solutions
|
|
2634
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2635
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2636
|
-
*
|
|
2637
|
-
* @param options The options parameters.
|
|
2638
|
-
*/
|
|
2639
|
-
post(scope, options) {
|
|
2640
|
-
return this.client.sendOperationRequest({ scope, options }, postOperationSpec$2);
|
|
2641
|
-
}
|
|
2642
|
-
}
|
|
2643
|
-
// Operation Specifications
|
|
2644
|
-
const serializer$8 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2645
|
-
const postOperationSpec$2 = {
|
|
2646
|
-
path: "/{scope}/providers/Microsoft.Help/checkNameAvailability",
|
|
2647
|
-
httpMethod: "POST",
|
|
2648
|
-
responses: {
|
|
2649
|
-
200: {
|
|
2650
|
-
bodyMapper: CheckNameAvailabilityResponse,
|
|
2651
|
-
},
|
|
2652
|
-
default: {
|
|
2653
|
-
bodyMapper: ErrorResponse,
|
|
2654
|
-
},
|
|
2655
|
-
},
|
|
2656
|
-
requestBody: checkNameAvailabilityRequest,
|
|
2657
|
-
queryParameters: [apiVersion],
|
|
2658
|
-
urlParameters: [$host, scope],
|
|
2659
|
-
headerParameters: [accept, contentType],
|
|
2660
|
-
mediaType: "json",
|
|
2661
|
-
serializer: serializer$8,
|
|
2662
|
-
};
|
|
2663
|
-
|
|
2664
|
-
/*
|
|
2665
|
-
* Copyright (c) Microsoft Corporation.
|
|
2666
|
-
* Licensed under the MIT License.
|
|
2667
|
-
*
|
|
2668
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2669
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2670
|
-
*/
|
|
2671
|
-
function createLroSpec(inputs) {
|
|
2672
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
2673
|
-
return {
|
|
2674
|
-
requestMethod: spec.httpMethod,
|
|
2675
|
-
requestPath: spec.path,
|
|
2676
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2677
|
-
sendPollRequest: (path, options) => {
|
|
2678
|
-
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2679
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2680
|
-
},
|
|
2681
|
-
};
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
/*
|
|
2685
|
-
* Copyright (c) Microsoft Corporation.
|
|
2686
|
-
* Licensed under the MIT License.
|
|
2687
|
-
*
|
|
2688
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2689
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2690
|
-
*/
|
|
2691
|
-
/** Class containing Diagnostics operations. */
|
|
2692
|
-
class DiagnosticsImpl {
|
|
2693
|
-
/**
|
|
2694
|
-
* Initialize a new instance of the class Diagnostics class.
|
|
2695
|
-
* @param client Reference to the service client
|
|
2696
|
-
*/
|
|
2697
|
-
constructor(client) {
|
|
2698
|
-
this.client = client;
|
|
2699
|
-
}
|
|
2700
|
-
/**
|
|
2701
|
-
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
2702
|
-
* <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
|
|
2703
|
-
* provide the root cause of the issue and the steps to address the issue.<br/><br/>
|
|
2704
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2705
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2706
|
-
*
|
|
2707
|
-
* @param diagnosticsResourceName Unique resource name for insight resources
|
|
2708
|
-
* @param options The options parameters.
|
|
2709
|
-
*/
|
|
2710
|
-
beginCreate(scope, diagnosticsResourceName, options) {
|
|
2711
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2712
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2713
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2714
|
-
});
|
|
2715
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2716
|
-
var _a;
|
|
2717
|
-
let currentRawResponse = undefined;
|
|
2718
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2719
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2720
|
-
currentRawResponse = rawResponse;
|
|
2721
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2722
|
-
};
|
|
2723
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2724
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2725
|
-
return {
|
|
2726
|
-
flatResponse,
|
|
2727
|
-
rawResponse: {
|
|
2728
|
-
statusCode: currentRawResponse.status,
|
|
2729
|
-
body: currentRawResponse.parsedBody,
|
|
2730
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
2731
|
-
},
|
|
2732
|
-
};
|
|
2733
|
-
});
|
|
2734
|
-
const lro = createLroSpec({
|
|
2735
|
-
sendOperationFn,
|
|
2736
|
-
args: { scope, diagnosticsResourceName, options },
|
|
2737
|
-
spec: createOperationSpec$3,
|
|
2738
|
-
});
|
|
2739
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2740
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2741
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2742
|
-
resourceLocationConfig: "azure-async-operation",
|
|
2743
|
-
});
|
|
2744
|
-
yield poller.poll();
|
|
2745
|
-
return poller;
|
|
2746
|
-
});
|
|
2747
|
-
}
|
|
2748
|
-
/**
|
|
2749
|
-
* Creates a diagnostic for the specific resource using solutionId from discovery solutions.
|
|
2750
|
-
* <br/>Diagnostics are powerful solutions that access product resources or other relevant data and
|
|
2751
|
-
* provide the root cause of the issue and the steps to address the issue.<br/><br/>
|
|
2752
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2753
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2754
|
-
*
|
|
2755
|
-
* @param diagnosticsResourceName Unique resource name for insight resources
|
|
2756
|
-
* @param options The options parameters.
|
|
2757
|
-
*/
|
|
2758
|
-
beginCreateAndWait(scope, diagnosticsResourceName, options) {
|
|
2759
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2760
|
-
const poller = yield this.beginCreate(scope, diagnosticsResourceName, options);
|
|
2761
|
-
return poller.pollUntilDone();
|
|
2762
|
-
});
|
|
2763
|
-
}
|
|
2764
|
-
/**
|
|
2765
|
-
* Get the diagnostics using the 'diagnosticsResourceName' you chose while creating the diagnostic.
|
|
2766
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
2767
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
2768
|
-
*
|
|
2769
|
-
* @param diagnosticsResourceName Unique resource name for insight resources
|
|
2770
|
-
* @param options The options parameters.
|
|
2771
|
-
*/
|
|
2772
|
-
get(scope, diagnosticsResourceName, options) {
|
|
2773
|
-
return this.client.sendOperationRequest({ scope, diagnosticsResourceName, options }, getOperationSpec$4);
|
|
2774
|
-
}
|
|
2775
|
-
}
|
|
2776
|
-
// Operation Specifications
|
|
2777
|
-
const serializer$7 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2778
|
-
const createOperationSpec$3 = {
|
|
2779
|
-
path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
|
|
2780
|
-
httpMethod: "PUT",
|
|
2781
|
-
responses: {
|
|
2782
|
-
200: {
|
|
2783
|
-
bodyMapper: DiagnosticResource,
|
|
2784
|
-
},
|
|
2785
|
-
201: {
|
|
2786
|
-
bodyMapper: DiagnosticResource,
|
|
2787
|
-
},
|
|
2788
|
-
202: {
|
|
2789
|
-
bodyMapper: DiagnosticResource,
|
|
2790
|
-
},
|
|
2791
|
-
204: {
|
|
2792
|
-
bodyMapper: DiagnosticResource,
|
|
2793
|
-
},
|
|
2794
|
-
default: {
|
|
2795
|
-
bodyMapper: ErrorResponse,
|
|
2796
|
-
},
|
|
2797
|
-
},
|
|
2798
|
-
requestBody: diagnosticResourceRequest,
|
|
2799
|
-
queryParameters: [apiVersion],
|
|
2800
|
-
urlParameters: [
|
|
2801
|
-
$host,
|
|
2802
|
-
scope,
|
|
2803
|
-
diagnosticsResourceName,
|
|
2804
|
-
],
|
|
2805
|
-
headerParameters: [accept, contentType],
|
|
2806
|
-
mediaType: "json",
|
|
2807
|
-
serializer: serializer$7,
|
|
2808
|
-
};
|
|
2809
|
-
const getOperationSpec$4 = {
|
|
2810
|
-
path: "/{scope}/providers/Microsoft.Help/diagnostics/{diagnosticsResourceName}",
|
|
2811
|
-
httpMethod: "GET",
|
|
2812
|
-
responses: {
|
|
2813
|
-
200: {
|
|
2814
|
-
bodyMapper: DiagnosticResource,
|
|
2815
|
-
},
|
|
2816
|
-
default: {
|
|
2817
|
-
bodyMapper: ErrorResponse,
|
|
2818
|
-
},
|
|
2819
|
-
},
|
|
2820
|
-
queryParameters: [apiVersion],
|
|
2821
|
-
urlParameters: [
|
|
2822
|
-
$host,
|
|
2823
|
-
scope,
|
|
2824
|
-
diagnosticsResourceName,
|
|
2825
|
-
],
|
|
2826
|
-
headerParameters: [accept],
|
|
2827
|
-
serializer: serializer$7,
|
|
2828
|
-
};
|
|
2829
|
-
|
|
2830
|
-
/*
|
|
2831
|
-
* Copyright (c) Microsoft Corporation.
|
|
2832
|
-
* Licensed under the MIT License.
|
|
2833
|
-
*
|
|
2834
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2835
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2836
|
-
*/
|
|
2837
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2838
|
-
/** Class containing DiscoverySolution operations. */
|
|
2839
|
-
class DiscoverySolutionImpl {
|
|
2840
|
-
/**
|
|
2841
|
-
* Initialize a new instance of the class DiscoverySolution class.
|
|
2842
|
-
* @param client Reference to the service client
|
|
2843
|
-
*/
|
|
2844
|
-
constructor(client) {
|
|
2845
|
-
this.client = client;
|
|
2846
|
-
}
|
|
2847
|
-
/**
|
|
2848
|
-
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
2849
|
-
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
2850
|
-
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
2851
|
-
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
2852
|
-
* problemClassificationId (Use the [problemClassification
|
|
2853
|
-
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP))
|
|
2854
|
-
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
2855
|
-
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
2856
|
-
* and Solutions API.
|
|
2857
|
-
* @param options The options parameters.
|
|
2858
|
-
*/
|
|
2859
|
-
list(options) {
|
|
2860
|
-
const iter = this.listPagingAll(options);
|
|
2861
|
-
return {
|
|
2862
|
-
next() {
|
|
2863
|
-
return iter.next();
|
|
2864
|
-
},
|
|
2865
|
-
[Symbol.asyncIterator]() {
|
|
2866
|
-
return this;
|
|
2867
|
-
},
|
|
2868
|
-
byPage: (settings) => {
|
|
2869
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2870
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2871
|
-
}
|
|
2872
|
-
return this.listPagingPage(options, settings);
|
|
2873
|
-
},
|
|
2874
|
-
};
|
|
2875
|
-
}
|
|
2876
|
-
listPagingPage(options, settings) {
|
|
2877
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
2878
|
-
let result;
|
|
2879
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2880
|
-
if (!continuationToken) {
|
|
2881
|
-
result = yield tslib.__await(this._list(options));
|
|
2882
|
-
let page = result.value || [];
|
|
2883
|
-
continuationToken = result.nextLink;
|
|
2884
|
-
setContinuationToken(page, continuationToken);
|
|
2885
|
-
yield yield tslib.__await(page);
|
|
2886
|
-
}
|
|
2887
|
-
while (continuationToken) {
|
|
2888
|
-
result = yield tslib.__await(this._listNext(continuationToken, options));
|
|
2889
|
-
continuationToken = result.nextLink;
|
|
2890
|
-
let page = result.value || [];
|
|
2891
|
-
setContinuationToken(page, continuationToken);
|
|
2892
|
-
yield yield tslib.__await(page);
|
|
2893
|
-
}
|
|
2894
|
-
});
|
|
2895
|
-
}
|
|
2896
|
-
listPagingAll(options) {
|
|
2897
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
2898
|
-
var _a, e_1, _b, _c;
|
|
2899
|
-
try {
|
|
2900
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2901
|
-
_c = _f.value;
|
|
2902
|
-
_d = false;
|
|
2903
|
-
const page = _c;
|
|
2904
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2905
|
-
}
|
|
2906
|
-
}
|
|
2907
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2908
|
-
finally {
|
|
2909
|
-
try {
|
|
2910
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2911
|
-
}
|
|
2912
|
-
finally { if (e_1) throw e_1.error; }
|
|
2913
|
-
}
|
|
2914
|
-
});
|
|
2915
|
-
}
|
|
2916
|
-
/**
|
|
2917
|
-
* Lists the relevant Azure Diagnostics, Solutions and Troubleshooters using [problemClassification
|
|
2918
|
-
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP)) AND
|
|
2919
|
-
* resourceUri or resourceType.<br/> Discovery Solutions is the initial entry point within Help API,
|
|
2920
|
-
* which identifies relevant Azure diagnostics and solutions. <br/><br/> Required Input :
|
|
2921
|
-
* problemClassificationId (Use the [problemClassification
|
|
2922
|
-
* API](https://learn.microsoft.com/rest/api/support/problem-classifications/list?tabs=HTTP))
|
|
2923
|
-
* <br/>Optional input: resourceUri OR resource Type <br/><br/> <b>Note: </b> ‘requiredInputs’ from
|
|
2924
|
-
* Discovery solutions response must be passed via ‘additionalParameters’ as an input to Diagnostics
|
|
2925
|
-
* and Solutions API.
|
|
2926
|
-
* @param options The options parameters.
|
|
2927
|
-
*/
|
|
2928
|
-
_list(options) {
|
|
2929
|
-
return this.client.sendOperationRequest({ options }, listOperationSpec);
|
|
2930
|
-
}
|
|
2931
|
-
/**
|
|
2932
|
-
* ListNext
|
|
2933
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
2934
|
-
* @param options The options parameters.
|
|
2935
|
-
*/
|
|
2936
|
-
_listNext(nextLink, options) {
|
|
2937
|
-
return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
|
|
2938
|
-
}
|
|
2939
|
-
}
|
|
2940
|
-
// Operation Specifications
|
|
2941
|
-
const serializer$6 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
2942
|
-
const listOperationSpec = {
|
|
2943
|
-
path: "/providers/Microsoft.Help/discoverySolutions",
|
|
2944
|
-
httpMethod: "GET",
|
|
2945
|
-
responses: {
|
|
2946
|
-
200: {
|
|
2947
|
-
bodyMapper: DiscoveryResponse,
|
|
2948
|
-
},
|
|
2949
|
-
default: {
|
|
2950
|
-
bodyMapper: ErrorResponse,
|
|
2951
|
-
},
|
|
2952
|
-
},
|
|
2953
|
-
queryParameters: [
|
|
2954
|
-
apiVersion,
|
|
2955
|
-
filter,
|
|
2956
|
-
skiptoken,
|
|
2957
|
-
],
|
|
2958
|
-
urlParameters: [$host],
|
|
2959
|
-
headerParameters: [accept],
|
|
2960
|
-
serializer: serializer$6,
|
|
2961
|
-
};
|
|
2962
|
-
const listNextOperationSpec = {
|
|
2963
|
-
path: "{nextLink}",
|
|
2964
|
-
httpMethod: "GET",
|
|
2965
|
-
responses: {
|
|
2966
|
-
200: {
|
|
2967
|
-
bodyMapper: DiscoveryResponse,
|
|
2968
|
-
},
|
|
2969
|
-
default: {
|
|
2970
|
-
bodyMapper: ErrorResponse,
|
|
2971
|
-
},
|
|
2972
|
-
},
|
|
2973
|
-
urlParameters: [$host, nextLink],
|
|
2974
|
-
headerParameters: [accept],
|
|
2975
|
-
serializer: serializer$6,
|
|
2976
|
-
};
|
|
2977
|
-
|
|
2978
|
-
/*
|
|
2979
|
-
* Copyright (c) Microsoft Corporation.
|
|
2980
|
-
* Licensed under the MIT License.
|
|
2981
|
-
*
|
|
2982
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2983
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2984
|
-
*/
|
|
2985
|
-
/** Class containing Solution operations. */
|
|
2986
|
-
class SolutionImpl {
|
|
2987
|
-
/**
|
|
2988
|
-
* Initialize a new instance of the class Solution class.
|
|
2989
|
-
* @param client Reference to the service client
|
|
2990
|
-
*/
|
|
2991
|
-
constructor(client) {
|
|
2992
|
-
this.client = client;
|
|
2993
|
-
}
|
|
2994
|
-
/**
|
|
2995
|
-
* Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
|
|
2996
|
-
* requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
|
|
2997
|
-
* self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
|
|
2998
|
-
* resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
|
|
2999
|
-
* context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
|
|
3000
|
-
* instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
|
|
3001
|
-
* assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
|
|
3002
|
-
* into unified solutions tailored to address a specific support problem area.
|
|
3003
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3004
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3005
|
-
*
|
|
3006
|
-
* @param solutionResourceName Solution resource Name.
|
|
3007
|
-
* @param options The options parameters.
|
|
3008
|
-
*/
|
|
3009
|
-
beginCreate(scope, solutionResourceName, options) {
|
|
3010
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3011
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3012
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3013
|
-
});
|
|
3014
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3015
|
-
var _a;
|
|
3016
|
-
let currentRawResponse = undefined;
|
|
3017
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3018
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3019
|
-
currentRawResponse = rawResponse;
|
|
3020
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3021
|
-
};
|
|
3022
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3023
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3024
|
-
return {
|
|
3025
|
-
flatResponse,
|
|
3026
|
-
rawResponse: {
|
|
3027
|
-
statusCode: currentRawResponse.status,
|
|
3028
|
-
body: currentRawResponse.parsedBody,
|
|
3029
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3030
|
-
},
|
|
3031
|
-
};
|
|
3032
|
-
});
|
|
3033
|
-
const lro = createLroSpec({
|
|
3034
|
-
sendOperationFn,
|
|
3035
|
-
args: { scope, solutionResourceName, options },
|
|
3036
|
-
spec: createOperationSpec$2,
|
|
3037
|
-
});
|
|
3038
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3039
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3040
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3041
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3042
|
-
});
|
|
3043
|
-
yield poller.poll();
|
|
3044
|
-
return poller;
|
|
3045
|
-
});
|
|
3046
|
-
}
|
|
3047
|
-
/**
|
|
3048
|
-
* Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and
|
|
3049
|
-
* requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of
|
|
3050
|
-
* self-help resources that have been thoughtfully curated by Azure engineers to aid customers in
|
|
3051
|
-
* resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and
|
|
3052
|
-
* context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich
|
|
3053
|
-
* instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully
|
|
3054
|
-
* assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged
|
|
3055
|
-
* into unified solutions tailored to address a specific support problem area.
|
|
3056
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3057
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3058
|
-
*
|
|
3059
|
-
* @param solutionResourceName Solution resource Name.
|
|
3060
|
-
* @param options The options parameters.
|
|
3061
|
-
*/
|
|
3062
|
-
beginCreateAndWait(scope, solutionResourceName, options) {
|
|
3063
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3064
|
-
const poller = yield this.beginCreate(scope, solutionResourceName, options);
|
|
3065
|
-
return poller.pollUntilDone();
|
|
3066
|
-
});
|
|
3067
|
-
}
|
|
3068
|
-
/**
|
|
3069
|
-
* Get the solution using the applicable solutionResourceName while creating the solution.
|
|
3070
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3071
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3072
|
-
*
|
|
3073
|
-
* @param solutionResourceName Solution resource Name.
|
|
3074
|
-
* @param options The options parameters.
|
|
3075
|
-
*/
|
|
3076
|
-
get(scope, solutionResourceName, options) {
|
|
3077
|
-
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, getOperationSpec$3);
|
|
3078
|
-
}
|
|
3079
|
-
/**
|
|
3080
|
-
* Update the requiredInputs or additional information needed to execute the solution
|
|
3081
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3082
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3083
|
-
*
|
|
3084
|
-
* @param solutionResourceName Solution resource Name.
|
|
3085
|
-
* @param options The options parameters.
|
|
3086
|
-
*/
|
|
3087
|
-
beginUpdate(scope, solutionResourceName, options) {
|
|
3088
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3089
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3090
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3091
|
-
});
|
|
3092
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3093
|
-
var _a;
|
|
3094
|
-
let currentRawResponse = undefined;
|
|
3095
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3096
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3097
|
-
currentRawResponse = rawResponse;
|
|
3098
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3099
|
-
};
|
|
3100
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3101
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3102
|
-
return {
|
|
3103
|
-
flatResponse,
|
|
3104
|
-
rawResponse: {
|
|
3105
|
-
statusCode: currentRawResponse.status,
|
|
3106
|
-
body: currentRawResponse.parsedBody,
|
|
3107
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3108
|
-
},
|
|
3109
|
-
};
|
|
3110
|
-
});
|
|
3111
|
-
const lro = createLroSpec({
|
|
3112
|
-
sendOperationFn,
|
|
3113
|
-
args: { scope, solutionResourceName, options },
|
|
3114
|
-
spec: updateOperationSpec,
|
|
3115
|
-
});
|
|
3116
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3117
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3118
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3119
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3120
|
-
});
|
|
3121
|
-
yield poller.poll();
|
|
3122
|
-
return poller;
|
|
3123
|
-
});
|
|
3124
|
-
}
|
|
3125
|
-
/**
|
|
3126
|
-
* Update the requiredInputs or additional information needed to execute the solution
|
|
3127
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3128
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3129
|
-
*
|
|
3130
|
-
* @param solutionResourceName Solution resource Name.
|
|
3131
|
-
* @param options The options parameters.
|
|
3132
|
-
*/
|
|
3133
|
-
beginUpdateAndWait(scope, solutionResourceName, options) {
|
|
3134
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3135
|
-
const poller = yield this.beginUpdate(scope, solutionResourceName, options);
|
|
3136
|
-
return poller.pollUntilDone();
|
|
3137
|
-
});
|
|
3138
|
-
}
|
|
3139
|
-
/**
|
|
3140
|
-
* Warm up the solution resource by preloading asynchronous diagnostics results into cache
|
|
3141
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3142
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3143
|
-
*
|
|
3144
|
-
* @param solutionResourceName Solution resource Name.
|
|
3145
|
-
* @param options The options parameters.
|
|
3146
|
-
*/
|
|
3147
|
-
warmUp(scope, solutionResourceName, options) {
|
|
3148
|
-
return this.client.sendOperationRequest({ scope, solutionResourceName, options }, warmUpOperationSpec);
|
|
3149
|
-
}
|
|
3150
|
-
}
|
|
3151
|
-
// Operation Specifications
|
|
3152
|
-
const serializer$5 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3153
|
-
const createOperationSpec$2 = {
|
|
3154
|
-
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3155
|
-
httpMethod: "PUT",
|
|
3156
|
-
responses: {
|
|
3157
|
-
200: {
|
|
3158
|
-
bodyMapper: SolutionResource,
|
|
3159
|
-
},
|
|
3160
|
-
201: {
|
|
3161
|
-
bodyMapper: SolutionResource,
|
|
3162
|
-
},
|
|
3163
|
-
202: {
|
|
3164
|
-
bodyMapper: SolutionResource,
|
|
3165
|
-
},
|
|
3166
|
-
204: {
|
|
3167
|
-
bodyMapper: SolutionResource,
|
|
3168
|
-
},
|
|
3169
|
-
default: {
|
|
3170
|
-
bodyMapper: ErrorResponse,
|
|
3171
|
-
},
|
|
3172
|
-
},
|
|
3173
|
-
requestBody: solutionRequestBody,
|
|
3174
|
-
queryParameters: [apiVersion],
|
|
3175
|
-
urlParameters: [
|
|
3176
|
-
$host,
|
|
3177
|
-
scope,
|
|
3178
|
-
solutionResourceName,
|
|
3179
|
-
],
|
|
3180
|
-
headerParameters: [accept, contentType],
|
|
3181
|
-
mediaType: "json",
|
|
3182
|
-
serializer: serializer$5,
|
|
3183
|
-
};
|
|
3184
|
-
const getOperationSpec$3 = {
|
|
3185
|
-
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3186
|
-
httpMethod: "GET",
|
|
3187
|
-
responses: {
|
|
3188
|
-
200: {
|
|
3189
|
-
bodyMapper: SolutionResource,
|
|
3190
|
-
},
|
|
3191
|
-
default: {
|
|
3192
|
-
bodyMapper: ErrorResponse,
|
|
3193
|
-
},
|
|
3194
|
-
},
|
|
3195
|
-
queryParameters: [apiVersion],
|
|
3196
|
-
urlParameters: [
|
|
3197
|
-
$host,
|
|
3198
|
-
scope,
|
|
3199
|
-
solutionResourceName,
|
|
3200
|
-
],
|
|
3201
|
-
headerParameters: [accept],
|
|
3202
|
-
serializer: serializer$5,
|
|
3203
|
-
};
|
|
3204
|
-
const updateOperationSpec = {
|
|
3205
|
-
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}",
|
|
3206
|
-
httpMethod: "PATCH",
|
|
3207
|
-
responses: {
|
|
3208
|
-
200: {
|
|
3209
|
-
bodyMapper: SolutionResource,
|
|
3210
|
-
headersMapper: SolutionUpdateHeaders,
|
|
3211
|
-
},
|
|
3212
|
-
201: {
|
|
3213
|
-
bodyMapper: SolutionResource,
|
|
3214
|
-
headersMapper: SolutionUpdateHeaders,
|
|
3215
|
-
},
|
|
3216
|
-
202: {
|
|
3217
|
-
bodyMapper: SolutionResource,
|
|
3218
|
-
headersMapper: SolutionUpdateHeaders,
|
|
3219
|
-
},
|
|
3220
|
-
204: {
|
|
3221
|
-
bodyMapper: SolutionResource,
|
|
3222
|
-
headersMapper: SolutionUpdateHeaders,
|
|
3223
|
-
},
|
|
3224
|
-
default: {
|
|
3225
|
-
bodyMapper: ErrorResponse,
|
|
3226
|
-
},
|
|
3227
|
-
},
|
|
3228
|
-
requestBody: solutionPatchRequestBody,
|
|
3229
|
-
queryParameters: [apiVersion],
|
|
3230
|
-
urlParameters: [
|
|
3231
|
-
$host,
|
|
3232
|
-
scope,
|
|
3233
|
-
solutionResourceName,
|
|
3234
|
-
],
|
|
3235
|
-
headerParameters: [accept, contentType],
|
|
3236
|
-
mediaType: "json",
|
|
3237
|
-
serializer: serializer$5,
|
|
3238
|
-
};
|
|
3239
|
-
const warmUpOperationSpec = {
|
|
3240
|
-
path: "/{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}/warmup",
|
|
3241
|
-
httpMethod: "POST",
|
|
3242
|
-
responses: {
|
|
3243
|
-
204: {},
|
|
3244
|
-
default: {
|
|
3245
|
-
bodyMapper: ErrorResponse,
|
|
3246
|
-
},
|
|
3247
|
-
},
|
|
3248
|
-
requestBody: solutionWarmUpRequestBody,
|
|
3249
|
-
queryParameters: [apiVersion],
|
|
3250
|
-
urlParameters: [
|
|
3251
|
-
$host,
|
|
3252
|
-
scope,
|
|
3253
|
-
solutionResourceName,
|
|
3254
|
-
],
|
|
3255
|
-
headerParameters: [accept, contentType],
|
|
3256
|
-
mediaType: "json",
|
|
3257
|
-
serializer: serializer$5,
|
|
3258
|
-
};
|
|
3259
|
-
|
|
3260
|
-
/*
|
|
3261
|
-
* Copyright (c) Microsoft Corporation.
|
|
3262
|
-
* Licensed under the MIT License.
|
|
3263
|
-
*
|
|
3264
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3265
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3266
|
-
*/
|
|
3267
|
-
/** Class containing SimplifiedSolutions operations. */
|
|
3268
|
-
class SimplifiedSolutionsImpl {
|
|
3269
|
-
/**
|
|
3270
|
-
* Initialize a new instance of the class SimplifiedSolutions class.
|
|
3271
|
-
* @param client Reference to the service client
|
|
3272
|
-
*/
|
|
3273
|
-
constructor(client) {
|
|
3274
|
-
this.client = client;
|
|
3275
|
-
}
|
|
3276
|
-
/**
|
|
3277
|
-
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
3278
|
-
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
3279
|
-
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
3280
|
-
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
3281
|
-
* replacement maps and can use the content in the API response to directly render as HTML
|
|
3282
|
-
* content.<br/>
|
|
3283
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3284
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3285
|
-
*
|
|
3286
|
-
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
3287
|
-
* @param options The options parameters.
|
|
3288
|
-
*/
|
|
3289
|
-
beginCreate(scope, simplifiedSolutionsResourceName, options) {
|
|
3290
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3291
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3292
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3293
|
-
});
|
|
3294
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3295
|
-
var _a;
|
|
3296
|
-
let currentRawResponse = undefined;
|
|
3297
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3298
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3299
|
-
currentRawResponse = rawResponse;
|
|
3300
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3301
|
-
};
|
|
3302
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3303
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3304
|
-
return {
|
|
3305
|
-
flatResponse,
|
|
3306
|
-
rawResponse: {
|
|
3307
|
-
statusCode: currentRawResponse.status,
|
|
3308
|
-
body: currentRawResponse.parsedBody,
|
|
3309
|
-
headers: currentRawResponse.headers.toJSON(),
|
|
3310
|
-
},
|
|
3311
|
-
};
|
|
3312
|
-
});
|
|
3313
|
-
const lro = createLroSpec({
|
|
3314
|
-
sendOperationFn,
|
|
3315
|
-
args: { scope, simplifiedSolutionsResourceName, options },
|
|
3316
|
-
spec: createOperationSpec$1,
|
|
3317
|
-
});
|
|
3318
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3319
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3320
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3321
|
-
resourceLocationConfig: "azure-async-operation",
|
|
3322
|
-
});
|
|
3323
|
-
yield poller.poll();
|
|
3324
|
-
return poller;
|
|
3325
|
-
});
|
|
3326
|
-
}
|
|
3327
|
-
/**
|
|
3328
|
-
* Creates Simplified Solutions for an Azure subscription using 'solutionId' from Discovery Solutions
|
|
3329
|
-
* as the input. <br/><br/> Simplified Solutions API makes the consumption of solutions APIs easier
|
|
3330
|
-
* while still providing access to the same powerful solutions rendered in Solutions API. With
|
|
3331
|
-
* Simplified Solutions, users don't have to worry about stitching together the article using
|
|
3332
|
-
* replacement maps and can use the content in the API response to directly render as HTML
|
|
3333
|
-
* content.<br/>
|
|
3334
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3335
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3336
|
-
*
|
|
3337
|
-
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
3338
|
-
* @param options The options parameters.
|
|
3339
|
-
*/
|
|
3340
|
-
beginCreateAndWait(scope, simplifiedSolutionsResourceName, options) {
|
|
3341
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3342
|
-
const poller = yield this.beginCreate(scope, simplifiedSolutionsResourceName, options);
|
|
3343
|
-
return poller.pollUntilDone();
|
|
3344
|
-
});
|
|
3345
|
-
}
|
|
3346
|
-
/**
|
|
3347
|
-
* Get the simplified Solutions using the applicable solutionResourceName while creating the simplified
|
|
3348
|
-
* Solutions.
|
|
3349
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3350
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3351
|
-
*
|
|
3352
|
-
* @param simplifiedSolutionsResourceName Simplified Solutions Resource Name.
|
|
3353
|
-
* @param options The options parameters.
|
|
3354
|
-
*/
|
|
3355
|
-
get(scope, simplifiedSolutionsResourceName, options) {
|
|
3356
|
-
return this.client.sendOperationRequest({ scope, simplifiedSolutionsResourceName, options }, getOperationSpec$2);
|
|
3357
|
-
}
|
|
3358
|
-
}
|
|
3359
|
-
// Operation Specifications
|
|
3360
|
-
const serializer$4 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3361
|
-
const createOperationSpec$1 = {
|
|
3362
|
-
path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
|
|
3363
|
-
httpMethod: "PUT",
|
|
3364
|
-
responses: {
|
|
3365
|
-
200: {
|
|
3366
|
-
bodyMapper: SimplifiedSolutionsResource,
|
|
3367
|
-
},
|
|
3368
|
-
201: {
|
|
3369
|
-
bodyMapper: SimplifiedSolutionsResource,
|
|
3370
|
-
},
|
|
3371
|
-
202: {
|
|
3372
|
-
bodyMapper: SimplifiedSolutionsResource,
|
|
3373
|
-
},
|
|
3374
|
-
204: {
|
|
3375
|
-
bodyMapper: SimplifiedSolutionsResource,
|
|
3376
|
-
},
|
|
3377
|
-
default: {
|
|
3378
|
-
bodyMapper: ErrorResponse,
|
|
3379
|
-
},
|
|
3380
|
-
},
|
|
3381
|
-
requestBody: simplifiedSolutionsRequestBody,
|
|
3382
|
-
queryParameters: [apiVersion],
|
|
3383
|
-
urlParameters: [
|
|
3384
|
-
$host,
|
|
3385
|
-
scope,
|
|
3386
|
-
simplifiedSolutionsResourceName,
|
|
3387
|
-
],
|
|
3388
|
-
headerParameters: [accept, contentType],
|
|
3389
|
-
mediaType: "json",
|
|
3390
|
-
serializer: serializer$4,
|
|
3391
|
-
};
|
|
3392
|
-
const getOperationSpec$2 = {
|
|
3393
|
-
path: "/{scope}/providers/Microsoft.Help/simplifiedSolutions/{simplifiedSolutionsResourceName}",
|
|
3394
|
-
httpMethod: "GET",
|
|
3395
|
-
responses: {
|
|
3396
|
-
200: {
|
|
3397
|
-
bodyMapper: SimplifiedSolutionsResource,
|
|
3398
|
-
},
|
|
3399
|
-
default: {
|
|
3400
|
-
bodyMapper: ErrorResponse,
|
|
3401
|
-
},
|
|
3402
|
-
},
|
|
3403
|
-
queryParameters: [apiVersion],
|
|
3404
|
-
urlParameters: [
|
|
3405
|
-
$host,
|
|
3406
|
-
scope,
|
|
3407
|
-
simplifiedSolutionsResourceName,
|
|
3408
|
-
],
|
|
3409
|
-
headerParameters: [accept],
|
|
3410
|
-
serializer: serializer$4,
|
|
3411
|
-
};
|
|
3412
|
-
|
|
3413
|
-
/*
|
|
3414
|
-
* Copyright (c) Microsoft Corporation.
|
|
3415
|
-
* Licensed under the MIT License.
|
|
3416
|
-
*
|
|
3417
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3418
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3419
|
-
*/
|
|
3420
|
-
/** Class containing Troubleshooters operations. */
|
|
3421
|
-
class TroubleshootersImpl {
|
|
3422
|
-
/**
|
|
3423
|
-
* Initialize a new instance of the class Troubleshooters class.
|
|
3424
|
-
* @param client Reference to the service client
|
|
3425
|
-
*/
|
|
3426
|
-
constructor(client) {
|
|
3427
|
-
this.client = client;
|
|
3428
|
-
}
|
|
3429
|
-
/**
|
|
3430
|
-
* Creates the specific troubleshooter action under a resource or subscription using the ‘solutionId’
|
|
3431
|
-
* and ‘properties.parameters’ as the trigger. <br/> Azure Troubleshooters help with hard to classify
|
|
3432
|
-
* issues, reducing the gap between customer observed problems and solutions by guiding the user
|
|
3433
|
-
* effortlessly through the troubleshooting process. Each Troubleshooter flow represents a problem area
|
|
3434
|
-
* within Azure and has a complex tree-like structure that addresses many root causes. These flows are
|
|
3435
|
-
* prepared with the help of Subject Matter experts and customer support engineers by carefully
|
|
3436
|
-
* considering previous support requests raised by customers. Troubleshooters terminate at a well
|
|
3437
|
-
* curated solution based off of resource backend signals and customer manual selections.
|
|
3438
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3439
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3440
|
-
*
|
|
3441
|
-
* @param troubleshooterName Troubleshooter resource Name.
|
|
3442
|
-
* @param options The options parameters.
|
|
3443
|
-
*/
|
|
3444
|
-
create(scope, troubleshooterName, options) {
|
|
3445
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, createOperationSpec);
|
|
3446
|
-
}
|
|
3447
|
-
/**
|
|
3448
|
-
* Gets troubleshooter instance result which includes the step status/result of the troubleshooter
|
|
3449
|
-
* resource name that is being executed.<br/> Get API is used to retrieve the result of a
|
|
3450
|
-
* Troubleshooter instance, which includes the status and result of each step in the Troubleshooter
|
|
3451
|
-
* workflow. This API requires the Troubleshooter resource name that was created using the Create API.
|
|
3452
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3453
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3454
|
-
*
|
|
3455
|
-
* @param troubleshooterName Troubleshooter resource Name.
|
|
3456
|
-
* @param options The options parameters.
|
|
3457
|
-
*/
|
|
3458
|
-
get(scope, troubleshooterName, options) {
|
|
3459
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, getOperationSpec$1);
|
|
3460
|
-
}
|
|
3461
|
-
/**
|
|
3462
|
-
* Uses ‘stepId’ and ‘responses’ as the trigger to continue the troubleshooting steps for the
|
|
3463
|
-
* respective troubleshooter resource name. <br/>Continue API is used to provide inputs that are
|
|
3464
|
-
* required for the specific troubleshooter to progress into the next step in the process. This API is
|
|
3465
|
-
* used after the Troubleshooter has been created using the Create API.
|
|
3466
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3467
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3468
|
-
*
|
|
3469
|
-
* @param troubleshooterName Troubleshooter resource Name.
|
|
3470
|
-
* @param options The options parameters.
|
|
3471
|
-
*/
|
|
3472
|
-
continue(scope, troubleshooterName, options) {
|
|
3473
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, continueOperationSpec);
|
|
3474
|
-
}
|
|
3475
|
-
/**
|
|
3476
|
-
* Ends the troubleshooter action
|
|
3477
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3478
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3479
|
-
*
|
|
3480
|
-
* @param troubleshooterName Troubleshooter resource Name.
|
|
3481
|
-
* @param options The options parameters.
|
|
3482
|
-
*/
|
|
3483
|
-
end(scope, troubleshooterName, options) {
|
|
3484
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, endOperationSpec);
|
|
3485
|
-
}
|
|
3486
|
-
/**
|
|
3487
|
-
* Restarts the troubleshooter API using applicable troubleshooter resource name as the input.<br/> It
|
|
3488
|
-
* returns new resource name which should be used in subsequent request. The old resource name is
|
|
3489
|
-
* obsolete after this API is invoked.
|
|
3490
|
-
* @param scope scope = resourceUri of affected resource.<br/> For example:
|
|
3491
|
-
* /subscriptions/0d0fcd2e-c4fd-4349-8497-200edb3923c6/resourcegroups/myresourceGroup/providers/Microsoft.KeyVault/vaults/test-keyvault-non-read
|
|
3492
|
-
*
|
|
3493
|
-
* @param troubleshooterName Troubleshooter resource Name.
|
|
3494
|
-
* @param options The options parameters.
|
|
3495
|
-
*/
|
|
3496
|
-
restart(scope, troubleshooterName, options) {
|
|
3497
|
-
return this.client.sendOperationRequest({ scope, troubleshooterName, options }, restartOperationSpec);
|
|
3498
|
-
}
|
|
3499
|
-
}
|
|
3500
|
-
// Operation Specifications
|
|
3501
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3502
|
-
const createOperationSpec = {
|
|
3503
|
-
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
|
|
3504
|
-
httpMethod: "PUT",
|
|
3505
|
-
responses: {
|
|
3506
|
-
200: {
|
|
3507
|
-
bodyMapper: TroubleshooterResource,
|
|
3508
|
-
},
|
|
3509
|
-
201: {
|
|
3510
|
-
bodyMapper: TroubleshooterResource,
|
|
3511
|
-
},
|
|
3512
|
-
default: {
|
|
3513
|
-
bodyMapper: ErrorResponse,
|
|
3514
|
-
},
|
|
3515
|
-
},
|
|
3516
|
-
requestBody: createTroubleshooterRequestBody,
|
|
3517
|
-
queryParameters: [apiVersion],
|
|
3518
|
-
urlParameters: [
|
|
3519
|
-
$host,
|
|
3520
|
-
scope,
|
|
3521
|
-
troubleshooterName,
|
|
3522
|
-
],
|
|
3523
|
-
headerParameters: [accept, contentType],
|
|
3524
|
-
mediaType: "json",
|
|
3525
|
-
serializer: serializer$3,
|
|
3526
|
-
};
|
|
3527
|
-
const getOperationSpec$1 = {
|
|
3528
|
-
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}",
|
|
3529
|
-
httpMethod: "GET",
|
|
3530
|
-
responses: {
|
|
3531
|
-
200: {
|
|
3532
|
-
bodyMapper: TroubleshooterResource,
|
|
3533
|
-
},
|
|
3534
|
-
default: {
|
|
3535
|
-
bodyMapper: ErrorResponse,
|
|
3536
|
-
},
|
|
3537
|
-
},
|
|
3538
|
-
queryParameters: [apiVersion],
|
|
3539
|
-
urlParameters: [
|
|
3540
|
-
$host,
|
|
3541
|
-
scope,
|
|
3542
|
-
troubleshooterName,
|
|
3543
|
-
],
|
|
3544
|
-
headerParameters: [accept],
|
|
3545
|
-
serializer: serializer$3,
|
|
3546
|
-
};
|
|
3547
|
-
const continueOperationSpec = {
|
|
3548
|
-
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/continue",
|
|
3549
|
-
httpMethod: "POST",
|
|
3550
|
-
responses: {
|
|
3551
|
-
204: {
|
|
3552
|
-
headersMapper: TroubleshootersContinueHeaders,
|
|
3553
|
-
},
|
|
3554
|
-
default: {
|
|
3555
|
-
bodyMapper: ErrorResponse,
|
|
3556
|
-
},
|
|
3557
|
-
},
|
|
3558
|
-
requestBody: continueRequestBody,
|
|
3559
|
-
queryParameters: [apiVersion],
|
|
3560
|
-
urlParameters: [
|
|
3561
|
-
$host,
|
|
3562
|
-
scope,
|
|
3563
|
-
troubleshooterName,
|
|
3564
|
-
],
|
|
3565
|
-
headerParameters: [accept, contentType],
|
|
3566
|
-
mediaType: "json",
|
|
3567
|
-
serializer: serializer$3,
|
|
3568
|
-
};
|
|
3569
|
-
const endOperationSpec = {
|
|
3570
|
-
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/end",
|
|
3571
|
-
httpMethod: "POST",
|
|
3572
|
-
responses: {
|
|
3573
|
-
204: {
|
|
3574
|
-
headersMapper: TroubleshootersEndHeaders,
|
|
3575
|
-
},
|
|
3576
|
-
default: {
|
|
3577
|
-
bodyMapper: ErrorResponse,
|
|
3578
|
-
},
|
|
3579
|
-
},
|
|
3580
|
-
queryParameters: [apiVersion],
|
|
3581
|
-
urlParameters: [
|
|
3582
|
-
$host,
|
|
3583
|
-
scope,
|
|
3584
|
-
troubleshooterName,
|
|
3585
|
-
],
|
|
3586
|
-
headerParameters: [accept],
|
|
3587
|
-
serializer: serializer$3,
|
|
3588
|
-
};
|
|
3589
|
-
const restartOperationSpec = {
|
|
3590
|
-
path: "/{scope}/providers/Microsoft.Help/troubleshooters/{troubleshooterName}/restart",
|
|
3591
|
-
httpMethod: "POST",
|
|
3592
|
-
responses: {
|
|
3593
|
-
200: {
|
|
3594
|
-
bodyMapper: RestartTroubleshooterResponse,
|
|
3595
|
-
headersMapper: TroubleshootersRestartHeaders,
|
|
3596
|
-
},
|
|
3597
|
-
default: {
|
|
3598
|
-
bodyMapper: ErrorResponse,
|
|
3599
|
-
},
|
|
3600
|
-
},
|
|
3601
|
-
queryParameters: [apiVersion],
|
|
3602
|
-
urlParameters: [
|
|
3603
|
-
$host,
|
|
3604
|
-
scope,
|
|
3605
|
-
troubleshooterName,
|
|
3606
|
-
],
|
|
3607
|
-
headerParameters: [accept],
|
|
3608
|
-
serializer: serializer$3,
|
|
3609
|
-
};
|
|
3610
|
-
|
|
3611
|
-
/*
|
|
3612
|
-
* Copyright (c) Microsoft Corporation.
|
|
3613
|
-
* Licensed under the MIT License.
|
|
3614
|
-
*
|
|
3615
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3616
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3617
|
-
*/
|
|
3618
|
-
/** Class containing SolutionSelfHelp operations. */
|
|
3619
|
-
class SolutionSelfHelpImpl {
|
|
3620
|
-
/**
|
|
3621
|
-
* Initialize a new instance of the class SolutionSelfHelp class.
|
|
3622
|
-
* @param client Reference to the service client
|
|
3623
|
-
*/
|
|
3624
|
-
constructor(client) {
|
|
3625
|
-
this.client = client;
|
|
3626
|
-
}
|
|
3627
|
-
/**
|
|
3628
|
-
* Gets Self Help Solutions for a given solutionId. Self Help Solutions consist of rich instructional
|
|
3629
|
-
* video tutorials, links and guides to public documentation related to a specific problem that enables
|
|
3630
|
-
* users to troubleshoot Azure issues.
|
|
3631
|
-
* @param solutionId SolutionId is a unique id to identify a solution. You can retrieve the solution id
|
|
3632
|
-
* using the Discovery api -
|
|
3633
|
-
* https://learn.microsoft.com/en-us/rest/api/help/discovery-solution/list?view=rest-help-2023-09-01-preview&tabs=HTTP
|
|
3634
|
-
* @param options The options parameters.
|
|
3635
|
-
*/
|
|
3636
|
-
get(solutionId, options) {
|
|
3637
|
-
return this.client.sendOperationRequest({ solutionId, options }, getOperationSpec);
|
|
3638
|
-
}
|
|
3639
|
-
}
|
|
3640
|
-
// Operation Specifications
|
|
3641
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3642
|
-
const getOperationSpec = {
|
|
3643
|
-
path: "/providers/Microsoft.Help/selfHelp/{solutionId}",
|
|
3644
|
-
httpMethod: "GET",
|
|
3645
|
-
responses: {
|
|
3646
|
-
200: {
|
|
3647
|
-
bodyMapper: SolutionResourceSelfHelp,
|
|
3648
|
-
},
|
|
3649
|
-
default: {
|
|
3650
|
-
bodyMapper: ErrorResponse,
|
|
3651
|
-
},
|
|
3652
|
-
},
|
|
3653
|
-
queryParameters: [apiVersion],
|
|
3654
|
-
urlParameters: [$host, solutionId],
|
|
3655
|
-
headerParameters: [accept],
|
|
3656
|
-
serializer: serializer$2,
|
|
3657
|
-
};
|
|
3658
|
-
|
|
3659
|
-
/*
|
|
3660
|
-
* Copyright (c) Microsoft Corporation.
|
|
3661
|
-
* Licensed under the MIT License.
|
|
3662
|
-
*
|
|
3663
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3664
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3665
|
-
*/
|
|
3666
|
-
/** Class containing DiscoverySolutionNLPTenantScope operations. */
|
|
3667
|
-
class DiscoverySolutionNLPTenantScopeImpl {
|
|
3668
|
-
/**
|
|
3669
|
-
* Initialize a new instance of the class DiscoverySolutionNLPTenantScope class.
|
|
3670
|
-
* @param client Reference to the service client
|
|
3671
|
-
*/
|
|
3672
|
-
constructor(client) {
|
|
3673
|
-
this.client = client;
|
|
3674
|
-
}
|
|
3675
|
-
/**
|
|
3676
|
-
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
3677
|
-
* summary.
|
|
3678
|
-
* @param options The options parameters.
|
|
3679
|
-
*/
|
|
3680
|
-
post(options) {
|
|
3681
|
-
return this.client.sendOperationRequest({ options }, postOperationSpec$1);
|
|
3682
|
-
}
|
|
3683
|
-
}
|
|
3684
|
-
// Operation Specifications
|
|
3685
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3686
|
-
const postOperationSpec$1 = {
|
|
3687
|
-
path: "/providers/Microsoft.Help/discoverSolutions",
|
|
3688
|
-
httpMethod: "POST",
|
|
3689
|
-
responses: {
|
|
3690
|
-
200: {
|
|
3691
|
-
bodyMapper: DiscoveryNlpResponse,
|
|
3692
|
-
},
|
|
3693
|
-
default: {
|
|
3694
|
-
bodyMapper: ErrorResponse,
|
|
3695
|
-
},
|
|
3696
|
-
},
|
|
3697
|
-
requestBody: discoverSolutionRequest,
|
|
3698
|
-
queryParameters: [apiVersion],
|
|
3699
|
-
urlParameters: [$host],
|
|
3700
|
-
headerParameters: [accept, contentType],
|
|
3701
|
-
mediaType: "json",
|
|
3702
|
-
serializer: serializer$1,
|
|
3703
|
-
};
|
|
3704
|
-
|
|
3705
|
-
/*
|
|
3706
|
-
* Copyright (c) Microsoft Corporation.
|
|
3707
|
-
* Licensed under the MIT License.
|
|
3708
|
-
*
|
|
3709
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3710
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3711
|
-
*/
|
|
3712
|
-
/** Class containing DiscoverySolutionNLPSubscriptionScope operations. */
|
|
3713
|
-
class DiscoverySolutionNLPSubscriptionScopeImpl {
|
|
3714
|
-
/**
|
|
3715
|
-
* Initialize a new instance of the class DiscoverySolutionNLPSubscriptionScope class.
|
|
3716
|
-
* @param client Reference to the service client
|
|
3717
|
-
*/
|
|
3718
|
-
constructor(client) {
|
|
3719
|
-
this.client = client;
|
|
3720
|
-
}
|
|
3721
|
-
/**
|
|
3722
|
-
* Search for relevant Azure Diagnostics, Solutions and Troubleshooters using a natural language issue
|
|
3723
|
-
* summary and subscription.
|
|
3724
|
-
* @param subscriptionId The Azure subscription ID.
|
|
3725
|
-
* @param options The options parameters.
|
|
3726
|
-
*/
|
|
3727
|
-
post(subscriptionId, options) {
|
|
3728
|
-
return this.client.sendOperationRequest({ subscriptionId, options }, postOperationSpec);
|
|
3729
|
-
}
|
|
3730
|
-
}
|
|
3731
|
-
// Operation Specifications
|
|
3732
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3733
|
-
const postOperationSpec = {
|
|
3734
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Help/discoverSolutions",
|
|
3735
|
-
httpMethod: "POST",
|
|
3736
|
-
responses: {
|
|
3737
|
-
200: {
|
|
3738
|
-
bodyMapper: DiscoveryNlpResponse,
|
|
3739
|
-
},
|
|
3740
|
-
default: {
|
|
3741
|
-
bodyMapper: ErrorResponse,
|
|
3742
|
-
},
|
|
3743
|
-
},
|
|
3744
|
-
requestBody: discoverSolutionRequest,
|
|
3745
|
-
queryParameters: [apiVersion],
|
|
3746
|
-
urlParameters: [$host, subscriptionId],
|
|
3747
|
-
headerParameters: [accept, contentType],
|
|
3748
|
-
mediaType: "json",
|
|
3749
|
-
serializer,
|
|
3750
|
-
};
|
|
3751
|
-
|
|
3752
|
-
/*
|
|
3753
|
-
* Copyright (c) Microsoft Corporation.
|
|
3754
|
-
* Licensed under the MIT License.
|
|
3755
|
-
*
|
|
3756
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3757
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3758
|
-
*/
|
|
3759
|
-
class HelpRP extends coreClient__namespace.ServiceClient {
|
|
3760
|
-
/**
|
|
3761
|
-
* Initializes a new instance of the HelpRP class.
|
|
3762
|
-
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
3763
|
-
* @param options The parameter options
|
|
3764
|
-
*/
|
|
3765
|
-
constructor(credentials, options) {
|
|
3766
|
-
var _a, _b, _c;
|
|
3767
|
-
if (credentials === undefined) {
|
|
3768
|
-
throw new Error("'credentials' cannot be null");
|
|
3769
|
-
}
|
|
3770
|
-
// Initializing default values for options
|
|
3771
|
-
if (!options) {
|
|
3772
|
-
options = {};
|
|
3773
|
-
}
|
|
3774
|
-
const defaults = {
|
|
3775
|
-
requestContentType: "application/json; charset=utf-8",
|
|
3776
|
-
credential: credentials,
|
|
3777
|
-
};
|
|
3778
|
-
const packageDetails = `azsdk-js-arm-selfhelp/2.0.0-beta.4`;
|
|
3779
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3780
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3781
|
-
: `${packageDetails}`;
|
|
3782
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
3783
|
-
userAgentPrefix,
|
|
3784
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
3785
|
-
super(optionsWithDefaults);
|
|
3786
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
3787
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
3788
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
3789
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
3790
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
3791
|
-
}
|
|
3792
|
-
if (!options ||
|
|
3793
|
-
!options.pipeline ||
|
|
3794
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
3795
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
3796
|
-
this.pipeline.removePolicy({
|
|
3797
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
3798
|
-
});
|
|
3799
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
3800
|
-
credential: credentials,
|
|
3801
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
3802
|
-
challengeCallbacks: {
|
|
3803
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
3804
|
-
},
|
|
3805
|
-
}));
|
|
3806
|
-
}
|
|
3807
|
-
// Assigning values to Constant parameters
|
|
3808
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
3809
|
-
this.apiVersion = options.apiVersion || "2024-03-01-preview";
|
|
3810
|
-
this.operations = new OperationsImpl(this);
|
|
3811
|
-
this.checkNameAvailability = new CheckNameAvailabilityImpl(this);
|
|
3812
|
-
this.diagnostics = new DiagnosticsImpl(this);
|
|
3813
|
-
this.discoverySolution = new DiscoverySolutionImpl(this);
|
|
3814
|
-
this.solution = new SolutionImpl(this);
|
|
3815
|
-
this.simplifiedSolutions = new SimplifiedSolutionsImpl(this);
|
|
3816
|
-
this.troubleshooters = new TroubleshootersImpl(this);
|
|
3817
|
-
this.solutionSelfHelp = new SolutionSelfHelpImpl(this);
|
|
3818
|
-
this.discoverySolutionNLPTenantScope =
|
|
3819
|
-
new DiscoverySolutionNLPTenantScopeImpl(this);
|
|
3820
|
-
this.discoverySolutionNLPSubscriptionScope =
|
|
3821
|
-
new DiscoverySolutionNLPSubscriptionScopeImpl(this);
|
|
3822
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
3823
|
-
}
|
|
3824
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
3825
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
3826
|
-
if (!apiVersion) {
|
|
3827
|
-
return;
|
|
3828
|
-
}
|
|
3829
|
-
const apiVersionPolicy = {
|
|
3830
|
-
name: "CustomApiVersionPolicy",
|
|
3831
|
-
sendRequest(request, next) {
|
|
3832
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3833
|
-
const param = request.url.split("?");
|
|
3834
|
-
if (param.length > 1) {
|
|
3835
|
-
const newParams = param[1].split("&").map((item) => {
|
|
3836
|
-
if (item.indexOf("api-version") > -1) {
|
|
3837
|
-
return "api-version=" + apiVersion;
|
|
3838
|
-
}
|
|
3839
|
-
else {
|
|
3840
|
-
return item;
|
|
3841
|
-
}
|
|
3842
|
-
});
|
|
3843
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
3844
|
-
}
|
|
3845
|
-
return next(request);
|
|
3846
|
-
});
|
|
3847
|
-
},
|
|
3848
|
-
};
|
|
3849
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
3850
|
-
}
|
|
3851
|
-
}
|
|
3852
|
-
|
|
3853
|
-
exports.HelpRP = HelpRP;
|
|
3854
|
-
exports.getContinuationToken = getContinuationToken;
|
|
3855
|
-
//# sourceMappingURL=index.js.map
|