@azure/arm-standbypool 1.0.0-alpha.20240925.1 → 1.0.0-alpha.20240927.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 (565) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/README.md +1 -8
  3. package/dist/browser/api/index.d.ts +8 -0
  4. package/dist/browser/api/index.d.ts.map +1 -0
  5. package/dist/browser/api/index.js +10 -0
  6. package/dist/browser/api/index.js.map +1 -0
  7. package/dist/browser/api/operations/index.d.ts +10 -0
  8. package/dist/browser/api/operations/index.d.ts.map +1 -0
  9. package/dist/browser/api/operations/index.js +40 -0
  10. package/dist/browser/api/operations/index.js.map +1 -0
  11. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
  12. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  13. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js +113 -0
  14. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  15. package/dist/browser/api/standbyContainerGroupPools/index.d.ts +31 -0
  16. package/dist/browser/api/standbyContainerGroupPools/index.d.ts.map +1 -0
  17. package/dist/browser/api/standbyContainerGroupPools/index.js +362 -0
  18. package/dist/browser/api/standbyContainerGroupPools/index.js.map +1 -0
  19. package/dist/browser/api/standbyPoolManagementContext.d.ts +11 -0
  20. package/dist/browser/api/standbyPoolManagementContext.d.ts.map +1 -0
  21. package/dist/browser/api/standbyPoolManagementContext.js +31 -0
  22. package/dist/browser/api/standbyPoolManagementContext.js.map +1 -0
  23. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
  24. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  25. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js +115 -0
  26. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  27. package/dist/browser/api/standbyVirtualMachinePools/index.d.ts +31 -0
  28. package/dist/browser/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
  29. package/dist/browser/api/standbyVirtualMachinePools/index.js +327 -0
  30. package/dist/browser/api/standbyVirtualMachinePools/index.js.map +1 -0
  31. package/dist/browser/api/standbyVirtualMachines/index.d.ts +14 -0
  32. package/dist/browser/api/standbyVirtualMachines/index.d.ts.map +1 -0
  33. package/dist/browser/api/standbyVirtualMachines/index.js +97 -0
  34. package/dist/browser/api/standbyVirtualMachines/index.js.map +1 -0
  35. package/dist/browser/classic/index.d.ts +7 -0
  36. package/dist/browser/classic/index.d.ts.map +1 -0
  37. package/dist/browser/classic/index.js +4 -0
  38. package/dist/browser/classic/index.js.map +1 -0
  39. package/dist/browser/classic/operations/index.d.ts +14 -0
  40. package/dist/browser/classic/operations/index.d.ts.map +1 -0
  41. package/dist/browser/classic/operations/index.js +12 -0
  42. package/dist/browser/classic/operations/index.js.map +1 -0
  43. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
  44. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  45. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js +13 -0
  46. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  47. package/dist/browser/classic/standbyContainerGroupPools/index.d.ts +30 -0
  48. package/dist/browser/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
  49. package/dist/browser/classic/standbyContainerGroupPools/index.js +17 -0
  50. package/dist/browser/classic/standbyContainerGroupPools/index.js.map +1 -0
  51. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
  52. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  53. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js +13 -0
  54. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  55. package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts +30 -0
  56. package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
  57. package/dist/browser/classic/standbyVirtualMachinePools/index.js +17 -0
  58. package/dist/browser/classic/standbyVirtualMachinePools/index.js.map +1 -0
  59. package/dist/browser/classic/standbyVirtualMachines/index.d.ts +17 -0
  60. package/dist/browser/classic/standbyVirtualMachines/index.d.ts.map +1 -0
  61. package/dist/browser/classic/standbyVirtualMachines/index.js +13 -0
  62. package/dist/browser/classic/standbyVirtualMachines/index.js.map +1 -0
  63. package/dist/browser/helpers/serializerHelpers.d.ts +3 -0
  64. package/dist/browser/helpers/serializerHelpers.d.ts.map +1 -0
  65. package/dist/browser/helpers/serializerHelpers.js +24 -0
  66. package/dist/browser/helpers/serializerHelpers.js.map +1 -0
  67. package/dist/browser/index.d.ts +7 -0
  68. package/dist/browser/index.d.ts.map +1 -0
  69. package/dist/browser/index.js +6 -0
  70. package/dist/browser/index.js.map +1 -0
  71. package/dist/browser/logger.d.ts +2 -0
  72. package/dist/browser/logger.d.ts.map +1 -0
  73. package/dist/browser/logger.js +5 -0
  74. package/dist/browser/logger.js.map +1 -0
  75. package/dist/browser/models/index.d.ts +3 -0
  76. package/dist/browser/models/index.d.ts.map +1 -0
  77. package/dist/browser/models/index.js +4 -0
  78. package/dist/browser/models/index.js.map +1 -0
  79. package/dist/browser/models/models.d.ts +381 -0
  80. package/dist/browser/models/models.d.ts.map +1 -0
  81. package/dist/browser/models/models.js +164 -0
  82. package/dist/browser/models/models.js.map +1 -0
  83. package/dist/browser/models/options.d.ts +67 -0
  84. package/dist/browser/models/options.d.ts.map +1 -0
  85. package/dist/browser/models/options.js +4 -0
  86. package/dist/browser/models/options.js.map +1 -0
  87. package/dist/browser/package.json +3 -0
  88. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  89. package/dist/browser/restorePollerHelpers.d.ts.map +1 -0
  90. package/dist/browser/restorePollerHelpers.js +106 -0
  91. package/dist/browser/restorePollerHelpers.js.map +1 -0
  92. package/dist/browser/standbyPoolManagementClient.d.ts +29 -0
  93. package/dist/browser/standbyPoolManagementClient.d.ts.map +1 -0
  94. package/dist/browser/standbyPoolManagementClient.js +27 -0
  95. package/dist/browser/standbyPoolManagementClient.js.map +1 -0
  96. package/dist/browser/static-helpers/pagingHelpers.d.ts +72 -0
  97. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -0
  98. package/dist/browser/static-helpers/pagingHelpers.js +139 -0
  99. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  100. package/dist/browser/static-helpers/pollingHelpers.d.ts +30 -0
  101. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -0
  102. package/dist/browser/static-helpers/pollingHelpers.js +78 -0
  103. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  104. package/dist/commonjs/api/index.d.ts +8 -0
  105. package/dist/commonjs/api/index.d.ts.map +1 -0
  106. package/dist/commonjs/api/index.js +33 -0
  107. package/dist/commonjs/api/index.js.map +1 -0
  108. package/dist/commonjs/api/operations/index.d.ts +10 -0
  109. package/dist/commonjs/api/operations/index.d.ts.map +1 -0
  110. package/dist/commonjs/api/operations/index.js +45 -0
  111. package/dist/commonjs/api/operations/index.js.map +1 -0
  112. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
  113. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  114. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js +121 -0
  115. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  116. package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts +31 -0
  117. package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts.map +1 -0
  118. package/dist/commonjs/api/standbyContainerGroupPools/index.js +382 -0
  119. package/dist/commonjs/api/standbyContainerGroupPools/index.js.map +1 -0
  120. package/dist/commonjs/api/standbyPoolManagementContext.d.ts +11 -0
  121. package/dist/commonjs/api/standbyPoolManagementContext.d.ts.map +1 -0
  122. package/dist/commonjs/api/standbyPoolManagementContext.js +34 -0
  123. package/dist/commonjs/api/standbyPoolManagementContext.js.map +1 -0
  124. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
  125. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  126. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js +123 -0
  127. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  128. package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts +31 -0
  129. package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
  130. package/dist/commonjs/api/standbyVirtualMachinePools/index.js +347 -0
  131. package/dist/commonjs/api/standbyVirtualMachinePools/index.js.map +1 -0
  132. package/dist/commonjs/api/standbyVirtualMachines/index.d.ts +14 -0
  133. package/dist/commonjs/api/standbyVirtualMachines/index.d.ts.map +1 -0
  134. package/dist/commonjs/api/standbyVirtualMachines/index.js +105 -0
  135. package/dist/commonjs/api/standbyVirtualMachines/index.js.map +1 -0
  136. package/dist/commonjs/classic/index.d.ts +7 -0
  137. package/dist/commonjs/classic/index.d.ts.map +1 -0
  138. package/dist/commonjs/classic/index.js +5 -0
  139. package/dist/commonjs/classic/index.js.map +1 -0
  140. package/dist/commonjs/classic/operations/index.d.ts +14 -0
  141. package/dist/commonjs/classic/operations/index.d.ts.map +1 -0
  142. package/dist/commonjs/classic/operations/index.js +16 -0
  143. package/dist/commonjs/classic/operations/index.js.map +1 -0
  144. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
  145. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  146. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js +17 -0
  147. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  148. package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts +30 -0
  149. package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
  150. package/dist/commonjs/classic/standbyContainerGroupPools/index.js +21 -0
  151. package/dist/commonjs/classic/standbyContainerGroupPools/index.js.map +1 -0
  152. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
  153. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  154. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js +17 -0
  155. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  156. package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts +30 -0
  157. package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
  158. package/dist/commonjs/classic/standbyVirtualMachinePools/index.js +21 -0
  159. package/dist/commonjs/classic/standbyVirtualMachinePools/index.js.map +1 -0
  160. package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts +17 -0
  161. package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts.map +1 -0
  162. package/dist/commonjs/classic/standbyVirtualMachines/index.js +17 -0
  163. package/dist/commonjs/classic/standbyVirtualMachines/index.js.map +1 -0
  164. package/dist/commonjs/helpers/serializerHelpers.d.ts +3 -0
  165. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +1 -0
  166. package/dist/commonjs/helpers/serializerHelpers.js +27 -0
  167. package/dist/commonjs/helpers/serializerHelpers.js.map +1 -0
  168. package/dist/commonjs/index.d.ts +7 -0
  169. package/dist/commonjs/index.d.ts.map +1 -0
  170. package/dist/commonjs/index.js +17 -0
  171. package/dist/commonjs/index.js.map +1 -0
  172. package/dist/commonjs/logger.d.ts +2 -0
  173. package/dist/commonjs/logger.d.ts.map +1 -0
  174. package/dist/commonjs/logger.js +8 -0
  175. package/dist/commonjs/logger.js.map +1 -0
  176. package/dist/commonjs/models/index.d.ts +3 -0
  177. package/dist/commonjs/models/index.d.ts.map +1 -0
  178. package/dist/commonjs/models/index.js +13 -0
  179. package/dist/commonjs/models/index.js.map +1 -0
  180. package/dist/commonjs/models/models.d.ts +381 -0
  181. package/dist/commonjs/models/models.d.ts.map +1 -0
  182. package/dist/commonjs/models/models.js +182 -0
  183. package/dist/commonjs/models/models.js.map +1 -0
  184. package/dist/commonjs/models/options.d.ts +67 -0
  185. package/dist/commonjs/models/options.d.ts.map +1 -0
  186. package/dist/commonjs/models/options.js +5 -0
  187. package/dist/commonjs/models/options.js.map +1 -0
  188. package/dist/commonjs/package.json +3 -0
  189. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  190. package/dist/commonjs/restorePollerHelpers.d.ts.map +1 -0
  191. package/dist/commonjs/restorePollerHelpers.js +109 -0
  192. package/dist/commonjs/restorePollerHelpers.js.map +1 -0
  193. package/dist/commonjs/standbyPoolManagementClient.d.ts +29 -0
  194. package/dist/commonjs/standbyPoolManagementClient.d.ts.map +1 -0
  195. package/dist/commonjs/standbyPoolManagementClient.js +31 -0
  196. package/dist/commonjs/standbyPoolManagementClient.js.map +1 -0
  197. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +72 -0
  198. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -0
  199. package/dist/commonjs/static-helpers/pagingHelpers.js +142 -0
  200. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -0
  201. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +30 -0
  202. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -0
  203. package/dist/commonjs/static-helpers/pollingHelpers.js +81 -0
  204. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -0
  205. package/dist/esm/api/index.d.ts +8 -0
  206. package/dist/esm/api/index.d.ts.map +1 -0
  207. package/dist/esm/api/index.js +10 -0
  208. package/dist/esm/api/index.js.map +1 -0
  209. package/dist/esm/api/operations/index.d.ts +10 -0
  210. package/dist/esm/api/operations/index.d.ts.map +1 -0
  211. package/dist/esm/api/operations/index.js +40 -0
  212. package/dist/esm/api/operations/index.js.map +1 -0
  213. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
  214. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  215. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js +113 -0
  216. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  217. package/dist/esm/api/standbyContainerGroupPools/index.d.ts +31 -0
  218. package/dist/esm/api/standbyContainerGroupPools/index.d.ts.map +1 -0
  219. package/dist/esm/api/standbyContainerGroupPools/index.js +362 -0
  220. package/dist/esm/api/standbyContainerGroupPools/index.js.map +1 -0
  221. package/dist/esm/api/standbyPoolManagementContext.d.ts +11 -0
  222. package/dist/esm/api/standbyPoolManagementContext.d.ts.map +1 -0
  223. package/dist/esm/api/standbyPoolManagementContext.js +31 -0
  224. package/dist/esm/api/standbyPoolManagementContext.js.map +1 -0
  225. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
  226. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  227. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js +115 -0
  228. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  229. package/dist/esm/api/standbyVirtualMachinePools/index.d.ts +31 -0
  230. package/dist/esm/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
  231. package/dist/esm/api/standbyVirtualMachinePools/index.js +327 -0
  232. package/dist/esm/api/standbyVirtualMachinePools/index.js.map +1 -0
  233. package/dist/esm/api/standbyVirtualMachines/index.d.ts +14 -0
  234. package/dist/esm/api/standbyVirtualMachines/index.d.ts.map +1 -0
  235. package/dist/esm/api/standbyVirtualMachines/index.js +97 -0
  236. package/dist/esm/api/standbyVirtualMachines/index.js.map +1 -0
  237. package/dist/esm/classic/index.d.ts +7 -0
  238. package/dist/esm/classic/index.d.ts.map +1 -0
  239. package/dist/esm/classic/index.js +4 -0
  240. package/dist/esm/classic/index.js.map +1 -0
  241. package/dist/esm/classic/operations/index.d.ts +14 -0
  242. package/dist/esm/classic/operations/index.d.ts.map +1 -0
  243. package/dist/esm/classic/operations/index.js +12 -0
  244. package/dist/esm/classic/operations/index.js.map +1 -0
  245. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
  246. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  247. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js +13 -0
  248. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  249. package/dist/esm/classic/standbyContainerGroupPools/index.d.ts +30 -0
  250. package/dist/esm/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
  251. package/dist/esm/classic/standbyContainerGroupPools/index.js +17 -0
  252. package/dist/esm/classic/standbyContainerGroupPools/index.js.map +1 -0
  253. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
  254. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  255. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js +13 -0
  256. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  257. package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts +30 -0
  258. package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
  259. package/dist/esm/classic/standbyVirtualMachinePools/index.js +17 -0
  260. package/dist/esm/classic/standbyVirtualMachinePools/index.js.map +1 -0
  261. package/dist/esm/classic/standbyVirtualMachines/index.d.ts +17 -0
  262. package/dist/esm/classic/standbyVirtualMachines/index.d.ts.map +1 -0
  263. package/dist/esm/classic/standbyVirtualMachines/index.js +13 -0
  264. package/dist/esm/classic/standbyVirtualMachines/index.js.map +1 -0
  265. package/dist/esm/helpers/serializerHelpers.d.ts +3 -0
  266. package/dist/esm/helpers/serializerHelpers.d.ts.map +1 -0
  267. package/dist/esm/helpers/serializerHelpers.js +24 -0
  268. package/dist/esm/helpers/serializerHelpers.js.map +1 -0
  269. package/dist/esm/index.d.ts +7 -0
  270. package/dist/esm/index.d.ts.map +1 -0
  271. package/dist/esm/index.js +6 -0
  272. package/dist/esm/index.js.map +1 -0
  273. package/dist/esm/logger.d.ts +2 -0
  274. package/dist/esm/logger.d.ts.map +1 -0
  275. package/dist/esm/logger.js +5 -0
  276. package/dist/esm/logger.js.map +1 -0
  277. package/dist/esm/models/index.d.ts +3 -0
  278. package/dist/esm/models/index.d.ts.map +1 -0
  279. package/dist/esm/models/index.js +4 -0
  280. package/dist/esm/models/index.js.map +1 -0
  281. package/dist/esm/models/models.d.ts +381 -0
  282. package/dist/esm/models/models.d.ts.map +1 -0
  283. package/dist/esm/models/models.js +164 -0
  284. package/dist/esm/models/models.js.map +1 -0
  285. package/dist/esm/models/options.d.ts +67 -0
  286. package/dist/esm/models/options.d.ts.map +1 -0
  287. package/dist/esm/models/options.js +4 -0
  288. package/dist/esm/models/options.js.map +1 -0
  289. package/dist/esm/package.json +3 -0
  290. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  291. package/dist/esm/restorePollerHelpers.d.ts.map +1 -0
  292. package/dist/esm/restorePollerHelpers.js +106 -0
  293. package/dist/esm/restorePollerHelpers.js.map +1 -0
  294. package/dist/esm/standbyPoolManagementClient.d.ts +29 -0
  295. package/dist/esm/standbyPoolManagementClient.d.ts.map +1 -0
  296. package/dist/esm/standbyPoolManagementClient.js +27 -0
  297. package/dist/esm/standbyPoolManagementClient.js.map +1 -0
  298. package/dist/esm/static-helpers/pagingHelpers.d.ts +72 -0
  299. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -0
  300. package/dist/esm/static-helpers/pagingHelpers.js +139 -0
  301. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  302. package/dist/esm/static-helpers/pollingHelpers.d.ts +30 -0
  303. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -0
  304. package/dist/esm/static-helpers/pollingHelpers.js +78 -0
  305. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  306. package/dist/react-native/api/index.d.ts +8 -0
  307. package/dist/react-native/api/index.d.ts.map +1 -0
  308. package/dist/react-native/api/index.js +10 -0
  309. package/dist/react-native/api/index.js.map +1 -0
  310. package/dist/react-native/api/operations/index.d.ts +10 -0
  311. package/dist/react-native/api/operations/index.d.ts.map +1 -0
  312. package/dist/react-native/api/operations/index.js +40 -0
  313. package/dist/react-native/api/operations/index.js.map +1 -0
  314. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +14 -0
  315. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  316. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js +113 -0
  317. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  318. package/dist/react-native/api/standbyContainerGroupPools/index.d.ts +31 -0
  319. package/dist/react-native/api/standbyContainerGroupPools/index.d.ts.map +1 -0
  320. package/dist/react-native/api/standbyContainerGroupPools/index.js +362 -0
  321. package/dist/react-native/api/standbyContainerGroupPools/index.js.map +1 -0
  322. package/dist/react-native/api/standbyPoolManagementContext.d.ts +11 -0
  323. package/dist/react-native/api/standbyPoolManagementContext.d.ts.map +1 -0
  324. package/dist/react-native/api/standbyPoolManagementContext.js +31 -0
  325. package/dist/react-native/api/standbyPoolManagementContext.js.map +1 -0
  326. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +14 -0
  327. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  328. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js +115 -0
  329. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  330. package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts +31 -0
  331. package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts.map +1 -0
  332. package/dist/react-native/api/standbyVirtualMachinePools/index.js +327 -0
  333. package/dist/react-native/api/standbyVirtualMachinePools/index.js.map +1 -0
  334. package/dist/react-native/api/standbyVirtualMachines/index.d.ts +14 -0
  335. package/dist/react-native/api/standbyVirtualMachines/index.d.ts.map +1 -0
  336. package/dist/react-native/api/standbyVirtualMachines/index.js +97 -0
  337. package/dist/react-native/api/standbyVirtualMachines/index.js.map +1 -0
  338. package/dist/react-native/classic/index.d.ts +7 -0
  339. package/dist/react-native/classic/index.d.ts.map +1 -0
  340. package/dist/react-native/classic/index.js +4 -0
  341. package/dist/react-native/classic/index.js.map +1 -0
  342. package/dist/react-native/classic/operations/index.d.ts +14 -0
  343. package/dist/react-native/classic/operations/index.d.ts.map +1 -0
  344. package/dist/react-native/classic/operations/index.js +12 -0
  345. package/dist/react-native/classic/operations/index.js.map +1 -0
  346. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +17 -0
  347. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -0
  348. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js +13 -0
  349. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -0
  350. package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts +30 -0
  351. package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts.map +1 -0
  352. package/dist/react-native/classic/standbyContainerGroupPools/index.js +17 -0
  353. package/dist/react-native/classic/standbyContainerGroupPools/index.js.map +1 -0
  354. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +17 -0
  355. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -0
  356. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js +13 -0
  357. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -0
  358. package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts +30 -0
  359. package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts.map +1 -0
  360. package/dist/react-native/classic/standbyVirtualMachinePools/index.js +17 -0
  361. package/dist/react-native/classic/standbyVirtualMachinePools/index.js.map +1 -0
  362. package/dist/react-native/classic/standbyVirtualMachines/index.d.ts +17 -0
  363. package/dist/react-native/classic/standbyVirtualMachines/index.d.ts.map +1 -0
  364. package/dist/react-native/classic/standbyVirtualMachines/index.js +13 -0
  365. package/dist/react-native/classic/standbyVirtualMachines/index.js.map +1 -0
  366. package/dist/react-native/helpers/serializerHelpers.d.ts +3 -0
  367. package/dist/react-native/helpers/serializerHelpers.d.ts.map +1 -0
  368. package/dist/react-native/helpers/serializerHelpers.js +24 -0
  369. package/dist/react-native/helpers/serializerHelpers.js.map +1 -0
  370. package/dist/react-native/index.d.ts +7 -0
  371. package/dist/react-native/index.d.ts.map +1 -0
  372. package/dist/react-native/index.js +6 -0
  373. package/dist/react-native/index.js.map +1 -0
  374. package/dist/react-native/logger.d.ts +2 -0
  375. package/dist/react-native/logger.d.ts.map +1 -0
  376. package/dist/react-native/logger.js +5 -0
  377. package/dist/react-native/logger.js.map +1 -0
  378. package/dist/react-native/models/index.d.ts +3 -0
  379. package/dist/react-native/models/index.d.ts.map +1 -0
  380. package/dist/react-native/models/index.js +4 -0
  381. package/dist/react-native/models/index.js.map +1 -0
  382. package/dist/react-native/models/models.d.ts +381 -0
  383. package/dist/react-native/models/models.d.ts.map +1 -0
  384. package/dist/react-native/models/models.js +164 -0
  385. package/dist/react-native/models/models.js.map +1 -0
  386. package/dist/react-native/models/options.d.ts +67 -0
  387. package/dist/react-native/models/options.d.ts.map +1 -0
  388. package/dist/react-native/models/options.js +4 -0
  389. package/dist/react-native/models/options.js.map +1 -0
  390. package/dist/react-native/package.json +3 -0
  391. package/dist/react-native/restorePollerHelpers.d.ts +21 -0
  392. package/dist/react-native/restorePollerHelpers.d.ts.map +1 -0
  393. package/dist/react-native/restorePollerHelpers.js +106 -0
  394. package/dist/react-native/restorePollerHelpers.js.map +1 -0
  395. package/dist/react-native/standbyPoolManagementClient.d.ts +29 -0
  396. package/dist/react-native/standbyPoolManagementClient.d.ts.map +1 -0
  397. package/dist/react-native/standbyPoolManagementClient.js +27 -0
  398. package/dist/react-native/standbyPoolManagementClient.js.map +1 -0
  399. package/dist/react-native/static-helpers/pagingHelpers.d.ts +72 -0
  400. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -0
  401. package/dist/react-native/static-helpers/pagingHelpers.js +139 -0
  402. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -0
  403. package/dist/react-native/static-helpers/pollingHelpers.d.ts +30 -0
  404. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -0
  405. package/dist/react-native/static-helpers/pollingHelpers.js +78 -0
  406. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -0
  407. package/package.json +139 -85
  408. package/review/arm-standbypool-models.api.md +322 -0
  409. package/review/arm-standbypool.api.md +120 -224
  410. package/dist/index.js +0 -2605
  411. package/dist/index.js.map +0 -1
  412. package/dist/index.min.js +0 -1
  413. package/dist/index.min.js.map +0 -1
  414. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  417. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  418. package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.js +0 -57
  421. package/dist-esm/samples-dev/standbyContainerGroupPoolsCreateOrUpdateSample.js.map +0 -1
  422. package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.js +0 -39
  425. package/dist-esm/samples-dev/standbyContainerGroupPoolsDeleteSample.js.map +0 -1
  426. package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.js +0 -39
  429. package/dist-esm/samples-dev/standbyContainerGroupPoolsGetSample.js.map +0 -1
  430. package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.js +0 -54
  433. package/dist-esm/samples-dev/standbyContainerGroupPoolsListByResourceGroupSample.js.map +0 -1
  434. package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.js +0 -53
  437. package/dist-esm/samples-dev/standbyContainerGroupPoolsListBySubscriptionSample.js.map +0 -1
  438. package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.js +0 -56
  441. package/dist-esm/samples-dev/standbyContainerGroupPoolsUpdateSample.js.map +0 -1
  442. package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.js +0 -48
  445. package/dist-esm/samples-dev/standbyVirtualMachinePoolsCreateOrUpdateSample.js.map +0 -1
  446. package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.js +0 -39
  449. package/dist-esm/samples-dev/standbyVirtualMachinePoolsDeleteSample.js.map +0 -1
  450. package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.js +0 -39
  453. package/dist-esm/samples-dev/standbyVirtualMachinePoolsGetSample.js.map +0 -1
  454. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.js +0 -54
  457. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListByResourceGroupSample.js.map +0 -1
  458. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.js +0 -53
  461. package/dist-esm/samples-dev/standbyVirtualMachinePoolsListBySubscriptionSample.js.map +0 -1
  462. package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.js +0 -47
  465. package/dist-esm/samples-dev/standbyVirtualMachinePoolsUpdateSample.js.map +0 -1
  466. package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.d.ts +0 -2
  467. package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.d.ts.map +0 -1
  468. package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.js +0 -40
  469. package/dist-esm/samples-dev/standbyVirtualMachinesGetSample.js.map +0 -1
  470. package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts +0 -2
  471. package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.d.ts.map +0 -1
  472. package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.js +0 -55
  473. package/dist-esm/samples-dev/standbyVirtualMachinesListByStandbyVirtualMachinePoolResourceSample.js.map +0 -1
  474. package/dist-esm/src/index.d.ts +0 -5
  475. package/dist-esm/src/index.d.ts.map +0 -1
  476. package/dist-esm/src/index.js +0 -13
  477. package/dist-esm/src/index.js.map +0 -1
  478. package/dist-esm/src/lroImpl.d.ts +0 -11
  479. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  480. package/dist-esm/src/lroImpl.js +0 -21
  481. package/dist-esm/src/lroImpl.js.map +0 -1
  482. package/dist-esm/src/models/index.d.ts +0 -581
  483. package/dist-esm/src/models/index.d.ts.map +0 -1
  484. package/dist-esm/src/models/index.js +0 -62
  485. package/dist-esm/src/models/index.js.map +0 -1
  486. package/dist-esm/src/models/mappers.d.ts +0 -38
  487. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  488. package/dist-esm/src/models/mappers.js +0 -877
  489. package/dist-esm/src/models/mappers.js.map +0 -1
  490. package/dist-esm/src/models/parameters.d.ts +0 -16
  491. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  492. package/dist-esm/src/models/parameters.js +0 -143
  493. package/dist-esm/src/models/parameters.js.map +0 -1
  494. package/dist-esm/src/operations/index.d.ts +0 -5
  495. package/dist-esm/src/operations/index.d.ts.map +0 -1
  496. package/dist-esm/src/operations/index.js +0 -12
  497. package/dist-esm/src/operations/index.js.map +0 -1
  498. package/dist-esm/src/operations/operations.d.ts +0 -32
  499. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  500. package/dist-esm/src/operations/operations.js +0 -133
  501. package/dist-esm/src/operations/operations.js.map +0 -1
  502. package/dist-esm/src/operations/standbyContainerGroupPools.d.ts +0 -99
  503. package/dist-esm/src/operations/standbyContainerGroupPools.d.ts.map +0 -1
  504. package/dist-esm/src/operations/standbyContainerGroupPools.js +0 -502
  505. package/dist-esm/src/operations/standbyContainerGroupPools.js.map +0 -1
  506. package/dist-esm/src/operations/standbyVirtualMachinePools.d.ts +0 -99
  507. package/dist-esm/src/operations/standbyVirtualMachinePools.d.ts.map +0 -1
  508. package/dist-esm/src/operations/standbyVirtualMachinePools.js +0 -502
  509. package/dist-esm/src/operations/standbyVirtualMachinePools.js.map +0 -1
  510. package/dist-esm/src/operations/standbyVirtualMachines.d.ts +0 -47
  511. package/dist-esm/src/operations/standbyVirtualMachines.d.ts.map +0 -1
  512. package/dist-esm/src/operations/standbyVirtualMachines.js +0 -188
  513. package/dist-esm/src/operations/standbyVirtualMachines.js.map +0 -1
  514. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
  515. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  516. package/dist-esm/src/operationsInterfaces/index.js +0 -12
  517. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  518. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  519. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  520. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  521. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  522. package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.d.ts +0 -63
  523. package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.d.ts.map +0 -1
  524. package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.js +0 -9
  525. package/dist-esm/src/operationsInterfaces/standbyContainerGroupPools.js.map +0 -1
  526. package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.d.ts +0 -63
  527. package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.d.ts.map +0 -1
  528. package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.js +0 -9
  529. package/dist-esm/src/operationsInterfaces/standbyVirtualMachinePools.js.map +0 -1
  530. package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.d.ts +0 -21
  531. package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.d.ts.map +0 -1
  532. package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.js +0 -9
  533. package/dist-esm/src/operationsInterfaces/standbyVirtualMachines.js.map +0 -1
  534. package/dist-esm/src/pagingHelper.d.ts +0 -13
  535. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  536. package/dist-esm/src/pagingHelper.js +0 -32
  537. package/dist-esm/src/pagingHelper.js.map +0 -1
  538. package/dist-esm/src/standbyPoolManagementClient.d.ts +0 -23
  539. package/dist-esm/src/standbyPoolManagementClient.d.ts.map +0 -1
  540. package/dist-esm/src/standbyPoolManagementClient.js +0 -103
  541. package/dist-esm/src/standbyPoolManagementClient.js.map +0 -1
  542. package/dist-esm/test/standbypool_operations_test.spec.d.ts +0 -4
  543. package/dist-esm/test/standbypool_operations_test.spec.d.ts.map +0 -1
  544. package/dist-esm/test/standbypool_operations_test.spec.js +0 -74
  545. package/dist-esm/test/standbypool_operations_test.spec.js.map +0 -1
  546. package/src/index.ts +0 -13
  547. package/src/lroImpl.ts +0 -42
  548. package/src/models/index.ts +0 -695
  549. package/src/models/mappers.ts +0 -947
  550. package/src/models/parameters.ts +0 -167
  551. package/src/operations/index.ts +0 -12
  552. package/src/operations/operations.ts +0 -149
  553. package/src/operations/standbyContainerGroupPools.ts +0 -650
  554. package/src/operations/standbyVirtualMachinePools.ts +0 -650
  555. package/src/operations/standbyVirtualMachines.ts +0 -252
  556. package/src/operationsInterfaces/index.ts +0 -12
  557. package/src/operationsInterfaces/operations.ts +0 -22
  558. package/src/operationsInterfaces/standbyContainerGroupPools.ts +0 -127
  559. package/src/operationsInterfaces/standbyVirtualMachinePools.ts +0 -127
  560. package/src/operationsInterfaces/standbyVirtualMachines.ts +0 -44
  561. package/src/pagingHelper.ts +0 -39
  562. package/src/standbyPoolManagementClient.ts +0 -157
  563. package/tsconfig.json +0 -33
  564. package/types/arm-standbypool.d.ts +0 -853
  565. /package/{types → dist/commonjs}/tsdoc-metadata.json +0 -0
@@ -0,0 +1,362 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { standbyContainerGroupPoolResourcePropertiesSerializer, standbyContainerGroupPoolResourceUpdatePropertiesSerializer, } from "../../models/models.js";
4
+ import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
5
+ import { serializeRecord } from "../../helpers/serializerHelpers.js";
6
+ import { getLongRunningPoller } from "../../static-helpers/pollingHelpers.js";
7
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
8
+ export function _standbyContainerGroupPoolsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
9
+ return context
10
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
11
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
12
+ }
13
+ export async function _standbyContainerGroupPoolsGetDeserialize(result) {
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
15
+ const expectedStatuses = ["200"];
16
+ if (!expectedStatuses.includes(result.status)) {
17
+ throw createRestError(result);
18
+ }
19
+ return {
20
+ tags: result.body["tags"],
21
+ location: result.body["location"],
22
+ id: result.body["id"],
23
+ name: result.body["name"],
24
+ type: result.body["type"],
25
+ systemData: !result.body.systemData
26
+ ? undefined
27
+ : {
28
+ createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
29
+ createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
30
+ createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
31
+ ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
32
+ : undefined,
33
+ lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
34
+ lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
35
+ lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
36
+ ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
37
+ : undefined,
38
+ },
39
+ properties: !result.body.properties
40
+ ? undefined
41
+ : {
42
+ elasticityProfile: {
43
+ maxReadyCapacity: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
44
+ refillPolicy: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
45
+ },
46
+ containerGroupProperties: {
47
+ containerGroupProfile: {
48
+ id: (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
49
+ revision: (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
50
+ },
51
+ subnetIds: ((_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
52
+ ? (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
53
+ : (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
54
+ return { id: p["id"] };
55
+ }),
56
+ },
57
+ provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
58
+ },
59
+ };
60
+ }
61
+ /** Get a StandbyContainerGroupPoolResource */
62
+ export async function standbyContainerGroupPoolsGet(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
63
+ const result = await _standbyContainerGroupPoolsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options);
64
+ return _standbyContainerGroupPoolsGetDeserialize(result);
65
+ }
66
+ export function _standbyContainerGroupPoolsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
67
+ requestOptions: {},
68
+ }) {
69
+ return context
70
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
71
+ .put(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: {
72
+ tags: !resource.tags ? resource.tags : serializeRecord(resource.tags),
73
+ location: resource["location"],
74
+ properties: !resource.properties
75
+ ? resource.properties
76
+ : standbyContainerGroupPoolResourcePropertiesSerializer(resource.properties),
77
+ } }));
78
+ }
79
+ export async function _standbyContainerGroupPoolsCreateOrUpdateDeserialize(result) {
80
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
81
+ const expectedStatuses = ["200", "201"];
82
+ if (!expectedStatuses.includes(result.status)) {
83
+ throw createRestError(result);
84
+ }
85
+ return {
86
+ tags: result.body["tags"],
87
+ location: result.body["location"],
88
+ id: result.body["id"],
89
+ name: result.body["name"],
90
+ type: result.body["type"],
91
+ systemData: !result.body.systemData
92
+ ? undefined
93
+ : {
94
+ createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
95
+ createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
96
+ createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
97
+ ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
98
+ : undefined,
99
+ lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
100
+ lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
101
+ lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
102
+ ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
103
+ : undefined,
104
+ },
105
+ properties: !result.body.properties
106
+ ? undefined
107
+ : {
108
+ elasticityProfile: {
109
+ maxReadyCapacity: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
110
+ refillPolicy: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
111
+ },
112
+ containerGroupProperties: {
113
+ containerGroupProfile: {
114
+ id: (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
115
+ revision: (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
116
+ },
117
+ subnetIds: ((_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
118
+ ? (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
119
+ : (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
120
+ return { id: p["id"] };
121
+ }),
122
+ },
123
+ provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
124
+ },
125
+ };
126
+ }
127
+ /** Create a StandbyContainerGroupPoolResource */
128
+ export function standbyContainerGroupPoolsCreateOrUpdate(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
129
+ requestOptions: {},
130
+ }) {
131
+ return getLongRunningPoller(context, _standbyContainerGroupPoolsCreateOrUpdateDeserialize, ["200", "201"], {
132
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
133
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
134
+ getInitialResponse: () => _standbyContainerGroupPoolsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, resource, options),
135
+ resourceLocationConfig: "azure-async-operation",
136
+ });
137
+ }
138
+ export function _standbyContainerGroupPoolsDeleteSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
139
+ requestOptions: {},
140
+ }) {
141
+ return context
142
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
143
+ .delete(Object.assign({}, operationOptionsToRequestParameters(options)));
144
+ }
145
+ export async function _standbyContainerGroupPoolsDeleteDeserialize(result) {
146
+ const expectedStatuses = ["202", "204", "200"];
147
+ if (!expectedStatuses.includes(result.status)) {
148
+ throw createRestError(result);
149
+ }
150
+ return;
151
+ }
152
+ /** Delete a StandbyContainerGroupPoolResource */
153
+ export function standbyContainerGroupPoolsDelete(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
154
+ requestOptions: {},
155
+ }) {
156
+ return getLongRunningPoller(context, _standbyContainerGroupPoolsDeleteDeserialize, ["202", "204", "200"], {
157
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
158
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
159
+ getInitialResponse: () => _standbyContainerGroupPoolsDeleteSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options),
160
+ resourceLocationConfig: "location",
161
+ });
162
+ }
163
+ export function _standbyContainerGroupPoolsUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
164
+ requestOptions: {},
165
+ }) {
166
+ return context
167
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
168
+ .patch(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: {
169
+ tags: !properties.tags ? properties.tags : serializeRecord(properties.tags),
170
+ properties: !properties.properties
171
+ ? properties.properties
172
+ : standbyContainerGroupPoolResourceUpdatePropertiesSerializer(properties.properties),
173
+ } }));
174
+ }
175
+ export async function _standbyContainerGroupPoolsUpdateDeserialize(result) {
176
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
177
+ const expectedStatuses = ["200"];
178
+ if (!expectedStatuses.includes(result.status)) {
179
+ throw createRestError(result);
180
+ }
181
+ return {
182
+ tags: result.body["tags"],
183
+ location: result.body["location"],
184
+ id: result.body["id"],
185
+ name: result.body["name"],
186
+ type: result.body["type"],
187
+ systemData: !result.body.systemData
188
+ ? undefined
189
+ : {
190
+ createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
191
+ createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
192
+ createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
193
+ ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
194
+ : undefined,
195
+ lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
196
+ lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
197
+ lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
198
+ ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
199
+ : undefined,
200
+ },
201
+ properties: !result.body.properties
202
+ ? undefined
203
+ : {
204
+ elasticityProfile: {
205
+ maxReadyCapacity: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
206
+ refillPolicy: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
207
+ },
208
+ containerGroupProperties: {
209
+ containerGroupProfile: {
210
+ id: (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
211
+ revision: (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
212
+ },
213
+ subnetIds: ((_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
214
+ ? (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
215
+ : (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
216
+ return { id: p["id"] };
217
+ }),
218
+ },
219
+ provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
220
+ },
221
+ };
222
+ }
223
+ /** Update a StandbyContainerGroupPoolResource */
224
+ export async function standbyContainerGroupPoolsUpdate(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
225
+ requestOptions: {},
226
+ }) {
227
+ const result = await _standbyContainerGroupPoolsUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, properties, options);
228
+ return _standbyContainerGroupPoolsUpdateDeserialize(result);
229
+ }
230
+ export function _standbyContainerGroupPoolsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = {
231
+ requestOptions: {},
232
+ }) {
233
+ return context
234
+ .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools", subscriptionId, resourceGroupName)
235
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
236
+ }
237
+ export async function _standbyContainerGroupPoolsListByResourceGroupDeserialize(result) {
238
+ const expectedStatuses = ["200"];
239
+ if (!expectedStatuses.includes(result.status)) {
240
+ throw createRestError(result);
241
+ }
242
+ return {
243
+ value: result.body["value"].map((p) => {
244
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
245
+ return {
246
+ tags: p["tags"],
247
+ location: p["location"],
248
+ id: p["id"],
249
+ name: p["name"],
250
+ type: p["type"],
251
+ systemData: !p.systemData
252
+ ? undefined
253
+ : {
254
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
255
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
256
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
257
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
258
+ : undefined,
259
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
260
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
261
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
262
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
263
+ : undefined,
264
+ },
265
+ properties: !p.properties
266
+ ? undefined
267
+ : {
268
+ elasticityProfile: {
269
+ maxReadyCapacity: (_j = p.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
270
+ refillPolicy: (_k = p.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
271
+ },
272
+ containerGroupProperties: {
273
+ containerGroupProfile: {
274
+ id: (_l = p.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
275
+ revision: (_m = p.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
276
+ },
277
+ subnetIds: ((_o = p.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
278
+ ? (_p = p.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
279
+ : (_q = p.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
280
+ return { id: p["id"] };
281
+ }),
282
+ },
283
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
284
+ },
285
+ };
286
+ }),
287
+ nextLink: result.body["nextLink"],
288
+ };
289
+ }
290
+ /** List StandbyContainerGroupPoolResource resources by resource group */
291
+ export function standbyContainerGroupPoolsListByResourceGroup(context, subscriptionId, resourceGroupName, options = {
292
+ requestOptions: {},
293
+ }) {
294
+ return buildPagedAsyncIterator(context, () => _standbyContainerGroupPoolsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _standbyContainerGroupPoolsListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
295
+ }
296
+ export function _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options = {
297
+ requestOptions: {},
298
+ }) {
299
+ return context
300
+ .path("/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools", subscriptionId)
301
+ .get(Object.assign({}, operationOptionsToRequestParameters(options)));
302
+ }
303
+ export async function _standbyContainerGroupPoolsListBySubscriptionDeserialize(result) {
304
+ const expectedStatuses = ["200"];
305
+ if (!expectedStatuses.includes(result.status)) {
306
+ throw createRestError(result);
307
+ }
308
+ return {
309
+ value: result.body["value"].map((p) => {
310
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
311
+ return {
312
+ tags: p["tags"],
313
+ location: p["location"],
314
+ id: p["id"],
315
+ name: p["name"],
316
+ type: p["type"],
317
+ systemData: !p.systemData
318
+ ? undefined
319
+ : {
320
+ createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
321
+ createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
322
+ createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
323
+ ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
324
+ : undefined,
325
+ lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
326
+ lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
327
+ lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
328
+ ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
329
+ : undefined,
330
+ },
331
+ properties: !p.properties
332
+ ? undefined
333
+ : {
334
+ elasticityProfile: {
335
+ maxReadyCapacity: (_j = p.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
336
+ refillPolicy: (_k = p.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
337
+ },
338
+ containerGroupProperties: {
339
+ containerGroupProfile: {
340
+ id: (_l = p.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
341
+ revision: (_m = p.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
342
+ },
343
+ subnetIds: ((_o = p.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
344
+ ? (_p = p.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
345
+ : (_q = p.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
346
+ return { id: p["id"] };
347
+ }),
348
+ },
349
+ provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
350
+ },
351
+ };
352
+ }),
353
+ nextLink: result.body["nextLink"],
354
+ };
355
+ }
356
+ /** List StandbyContainerGroupPoolResource resources by subscription ID */
357
+ export function standbyContainerGroupPoolsListBySubscription(context, subscriptionId, options = {
358
+ requestOptions: {},
359
+ }) {
360
+ return buildPagedAsyncIterator(context, () => _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options), _standbyContainerGroupPoolsListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
361
+ }
362
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,qDAAqD,EACrD,2DAA2D,GAI5D,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,mCAAmC,EAEnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAW/C,MAAM,UAAU,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,+JAA+J,EAC/J,cAAc,EACd,iBAAiB,EACjB,6BAA6B,CAC9B;SACA,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,yCAAyC,CAC7D,MAA6B;;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,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AO,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC;gCACzB,CAAC,CAAC;yBACT;wBACD,iBAAiB,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,mBAAmB,CAAC;qBACvD;aACN,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,0EAA0E;AAC1E,MAAM,UAAU,4CAA4C,CAC1D,OAAe,EACf,cAAsB,EACtB,UAAsE;IACpE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,iDAAiD,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EACzF,wDAAwD,EACxD,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n standbyContainerGroupPoolResourcePropertiesSerializer,\n standbyContainerGroupPoolResourceUpdatePropertiesSerializer,\n StandbyContainerGroupPoolResource,\n StandbyContainerGroupPoolResourceUpdate,\n _StandbyContainerGroupPoolResourceListResult,\n} from \"../../models/models.js\";\nimport { StandbyPoolContext as Client } from \"../index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n PathUncheckedResponse,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport { serializeRecord } from \"../../helpers/serializerHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StandbyContainerGroupPoolsGetOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyContainerGroupPoolsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a StandbyContainerGroupPoolResource */\nexport async function standbyContainerGroupPoolsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _standbyContainerGroupPoolsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n );\n return _standbyContainerGroupPoolsGetDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n tags: !resource.tags ? resource.tags : (serializeRecord(resource.tags as any) as any),\n location: resource[\"location\"],\n properties: !resource.properties\n ? resource.properties\n : standbyContainerGroupPoolResourcePropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _standbyContainerGroupPoolsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n> {\n return getLongRunningPoller(\n context,\n _standbyContainerGroupPoolsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyContainerGroupPoolsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n >;\n}\n\nexport function _standbyContainerGroupPoolsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _standbyContainerGroupPoolsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyContainerGroupPoolsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _standbyContainerGroupPoolsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: {\n tags: !properties.tags ? properties.tags : (serializeRecord(properties.tags as any) as any),\n properties: !properties.properties\n ? properties.properties\n : standbyContainerGroupPoolResourceUpdatePropertiesSerializer(properties.properties),\n },\n });\n}\n\nexport async function _standbyContainerGroupPoolsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Update a StandbyContainerGroupPoolResource */\nexport async function standbyContainerGroupPoolsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _standbyContainerGroupPoolsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n properties,\n options,\n );\n return _standbyContainerGroupPoolsUpdateDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolsListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p: any) => {\n return {\n tags: p[\"tags\"],\n location: p[\"location\"],\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: p.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: p.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: p.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n p.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n p.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? p.properties?.containerGroupProperties[\"subnetIds\"]\n : p.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolResource resources by resource group */\nexport function standbyContainerGroupPoolsListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyContainerGroupPoolsListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n _standbyContainerGroupPoolsListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _standbyContainerGroupPoolsListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p: any) => {\n return {\n tags: p[\"tags\"],\n location: p[\"location\"],\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: p.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: p.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: p.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n p.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n p.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? p.properties?.containerGroupProperties[\"subnetIds\"]\n : p.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolResource resources by subscription ID */\nexport function standbyContainerGroupPoolsListBySubscription(\n context: Client,\n subscriptionId: string,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options),\n _standbyContainerGroupPoolsListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,11 @@
1
+ import { TokenCredential } from "@azure/core-auth";
2
+ import { ClientOptions, Client } from "@azure-rest/core-client";
3
+ export interface StandbyPoolContext extends Client {
4
+ }
5
+ /** Optional parameters for the client. */
6
+ export interface StandbyPoolManagementClientOptionalParams extends ClientOptions {
7
+ /** The API version to use for this operation. */
8
+ apiVersion?: string;
9
+ }
10
+ export declare function createStandbyPoolManagement(credential: TokenCredential, options?: StandbyPoolManagementClientOptionalParams): StandbyPoolContext;
11
+ //# sourceMappingURL=standbyPoolManagementContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standbyPoolManagementContext.d.ts","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,EAAa,MAAM,yBAAyB,CAAC;AAG3E,MAAM,WAAW,kBAAmB,SAAQ,MAAM;CAAG;AAErD,0CAA0C;AAC1C,MAAM,WAAW,yCAA0C,SAAQ,aAAa;IAC9E,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,yCAA8C,GACtD,kBAAkB,CAgCpB"}
@@ -0,0 +1,31 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { __rest } from "tslib";
4
+ import { getClient } from "@azure-rest/core-client";
5
+ import { logger } from "../logger.js";
6
+ export function createStandbyPoolManagement(credential, options = {}) {
7
+ var _a, _b, _c, _d, _e, _f, _g, _h;
8
+ const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : `https://management.azure.com`;
9
+ const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
10
+ const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api` : "azsdk-js-api";
11
+ const _j = Object.assign(Object.assign({}, options), { userAgentOptions: { userAgentPrefix }, loggingOptions: { logger: (_e = (_d = options.loggingOptions) === null || _d === void 0 ? void 0 : _d.logger) !== null && _e !== void 0 ? _e : logger.info }, credentials: {
12
+ scopes: (_g = (_f = options.credentials) === null || _f === void 0 ? void 0 : _f.scopes) !== null && _g !== void 0 ? _g : [`${endpointUrl}/.default`],
13
+ } }), { apiVersion: _ } = _j, updatedOptions = __rest(_j, ["apiVersion"]);
14
+ const clientContext = getClient(endpointUrl, credential, updatedOptions);
15
+ clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
16
+ const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2024-03-01";
17
+ clientContext.pipeline.addPolicy({
18
+ name: "ClientApiVersionPolicy",
19
+ sendRequest: (req, next) => {
20
+ // Use the apiVersion defined in request url directly
21
+ // Append one if there is no apiVersion and we have one at client options
22
+ const url = new URL(req.url);
23
+ if (!url.searchParams.get("api-version")) {
24
+ req.url = `${req.url}${Array.from(url.searchParams.keys()).length > 0 ? "&" : "?"}api-version=${apiVersion}`;
25
+ }
26
+ return next(req);
27
+ },
28
+ });
29
+ return clientContext;
30
+ }
31
+ //# sourceMappingURL=standbyPoolManagementContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standbyPoolManagementContext.js","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;;AAGlC,OAAO,EAAyB,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAUtC,MAAM,UAAU,2BAA2B,CACzC,UAA2B,EAC3B,UAAqD,EAAE;;IAEvD,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAE1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;IACrE,MAAM,eAAe,GAAG,iBAAiB,CAAC,CAAC,CAAC,GAAG,iBAAiB,eAAe,CAAC,CAAC,CAAC,cAAc,CAAC;IACjG,MAAM,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cAAc,EAAE,EAAE,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,cAAc,0CAAE,MAAM,mCAAI,MAAM,CAAC,IAAI,EAAE,EACzE,WAAW,EAAE;YACX,MAAM,EAAE,MAAA,MAAA,OAAO,CAAC,WAAW,0CAAE,MAAM,mCAAI,CAAC,GAAG,WAAW,WAAW,CAAC;SACnE,GACF,EAPK,EAAE,UAAU,EAAE,CAAC,OAOpB,EAPyB,cAAc,cAAlC,cAAoC,CAOzC,CAAC;IACF,MAAM,aAAa,GAAG,SAAS,CAAC,WAAW,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACzE,aAAa,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC;IAClE,MAAM,UAAU,GAAG,MAAA,OAAO,CAAC,UAAU,mCAAI,YAAY,CAAC;IACtD,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC;QAC/B,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;YACzB,qDAAqD;YACrD,yEAAyE;YACzE,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,aAAa,CAAC;AACvB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { TokenCredential } from \"@azure/core-auth\";\nimport { ClientOptions, Client, getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"../logger.js\";\n\nexport interface StandbyPoolContext extends Client {}\n\n/** Optional parameters for the client. */\nexport interface StandbyPoolManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n apiVersion?: string;\n}\n\nexport function createStandbyPoolManagement(\n credential: TokenCredential,\n options: StandbyPoolManagementClientOptionalParams = {},\n): StandbyPoolContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentPrefix = prefixFromOptions ? `${prefixFromOptions} azsdk-js-api` : \"azsdk-js-api\";\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2024-03-01\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return clientContext;\n}\n"]}
@@ -0,0 +1,14 @@
1
+ import { StandbyVirtualMachinePoolRuntimeViewResource, _StandbyVirtualMachinePoolRuntimeViewResourceListResult } from "../../models/models.js";
2
+ import { StandbyPoolContext as Client } from "../index.js";
3
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams, StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams } from "../../models/options.js";
6
+ export declare function _standbyVirtualMachinePoolRuntimeViewsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): StreamableMethod;
7
+ export declare function _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
8
+ /** Get a StandbyVirtualMachinePoolRuntimeViewResource */
9
+ export declare function standbyVirtualMachinePoolRuntimeViewsGet(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
10
+ export declare function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
11
+ export declare function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyVirtualMachinePoolRuntimeViewResourceListResult>;
12
+ /** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */
13
+ export declare function standbyVirtualMachinePoolRuntimeViewsListByStandbyPool(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolRuntimeViewResource>;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,4CAA4C,EAC5C,uDAAuD,EACxD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAEhB,qBAAqB,EAEtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,sDAAsD,EACtD,oEAAoE,EACrE,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,6CAA6C,CAC3D,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,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