@azure/arm-standbypool 1.0.2-alpha.20250423.1 → 2.0.0

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 (566) hide show
  1. package/CHANGELOG.md +32 -7
  2. package/LICENSE +1 -1
  3. package/README.md +15 -8
  4. package/dist/browser/api/index.d.ts +1 -7
  5. package/dist/browser/api/index.d.ts.map +1 -1
  6. package/dist/browser/api/index.js +0 -6
  7. package/dist/browser/api/index.js.map +1 -1
  8. package/dist/browser/api/operations/index.d.ts +2 -9
  9. package/dist/browser/api/operations/index.d.ts.map +1 -1
  10. package/dist/browser/api/operations/index.js +1 -37
  11. package/dist/browser/api/operations/index.js.map +1 -1
  12. package/dist/browser/api/operations/operations.d.ts +10 -0
  13. package/dist/browser/api/operations/operations.d.ts.map +1 -0
  14. package/dist/browser/api/operations/operations.js +29 -0
  15. package/dist/browser/api/operations/operations.js.map +1 -0
  16. package/dist/browser/api/operations/options.d.ts +5 -0
  17. package/dist/browser/api/operations/options.d.ts.map +1 -0
  18. package/dist/browser/api/operations/options.js.map +1 -0
  19. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  20. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  21. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
  22. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  23. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  24. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  25. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
  26. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  27. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  28. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  29. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  30. package/dist/browser/api/standbyContainerGroupPools/index.d.ts +2 -30
  31. package/dist/browser/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  32. package/dist/browser/api/standbyContainerGroupPools/index.js +1 -359
  33. package/dist/browser/api/standbyContainerGroupPools/index.js.map +1 -1
  34. package/dist/browser/api/standbyContainerGroupPools/operations.d.ts +36 -0
  35. package/dist/browser/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  36. package/dist/browser/api/standbyContainerGroupPools/operations.js +192 -0
  37. package/dist/browser/api/standbyContainerGroupPools/operations.js.map +1 -0
  38. package/dist/browser/api/standbyContainerGroupPools/options.d.ts +24 -0
  39. package/dist/browser/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  40. package/dist/browser/api/standbyContainerGroupPools/options.js.map +1 -0
  41. package/dist/browser/api/standbyPoolManagementContext.d.ts +9 -3
  42. package/dist/browser/api/standbyPoolManagementContext.d.ts.map +1 -1
  43. package/dist/browser/api/standbyPoolManagementContext.js +7 -6
  44. package/dist/browser/api/standbyPoolManagementContext.js.map +1 -1
  45. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  46. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  47. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
  48. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  49. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  50. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  51. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
  52. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  53. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  54. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  55. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
  56. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  57. package/dist/browser/api/standbyVirtualMachinePools/index.d.ts +2 -30
  58. package/dist/browser/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  59. package/dist/browser/api/standbyVirtualMachinePools/index.js +1 -324
  60. package/dist/browser/api/standbyVirtualMachinePools/index.js.map +1 -1
  61. package/dist/browser/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  62. package/dist/browser/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  63. package/dist/browser/api/standbyVirtualMachinePools/operations.js +192 -0
  64. package/dist/browser/api/standbyVirtualMachinePools/operations.js.map +1 -0
  65. package/dist/browser/api/standbyVirtualMachinePools/options.d.ts +24 -0
  66. package/dist/browser/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  67. package/dist/browser/api/standbyVirtualMachinePools/options.js +4 -0
  68. package/dist/browser/api/standbyVirtualMachinePools/options.js.map +1 -0
  69. package/dist/browser/api/standbyVirtualMachines/index.d.ts +2 -13
  70. package/dist/browser/api/standbyVirtualMachines/index.d.ts.map +1 -1
  71. package/dist/browser/api/standbyVirtualMachines/index.js +1 -94
  72. package/dist/browser/api/standbyVirtualMachines/index.js.map +1 -1
  73. package/dist/browser/api/standbyVirtualMachines/operations.d.ts +14 -0
  74. package/dist/browser/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  75. package/dist/browser/api/standbyVirtualMachines/operations.js +63 -0
  76. package/dist/browser/api/standbyVirtualMachines/operations.js.map +1 -0
  77. package/dist/browser/api/standbyVirtualMachines/options.d.ts +8 -0
  78. package/dist/browser/api/standbyVirtualMachines/options.d.ts.map +1 -0
  79. package/dist/browser/api/standbyVirtualMachines/options.js +4 -0
  80. package/dist/browser/api/standbyVirtualMachines/options.js.map +1 -0
  81. package/dist/browser/classic/operations/index.d.ts +3 -6
  82. package/dist/browser/classic/operations/index.d.ts.map +1 -1
  83. package/dist/browser/classic/operations/index.js +5 -5
  84. package/dist/browser/classic/operations/index.js.map +1 -1
  85. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  86. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  87. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
  88. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  89. package/dist/browser/classic/standbyContainerGroupPools/index.d.ts +18 -21
  90. package/dist/browser/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  91. package/dist/browser/classic/standbyContainerGroupPools/index.js +10 -10
  92. package/dist/browser/classic/standbyContainerGroupPools/index.js.map +1 -1
  93. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  94. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  95. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
  96. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  97. package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  98. package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  99. package/dist/browser/classic/standbyVirtualMachinePools/index.js +10 -10
  100. package/dist/browser/classic/standbyVirtualMachinePools/index.js.map +1 -1
  101. package/dist/browser/classic/standbyVirtualMachines/index.d.ts +5 -9
  102. package/dist/browser/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  103. package/dist/browser/classic/standbyVirtualMachines/index.js +6 -6
  104. package/dist/browser/classic/standbyVirtualMachines/index.js.map +1 -1
  105. package/dist/browser/index.d.ts +9 -2
  106. package/dist/browser/index.d.ts.map +1 -1
  107. package/dist/browser/index.js +2 -2
  108. package/dist/browser/index.js.map +1 -1
  109. package/dist/browser/models/index.d.ts +1 -2
  110. package/dist/browser/models/index.d.ts.map +1 -1
  111. package/dist/browser/models/index.js +1 -1
  112. package/dist/browser/models/index.js.map +1 -1
  113. package/dist/browser/models/models.d.ts +447 -238
  114. package/dist/browser/models/models.d.ts.map +1 -1
  115. package/dist/browser/models/models.js +546 -91
  116. package/dist/browser/models/models.js.map +1 -1
  117. package/dist/browser/restorePollerHelpers.js +11 -11
  118. package/dist/browser/restorePollerHelpers.js.map +1 -1
  119. package/dist/browser/standbyPoolManagementClient.d.ts +19 -19
  120. package/dist/browser/standbyPoolManagementClient.d.ts.map +1 -1
  121. package/dist/browser/standbyPoolManagementClient.js +16 -14
  122. package/dist/browser/standbyPoolManagementClient.js.map +1 -1
  123. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
  124. package/dist/browser/static-helpers/pagingHelpers.js +1 -1
  125. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  126. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
  127. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  128. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  129. package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
  130. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  131. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  132. package/dist/commonjs/api/index.d.ts +1 -7
  133. package/dist/commonjs/api/index.d.ts.map +1 -1
  134. package/dist/commonjs/api/index.js +1 -26
  135. package/dist/commonjs/api/index.js.map +1 -1
  136. package/dist/commonjs/api/operations/index.d.ts +2 -9
  137. package/dist/commonjs/api/operations/index.d.ts.map +1 -1
  138. package/dist/commonjs/api/operations/index.js +3 -40
  139. package/dist/commonjs/api/operations/index.js.map +1 -1
  140. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  141. package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
  142. package/dist/commonjs/api/operations/operations.js +34 -0
  143. package/dist/commonjs/api/operations/operations.js.map +1 -0
  144. package/dist/commonjs/api/operations/options.d.ts +5 -0
  145. package/dist/commonjs/api/operations/options.d.ts.map +1 -0
  146. package/dist/commonjs/api/operations/options.js.map +1 -0
  147. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  148. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  149. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js +4 -116
  150. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  151. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  152. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  153. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.js +75 -0
  154. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  155. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  156. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  157. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.js +5 -0
  158. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  159. package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts +2 -30
  160. package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  161. package/dist/commonjs/api/standbyContainerGroupPools/index.js +8 -377
  162. package/dist/commonjs/api/standbyContainerGroupPools/index.js.map +1 -1
  163. package/dist/commonjs/api/standbyContainerGroupPools/operations.d.ts +36 -0
  164. package/dist/commonjs/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  165. package/dist/commonjs/api/standbyContainerGroupPools/operations.js +212 -0
  166. package/dist/commonjs/api/standbyContainerGroupPools/operations.js.map +1 -0
  167. package/dist/commonjs/api/standbyContainerGroupPools/options.d.ts +24 -0
  168. package/dist/commonjs/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  169. package/dist/commonjs/api/standbyContainerGroupPools/options.js +5 -0
  170. package/dist/commonjs/api/standbyContainerGroupPools/options.js.map +1 -0
  171. package/dist/commonjs/api/standbyPoolManagementContext.d.ts +9 -3
  172. package/dist/commonjs/api/standbyPoolManagementContext.d.ts.map +1 -1
  173. package/dist/commonjs/api/standbyPoolManagementContext.js +7 -6
  174. package/dist/commonjs/api/standbyPoolManagementContext.js.map +1 -1
  175. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  176. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  177. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js +4 -118
  178. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  179. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  180. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  181. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.js +75 -0
  182. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  183. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  184. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  185. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.js +5 -0
  186. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  187. package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts +2 -30
  188. package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  189. package/dist/commonjs/api/standbyVirtualMachinePools/index.js +8 -342
  190. package/dist/commonjs/api/standbyVirtualMachinePools/index.js.map +1 -1
  191. package/dist/commonjs/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  192. package/dist/commonjs/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  193. package/dist/commonjs/api/standbyVirtualMachinePools/operations.js +212 -0
  194. package/dist/commonjs/api/standbyVirtualMachinePools/operations.js.map +1 -0
  195. package/dist/commonjs/api/standbyVirtualMachinePools/options.d.ts +24 -0
  196. package/dist/commonjs/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  197. package/dist/commonjs/api/standbyVirtualMachinePools/options.js +5 -0
  198. package/dist/commonjs/api/standbyVirtualMachinePools/options.js.map +1 -0
  199. package/dist/commonjs/api/standbyVirtualMachines/index.d.ts +2 -13
  200. package/dist/commonjs/api/standbyVirtualMachines/index.d.ts.map +1 -1
  201. package/dist/commonjs/api/standbyVirtualMachines/index.js +4 -100
  202. package/dist/commonjs/api/standbyVirtualMachines/index.js.map +1 -1
  203. package/dist/commonjs/api/standbyVirtualMachines/operations.d.ts +14 -0
  204. package/dist/commonjs/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  205. package/dist/commonjs/api/standbyVirtualMachines/operations.js +71 -0
  206. package/dist/commonjs/api/standbyVirtualMachines/operations.js.map +1 -0
  207. package/dist/commonjs/api/standbyVirtualMachines/options.d.ts +8 -0
  208. package/dist/commonjs/api/standbyVirtualMachines/options.d.ts.map +1 -0
  209. package/dist/commonjs/api/standbyVirtualMachines/options.js +5 -0
  210. package/dist/commonjs/api/standbyVirtualMachines/options.js.map +1 -0
  211. package/dist/commonjs/classic/operations/index.d.ts +3 -6
  212. package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
  213. package/dist/commonjs/classic/operations/index.js +6 -7
  214. package/dist/commonjs/classic/operations/index.js.map +1 -1
  215. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  216. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  217. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js +7 -8
  218. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  219. package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts +18 -21
  220. package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  221. package/dist/commonjs/classic/standbyContainerGroupPools/index.js +11 -12
  222. package/dist/commonjs/classic/standbyContainerGroupPools/index.js.map +1 -1
  223. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  224. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  225. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js +7 -8
  226. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  227. package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  228. package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  229. package/dist/commonjs/classic/standbyVirtualMachinePools/index.js +11 -12
  230. package/dist/commonjs/classic/standbyVirtualMachinePools/index.js.map +1 -1
  231. package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts +5 -9
  232. package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  233. package/dist/commonjs/classic/standbyVirtualMachines/index.js +7 -8
  234. package/dist/commonjs/classic/standbyVirtualMachines/index.js.map +1 -1
  235. package/dist/commonjs/index.d.ts +9 -2
  236. package/dist/commonjs/index.d.ts.map +1 -1
  237. package/dist/commonjs/index.js +9 -5
  238. package/dist/commonjs/index.js.map +1 -1
  239. package/dist/commonjs/models/index.d.ts +1 -2
  240. package/dist/commonjs/models/index.d.ts.map +1 -1
  241. package/dist/commonjs/models/index.js +9 -5
  242. package/dist/commonjs/models/index.js.map +1 -1
  243. package/dist/commonjs/models/models.d.ts +447 -238
  244. package/dist/commonjs/models/models.d.ts.map +1 -1
  245. package/dist/commonjs/models/models.js +609 -98
  246. package/dist/commonjs/models/models.js.map +1 -1
  247. package/dist/commonjs/restorePollerHelpers.js +11 -11
  248. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  249. package/dist/commonjs/standbyPoolManagementClient.d.ts +19 -19
  250. package/dist/commonjs/standbyPoolManagementClient.d.ts.map +1 -1
  251. package/dist/commonjs/standbyPoolManagementClient.js +16 -14
  252. package/dist/commonjs/standbyPoolManagementClient.js.map +1 -1
  253. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
  254. package/dist/commonjs/static-helpers/pagingHelpers.js +2 -2
  255. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  256. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
  257. package/dist/commonjs/static-helpers/pollingHelpers.js +2 -2
  258. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
  259. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  260. package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
  261. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  262. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  263. package/dist/esm/api/index.d.ts +1 -7
  264. package/dist/esm/api/index.d.ts.map +1 -1
  265. package/dist/esm/api/index.js +0 -6
  266. package/dist/esm/api/index.js.map +1 -1
  267. package/dist/esm/api/operations/index.d.ts +2 -9
  268. package/dist/esm/api/operations/index.d.ts.map +1 -1
  269. package/dist/esm/api/operations/index.js +1 -37
  270. package/dist/esm/api/operations/index.js.map +1 -1
  271. package/dist/esm/api/operations/operations.d.ts +10 -0
  272. package/dist/esm/api/operations/operations.d.ts.map +1 -0
  273. package/dist/esm/api/operations/operations.js +29 -0
  274. package/dist/esm/api/operations/operations.js.map +1 -0
  275. package/dist/esm/api/operations/options.d.ts +5 -0
  276. package/dist/esm/api/operations/options.d.ts.map +1 -0
  277. package/dist/esm/api/operations/options.js +4 -0
  278. package/dist/esm/api/operations/options.js.map +1 -0
  279. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  280. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  281. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
  282. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  283. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  284. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  285. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
  286. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  287. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  288. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  289. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.js +4 -0
  290. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  291. package/dist/esm/api/standbyContainerGroupPools/index.d.ts +2 -30
  292. package/dist/esm/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  293. package/dist/esm/api/standbyContainerGroupPools/index.js +1 -359
  294. package/dist/esm/api/standbyContainerGroupPools/index.js.map +1 -1
  295. package/dist/esm/api/standbyContainerGroupPools/operations.d.ts +36 -0
  296. package/dist/esm/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  297. package/dist/esm/api/standbyContainerGroupPools/operations.js +192 -0
  298. package/dist/esm/api/standbyContainerGroupPools/operations.js.map +1 -0
  299. package/dist/esm/api/standbyContainerGroupPools/options.d.ts +24 -0
  300. package/dist/esm/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  301. package/dist/esm/api/standbyContainerGroupPools/options.js +4 -0
  302. package/dist/esm/api/standbyContainerGroupPools/options.js.map +1 -0
  303. package/dist/esm/api/standbyPoolManagementContext.d.ts +9 -3
  304. package/dist/esm/api/standbyPoolManagementContext.d.ts.map +1 -1
  305. package/dist/esm/api/standbyPoolManagementContext.js +7 -6
  306. package/dist/esm/api/standbyPoolManagementContext.js.map +1 -1
  307. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  308. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  309. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
  310. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  311. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  312. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  313. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
  314. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  315. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  316. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  317. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
  318. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  319. package/dist/esm/api/standbyVirtualMachinePools/index.d.ts +2 -30
  320. package/dist/esm/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  321. package/dist/esm/api/standbyVirtualMachinePools/index.js +1 -324
  322. package/dist/esm/api/standbyVirtualMachinePools/index.js.map +1 -1
  323. package/dist/esm/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  324. package/dist/esm/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  325. package/dist/esm/api/standbyVirtualMachinePools/operations.js +192 -0
  326. package/dist/esm/api/standbyVirtualMachinePools/operations.js.map +1 -0
  327. package/dist/esm/api/standbyVirtualMachinePools/options.d.ts +24 -0
  328. package/dist/esm/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  329. package/dist/esm/api/standbyVirtualMachinePools/options.js +4 -0
  330. package/dist/esm/api/standbyVirtualMachinePools/options.js.map +1 -0
  331. package/dist/esm/api/standbyVirtualMachines/index.d.ts +2 -13
  332. package/dist/esm/api/standbyVirtualMachines/index.d.ts.map +1 -1
  333. package/dist/esm/api/standbyVirtualMachines/index.js +1 -94
  334. package/dist/esm/api/standbyVirtualMachines/index.js.map +1 -1
  335. package/dist/esm/api/standbyVirtualMachines/operations.d.ts +14 -0
  336. package/dist/esm/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  337. package/dist/esm/api/standbyVirtualMachines/operations.js +63 -0
  338. package/dist/esm/api/standbyVirtualMachines/operations.js.map +1 -0
  339. package/dist/esm/api/standbyVirtualMachines/options.d.ts +8 -0
  340. package/dist/esm/api/standbyVirtualMachines/options.d.ts.map +1 -0
  341. package/dist/esm/api/standbyVirtualMachines/options.js +4 -0
  342. package/dist/esm/api/standbyVirtualMachines/options.js.map +1 -0
  343. package/dist/esm/classic/operations/index.d.ts +3 -6
  344. package/dist/esm/classic/operations/index.d.ts.map +1 -1
  345. package/dist/esm/classic/operations/index.js +5 -5
  346. package/dist/esm/classic/operations/index.js.map +1 -1
  347. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  348. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  349. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
  350. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  351. package/dist/esm/classic/standbyContainerGroupPools/index.d.ts +18 -21
  352. package/dist/esm/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  353. package/dist/esm/classic/standbyContainerGroupPools/index.js +10 -10
  354. package/dist/esm/classic/standbyContainerGroupPools/index.js.map +1 -1
  355. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  356. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  357. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
  358. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  359. package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  360. package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  361. package/dist/esm/classic/standbyVirtualMachinePools/index.js +10 -10
  362. package/dist/esm/classic/standbyVirtualMachinePools/index.js.map +1 -1
  363. package/dist/esm/classic/standbyVirtualMachines/index.d.ts +5 -9
  364. package/dist/esm/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  365. package/dist/esm/classic/standbyVirtualMachines/index.js +6 -6
  366. package/dist/esm/classic/standbyVirtualMachines/index.js.map +1 -1
  367. package/dist/esm/index.d.ts +9 -2
  368. package/dist/esm/index.d.ts.map +1 -1
  369. package/dist/esm/index.js +2 -2
  370. package/dist/esm/index.js.map +1 -1
  371. package/dist/esm/models/index.d.ts +1 -2
  372. package/dist/esm/models/index.d.ts.map +1 -1
  373. package/dist/esm/models/index.js +1 -1
  374. package/dist/esm/models/index.js.map +1 -1
  375. package/dist/esm/models/models.d.ts +447 -238
  376. package/dist/esm/models/models.d.ts.map +1 -1
  377. package/dist/esm/models/models.js +546 -91
  378. package/dist/esm/models/models.js.map +1 -1
  379. package/dist/esm/restorePollerHelpers.js +11 -11
  380. package/dist/esm/restorePollerHelpers.js.map +1 -1
  381. package/dist/esm/standbyPoolManagementClient.d.ts +19 -19
  382. package/dist/esm/standbyPoolManagementClient.d.ts.map +1 -1
  383. package/dist/esm/standbyPoolManagementClient.js +16 -14
  384. package/dist/esm/standbyPoolManagementClient.js.map +1 -1
  385. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
  386. package/dist/esm/static-helpers/pagingHelpers.js +1 -1
  387. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  388. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
  389. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  390. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  391. package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
  392. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  393. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  394. package/dist/react-native/api/index.d.ts +1 -7
  395. package/dist/react-native/api/index.d.ts.map +1 -1
  396. package/dist/react-native/api/index.js +0 -6
  397. package/dist/react-native/api/index.js.map +1 -1
  398. package/dist/react-native/api/operations/index.d.ts +2 -9
  399. package/dist/react-native/api/operations/index.d.ts.map +1 -1
  400. package/dist/react-native/api/operations/index.js +1 -37
  401. package/dist/react-native/api/operations/index.js.map +1 -1
  402. package/dist/react-native/api/operations/operations.d.ts +10 -0
  403. package/dist/react-native/api/operations/operations.d.ts.map +1 -0
  404. package/dist/react-native/api/operations/operations.js +29 -0
  405. package/dist/react-native/api/operations/operations.js.map +1 -0
  406. package/dist/react-native/api/operations/options.d.ts +5 -0
  407. package/dist/react-native/api/operations/options.d.ts.map +1 -0
  408. package/dist/react-native/api/operations/options.js +4 -0
  409. package/dist/react-native/api/operations/options.js.map +1 -0
  410. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  411. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  412. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
  413. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  414. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  415. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  416. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
  417. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  418. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  419. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  420. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.js +4 -0
  421. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  422. package/dist/react-native/api/standbyContainerGroupPools/index.d.ts +2 -30
  423. package/dist/react-native/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  424. package/dist/react-native/api/standbyContainerGroupPools/index.js +1 -359
  425. package/dist/react-native/api/standbyContainerGroupPools/index.js.map +1 -1
  426. package/dist/react-native/api/standbyContainerGroupPools/operations.d.ts +36 -0
  427. package/dist/react-native/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  428. package/dist/react-native/api/standbyContainerGroupPools/operations.js +192 -0
  429. package/dist/react-native/api/standbyContainerGroupPools/operations.js.map +1 -0
  430. package/dist/react-native/api/standbyContainerGroupPools/options.d.ts +24 -0
  431. package/dist/react-native/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  432. package/dist/react-native/api/standbyContainerGroupPools/options.js +4 -0
  433. package/dist/react-native/api/standbyContainerGroupPools/options.js.map +1 -0
  434. package/dist/react-native/api/standbyPoolManagementContext.d.ts +9 -3
  435. package/dist/react-native/api/standbyPoolManagementContext.d.ts.map +1 -1
  436. package/dist/react-native/api/standbyPoolManagementContext.js +7 -6
  437. package/dist/react-native/api/standbyPoolManagementContext.js.map +1 -1
  438. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  439. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  440. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
  441. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  442. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  443. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  444. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
  445. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  446. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  447. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  448. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
  449. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  450. package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts +2 -30
  451. package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  452. package/dist/react-native/api/standbyVirtualMachinePools/index.js +1 -324
  453. package/dist/react-native/api/standbyVirtualMachinePools/index.js.map +1 -1
  454. package/dist/react-native/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  455. package/dist/react-native/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  456. package/dist/react-native/api/standbyVirtualMachinePools/operations.js +192 -0
  457. package/dist/react-native/api/standbyVirtualMachinePools/operations.js.map +1 -0
  458. package/dist/react-native/api/standbyVirtualMachinePools/options.d.ts +24 -0
  459. package/dist/react-native/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  460. package/dist/react-native/api/standbyVirtualMachinePools/options.js +4 -0
  461. package/dist/react-native/api/standbyVirtualMachinePools/options.js.map +1 -0
  462. package/dist/react-native/api/standbyVirtualMachines/index.d.ts +2 -13
  463. package/dist/react-native/api/standbyVirtualMachines/index.d.ts.map +1 -1
  464. package/dist/react-native/api/standbyVirtualMachines/index.js +1 -94
  465. package/dist/react-native/api/standbyVirtualMachines/index.js.map +1 -1
  466. package/dist/react-native/api/standbyVirtualMachines/operations.d.ts +14 -0
  467. package/dist/react-native/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  468. package/dist/react-native/api/standbyVirtualMachines/operations.js +63 -0
  469. package/dist/react-native/api/standbyVirtualMachines/operations.js.map +1 -0
  470. package/dist/react-native/api/standbyVirtualMachines/options.d.ts +8 -0
  471. package/dist/react-native/api/standbyVirtualMachines/options.d.ts.map +1 -0
  472. package/dist/react-native/api/standbyVirtualMachines/options.js +4 -0
  473. package/dist/react-native/api/standbyVirtualMachines/options.js.map +1 -0
  474. package/dist/react-native/classic/operations/index.d.ts +3 -6
  475. package/dist/react-native/classic/operations/index.d.ts.map +1 -1
  476. package/dist/react-native/classic/operations/index.js +5 -5
  477. package/dist/react-native/classic/operations/index.js.map +1 -1
  478. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  479. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  480. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
  481. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  482. package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts +18 -21
  483. package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  484. package/dist/react-native/classic/standbyContainerGroupPools/index.js +10 -10
  485. package/dist/react-native/classic/standbyContainerGroupPools/index.js.map +1 -1
  486. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  487. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  488. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
  489. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  490. package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  491. package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  492. package/dist/react-native/classic/standbyVirtualMachinePools/index.js +10 -10
  493. package/dist/react-native/classic/standbyVirtualMachinePools/index.js.map +1 -1
  494. package/dist/react-native/classic/standbyVirtualMachines/index.d.ts +5 -9
  495. package/dist/react-native/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  496. package/dist/react-native/classic/standbyVirtualMachines/index.js +6 -6
  497. package/dist/react-native/classic/standbyVirtualMachines/index.js.map +1 -1
  498. package/dist/react-native/index.d.ts +9 -2
  499. package/dist/react-native/index.d.ts.map +1 -1
  500. package/dist/react-native/index.js +2 -2
  501. package/dist/react-native/index.js.map +1 -1
  502. package/dist/react-native/models/index.d.ts +1 -2
  503. package/dist/react-native/models/index.d.ts.map +1 -1
  504. package/dist/react-native/models/index.js +1 -1
  505. package/dist/react-native/models/index.js.map +1 -1
  506. package/dist/react-native/models/models.d.ts +447 -238
  507. package/dist/react-native/models/models.d.ts.map +1 -1
  508. package/dist/react-native/models/models.js +546 -91
  509. package/dist/react-native/models/models.js.map +1 -1
  510. package/dist/react-native/restorePollerHelpers.js +11 -11
  511. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  512. package/dist/react-native/standbyPoolManagementClient.d.ts +19 -19
  513. package/dist/react-native/standbyPoolManagementClient.d.ts.map +1 -1
  514. package/dist/react-native/standbyPoolManagementClient.js +16 -14
  515. package/dist/react-native/standbyPoolManagementClient.js.map +1 -1
  516. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
  517. package/dist/react-native/static-helpers/pagingHelpers.js +1 -1
  518. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  519. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
  520. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  521. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  522. package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
  523. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  524. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  525. package/package.json +149 -16
  526. package/review/arm-standbypool-api-operations.api.md +19 -0
  527. package/review/arm-standbypool-api-standbyContainerGroupPoolRuntimeViews.api.md +26 -0
  528. package/review/arm-standbypool-api-standbyContainerGroupPools.api.md +58 -0
  529. package/review/arm-standbypool-api-standbyVirtualMachinePoolRuntimeViews.api.md +26 -0
  530. package/review/arm-standbypool-api-standbyVirtualMachinePools.api.md +58 -0
  531. package/review/arm-standbypool-api-standbyVirtualMachines.api.md +26 -0
  532. package/review/arm-standbypool-api.api.md +27 -0
  533. package/review/arm-standbypool-models.api.md +105 -83
  534. package/review/arm-standbypool.api.md +110 -6
  535. package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
  536. package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
  537. package/dist/browser/helpers/serializerHelpers.js +0 -24
  538. package/dist/browser/helpers/serializerHelpers.js.map +0 -1
  539. package/dist/browser/models/options.d.ts +0 -67
  540. package/dist/browser/models/options.d.ts.map +0 -1
  541. package/dist/browser/models/options.js.map +0 -1
  542. package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
  543. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
  544. package/dist/commonjs/helpers/serializerHelpers.js +0 -27
  545. package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
  546. package/dist/commonjs/models/options.d.ts +0 -67
  547. package/dist/commonjs/models/options.d.ts.map +0 -1
  548. package/dist/commonjs/models/options.js.map +0 -1
  549. package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
  550. package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
  551. package/dist/esm/helpers/serializerHelpers.js +0 -24
  552. package/dist/esm/helpers/serializerHelpers.js.map +0 -1
  553. package/dist/esm/models/options.d.ts +0 -67
  554. package/dist/esm/models/options.d.ts.map +0 -1
  555. package/dist/esm/models/options.js.map +0 -1
  556. package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
  557. package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
  558. package/dist/react-native/helpers/serializerHelpers.js +0 -24
  559. package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
  560. package/dist/react-native/models/options.d.ts +0 -67
  561. package/dist/react-native/models/options.d.ts.map +0 -1
  562. package/dist/react-native/models/options.js.map +0 -1
  563. /package/dist/browser/{models → api/operations}/options.js +0 -0
  564. /package/dist/{esm/models → browser/api/standbyContainerGroupPoolRuntimeViews}/options.js +0 -0
  565. /package/dist/{react-native/models → browser/api/standbyContainerGroupPools}/options.js +0 -0
  566. /package/dist/commonjs/{models → api/operations}/options.js +0 -0
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports._listByStandbyPoolSend = _listByStandbyPoolSend;
6
+ exports._listByStandbyPoolDeserialize = _listByStandbyPoolDeserialize;
7
+ exports.listByStandbyPool = listByStandbyPool;
8
+ exports._getSend = _getSend;
9
+ exports._getDeserialize = _getDeserialize;
10
+ exports.get = get;
11
+ const models_js_1 = require("../../models/models.js");
12
+ const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
13
+ const urlTemplate_js_1 = require("../../static-helpers/urlTemplate.js");
14
+ const core_client_1 = require("@azure-rest/core-client");
15
+ function _listByStandbyPoolSend(context, resourceGroupName, standbyVirtualMachinePoolName, options = {
16
+ requestOptions: {},
17
+ }) {
18
+ var _a, _b;
19
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews{?api%2Dversion}", {
20
+ subscriptionId: context.subscriptionId,
21
+ resourceGroupName: resourceGroupName,
22
+ standbyVirtualMachinePoolName: standbyVirtualMachinePoolName,
23
+ "api%2Dversion": context.apiVersion,
24
+ }, {
25
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
26
+ });
27
+ return context.path(path).get(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
28
+ }
29
+ async function _listByStandbyPoolDeserialize(result) {
30
+ const expectedStatuses = ["200"];
31
+ if (!expectedStatuses.includes(result.status)) {
32
+ const error = (0, core_client_1.createRestError)(result);
33
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
34
+ throw error;
35
+ }
36
+ return (0, models_js_1._standbyVirtualMachinePoolRuntimeViewResourceListResultDeserializer)(result.body);
37
+ }
38
+ /** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */
39
+ function listByStandbyPool(context, resourceGroupName, standbyVirtualMachinePoolName, options = {
40
+ requestOptions: {},
41
+ }) {
42
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _listByStandbyPoolSend(context, resourceGroupName, standbyVirtualMachinePoolName, options), _listByStandbyPoolDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
43
+ }
44
+ function _getSend(context, resourceGroupName, standbyVirtualMachinePoolName, runtimeView, options = {
45
+ requestOptions: {},
46
+ }) {
47
+ var _a, _b;
48
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}{?api%2Dversion}", {
49
+ subscriptionId: context.subscriptionId,
50
+ resourceGroupName: resourceGroupName,
51
+ standbyVirtualMachinePoolName: standbyVirtualMachinePoolName,
52
+ runtimeView: runtimeView,
53
+ "api%2Dversion": context.apiVersion,
54
+ }, {
55
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
56
+ });
57
+ return context.path(path).get(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
58
+ }
59
+ async function _getDeserialize(result) {
60
+ const expectedStatuses = ["200"];
61
+ if (!expectedStatuses.includes(result.status)) {
62
+ const error = (0, core_client_1.createRestError)(result);
63
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
64
+ throw error;
65
+ }
66
+ return (0, models_js_1.standbyVirtualMachinePoolRuntimeViewResourceDeserializer)(result.body);
67
+ }
68
+ /** Get a StandbyVirtualMachinePoolRuntimeViewResource */
69
+ async function get(context, resourceGroupName, standbyVirtualMachinePoolName, runtimeView, options = {
70
+ requestOptions: {},
71
+ }) {
72
+ const result = await _getSend(context, resourceGroupName, standbyVirtualMachinePoolName, runtimeView, options);
73
+ return _getDeserialize(result);
74
+ }
75
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/operations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AA0BlC,wDA2BC;AAED,sEAWC;AAGD,8CAgBC;AAED,4BA6BC;AAED,0CAWC;AAGD,kBAiBC;AAlJD,sDAMgC;AAKhC,4EAG+C;AAC/C,wEAAwE;AACxE,yDAKiC;AAEjC,SAAgB,sBAAsB,CACpC,OAAe,EACf,iBAAyB,EACzB,6BAAqC,EACrC,UAAgF;IAC9E,cAAc,EAAE,EAAE;CACnB;;IAED,MAAM,IAAI,GAAG,IAAA,kCAAiB,EAC5B,4LAA4L,EAC5L;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,iBAAiB,EAAE,iBAAiB;QACpC,6BAA6B,EAAE,6BAA6B;QAC5D,eAAe,EAAE,OAAO,CAAC,UAAU;KACpC,EACD;QACE,aAAa,EAAE,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,0CAAE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,IAAA,iDAAmC,EAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KA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AE,eAAe;KACxD,CACF,CAAC;IACF,OAAO,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,iCACxB,IAAA,iDAAmC,EAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAEM,KAAK,UAAU,eAAe,CACnC,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,IAAA,qCAAyB,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAA,oEAAwD,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/E,CAAC;AAED,yDAAyD;AAClD,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,6BAAqC,EACrC,WAAmB,EACnB,UAAkE;IAChE,cAAc,EAAE,EAAE;CACnB;IAED,MAAM,MAAM,GAAG,MAAM,QAAQ,CAC3B,OAAO,EACP,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,EACX,OAAO,CACR,CAAC;IACF,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;AACjC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StandbyPoolManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n StandbyVirtualMachinePoolRuntimeViewResource,\n standbyVirtualMachinePoolRuntimeViewResourceDeserializer,\n _StandbyVirtualMachinePoolRuntimeViewResourceListResult,\n _standbyVirtualMachinePoolRuntimeViewResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams,\n StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listByStandbyPoolSend(\n context: Client,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyVirtualMachinePoolName: standbyVirtualMachinePoolName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _listByStandbyPoolDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyVirtualMachinePoolRuntimeViewResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return _standbyVirtualMachinePoolRuntimeViewResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */\nexport function listByStandbyPool(\n context: Client,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyVirtualMachinePoolRuntimeViewResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _listByStandbyPoolSend(context, resourceGroupName, standbyVirtualMachinePoolName, options),\n _listByStandbyPoolDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n runtimeView: string,\n options: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyVirtualMachinePoolName: standbyVirtualMachinePoolName,\n runtimeView: runtimeView,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyVirtualMachinePoolRuntimeViewResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return standbyVirtualMachinePoolRuntimeViewResourceDeserializer(result.body);\n}\n\n/** Get a StandbyVirtualMachinePoolRuntimeViewResource */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n runtimeView: string,\n options: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyVirtualMachinePoolRuntimeViewResource> {\n const result = await _getSend(\n context,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n runtimeView,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams extends OperationOptions {
7
+ }
8
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,oEACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,sDAAuD,SAAQ,gBAAgB;CAAG"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/options.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams extends OperationOptions {}\n"]}
@@ -1,31 +1,3 @@
1
- import { StandbyVirtualMachinePoolResource, StandbyVirtualMachinePoolResourceUpdate, _StandbyVirtualMachinePoolResourceListResult } 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 { PollerLike, OperationState } from "@azure/core-lro";
6
- import { StandbyVirtualMachinePoolsGetOptionalParams, StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams, StandbyVirtualMachinePoolsDeleteOptionalParams, StandbyVirtualMachinePoolsUpdateOptionalParams, StandbyVirtualMachinePoolsListByResourceGroupOptionalParams, StandbyVirtualMachinePoolsListBySubscriptionOptionalParams } from "../../models/options.js";
7
- export declare function _standbyVirtualMachinePoolsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsGetOptionalParams): StreamableMethod;
8
- export declare function _standbyVirtualMachinePoolsGetDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolResource>;
9
- /** Get a StandbyVirtualMachinePoolResource */
10
- export declare function standbyVirtualMachinePoolsGet(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsGetOptionalParams): Promise<StandbyVirtualMachinePoolResource>;
11
- export declare function _standbyVirtualMachinePoolsCreateOrUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, resource: StandbyVirtualMachinePoolResource, options?: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams): StreamableMethod;
12
- export declare function _standbyVirtualMachinePoolsCreateOrUpdateDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolResource>;
13
- /** Create a StandbyVirtualMachinePoolResource */
14
- export declare function standbyVirtualMachinePoolsCreateOrUpdate(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, resource: StandbyVirtualMachinePoolResource, options?: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams): PollerLike<OperationState<StandbyVirtualMachinePoolResource>, StandbyVirtualMachinePoolResource>;
15
- export declare function _standbyVirtualMachinePoolsDeleteSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsDeleteOptionalParams): StreamableMethod;
16
- export declare function _standbyVirtualMachinePoolsDeleteDeserialize(result: PathUncheckedResponse): Promise<void>;
17
- /** Delete a StandbyVirtualMachinePoolResource */
18
- export declare function standbyVirtualMachinePoolsDelete(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
19
- export declare function _standbyVirtualMachinePoolsUpdateSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, properties: StandbyVirtualMachinePoolResourceUpdate, options?: StandbyVirtualMachinePoolsUpdateOptionalParams): StreamableMethod;
20
- export declare function _standbyVirtualMachinePoolsUpdateDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolResource>;
21
- /** Update a StandbyVirtualMachinePoolResource */
22
- export declare function standbyVirtualMachinePoolsUpdate(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, properties: StandbyVirtualMachinePoolResourceUpdate, options?: StandbyVirtualMachinePoolsUpdateOptionalParams): Promise<StandbyVirtualMachinePoolResource>;
23
- export declare function _standbyVirtualMachinePoolsListByResourceGroupSend(context: Client, subscriptionId: string, resourceGroupName: string, options?: StandbyVirtualMachinePoolsListByResourceGroupOptionalParams): StreamableMethod;
24
- export declare function _standbyVirtualMachinePoolsListByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_StandbyVirtualMachinePoolResourceListResult>;
25
- /** List StandbyVirtualMachinePoolResource resources by resource group */
26
- export declare function standbyVirtualMachinePoolsListByResourceGroup(context: Client, subscriptionId: string, resourceGroupName: string, options?: StandbyVirtualMachinePoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource>;
27
- export declare function _standbyVirtualMachinePoolsListBySubscriptionSend(context: Client, subscriptionId: string, options?: StandbyVirtualMachinePoolsListBySubscriptionOptionalParams): StreamableMethod;
28
- export declare function _standbyVirtualMachinePoolsListBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_StandbyVirtualMachinePoolResourceListResult>;
29
- /** List StandbyVirtualMachinePoolResource resources by subscription ID */
30
- export declare function standbyVirtualMachinePoolsListBySubscription(context: Client, subscriptionId: string, options?: StandbyVirtualMachinePoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource>;
1
+ export { listBySubscription, listByResourceGroup, update, $delete, createOrUpdate, get, } from "./operations.js";
2
+ export { StandbyVirtualMachinePoolsListBySubscriptionOptionalParams, StandbyVirtualMachinePoolsListByResourceGroupOptionalParams, StandbyVirtualMachinePoolsUpdateOptionalParams, StandbyVirtualMachinePoolsDeleteOptionalParams, StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams, StandbyVirtualMachinePoolsGetOptionalParams, } from "./options.js";
31
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePools/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,iCAAiC,EACjC,uCAAuC,EACvC,4CAA4C,EAC7C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAEhB,qBAAqB,EAEtB,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EACL,2CAA2C,EAC3C,sDAAsD,EACtD,8CAA8C,EAC9C,8CAA8C,EAC9C,2DAA2D,EA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DAAiD,CAC/D,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,0DAER,GACA,gBAAgB,CAOlB;AAED,wBAAsB,wDAAwD,CAC5E,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CA+CvD;AAED,0EAA0E;AAC1E,wBAAgB,4CAA4C,CAC1D,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,0DAER,GACA,0BAA0B,CAAC,iCAAiC,CAAC,CAQ/D"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePools/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,MAAM,EACN,OAAO,EACP,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,0DAA0D,EAC1D,2DAA2D,EAC3D,8CAA8C,EAC9C,8CAA8C,EAC9C,sDAAsD,EACtD,2CAA2C,GAC5C,MAAM,cAAc,CAAC"}
@@ -2,346 +2,12 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports._standbyVirtualMachinePoolsGetSend = _standbyVirtualMachinePoolsGetSend;
6
- exports._standbyVirtualMachinePoolsGetDeserialize = _standbyVirtualMachinePoolsGetDeserialize;
7
- exports.standbyVirtualMachinePoolsGet = standbyVirtualMachinePoolsGet;
8
- exports._standbyVirtualMachinePoolsCreateOrUpdateSend = _standbyVirtualMachinePoolsCreateOrUpdateSend;
9
- exports._standbyVirtualMachinePoolsCreateOrUpdateDeserialize = _standbyVirtualMachinePoolsCreateOrUpdateDeserialize;
10
- exports.standbyVirtualMachinePoolsCreateOrUpdate = standbyVirtualMachinePoolsCreateOrUpdate;
11
- exports._standbyVirtualMachinePoolsDeleteSend = _standbyVirtualMachinePoolsDeleteSend;
12
- exports._standbyVirtualMachinePoolsDeleteDeserialize = _standbyVirtualMachinePoolsDeleteDeserialize;
13
- exports.standbyVirtualMachinePoolsDelete = standbyVirtualMachinePoolsDelete;
14
- exports._standbyVirtualMachinePoolsUpdateSend = _standbyVirtualMachinePoolsUpdateSend;
15
- exports._standbyVirtualMachinePoolsUpdateDeserialize = _standbyVirtualMachinePoolsUpdateDeserialize;
16
- exports.standbyVirtualMachinePoolsUpdate = standbyVirtualMachinePoolsUpdate;
17
- exports._standbyVirtualMachinePoolsListByResourceGroupSend = _standbyVirtualMachinePoolsListByResourceGroupSend;
18
- exports._standbyVirtualMachinePoolsListByResourceGroupDeserialize = _standbyVirtualMachinePoolsListByResourceGroupDeserialize;
19
- exports.standbyVirtualMachinePoolsListByResourceGroup = standbyVirtualMachinePoolsListByResourceGroup;
20
- exports._standbyVirtualMachinePoolsListBySubscriptionSend = _standbyVirtualMachinePoolsListBySubscriptionSend;
21
- exports._standbyVirtualMachinePoolsListBySubscriptionDeserialize = _standbyVirtualMachinePoolsListBySubscriptionDeserialize;
22
- exports.standbyVirtualMachinePoolsListBySubscription = standbyVirtualMachinePoolsListBySubscription;
23
- const models_js_1 = require("../../models/models.js");
24
- const core_client_1 = require("@azure-rest/core-client");
25
- const serializerHelpers_js_1 = require("../../helpers/serializerHelpers.js");
26
- const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
27
- const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
28
- function _standbyVirtualMachinePoolsGetSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options = { requestOptions: {} }) {
29
- return context
30
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}", subscriptionId, resourceGroupName, standbyVirtualMachinePoolName)
31
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
32
- }
33
- async function _standbyVirtualMachinePoolsGetDeserialize(result) {
34
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
35
- const expectedStatuses = ["200"];
36
- if (!expectedStatuses.includes(result.status)) {
37
- throw (0, core_client_1.createRestError)(result);
38
- }
39
- return {
40
- tags: result.body["tags"],
41
- location: result.body["location"],
42
- id: result.body["id"],
43
- name: result.body["name"],
44
- type: result.body["type"],
45
- systemData: !result.body.systemData
46
- ? undefined
47
- : {
48
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
49
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
50
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
51
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
52
- : undefined,
53
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
54
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
55
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
56
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
57
- : undefined,
58
- },
59
- properties: !result.body.properties
60
- ? undefined
61
- : {
62
- elasticityProfile: !((_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile)
63
- ? undefined
64
- : {
65
- maxReadyCapacity: (_l = (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile) === null || _l === void 0 ? void 0 : _l["maxReadyCapacity"],
66
- minReadyCapacity: (_o = (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.elasticityProfile) === null || _o === void 0 ? void 0 : _o["minReadyCapacity"],
67
- },
68
- virtualMachineState: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p["virtualMachineState"],
69
- attachedVirtualMachineScaleSetId: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q["attachedVirtualMachineScaleSetId"],
70
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
71
- },
72
- };
73
- }
74
- /** Get a StandbyVirtualMachinePoolResource */
75
- async function standbyVirtualMachinePoolsGet(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options = { requestOptions: {} }) {
76
- const result = await _standbyVirtualMachinePoolsGetSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options);
77
- return _standbyVirtualMachinePoolsGetDeserialize(result);
78
- }
79
- function _standbyVirtualMachinePoolsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, resource, options = {
80
- requestOptions: {},
81
- }) {
82
- return context
83
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}", subscriptionId, resourceGroupName, standbyVirtualMachinePoolName)
84
- .put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
85
- tags: !resource.tags ? resource.tags : (0, serializerHelpers_js_1.serializeRecord)(resource.tags),
86
- location: resource["location"],
87
- properties: !resource.properties
88
- ? resource.properties
89
- : (0, models_js_1.standbyVirtualMachinePoolResourcePropertiesSerializer)(resource.properties),
90
- } }));
91
- }
92
- async function _standbyVirtualMachinePoolsCreateOrUpdateDeserialize(result) {
93
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
94
- const expectedStatuses = ["200", "201"];
95
- if (!expectedStatuses.includes(result.status)) {
96
- throw (0, core_client_1.createRestError)(result);
97
- }
98
- return {
99
- tags: result.body["tags"],
100
- location: result.body["location"],
101
- id: result.body["id"],
102
- name: result.body["name"],
103
- type: result.body["type"],
104
- systemData: !result.body.systemData
105
- ? undefined
106
- : {
107
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
108
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
109
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
110
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
111
- : undefined,
112
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
113
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
114
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
115
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
116
- : undefined,
117
- },
118
- properties: !result.body.properties
119
- ? undefined
120
- : {
121
- elasticityProfile: !((_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile)
122
- ? undefined
123
- : {
124
- maxReadyCapacity: (_l = (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile) === null || _l === void 0 ? void 0 : _l["maxReadyCapacity"],
125
- minReadyCapacity: (_o = (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.elasticityProfile) === null || _o === void 0 ? void 0 : _o["minReadyCapacity"],
126
- },
127
- virtualMachineState: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p["virtualMachineState"],
128
- attachedVirtualMachineScaleSetId: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q["attachedVirtualMachineScaleSetId"],
129
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
130
- },
131
- };
132
- }
133
- /** Create a StandbyVirtualMachinePoolResource */
134
- function standbyVirtualMachinePoolsCreateOrUpdate(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, resource, options = {
135
- requestOptions: {},
136
- }) {
137
- return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _standbyVirtualMachinePoolsCreateOrUpdateDeserialize, ["200", "201"], {
138
- updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
139
- abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
140
- getInitialResponse: () => _standbyVirtualMachinePoolsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, resource, options),
141
- resourceLocationConfig: "azure-async-operation",
142
- });
143
- }
144
- function _standbyVirtualMachinePoolsDeleteSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options = {
145
- requestOptions: {},
146
- }) {
147
- return context
148
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}", subscriptionId, resourceGroupName, standbyVirtualMachinePoolName)
149
- .delete(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
150
- }
151
- async function _standbyVirtualMachinePoolsDeleteDeserialize(result) {
152
- const expectedStatuses = ["202", "204", "200"];
153
- if (!expectedStatuses.includes(result.status)) {
154
- throw (0, core_client_1.createRestError)(result);
155
- }
156
- return;
157
- }
158
- /** Delete a StandbyVirtualMachinePoolResource */
159
- function standbyVirtualMachinePoolsDelete(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options = {
160
- requestOptions: {},
161
- }) {
162
- return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _standbyVirtualMachinePoolsDeleteDeserialize, ["202", "204", "200"], {
163
- updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
164
- abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
165
- getInitialResponse: () => _standbyVirtualMachinePoolsDeleteSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options),
166
- resourceLocationConfig: "location",
167
- });
168
- }
169
- function _standbyVirtualMachinePoolsUpdateSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, properties, options = {
170
- requestOptions: {},
171
- }) {
172
- return context
173
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}", subscriptionId, resourceGroupName, standbyVirtualMachinePoolName)
174
- .patch(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
175
- tags: !properties.tags ? properties.tags : (0, serializerHelpers_js_1.serializeRecord)(properties.tags),
176
- properties: !properties.properties
177
- ? properties.properties
178
- : (0, models_js_1.standbyVirtualMachinePoolResourceUpdatePropertiesSerializer)(properties.properties),
179
- } }));
180
- }
181
- async function _standbyVirtualMachinePoolsUpdateDeserialize(result) {
182
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
183
- const expectedStatuses = ["200"];
184
- if (!expectedStatuses.includes(result.status)) {
185
- throw (0, core_client_1.createRestError)(result);
186
- }
187
- return {
188
- tags: result.body["tags"],
189
- location: result.body["location"],
190
- id: result.body["id"],
191
- name: result.body["name"],
192
- type: result.body["type"],
193
- systemData: !result.body.systemData
194
- ? undefined
195
- : {
196
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
197
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
198
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
199
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
200
- : undefined,
201
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
202
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
203
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
204
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
205
- : undefined,
206
- },
207
- properties: !result.body.properties
208
- ? undefined
209
- : {
210
- elasticityProfile: !((_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile)
211
- ? undefined
212
- : {
213
- maxReadyCapacity: (_l = (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile) === null || _l === void 0 ? void 0 : _l["maxReadyCapacity"],
214
- minReadyCapacity: (_o = (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.elasticityProfile) === null || _o === void 0 ? void 0 : _o["minReadyCapacity"],
215
- },
216
- virtualMachineState: (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p["virtualMachineState"],
217
- attachedVirtualMachineScaleSetId: (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q["attachedVirtualMachineScaleSetId"],
218
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
219
- },
220
- };
221
- }
222
- /** Update a StandbyVirtualMachinePoolResource */
223
- async function standbyVirtualMachinePoolsUpdate(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, properties, options = {
224
- requestOptions: {},
225
- }) {
226
- const result = await _standbyVirtualMachinePoolsUpdateSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, properties, options);
227
- return _standbyVirtualMachinePoolsUpdateDeserialize(result);
228
- }
229
- function _standbyVirtualMachinePoolsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = {
230
- requestOptions: {},
231
- }) {
232
- return context
233
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools", subscriptionId, resourceGroupName)
234
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
235
- }
236
- async function _standbyVirtualMachinePoolsListByResourceGroupDeserialize(result) {
237
- const expectedStatuses = ["200"];
238
- if (!expectedStatuses.includes(result.status)) {
239
- throw (0, core_client_1.createRestError)(result);
240
- }
241
- return {
242
- value: result.body["value"].map((p) => {
243
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
244
- return {
245
- tags: p["tags"],
246
- location: p["location"],
247
- id: p["id"],
248
- name: p["name"],
249
- type: p["type"],
250
- systemData: !p.systemData
251
- ? undefined
252
- : {
253
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
254
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
255
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
256
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
257
- : undefined,
258
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
259
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
260
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
261
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
262
- : undefined,
263
- },
264
- properties: !p.properties
265
- ? undefined
266
- : {
267
- elasticityProfile: !((_j = p.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile)
268
- ? undefined
269
- : {
270
- maxReadyCapacity: (_l = (_k = p.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile) === null || _l === void 0 ? void 0 : _l["maxReadyCapacity"],
271
- minReadyCapacity: (_o = (_m = p.properties) === null || _m === void 0 ? void 0 : _m.elasticityProfile) === null || _o === void 0 ? void 0 : _o["minReadyCapacity"],
272
- },
273
- virtualMachineState: (_p = p.properties) === null || _p === void 0 ? void 0 : _p["virtualMachineState"],
274
- attachedVirtualMachineScaleSetId: (_q = p.properties) === null || _q === void 0 ? void 0 : _q["attachedVirtualMachineScaleSetId"],
275
- provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
276
- },
277
- };
278
- }),
279
- nextLink: result.body["nextLink"],
280
- };
281
- }
282
- /** List StandbyVirtualMachinePoolResource resources by resource group */
283
- function standbyVirtualMachinePoolsListByResourceGroup(context, subscriptionId, resourceGroupName, options = {
284
- requestOptions: {},
285
- }) {
286
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _standbyVirtualMachinePoolsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _standbyVirtualMachinePoolsListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
287
- }
288
- function _standbyVirtualMachinePoolsListBySubscriptionSend(context, subscriptionId, options = {
289
- requestOptions: {},
290
- }) {
291
- return context
292
- .path("/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools", subscriptionId)
293
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
294
- }
295
- async function _standbyVirtualMachinePoolsListBySubscriptionDeserialize(result) {
296
- const expectedStatuses = ["200"];
297
- if (!expectedStatuses.includes(result.status)) {
298
- throw (0, core_client_1.createRestError)(result);
299
- }
300
- return {
301
- value: result.body["value"].map((p) => {
302
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
303
- return {
304
- tags: p["tags"],
305
- location: p["location"],
306
- id: p["id"],
307
- name: p["name"],
308
- type: p["type"],
309
- systemData: !p.systemData
310
- ? undefined
311
- : {
312
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
313
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
314
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
315
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
316
- : undefined,
317
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
318
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
319
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
320
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
321
- : undefined,
322
- },
323
- properties: !p.properties
324
- ? undefined
325
- : {
326
- elasticityProfile: !((_j = p.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile)
327
- ? undefined
328
- : {
329
- maxReadyCapacity: (_l = (_k = p.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile) === null || _l === void 0 ? void 0 : _l["maxReadyCapacity"],
330
- minReadyCapacity: (_o = (_m = p.properties) === null || _m === void 0 ? void 0 : _m.elasticityProfile) === null || _o === void 0 ? void 0 : _o["minReadyCapacity"],
331
- },
332
- virtualMachineState: (_p = p.properties) === null || _p === void 0 ? void 0 : _p["virtualMachineState"],
333
- attachedVirtualMachineScaleSetId: (_q = p.properties) === null || _q === void 0 ? void 0 : _q["attachedVirtualMachineScaleSetId"],
334
- provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
335
- },
336
- };
337
- }),
338
- nextLink: result.body["nextLink"],
339
- };
340
- }
341
- /** List StandbyVirtualMachinePoolResource resources by subscription ID */
342
- function standbyVirtualMachinePoolsListBySubscription(context, subscriptionId, options = {
343
- requestOptions: {},
344
- }) {
345
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _standbyVirtualMachinePoolsListBySubscriptionSend(context, subscriptionId, options), _standbyVirtualMachinePoolsListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
346
- }
5
+ exports.get = exports.createOrUpdate = exports.$delete = exports.update = exports.listByResourceGroup = exports.listBySubscription = void 0;
6
+ var operations_js_1 = require("./operations.js");
7
+ Object.defineProperty(exports, "listBySubscription", { enumerable: true, get: function () { return operations_js_1.listBySubscription; } });
8
+ Object.defineProperty(exports, "listByResourceGroup", { enumerable: true, get: function () { return operations_js_1.listByResourceGroup; } });
9
+ Object.defineProperty(exports, "update", { enumerable: true, get: function () { return operations_js_1.update; } });
10
+ Object.defineProperty(exports, "$delete", { enumerable: true, get: function () { return operations_js_1.$delete; } });
11
+ Object.defineProperty(exports, "createOrUpdate", { enumerable: true, get: function () { return operations_js_1.createOrUpdate; } });
12
+ Object.defineProperty(exports, "get", { enumerable: true, get: function () { return operations_js_1.get; } });
347
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePools/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAgClC,gFAeC;AAED,8FA6CC;AAGD,sEAeC;AAED,sGA2BC;AAED,oHA6CC;AAGD,4FAmCC;AAED,sFAiBC;AAED,oGASC;AAGD,4EA2BC;AAED,sFA0BC;AAED,oGA6CC;AAGD,4EAmBC;AAED,gHAeC;AAED,8HAiDC;AAGD,sGAqBC;AAED,8GAaC;AAED,4HAiDC;AAGD,oGAcC;AA5iBD,sDAMgC;AAEhC,yDAKiC;AACjC,6EAAqE;AACrE,8EAA8E;AAC9E,4EAG+C;AAW/C,SAAgB,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,IAAA,iDAAmC,EAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAEM,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,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,IAAI,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;QACzB,QAA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BAAgB,CAAC,CAAC;4BAC5C,CAAC,CAAC,SAAS;qBAChB;gBACL,UAAU,EAAE,CAAC,CAAC,CAAC,UAAU;oBACvB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC;wBACE,iBAAiB,EAAE,CAAC,CAAA,MAAA,CAAC,CAAC,UAAU,0CAAE,iBAAiB,CAAA;4BACjD,CAAC,CAAC,SAAS;4BACX,CAAC,CAAC;gCACE,gBAAgB,EAAE,MAAA,MAAA,CAAC,CAAC,UAAU,0CAAE,iBAAiB,0CAAG,kBAAkB,CAAC;gCACvE,gBAAgB,EAAE,MAAA,MAAA,CAAC,CAAC,UAAU,0CAAE,iBAAiB,0CAAG,kBAAkB,CAAC;6BACxE;wBACL,mBAAmB,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,qBAAqB,CAAC;wBAC1D,gCAAgC,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,kCAAkC,CAAC;wBACpF,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,SAAgB,4CAA4C,CAC1D,OAAe,EACf,cAAsB,EACtB,UAAsE;IACpE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,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 standbyVirtualMachinePoolResourcePropertiesSerializer,\n standbyVirtualMachinePoolResourceUpdatePropertiesSerializer,\n StandbyVirtualMachinePoolResource,\n StandbyVirtualMachinePoolResourceUpdate,\n _StandbyVirtualMachinePoolResourceListResult,\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 StandbyVirtualMachinePoolsGetOptionalParams,\n StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams,\n StandbyVirtualMachinePoolsDeleteOptionalParams,\n StandbyVirtualMachinePoolsUpdateOptionalParams,\n StandbyVirtualMachinePoolsListByResourceGroupOptionalParams,\n StandbyVirtualMachinePoolsListBySubscriptionOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyVirtualMachinePoolsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyVirtualMachinePoolsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyVirtualMachinePoolResource> {\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: !result.body.properties?.elasticityProfile\n ? undefined\n : {\n maxReadyCapacity: result.body.properties?.elasticityProfile?.[\"maxReadyCapacity\"],\n minReadyCapacity: result.body.properties?.elasticityProfile?.[\"minReadyCapacity\"],\n },\n virtualMachineState: result.body.properties?.[\"virtualMachineState\"],\n attachedVirtualMachineScaleSetId:\n result.body.properties?.[\"attachedVirtualMachineScaleSetId\"],\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a StandbyVirtualMachinePoolResource */\nexport async function standbyVirtualMachinePoolsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolsGetOptionalParams = { requestOptions: {} },\n): Promise<StandbyVirtualMachinePoolResource> {\n const result = await _standbyVirtualMachinePoolsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n options,\n );\n return _standbyVirtualMachinePoolsGetDeserialize(result);\n}\n\nexport function _standbyVirtualMachinePoolsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n resource: StandbyVirtualMachinePoolResource,\n options: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\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 : standbyVirtualMachinePoolResourcePropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _standbyVirtualMachinePoolsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyVirtualMachinePoolResource> {\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: !result.body.properties?.elasticityProfile\n ? undefined\n : {\n maxReadyCapacity: result.body.properties?.elasticityProfile?.[\"maxReadyCapacity\"],\n minReadyCapacity: result.body.properties?.elasticityProfile?.[\"minReadyCapacity\"],\n },\n virtualMachineState: result.body.properties?.[\"virtualMachineState\"],\n attachedVirtualMachineScaleSetId:\n result.body.properties?.[\"attachedVirtualMachineScaleSetId\"],\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a StandbyVirtualMachinePoolResource */\nexport function standbyVirtualMachinePoolsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n resource: StandbyVirtualMachinePoolResource,\n options: StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<StandbyVirtualMachinePoolResource>,\n StandbyVirtualMachinePoolResource\n> {\n return getLongRunningPoller(\n context,\n _standbyVirtualMachinePoolsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyVirtualMachinePoolsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<StandbyVirtualMachinePoolResource>,\n StandbyVirtualMachinePoolResource\n >;\n}\n\nexport function _standbyVirtualMachinePoolsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyVirtualMachinePoolsDeleteDeserialize(\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 StandbyVirtualMachinePoolResource */\nexport function standbyVirtualMachinePoolsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _standbyVirtualMachinePoolsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyVirtualMachinePoolsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _standbyVirtualMachinePoolsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n properties: StandbyVirtualMachinePoolResourceUpdate,\n options: StandbyVirtualMachinePoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\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 : standbyVirtualMachinePoolResourceUpdatePropertiesSerializer(properties.properties),\n },\n });\n}\n\nexport async function _standbyVirtualMachinePoolsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyVirtualMachinePoolResource> {\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: !result.body.properties?.elasticityProfile\n ? undefined\n : {\n maxReadyCapacity: result.body.properties?.elasticityProfile?.[\"maxReadyCapacity\"],\n minReadyCapacity: result.body.properties?.elasticityProfile?.[\"minReadyCapacity\"],\n },\n virtualMachineState: result.body.properties?.[\"virtualMachineState\"],\n attachedVirtualMachineScaleSetId:\n result.body.properties?.[\"attachedVirtualMachineScaleSetId\"],\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Update a StandbyVirtualMachinePoolResource */\nexport async function standbyVirtualMachinePoolsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n properties: StandbyVirtualMachinePoolResourceUpdate,\n options: StandbyVirtualMachinePoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyVirtualMachinePoolResource> {\n const result = await _standbyVirtualMachinePoolsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n properties,\n options,\n );\n return _standbyVirtualMachinePoolsUpdateDeserialize(result);\n}\n\nexport function _standbyVirtualMachinePoolsListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyVirtualMachinePoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyVirtualMachinePoolsListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyVirtualMachinePoolResourceListResult> {\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: !p.properties?.elasticityProfile\n ? undefined\n : {\n maxReadyCapacity: p.properties?.elasticityProfile?.[\"maxReadyCapacity\"],\n minReadyCapacity: p.properties?.elasticityProfile?.[\"minReadyCapacity\"],\n },\n virtualMachineState: p.properties?.[\"virtualMachineState\"],\n attachedVirtualMachineScaleSetId: p.properties?.[\"attachedVirtualMachineScaleSetId\"],\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyVirtualMachinePoolResource resources by resource group */\nexport function standbyVirtualMachinePoolsListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyVirtualMachinePoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyVirtualMachinePoolsListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n _standbyVirtualMachinePoolsListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _standbyVirtualMachinePoolsListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: StandbyVirtualMachinePoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyVirtualMachinePoolsListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyVirtualMachinePoolResourceListResult> {\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: !p.properties?.elasticityProfile\n ? undefined\n : {\n maxReadyCapacity: p.properties?.elasticityProfile?.[\"maxReadyCapacity\"],\n minReadyCapacity: p.properties?.elasticityProfile?.[\"minReadyCapacity\"],\n },\n virtualMachineState: p.properties?.[\"virtualMachineState\"],\n attachedVirtualMachineScaleSetId: p.properties?.[\"attachedVirtualMachineScaleSetId\"],\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyVirtualMachinePoolResource resources by subscription ID */\nexport function standbyVirtualMachinePoolsListBySubscription(\n context: Client,\n subscriptionId: string,\n options: StandbyVirtualMachinePoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyVirtualMachinePoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _standbyVirtualMachinePoolsListBySubscriptionSend(context, subscriptionId, options),\n _standbyVirtualMachinePoolsListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePools/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAOyB;AANvB,mHAAA,kBAAkB,OAAA;AAClB,oHAAA,mBAAmB,OAAA;AACnB,uGAAA,MAAM,OAAA;AACN,wGAAA,OAAO,OAAA;AACP,+GAAA,cAAc,OAAA;AACd,oGAAA,GAAG,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n update,\n $delete,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport {\n StandbyVirtualMachinePoolsListBySubscriptionOptionalParams,\n StandbyVirtualMachinePoolsListByResourceGroupOptionalParams,\n StandbyVirtualMachinePoolsUpdateOptionalParams,\n StandbyVirtualMachinePoolsDeleteOptionalParams,\n StandbyVirtualMachinePoolsCreateOrUpdateOptionalParams,\n StandbyVirtualMachinePoolsGetOptionalParams,\n} from \"./options.js\";\n"]}