@azure/arm-extendedlocation 1.0.0-beta.3 → 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 (316) hide show
  1. package/CHANGELOG.md +14 -4
  2. package/LICENSE +4 -4
  3. package/README.md +26 -17
  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 +31 -24
  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 -4
  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 +170 -228
  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 +110 -123
  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-esm/src → dist/browser}/pagingHelper.js +2 -4
  45. package/dist/browser/pagingHelper.js.map +1 -0
  46. package/dist/commonjs/customLocationsManagementClient.d.ts +21 -0
  47. package/dist/commonjs/customLocationsManagementClient.d.ts.map +1 -0
  48. package/dist/commonjs/customLocationsManagementClient.js +113 -0
  49. package/dist/commonjs/customLocationsManagementClient.js.map +1 -0
  50. package/dist/commonjs/index.d.ts +5 -0
  51. package/dist/commonjs/index.d.ts.map +1 -0
  52. package/dist/commonjs/index.js +19 -0
  53. package/dist/commonjs/index.js.map +1 -0
  54. package/dist/commonjs/lroImpl.d.ts +16 -0
  55. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  56. package/dist/commonjs/lroImpl.js +37 -0
  57. package/dist/commonjs/lroImpl.js.map +1 -0
  58. package/{types/arm-extendedlocation.d.ts → dist/commonjs/models/index.d.ts} +541 -790
  59. package/dist/commonjs/models/index.d.ts.map +1 -0
  60. package/dist/commonjs/models/index.js +37 -0
  61. package/dist/commonjs/models/index.js.map +1 -0
  62. package/dist/commonjs/models/mappers.d.ts +26 -0
  63. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  64. package/dist/commonjs/models/mappers.js +810 -0
  65. package/dist/commonjs/models/mappers.js.map +1 -0
  66. package/dist/commonjs/models/parameters.d.ts +27 -0
  67. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  68. package/dist/commonjs/models/parameters.js +188 -0
  69. package/dist/commonjs/models/parameters.js.map +1 -0
  70. package/dist/commonjs/operations/customLocations.d.ts +155 -0
  71. package/dist/commonjs/operations/customLocations.d.ts.map +1 -0
  72. package/dist/commonjs/operations/customLocations.js +704 -0
  73. package/dist/commonjs/operations/customLocations.js.map +1 -0
  74. package/dist/commonjs/operations/index.d.ts +3 -0
  75. package/dist/commonjs/operations/index.d.ts.map +1 -0
  76. package/dist/commonjs/operations/index.js +13 -0
  77. package/dist/commonjs/operations/index.js.map +1 -0
  78. package/dist/commonjs/operations/resourceSyncRules.d.ts +97 -0
  79. package/dist/commonjs/operations/resourceSyncRules.d.ts.map +1 -0
  80. package/dist/commonjs/operations/resourceSyncRules.js +403 -0
  81. package/dist/commonjs/operations/resourceSyncRules.js.map +1 -0
  82. package/dist/commonjs/operationsInterfaces/customLocations.d.ts +86 -0
  83. package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +1 -0
  84. package/dist/commonjs/operationsInterfaces/customLocations.js +10 -0
  85. package/dist/commonjs/operationsInterfaces/customLocations.js.map +1 -0
  86. package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
  87. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  88. package/dist/commonjs/operationsInterfaces/index.js +13 -0
  89. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  90. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  91. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  92. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +10 -0
  93. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +1 -0
  94. package/dist/commonjs/package.json +3 -0
  95. package/dist/commonjs/pagingHelper.d.ts +13 -0
  96. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  97. package/dist/commonjs/pagingHelper.js +34 -0
  98. package/dist/commonjs/pagingHelper.js.map +1 -0
  99. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  100. package/dist/esm/customLocationsManagementClient.d.ts +21 -0
  101. package/dist/esm/customLocationsManagementClient.d.ts.map +1 -0
  102. package/dist/esm/customLocationsManagementClient.js +108 -0
  103. package/dist/esm/customLocationsManagementClient.js.map +1 -0
  104. package/dist/esm/index.d.ts +5 -0
  105. package/dist/esm/index.d.ts.map +1 -0
  106. package/{src/index.ts → dist/esm/index.js} +5 -5
  107. package/dist/esm/index.js.map +1 -0
  108. package/dist/esm/lroImpl.d.ts +16 -0
  109. package/dist/esm/lroImpl.d.ts.map +1 -0
  110. package/dist/esm/lroImpl.js +33 -0
  111. package/dist/esm/lroImpl.js.map +1 -0
  112. package/dist/esm/models/index.d.ts +541 -0
  113. package/dist/esm/models/index.d.ts.map +1 -0
  114. package/dist/esm/models/index.js +34 -0
  115. package/dist/esm/models/index.js.map +1 -0
  116. package/dist/esm/models/mappers.d.ts +26 -0
  117. package/dist/esm/models/mappers.d.ts.map +1 -0
  118. package/dist/esm/models/mappers.js +807 -0
  119. package/dist/esm/models/mappers.js.map +1 -0
  120. package/dist/esm/models/parameters.d.ts +27 -0
  121. package/dist/esm/models/parameters.d.ts.map +1 -0
  122. package/dist/esm/models/parameters.js +185 -0
  123. package/dist/esm/models/parameters.js.map +1 -0
  124. package/dist/esm/operations/customLocations.d.ts +155 -0
  125. package/dist/esm/operations/customLocations.d.ts.map +1 -0
  126. package/dist/esm/operations/customLocations.js +699 -0
  127. package/dist/esm/operations/customLocations.js.map +1 -0
  128. package/dist/esm/operations/index.d.ts +3 -0
  129. package/dist/esm/operations/index.d.ts.map +1 -0
  130. package/dist/esm/operations/index.js +10 -0
  131. package/dist/esm/operations/index.js.map +1 -0
  132. package/dist/esm/operations/resourceSyncRules.d.ts +97 -0
  133. package/dist/esm/operations/resourceSyncRules.d.ts.map +1 -0
  134. package/dist/esm/operations/resourceSyncRules.js +398 -0
  135. package/dist/esm/operations/resourceSyncRules.js.map +1 -0
  136. package/dist/esm/operationsInterfaces/customLocations.d.ts +86 -0
  137. package/dist/esm/operationsInterfaces/customLocations.d.ts.map +1 -0
  138. package/{src/operations/index.ts → dist/esm/operationsInterfaces/customLocations.js} +2 -3
  139. package/dist/esm/operationsInterfaces/customLocations.js.map +1 -0
  140. package/dist/esm/operationsInterfaces/index.d.ts +3 -0
  141. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  142. package/dist/esm/operationsInterfaces/index.js +10 -0
  143. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  144. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  145. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  146. package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/resourceSyncRules.js} +2 -3
  147. package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +1 -0
  148. package/dist/esm/package.json +3 -0
  149. package/dist/esm/pagingHelper.d.ts +13 -0
  150. package/dist/esm/pagingHelper.d.ts.map +1 -0
  151. package/dist/esm/pagingHelper.js +30 -0
  152. package/dist/esm/pagingHelper.js.map +1 -0
  153. package/dist/react-native/customLocationsManagementClient.d.ts +21 -0
  154. package/dist/react-native/customLocationsManagementClient.d.ts.map +1 -0
  155. package/dist/react-native/customLocationsManagementClient.js +108 -0
  156. package/dist/react-native/customLocationsManagementClient.js.map +1 -0
  157. package/dist/react-native/index.d.ts +5 -0
  158. package/dist/react-native/index.d.ts.map +1 -0
  159. package/dist/react-native/index.js +13 -0
  160. package/dist/react-native/index.js.map +1 -0
  161. package/dist/react-native/lroImpl.d.ts +16 -0
  162. package/dist/react-native/lroImpl.d.ts.map +1 -0
  163. package/dist/react-native/lroImpl.js +33 -0
  164. package/dist/react-native/lroImpl.js.map +1 -0
  165. package/dist/react-native/models/index.d.ts +541 -0
  166. package/dist/react-native/models/index.d.ts.map +1 -0
  167. package/dist/react-native/models/index.js +34 -0
  168. package/dist/react-native/models/index.js.map +1 -0
  169. package/dist/react-native/models/mappers.d.ts +26 -0
  170. package/dist/react-native/models/mappers.d.ts.map +1 -0
  171. package/dist/react-native/models/mappers.js +807 -0
  172. package/dist/react-native/models/mappers.js.map +1 -0
  173. package/dist/react-native/models/parameters.d.ts +27 -0
  174. package/dist/react-native/models/parameters.d.ts.map +1 -0
  175. package/dist/react-native/models/parameters.js +185 -0
  176. package/dist/react-native/models/parameters.js.map +1 -0
  177. package/dist/react-native/operations/customLocations.d.ts +155 -0
  178. package/dist/react-native/operations/customLocations.d.ts.map +1 -0
  179. package/dist/react-native/operations/customLocations.js +699 -0
  180. package/dist/react-native/operations/customLocations.js.map +1 -0
  181. package/dist/react-native/operations/index.d.ts +3 -0
  182. package/dist/react-native/operations/index.d.ts.map +1 -0
  183. package/dist/react-native/operations/index.js +10 -0
  184. package/dist/react-native/operations/index.js.map +1 -0
  185. package/dist/react-native/operations/resourceSyncRules.d.ts +97 -0
  186. package/dist/react-native/operations/resourceSyncRules.d.ts.map +1 -0
  187. package/dist/react-native/operations/resourceSyncRules.js +398 -0
  188. package/dist/react-native/operations/resourceSyncRules.js.map +1 -0
  189. package/dist/react-native/operationsInterfaces/customLocations.d.ts +86 -0
  190. package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +1 -0
  191. package/dist/react-native/operationsInterfaces/customLocations.js +9 -0
  192. package/dist/react-native/operationsInterfaces/customLocations.js.map +1 -0
  193. package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
  194. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  195. package/dist/react-native/operationsInterfaces/index.js +10 -0
  196. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  197. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +71 -0
  198. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
  199. package/dist/react-native/operationsInterfaces/resourceSyncRules.js +9 -0
  200. package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +1 -0
  201. package/dist/react-native/package.json +3 -0
  202. package/dist/react-native/pagingHelper.d.ts +13 -0
  203. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  204. package/dist/react-native/pagingHelper.js +30 -0
  205. package/dist/react-native/pagingHelper.js.map +1 -0
  206. package/package.json +87 -78
  207. package/dist/index.js +0 -2315
  208. package/dist/index.js.map +0 -1
  209. package/dist/index.min.js +0 -1
  210. package/dist/index.min.js.map +0 -1
  211. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
  212. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
  213. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -50
  214. package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
  215. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
  216. package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
  217. package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -39
  218. package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
  219. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
  220. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
  221. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -42
  222. package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
  223. package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
  224. package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
  225. package/dist-esm/samples-dev/customLocationsGetSample.js +0 -39
  226. package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
  227. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
  228. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
  229. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -52
  230. package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
  231. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
  232. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
  233. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -51
  234. package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
  235. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
  236. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
  237. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -53
  238. package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
  239. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
  240. package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
  241. package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -51
  242. package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
  243. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
  244. package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
  245. package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -42
  246. package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
  247. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
  248. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
  249. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -49
  250. package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
  251. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
  252. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
  253. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -40
  254. package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
  255. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
  256. package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
  257. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -40
  258. package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
  259. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
  260. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
  261. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -53
  262. package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
  263. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
  264. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
  265. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -42
  266. package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
  267. package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
  268. package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
  269. package/dist-esm/src/index.d.ts +0 -6
  270. package/dist-esm/src/index.d.ts.map +0 -1
  271. package/dist-esm/src/index.js.map +0 -1
  272. package/dist-esm/src/lroImpl.js.map +0 -1
  273. package/dist-esm/src/models/index.js.map +0 -1
  274. package/dist-esm/src/models/mappers.js.map +0 -1
  275. package/dist-esm/src/models/parameters.js.map +0 -1
  276. package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
  277. package/dist-esm/src/operations/customLocations.js.map +0 -1
  278. package/dist-esm/src/operations/index.d.ts +0 -3
  279. package/dist-esm/src/operations/index.js.map +0 -1
  280. package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
  281. package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
  282. package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
  283. package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
  284. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
  285. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  286. package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  287. package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
  288. package/dist-esm/src/pagingHelper.js.map +0 -1
  289. package/dist-esm/test/sampleTest.d.ts +0 -2
  290. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  291. package/dist-esm/test/sampleTest.js +0 -38
  292. package/dist-esm/test/sampleTest.js.map +0 -1
  293. package/rollup.config.js +0 -122
  294. package/src/customLocationsManagementClient.ts +0 -142
  295. package/src/lroImpl.ts +0 -34
  296. package/src/models/index.ts +0 -606
  297. package/src/models/mappers.ts +0 -832
  298. package/src/models/parameters.ts +0 -225
  299. package/src/operations/customLocations.ts +0 -977
  300. package/src/operations/resourceSyncRules.ts +0 -575
  301. package/src/operationsInterfaces/customLocations.ts +0 -160
  302. package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
  303. package/src/pagingHelper.ts +0 -39
  304. package/tsconfig.json +0 -33
  305. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  306. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
  307. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  308. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  309. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  310. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  311. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  312. /package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.js +0 -0
  313. /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.js +0 -0
  314. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  315. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
  316. /package/review/{arm-extendedlocation.api.md → arm-extendedlocation-node.api.md} +0 -0
@@ -5,16 +5,16 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __asyncDelegator, __asyncGenerator, __asyncValues, __await, __awaiter } from "tslib";
9
- import { setContinuationToken } from "../pagingHelper";
8
+ import { setContinuationToken } from "../pagingHelper.js";
10
9
  import * as coreClient from "@azure/core-client";
11
- import * as Mappers from "../models/mappers";
12
- import * as Parameters from "../models/parameters";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
13
12
  import { LroEngine } from "@azure/core-lro";
14
- import { LroImpl } from "../lroImpl";
13
+ import { LroImpl } from "../lroImpl.js";
15
14
  /// <reference lib="esnext.asynciterable" />
16
15
  /** Class containing CustomLocations operations. */
17
16
  export class CustomLocationsImpl {
17
+ client;
18
18
  /**
19
19
  * Initialize a new instance of the class CustomLocations class.
20
20
  * @param client Reference to the service client
@@ -36,50 +36,35 @@ export class CustomLocationsImpl {
36
36
  return this;
37
37
  },
38
38
  byPage: (settings) => {
39
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
39
+ if (settings?.maxPageSize) {
40
40
  throw new Error("maxPageSize is not supported by this operation.");
41
41
  }
42
42
  return this.listOperationsPagingPage(options, settings);
43
43
  }
44
44
  };
45
45
  }
46
- listOperationsPagingPage(options, settings) {
47
- return __asyncGenerator(this, arguments, function* listOperationsPagingPage_1() {
48
- let result;
49
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
50
- if (!continuationToken) {
51
- result = yield __await(this._listOperations(options));
52
- let page = result.value || [];
53
- continuationToken = result.nextLink;
54
- setContinuationToken(page, continuationToken);
55
- yield yield __await(page);
56
- }
57
- while (continuationToken) {
58
- result = yield __await(this._listOperationsNext(continuationToken, options));
59
- continuationToken = result.nextLink;
60
- let page = result.value || [];
61
- setContinuationToken(page, continuationToken);
62
- yield yield __await(page);
63
- }
64
- });
46
+ async *listOperationsPagingPage(options, settings) {
47
+ let result;
48
+ let continuationToken = settings?.continuationToken;
49
+ if (!continuationToken) {
50
+ result = await this._listOperations(options);
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield page;
55
+ }
56
+ while (continuationToken) {
57
+ result = await this._listOperationsNext(continuationToken, options);
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield page;
62
+ }
65
63
  }
66
- listOperationsPagingAll(options) {
67
- return __asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
68
- var e_1, _a;
69
- try {
70
- for (var _b = __asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
71
- const page = _c.value;
72
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
73
- }
74
- }
75
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
76
- finally {
77
- try {
78
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
79
- }
80
- finally { if (e_1) throw e_1.error; }
81
- }
82
- });
64
+ async *listOperationsPagingAll(options) {
65
+ for await (const page of this.listOperationsPagingPage(options)) {
66
+ yield* page;
67
+ }
83
68
  }
84
69
  /**
85
70
  * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
@@ -96,50 +81,35 @@ export class CustomLocationsImpl {
96
81
  return this;
97
82
  },
98
83
  byPage: (settings) => {
99
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
84
+ if (settings?.maxPageSize) {
100
85
  throw new Error("maxPageSize is not supported by this operation.");
101
86
  }
102
87
  return this.listBySubscriptionPagingPage(options, settings);
103
88
  }
104
89
  };
105
90
  }
106
- listBySubscriptionPagingPage(options, settings) {
107
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
108
- let result;
109
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
110
- if (!continuationToken) {
111
- result = yield __await(this._listBySubscription(options));
112
- let page = result.value || [];
113
- continuationToken = result.nextLink;
114
- setContinuationToken(page, continuationToken);
115
- yield yield __await(page);
116
- }
117
- while (continuationToken) {
118
- result = yield __await(this._listBySubscriptionNext(continuationToken, options));
119
- continuationToken = result.nextLink;
120
- let page = result.value || [];
121
- setContinuationToken(page, continuationToken);
122
- yield yield __await(page);
123
- }
124
- });
91
+ async *listBySubscriptionPagingPage(options, settings) {
92
+ let result;
93
+ let continuationToken = settings?.continuationToken;
94
+ if (!continuationToken) {
95
+ result = await this._listBySubscription(options);
96
+ let page = result.value || [];
97
+ continuationToken = result.nextLink;
98
+ setContinuationToken(page, continuationToken);
99
+ yield page;
100
+ }
101
+ while (continuationToken) {
102
+ result = await this._listBySubscriptionNext(continuationToken, options);
103
+ continuationToken = result.nextLink;
104
+ let page = result.value || [];
105
+ setContinuationToken(page, continuationToken);
106
+ yield page;
107
+ }
125
108
  }
126
- listBySubscriptionPagingAll(options) {
127
- return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
128
- var e_2, _a;
129
- try {
130
- for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
131
- const page = _c.value;
132
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
133
- }
134
- }
135
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
136
- finally {
137
- try {
138
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
139
- }
140
- finally { if (e_2) throw e_2.error; }
141
- }
142
- });
109
+ async *listBySubscriptionPagingAll(options) {
110
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
111
+ yield* page;
112
+ }
143
113
  }
144
114
  /**
145
115
  * Gets a list of Custom Locations in the specified subscription and resource group. The operation
@@ -157,50 +127,35 @@ export class CustomLocationsImpl {
157
127
  return this;
158
128
  },
159
129
  byPage: (settings) => {
160
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
130
+ if (settings?.maxPageSize) {
161
131
  throw new Error("maxPageSize is not supported by this operation.");
162
132
  }
163
133
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
164
134
  }
165
135
  };
166
136
  }
167
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
168
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
169
- let result;
170
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
171
- if (!continuationToken) {
172
- result = yield __await(this._listByResourceGroup(resourceGroupName, options));
173
- let page = result.value || [];
174
- continuationToken = result.nextLink;
175
- setContinuationToken(page, continuationToken);
176
- yield yield __await(page);
177
- }
178
- while (continuationToken) {
179
- result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
180
- continuationToken = result.nextLink;
181
- let page = result.value || [];
182
- setContinuationToken(page, continuationToken);
183
- yield yield __await(page);
184
- }
185
- });
137
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
138
+ let result;
139
+ let continuationToken = settings?.continuationToken;
140
+ if (!continuationToken) {
141
+ result = await this._listByResourceGroup(resourceGroupName, options);
142
+ let page = result.value || [];
143
+ continuationToken = result.nextLink;
144
+ setContinuationToken(page, continuationToken);
145
+ yield page;
146
+ }
147
+ while (continuationToken) {
148
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
149
+ continuationToken = result.nextLink;
150
+ let page = result.value || [];
151
+ setContinuationToken(page, continuationToken);
152
+ yield page;
153
+ }
186
154
  }
187
- listByResourceGroupPagingAll(resourceGroupName, options) {
188
- return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
189
- var e_3, _a;
190
- try {
191
- for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
192
- const page = _c.value;
193
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
194
- }
195
- }
196
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
197
- finally {
198
- try {
199
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
200
- }
201
- finally { if (e_3) throw e_3.error; }
202
- }
203
- });
155
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
156
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
157
+ yield* page;
158
+ }
204
159
  }
205
160
  /**
206
161
  * Gets the list of the Enabled Resource Types.
@@ -218,50 +173,35 @@ export class CustomLocationsImpl {
218
173
  return this;
219
174
  },
220
175
  byPage: (settings) => {
221
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
176
+ if (settings?.maxPageSize) {
222
177
  throw new Error("maxPageSize is not supported by this operation.");
223
178
  }
224
179
  return this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings);
225
180
  }
226
181
  };
227
182
  }
228
- listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings) {
229
- return __asyncGenerator(this, arguments, function* listEnabledResourceTypesPagingPage_1() {
230
- let result;
231
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
232
- if (!continuationToken) {
233
- result = yield __await(this._listEnabledResourceTypes(resourceGroupName, resourceName, options));
234
- let page = result.value || [];
235
- continuationToken = result.nextLink;
236
- setContinuationToken(page, continuationToken);
237
- yield yield __await(page);
238
- }
239
- while (continuationToken) {
240
- result = yield __await(this._listEnabledResourceTypesNext(resourceGroupName, resourceName, continuationToken, options));
241
- continuationToken = result.nextLink;
242
- let page = result.value || [];
243
- setContinuationToken(page, continuationToken);
244
- yield yield __await(page);
245
- }
246
- });
183
+ async *listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings) {
184
+ let result;
185
+ let continuationToken = settings?.continuationToken;
186
+ if (!continuationToken) {
187
+ result = await this._listEnabledResourceTypes(resourceGroupName, resourceName, options);
188
+ let page = result.value || [];
189
+ continuationToken = result.nextLink;
190
+ setContinuationToken(page, continuationToken);
191
+ yield page;
192
+ }
193
+ while (continuationToken) {
194
+ result = await this._listEnabledResourceTypesNext(resourceGroupName, resourceName, continuationToken, options);
195
+ continuationToken = result.nextLink;
196
+ let page = result.value || [];
197
+ setContinuationToken(page, continuationToken);
198
+ yield page;
199
+ }
247
200
  }
248
- listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options) {
249
- return __asyncGenerator(this, arguments, function* listEnabledResourceTypesPagingAll_1() {
250
- var e_4, _a;
251
- try {
252
- for (var _b = __asyncValues(this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
253
- const page = _c.value;
254
- yield __await(yield* __asyncDelegator(__asyncValues(page)));
255
- }
256
- }
257
- catch (e_4_1) { e_4 = { error: e_4_1 }; }
258
- finally {
259
- try {
260
- if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
261
- }
262
- finally { if (e_4) throw e_4.error; }
263
- }
264
- });
201
+ async *listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options) {
202
+ for await (const page of this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options)) {
203
+ yield* page;
204
+ }
265
205
  }
266
206
  /**
267
207
  * Lists all available Custom Locations operations.
@@ -303,39 +243,42 @@ export class CustomLocationsImpl {
303
243
  * @param parameters Parameters supplied to create or update a Custom Location.
304
244
  * @param options The options parameters.
305
245
  */
306
- beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options) {
307
- return __awaiter(this, void 0, void 0, function* () {
308
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
309
- return this.client.sendOperationRequest(args, spec);
310
- });
311
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
312
- var _a;
313
- let currentRawResponse = undefined;
314
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
315
- const callback = (rawResponse, flatResponse) => {
316
- currentRawResponse = rawResponse;
317
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
318
- };
319
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
320
- const flatResponse = yield directSendOperation(updatedArgs, spec);
321
- return {
322
- flatResponse,
323
- rawResponse: {
324
- statusCode: currentRawResponse.status,
325
- body: currentRawResponse.parsedBody,
326
- headers: currentRawResponse.headers.toJSON()
327
- }
328
- };
329
- });
330
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
331
- const poller = new LroEngine(lro, {
332
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
333
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
334
- lroResourceLocationConfig: "azure-async-operation"
335
- });
336
- yield poller.poll();
337
- return poller;
246
+ async beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options) {
247
+ const directSendOperation = async (args, spec) => {
248
+ return this.client.sendOperationRequest(args, spec);
249
+ };
250
+ const sendOperation = async (args, spec) => {
251
+ let currentRawResponse = undefined;
252
+ const providedCallback = args.options?.onResponse;
253
+ const callback = (rawResponse, flatResponse) => {
254
+ currentRawResponse = rawResponse;
255
+ providedCallback?.(rawResponse, flatResponse);
256
+ };
257
+ const updatedArgs = {
258
+ ...args,
259
+ options: {
260
+ ...args.options,
261
+ onResponse: callback
262
+ }
263
+ };
264
+ const flatResponse = await directSendOperation(updatedArgs, spec);
265
+ return {
266
+ flatResponse,
267
+ rawResponse: {
268
+ statusCode: currentRawResponse.status,
269
+ body: currentRawResponse.parsedBody,
270
+ headers: currentRawResponse.headers.toJSON()
271
+ }
272
+ };
273
+ };
274
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, parameters, options }, createOrUpdateOperationSpec);
275
+ const poller = new LroEngine(lro, {
276
+ resumeFrom: options?.resumeFrom,
277
+ intervalInMs: options?.updateIntervalInMs,
278
+ lroResourceLocationConfig: "azure-async-operation"
338
279
  });
280
+ await poller.poll();
281
+ return poller;
339
282
  }
340
283
  /**
341
284
  * Creates or updates a Custom Location in the specified Subscription and Resource Group
@@ -344,11 +287,9 @@ export class CustomLocationsImpl {
344
287
  * @param parameters Parameters supplied to create or update a Custom Location.
345
288
  * @param options The options parameters.
346
289
  */
347
- beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
348
- return __awaiter(this, void 0, void 0, function* () {
349
- const poller = yield this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
350
- return poller.pollUntilDone();
351
- });
290
+ async beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
291
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
292
+ return poller.pollUntilDone();
352
293
  }
353
294
  /**
354
295
  * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
@@ -356,39 +297,42 @@ export class CustomLocationsImpl {
356
297
  * @param resourceName Custom Locations name.
357
298
  * @param options The options parameters.
358
299
  */
359
- beginDelete(resourceGroupName, resourceName, options) {
360
- return __awaiter(this, void 0, void 0, function* () {
361
- const directSendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
362
- return this.client.sendOperationRequest(args, spec);
363
- });
364
- const sendOperation = (args, spec) => __awaiter(this, void 0, void 0, function* () {
365
- var _a;
366
- let currentRawResponse = undefined;
367
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
368
- const callback = (rawResponse, flatResponse) => {
369
- currentRawResponse = rawResponse;
370
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
371
- };
372
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
373
- const flatResponse = yield directSendOperation(updatedArgs, spec);
374
- return {
375
- flatResponse,
376
- rawResponse: {
377
- statusCode: currentRawResponse.status,
378
- body: currentRawResponse.parsedBody,
379
- headers: currentRawResponse.headers.toJSON()
380
- }
381
- };
382
- });
383
- const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
384
- const poller = new LroEngine(lro, {
385
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
386
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
387
- lroResourceLocationConfig: "azure-async-operation"
388
- });
389
- yield poller.poll();
390
- return poller;
300
+ async beginDelete(resourceGroupName, resourceName, options) {
301
+ const directSendOperation = async (args, spec) => {
302
+ return this.client.sendOperationRequest(args, spec);
303
+ };
304
+ const sendOperation = async (args, spec) => {
305
+ let currentRawResponse = undefined;
306
+ const providedCallback = args.options?.onResponse;
307
+ const callback = (rawResponse, flatResponse) => {
308
+ currentRawResponse = rawResponse;
309
+ providedCallback?.(rawResponse, flatResponse);
310
+ };
311
+ const updatedArgs = {
312
+ ...args,
313
+ options: {
314
+ ...args.options,
315
+ onResponse: callback
316
+ }
317
+ };
318
+ const flatResponse = await directSendOperation(updatedArgs, spec);
319
+ return {
320
+ flatResponse,
321
+ rawResponse: {
322
+ statusCode: currentRawResponse.status,
323
+ body: currentRawResponse.parsedBody,
324
+ headers: currentRawResponse.headers.toJSON()
325
+ }
326
+ };
327
+ };
328
+ const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, options }, deleteOperationSpec);
329
+ const poller = new LroEngine(lro, {
330
+ resumeFrom: options?.resumeFrom,
331
+ intervalInMs: options?.updateIntervalInMs,
332
+ lroResourceLocationConfig: "azure-async-operation"
391
333
  });
334
+ await poller.poll();
335
+ return poller;
392
336
  }
393
337
  /**
394
338
  * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
@@ -396,11 +340,9 @@ export class CustomLocationsImpl {
396
340
  * @param resourceName Custom Locations name.
397
341
  * @param options The options parameters.
398
342
  */
399
- beginDeleteAndWait(resourceGroupName, resourceName, options) {
400
- return __awaiter(this, void 0, void 0, function* () {
401
- const poller = yield this.beginDelete(resourceGroupName, resourceName, options);
402
- return poller.pollUntilDone();
403
- });
343
+ async beginDeleteAndWait(resourceGroupName, resourceName, options) {
344
+ const poller = await this.beginDelete(resourceGroupName, resourceName, options);
345
+ return poller.pollUntilDone();
404
346
  }
405
347
  /**
406
348
  * Updates a Custom Location with the specified Resource Name in the specified Resource Group and
@@ -621,7 +563,7 @@ const updateOperationSpec = {
621
563
  namespace: ["options", "namespace"],
622
564
  provisioningState: ["options", "provisioningState"]
623
565
  },
624
- mapper: Object.assign(Object.assign({}, Mappers.PatchableCustomLocations), { required: true })
566
+ mapper: { ...Mappers.PatchableCustomLocations, required: true }
625
567
  },
626
568
  queryParameters: [Parameters.apiVersion],
627
569
  urlParameters: [
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customLocations.js","sourceRoot":"","sources":["../../../src/operations/customLocations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiCxC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAkC;IAEzD;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,cAAc,CACnB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC;QACnD,OAAO;YACL,IAAI;gBACF,OA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EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yCAAyC,GAA6B;IAC1E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { CustomLocations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { CustomLocationsManagementClient } from \"../customLocationsManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n CustomLocationOperation,\n CustomLocationsListOperationsNextOptionalParams,\n CustomLocationsListOperationsOptionalParams,\n CustomLocationsListOperationsResponse,\n CustomLocation,\n CustomLocationsListBySubscriptionNextOptionalParams,\n CustomLocationsListBySubscriptionOptionalParams,\n CustomLocationsListBySubscriptionResponse,\n CustomLocationsListByResourceGroupNextOptionalParams,\n CustomLocationsListByResourceGroupOptionalParams,\n CustomLocationsListByResourceGroupResponse,\n EnabledResourceType,\n CustomLocationsListEnabledResourceTypesNextOptionalParams,\n CustomLocationsListEnabledResourceTypesOptionalParams,\n CustomLocationsListEnabledResourceTypesResponse,\n CustomLocationsGetOptionalParams,\n CustomLocationsGetResponse,\n CustomLocationsCreateOrUpdateOptionalParams,\n CustomLocationsCreateOrUpdateResponse,\n CustomLocationsDeleteOptionalParams,\n CustomLocationsUpdateOptionalParams,\n CustomLocationsUpdateResponse,\n CustomLocationFindTargetResourceGroupProperties,\n CustomLocationsFindTargetResourceGroupOptionalParams,\n CustomLocationsFindTargetResourceGroupResponse,\n CustomLocationsListOperationsNextResponse,\n CustomLocationsListBySubscriptionNextResponse,\n CustomLocationsListByResourceGroupNextResponse,\n CustomLocationsListEnabledResourceTypesNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CustomLocations operations. */\nexport class CustomLocationsImpl implements CustomLocations {\n private readonly client: CustomLocationsManagementClient;\n\n /**\n * Initialize a new instance of the class CustomLocations class.\n * @param client Reference to the service client\n */\n constructor(client: CustomLocationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available Custom Locations operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: CustomLocationsListOperationsOptionalParams\n ): PagedAsyncIterableIterator<CustomLocationOperation> {\n const iter = this.listOperationsPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listOperationsPagingPage(options, settings);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: CustomLocationsListOperationsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CustomLocationOperation[]> {\n let result: CustomLocationsListOperationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listOperations(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listOperationsPagingAll(\n options?: CustomLocationsListOperationsOptionalParams\n ): AsyncIterableIterator<CustomLocationOperation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription. The operation returns properties of\n * each Custom Location\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: CustomLocationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<CustomLocation> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: CustomLocationsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CustomLocation[]> {\n let result: CustomLocationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: CustomLocationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<CustomLocation> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription and resource group. The operation\n * returns properties of each Custom Location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: CustomLocationsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<CustomLocation> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: CustomLocationsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CustomLocation[]> {\n let result: CustomLocationsListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: CustomLocationsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<CustomLocation> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of the Enabled Resource Types.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n public listEnabledResourceTypes(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams\n ): PagedAsyncIterableIterator<EnabledResourceType> {\n const iter = this.listEnabledResourceTypesPagingAll(\n resourceGroupName,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listEnabledResourceTypesPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listEnabledResourceTypesPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EnabledResourceType[]> {\n let result: CustomLocationsListEnabledResourceTypesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listEnabledResourceTypes(\n resourceGroupName,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listEnabledResourceTypesNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listEnabledResourceTypesPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams\n ): AsyncIterableIterator<EnabledResourceType> {\n for await (const page of this.listEnabledResourceTypesPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all available Custom Locations operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: CustomLocationsListOperationsOptionalParams\n ): Promise<CustomLocationsListOperationsResponse> {\n return this.client.sendOperationRequest(\n { options },\n listOperationsOperationSpec\n );\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription. The operation returns properties of\n * each Custom Location\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: CustomLocationsListBySubscriptionOptionalParams\n ): Promise<CustomLocationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription and resource group. The operation\n * returns properties of each Custom Location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: CustomLocationsListByResourceGroupOptionalParams\n ): Promise<CustomLocationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the details of the customLocation with a specified resource group and name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsGetOptionalParams\n ): Promise<CustomLocationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a Custom Location in the specified Subscription and Resource Group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param parameters Parameters supplied to create or update a Custom Location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: CustomLocation,\n options?: CustomLocationsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CustomLocationsCreateOrUpdateResponse>,\n CustomLocationsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CustomLocationsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Custom Location in the specified Subscription and Resource Group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param parameters Parameters supplied to create or update a Custom Location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n parameters: CustomLocation,\n options?: CustomLocationsCreateOrUpdateOptionalParams\n ): Promise<CustomLocationsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a Custom Location with the specified Resource Name in the specified Resource Group and\n * Subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsUpdateOptionalParams\n ): Promise<CustomLocationsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets the list of the Enabled Resource Types.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n private _listEnabledResourceTypes(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams\n ): Promise<CustomLocationsListEnabledResourceTypesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listEnabledResourceTypesOperationSpec\n );\n }\n\n /**\n * Returns the target resource group associated with the resource sync rules of the Custom Location\n * that match the rules passed in with the Find Target Resource Group Request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param parameters Parameters of the find target resource group request.\n * @param options The options parameters.\n */\n findTargetResourceGroup(\n resourceGroupName: string,\n resourceName: string,\n parameters: CustomLocationFindTargetResourceGroupProperties,\n options?: CustomLocationsFindTargetResourceGroupOptionalParams\n ): Promise<CustomLocationsFindTargetResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n findTargetResourceGroupOperationSpec\n );\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: CustomLocationsListOperationsNextOptionalParams\n ): Promise<CustomLocationsListOperationsNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: CustomLocationsListBySubscriptionNextOptionalParams\n ): Promise<CustomLocationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: CustomLocationsListByResourceGroupNextOptionalParams\n ): Promise<CustomLocationsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListEnabledResourceTypesNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param nextLink The nextLink from the previous successful call to the ListEnabledResourceTypes\n * method.\n * @param options The options parameters.\n */\n private _listEnabledResourceTypesNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: CustomLocationsListEnabledResourceTypesNextOptionalParams\n ): Promise<CustomLocationsListEnabledResourceTypesNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listEnabledResourceTypesNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ExtendedLocation/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationOperationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocation\n },\n 201: {\n bodyMapper: Mappers.CustomLocation\n },\n 202: {\n bodyMapper: Mappers.CustomLocation\n },\n 204: {\n bodyMapper: Mappers.CustomLocation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n identity: [\"options\", \"identity\"],\n tags: [\"options\", \"tags\"],\n authentication: [\"options\", \"authentication\"],\n clusterExtensionIds: [\"options\", \"clusterExtensionIds\"],\n displayName: [\"options\", \"displayName\"],\n hostResourceId: [\"options\", \"hostResourceId\"],\n hostType: [\"options\", \"hostType\"],\n namespace: [\"options\", \"namespace\"],\n provisioningState: [\"options\", \"provisioningState\"]\n },\n mapper: { ...Mappers.PatchableCustomLocations, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listEnabledResourceTypesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnabledResourceTypesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst findTargetResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationFindTargetResourceGroupResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationOperationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listEnabledResourceTypesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnabledResourceTypesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -0,0 +1,3 @@
1
+ export * from "./customLocations.js";
2
+ export * from "./resourceSyncRules.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}