@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
@@ -0,0 +1,699 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ import { LroEngine } from "@azure/core-lro";
13
+ import { LroImpl } from "../lroImpl.js";
14
+ /// <reference lib="esnext.asynciterable" />
15
+ /** Class containing CustomLocations operations. */
16
+ export class CustomLocationsImpl {
17
+ client;
18
+ /**
19
+ * Initialize a new instance of the class CustomLocations class.
20
+ * @param client Reference to the service client
21
+ */
22
+ constructor(client) {
23
+ this.client = client;
24
+ }
25
+ /**
26
+ * Lists all available Custom Locations operations.
27
+ * @param options The options parameters.
28
+ */
29
+ listOperations(options) {
30
+ const iter = this.listOperationsPagingAll(options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: (settings) => {
39
+ if (settings?.maxPageSize) {
40
+ throw new Error("maxPageSize is not supported by this operation.");
41
+ }
42
+ return this.listOperationsPagingPage(options, settings);
43
+ }
44
+ };
45
+ }
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
+ }
63
+ }
64
+ async *listOperationsPagingAll(options) {
65
+ for await (const page of this.listOperationsPagingPage(options)) {
66
+ yield* page;
67
+ }
68
+ }
69
+ /**
70
+ * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
71
+ * each Custom Location
72
+ * @param options The options parameters.
73
+ */
74
+ listBySubscription(options) {
75
+ const iter = this.listBySubscriptionPagingAll(options);
76
+ return {
77
+ next() {
78
+ return iter.next();
79
+ },
80
+ [Symbol.asyncIterator]() {
81
+ return this;
82
+ },
83
+ byPage: (settings) => {
84
+ if (settings?.maxPageSize) {
85
+ throw new Error("maxPageSize is not supported by this operation.");
86
+ }
87
+ return this.listBySubscriptionPagingPage(options, settings);
88
+ }
89
+ };
90
+ }
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
+ }
108
+ }
109
+ async *listBySubscriptionPagingAll(options) {
110
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
111
+ yield* page;
112
+ }
113
+ }
114
+ /**
115
+ * Gets a list of Custom Locations in the specified subscription and resource group. The operation
116
+ * returns properties of each Custom Location.
117
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
118
+ * @param options The options parameters.
119
+ */
120
+ listByResourceGroup(resourceGroupName, options) {
121
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
122
+ return {
123
+ next() {
124
+ return iter.next();
125
+ },
126
+ [Symbol.asyncIterator]() {
127
+ return this;
128
+ },
129
+ byPage: (settings) => {
130
+ if (settings?.maxPageSize) {
131
+ throw new Error("maxPageSize is not supported by this operation.");
132
+ }
133
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
134
+ }
135
+ };
136
+ }
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
+ }
154
+ }
155
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
156
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
157
+ yield* page;
158
+ }
159
+ }
160
+ /**
161
+ * Gets the list of the Enabled Resource Types.
162
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
163
+ * @param resourceName Custom Locations name.
164
+ * @param options The options parameters.
165
+ */
166
+ listEnabledResourceTypes(resourceGroupName, resourceName, options) {
167
+ const iter = this.listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options);
168
+ return {
169
+ next() {
170
+ return iter.next();
171
+ },
172
+ [Symbol.asyncIterator]() {
173
+ return this;
174
+ },
175
+ byPage: (settings) => {
176
+ if (settings?.maxPageSize) {
177
+ throw new Error("maxPageSize is not supported by this operation.");
178
+ }
179
+ return this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options, settings);
180
+ }
181
+ };
182
+ }
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
+ }
200
+ }
201
+ async *listEnabledResourceTypesPagingAll(resourceGroupName, resourceName, options) {
202
+ for await (const page of this.listEnabledResourceTypesPagingPage(resourceGroupName, resourceName, options)) {
203
+ yield* page;
204
+ }
205
+ }
206
+ /**
207
+ * Lists all available Custom Locations operations.
208
+ * @param options The options parameters.
209
+ */
210
+ _listOperations(options) {
211
+ return this.client.sendOperationRequest({ options }, listOperationsOperationSpec);
212
+ }
213
+ /**
214
+ * Gets a list of Custom Locations in the specified subscription. The operation returns properties of
215
+ * each Custom Location
216
+ * @param options The options parameters.
217
+ */
218
+ _listBySubscription(options) {
219
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
220
+ }
221
+ /**
222
+ * Gets a list of Custom Locations in the specified subscription and resource group. The operation
223
+ * returns properties of each Custom Location.
224
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
225
+ * @param options The options parameters.
226
+ */
227
+ _listByResourceGroup(resourceGroupName, options) {
228
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
229
+ }
230
+ /**
231
+ * Gets the details of the customLocation with a specified resource group and name.
232
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
233
+ * @param resourceName Custom Locations name.
234
+ * @param options The options parameters.
235
+ */
236
+ get(resourceGroupName, resourceName, options) {
237
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, getOperationSpec);
238
+ }
239
+ /**
240
+ * Creates or updates a Custom Location in the specified Subscription and Resource Group
241
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
242
+ * @param resourceName Custom Locations name.
243
+ * @param parameters Parameters supplied to create or update a Custom Location.
244
+ * @param options The options parameters.
245
+ */
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"
279
+ });
280
+ await poller.poll();
281
+ return poller;
282
+ }
283
+ /**
284
+ * Creates or updates a Custom Location in the specified Subscription and Resource Group
285
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
286
+ * @param resourceName Custom Locations name.
287
+ * @param parameters Parameters supplied to create or update a Custom Location.
288
+ * @param options The options parameters.
289
+ */
290
+ async beginCreateOrUpdateAndWait(resourceGroupName, resourceName, parameters, options) {
291
+ const poller = await this.beginCreateOrUpdate(resourceGroupName, resourceName, parameters, options);
292
+ return poller.pollUntilDone();
293
+ }
294
+ /**
295
+ * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
296
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
297
+ * @param resourceName Custom Locations name.
298
+ * @param options The options parameters.
299
+ */
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"
333
+ });
334
+ await poller.poll();
335
+ return poller;
336
+ }
337
+ /**
338
+ * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
339
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
340
+ * @param resourceName Custom Locations name.
341
+ * @param options The options parameters.
342
+ */
343
+ async beginDeleteAndWait(resourceGroupName, resourceName, options) {
344
+ const poller = await this.beginDelete(resourceGroupName, resourceName, options);
345
+ return poller.pollUntilDone();
346
+ }
347
+ /**
348
+ * Updates a Custom Location with the specified Resource Name in the specified Resource Group and
349
+ * Subscription.
350
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
351
+ * @param resourceName Custom Locations name.
352
+ * @param options The options parameters.
353
+ */
354
+ update(resourceGroupName, resourceName, options) {
355
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, updateOperationSpec);
356
+ }
357
+ /**
358
+ * Gets the list of the Enabled Resource Types.
359
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
360
+ * @param resourceName Custom Locations name.
361
+ * @param options The options parameters.
362
+ */
363
+ _listEnabledResourceTypes(resourceGroupName, resourceName, options) {
364
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listEnabledResourceTypesOperationSpec);
365
+ }
366
+ /**
367
+ * Returns the target resource group associated with the resource sync rules of the Custom Location
368
+ * that match the rules passed in with the Find Target Resource Group Request.
369
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
370
+ * @param resourceName Custom Locations name.
371
+ * @param parameters Parameters of the find target resource group request.
372
+ * @param options The options parameters.
373
+ */
374
+ findTargetResourceGroup(resourceGroupName, resourceName, parameters, options) {
375
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, parameters, options }, findTargetResourceGroupOperationSpec);
376
+ }
377
+ /**
378
+ * ListOperationsNext
379
+ * @param nextLink The nextLink from the previous successful call to the ListOperations method.
380
+ * @param options The options parameters.
381
+ */
382
+ _listOperationsNext(nextLink, options) {
383
+ return this.client.sendOperationRequest({ nextLink, options }, listOperationsNextOperationSpec);
384
+ }
385
+ /**
386
+ * ListBySubscriptionNext
387
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
388
+ * @param options The options parameters.
389
+ */
390
+ _listBySubscriptionNext(nextLink, options) {
391
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
392
+ }
393
+ /**
394
+ * ListByResourceGroupNext
395
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
396
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
397
+ * @param options The options parameters.
398
+ */
399
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
400
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
401
+ }
402
+ /**
403
+ * ListEnabledResourceTypesNext
404
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
405
+ * @param resourceName Custom Locations name.
406
+ * @param nextLink The nextLink from the previous successful call to the ListEnabledResourceTypes
407
+ * method.
408
+ * @param options The options parameters.
409
+ */
410
+ _listEnabledResourceTypesNext(resourceGroupName, resourceName, nextLink, options) {
411
+ return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listEnabledResourceTypesNextOperationSpec);
412
+ }
413
+ }
414
+ // Operation Specifications
415
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
416
+ const listOperationsOperationSpec = {
417
+ path: "/providers/Microsoft.ExtendedLocation/operations",
418
+ httpMethod: "GET",
419
+ responses: {
420
+ 200: {
421
+ bodyMapper: Mappers.CustomLocationOperationsList
422
+ },
423
+ default: {
424
+ bodyMapper: Mappers.ErrorResponse
425
+ }
426
+ },
427
+ queryParameters: [Parameters.apiVersion],
428
+ urlParameters: [Parameters.$host],
429
+ headerParameters: [Parameters.accept],
430
+ serializer
431
+ };
432
+ const listBySubscriptionOperationSpec = {
433
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations",
434
+ httpMethod: "GET",
435
+ responses: {
436
+ 200: {
437
+ bodyMapper: Mappers.CustomLocationListResult
438
+ },
439
+ default: {
440
+ bodyMapper: Mappers.ErrorResponse
441
+ }
442
+ },
443
+ queryParameters: [Parameters.apiVersion],
444
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
445
+ headerParameters: [Parameters.accept],
446
+ serializer
447
+ };
448
+ const listByResourceGroupOperationSpec = {
449
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations",
450
+ httpMethod: "GET",
451
+ responses: {
452
+ 200: {
453
+ bodyMapper: Mappers.CustomLocationListResult
454
+ },
455
+ default: {
456
+ bodyMapper: Mappers.ErrorResponse
457
+ }
458
+ },
459
+ queryParameters: [Parameters.apiVersion],
460
+ urlParameters: [
461
+ Parameters.$host,
462
+ Parameters.subscriptionId,
463
+ Parameters.resourceGroupName
464
+ ],
465
+ headerParameters: [Parameters.accept],
466
+ serializer
467
+ };
468
+ const getOperationSpec = {
469
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
470
+ httpMethod: "GET",
471
+ responses: {
472
+ 200: {
473
+ bodyMapper: Mappers.CustomLocation
474
+ },
475
+ default: {
476
+ bodyMapper: Mappers.ErrorResponse
477
+ }
478
+ },
479
+ queryParameters: [Parameters.apiVersion],
480
+ urlParameters: [
481
+ Parameters.$host,
482
+ Parameters.subscriptionId,
483
+ Parameters.resourceGroupName,
484
+ Parameters.resourceName
485
+ ],
486
+ headerParameters: [Parameters.accept],
487
+ serializer
488
+ };
489
+ const createOrUpdateOperationSpec = {
490
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
491
+ httpMethod: "PUT",
492
+ responses: {
493
+ 200: {
494
+ bodyMapper: Mappers.CustomLocation
495
+ },
496
+ 201: {
497
+ bodyMapper: Mappers.CustomLocation
498
+ },
499
+ 202: {
500
+ bodyMapper: Mappers.CustomLocation
501
+ },
502
+ 204: {
503
+ bodyMapper: Mappers.CustomLocation
504
+ },
505
+ default: {
506
+ bodyMapper: Mappers.ErrorResponse
507
+ }
508
+ },
509
+ requestBody: Parameters.parameters,
510
+ queryParameters: [Parameters.apiVersion],
511
+ urlParameters: [
512
+ Parameters.$host,
513
+ Parameters.subscriptionId,
514
+ Parameters.resourceGroupName,
515
+ Parameters.resourceName
516
+ ],
517
+ headerParameters: [Parameters.accept, Parameters.contentType],
518
+ mediaType: "json",
519
+ serializer
520
+ };
521
+ const deleteOperationSpec = {
522
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
523
+ httpMethod: "DELETE",
524
+ responses: {
525
+ 200: {},
526
+ 201: {},
527
+ 202: {},
528
+ 204: {},
529
+ default: {
530
+ bodyMapper: Mappers.ErrorResponse
531
+ }
532
+ },
533
+ queryParameters: [Parameters.apiVersion],
534
+ urlParameters: [
535
+ Parameters.$host,
536
+ Parameters.subscriptionId,
537
+ Parameters.resourceGroupName,
538
+ Parameters.resourceName
539
+ ],
540
+ headerParameters: [Parameters.accept],
541
+ serializer
542
+ };
543
+ const updateOperationSpec = {
544
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}",
545
+ httpMethod: "PATCH",
546
+ responses: {
547
+ 200: {
548
+ bodyMapper: Mappers.CustomLocation
549
+ },
550
+ default: {
551
+ bodyMapper: Mappers.ErrorResponse
552
+ }
553
+ },
554
+ requestBody: {
555
+ parameterPath: {
556
+ identity: ["options", "identity"],
557
+ tags: ["options", "tags"],
558
+ authentication: ["options", "authentication"],
559
+ clusterExtensionIds: ["options", "clusterExtensionIds"],
560
+ displayName: ["options", "displayName"],
561
+ hostResourceId: ["options", "hostResourceId"],
562
+ hostType: ["options", "hostType"],
563
+ namespace: ["options", "namespace"],
564
+ provisioningState: ["options", "provisioningState"]
565
+ },
566
+ mapper: { ...Mappers.PatchableCustomLocations, required: true }
567
+ },
568
+ queryParameters: [Parameters.apiVersion],
569
+ urlParameters: [
570
+ Parameters.$host,
571
+ Parameters.subscriptionId,
572
+ Parameters.resourceGroupName,
573
+ Parameters.resourceName
574
+ ],
575
+ headerParameters: [Parameters.accept, Parameters.contentType],
576
+ mediaType: "json",
577
+ serializer
578
+ };
579
+ const listEnabledResourceTypesOperationSpec = {
580
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes",
581
+ httpMethod: "GET",
582
+ responses: {
583
+ 200: {
584
+ bodyMapper: Mappers.EnabledResourceTypesListResult
585
+ },
586
+ default: {
587
+ bodyMapper: Mappers.ErrorResponse
588
+ }
589
+ },
590
+ queryParameters: [Parameters.apiVersion],
591
+ urlParameters: [
592
+ Parameters.$host,
593
+ Parameters.subscriptionId,
594
+ Parameters.resourceGroupName,
595
+ Parameters.resourceName
596
+ ],
597
+ headerParameters: [Parameters.accept],
598
+ serializer
599
+ };
600
+ const findTargetResourceGroupOperationSpec = {
601
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup",
602
+ httpMethod: "POST",
603
+ responses: {
604
+ 200: {
605
+ bodyMapper: Mappers.CustomLocationFindTargetResourceGroupResult
606
+ },
607
+ 204: {},
608
+ default: {
609
+ bodyMapper: Mappers.ErrorResponse
610
+ }
611
+ },
612
+ requestBody: Parameters.parameters2,
613
+ queryParameters: [Parameters.apiVersion],
614
+ urlParameters: [
615
+ Parameters.$host,
616
+ Parameters.subscriptionId,
617
+ Parameters.resourceGroupName,
618
+ Parameters.resourceName
619
+ ],
620
+ headerParameters: [Parameters.accept, Parameters.contentType],
621
+ mediaType: "json",
622
+ serializer
623
+ };
624
+ const listOperationsNextOperationSpec = {
625
+ path: "{nextLink}",
626
+ httpMethod: "GET",
627
+ responses: {
628
+ 200: {
629
+ bodyMapper: Mappers.CustomLocationOperationsList
630
+ },
631
+ default: {
632
+ bodyMapper: Mappers.ErrorResponse
633
+ }
634
+ },
635
+ urlParameters: [Parameters.$host, Parameters.nextLink],
636
+ headerParameters: [Parameters.accept],
637
+ serializer
638
+ };
639
+ const listBySubscriptionNextOperationSpec = {
640
+ path: "{nextLink}",
641
+ httpMethod: "GET",
642
+ responses: {
643
+ 200: {
644
+ bodyMapper: Mappers.CustomLocationListResult
645
+ },
646
+ default: {
647
+ bodyMapper: Mappers.ErrorResponse
648
+ }
649
+ },
650
+ urlParameters: [
651
+ Parameters.$host,
652
+ Parameters.subscriptionId,
653
+ Parameters.nextLink
654
+ ],
655
+ headerParameters: [Parameters.accept],
656
+ serializer
657
+ };
658
+ const listByResourceGroupNextOperationSpec = {
659
+ path: "{nextLink}",
660
+ httpMethod: "GET",
661
+ responses: {
662
+ 200: {
663
+ bodyMapper: Mappers.CustomLocationListResult
664
+ },
665
+ default: {
666
+ bodyMapper: Mappers.ErrorResponse
667
+ }
668
+ },
669
+ urlParameters: [
670
+ Parameters.$host,
671
+ Parameters.subscriptionId,
672
+ Parameters.resourceGroupName,
673
+ Parameters.nextLink
674
+ ],
675
+ headerParameters: [Parameters.accept],
676
+ serializer
677
+ };
678
+ const listEnabledResourceTypesNextOperationSpec = {
679
+ path: "{nextLink}",
680
+ httpMethod: "GET",
681
+ responses: {
682
+ 200: {
683
+ bodyMapper: Mappers.EnabledResourceTypesListResult
684
+ },
685
+ default: {
686
+ bodyMapper: Mappers.ErrorResponse
687
+ }
688
+ },
689
+ urlParameters: [
690
+ Parameters.$host,
691
+ Parameters.subscriptionId,
692
+ Parameters.resourceGroupName,
693
+ Parameters.resourceName,
694
+ Parameters.nextLink
695
+ ],
696
+ headerParameters: [Parameters.accept],
697
+ serializer
698
+ };
699
+ //# sourceMappingURL=customLocations.js.map