@azure/arm-resources-subscriptions 2.1.2-alpha.20260310.1 → 3.0.0-beta.1

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 (423) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +12 -17
  3. package/dist/browser/api/index.d.ts +5 -0
  4. package/dist/browser/api/index.js +5 -0
  5. package/dist/browser/api/index.js.map +1 -0
  6. package/dist/browser/api/operations/index.d.ts +3 -0
  7. package/dist/browser/api/operations/index.js +4 -0
  8. package/dist/browser/api/operations/index.js.map +1 -0
  9. package/dist/browser/api/operations/operations.d.ts +10 -0
  10. package/dist/browser/api/operations/operations.js +31 -0
  11. package/dist/browser/api/operations/operations.js.map +1 -0
  12. package/dist/browser/api/operations/options.d.ts +5 -0
  13. package/dist/browser/api/operations/options.js +4 -0
  14. package/dist/browser/api/operations/options.js.map +1 -0
  15. package/dist/browser/api/operations.d.ts +9 -0
  16. package/dist/browser/api/operations.js +35 -0
  17. package/dist/browser/api/operations.js.map +1 -0
  18. package/dist/browser/api/options.d.ts +8 -0
  19. package/dist/browser/api/options.js +4 -0
  20. package/dist/browser/api/options.js.map +1 -0
  21. package/dist/browser/api/subscriptionContext.d.ts +18 -0
  22. package/dist/browser/api/subscriptionContext.js +25 -0
  23. package/dist/browser/api/subscriptionContext.js.map +1 -0
  24. package/dist/browser/api/subscriptions/index.d.ts +3 -0
  25. package/dist/browser/api/subscriptions/index.js +4 -0
  26. package/dist/browser/api/subscriptions/index.js.map +1 -0
  27. package/dist/browser/api/subscriptions/operations.d.ts +22 -0
  28. package/dist/browser/api/subscriptions/operations.js +111 -0
  29. package/dist/browser/api/subscriptions/operations.js.map +1 -0
  30. package/dist/browser/api/subscriptions/options.d.ts +16 -0
  31. package/dist/browser/api/subscriptions/options.js +4 -0
  32. package/dist/browser/api/subscriptions/options.js.map +1 -0
  33. package/dist/browser/api/tenants/index.d.ts +3 -0
  34. package/dist/browser/api/tenants/index.js +4 -0
  35. package/dist/browser/api/tenants/index.js.map +1 -0
  36. package/dist/browser/api/tenants/operations.d.ts +10 -0
  37. package/dist/browser/api/tenants/operations.js +31 -0
  38. package/dist/browser/api/tenants/operations.js.map +1 -0
  39. package/dist/browser/api/tenants/options.d.ts +5 -0
  40. package/dist/browser/api/tenants/options.js +4 -0
  41. package/dist/browser/api/tenants/options.js.map +1 -0
  42. package/dist/browser/classic/index.d.ts +4 -0
  43. package/dist/browser/classic/index.js +4 -0
  44. package/dist/browser/classic/index.js.map +1 -0
  45. package/dist/browser/classic/operations/index.d.ts +11 -0
  46. package/dist/browser/classic/operations/index.js +14 -0
  47. package/dist/browser/classic/operations/index.js.map +1 -0
  48. package/dist/browser/classic/subscriptions/index.d.ts +17 -0
  49. package/dist/browser/classic/subscriptions/index.js +17 -0
  50. package/dist/browser/classic/subscriptions/index.js.map +1 -0
  51. package/dist/browser/classic/tenants/index.d.ts +11 -0
  52. package/dist/browser/classic/tenants/index.js +14 -0
  53. package/dist/browser/classic/tenants/index.js.map +1 -0
  54. package/dist/browser/index.d.ts +13 -3
  55. package/dist/browser/index.js +6 -11
  56. package/dist/browser/index.js.map +1 -1
  57. package/dist/browser/logger.d.ts +2 -0
  58. package/dist/browser/logger.js +5 -0
  59. package/dist/browser/logger.js.map +1 -0
  60. package/dist/browser/models/index.d.ts +2 -642
  61. package/dist/browser/models/index.js +3 -49
  62. package/dist/browser/models/index.js.map +1 -1
  63. package/dist/browser/models/models.d.ts +378 -0
  64. package/dist/browser/models/models.js +306 -0
  65. package/dist/browser/models/models.js.map +1 -0
  66. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  67. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  68. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  69. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  70. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  71. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  72. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  73. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  74. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  75. package/dist/browser/subscriptionClient.d.ts +22 -24
  76. package/dist/browser/subscriptionClient.js +31 -127
  77. package/dist/browser/subscriptionClient.js.map +1 -1
  78. package/dist/commonjs/api/index.d.ts +5 -0
  79. package/dist/commonjs/{operationsInterfaces → api}/index.js +15 -9
  80. package/dist/commonjs/api/index.js.map +7 -0
  81. package/dist/commonjs/api/operations/index.d.ts +3 -0
  82. package/dist/commonjs/{operations → api/operations}/index.js +10 -7
  83. package/dist/commonjs/api/operations/index.js.map +7 -0
  84. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  85. package/dist/commonjs/api/operations/operations.js +68 -0
  86. package/dist/commonjs/api/operations/operations.js.map +7 -0
  87. package/dist/commonjs/api/operations/options.d.ts +5 -0
  88. package/dist/commonjs/{operationsInterfaces/operations.js → api/operations/options.js} +3 -2
  89. package/dist/commonjs/api/operations/options.js.map +7 -0
  90. package/dist/commonjs/api/operations.d.ts +9 -0
  91. package/dist/commonjs/api/operations.js +64 -0
  92. package/dist/commonjs/api/operations.js.map +7 -0
  93. package/dist/commonjs/api/options.d.ts +8 -0
  94. package/dist/commonjs/{operationsInterfaces/subscriptions.js → api/options.js} +3 -2
  95. package/dist/commonjs/api/options.js.map +7 -0
  96. package/dist/commonjs/api/subscriptionContext.d.ts +18 -0
  97. package/dist/commonjs/api/subscriptionContext.js +47 -0
  98. package/dist/commonjs/api/subscriptionContext.js.map +7 -0
  99. package/dist/commonjs/api/subscriptions/index.d.ts +3 -0
  100. package/dist/commonjs/api/subscriptions/index.js +34 -0
  101. package/dist/commonjs/api/subscriptions/index.js.map +7 -0
  102. package/dist/commonjs/api/subscriptions/operations.d.ts +22 -0
  103. package/dist/commonjs/api/subscriptions/operations.js +181 -0
  104. package/dist/commonjs/api/subscriptions/operations.js.map +7 -0
  105. package/dist/commonjs/api/subscriptions/options.d.ts +16 -0
  106. package/dist/commonjs/api/subscriptions/options.js +16 -0
  107. package/dist/commonjs/api/subscriptions/options.js.map +7 -0
  108. package/dist/commonjs/api/tenants/index.d.ts +3 -0
  109. package/dist/commonjs/api/tenants/index.js +28 -0
  110. package/dist/commonjs/api/tenants/index.js.map +7 -0
  111. package/dist/commonjs/api/tenants/operations.d.ts +10 -0
  112. package/dist/commonjs/api/tenants/operations.js +68 -0
  113. package/dist/commonjs/api/tenants/operations.js.map +7 -0
  114. package/dist/commonjs/api/tenants/options.d.ts +5 -0
  115. package/dist/commonjs/api/tenants/options.js +16 -0
  116. package/dist/commonjs/api/tenants/options.js.map +7 -0
  117. package/dist/commonjs/classic/index.d.ts +4 -0
  118. package/dist/commonjs/{operationsInterfaces/tenants.js → classic/index.js} +3 -2
  119. package/dist/commonjs/classic/index.js.map +7 -0
  120. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  121. package/dist/commonjs/{pagingHelper.js → classic/operations/index.js} +15 -20
  122. package/dist/commonjs/classic/operations/index.js.map +7 -0
  123. package/dist/commonjs/classic/subscriptions/index.d.ts +17 -0
  124. package/dist/commonjs/classic/subscriptions/index.js +41 -0
  125. package/dist/commonjs/classic/subscriptions/index.js.map +7 -0
  126. package/dist/commonjs/classic/tenants/index.d.ts +11 -0
  127. package/dist/commonjs/classic/tenants/index.js +38 -0
  128. package/dist/commonjs/classic/tenants/index.js.map +7 -0
  129. package/dist/commonjs/index.d.ts +13 -3
  130. package/dist/commonjs/index.js +22 -8
  131. package/dist/commonjs/index.js.map +3 -3
  132. package/dist/commonjs/logger.d.ts +2 -0
  133. package/dist/commonjs/logger.js +29 -0
  134. package/dist/commonjs/logger.js.map +7 -0
  135. package/dist/commonjs/models/index.d.ts +2 -642
  136. package/dist/commonjs/models/index.js +10 -32
  137. package/dist/commonjs/models/index.js.map +4 -4
  138. package/dist/commonjs/models/models.d.ts +378 -0
  139. package/dist/commonjs/models/models.js +374 -0
  140. package/dist/commonjs/models/models.js.map +7 -0
  141. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  142. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  143. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  144. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  145. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  146. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  147. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  148. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  149. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  150. package/dist/commonjs/subscriptionClient.d.ts +22 -24
  151. package/dist/commonjs/subscriptionClient.js +28 -130
  152. package/dist/commonjs/subscriptionClient.js.map +4 -4
  153. package/dist/commonjs/tsdoc-metadata.json +1 -1
  154. package/dist/esm/api/index.d.ts +5 -0
  155. package/dist/esm/api/index.js +5 -0
  156. package/dist/esm/api/index.js.map +1 -0
  157. package/dist/esm/api/operations/index.d.ts +3 -0
  158. package/dist/esm/api/operations/index.js +4 -0
  159. package/dist/esm/api/operations/index.js.map +1 -0
  160. package/dist/esm/api/operations/operations.d.ts +10 -0
  161. package/dist/esm/api/operations/operations.js +31 -0
  162. package/dist/esm/api/operations/operations.js.map +1 -0
  163. package/dist/esm/api/operations/options.d.ts +5 -0
  164. package/dist/esm/api/operations/options.js +4 -0
  165. package/dist/esm/api/operations/options.js.map +1 -0
  166. package/dist/esm/api/operations.d.ts +9 -0
  167. package/dist/esm/api/operations.js +35 -0
  168. package/dist/esm/api/operations.js.map +1 -0
  169. package/dist/esm/api/options.d.ts +8 -0
  170. package/dist/esm/api/options.js +4 -0
  171. package/dist/esm/api/options.js.map +1 -0
  172. package/dist/esm/api/subscriptionContext.d.ts +18 -0
  173. package/dist/esm/api/subscriptionContext.js +25 -0
  174. package/dist/esm/api/subscriptionContext.js.map +1 -0
  175. package/dist/esm/api/subscriptions/index.d.ts +3 -0
  176. package/dist/esm/api/subscriptions/index.js +4 -0
  177. package/dist/esm/api/subscriptions/index.js.map +1 -0
  178. package/dist/esm/api/subscriptions/operations.d.ts +22 -0
  179. package/dist/esm/api/subscriptions/operations.js +111 -0
  180. package/dist/esm/api/subscriptions/operations.js.map +1 -0
  181. package/dist/esm/api/subscriptions/options.d.ts +16 -0
  182. package/dist/esm/api/subscriptions/options.js +4 -0
  183. package/dist/esm/api/subscriptions/options.js.map +1 -0
  184. package/dist/esm/api/tenants/index.d.ts +3 -0
  185. package/dist/esm/api/tenants/index.js +4 -0
  186. package/dist/esm/api/tenants/index.js.map +1 -0
  187. package/dist/esm/api/tenants/operations.d.ts +10 -0
  188. package/dist/esm/api/tenants/operations.js +31 -0
  189. package/dist/esm/api/tenants/operations.js.map +1 -0
  190. package/dist/esm/api/tenants/options.d.ts +5 -0
  191. package/dist/esm/api/tenants/options.js +4 -0
  192. package/dist/esm/api/tenants/options.js.map +1 -0
  193. package/dist/esm/classic/index.d.ts +4 -0
  194. package/dist/esm/classic/index.js +4 -0
  195. package/dist/esm/classic/index.js.map +1 -0
  196. package/dist/esm/classic/operations/index.d.ts +11 -0
  197. package/dist/esm/classic/operations/index.js +14 -0
  198. package/dist/esm/classic/operations/index.js.map +1 -0
  199. package/dist/esm/classic/subscriptions/index.d.ts +17 -0
  200. package/dist/esm/classic/subscriptions/index.js +17 -0
  201. package/dist/esm/classic/subscriptions/index.js.map +1 -0
  202. package/dist/esm/classic/tenants/index.d.ts +11 -0
  203. package/dist/esm/classic/tenants/index.js +14 -0
  204. package/dist/esm/classic/tenants/index.js.map +1 -0
  205. package/dist/esm/index.d.ts +13 -3
  206. package/dist/esm/index.js +8 -8
  207. package/dist/esm/index.js.map +1 -7
  208. package/dist/esm/logger.d.ts +2 -0
  209. package/dist/esm/logger.js +5 -0
  210. package/dist/esm/logger.js.map +1 -0
  211. package/dist/esm/models/index.d.ts +2 -642
  212. package/dist/esm/models/index.js +4 -33
  213. package/dist/esm/models/index.js.map +1 -7
  214. package/dist/esm/models/models.d.ts +378 -0
  215. package/dist/esm/models/models.js +306 -0
  216. package/dist/esm/models/models.js.map +1 -0
  217. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  218. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  219. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  220. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  221. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  222. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  223. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  224. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  225. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  226. package/dist/esm/subscriptionClient.d.ts +22 -24
  227. package/dist/esm/subscriptionClient.js +34 -125
  228. package/dist/esm/subscriptionClient.js.map +1 -7
  229. package/package.json +156 -77
  230. package/CHANGELOG.md +0 -75
  231. package/dist/browser/index.d.ts.map +0 -1
  232. package/dist/browser/models/index.d.ts.map +0 -1
  233. package/dist/browser/models/mappers.d.ts +0 -30
  234. package/dist/browser/models/mappers.d.ts.map +0 -1
  235. package/dist/browser/models/mappers.js +0 -1009
  236. package/dist/browser/models/mappers.js.map +0 -1
  237. package/dist/browser/models/parameters.d.ts +0 -11
  238. package/dist/browser/models/parameters.d.ts.map +0 -1
  239. package/dist/browser/models/parameters.js +0 -91
  240. package/dist/browser/models/parameters.js.map +0 -1
  241. package/dist/browser/operations/index.d.ts +0 -4
  242. package/dist/browser/operations/index.d.ts.map +0 -1
  243. package/dist/browser/operations/index.js +0 -11
  244. package/dist/browser/operations/index.js.map +0 -1
  245. package/dist/browser/operations/operations.d.ts +0 -32
  246. package/dist/browser/operations/operations.d.ts.map +0 -1
  247. package/dist/browser/operations/operations.js +0 -116
  248. package/dist/browser/operations/operations.js.map +0 -1
  249. package/dist/browser/operations/subscriptions.d.ts +0 -61
  250. package/dist/browser/operations/subscriptions.d.ts.map +0 -1
  251. package/dist/browser/operations/subscriptions.js +0 -225
  252. package/dist/browser/operations/subscriptions.js.map +0 -1
  253. package/dist/browser/operations/tenants.d.ts +0 -32
  254. package/dist/browser/operations/tenants.d.ts.map +0 -1
  255. package/dist/browser/operations/tenants.js +0 -116
  256. package/dist/browser/operations/tenants.js.map +0 -1
  257. package/dist/browser/operationsInterfaces/index.d.ts +0 -4
  258. package/dist/browser/operationsInterfaces/index.d.ts.map +0 -1
  259. package/dist/browser/operationsInterfaces/index.js +0 -11
  260. package/dist/browser/operationsInterfaces/index.js.map +0 -1
  261. package/dist/browser/operationsInterfaces/operations.d.ts +0 -11
  262. package/dist/browser/operationsInterfaces/operations.d.ts.map +0 -1
  263. package/dist/browser/operationsInterfaces/operations.js +0 -9
  264. package/dist/browser/operationsInterfaces/operations.js.map +0 -1
  265. package/dist/browser/operationsInterfaces/subscriptions.d.ts +0 -31
  266. package/dist/browser/operationsInterfaces/subscriptions.d.ts.map +0 -1
  267. package/dist/browser/operationsInterfaces/subscriptions.js +0 -9
  268. package/dist/browser/operationsInterfaces/subscriptions.js.map +0 -1
  269. package/dist/browser/operationsInterfaces/tenants.d.ts +0 -11
  270. package/dist/browser/operationsInterfaces/tenants.d.ts.map +0 -1
  271. package/dist/browser/operationsInterfaces/tenants.js +0 -9
  272. package/dist/browser/operationsInterfaces/tenants.js.map +0 -1
  273. package/dist/browser/pagingHelper.d.ts +0 -13
  274. package/dist/browser/pagingHelper.d.ts.map +0 -1
  275. package/dist/browser/pagingHelper.js +0 -30
  276. package/dist/browser/pagingHelper.js.map +0 -1
  277. package/dist/browser/subscriptionClient.d.ts.map +0 -1
  278. package/dist/commonjs/index.d.ts.map +0 -1
  279. package/dist/commonjs/models/index.d.ts.map +0 -1
  280. package/dist/commonjs/models/mappers.d.ts +0 -30
  281. package/dist/commonjs/models/mappers.d.ts.map +0 -1
  282. package/dist/commonjs/models/mappers.js +0 -1081
  283. package/dist/commonjs/models/mappers.js.map +0 -7
  284. package/dist/commonjs/models/parameters.d.ts +0 -11
  285. package/dist/commonjs/models/parameters.d.ts.map +0 -1
  286. package/dist/commonjs/models/parameters.js +0 -125
  287. package/dist/commonjs/models/parameters.js.map +0 -7
  288. package/dist/commonjs/operations/index.d.ts +0 -4
  289. package/dist/commonjs/operations/index.d.ts.map +0 -1
  290. package/dist/commonjs/operations/index.js.map +0 -7
  291. package/dist/commonjs/operations/operations.d.ts +0 -32
  292. package/dist/commonjs/operations/operations.d.ts.map +0 -1
  293. package/dist/commonjs/operations/operations.js +0 -148
  294. package/dist/commonjs/operations/operations.js.map +0 -7
  295. package/dist/commonjs/operations/subscriptions.d.ts +0 -61
  296. package/dist/commonjs/operations/subscriptions.d.ts.map +0 -1
  297. package/dist/commonjs/operations/subscriptions.js +0 -269
  298. package/dist/commonjs/operations/subscriptions.js.map +0 -7
  299. package/dist/commonjs/operations/tenants.d.ts +0 -32
  300. package/dist/commonjs/operations/tenants.d.ts.map +0 -1
  301. package/dist/commonjs/operations/tenants.js +0 -148
  302. package/dist/commonjs/operations/tenants.js.map +0 -7
  303. package/dist/commonjs/operationsInterfaces/index.d.ts +0 -4
  304. package/dist/commonjs/operationsInterfaces/index.d.ts.map +0 -1
  305. package/dist/commonjs/operationsInterfaces/index.js.map +0 -7
  306. package/dist/commonjs/operationsInterfaces/operations.d.ts +0 -11
  307. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +0 -1
  308. package/dist/commonjs/operationsInterfaces/operations.js.map +0 -7
  309. package/dist/commonjs/operationsInterfaces/subscriptions.d.ts +0 -31
  310. package/dist/commonjs/operationsInterfaces/subscriptions.d.ts.map +0 -1
  311. package/dist/commonjs/operationsInterfaces/subscriptions.js.map +0 -7
  312. package/dist/commonjs/operationsInterfaces/tenants.d.ts +0 -11
  313. package/dist/commonjs/operationsInterfaces/tenants.d.ts.map +0 -1
  314. package/dist/commonjs/operationsInterfaces/tenants.js.map +0 -7
  315. package/dist/commonjs/pagingHelper.d.ts +0 -13
  316. package/dist/commonjs/pagingHelper.d.ts.map +0 -1
  317. package/dist/commonjs/pagingHelper.js.map +0 -7
  318. package/dist/commonjs/subscriptionClient.d.ts.map +0 -1
  319. package/dist/esm/index.d.ts.map +0 -1
  320. package/dist/esm/models/index.d.ts.map +0 -1
  321. package/dist/esm/models/mappers.d.ts +0 -30
  322. package/dist/esm/models/mappers.d.ts.map +0 -1
  323. package/dist/esm/models/mappers.js +0 -1031
  324. package/dist/esm/models/mappers.js.map +0 -7
  325. package/dist/esm/models/parameters.d.ts +0 -11
  326. package/dist/esm/models/parameters.d.ts.map +0 -1
  327. package/dist/esm/models/parameters.js +0 -97
  328. package/dist/esm/models/parameters.js.map +0 -7
  329. package/dist/esm/operations/index.d.ts +0 -4
  330. package/dist/esm/operations/index.d.ts.map +0 -1
  331. package/dist/esm/operations/index.js +0 -3
  332. package/dist/esm/operations/index.js.map +0 -7
  333. package/dist/esm/operations/operations.d.ts +0 -32
  334. package/dist/esm/operations/operations.d.ts.map +0 -1
  335. package/dist/esm/operations/operations.js +0 -115
  336. package/dist/esm/operations/operations.js.map +0 -7
  337. package/dist/esm/operations/subscriptions.d.ts +0 -61
  338. package/dist/esm/operations/subscriptions.d.ts.map +0 -1
  339. package/dist/esm/operations/subscriptions.js +0 -236
  340. package/dist/esm/operations/subscriptions.js.map +0 -7
  341. package/dist/esm/operations/tenants.d.ts +0 -32
  342. package/dist/esm/operations/tenants.d.ts.map +0 -1
  343. package/dist/esm/operations/tenants.js +0 -115
  344. package/dist/esm/operations/tenants.js.map +0 -7
  345. package/dist/esm/operationsInterfaces/index.d.ts +0 -4
  346. package/dist/esm/operationsInterfaces/index.d.ts.map +0 -1
  347. package/dist/esm/operationsInterfaces/index.js +0 -3
  348. package/dist/esm/operationsInterfaces/index.js.map +0 -7
  349. package/dist/esm/operationsInterfaces/operations.d.ts +0 -11
  350. package/dist/esm/operationsInterfaces/operations.d.ts.map +0 -1
  351. package/dist/esm/operationsInterfaces/operations.js +0 -0
  352. package/dist/esm/operationsInterfaces/operations.js.map +0 -7
  353. package/dist/esm/operationsInterfaces/subscriptions.d.ts +0 -31
  354. package/dist/esm/operationsInterfaces/subscriptions.d.ts.map +0 -1
  355. package/dist/esm/operationsInterfaces/subscriptions.js +0 -0
  356. package/dist/esm/operationsInterfaces/subscriptions.js.map +0 -7
  357. package/dist/esm/operationsInterfaces/tenants.d.ts +0 -11
  358. package/dist/esm/operationsInterfaces/tenants.d.ts.map +0 -1
  359. package/dist/esm/operationsInterfaces/tenants.js +0 -0
  360. package/dist/esm/operationsInterfaces/tenants.js.map +0 -7
  361. package/dist/esm/pagingHelper.d.ts +0 -13
  362. package/dist/esm/pagingHelper.d.ts.map +0 -1
  363. package/dist/esm/pagingHelper.js +0 -19
  364. package/dist/esm/pagingHelper.js.map +0 -7
  365. package/dist/esm/subscriptionClient.d.ts.map +0 -1
  366. package/dist/react-native/index.d.ts +0 -5
  367. package/dist/react-native/index.d.ts.map +0 -1
  368. package/dist/react-native/index.js +0 -13
  369. package/dist/react-native/index.js.map +0 -1
  370. package/dist/react-native/models/index.d.ts +0 -643
  371. package/dist/react-native/models/index.d.ts.map +0 -1
  372. package/dist/react-native/models/index.js +0 -50
  373. package/dist/react-native/models/index.js.map +0 -1
  374. package/dist/react-native/models/mappers.d.ts +0 -30
  375. package/dist/react-native/models/mappers.d.ts.map +0 -1
  376. package/dist/react-native/models/mappers.js +0 -1009
  377. package/dist/react-native/models/mappers.js.map +0 -1
  378. package/dist/react-native/models/parameters.d.ts +0 -11
  379. package/dist/react-native/models/parameters.d.ts.map +0 -1
  380. package/dist/react-native/models/parameters.js +0 -91
  381. package/dist/react-native/models/parameters.js.map +0 -1
  382. package/dist/react-native/operations/index.d.ts +0 -4
  383. package/dist/react-native/operations/index.d.ts.map +0 -1
  384. package/dist/react-native/operations/index.js +0 -11
  385. package/dist/react-native/operations/index.js.map +0 -1
  386. package/dist/react-native/operations/operations.d.ts +0 -32
  387. package/dist/react-native/operations/operations.d.ts.map +0 -1
  388. package/dist/react-native/operations/operations.js +0 -116
  389. package/dist/react-native/operations/operations.js.map +0 -1
  390. package/dist/react-native/operations/subscriptions.d.ts +0 -61
  391. package/dist/react-native/operations/subscriptions.d.ts.map +0 -1
  392. package/dist/react-native/operations/subscriptions.js +0 -225
  393. package/dist/react-native/operations/subscriptions.js.map +0 -1
  394. package/dist/react-native/operations/tenants.d.ts +0 -32
  395. package/dist/react-native/operations/tenants.d.ts.map +0 -1
  396. package/dist/react-native/operations/tenants.js +0 -116
  397. package/dist/react-native/operations/tenants.js.map +0 -1
  398. package/dist/react-native/operationsInterfaces/index.d.ts +0 -4
  399. package/dist/react-native/operationsInterfaces/index.d.ts.map +0 -1
  400. package/dist/react-native/operationsInterfaces/index.js +0 -11
  401. package/dist/react-native/operationsInterfaces/index.js.map +0 -1
  402. package/dist/react-native/operationsInterfaces/operations.d.ts +0 -11
  403. package/dist/react-native/operationsInterfaces/operations.d.ts.map +0 -1
  404. package/dist/react-native/operationsInterfaces/operations.js +0 -9
  405. package/dist/react-native/operationsInterfaces/operations.js.map +0 -1
  406. package/dist/react-native/operationsInterfaces/subscriptions.d.ts +0 -31
  407. package/dist/react-native/operationsInterfaces/subscriptions.d.ts.map +0 -1
  408. package/dist/react-native/operationsInterfaces/subscriptions.js +0 -9
  409. package/dist/react-native/operationsInterfaces/subscriptions.js.map +0 -1
  410. package/dist/react-native/operationsInterfaces/tenants.d.ts +0 -11
  411. package/dist/react-native/operationsInterfaces/tenants.d.ts.map +0 -1
  412. package/dist/react-native/operationsInterfaces/tenants.js +0 -9
  413. package/dist/react-native/operationsInterfaces/tenants.js.map +0 -1
  414. package/dist/react-native/package.json +0 -3
  415. package/dist/react-native/pagingHelper.d.ts +0 -13
  416. package/dist/react-native/pagingHelper.d.ts.map +0 -1
  417. package/dist/react-native/pagingHelper.js +0 -30
  418. package/dist/react-native/pagingHelper.js.map +0 -1
  419. package/dist/react-native/subscriptionClient.d.ts +0 -26
  420. package/dist/react-native/subscriptionClient.d.ts.map +0 -1
  421. package/dist/react-native/subscriptionClient.js +0 -133
  422. package/dist/react-native/subscriptionClient.js.map +0 -1
  423. package/review/arm-resources-subscriptions-node.api.md +0 -401
@@ -1,269 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
- var subscriptions_exports = {};
29
- __export(subscriptions_exports, {
30
- SubscriptionsImpl: () => SubscriptionsImpl
31
- });
32
- module.exports = __toCommonJS(subscriptions_exports);
33
- var import_pagingHelper = require("../pagingHelper.js");
34
- var coreClient = __toESM(require("@azure/core-client"));
35
- var Mappers = __toESM(require("../models/mappers.js"));
36
- var Parameters = __toESM(require("../models/parameters.js"));
37
- class SubscriptionsImpl {
38
- client;
39
- /**
40
- * Initialize a new instance of the class Subscriptions class.
41
- * @param client Reference to the service client
42
- */
43
- constructor(client) {
44
- this.client = client;
45
- }
46
- /**
47
- * This operation provides all the locations that are available for resource providers; however, each
48
- * resource provider may support a subset of this list.
49
- * @param subscriptionId The ID of the target subscription.
50
- * @param options The options parameters.
51
- */
52
- listLocations(subscriptionId, options) {
53
- const iter = this.listLocationsPagingAll(subscriptionId, options);
54
- return {
55
- next() {
56
- return iter.next();
57
- },
58
- [Symbol.asyncIterator]() {
59
- return this;
60
- },
61
- byPage: (settings) => {
62
- if (settings?.maxPageSize) {
63
- throw new Error("maxPageSize is not supported by this operation.");
64
- }
65
- return this.listLocationsPagingPage(subscriptionId, options, settings);
66
- }
67
- };
68
- }
69
- async *listLocationsPagingPage(subscriptionId, options, _settings) {
70
- let result;
71
- result = await this._listLocations(subscriptionId, options);
72
- yield result.value || [];
73
- }
74
- async *listLocationsPagingAll(subscriptionId, options) {
75
- for await (const page of this.listLocationsPagingPage(
76
- subscriptionId,
77
- options
78
- )) {
79
- yield* page;
80
- }
81
- }
82
- /**
83
- * Gets all subscriptions for a tenant.
84
- * @param options The options parameters.
85
- */
86
- list(options) {
87
- const iter = this.listPagingAll(options);
88
- return {
89
- next() {
90
- return iter.next();
91
- },
92
- [Symbol.asyncIterator]() {
93
- return this;
94
- },
95
- byPage: (settings) => {
96
- if (settings?.maxPageSize) {
97
- throw new Error("maxPageSize is not supported by this operation.");
98
- }
99
- return this.listPagingPage(options, settings);
100
- }
101
- };
102
- }
103
- async *listPagingPage(options, settings) {
104
- let result;
105
- let continuationToken = settings?.continuationToken;
106
- if (!continuationToken) {
107
- result = await this._list(options);
108
- let page = result.value || [];
109
- continuationToken = result.nextLink;
110
- (0, import_pagingHelper.setContinuationToken)(page, continuationToken);
111
- yield page;
112
- }
113
- while (continuationToken) {
114
- result = await this._listNext(continuationToken, options);
115
- continuationToken = result.nextLink;
116
- let page = result.value || [];
117
- (0, import_pagingHelper.setContinuationToken)(page, continuationToken);
118
- yield page;
119
- }
120
- }
121
- async *listPagingAll(options) {
122
- for await (const page of this.listPagingPage(options)) {
123
- yield* page;
124
- }
125
- }
126
- /**
127
- * This operation provides all the locations that are available for resource providers; however, each
128
- * resource provider may support a subset of this list.
129
- * @param subscriptionId The ID of the target subscription.
130
- * @param options The options parameters.
131
- */
132
- _listLocations(subscriptionId, options) {
133
- return this.client.sendOperationRequest(
134
- { subscriptionId, options },
135
- listLocationsOperationSpec
136
- );
137
- }
138
- /**
139
- * Gets details about a specified subscription.
140
- * @param subscriptionId The ID of the target subscription.
141
- * @param options The options parameters.
142
- */
143
- get(subscriptionId, options) {
144
- return this.client.sendOperationRequest(
145
- { subscriptionId, options },
146
- getOperationSpec
147
- );
148
- }
149
- /**
150
- * Gets all subscriptions for a tenant.
151
- * @param options The options parameters.
152
- */
153
- _list(options) {
154
- return this.client.sendOperationRequest({ options }, listOperationSpec);
155
- }
156
- /**
157
- * Compares a subscriptions logical zone mapping
158
- * @param subscriptionId The ID of the target subscription.
159
- * @param parameters Parameters for checking zone peers.
160
- * @param options The options parameters.
161
- */
162
- checkZonePeers(subscriptionId, parameters, options) {
163
- return this.client.sendOperationRequest(
164
- { subscriptionId, parameters, options },
165
- checkZonePeersOperationSpec
166
- );
167
- }
168
- /**
169
- * ListNext
170
- * @param nextLink The nextLink from the previous successful call to the List method.
171
- * @param options The options parameters.
172
- */
173
- _listNext(nextLink, options) {
174
- return this.client.sendOperationRequest(
175
- { nextLink, options },
176
- listNextOperationSpec
177
- );
178
- }
179
- }
180
- const serializer = coreClient.createSerializer(
181
- Mappers,
182
- /* isXml */
183
- false
184
- );
185
- const listLocationsOperationSpec = {
186
- path: "/subscriptions/{subscriptionId}/locations",
187
- httpMethod: "GET",
188
- responses: {
189
- 200: {
190
- bodyMapper: Mappers.LocationListResult
191
- },
192
- default: {
193
- bodyMapper: Mappers.CloudError
194
- }
195
- },
196
- queryParameters: [Parameters.apiVersion, Parameters.includeExtendedLocations],
197
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
198
- headerParameters: [Parameters.accept],
199
- serializer
200
- };
201
- const getOperationSpec = {
202
- path: "/subscriptions/{subscriptionId}",
203
- httpMethod: "GET",
204
- responses: {
205
- 200: {
206
- bodyMapper: Mappers.Subscription
207
- },
208
- default: {
209
- bodyMapper: Mappers.CloudError
210
- }
211
- },
212
- queryParameters: [Parameters.apiVersion],
213
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
214
- headerParameters: [Parameters.accept],
215
- serializer
216
- };
217
- const listOperationSpec = {
218
- path: "/subscriptions",
219
- httpMethod: "GET",
220
- responses: {
221
- 200: {
222
- bodyMapper: Mappers.SubscriptionListResult
223
- },
224
- default: {
225
- bodyMapper: Mappers.CloudError
226
- }
227
- },
228
- queryParameters: [Parameters.apiVersion],
229
- urlParameters: [Parameters.$host],
230
- headerParameters: [Parameters.accept],
231
- serializer
232
- };
233
- const checkZonePeersOperationSpec = {
234
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/",
235
- httpMethod: "POST",
236
- responses: {
237
- 200: {
238
- bodyMapper: Mappers.CheckZonePeersResult
239
- },
240
- default: {
241
- bodyMapper: Mappers.ErrorResponseAutoGenerated
242
- }
243
- },
244
- requestBody: Parameters.parameters,
245
- queryParameters: [Parameters.apiVersion],
246
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
247
- headerParameters: [Parameters.accept, Parameters.contentType],
248
- mediaType: "json",
249
- serializer
250
- };
251
- const listNextOperationSpec = {
252
- path: "{nextLink}",
253
- httpMethod: "GET",
254
- responses: {
255
- 200: {
256
- bodyMapper: Mappers.SubscriptionListResult
257
- },
258
- default: {
259
- bodyMapper: Mappers.CloudError
260
- }
261
- },
262
- urlParameters: [Parameters.$host, Parameters.nextLink],
263
- headerParameters: [Parameters.accept],
264
- serializer
265
- };
266
- // Annotate the CommonJS export names for ESM import in node:
267
- 0 && (module.exports = {
268
- SubscriptionsImpl
269
- });
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/resources-subscriptions/arm-resources-subscriptions/src/operations/subscriptions.ts"],
4
- "sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Subscriptions } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SubscriptionClient } from \"../subscriptionClient.js\";\nimport {\n Location,\n SubscriptionsListLocationsOptionalParams,\n SubscriptionsListLocationsResponse,\n Subscription,\n SubscriptionsListNextOptionalParams,\n SubscriptionsListOptionalParams,\n SubscriptionsListResponse,\n SubscriptionsGetOptionalParams,\n SubscriptionsGetResponse,\n CheckZonePeersRequest,\n SubscriptionsCheckZonePeersOptionalParams,\n SubscriptionsCheckZonePeersResponse,\n SubscriptionsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Subscriptions operations. */\nexport class SubscriptionsImpl implements Subscriptions {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Subscriptions class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n public listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): PagedAsyncIterableIterator<Location> {\n const iter = this.listLocationsPagingAll(subscriptionId, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listLocationsPagingPage(subscriptionId, options, settings);\n }\n };\n }\n\n private async *listLocationsPagingPage(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams,\n _settings?: PageSettings\n ): AsyncIterableIterator<Location[]> {\n let result: SubscriptionsListLocationsResponse;\n result = await this._listLocations(subscriptionId, options);\n yield result.value || [];\n }\n\n private async *listLocationsPagingAll(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): AsyncIterableIterator<Location> {\n for await (const page of this.listLocationsPagingPage(\n subscriptionId,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n public list(\n options?: SubscriptionsListOptionalParams\n ): PagedAsyncIterableIterator<Subscription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: SubscriptionsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<Subscription[]> {\n let result: SubscriptionsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: SubscriptionsListOptionalParams\n ): AsyncIterableIterator<Subscription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n private _listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): Promise<SubscriptionsListLocationsResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n listLocationsOperationSpec\n );\n }\n\n /**\n * Gets details about a specified subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n get(\n subscriptionId: string,\n options?: SubscriptionsGetOptionalParams\n ): Promise<SubscriptionsGetResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, options },\n getOperationSpec\n );\n }\n\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n private _list(\n options?: SubscriptionsListOptionalParams\n ): Promise<SubscriptionsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Compares a subscriptions logical zone mapping\n * @param subscriptionId The ID of the target subscription.\n * @param parameters Parameters for checking zone peers.\n * @param options The options parameters.\n */\n checkZonePeers(\n subscriptionId: string,\n parameters: CheckZonePeersRequest,\n options?: SubscriptionsCheckZonePeersOptionalParams\n ): Promise<SubscriptionsCheckZonePeersResponse> {\n return this.client.sendOperationRequest(\n { subscriptionId, parameters, options },\n checkZonePeersOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: SubscriptionsListNextOptionalParams\n ): Promise<SubscriptionsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listLocationsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/locations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.LocationListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.includeExtendedLocations],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Subscription\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkZonePeersOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CheckZonePeersResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponseAutoGenerated\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.SubscriptionListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,0BAAqC;AAErC,iBAA4B;AAC5B,cAAyB;AACzB,iBAA4B;AAoBrB,MAAM,kBAA2C;AAAA,EACrC;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAA4B;AACtC,SAAK,SAAS;AAAA,EAChB;AAAA;A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,WAAW,OAAO,WAAW,cAAc;AAAA,EAC3D,kBAAkB,CAAC,WAAW,QAAQ,WAAW,WAAW;AAAA,EAC5D,WAAW;AAAA,EACX;AACF;AACA,MAAM,wBAAkD;AAAA,EACtD,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,WAAW;AAAA,IACT,KAAK;AAAA,MACH,YAAY,QAAQ;AAAA,IACtB;AAAA,IACA,SAAS;AAAA,MACP,YAAY,QAAQ;AAAA,IACtB;AAAA,EACF;AAAA,EACA,eAAe,CAAC,WAAW,OAAO,WAAW,QAAQ;AAAA,EACrD,kBAAkB,CAAC,WAAW,MAAM;AAAA,EACpC;AACF;",
6
- "names": []
7
- }
@@ -1,32 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Tenants } from "../operationsInterfaces/index.js";
3
- import { SubscriptionClient } from "../subscriptionClient.js";
4
- import { TenantIdDescription, TenantsListOptionalParams } from "../models/index.js";
5
- /** Class containing Tenants operations. */
6
- export declare class TenantsImpl implements Tenants {
7
- private readonly client;
8
- /**
9
- * Initialize a new instance of the class Tenants class.
10
- * @param client Reference to the service client
11
- */
12
- constructor(client: SubscriptionClient);
13
- /**
14
- * Gets the tenants for your account.
15
- * @param options The options parameters.
16
- */
17
- list(options?: TenantsListOptionalParams): PagedAsyncIterableIterator<TenantIdDescription>;
18
- private listPagingPage;
19
- private listPagingAll;
20
- /**
21
- * Gets the tenants for your account.
22
- * @param options The options parameters.
23
- */
24
- private _list;
25
- /**
26
- * ListNext
27
- * @param nextLink The nextLink from the previous successful call to the List method.
28
- * @param options The options parameters.
29
- */
30
- private _listNext;
31
- }
32
- //# sourceMappingURL=tenants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../../src/operations/tenants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAI3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EACL,mBAAmB,EAEnB,yBAAyB,EAG1B,MAAM,oBAAoB,CAAC;AAG5B,2CAA2C;AAC3C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAqB;IAE5C;;;OAGG;gBACS,MAAM,EAAE,kBAAkB;IAItC;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,yBAAyB,GAClC,0BAA0B,CAAC,mBAAmB,CAAC;YAkBnC,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -1,148 +0,0 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getProtoOf = Object.getPrototypeOf;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
- // If the importer is in node compatibility mode or this is not an ESM
21
- // file that has been converted to a CommonJS file using a Babel-
22
- // compatible transform (i.e. "__esModule" has not been set), then set
23
- // "default" to the CommonJS "module.exports" for node compatibility.
24
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
- mod
26
- ));
27
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
- var tenants_exports = {};
29
- __export(tenants_exports, {
30
- TenantsImpl: () => TenantsImpl
31
- });
32
- module.exports = __toCommonJS(tenants_exports);
33
- var import_pagingHelper = require("../pagingHelper.js");
34
- var coreClient = __toESM(require("@azure/core-client"));
35
- var Mappers = __toESM(require("../models/mappers.js"));
36
- var Parameters = __toESM(require("../models/parameters.js"));
37
- class TenantsImpl {
38
- client;
39
- /**
40
- * Initialize a new instance of the class Tenants class.
41
- * @param client Reference to the service client
42
- */
43
- constructor(client) {
44
- this.client = client;
45
- }
46
- /**
47
- * Gets the tenants for your account.
48
- * @param options The options parameters.
49
- */
50
- list(options) {
51
- const iter = this.listPagingAll(options);
52
- return {
53
- next() {
54
- return iter.next();
55
- },
56
- [Symbol.asyncIterator]() {
57
- return this;
58
- },
59
- byPage: (settings) => {
60
- if (settings?.maxPageSize) {
61
- throw new Error("maxPageSize is not supported by this operation.");
62
- }
63
- return this.listPagingPage(options, settings);
64
- }
65
- };
66
- }
67
- async *listPagingPage(options, settings) {
68
- let result;
69
- let continuationToken = settings?.continuationToken;
70
- if (!continuationToken) {
71
- result = await this._list(options);
72
- let page = result.value || [];
73
- continuationToken = result.nextLink;
74
- (0, import_pagingHelper.setContinuationToken)(page, continuationToken);
75
- yield page;
76
- }
77
- while (continuationToken) {
78
- result = await this._listNext(continuationToken, options);
79
- continuationToken = result.nextLink;
80
- let page = result.value || [];
81
- (0, import_pagingHelper.setContinuationToken)(page, continuationToken);
82
- yield page;
83
- }
84
- }
85
- async *listPagingAll(options) {
86
- for await (const page of this.listPagingPage(options)) {
87
- yield* page;
88
- }
89
- }
90
- /**
91
- * Gets the tenants for your account.
92
- * @param options The options parameters.
93
- */
94
- _list(options) {
95
- return this.client.sendOperationRequest({ options }, listOperationSpec);
96
- }
97
- /**
98
- * ListNext
99
- * @param nextLink The nextLink from the previous successful call to the List method.
100
- * @param options The options parameters.
101
- */
102
- _listNext(nextLink, options) {
103
- return this.client.sendOperationRequest(
104
- { nextLink, options },
105
- listNextOperationSpec
106
- );
107
- }
108
- }
109
- const serializer = coreClient.createSerializer(
110
- Mappers,
111
- /* isXml */
112
- false
113
- );
114
- const listOperationSpec = {
115
- path: "/tenants",
116
- httpMethod: "GET",
117
- responses: {
118
- 200: {
119
- bodyMapper: Mappers.TenantListResult
120
- },
121
- default: {
122
- bodyMapper: Mappers.CloudError
123
- }
124
- },
125
- queryParameters: [Parameters.apiVersion],
126
- urlParameters: [Parameters.$host],
127
- headerParameters: [Parameters.accept],
128
- serializer
129
- };
130
- const listNextOperationSpec = {
131
- path: "{nextLink}",
132
- httpMethod: "GET",
133
- responses: {
134
- 200: {
135
- bodyMapper: Mappers.TenantListResult
136
- },
137
- default: {
138
- bodyMapper: Mappers.CloudError
139
- }
140
- },
141
- urlParameters: [Parameters.$host, Parameters.nextLink],
142
- headerParameters: [Parameters.accept],
143
- serializer
144
- };
145
- // Annotate the CommonJS export names for ESM import in node:
146
- 0 && (module.exports = {
147
- TenantsImpl
148
- });
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/resources-subscriptions/arm-resources-subscriptions/src/operations/tenants.ts"],
4
- "sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Tenants } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SubscriptionClient } from \"../subscriptionClient.js\";\nimport {\n TenantIdDescription,\n TenantsListNextOptionalParams,\n TenantsListOptionalParams,\n TenantsListResponse,\n TenantsListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Tenants operations. */\nexport class TenantsImpl implements Tenants {\n private readonly client: SubscriptionClient;\n\n /**\n * Initialize a new instance of the class Tenants class.\n * @param client Reference to the service client\n */\n constructor(client: SubscriptionClient) {\n this.client = client;\n }\n\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n public list(\n options?: TenantsListOptionalParams\n ): PagedAsyncIterableIterator<TenantIdDescription> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: TenantsListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<TenantIdDescription[]> {\n let result: TenantsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: TenantsListOptionalParams\n ): AsyncIterableIterator<TenantIdDescription> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n private _list(\n options?: TenantsListOptionalParams\n ): Promise<TenantsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: TenantsListNextOptionalParams\n ): Promise<TenantsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/tenants\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TenantListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TenantListResult\n },\n default: {\n bodyMapper: Mappers.CloudError\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,0BAAqC;AAErC,iBAA4B;AAC5B,cAAyB;AACzB,iBAA4B;AAYrB,MAAM,YAA+B;AAAA,EACzB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMjB,YAAY,QAA4B;AACtC,SAAK,SAAS;AAAA,EAChB;AAAA;AAAA;AAAA;AAAA;AAAA,EAMO,KACL,SACiD;AACjD,UAAM,OAAO,KAAK,cAAc,OAAO;AACvC,WAAO;AAAA,MACL,OAAO;AACL,eAAO,KAAK,KAAK;AAAA,MACnB;AAAA,MACA,CAAC,OAAO,aAAa,IAAI;AACvB,eAAO;AAAA,MACT;AAAA,MACA,QAAQ,CAAC,aAA4B;AACnC,YAAI,UAAU,aAAa;AACzB,gBAAM,IAAI,MAAM,iDAAiD;AAAA,QACnE;AACA,eAAO,KAAK,eAAe,SAAS,QAAQ;AAAA,MAC9C;AAAA,IACF;AAAA,EACF;AAAA,EAEA,OAAe,eACb,SACA,UAC8C;AAC9C,QAAI;AACJ,QAAI,oBAAoB,UAAU;AAClC,QAAI,CAAC,mBAAmB;AACtB,eAAS,MAAM,KAAK,MAAM,OAAO;AACjC,UAAI,OAAO,OAA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F;AAAA,EACA,eAAe,CAAC,WAAW,OAAO,WAAW,QAAQ;AAAA,EACrD,kBAAkB,CAAC,WAAW,MAAM;AAAA,EACpC;AACF;",
6
- "names": []
7
- }
@@ -1,4 +0,0 @@
1
- export * from "./operations.js";
2
- export * from "./subscriptions.js";
3
- export * from "./tenants.js";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/resources-subscriptions/arm-resources-subscriptions/src/operationsInterfaces/index.ts"],
4
- "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\nexport * from \"./operations.js\";\nexport * from \"./subscriptions.js\";\nexport * from \"./tenants.js\";\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAQA,yCAAc,4BARd;AASA,yCAAc,+BATd;AAUA,yCAAc,yBAVd;",
6
- "names": []
7
- }
@@ -1,11 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Operation, OperationsListOptionalParams } from "../models/index.js";
3
- /** Interface representing a Operations. */
4
- export interface Operations {
5
- /**
6
- * Lists all of the available Microsoft.Resources REST API operations.
7
- * @param options The options parameters.
8
- */
9
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
- }
11
- //# sourceMappingURL=operations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAG7E,2CAA2C;AAC3C,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC,CAAC;CAC1C"}
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/resources-subscriptions/arm-resources-subscriptions/src/operationsInterfaces/operations.ts"],
4
- "sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { Operation, OperationsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Operations. */\nexport interface Operations {\n /**\n * Lists all of the available Microsoft.Resources REST API operations.\n * @param options The options parameters.\n */\n list(\n options?: OperationsListOptionalParams\n ): PagedAsyncIterableIterator<Operation>;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,31 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { Location, SubscriptionsListLocationsOptionalParams, Subscription, SubscriptionsListOptionalParams, SubscriptionsGetOptionalParams, SubscriptionsGetResponse, CheckZonePeersRequest, SubscriptionsCheckZonePeersOptionalParams, SubscriptionsCheckZonePeersResponse } from "../models/index.js";
3
- /** Interface representing a Subscriptions. */
4
- export interface Subscriptions {
5
- /**
6
- * This operation provides all the locations that are available for resource providers; however, each
7
- * resource provider may support a subset of this list.
8
- * @param subscriptionId The ID of the target subscription.
9
- * @param options The options parameters.
10
- */
11
- listLocations(subscriptionId: string, options?: SubscriptionsListLocationsOptionalParams): PagedAsyncIterableIterator<Location>;
12
- /**
13
- * Gets all subscriptions for a tenant.
14
- * @param options The options parameters.
15
- */
16
- list(options?: SubscriptionsListOptionalParams): PagedAsyncIterableIterator<Subscription>;
17
- /**
18
- * Gets details about a specified subscription.
19
- * @param subscriptionId The ID of the target subscription.
20
- * @param options The options parameters.
21
- */
22
- get(subscriptionId: string, options?: SubscriptionsGetOptionalParams): Promise<SubscriptionsGetResponse>;
23
- /**
24
- * Compares a subscriptions logical zone mapping
25
- * @param subscriptionId The ID of the target subscription.
26
- * @param parameters Parameters for checking zone peers.
27
- * @param options The options parameters.
28
- */
29
- checkZonePeers(subscriptionId: string, parameters: CheckZonePeersRequest, options?: SubscriptionsCheckZonePeersOptionalParams): Promise<SubscriptionsCheckZonePeersResponse>;
30
- }
31
- //# sourceMappingURL=subscriptions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/subscriptions.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,wCAAwC,EACxC,YAAY,EACZ,+BAA+B,EAC/B,8BAA8B,EAC9B,wBAAwB,EACxB,qBAAqB,EACrB,yCAAyC,EACzC,mCAAmC,EACpC,MAAM,oBAAoB,CAAC;AAG5B,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,aAAa,CACX,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,+BAA+B,GACxC,0BAA0B,CAAC,YAAY,CAAC,CAAC;IAC5C;;;;OAIG;IACH,GAAG,CACD,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC,CAAC;IACrC;;;;;OAKG;IACH,cAAc,CACZ,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,qBAAqB,EACjC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC,CAAC;CACjD"}
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/resources-subscriptions/arm-resources-subscriptions/src/operationsInterfaces/subscriptions.ts"],
4
- "sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport {\n Location,\n SubscriptionsListLocationsOptionalParams,\n Subscription,\n SubscriptionsListOptionalParams,\n SubscriptionsGetOptionalParams,\n SubscriptionsGetResponse,\n CheckZonePeersRequest,\n SubscriptionsCheckZonePeersOptionalParams,\n SubscriptionsCheckZonePeersResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Subscriptions. */\nexport interface Subscriptions {\n /**\n * This operation provides all the locations that are available for resource providers; however, each\n * resource provider may support a subset of this list.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n listLocations(\n subscriptionId: string,\n options?: SubscriptionsListLocationsOptionalParams\n ): PagedAsyncIterableIterator<Location>;\n /**\n * Gets all subscriptions for a tenant.\n * @param options The options parameters.\n */\n list(\n options?: SubscriptionsListOptionalParams\n ): PagedAsyncIterableIterator<Subscription>;\n /**\n * Gets details about a specified subscription.\n * @param subscriptionId The ID of the target subscription.\n * @param options The options parameters.\n */\n get(\n subscriptionId: string,\n options?: SubscriptionsGetOptionalParams\n ): Promise<SubscriptionsGetResponse>;\n /**\n * Compares a subscriptions logical zone mapping\n * @param subscriptionId The ID of the target subscription.\n * @param parameters Parameters for checking zone peers.\n * @param options The options parameters.\n */\n checkZonePeers(\n subscriptionId: string,\n parameters: CheckZonePeersRequest,\n options?: SubscriptionsCheckZonePeersOptionalParams\n ): Promise<SubscriptionsCheckZonePeersResponse>;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,11 +0,0 @@
1
- import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
- import { TenantIdDescription, TenantsListOptionalParams } from "../models/index.js";
3
- /** Interface representing a Tenants. */
4
- export interface Tenants {
5
- /**
6
- * Gets the tenants for your account.
7
- * @param options The options parameters.
8
- */
9
- list(options?: TenantsListOptionalParams): PagedAsyncIterableIterator<TenantIdDescription>;
10
- }
11
- //# sourceMappingURL=tenants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tenants.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/tenants.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAGpF,wCAAwC;AACxC,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,IAAI,CACF,OAAO,CAAC,EAAE,yBAAyB,GAClC,0BAA0B,CAAC,mBAAmB,CAAC,CAAC;CACpD"}
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["/mnt/vss/_work/1/s/sdk/resources-subscriptions/arm-resources-subscriptions/src/operationsInterfaces/tenants.ts"],
4
- "sourcesContent": ["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { TenantIdDescription, TenantsListOptionalParams } from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Interface representing a Tenants. */\nexport interface Tenants {\n /**\n * Gets the tenants for your account.\n * @param options The options parameters.\n */\n list(\n options?: TenantsListOptionalParams\n ): PagedAsyncIterableIterator<TenantIdDescription>;\n}\n"],
5
- "mappings": ";;;;;;;;;;;;;AAAA;AAAA;",
6
- "names": []
7
- }
@@ -1,13 +0,0 @@
1
- export interface PageInfo {
2
- continuationToken?: string;
3
- }
4
- /**
5
- * Given the last `.value` produced by the `byPage` iterator,
6
- * returns a continuation token that can be used to begin paging from
7
- * that point later.
8
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
9
- * @returns The continuation token that can be passed into byPage() during future calls.
10
- */
11
- export declare function getContinuationToken(page: unknown): string | undefined;
12
- export declare function setContinuationToken(page: unknown, continuationToken: string | undefined): void;
13
- //# sourceMappingURL=pagingHelper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pagingHelper.d.ts","sourceRoot":"","sources":["../../src/pagingHelper.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,QAAQ;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAID;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKtE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,EACb,iBAAiB,EAAE,MAAM,GAAG,SAAS,GACpC,IAAI,CAON"}