@azure/arm-extendedlocation 1.0.0-beta.2 → 1.0.0-beta.4

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.
Files changed (314) hide show
  1. package/CHANGELOG.md +23 -3
  2. package/LICENSE +4 -4
  3. package/README.md +27 -18
  4. package/{dist-esm/src → dist/browser}/customLocationsManagementClient.d.ts +2 -2
  5. package/dist/browser/customLocationsManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/customLocationsManagementClient.js +47 -38
  7. package/dist/browser/customLocationsManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/dist/browser/index.d.ts.map +1 -0
  10. package/{dist-esm/src → dist/browser}/index.js +4 -3
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
  13. package/dist/browser/lroImpl.js.map +1 -0
  14. package/{dist-esm/src → dist/browser}/models/index.d.ts +20 -20
  15. package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
  16. package/dist/browser/models/index.js.map +1 -0
  17. package/{dist-esm/src → dist/browser}/models/mappers.js +55 -25
  18. package/dist/browser/models/mappers.js.map +1 -0
  19. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  20. package/dist/browser/models/parameters.js.map +1 -0
  21. package/{dist-esm/src → dist/browser}/operations/customLocations.d.ts +3 -3
  22. package/dist/browser/operations/customLocations.d.ts.map +1 -0
  23. package/{dist-esm/src → dist/browser}/operations/customLocations.js +186 -203
  24. package/dist/browser/operations/customLocations.js.map +1 -0
  25. package/dist/browser/operations/index.d.ts +3 -0
  26. package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
  27. package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
  28. package/dist/browser/operations/index.js.map +1 -0
  29. package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.d.ts +3 -3
  30. package/dist/browser/operations/resourceSyncRules.d.ts.map +1 -0
  31. package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.js +114 -116
  32. package/dist/browser/operations/resourceSyncRules.js.map +1 -0
  33. package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.d.ts +1 -1
  34. package/dist/browser/operationsInterfaces/customLocations.d.ts.map +1 -0
  35. package/dist/browser/operationsInterfaces/customLocations.js.map +1 -0
  36. package/dist/browser/operationsInterfaces/index.d.ts +3 -0
  37. package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
  38. package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
  39. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.d.ts +1 -1
  41. package/dist/browser/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  42. package/dist/browser/operationsInterfaces/resourceSyncRules.js.map +1 -0
  43. package/dist/browser/package.json +3 -0
  44. package/dist/browser/pagingHelper.d.ts +13 -0
  45. package/dist/browser/pagingHelper.d.ts.map +1 -0
  46. package/dist/browser/pagingHelper.js +30 -0
  47. package/dist/browser/pagingHelper.js.map +1 -0
  48. package/dist/commonjs/customLocationsManagementClient.d.ts +21 -0
  49. package/dist/commonjs/customLocationsManagementClient.d.ts.map +1 -0
  50. package/dist/commonjs/customLocationsManagementClient.js +113 -0
  51. package/dist/commonjs/customLocationsManagementClient.js.map +1 -0
  52. package/dist/commonjs/index.d.ts +5 -0
  53. package/dist/commonjs/index.d.ts.map +1 -0
  54. package/dist/commonjs/index.js +19 -0
  55. package/dist/commonjs/index.js.map +1 -0
  56. package/dist/commonjs/lroImpl.d.ts +16 -0
  57. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  58. package/dist/commonjs/lroImpl.js +37 -0
  59. package/dist/commonjs/lroImpl.js.map +1 -0
  60. package/{types/arm-extendedlocation.d.ts → dist/commonjs/models/index.d.ts} +541 -781
  61. package/dist/commonjs/models/index.d.ts.map +1 -0
  62. package/dist/commonjs/models/index.js +37 -0
  63. package/dist/commonjs/models/index.js.map +1 -0
  64. package/dist/commonjs/models/mappers.d.ts +26 -0
  65. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  66. package/dist/commonjs/models/mappers.js +810 -0
  67. package/dist/commonjs/models/mappers.js.map +1 -0
  68. package/dist/commonjs/models/parameters.d.ts +27 -0
  69. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  70. package/dist/commonjs/models/parameters.js +188 -0
  71. package/dist/commonjs/models/parameters.js.map +1 -0
  72. package/dist/commonjs/operations/customLocations.d.ts +155 -0
  73. package/dist/commonjs/operations/customLocations.d.ts.map +1 -0
  74. package/dist/commonjs/operations/customLocations.js +704 -0
  75. package/dist/commonjs/operations/customLocations.js.map +1 -0
  76. package/dist/commonjs/operations/index.d.ts +3 -0
  77. package/dist/commonjs/operations/index.d.ts.map +1 -0
  78. package/dist/commonjs/operations/index.js +13 -0
  79. package/dist/commonjs/operations/index.js.map +1 -0
  80. package/dist/commonjs/operations/resourceSyncRules.d.ts +97 -0
  81. package/dist/commonjs/operations/resourceSyncRules.d.ts.map +1 -0
  82. package/dist/commonjs/operations/resourceSyncRules.js +403 -0
  83. package/dist/commonjs/operations/resourceSyncRules.js.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/customLocations.d.ts +86 -0
  85. package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/customLocations.js +10 -0
  87. package/dist/commonjs/operationsInterfaces/customLocations.js.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  89. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  91. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  93. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  94. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +10 -0
  95. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +1 -0
  96. package/dist/commonjs/package.json +3 -0
  97. package/dist/commonjs/pagingHelper.d.ts +13 -0
  98. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  99. package/dist/commonjs/pagingHelper.js +34 -0
  100. package/dist/commonjs/pagingHelper.js.map +1 -0
  101. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  102. package/dist/esm/customLocationsManagementClient.d.ts +21 -0
  103. package/dist/esm/customLocationsManagementClient.d.ts.map +1 -0
  104. package/dist/esm/customLocationsManagementClient.js +108 -0
  105. package/dist/esm/customLocationsManagementClient.js.map +1 -0
  106. package/dist/esm/index.d.ts +5 -0
  107. package/dist/esm/index.d.ts.map +1 -0
  108. package/{src/index.ts → dist/esm/index.js} +5 -4
  109. package/dist/esm/index.js.map +1 -0
  110. package/dist/esm/lroImpl.d.ts +16 -0
  111. package/dist/esm/lroImpl.d.ts.map +1 -0
  112. package/dist/esm/lroImpl.js +33 -0
  113. package/dist/esm/lroImpl.js.map +1 -0
  114. package/dist/esm/models/index.d.ts +541 -0
  115. package/dist/esm/models/index.d.ts.map +1 -0
  116. package/dist/esm/models/index.js +34 -0
  117. package/dist/esm/models/index.js.map +1 -0
  118. package/dist/esm/models/mappers.d.ts +26 -0
  119. package/dist/esm/models/mappers.d.ts.map +1 -0
  120. package/dist/esm/models/mappers.js +807 -0
  121. package/dist/esm/models/mappers.js.map +1 -0
  122. package/dist/esm/models/parameters.d.ts +27 -0
  123. package/dist/esm/models/parameters.d.ts.map +1 -0
  124. package/dist/esm/models/parameters.js +185 -0
  125. package/dist/esm/models/parameters.js.map +1 -0
  126. package/dist/esm/operations/customLocations.d.ts +155 -0
  127. package/dist/esm/operations/customLocations.d.ts.map +1 -0
  128. package/dist/esm/operations/customLocations.js +699 -0
  129. package/dist/esm/operations/customLocations.js.map +1 -0
  130. package/dist/esm/operations/index.d.ts +3 -0
  131. package/dist/esm/operations/index.d.ts.map +1 -0
  132. package/dist/esm/operations/index.js +10 -0
  133. package/dist/esm/operations/index.js.map +1 -0
  134. package/dist/esm/operations/resourceSyncRules.d.ts +97 -0
  135. package/dist/esm/operations/resourceSyncRules.d.ts.map +1 -0
  136. package/dist/esm/operations/resourceSyncRules.js +398 -0
  137. package/dist/esm/operations/resourceSyncRules.js.map +1 -0
  138. package/dist/esm/operationsInterfaces/customLocations.d.ts +86 -0
  139. package/dist/esm/operationsInterfaces/customLocations.d.ts.map +1 -0
  140. package/{src/operations/index.ts → dist/esm/operationsInterfaces/customLocations.js} +2 -3
  141. package/dist/esm/operationsInterfaces/customLocations.js.map +1 -0
  142. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  143. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  144. package/dist/esm/operationsInterfaces/index.js +10 -0
  145. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  146. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  147. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  148. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/resourceSyncRules.js} +2 -3
  149. package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +1 -0
  150. package/dist/esm/package.json +3 -0
  151. package/dist/esm/pagingHelper.d.ts +13 -0
  152. package/dist/esm/pagingHelper.d.ts.map +1 -0
  153. package/dist/esm/pagingHelper.js +30 -0
  154. package/dist/esm/pagingHelper.js.map +1 -0
  155. package/dist/react-native/customLocationsManagementClient.d.ts +21 -0
  156. package/dist/react-native/customLocationsManagementClient.d.ts.map +1 -0
  157. package/dist/react-native/customLocationsManagementClient.js +108 -0
  158. package/dist/react-native/customLocationsManagementClient.js.map +1 -0
  159. package/dist/react-native/index.d.ts +5 -0
  160. package/dist/react-native/index.d.ts.map +1 -0
  161. package/dist/react-native/index.js +13 -0
  162. package/dist/react-native/index.js.map +1 -0
  163. package/dist/react-native/lroImpl.d.ts +16 -0
  164. package/dist/react-native/lroImpl.d.ts.map +1 -0
  165. package/dist/react-native/lroImpl.js +33 -0
  166. package/dist/react-native/lroImpl.js.map +1 -0
  167. package/dist/react-native/models/index.d.ts +541 -0
  168. package/dist/react-native/models/index.d.ts.map +1 -0
  169. package/dist/react-native/models/index.js +34 -0
  170. package/dist/react-native/models/index.js.map +1 -0
  171. package/dist/react-native/models/mappers.d.ts +26 -0
  172. package/dist/react-native/models/mappers.d.ts.map +1 -0
  173. package/dist/react-native/models/mappers.js +807 -0
  174. package/dist/react-native/models/mappers.js.map +1 -0
  175. package/dist/react-native/models/parameters.d.ts +27 -0
  176. package/dist/react-native/models/parameters.d.ts.map +1 -0
  177. package/dist/react-native/models/parameters.js +185 -0
  178. package/dist/react-native/models/parameters.js.map +1 -0
  179. package/dist/react-native/operations/customLocations.d.ts +155 -0
  180. package/dist/react-native/operations/customLocations.d.ts.map +1 -0
  181. package/dist/react-native/operations/customLocations.js +699 -0
  182. package/dist/react-native/operations/customLocations.js.map +1 -0
  183. package/dist/react-native/operations/index.d.ts +3 -0
  184. package/dist/react-native/operations/index.d.ts.map +1 -0
  185. package/dist/react-native/operations/index.js +10 -0
  186. package/dist/react-native/operations/index.js.map +1 -0
  187. package/dist/react-native/operations/resourceSyncRules.d.ts +97 -0
  188. package/dist/react-native/operations/resourceSyncRules.d.ts.map +1 -0
  189. package/dist/react-native/operations/resourceSyncRules.js +398 -0
  190. package/dist/react-native/operations/resourceSyncRules.js.map +1 -0
  191. package/dist/react-native/operationsInterfaces/customLocations.d.ts +86 -0
  192. package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +1 -0
  193. package/dist/react-native/operationsInterfaces/customLocations.js +9 -0
  194. package/dist/react-native/operationsInterfaces/customLocations.js.map +1 -0
  195. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  196. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  197. package/dist/react-native/operationsInterfaces/index.js +10 -0
  198. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  199. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  200. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  201. package/dist/react-native/operationsInterfaces/resourceSyncRules.js +9 -0
  202. package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +1 -0
  203. package/dist/react-native/package.json +3 -0
  204. package/dist/react-native/pagingHelper.d.ts +13 -0
  205. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  206. package/dist/react-native/pagingHelper.js +30 -0
  207. package/dist/react-native/pagingHelper.js.map +1 -0
  208. package/package.json +88 -77
  209. package/review/{arm-extendedlocation.api.md → arm-extendedlocation-node.api.md} +3 -0
  210. package/dist/index.js +0 -2230
  211. package/dist/index.js.map +0 -1
  212. package/dist/index.min.js +0 -1
  213. package/dist/index.min.js.map +0 -1
  214. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
  215. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
  216. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -42
  217. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
  218. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
  219. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
  220. package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -31
  221. package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
  222. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
  223. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
  224. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -34
  225. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
  226. package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
  227. package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
  228. package/dist-esm/samples-dev/customLocationsGetSample.js +0 -31
  229. package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
  230. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
  231. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
  232. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -44
  233. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
  234. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
  235. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
  236. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -43
  237. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
  238. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
  239. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
  240. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -45
  241. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
  242. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
  243. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
  244. package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -43
  245. package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
  246. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
  247. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
  248. package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -34
  249. package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
  250. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
  251. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
  252. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -41
  253. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
  254. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
  255. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
  256. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -32
  257. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
  258. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
  259. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
  260. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -32
  261. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
  262. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
  263. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
  264. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -45
  265. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
  266. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
  267. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
  268. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -34
  269. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
  270. package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
  271. package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
  272. package/dist-esm/src/index.d.ts +0 -5
  273. package/dist-esm/src/index.d.ts.map +0 -1
  274. package/dist-esm/src/index.js.map +0 -1
  275. package/dist-esm/src/lroImpl.js.map +0 -1
  276. package/dist-esm/src/models/index.js.map +0 -1
  277. package/dist-esm/src/models/mappers.js.map +0 -1
  278. package/dist-esm/src/models/parameters.js.map +0 -1
  279. package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
  280. package/dist-esm/src/operations/customLocations.js.map +0 -1
  281. package/dist-esm/src/operations/index.d.ts +0 -3
  282. package/dist-esm/src/operations/index.js.map +0 -1
  283. package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
  284. package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
  285. package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
  287. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  288. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  289. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  290. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
  291. package/dist-esm/test/sampleTest.d.ts +0 -2
  292. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  293. package/dist-esm/test/sampleTest.js +0 -38
  294. package/dist-esm/test/sampleTest.js.map +0 -1
  295. package/rollup.config.js +0 -122
  296. package/src/customLocationsManagementClient.ts +0 -136
  297. package/src/lroImpl.ts +0 -34
  298. package/src/models/index.ts +0 -606
  299. package/src/models/mappers.ts +0 -832
  300. package/src/models/parameters.ts +0 -225
  301. package/src/operations/customLocations.ts +0 -927
  302. package/src/operations/resourceSyncRules.ts +0 -562
  303. package/src/operationsInterfaces/customLocations.ts +0 -160
  304. package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
  305. package/tsconfig.json +0 -33
  306. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  307. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  308. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  309. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  310. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  311. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  312. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  313. /package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.js +0 -0
  314. /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.js +0 -0
@@ -0,0 +1,704 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.CustomLocationsImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ const core_lro_1 = require("@azure/core-lro");
17
+ const lroImpl_js_1 = require("../lroImpl.js");
18
+ /// <reference lib="esnext.asynciterable" />
19
+ /** Class containing CustomLocations operations. */
20
+ class CustomLocationsImpl {
21
+ client;
22
+ /**
23
+ * Initialize a new instance of the class CustomLocations class.
24
+ * @param client Reference to the service client
25
+ */
26
+ constructor(client) {
27
+ this.client = client;
28
+ }
29
+ /**
30
+ * Lists all available Custom Locations operations.
31
+ * @param options The options parameters.
32
+ */
33
+ listOperations(options) {
34
+ const iter = this.listOperationsPagingAll(options);
35
+ return {
36
+ next() {
37
+ return iter.next();
38
+ },
39
+ [Symbol.asyncIterator]() {
40
+ return this;
41
+ },
42
+ byPage: (settings) => {
43
+ if (settings?.maxPageSize) {
44
+ throw new Error("maxPageSize is not supported by this operation.");
45
+ }
46
+ return this.listOperationsPagingPage(options, settings);
47
+ }
48
+ };
49
+ }
50
+ async *listOperationsPagingPage(options, settings) {
51
+ let result;
52
+ let continuationToken = settings?.continuationToken;
53
+ if (!continuationToken) {
54
+ result = await this._listOperations(options);
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield page;
59
+ }
60
+ while (continuationToken) {
61
+ result = await this._listOperationsNext(continuationToken, options);
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield page;
66
+ }
67
+ }
68
+ async *listOperationsPagingAll(options) {
69
+ for await (const page of this.listOperationsPagingPage(options)) {
70
+ yield* page;
71
+ }
72
+ }
73
+ /**
74
+ * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
75
+ * each Custom Location
76
+ * @param options The options parameters.
77
+ */
78
+ listBySubscription(options) {
79
+ const iter = this.listBySubscriptionPagingAll(options);
80
+ return {
81
+ next() {
82
+ return iter.next();
83
+ },
84
+ [Symbol.asyncIterator]() {
85
+ return this;
86
+ },
87
+ byPage: (settings) => {
88
+ if (settings?.maxPageSize) {
89
+ throw new Error("maxPageSize is not supported by this operation.");
90
+ }
91
+ return this.listBySubscriptionPagingPage(options, settings);
92
+ }
93
+ };
94
+ }
95
+ async *listBySubscriptionPagingPage(options, settings) {
96
+ let result;
97
+ let continuationToken = settings?.continuationToken;
98
+ if (!continuationToken) {
99
+ result = await this._listBySubscription(options);
100
+ let page = result.value || [];
101
+ continuationToken = result.nextLink;
102
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
103
+ yield page;
104
+ }
105
+ while (continuationToken) {
106
+ result = await this._listBySubscriptionNext(continuationToken, options);
107
+ continuationToken = result.nextLink;
108
+ let page = result.value || [];
109
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
110
+ yield page;
111
+ }
112
+ }
113
+ async *listBySubscriptionPagingAll(options) {
114
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
115
+ yield* page;
116
+ }
117
+ }
118
+ /**
119
+ * Gets a list of Custom Locations in the specified subscription and resource group. The operation
120
+ * returns properties of each Custom Location.
121
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
122
+ * @param options The options parameters.
123
+ */
124
+ listByResourceGroup(resourceGroupName, options) {
125
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
126
+ return {
127
+ next() {
128
+ return iter.next();
129
+ },
130
+ [Symbol.asyncIterator]() {
131
+ return this;
132
+ },
133
+ byPage: (settings) => {
134
+ if (settings?.maxPageSize) {
135
+ throw new Error("maxPageSize is not supported by this operation.");
136
+ }
137
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
138
+ }
139
+ };
140
+ }
141
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
142
+ let result;
143
+ let continuationToken = settings?.continuationToken;
144
+ if (!continuationToken) {
145
+ result = await this._listByResourceGroup(resourceGroupName, options);
146
+ let page = result.value || [];
147
+ continuationToken = result.nextLink;
148
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
149
+ yield page;
150
+ }
151
+ while (continuationToken) {
152
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
153
+ continuationToken = result.nextLink;
154
+ let page = result.value || [];
155
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
156
+ yield page;
157
+ }
158
+ }
159
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
160
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
161
+ yield* page;
162
+ }
163
+ }
164
+ /**
165
+ * Gets the list of the Enabled Resource Types.
166
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
167
+ * @param resourceName Custom Locations name.
168
+ * @param options The options parameters.
169
+ */
170
+ listEnabledResourceTypes(resourceGroupName, resourceName, options) {
171
+ const iter = this.listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options);
172
+ return {
173
+ next() {
174
+ return iter.next();
175
+ },
176
+ [Symbol.asyncIterator]() {
177
+ return this;
178
+ },
179
+ byPage: (settings) => {
180
+ if (settings?.maxPageSize) {
181
+ throw new Error("maxPageSize is not supported by this operation.");
182
+ }
183
+ return this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings);
184
+ }
185
+ };
186
+ }
187
+ async *listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings) {
188
+ let result;
189
+ let continuationToken = settings?.continuationToken;
190
+ if (!continuationToken) {
191
+ result = await this._listEnabledResourceTypes(resourceGroupName, resourceName, options);
192
+ let page = result.value || [];
193
+ continuationToken = result.nextLink;
194
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
195
+ yield page;
196
+ }
197
+ while (continuationToken) {
198
+ result = await this._listEnabledResourceTypesNext(resourceGroupName, resourceName, continuationToken, options);
199
+ continuationToken = result.nextLink;
200
+ let page = result.value || [];
201
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
202
+ yield page;
203
+ }
204
+ }
205
+ async *listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options) {
206
+ for await (const page of this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options)) {
207
+ yield* page;
208
+ }
209
+ }
210
+ /**
211
+ * Lists all available Custom Locations operations.
212
+ * @param options The options parameters.
213
+ */
214
+ _listOperations(options) {
215
+ return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
216
+ }
217
+ /**
218
+ * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
219
+ * each Custom Location
220
+ * @param options The options parameters.
221
+ */
222
+ _listBySubscription(options) {
223
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
224
+ }
225
+ /**
226
+ * Gets a list of Custom Locations in the specified subscription and resource group. The operation
227
+ * returns properties of each Custom Location.
228
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
229
+ * @param options The options parameters.
230
+ */
231
+ _listByResourceGroup(resourceGroupName, options) {
232
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
233
+ }
234
+ /**
235
+ * Gets the details of the customLocation with a specified resource group and name.
236
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
237
+ * @param resourceName Custom Locations name.
238
+ * @param options The options parameters.
239
+ */
240
+ get(resourceGroupName, resourceName, options) {
241
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
242
+ }
243
+ /**
244
+ * Creates or updates a Custom Location in the specified Subscription and Resource Group
245
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
246
+ * @param resourceName Custom Locations name.
247
+ * @param parameters Parameters supplied to create or update a Custom Location.
248
+ * @param options The options parameters.
249
+ */
250
+ async beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options) {
251
+ const directSendOperation = async (args, spec) => {
252
+ return this.client.sendOperationRequest(args, spec);
253
+ };
254
+ const sendOperation = async (args, spec) => {
255
+ let currentRawResponse = undefined;
256
+ const providedCallback = args.options?.onResponse;
257
+ const callback = (rawResponse, flatResponse) => {
258
+ currentRawResponse = rawResponse;
259
+ providedCallback?.(rawResponse, flatResponse);
260
+ };
261
+ const updatedArgs = {
262
+ ...args,
263
+ options: {
264
+ ...args.options,
265
+ onResponse: callback
266
+ }
267
+ };
268
+ const flatResponse = await directSendOperation(updatedArgs, spec);
269
+ return {
270
+ flatResponse,
271
+ rawResponse: {
272
+ statusCode: currentRawResponse.status,
273
+ body: currentRawResponse.parsedBody,
274
+ headers: currentRawResponse.headers.toJSON()
275
+ }
276
+ };
277
+ };
278
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
279
+ const poller = new core_lro_1.LroEngine(lro, {
280
+ resumeFrom: options?.resumeFrom,
281
+ intervalInMs: options?.updateIntervalInMs,
282
+ lroResourceLocationConfig: "azure-async-operation"
283
+ });
284
+ await poller.poll();
285
+ return poller;
286
+ }
287
+ /**
288
+ * Creates or updates a Custom Location in the specified Subscription and Resource Group
289
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
290
+ * @param resourceName Custom Locations name.
291
+ * @param parameters Parameters supplied to create or update a Custom Location.
292
+ * @param options The options parameters.
293
+ */
294
+ async beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
295
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
296
+ return poller.pollUntilDone();
297
+ }
298
+ /**
299
+ * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
300
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
301
+ * @param resourceName Custom Locations name.
302
+ * @param options The options parameters.
303
+ */
304
+ async beginDelete(resourceGroupName, resourceName, options) {
305
+ const directSendOperation = async (args, spec) => {
306
+ return this.client.sendOperationRequest(args, spec);
307
+ };
308
+ const sendOperation = async (args, spec) => {
309
+ let currentRawResponse = undefined;
310
+ const providedCallback = args.options?.onResponse;
311
+ const callback = (rawResponse, flatResponse) => {
312
+ currentRawResponse = rawResponse;
313
+ providedCallback?.(rawResponse, flatResponse);
314
+ };
315
+ const updatedArgs = {
316
+ ...args,
317
+ options: {
318
+ ...args.options,
319
+ onResponse: callback
320
+ }
321
+ };
322
+ const flatResponse = await directSendOperation(updatedArgs, spec);
323
+ return {
324
+ flatResponse,
325
+ rawResponse: {
326
+ statusCode: currentRawResponse.status,
327
+ body: currentRawResponse.parsedBody,
328
+ headers: currentRawResponse.headers.toJSON()
329
+ }
330
+ };
331
+ };
332
+ const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
333
+ const poller = new core_lro_1.LroEngine(lro, {
334
+ resumeFrom: options?.resumeFrom,
335
+ intervalInMs: options?.updateIntervalInMs,
336
+ lroResourceLocationConfig: "azure-async-operation"
337
+ });
338
+ await poller.poll();
339
+ return poller;
340
+ }
341
+ /**
342
+ * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
343
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
344
+ * @param resourceName Custom Locations name.
345
+ * @param options The options parameters.
346
+ */
347
+ async beginDeleteAndWait(resourceGroupName, resourceName, options) {
348
+ const poller = await this.beginDelete(resourceGroupName, resourceName, options);
349
+ return poller.pollUntilDone();
350
+ }
351
+ /**
352
+ * Updates a Custom Location with the specified Resource Name in the specified Resource Group and
353
+ * Subscription.
354
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
355
+ * @param resourceName Custom Locations name.
356
+ * @param options The options parameters.
357
+ */
358
+ update(resourceGroupName, resourceName, options) {
359
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec);
360
+ }
361
+ /**
362
+ * Gets the list of the Enabled Resource Types.
363
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
364
+ * @param resourceName Custom Locations name.
365
+ * @param options The options parameters.
366
+ */
367
+ _listEnabledResourceTypes(resourceGroupName, resourceName, options) {
368
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listEnabledResourceTypesOperationSpec);
369
+ }
370
+ /**
371
+ * Returns the target resource group associated with the resource sync rules of the Custom Location
372
+ * that match the rules passed in with the Find Target Resource Group Request.
373
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
374
+ * @param resourceName Custom Locations name.
375
+ * @param parameters Parameters of the find target resource group request.
376
+ * @param options The options parameters.
377
+ */
378
+ findTargetResourceGroup(resourceGroupName, resourceName, parameters, options) {
379
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, findTargetResourceGroupOperationSpec);
380
+ }
381
+ /**
382
+ * ListOperationsNext
383
+ * @param nextLink The nextLink from the previous successful call to the ListOperations method.
384
+ * @param options The options parameters.
385
+ */
386
+ _listOperationsNext(nextLink, options) {
387
+ return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
388
+ }
389
+ /**
390
+ * ListBySubscriptionNext
391
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
392
+ * @param options The options parameters.
393
+ */
394
+ _listBySubscriptionNext(nextLink, options) {
395
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
396
+ }
397
+ /**
398
+ * ListByResourceGroupNext
399
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
400
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
401
+ * @param options The options parameters.
402
+ */
403
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
404
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
405
+ }
406
+ /**
407
+ * ListEnabledResourceTypesNext
408
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
409
+ * @param resourceName Custom Locations name.
410
+ * @param nextLink The nextLink from the previous successful call to the ListEnabledResourceTypes
411
+ * method.
412
+ * @param options The options parameters.
413
+ */
414
+ _listEnabledResourceTypesNext(resourceGroupName, resourceName, nextLink, options) {
415
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listEnabledResourceTypesNextOperationSpec);
416
+ }
417
+ }
418
+ exports.CustomLocationsImpl = CustomLocationsImpl;
419
+ // Operation Specifications
420
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
421
+ const listOperationsOperationSpec = {
422
+ path: "/providers/Microsoft.ExtendedLocation/operations",
423
+ httpMethod: "GET",
424
+ responses: {
425
+ 200: {
426
+ bodyMapper: Mappers.CustomLocationOperationsList
427
+ },
428
+ default: {
429
+ bodyMapper: Mappers.ErrorResponse
430
+ }
431
+ },
432
+ queryParameters: [Parameters.apiVersion],
433
+ urlParameters: [Parameters.$host],
434
+ headerParameters: [Parameters.accept],
435
+ serializer
436
+ };
437
+ const listBySubscriptionOperationSpec = {
438
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations",
439
+ httpMethod: "GET",
440
+ responses: {
441
+ 200: {
442
+ bodyMapper: Mappers.CustomLocationListResult
443
+ },
444
+ default: {
445
+ bodyMapper: Mappers.ErrorResponse
446
+ }
447
+ },
448
+ queryParameters: [Parameters.apiVersion],
449
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
450
+ headerParameters: [Parameters.accept],
451
+ serializer
452
+ };
453
+ const listByResourceGroupOperationSpec = {
454
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations",
455
+ httpMethod: "GET",
456
+ responses: {
457
+ 200: {
458
+ bodyMapper: Mappers.CustomLocationListResult
459
+ },
460
+ default: {
461
+ bodyMapper: Mappers.ErrorResponse
462
+ }
463
+ },
464
+ queryParameters: [Parameters.apiVersion],
465
+ urlParameters: [
466
+ Parameters.$host,
467
+ Parameters.subscriptionId,
468
+ Parameters.resourceGroupName
469
+ ],
470
+ headerParameters: [Parameters.accept],
471
+ serializer
472
+ };
473
+ const getOperationSpec = {
474
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
475
+ httpMethod: "GET",
476
+ responses: {
477
+ 200: {
478
+ bodyMapper: Mappers.CustomLocation
479
+ },
480
+ default: {
481
+ bodyMapper: Mappers.ErrorResponse
482
+ }
483
+ },
484
+ queryParameters: [Parameters.apiVersion],
485
+ urlParameters: [
486
+ Parameters.$host,
487
+ Parameters.subscriptionId,
488
+ Parameters.resourceGroupName,
489
+ Parameters.resourceName
490
+ ],
491
+ headerParameters: [Parameters.accept],
492
+ serializer
493
+ };
494
+ const createOrUpdateOperationSpec = {
495
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
496
+ httpMethod: "PUT",
497
+ responses: {
498
+ 200: {
499
+ bodyMapper: Mappers.CustomLocation
500
+ },
501
+ 201: {
502
+ bodyMapper: Mappers.CustomLocation
503
+ },
504
+ 202: {
505
+ bodyMapper: Mappers.CustomLocation
506
+ },
507
+ 204: {
508
+ bodyMapper: Mappers.CustomLocation
509
+ },
510
+ default: {
511
+ bodyMapper: Mappers.ErrorResponse
512
+ }
513
+ },
514
+ requestBody: Parameters.parameters,
515
+ queryParameters: [Parameters.apiVersion],
516
+ urlParameters: [
517
+ Parameters.$host,
518
+ Parameters.subscriptionId,
519
+ Parameters.resourceGroupName,
520
+ Parameters.resourceName
521
+ ],
522
+ headerParameters: [Parameters.accept, Parameters.contentType],
523
+ mediaType: "json",
524
+ serializer
525
+ };
526
+ const deleteOperationSpec = {
527
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
528
+ httpMethod: "DELETE",
529
+ responses: {
530
+ 200: {},
531
+ 201: {},
532
+ 202: {},
533
+ 204: {},
534
+ default: {
535
+ bodyMapper: Mappers.ErrorResponse
536
+ }
537
+ },
538
+ queryParameters: [Parameters.apiVersion],
539
+ urlParameters: [
540
+ Parameters.$host,
541
+ Parameters.subscriptionId,
542
+ Parameters.resourceGroupName,
543
+ Parameters.resourceName
544
+ ],
545
+ headerParameters: [Parameters.accept],
546
+ serializer
547
+ };
548
+ const updateOperationSpec = {
549
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
550
+ httpMethod: "PATCH",
551
+ responses: {
552
+ 200: {
553
+ bodyMapper: Mappers.CustomLocation
554
+ },
555
+ default: {
556
+ bodyMapper: Mappers.ErrorResponse
557
+ }
558
+ },
559
+ requestBody: {
560
+ parameterPath: {
561
+ identity: ["options", "identity"],
562
+ tags: ["options", "tags"],
563
+ authentication: ["options", "authentication"],
564
+ clusterExtensionIds: ["options", "clusterExtensionIds"],
565
+ displayName: ["options", "displayName"],
566
+ hostResourceId: ["options", "hostResourceId"],
567
+ hostType: ["options", "hostType"],
568
+ namespace: ["options", "namespace"],
569
+ provisioningState: ["options", "provisioningState"]
570
+ },
571
+ mapper: { ...Mappers.PatchableCustomLocations, required: true }
572
+ },
573
+ queryParameters: [Parameters.apiVersion],
574
+ urlParameters: [
575
+ Parameters.$host,
576
+ Parameters.subscriptionId,
577
+ Parameters.resourceGroupName,
578
+ Parameters.resourceName
579
+ ],
580
+ headerParameters: [Parameters.accept, Parameters.contentType],
581
+ mediaType: "json",
582
+ serializer
583
+ };
584
+ const listEnabledResourceTypesOperationSpec = {
585
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes",
586
+ httpMethod: "GET",
587
+ responses: {
588
+ 200: {
589
+ bodyMapper: Mappers.EnabledResourceTypesListResult
590
+ },
591
+ default: {
592
+ bodyMapper: Mappers.ErrorResponse
593
+ }
594
+ },
595
+ queryParameters: [Parameters.apiVersion],
596
+ urlParameters: [
597
+ Parameters.$host,
598
+ Parameters.subscriptionId,
599
+ Parameters.resourceGroupName,
600
+ Parameters.resourceName
601
+ ],
602
+ headerParameters: [Parameters.accept],
603
+ serializer
604
+ };
605
+ const findTargetResourceGroupOperationSpec = {
606
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup",
607
+ httpMethod: "POST",
608
+ responses: {
609
+ 200: {
610
+ bodyMapper: Mappers.CustomLocationFindTargetResourceGroupResult
611
+ },
612
+ 204: {},
613
+ default: {
614
+ bodyMapper: Mappers.ErrorResponse
615
+ }
616
+ },
617
+ requestBody: Parameters.parameters2,
618
+ queryParameters: [Parameters.apiVersion],
619
+ urlParameters: [
620
+ Parameters.$host,
621
+ Parameters.subscriptionId,
622
+ Parameters.resourceGroupName,
623
+ Parameters.resourceName
624
+ ],
625
+ headerParameters: [Parameters.accept, Parameters.contentType],
626
+ mediaType: "json",
627
+ serializer
628
+ };
629
+ const listOperationsNextOperationSpec = {
630
+ path: "{nextLink}",
631
+ httpMethod: "GET",
632
+ responses: {
633
+ 200: {
634
+ bodyMapper: Mappers.CustomLocationOperationsList
635
+ },
636
+ default: {
637
+ bodyMapper: Mappers.ErrorResponse
638
+ }
639
+ },
640
+ urlParameters: [Parameters.$host, Parameters.nextLink],
641
+ headerParameters: [Parameters.accept],
642
+ serializer
643
+ };
644
+ const listBySubscriptionNextOperationSpec = {
645
+ path: "{nextLink}",
646
+ httpMethod: "GET",
647
+ responses: {
648
+ 200: {
649
+ bodyMapper: Mappers.CustomLocationListResult
650
+ },
651
+ default: {
652
+ bodyMapper: Mappers.ErrorResponse
653
+ }
654
+ },
655
+ urlParameters: [
656
+ Parameters.$host,
657
+ Parameters.subscriptionId,
658
+ Parameters.nextLink
659
+ ],
660
+ headerParameters: [Parameters.accept],
661
+ serializer
662
+ };
663
+ const listByResourceGroupNextOperationSpec = {
664
+ path: "{nextLink}",
665
+ httpMethod: "GET",
666
+ responses: {
667
+ 200: {
668
+ bodyMapper: Mappers.CustomLocationListResult
669
+ },
670
+ default: {
671
+ bodyMapper: Mappers.ErrorResponse
672
+ }
673
+ },
674
+ urlParameters: [
675
+ Parameters.$host,
676
+ Parameters.subscriptionId,
677
+ Parameters.resourceGroupName,
678
+ Parameters.nextLink
679
+ ],
680
+ headerParameters: [Parameters.accept],
681
+ serializer
682
+ };
683
+ const listEnabledResourceTypesNextOperationSpec = {
684
+ path: "{nextLink}",
685
+ httpMethod: "GET",
686
+ responses: {
687
+ 200: {
688
+ bodyMapper: Mappers.EnabledResourceTypesListResult
689
+ },
690
+ default: {
691
+ bodyMapper: Mappers.ErrorResponse
692
+ }
693
+ },
694
+ urlParameters: [
695
+ Parameters.$host,
696
+ Parameters.subscriptionId,
697
+ Parameters.resourceGroupName,
698
+ Parameters.resourceName,
699
+ Parameters.nextLink
700
+ ],
701
+ headerParameters: [Parameters.accept],
702
+ serializer
703
+ };
704
+ //# sourceMappingURL=customLocations.js.map