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

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 (395) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +10 -13
  3. package/dist/browser/api/customLocations/index.d.ts +3 -0
  4. package/dist/browser/api/customLocations/index.js +4 -0
  5. package/dist/browser/api/customLocations/index.js.map +1 -0
  6. package/dist/browser/api/customLocations/operations.d.ts +43 -0
  7. package/dist/browser/api/customLocations/operations.js +305 -0
  8. package/dist/browser/api/customLocations/operations.js.map +1 -0
  9. package/dist/browser/api/customLocations/options.d.ts +39 -0
  10. package/dist/browser/api/customLocations/options.js +4 -0
  11. package/dist/browser/api/customLocations/options.js.map +1 -0
  12. package/dist/browser/api/customLocationsManagementContext.d.ts +22 -0
  13. package/dist/browser/api/customLocationsManagementContext.js +26 -0
  14. package/dist/browser/api/customLocationsManagementContext.js.map +1 -0
  15. package/dist/browser/api/index.d.ts +3 -0
  16. package/dist/browser/api/index.js +4 -0
  17. package/dist/browser/api/index.js.map +1 -0
  18. package/dist/browser/api/resourceSyncRules/index.d.ts +3 -0
  19. package/dist/browser/api/resourceSyncRules/index.js +4 -0
  20. package/dist/browser/api/resourceSyncRules/index.js.map +1 -0
  21. package/dist/browser/api/resourceSyncRules/operations.d.ts +27 -0
  22. package/dist/browser/api/resourceSyncRules/operations.js +181 -0
  23. package/dist/browser/api/resourceSyncRules/operations.js.map +1 -0
  24. package/dist/browser/api/resourceSyncRules/options.d.ts +25 -0
  25. package/dist/browser/api/resourceSyncRules/options.js +4 -0
  26. package/dist/browser/api/resourceSyncRules/options.js.map +1 -0
  27. package/dist/browser/classic/customLocations/index.d.ts +37 -0
  28. package/dist/browser/classic/customLocations/index.js +39 -0
  29. package/dist/browser/classic/customLocations/index.js.map +1 -0
  30. package/dist/browser/classic/index.d.ts +3 -0
  31. package/dist/browser/classic/index.js +4 -0
  32. package/dist/browser/classic/index.js.map +1 -0
  33. package/dist/browser/classic/resourceSyncRules/index.d.ts +29 -0
  34. package/dist/browser/classic/resourceSyncRules/index.js +35 -0
  35. package/dist/browser/classic/resourceSyncRules/index.js.map +1 -0
  36. package/dist/browser/customLocationsManagementClient.d.ts +16 -19
  37. package/dist/browser/customLocationsManagementClient.js +30 -101
  38. package/dist/browser/customLocationsManagementClient.js.map +1 -1
  39. package/dist/browser/index.d.ts +16 -3
  40. package/dist/browser/index.js +7 -11
  41. package/dist/browser/index.js.map +1 -1
  42. package/dist/browser/logger.d.ts +2 -0
  43. package/dist/browser/logger.js +5 -0
  44. package/dist/browser/logger.js.map +1 -0
  45. package/dist/browser/models/index.d.ts +2 -540
  46. package/dist/browser/models/index.js +3 -33
  47. package/dist/browser/models/index.js.map +1 -1
  48. package/dist/browser/models/models.d.ts +402 -0
  49. package/dist/browser/models/models.js +506 -0
  50. package/dist/browser/models/models.js.map +1 -0
  51. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  52. package/dist/browser/restorePollerHelpers.js +101 -0
  53. package/dist/browser/restorePollerHelpers.js.map +1 -0
  54. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  55. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  56. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  57. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  58. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  59. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  60. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  61. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  62. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  63. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  64. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  65. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  66. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  67. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  68. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  69. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  70. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  71. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  72. package/dist/commonjs/api/customLocations/index.d.ts +3 -0
  73. package/dist/commonjs/api/customLocations/index.js +44 -0
  74. package/dist/commonjs/api/customLocations/index.js.map +7 -0
  75. package/dist/commonjs/api/customLocations/operations.d.ts +43 -0
  76. package/dist/commonjs/api/customLocations/operations.js +434 -0
  77. package/dist/commonjs/api/customLocations/operations.js.map +7 -0
  78. package/dist/commonjs/api/customLocations/options.d.ts +39 -0
  79. package/dist/commonjs/api/customLocations/options.js +16 -0
  80. package/dist/commonjs/api/customLocations/options.js.map +7 -0
  81. package/dist/commonjs/api/customLocationsManagementContext.d.ts +22 -0
  82. package/dist/commonjs/api/customLocationsManagementContext.js +47 -0
  83. package/dist/commonjs/api/customLocationsManagementContext.js.map +7 -0
  84. package/dist/commonjs/api/index.d.ts +3 -0
  85. package/dist/commonjs/api/index.js +28 -0
  86. package/dist/commonjs/api/index.js.map +7 -0
  87. package/dist/commonjs/api/resourceSyncRules/index.d.ts +3 -0
  88. package/dist/commonjs/api/resourceSyncRules/index.js +36 -0
  89. package/dist/commonjs/api/resourceSyncRules/index.js.map +7 -0
  90. package/dist/commonjs/api/resourceSyncRules/operations.d.ts +27 -0
  91. package/dist/commonjs/api/resourceSyncRules/operations.js +271 -0
  92. package/dist/commonjs/api/resourceSyncRules/operations.js.map +7 -0
  93. package/dist/commonjs/api/resourceSyncRules/options.d.ts +25 -0
  94. package/dist/commonjs/api/resourceSyncRules/options.js +16 -0
  95. package/dist/commonjs/api/resourceSyncRules/options.js.map +7 -0
  96. package/dist/commonjs/classic/customLocations/index.d.ts +37 -0
  97. package/dist/commonjs/classic/customLocations/index.js +63 -0
  98. package/dist/commonjs/classic/customLocations/index.js.map +7 -0
  99. package/dist/commonjs/classic/index.d.ts +3 -0
  100. package/dist/commonjs/classic/index.js +16 -0
  101. package/dist/commonjs/classic/index.js.map +7 -0
  102. package/dist/commonjs/classic/resourceSyncRules/index.d.ts +29 -0
  103. package/dist/commonjs/classic/resourceSyncRules/index.js +80 -0
  104. package/dist/commonjs/classic/resourceSyncRules/index.js.map +7 -0
  105. package/dist/commonjs/customLocationsManagementClient.d.ts +16 -19
  106. package/dist/commonjs/customLocationsManagementClient.js +56 -111
  107. package/dist/commonjs/customLocationsManagementClient.js.map +7 -1
  108. package/dist/commonjs/index.d.ts +16 -3
  109. package/dist/commonjs/index.js +48 -19
  110. package/dist/commonjs/index.js.map +7 -1
  111. package/dist/commonjs/logger.d.ts +2 -0
  112. package/dist/commonjs/logger.js +29 -0
  113. package/dist/commonjs/logger.js.map +7 -0
  114. package/dist/commonjs/models/index.d.ts +2 -540
  115. package/dist/commonjs/models/index.js +34 -37
  116. package/dist/commonjs/models/index.js.map +7 -1
  117. package/dist/commonjs/models/models.d.ts +402 -0
  118. package/dist/commonjs/models/models.js +560 -0
  119. package/dist/commonjs/models/models.js.map +7 -0
  120. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  121. package/dist/commonjs/restorePollerHelpers.js +114 -0
  122. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  123. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  124. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  125. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  126. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  127. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  128. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  129. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  130. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  131. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  132. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  133. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  134. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  135. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  136. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  137. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  138. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  139. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  140. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  141. package/dist/commonjs/tsdoc-metadata.json +1 -1
  142. package/dist/esm/api/customLocations/index.d.ts +3 -0
  143. package/dist/esm/api/customLocations/index.js +4 -0
  144. package/dist/esm/api/customLocations/index.js.map +1 -0
  145. package/dist/esm/api/customLocations/operations.d.ts +43 -0
  146. package/dist/esm/api/customLocations/operations.js +305 -0
  147. package/dist/esm/api/customLocations/operations.js.map +1 -0
  148. package/dist/esm/api/customLocations/options.d.ts +39 -0
  149. package/dist/esm/api/customLocations/options.js +4 -0
  150. package/dist/esm/api/customLocations/options.js.map +1 -0
  151. package/dist/esm/api/customLocationsManagementContext.d.ts +22 -0
  152. package/dist/esm/api/customLocationsManagementContext.js +26 -0
  153. package/dist/esm/api/customLocationsManagementContext.js.map +1 -0
  154. package/dist/esm/api/index.d.ts +3 -0
  155. package/dist/esm/api/index.js +4 -0
  156. package/dist/esm/api/index.js.map +1 -0
  157. package/dist/esm/api/resourceSyncRules/index.d.ts +3 -0
  158. package/dist/esm/api/resourceSyncRules/index.js +4 -0
  159. package/dist/esm/api/resourceSyncRules/index.js.map +1 -0
  160. package/dist/esm/api/resourceSyncRules/operations.d.ts +27 -0
  161. package/dist/esm/api/resourceSyncRules/operations.js +181 -0
  162. package/dist/esm/api/resourceSyncRules/operations.js.map +1 -0
  163. package/dist/esm/api/resourceSyncRules/options.d.ts +25 -0
  164. package/dist/esm/api/resourceSyncRules/options.js +4 -0
  165. package/dist/esm/api/resourceSyncRules/options.js.map +1 -0
  166. package/dist/esm/classic/customLocations/index.d.ts +37 -0
  167. package/dist/esm/classic/customLocations/index.js +39 -0
  168. package/dist/esm/classic/customLocations/index.js.map +1 -0
  169. package/dist/esm/classic/index.d.ts +3 -0
  170. package/dist/esm/classic/index.js +4 -0
  171. package/dist/esm/classic/index.js.map +1 -0
  172. package/dist/esm/classic/resourceSyncRules/index.d.ts +29 -0
  173. package/dist/esm/classic/resourceSyncRules/index.js +35 -0
  174. package/dist/esm/classic/resourceSyncRules/index.js.map +1 -0
  175. package/dist/esm/customLocationsManagementClient.d.ts +16 -19
  176. package/dist/esm/customLocationsManagementClient.js +30 -101
  177. package/dist/esm/customLocationsManagementClient.js.map +1 -1
  178. package/dist/esm/index.d.ts +16 -3
  179. package/dist/esm/index.js +7 -11
  180. package/dist/esm/index.js.map +1 -1
  181. package/dist/esm/logger.d.ts +2 -0
  182. package/dist/esm/logger.js +5 -0
  183. package/dist/esm/logger.js.map +1 -0
  184. package/dist/esm/models/index.d.ts +2 -540
  185. package/dist/esm/models/index.js +3 -33
  186. package/dist/esm/models/index.js.map +1 -1
  187. package/dist/esm/models/models.d.ts +402 -0
  188. package/dist/esm/models/models.js +506 -0
  189. package/dist/esm/models/models.js.map +1 -0
  190. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  191. package/dist/esm/restorePollerHelpers.js +101 -0
  192. package/dist/esm/restorePollerHelpers.js.map +1 -0
  193. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  194. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  195. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  196. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  197. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  198. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  199. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  200. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  201. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  202. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  203. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  204. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  205. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  206. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  207. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  208. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  209. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  210. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  211. package/package.json +147 -95
  212. package/CHANGELOG.md +0 -64
  213. package/dist/browser/customLocationsManagementClient.d.ts.map +0 -1
  214. package/dist/browser/index.d.ts.map +0 -1
  215. package/dist/browser/lroImpl.d.ts +0 -16
  216. package/dist/browser/lroImpl.d.ts.map +0 -1
  217. package/dist/browser/lroImpl.js +0 -33
  218. package/dist/browser/lroImpl.js.map +0 -1
  219. package/dist/browser/models/index.d.ts.map +0 -1
  220. package/dist/browser/models/mappers.d.ts +0 -26
  221. package/dist/browser/models/mappers.d.ts.map +0 -1
  222. package/dist/browser/models/mappers.js +0 -807
  223. package/dist/browser/models/mappers.js.map +0 -1
  224. package/dist/browser/models/parameters.d.ts +0 -27
  225. package/dist/browser/models/parameters.d.ts.map +0 -1
  226. package/dist/browser/models/parameters.js +0 -185
  227. package/dist/browser/models/parameters.js.map +0 -1
  228. package/dist/browser/operations/customLocations.d.ts +0 -155
  229. package/dist/browser/operations/customLocations.d.ts.map +0 -1
  230. package/dist/browser/operations/customLocations.js +0 -699
  231. package/dist/browser/operations/customLocations.js.map +0 -1
  232. package/dist/browser/operations/index.d.ts +0 -3
  233. package/dist/browser/operations/index.d.ts.map +0 -1
  234. package/dist/browser/operations/index.js +0 -10
  235. package/dist/browser/operations/index.js.map +0 -1
  236. package/dist/browser/operations/resourceSyncRules.d.ts +0 -97
  237. package/dist/browser/operations/resourceSyncRules.d.ts.map +0 -1
  238. package/dist/browser/operations/resourceSyncRules.js +0 -398
  239. package/dist/browser/operations/resourceSyncRules.js.map +0 -1
  240. package/dist/browser/operationsInterfaces/customLocations.d.ts +0 -86
  241. package/dist/browser/operationsInterfaces/customLocations.d.ts.map +0 -1
  242. package/dist/browser/operationsInterfaces/customLocations.js +0 -9
  243. package/dist/browser/operationsInterfaces/customLocations.js.map +0 -1
  244. package/dist/browser/operationsInterfaces/index.d.ts +0 -3
  245. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  246. package/dist/browser/operationsInterfaces/index.js +0 -10
  247. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  248. package/dist/browser/operationsInterfaces/resourceSyncRules.d.ts +0 -71
  249. package/dist/browser/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  250. package/dist/browser/operationsInterfaces/resourceSyncRules.js +0 -9
  251. package/dist/browser/operationsInterfaces/resourceSyncRules.js.map +0 -1
  252. package/dist/browser/pagingHelper.d.ts +0 -13
  253. package/dist/browser/pagingHelper.d.ts.map +0 -1
  254. package/dist/browser/pagingHelper.js +0 -30
  255. package/dist/browser/pagingHelper.js.map +0 -1
  256. package/dist/commonjs/customLocationsManagementClient.d.ts.map +0 -1
  257. package/dist/commonjs/index.d.ts.map +0 -1
  258. package/dist/commonjs/lroImpl.d.ts +0 -16
  259. package/dist/commonjs/lroImpl.d.ts.map +0 -1
  260. package/dist/commonjs/lroImpl.js +0 -37
  261. package/dist/commonjs/lroImpl.js.map +0 -1
  262. package/dist/commonjs/models/index.d.ts.map +0 -1
  263. package/dist/commonjs/models/mappers.d.ts +0 -26
  264. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  265. package/dist/commonjs/models/mappers.js +0 -810
  266. package/dist/commonjs/models/mappers.js.map +0 -1
  267. package/dist/commonjs/models/parameters.d.ts +0 -27
  268. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  269. package/dist/commonjs/models/parameters.js +0 -188
  270. package/dist/commonjs/models/parameters.js.map +0 -1
  271. package/dist/commonjs/operations/customLocations.d.ts +0 -155
  272. package/dist/commonjs/operations/customLocations.d.ts.map +0 -1
  273. package/dist/commonjs/operations/customLocations.js +0 -704
  274. package/dist/commonjs/operations/customLocations.js.map +0 -1
  275. package/dist/commonjs/operations/index.d.ts +0 -3
  276. package/dist/commonjs/operations/index.d.ts.map +0 -1
  277. package/dist/commonjs/operations/index.js +0 -13
  278. package/dist/commonjs/operations/index.js.map +0 -1
  279. package/dist/commonjs/operations/resourceSyncRules.d.ts +0 -97
  280. package/dist/commonjs/operations/resourceSyncRules.d.ts.map +0 -1
  281. package/dist/commonjs/operations/resourceSyncRules.js +0 -403
  282. package/dist/commonjs/operations/resourceSyncRules.js.map +0 -1
  283. package/dist/commonjs/operationsInterfaces/customLocations.d.ts +0 -86
  284. package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +0 -1
  285. package/dist/commonjs/operationsInterfaces/customLocations.js +0 -10
  286. package/dist/commonjs/operationsInterfaces/customLocations.js.map +0 -1
  287. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -3
  288. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  289. package/dist/commonjs/operationsInterfaces/index.js +0 -13
  290. package/dist/commonjs/operationsInterfaces/index.js.map +0 -1
  291. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +0 -71
  292. package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  293. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +0 -10
  294. package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +0 -1
  295. package/dist/commonjs/pagingHelper.d.ts +0 -13
  296. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  297. package/dist/commonjs/pagingHelper.js +0 -34
  298. package/dist/commonjs/pagingHelper.js.map +0 -1
  299. package/dist/esm/customLocationsManagementClient.d.ts.map +0 -1
  300. package/dist/esm/index.d.ts.map +0 -1
  301. package/dist/esm/lroImpl.d.ts +0 -16
  302. package/dist/esm/lroImpl.d.ts.map +0 -1
  303. package/dist/esm/lroImpl.js +0 -33
  304. package/dist/esm/lroImpl.js.map +0 -1
  305. package/dist/esm/models/index.d.ts.map +0 -1
  306. package/dist/esm/models/mappers.d.ts +0 -26
  307. package/dist/esm/models/mappers.d.ts.map +0 -1
  308. package/dist/esm/models/mappers.js +0 -807
  309. package/dist/esm/models/mappers.js.map +0 -1
  310. package/dist/esm/models/parameters.d.ts +0 -27
  311. package/dist/esm/models/parameters.d.ts.map +0 -1
  312. package/dist/esm/models/parameters.js +0 -185
  313. package/dist/esm/models/parameters.js.map +0 -1
  314. package/dist/esm/operations/customLocations.d.ts +0 -155
  315. package/dist/esm/operations/customLocations.d.ts.map +0 -1
  316. package/dist/esm/operations/customLocations.js +0 -699
  317. package/dist/esm/operations/customLocations.js.map +0 -1
  318. package/dist/esm/operations/index.d.ts +0 -3
  319. package/dist/esm/operations/index.d.ts.map +0 -1
  320. package/dist/esm/operations/index.js +0 -10
  321. package/dist/esm/operations/index.js.map +0 -1
  322. package/dist/esm/operations/resourceSyncRules.d.ts +0 -97
  323. package/dist/esm/operations/resourceSyncRules.d.ts.map +0 -1
  324. package/dist/esm/operations/resourceSyncRules.js +0 -398
  325. package/dist/esm/operations/resourceSyncRules.js.map +0 -1
  326. package/dist/esm/operationsInterfaces/customLocations.d.ts +0 -86
  327. package/dist/esm/operationsInterfaces/customLocations.d.ts.map +0 -1
  328. package/dist/esm/operationsInterfaces/customLocations.js +0 -9
  329. package/dist/esm/operationsInterfaces/customLocations.js.map +0 -1
  330. package/dist/esm/operationsInterfaces/index.d.ts +0 -3
  331. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  332. package/dist/esm/operationsInterfaces/index.js +0 -10
  333. package/dist/esm/operationsInterfaces/index.js.map +0 -1
  334. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +0 -71
  335. package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  336. package/dist/esm/operationsInterfaces/resourceSyncRules.js +0 -9
  337. package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +0 -1
  338. package/dist/esm/pagingHelper.d.ts +0 -13
  339. package/dist/esm/pagingHelper.d.ts.map +0 -1
  340. package/dist/esm/pagingHelper.js +0 -30
  341. package/dist/esm/pagingHelper.js.map +0 -1
  342. package/dist/react-native/customLocationsManagementClient.d.ts +0 -21
  343. package/dist/react-native/customLocationsManagementClient.d.ts.map +0 -1
  344. package/dist/react-native/customLocationsManagementClient.js +0 -108
  345. package/dist/react-native/customLocationsManagementClient.js.map +0 -1
  346. package/dist/react-native/index.d.ts +0 -5
  347. package/dist/react-native/index.d.ts.map +0 -1
  348. package/dist/react-native/index.js +0 -13
  349. package/dist/react-native/index.js.map +0 -1
  350. package/dist/react-native/lroImpl.d.ts +0 -16
  351. package/dist/react-native/lroImpl.d.ts.map +0 -1
  352. package/dist/react-native/lroImpl.js +0 -33
  353. package/dist/react-native/lroImpl.js.map +0 -1
  354. package/dist/react-native/models/index.d.ts +0 -541
  355. package/dist/react-native/models/index.d.ts.map +0 -1
  356. package/dist/react-native/models/index.js +0 -34
  357. package/dist/react-native/models/index.js.map +0 -1
  358. package/dist/react-native/models/mappers.d.ts +0 -26
  359. package/dist/react-native/models/mappers.d.ts.map +0 -1
  360. package/dist/react-native/models/mappers.js +0 -807
  361. package/dist/react-native/models/mappers.js.map +0 -1
  362. package/dist/react-native/models/parameters.d.ts +0 -27
  363. package/dist/react-native/models/parameters.d.ts.map +0 -1
  364. package/dist/react-native/models/parameters.js +0 -185
  365. package/dist/react-native/models/parameters.js.map +0 -1
  366. package/dist/react-native/operations/customLocations.d.ts +0 -155
  367. package/dist/react-native/operations/customLocations.d.ts.map +0 -1
  368. package/dist/react-native/operations/customLocations.js +0 -699
  369. package/dist/react-native/operations/customLocations.js.map +0 -1
  370. package/dist/react-native/operations/index.d.ts +0 -3
  371. package/dist/react-native/operations/index.d.ts.map +0 -1
  372. package/dist/react-native/operations/index.js +0 -10
  373. package/dist/react-native/operations/index.js.map +0 -1
  374. package/dist/react-native/operations/resourceSyncRules.d.ts +0 -97
  375. package/dist/react-native/operations/resourceSyncRules.d.ts.map +0 -1
  376. package/dist/react-native/operations/resourceSyncRules.js +0 -398
  377. package/dist/react-native/operations/resourceSyncRules.js.map +0 -1
  378. package/dist/react-native/operationsInterfaces/customLocations.d.ts +0 -86
  379. package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +0 -1
  380. package/dist/react-native/operationsInterfaces/customLocations.js +0 -9
  381. package/dist/react-native/operationsInterfaces/customLocations.js.map +0 -1
  382. package/dist/react-native/operationsInterfaces/index.d.ts +0 -3
  383. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  384. package/dist/react-native/operationsInterfaces/index.js +0 -10
  385. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  386. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +0 -71
  387. package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
  388. package/dist/react-native/operationsInterfaces/resourceSyncRules.js +0 -9
  389. package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +0 -1
  390. package/dist/react-native/package.json +0 -3
  391. package/dist/react-native/pagingHelper.d.ts +0 -13
  392. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  393. package/dist/react-native/pagingHelper.js +0 -30
  394. package/dist/react-native/pagingHelper.js.map +0 -1
  395. package/review/arm-extendedlocation-node.api.md +0 -434
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var classic_exports = {};
15
+ module.exports = __toCommonJS(classic_exports);
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/classic/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport type { CustomLocationsOperations } from \"./customLocations/index.js\";\nexport type { ResourceSyncRulesOperations } from \"./resourceSyncRules/index.js\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,29 @@
1
+ import type { CustomLocationsManagementContext } from "../../api/customLocationsManagementContext.js";
2
+ import type { ResourceSyncRulesListByCustomLocationIDOptionalParams, ResourceSyncRulesDeleteOptionalParams, ResourceSyncRulesUpdateOptionalParams, ResourceSyncRulesCreateOrUpdateOptionalParams, ResourceSyncRulesGetOptionalParams } from "../../api/resourceSyncRules/options.js";
3
+ import type { ResourceSyncRule } from "../../models/models.js";
4
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js";
6
+ import type { PollerLike, OperationState } from "@azure/core-lro";
7
+ /** Interface representing a ResourceSyncRules operations. */
8
+ export interface ResourceSyncRulesOperations {
9
+ /** Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule */
10
+ listByCustomLocationID: (resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams) => PagedAsyncIterableIterator<ResourceSyncRule>;
11
+ /** Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id. */
12
+ delete: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams) => Promise<void>;
13
+ /** Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name. */
14
+ update: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>;
15
+ /** @deprecated use update instead */
16
+ beginUpdate: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>;
17
+ /** @deprecated use update instead */
18
+ beginUpdateAndWait: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams) => Promise<ResourceSyncRule>;
19
+ /** Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group */
20
+ createOrUpdate: (resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>;
21
+ /** @deprecated use createOrUpdate instead */
22
+ beginCreateOrUpdate: (resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>;
23
+ /** @deprecated use createOrUpdate instead */
24
+ beginCreateOrUpdateAndWait: (resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams) => Promise<ResourceSyncRule>;
25
+ /** Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name. */
26
+ get: (resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams) => Promise<ResourceSyncRule>;
27
+ }
28
+ export declare function _getResourceSyncRulesOperations(context: CustomLocationsManagementContext): ResourceSyncRulesOperations;
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,80 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var resourceSyncRules_exports = {};
19
+ __export(resourceSyncRules_exports, {
20
+ _getResourceSyncRulesOperations: () => _getResourceSyncRulesOperations
21
+ });
22
+ module.exports = __toCommonJS(resourceSyncRules_exports);
23
+ var import_operations = require("../../api/resourceSyncRules/operations.js");
24
+ var import_simplePollerHelpers = require("../../static-helpers/simplePollerHelpers.js");
25
+ function _getResourceSyncRules(context) {
26
+ return {
27
+ listByCustomLocationID: (resourceGroupName, resourceName, options) => (0, import_operations.listByCustomLocationID)(context, resourceGroupName, resourceName, options),
28
+ delete: (resourceGroupName, resourceName, childResourceName, options) => (0, import_operations.$delete)(context, resourceGroupName, resourceName, childResourceName, options),
29
+ update: (resourceGroupName, resourceName, childResourceName, options) => (0, import_operations.update)(context, resourceGroupName, resourceName, childResourceName, options),
30
+ beginUpdate: async (resourceGroupName, resourceName, childResourceName, options) => {
31
+ const poller = (0, import_operations.update)(context, resourceGroupName, resourceName, childResourceName, options);
32
+ await poller.submitted();
33
+ return (0, import_simplePollerHelpers.getSimplePoller)(poller);
34
+ },
35
+ beginUpdateAndWait: async (resourceGroupName, resourceName, childResourceName, options) => {
36
+ return await (0, import_operations.update)(context, resourceGroupName, resourceName, childResourceName, options);
37
+ },
38
+ createOrUpdate: (resourceGroupName, resourceName, childResourceName, parameters, options) => (0, import_operations.createOrUpdate)(
39
+ context,
40
+ resourceGroupName,
41
+ resourceName,
42
+ childResourceName,
43
+ parameters,
44
+ options
45
+ ),
46
+ beginCreateOrUpdate: async (resourceGroupName, resourceName, childResourceName, parameters, options) => {
47
+ const poller = (0, import_operations.createOrUpdate)(
48
+ context,
49
+ resourceGroupName,
50
+ resourceName,
51
+ childResourceName,
52
+ parameters,
53
+ options
54
+ );
55
+ await poller.submitted();
56
+ return (0, import_simplePollerHelpers.getSimplePoller)(poller);
57
+ },
58
+ beginCreateOrUpdateAndWait: async (resourceGroupName, resourceName, childResourceName, parameters, options) => {
59
+ return await (0, import_operations.createOrUpdate)(
60
+ context,
61
+ resourceGroupName,
62
+ resourceName,
63
+ childResourceName,
64
+ parameters,
65
+ options
66
+ );
67
+ },
68
+ get: (resourceGroupName, resourceName, childResourceName, options) => (0, import_operations.get)(context, resourceGroupName, resourceName, childResourceName, options)
69
+ };
70
+ }
71
+ function _getResourceSyncRulesOperations(context) {
72
+ return {
73
+ ..._getResourceSyncRules(context)
74
+ };
75
+ }
76
+ // Annotate the CommonJS export names for ESM import in node:
77
+ 0 && (module.exports = {
78
+ _getResourceSyncRulesOperations
79
+ });
80
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/classic/resourceSyncRules/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { CustomLocationsManagementContext } from \"../../api/customLocationsManagementContext.js\";\nimport {\n listByCustomLocationID,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"../../api/resourceSyncRules/operations.js\";\nimport type {\n ResourceSyncRulesListByCustomLocationIDOptionalParams,\n ResourceSyncRulesDeleteOptionalParams,\n ResourceSyncRulesUpdateOptionalParams,\n ResourceSyncRulesCreateOrUpdateOptionalParams,\n ResourceSyncRulesGetOptionalParams,\n} from \"../../api/resourceSyncRules/options.js\";\nimport type { ResourceSyncRule } from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport type { SimplePollerLike } from \"../../static-helpers/simplePollerHelpers.js\";\nimport { getSimplePoller } from \"../../static-helpers/simplePollerHelpers.js\";\nimport type { PollerLike, OperationState } from \"@azure/core-lro\";\n\n/** Interface representing a ResourceSyncRules operations. */\nexport interface ResourceSyncRulesOperations {\n /** Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule */\n listByCustomLocationID: (\n resourceGroupName: string,\n resourceName: string,\n options?: ResourceSyncRulesListByCustomLocationIDOptionalParams,\n ) => PagedAsyncIterableIterator<ResourceSyncRule>;\n /** Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id. */\n delete: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesDeleteOptionalParams,\n ) => Promise<void>;\n /** Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name. */\n update: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesUpdateOptionalParams,\n ) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>;\n /** @deprecated use update instead */\n beginUpdate: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesUpdateOptionalParams,\n ) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>;\n /** @deprecated use update instead */\n beginUpdateAndWait: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesUpdateOptionalParams,\n ) => Promise<ResourceSyncRule>;\n /** Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group */\n createOrUpdate: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n parameters: ResourceSyncRule,\n options?: ResourceSyncRulesCreateOrUpdateOptionalParams,\n ) => PollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>;\n /** @deprecated use createOrUpdate instead */\n beginCreateOrUpdate: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n parameters: ResourceSyncRule,\n options?: ResourceSyncRulesCreateOrUpdateOptionalParams,\n ) => Promise<SimplePollerLike<OperationState<ResourceSyncRule>, ResourceSyncRule>>;\n /** @deprecated use createOrUpdate instead */\n beginCreateOrUpdateAndWait: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n parameters: ResourceSyncRule,\n options?: ResourceSyncRulesCreateOrUpdateOptionalParams,\n ) => Promise<ResourceSyncRule>;\n /** Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name. */\n get: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesGetOptionalParams,\n ) => Promise<ResourceSyncRule>;\n}\n\nfunction _getResourceSyncRules(context: CustomLocationsManagementContext) {\n return {\n listByCustomLocationID: (\n resourceGroupName: string,\n resourceName: string,\n options?: ResourceSyncRulesListByCustomLocationIDOptionalParams,\n ) => listByCustomLocationID(context, resourceGroupName, resourceName, options),\n delete: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesDeleteOptionalParams,\n ) => $delete(context, resourceGroupName, resourceName, childResourceName, options),\n update: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesUpdateOptionalParams,\n ) => update(context, resourceGroupName, resourceName, childResourceName, options),\n beginUpdate: async (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesUpdateOptionalParams,\n ) => {\n const poller = update(context, resourceGroupName, resourceName, childResourceName, options);\n await poller.submitted();\n return getSimplePoller(poller);\n },\n beginUpdateAndWait: async (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesUpdateOptionalParams,\n ) => {\n return await update(context, resourceGroupName, resourceName, childResourceName, options);\n },\n createOrUpdate: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n parameters: ResourceSyncRule,\n options?: ResourceSyncRulesCreateOrUpdateOptionalParams,\n ) =>\n createOrUpdate(\n context,\n resourceGroupName,\n resourceName,\n childResourceName,\n parameters,\n options,\n ),\n beginCreateOrUpdate: async (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n parameters: ResourceSyncRule,\n options?: ResourceSyncRulesCreateOrUpdateOptionalParams,\n ) => {\n const poller = createOrUpdate(\n context,\n resourceGroupName,\n resourceName,\n childResourceName,\n parameters,\n options,\n );\n await poller.submitted();\n return getSimplePoller(poller);\n },\n beginCreateOrUpdateAndWait: async (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n parameters: ResourceSyncRule,\n options?: ResourceSyncRulesCreateOrUpdateOptionalParams,\n ) => {\n return await createOrUpdate(\n context,\n resourceGroupName,\n resourceName,\n childResourceName,\n parameters,\n options,\n );\n },\n get: (\n resourceGroupName: string,\n resourceName: string,\n childResourceName: string,\n options?: ResourceSyncRulesGetOptionalParams,\n ) => get(context, resourceGroupName, resourceName, childResourceName, options),\n };\n}\n\nexport function _getResourceSyncRulesOperations(\n context: CustomLocationsManagementContext,\n): ResourceSyncRulesOperations {\n return {\n ..._getResourceSyncRules(context),\n };\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,wBAMO;AAWP,iCAAgC;AAwEhC,SAAS,sBAAsB,SAA2C;AACxE,SAAO;AAAA,IACL,wBAAwB,CACtB,mBACA,cACA,gBACG,0CAAuB,SAAS,mBAAmB,cAAc,OAAO;AAAA,IAC7E,QAAQ,CACN,mBACA,cACA,mBACA,gBACG,2BAAQ,SAAS,mBAAmB,cAAc,mBAAmB,OAAO;AAAA,IACjF,QAAQ,CACN,mBACA,cACA,mBACA,gBACG,0BAAO,SAAS,mBAAmB,cAAc,mBAAmB,OAAO;AAAA,IAChF,aAAa,OACX,mBACA,cACA,mBACA,YACG;AACH,YAAM,aAAS,0BAAO,SAAS,mBAAmB,cAAc,mBAAmB,OAAO;AAC1F,YAAM,OAAO,UAAU;AACvB,iBAAO,4CAAgB,MAAM;AAAA,IAC/B;AAAA,IACA,oBAAoB,OAClB,mBACA,cACA,mBACA,YACG;AACH,aAAO,UAAM,0BAAO,SAAS,mBAAmB,cAAc,mBAAmB,OAAO;AAAA,IAC1F;AAAA,IACA,gBAAgB,CACd,mBACA,cACA,mBACA,YACA,gBAEA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACF,qBAAqB,OACnB,mBACA,cACA,mBACA,YACA,YACG;AACH,YAAM,aAAS;AAAA,QACb;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AACA,YAAM,OAAO,UAAU;AACvB,iBAAO,4CAAgB,MAAM;AAAA,IAC/B;AAAA,IACA,4BAA4B,OAC1B,mBACA,cACA,mBACA,YACA,YACG;AACH,aAAO,UAAM;AAAA,QACX;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAAA,IACA,KAAK,CACH,mBACA,cACA,mBACA,gBACG,uBAAI,SAAS,mBAAmB,cAAc,mBAAmB,OAAO;AAAA,EAC/E;AACF;AAEO,SAAS,gCACd,SAC6B;AAC7B,SAAO;AAAA,IACL,GAAG,sBAAsB,OAAO;AAAA,EAClC;AACF;",
6
+ "names": []
7
+ }
@@ -1,21 +1,18 @@
1
- import * as coreClient from "@azure/core-client";
2
- import * as coreAuth from "@azure/core-auth";
3
- import { CustomLocations, ResourceSyncRules } from "./operationsInterfaces/index.js";
4
- import { CustomLocationsManagementClientOptionalParams } from "./models/index.js";
5
- export declare class CustomLocationsManagementClient extends coreClient.ServiceClient {
6
- $host: string;
7
- apiVersion: string;
8
- subscriptionId: string;
9
- /**
10
- * Initializes a new instance of the CustomLocationsManagementClient class.
11
- * @param credentials Subscription credentials which uniquely identify client subscription.
12
- * @param subscriptionId The ID of the target subscription.
13
- * @param options The parameter options
14
- */
15
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: CustomLocationsManagementClientOptionalParams);
16
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
17
- private addCustomApiVersionPolicy;
18
- customLocations: CustomLocations;
19
- resourceSyncRules: ResourceSyncRules;
1
+ import type { CustomLocationsManagementClientOptionalParams } from "./api/index.js";
2
+ import type { CustomLocationsOperations } from "./classic/customLocations/index.js";
3
+ import type { ResourceSyncRulesOperations } from "./classic/resourceSyncRules/index.js";
4
+ import type { TokenCredential } from "@azure/core-auth";
5
+ import type { Pipeline } from "@azure/core-rest-pipeline";
6
+ export type { CustomLocationsManagementClientOptionalParams } from "./api/customLocationsManagementContext.js";
7
+ export declare class CustomLocationsManagementClient {
8
+ private _client;
9
+ /** The pipeline used by this client to make requests */
10
+ readonly pipeline: Pipeline;
11
+ constructor(credential: TokenCredential, options?: CustomLocationsManagementClientOptionalParams);
12
+ constructor(credential: TokenCredential, subscriptionId: string, options?: CustomLocationsManagementClientOptionalParams);
13
+ /** The operation groups for resourceSyncRules */
14
+ readonly resourceSyncRules: ResourceSyncRulesOperations;
15
+ /** The operation groups for customLocations */
16
+ readonly customLocations: CustomLocationsOperations;
20
17
  }
21
18
  //# sourceMappingURL=customLocationsManagementClient.d.ts.map
@@ -1,113 +1,58 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.CustomLocationsManagementClient = void 0;
11
- const tslib_1 = require("tslib");
12
- const coreClient = tslib_1.__importStar(require("@azure/core-client"));
13
- const coreRestPipeline = tslib_1.__importStar(require("@azure/core-rest-pipeline"));
14
- const index_js_1 = require("./operations/index.js");
15
- class CustomLocationsManagementClient extends coreClient.ServiceClient {
16
- $host;
17
- apiVersion;
18
- subscriptionId;
19
- /**
20
- * Initializes a new instance of the CustomLocationsManagementClient class.
21
- * @param credentials Subscription credentials which uniquely identify client subscription.
22
- * @param subscriptionId The ID of the target subscription.
23
- * @param options The parameter options
24
- */
25
- constructor(credentials, subscriptionId, options) {
26
- if (credentials === undefined) {
27
- throw new Error("'credentials' cannot be null");
28
- }
29
- if (subscriptionId === undefined) {
30
- throw new Error("'subscriptionId' cannot be null");
31
- }
32
- // Initializing default values for options
33
- if (!options) {
34
- options = {};
35
- }
36
- const defaults = {
37
- requestContentType: "application/json; charset=utf-8",
38
- credential: credentials
39
- };
40
- const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.4`;
41
- const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
42
- ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
43
- : `${packageDetails}`;
44
- const optionsWithDefaults = {
45
- ...defaults,
46
- ...options,
47
- userAgentOptions: {
48
- userAgentPrefix
49
- },
50
- endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com"
51
- };
52
- super(optionsWithDefaults);
53
- let bearerTokenAuthenticationPolicyFound = false;
54
- if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
55
- const pipelinePolicies = options.pipeline.getOrderedPolicies();
56
- bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
57
- coreRestPipeline.bearerTokenAuthenticationPolicyName);
58
- }
59
- if (!options ||
60
- !options.pipeline ||
61
- options.pipeline.getOrderedPolicies().length == 0 ||
62
- !bearerTokenAuthenticationPolicyFound) {
63
- this.pipeline.removePolicy({
64
- name: coreRestPipeline.bearerTokenAuthenticationPolicyName
65
- });
66
- this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
67
- credential: credentials,
68
- scopes: optionsWithDefaults.credentialScopes ??
69
- `${optionsWithDefaults.endpoint}/.default`,
70
- challengeCallbacks: {
71
- authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
72
- }
73
- }));
74
- }
75
- // Parameter assignments
76
- this.subscriptionId = subscriptionId;
77
- // Assigning values to Constant parameters
78
- this.$host = options.$host || "https://management.azure.com";
79
- this.apiVersion = options.apiVersion || "2021-08-31-preview";
80
- this.customLocations = new index_js_1.CustomLocationsImpl(this);
81
- this.resourceSyncRules = new index_js_1.ResourceSyncRulesImpl(this);
82
- this.addCustomApiVersionPolicy(options.apiVersion);
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var customLocationsManagementClient_exports = {};
19
+ __export(customLocationsManagementClient_exports, {
20
+ CustomLocationsManagementClient: () => CustomLocationsManagementClient
21
+ });
22
+ module.exports = __toCommonJS(customLocationsManagementClient_exports);
23
+ var import_api = require("./api/index.js");
24
+ var import_customLocations = require("./classic/customLocations/index.js");
25
+ var import_resourceSyncRules = require("./classic/resourceSyncRules/index.js");
26
+ class CustomLocationsManagementClient {
27
+ _client;
28
+ /** The pipeline used by this client to make requests */
29
+ pipeline;
30
+ /** The customLocations Rest API spec. */
31
+ constructor(credential, subscriptionIdOrOptions, options) {
32
+ let subscriptionId;
33
+ if (typeof subscriptionIdOrOptions === "string") {
34
+ subscriptionId = subscriptionIdOrOptions;
35
+ } else if (typeof subscriptionIdOrOptions === "object") {
36
+ options = subscriptionIdOrOptions;
83
37
  }
84
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
85
- addCustomApiVersionPolicy(apiVersion) {
86
- if (!apiVersion) {
87
- return;
88
- }
89
- const apiVersionPolicy = {
90
- name: "CustomApiVersionPolicy",
91
- async sendRequest(request, next) {
92
- const param = request.url.split("?");
93
- if (param.length > 1) {
94
- const newParams = param[1].split("&").map((item) => {
95
- if (item.indexOf("api-version") > -1) {
96
- return "api-version=" + apiVersion;
97
- }
98
- else {
99
- return item;
100
- }
101
- });
102
- request.url = param[0] + "?" + newParams.join("&");
103
- }
104
- return next(request);
105
- }
106
- };
107
- this.pipeline.addPolicy(apiVersionPolicy);
108
- }
109
- customLocations;
110
- resourceSyncRules;
38
+ options = options ?? {};
39
+ const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;
40
+ const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-client` : `azsdk-js-client`;
41
+ this._client = (0, import_api.createCustomLocationsManagement)(credential, subscriptionId ?? "", {
42
+ ...options,
43
+ userAgentOptions: { userAgentPrefix }
44
+ });
45
+ this.pipeline = this._client.pipeline;
46
+ this.resourceSyncRules = (0, import_resourceSyncRules._getResourceSyncRulesOperations)(this._client);
47
+ this.customLocations = (0, import_customLocations._getCustomLocationsOperations)(this._client);
48
+ }
49
+ /** The operation groups for resourceSyncRules */
50
+ resourceSyncRules;
51
+ /** The operation groups for customLocations */
52
+ customLocations;
111
53
  }
112
- exports.CustomLocationsManagementClient = CustomLocationsManagementClient;
113
- //# sourceMappingURL=customLocationsManagementClient.js.map
54
+ // Annotate the CommonJS export names for ESM import in node:
55
+ 0 && (module.exports = {
56
+ CustomLocationsManagementClient
57
+ });
58
+ //# sourceMappingURL=customLocationsManagementClient.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"customLocationsManagementClient.js","sourceRoot":"","sources":["../../src/customLocationsManagementClient.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,uEAAiD;AACjD,oFAA8D;AAO9D,oDAAmF;AAInF,MAAa,+BAAgC,SAAQ,UAAU,CAAC,aAAa;IAC3E,KAAK,CAAS;IACd,UAAU,CAAS;IACnB,cAAc,CAAS;IAEvB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuD;QAEvD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAAkD;YAC9D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,4CAA4C,CAAC;QACpE,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,cAAc,EAAE,CAAC;QAE1B,MAAM,mBAAmB,GAAG;YAC1B,GAAG,QAAQ;YACX,GAAG,OAAO;YACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB;YACD,QAAQ,EACN,OAAO,CAAC,QAAQ,IAAI,OAAO,CAAC,OAAO,IAAI,8BAA8B;SACxE,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAE3B,IAAI,oCAAoC,GAAY,KAAK,CAAC;QAC1D,IAAI,OAAO,EAAE,QAAQ,IAAI,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAC1E,MAAM,gBAAgB,GAAsC,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC;YAClG,oCAAoC,GAAG,gBAAgB,CAAC,IAAI,CAC1D,CAAC,cAAc,EAAE,EAAE,CACjB,cAAc,CAAC,IAAI;gBACnB,gBAAgB,CAAC,mCAAmC,CACvD,CAAC;QACJ,CAAC;QACD,IACE,CAAC,OAAO;YACR,CAAC,OAAO,CAAC,QAAQ;YACjB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,EAAE,CAAC,MAAM,IAAI,CAAC;YACjD,CAAC,oCAAoC,EACrC,CAAC;YACD,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC;gBACzB,IAAI,EAAE,gBAAgB,CAAC,mCAAmC;aAC3D,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,SAAS,CACrB,gBAAgB,CAAC,+BAA+B,CAAC;gBAC/C,UAAU,EAAE,WAAW;gBACvB,MAAM,EACJ,mBAAmB,CAAC,gBAAgB;oBACpC,GAAG,mBAAmB,CAAC,QAAQ,WAAW;gBAC5C,kBAAkB,EAAE;oBAClB,2BAA2B,EACzB,UAAU,CAAC,gCAAgC;iBAC9C;aACF,CAAC,CACH,CAAC;QACJ,CAAC;QACD,wBAAwB;QACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QAErC,0CAA0C;QAC1C,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,oBAAoB,CAAC;QAC7D,IAAI,CAAC,eAAe,GAAG,IAAI,8BAAmB,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,iBAAiB,GAAG,IAAI,gCAAqB,CAAC,IAAI,CAAC,CAAC;QACzD,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACrD,CAAC;IAED,8GAA8G;IACtG,yBAAyB,CAAC,UAAmB;QACnD,IAAI,CAAC,UAAU,EAAE,CAAC;YAChB,OAAO;QACT,CAAC;QACD,MAAM,gBAAgB,GAAG;YACvB,IAAI,EAAE,wBAAwB;YAC9B,KAAK,CAAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,eAAe,CAAkB;IACjC,iBAAiB,CAAoB;CACtC;AAzHD,0EAyHC","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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { CustomLocationsImpl, ResourceSyncRulesImpl } from \"./operations/index.js\";\nimport { CustomLocations, ResourceSyncRules } from \"./operationsInterfaces/index.js\";\nimport { CustomLocationsManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class CustomLocationsManagementClient extends coreClient.ServiceClient {\n $host: string;\n apiVersion: string;\n subscriptionId: string;\n\n /**\n * Initializes a new instance of the CustomLocationsManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: CustomLocationsManagementClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: CustomLocationsManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-extendedlocation/1.0.0-beta.4`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] = options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge\n }\n })\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-08-31-preview\";\n this.customLocations = new CustomLocationsImpl(this);\n this.resourceSyncRules = new ResourceSyncRulesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n }\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n customLocations: CustomLocations;\n resourceSyncRules: ResourceSyncRules;\n}\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/customLocationsManagementClient.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type {\n CustomLocationsManagementContext,\n CustomLocationsManagementClientOptionalParams,\n} from \"./api/index.js\";\nimport { createCustomLocationsManagement } from \"./api/index.js\";\nimport type { CustomLocationsOperations } from \"./classic/customLocations/index.js\";\nimport { _getCustomLocationsOperations } from \"./classic/customLocations/index.js\";\nimport type { ResourceSyncRulesOperations } from \"./classic/resourceSyncRules/index.js\";\nimport { _getResourceSyncRulesOperations } from \"./classic/resourceSyncRules/index.js\";\nimport type { TokenCredential } from \"@azure/core-auth\";\nimport type { Pipeline } from \"@azure/core-rest-pipeline\";\n\nexport type { CustomLocationsManagementClientOptionalParams } from \"./api/customLocationsManagementContext.js\";\n\nexport class CustomLocationsManagementClient {\n private _client: CustomLocationsManagementContext;\n /** The pipeline used by this client to make requests */\n public readonly pipeline: Pipeline;\n\n constructor(credential: TokenCredential, options?: CustomLocationsManagementClientOptionalParams);\n constructor(\n credential: TokenCredential,\n subscriptionId: string,\n options?: CustomLocationsManagementClientOptionalParams,\n );\n /** The customLocations Rest API spec. */\n constructor(\n credential: TokenCredential,\n subscriptionIdOrOptions?: string | CustomLocationsManagementClientOptionalParams,\n options?: CustomLocationsManagementClientOptionalParams,\n ) {\n let subscriptionId: string | undefined;\n\n if (typeof subscriptionIdOrOptions === \"string\") {\n subscriptionId = subscriptionIdOrOptions;\n } else if (typeof subscriptionIdOrOptions === \"object\") {\n options = subscriptionIdOrOptions;\n }\n\n options = options ?? {};\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-client`\n : `azsdk-js-client`;\n this._client = createCustomLocationsManagement(credential, subscriptionId ?? \"\", {\n ...options,\n userAgentOptions: { userAgentPrefix },\n });\n this.pipeline = this._client.pipeline;\n this.resourceSyncRules = _getResourceSyncRulesOperations(this._client);\n this.customLocations = _getCustomLocationsOperations(this._client);\n }\n\n /** The operation groups for resourceSyncRules */\n public readonly resourceSyncRules: ResourceSyncRulesOperations;\n /** The operation groups for customLocations */\n public readonly customLocations: CustomLocationsOperations;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAOA,iBAAgD;AAEhD,6BAA8C;AAE9C,+BAAgD;AAMzC,MAAM,gCAAgC;AAAA,EACnC;AAAA;AAAA,EAEQ;AAAA;AAAA,EAShB,YACE,YACA,yBACA,SACA;AACA,QAAI;AAEJ,QAAI,OAAO,4BAA4B,UAAU;AAC/C,uBAAiB;AAAA,IACnB,WAAW,OAAO,4BAA4B,UAAU;AACtD,gBAAU;AAAA,IACZ;AAEA,cAAU,WAAW,CAAC;AACtB,UAAM,oBAAoB,SAAS,kBAAkB;AACrD,UAAM,kBAAkB,oBACpB,GAAG,iBAAiB,qBACpB;AACJ,SAAK,cAAU,4CAAgC,YAAY,kBAAkB,IAAI;AAAA,MAC/E,GAAG;AAAA,MACH,kBAAkB,EAAE,gBAAgB;AAAA,IACtC,CAAC;AACD,SAAK,WAAW,KAAK,QAAQ;AAC7B,SAAK,wBAAoB,0DAAgC,KAAK,OAAO;AACrE,SAAK,sBAAkB,sDAA8B,KAAK,OAAO;AAAA,EACnE;AAAA;AAAA,EAGgB;AAAA;AAAA,EAEA;AAClB;",
6
+ "names": []
7
+ }
@@ -1,5 +1,18 @@
1
- export { getContinuationToken } from "./pagingHelper.js";
2
- export * from "./models/index.js";
1
+ import type { AzureSupportedClouds } from "./static-helpers/cloudSettingHelpers.js";
2
+ import { AzureClouds } from "./static-helpers/cloudSettingHelpers.js";
3
+ import type { PageSettings, ContinuablePage, PagedAsyncIterableIterator } from "./static-helpers/pagingHelpers.js";
3
4
  export { CustomLocationsManagementClient } from "./customLocationsManagementClient.js";
4
- export * from "./operationsInterfaces/index.js";
5
+ export type { SimplePollerLike } from "./static-helpers/simplePollerHelpers.js";
6
+ export type { RestorePollerOptions } from "./restorePollerHelpers.js";
7
+ export { restorePoller } from "./restorePollerHelpers.js";
8
+ export type { CustomLocationOperation, CustomLocationOperationValueDisplay, ErrorResponse, ErrorDetail, ErrorAdditionalInfo, CustomLocation, CustomLocationProperties, CustomLocationPropertiesAuthentication, HostType, Identity, ResourceIdentityType, TrackedResource, Resource, SystemData, CreatedByType, PatchableCustomLocations, EnabledResourceType, EnabledResourceTypeProperties, EnabledResourceTypePropertiesTypesMetadataItem, ProxyResource, CustomLocationFindTargetResourceGroupProperties, CustomLocationFindTargetResourceGroupResult, ResourceSyncRule, ResourceSyncRuleProperties, ResourceSyncRulePropertiesSelector, MatchExpressionsProperties, PatchableResourceSyncRule, } from "./models/index.js";
9
+ export { KnownHostType, KnownResourceIdentityType, KnownCreatedByType, KnownVersions, } from "./models/index.js";
10
+ export type { CustomLocationsManagementClientOptionalParams } from "./api/index.js";
11
+ export type { CustomLocationsFindTargetResourceGroupOptionalParams, CustomLocationsListEnabledResourceTypesOptionalParams, CustomLocationsListBySubscriptionOptionalParams, CustomLocationsListByResourceGroupOptionalParams, CustomLocationsDeleteOptionalParams, CustomLocationsUpdateOptionalParams, CustomLocationsCreateOrUpdateOptionalParams, CustomLocationsGetOptionalParams, CustomLocationsListOperationsOptionalParams, } from "./api/customLocations/index.js";
12
+ export type { ResourceSyncRulesListByCustomLocationIDOptionalParams, ResourceSyncRulesDeleteOptionalParams, ResourceSyncRulesUpdateOptionalParams, ResourceSyncRulesCreateOrUpdateOptionalParams, ResourceSyncRulesGetOptionalParams, } from "./api/resourceSyncRules/index.js";
13
+ export type { CustomLocationsOperations, ResourceSyncRulesOperations } from "./classic/index.js";
14
+ export type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };
15
+ export { AzureClouds };
16
+ export type { AzureSupportedClouds };
17
+ export { RestError, isRestError } from "@azure/core-rest-pipeline";
5
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,48 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
- */
9
- Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.CustomLocationsManagementClient = exports.getContinuationToken = void 0;
11
- const tslib_1 = require("tslib");
12
- /// <reference lib="esnext.asynciterable" />
13
- var pagingHelper_js_1 = require("./pagingHelper.js");
14
- Object.defineProperty(exports, "getContinuationToken", { enumerable: true, get: function () { return pagingHelper_js_1.getContinuationToken; } });
15
- tslib_1.__exportStar(require("./models/index.js"), exports);
16
- var customLocationsManagementClient_js_1 = require("./customLocationsManagementClient.js");
17
- Object.defineProperty(exports, "CustomLocationsManagementClient", { enumerable: true, get: function () { return customLocationsManagementClient_js_1.CustomLocationsManagementClient; } });
18
- tslib_1.__exportStar(require("./operationsInterfaces/index.js"), exports);
19
- //# sourceMappingURL=index.js.map
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var src_exports = {};
19
+ __export(src_exports, {
20
+ AzureClouds: () => import_cloudSettingHelpers.AzureClouds,
21
+ CustomLocationsManagementClient: () => import_customLocationsManagementClient.CustomLocationsManagementClient,
22
+ KnownCreatedByType: () => import_models.KnownCreatedByType,
23
+ KnownHostType: () => import_models.KnownHostType,
24
+ KnownResourceIdentityType: () => import_models.KnownResourceIdentityType,
25
+ KnownVersions: () => import_models.KnownVersions,
26
+ RestError: () => import_core_rest_pipeline.RestError,
27
+ isRestError: () => import_core_rest_pipeline.isRestError,
28
+ restorePoller: () => import_restorePollerHelpers.restorePoller
29
+ });
30
+ module.exports = __toCommonJS(src_exports);
31
+ var import_cloudSettingHelpers = require("./static-helpers/cloudSettingHelpers.js");
32
+ var import_customLocationsManagementClient = require("./customLocationsManagementClient.js");
33
+ var import_restorePollerHelpers = require("./restorePollerHelpers.js");
34
+ var import_models = require("./models/index.js");
35
+ var import_core_rest_pipeline = require("@azure/core-rest-pipeline");
36
+ // Annotate the CommonJS export names for ESM import in node:
37
+ 0 && (module.exports = {
38
+ AzureClouds,
39
+ CustomLocationsManagementClient,
40
+ KnownCreatedByType,
41
+ KnownHostType,
42
+ KnownResourceIdentityType,
43
+ KnownVersions,
44
+ RestError,
45
+ isRestError,
46
+ restorePoller
47
+ });
48
+ //# sourceMappingURL=index.js.map
@@ -1 +1,7 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAEH,4CAA4C;AAC5C,qDAAyD;AAAhD,uHAAA,oBAAoB,OAAA;AAC7B,4DAAkC;AAClC,2FAAuF;AAA9E,qJAAA,+BAA+B,OAAA;AACxC,0EAAgD","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { CustomLocationsManagementClient } from \"./customLocationsManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { AzureSupportedClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport { AzureClouds } from \"./static-helpers/cloudSettingHelpers.js\";\nimport type {\n PageSettings,\n ContinuablePage,\n PagedAsyncIterableIterator,\n} from \"./static-helpers/pagingHelpers.js\";\n\nexport { CustomLocationsManagementClient } from \"./customLocationsManagementClient.js\";\nexport type { SimplePollerLike } from \"./static-helpers/simplePollerHelpers.js\";\nexport type { RestorePollerOptions } from \"./restorePollerHelpers.js\";\nexport { restorePoller } from \"./restorePollerHelpers.js\";\nexport type {\n CustomLocationOperation,\n CustomLocationOperationValueDisplay,\n ErrorResponse,\n ErrorDetail,\n ErrorAdditionalInfo,\n CustomLocation,\n CustomLocationProperties,\n CustomLocationPropertiesAuthentication,\n HostType,\n Identity,\n ResourceIdentityType,\n TrackedResource,\n Resource,\n SystemData,\n CreatedByType,\n PatchableCustomLocations,\n EnabledResourceType,\n EnabledResourceTypeProperties,\n EnabledResourceTypePropertiesTypesMetadataItem,\n ProxyResource,\n CustomLocationFindTargetResourceGroupProperties,\n CustomLocationFindTargetResourceGroupResult,\n ResourceSyncRule,\n ResourceSyncRuleProperties,\n ResourceSyncRulePropertiesSelector,\n MatchExpressionsProperties,\n PatchableResourceSyncRule,\n} from \"./models/index.js\";\nexport {\n KnownHostType,\n KnownResourceIdentityType,\n KnownCreatedByType,\n KnownVersions,\n} from \"./models/index.js\";\nexport type { CustomLocationsManagementClientOptionalParams } from \"./api/index.js\";\nexport type {\n CustomLocationsFindTargetResourceGroupOptionalParams,\n CustomLocationsListEnabledResourceTypesOptionalParams,\n CustomLocationsListBySubscriptionOptionalParams,\n CustomLocationsListByResourceGroupOptionalParams,\n CustomLocationsDeleteOptionalParams,\n CustomLocationsUpdateOptionalParams,\n CustomLocationsCreateOrUpdateOptionalParams,\n CustomLocationsGetOptionalParams,\n CustomLocationsListOperationsOptionalParams,\n} from \"./api/customLocations/index.js\";\nexport type {\n ResourceSyncRulesListByCustomLocationIDOptionalParams,\n ResourceSyncRulesDeleteOptionalParams,\n ResourceSyncRulesUpdateOptionalParams,\n ResourceSyncRulesCreateOrUpdateOptionalParams,\n ResourceSyncRulesGetOptionalParams,\n} from \"./api/resourceSyncRules/index.js\";\nexport type { CustomLocationsOperations, ResourceSyncRulesOperations } from \"./classic/index.js\";\nexport type { PageSettings, ContinuablePage, PagedAsyncIterableIterator };\nexport { AzureClouds };\nexport type { AzureSupportedClouds };\nexport { RestError, isRestError } from \"@azure/core-rest-pipeline\";\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,iCAA4B;AAO5B,6CAAgD;AAGhD,kCAA8B;AA8B9B,oBAKO;AAwBP,gCAAuC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ export declare const logger: import("@azure/logger").AzureLogger;
2
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1,29 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var logger_exports = {};
19
+ __export(logger_exports, {
20
+ logger: () => logger
21
+ });
22
+ module.exports = __toCommonJS(logger_exports);
23
+ var import_logger = require("@azure/logger");
24
+ const logger = (0, import_logger.createClientLogger)("arm-extendedlocation");
25
+ // Annotate the CommonJS export names for ESM import in node:
26
+ 0 && (module.exports = {
27
+ logger
28
+ });
29
+ //# sourceMappingURL=logger.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/logger.ts"],
4
+ "sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { createClientLogger } from \"@azure/logger\";\nexport const logger = createClientLogger(\"arm-extendedlocation\");\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAmC;AAC5B,MAAM,aAAS,kCAAmB,sBAAsB;",
6
+ "names": []
7
+ }