@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,212 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports._listBySubscriptionSend = _listBySubscriptionSend;
6
+ exports._listBySubscriptionDeserialize = _listBySubscriptionDeserialize;
7
+ exports.listBySubscription = listBySubscription;
8
+ exports._listByResourceGroupSend = _listByResourceGroupSend;
9
+ exports._listByResourceGroupDeserialize = _listByResourceGroupDeserialize;
10
+ exports.listByResourceGroup = listByResourceGroup;
11
+ exports._updateSend = _updateSend;
12
+ exports._updateDeserialize = _updateDeserialize;
13
+ exports.update = update;
14
+ exports._$deleteSend = _$deleteSend;
15
+ exports._$deleteDeserialize = _$deleteDeserialize;
16
+ exports.$delete = $delete;
17
+ exports._createOrUpdateSend = _createOrUpdateSend;
18
+ exports._createOrUpdateDeserialize = _createOrUpdateDeserialize;
19
+ exports.createOrUpdate = createOrUpdate;
20
+ exports._getSend = _getSend;
21
+ exports._getDeserialize = _getDeserialize;
22
+ exports.get = get;
23
+ const models_js_1 = require("../../models/models.js");
24
+ const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
25
+ const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
26
+ const urlTemplate_js_1 = require("../../static-helpers/urlTemplate.js");
27
+ const core_client_1 = require("@azure-rest/core-client");
28
+ function _listBySubscriptionSend(context, options = {
29
+ requestOptions: {},
30
+ }) {
31
+ var _a, _b;
32
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}", {
33
+ subscriptionId: context.subscriptionId,
34
+ "api%2Dversion": context.apiVersion,
35
+ }, {
36
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
37
+ });
38
+ 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) }));
39
+ }
40
+ async function _listBySubscriptionDeserialize(result) {
41
+ const expectedStatuses = ["200"];
42
+ if (!expectedStatuses.includes(result.status)) {
43
+ const error = (0, core_client_1.createRestError)(result);
44
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
45
+ throw error;
46
+ }
47
+ return (0, models_js_1._standbyContainerGroupPoolResourceListResultDeserializer)(result.body);
48
+ }
49
+ /** List StandbyContainerGroupPoolResource resources by subscription ID */
50
+ function listBySubscription(context, options = {
51
+ requestOptions: {},
52
+ }) {
53
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
54
+ }
55
+ function _listByResourceGroupSend(context, resourceGroupName, options = {
56
+ requestOptions: {},
57
+ }) {
58
+ var _a, _b;
59
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}", {
60
+ subscriptionId: context.subscriptionId,
61
+ resourceGroupName: resourceGroupName,
62
+ "api%2Dversion": context.apiVersion,
63
+ }, {
64
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
65
+ });
66
+ 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) }));
67
+ }
68
+ async function _listByResourceGroupDeserialize(result) {
69
+ const expectedStatuses = ["200"];
70
+ if (!expectedStatuses.includes(result.status)) {
71
+ const error = (0, core_client_1.createRestError)(result);
72
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
73
+ throw error;
74
+ }
75
+ return (0, models_js_1._standbyContainerGroupPoolResourceListResultDeserializer)(result.body);
76
+ }
77
+ /** List StandbyContainerGroupPoolResource resources by resource group */
78
+ function listByResourceGroup(context, resourceGroupName, options = {
79
+ requestOptions: {},
80
+ }) {
81
+ return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
82
+ }
83
+ function _updateSend(context, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
84
+ requestOptions: {},
85
+ }) {
86
+ var _a, _b;
87
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
88
+ subscriptionId: context.subscriptionId,
89
+ resourceGroupName: resourceGroupName,
90
+ standbyContainerGroupPoolName: standbyContainerGroupPoolName,
91
+ "api%2Dversion": context.apiVersion,
92
+ }, {
93
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
94
+ });
95
+ return context.path(path).patch(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: (0, models_js_1.standbyContainerGroupPoolResourceUpdateSerializer)(properties) }));
96
+ }
97
+ async function _updateDeserialize(result) {
98
+ const expectedStatuses = ["200"];
99
+ if (!expectedStatuses.includes(result.status)) {
100
+ const error = (0, core_client_1.createRestError)(result);
101
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
102
+ throw error;
103
+ }
104
+ return (0, models_js_1.standbyContainerGroupPoolResourceDeserializer)(result.body);
105
+ }
106
+ /** Update a StandbyContainerGroupPoolResource */
107
+ async function update(context, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
108
+ requestOptions: {},
109
+ }) {
110
+ const result = await _updateSend(context, resourceGroupName, standbyContainerGroupPoolName, properties, options);
111
+ return _updateDeserialize(result);
112
+ }
113
+ function _$deleteSend(context, resourceGroupName, standbyContainerGroupPoolName, options = {
114
+ requestOptions: {},
115
+ }) {
116
+ var _a, _b;
117
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
118
+ subscriptionId: context.subscriptionId,
119
+ resourceGroupName: resourceGroupName,
120
+ standbyContainerGroupPoolName: standbyContainerGroupPoolName,
121
+ "api%2Dversion": context.apiVersion,
122
+ }, {
123
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
124
+ });
125
+ return context.path(path).delete(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) }));
126
+ }
127
+ async function _$deleteDeserialize(result) {
128
+ const expectedStatuses = ["202", "204", "200"];
129
+ if (!expectedStatuses.includes(result.status)) {
130
+ const error = (0, core_client_1.createRestError)(result);
131
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
132
+ throw error;
133
+ }
134
+ return;
135
+ }
136
+ /** Delete a StandbyContainerGroupPoolResource */
137
+ /**
138
+ * @fixme delete is a reserved word that cannot be used as an operation name.
139
+ * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
140
+ * to the operation to override the generated name.
141
+ */
142
+ function $delete(context, resourceGroupName, standbyContainerGroupPoolName, options = {
143
+ requestOptions: {},
144
+ }) {
145
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _$deleteDeserialize, ["202", "204", "200"], {
146
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
147
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
148
+ getInitialResponse: () => _$deleteSend(context, resourceGroupName, standbyContainerGroupPoolName, options),
149
+ resourceLocationConfig: "location",
150
+ });
151
+ }
152
+ function _createOrUpdateSend(context, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
153
+ requestOptions: {},
154
+ }) {
155
+ var _a, _b;
156
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
157
+ subscriptionId: context.subscriptionId,
158
+ resourceGroupName: resourceGroupName,
159
+ standbyContainerGroupPoolName: standbyContainerGroupPoolName,
160
+ "api%2Dversion": context.apiVersion,
161
+ }, {
162
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
163
+ });
164
+ return context.path(path).put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { contentType: "application/json", headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers), body: (0, models_js_1.standbyContainerGroupPoolResourceSerializer)(resource) }));
165
+ }
166
+ async function _createOrUpdateDeserialize(result) {
167
+ const expectedStatuses = ["200", "201"];
168
+ if (!expectedStatuses.includes(result.status)) {
169
+ const error = (0, core_client_1.createRestError)(result);
170
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
171
+ throw error;
172
+ }
173
+ return (0, models_js_1.standbyContainerGroupPoolResourceDeserializer)(result.body);
174
+ }
175
+ /** Create a StandbyContainerGroupPoolResource */
176
+ function createOrUpdate(context, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
177
+ requestOptions: {},
178
+ }) {
179
+ return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _createOrUpdateDeserialize, ["200", "201"], {
180
+ updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
181
+ abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
182
+ getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, standbyContainerGroupPoolName, resource, options),
183
+ resourceLocationConfig: "azure-async-operation",
184
+ });
185
+ }
186
+ function _getSend(context, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
187
+ var _a, _b;
188
+ const path = (0, urlTemplate_js_1.expandUrlTemplate)("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}", {
189
+ subscriptionId: context.subscriptionId,
190
+ resourceGroupName: resourceGroupName,
191
+ standbyContainerGroupPoolName: standbyContainerGroupPoolName,
192
+ "api%2Dversion": context.apiVersion,
193
+ }, {
194
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
195
+ });
196
+ 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) }));
197
+ }
198
+ async function _getDeserialize(result) {
199
+ const expectedStatuses = ["200"];
200
+ if (!expectedStatuses.includes(result.status)) {
201
+ const error = (0, core_client_1.createRestError)(result);
202
+ error.details = (0, models_js_1.errorResponseDeserializer)(result.body);
203
+ throw error;
204
+ }
205
+ return (0, models_js_1.standbyContainerGroupPoolResourceDeserializer)(result.body);
206
+ }
207
+ /** Get a StandbyContainerGroupPoolResource */
208
+ async function get(context, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
209
+ const result = await _getSend(context, resourceGroupName, standbyContainerGroupPoolName, options);
210
+ return _getDeserialize(result);
211
+ }
212
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/operations.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAmClC,0DAuBC;AAED,wEAWC;AAGD,gDAaC;AAED,4DAyBC;AAED,0EAWC;AAGD,kDAcC;AAED,kCA8BC;AAED,gDAWC;AAGD,wBAiBC;AAED,oCA2BC;AAED,kDASC;AAQD,0BAeC;AAED,kDA8BC;AAED,gEAWC;AAGD,wCA4BC;AAED,4BAyBC;AAED,0CAWC;AAGD,kBAQC;AA5YD,sDASgC;AAShC,4EAG+C;AAC/C,8EAA8E;AAC9E,wEAAwE;AACxE,yDAKiC;AAGjC,SAAgB,uBAAuB,CACrC,OAAe,EACf,UAAsE;IACpE,cAAc,EAAE,EAAE;CACnB;;IAED,MAAM,IAAI,GAAG,IAAA,kCAAiB,EAC5B,4GAA4G,EAC5G;QACE,cAAc,EAAE,OAAO,CAAC,cAAc;QACtC,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,KAEpC,CAAC;AACL,CAAC;AAEM,KAAK,UAAU,8BAA8B,CAClD,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,IA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MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,IAAA,yDAA6C,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACpE,CAAC;AAED,8CAA8C;AACvC,KAAK,UAAU,GAAG,CACvB,OAAe,EACf,iBAAyB,EACzB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,OAAO,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,CAAC;IAClG,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 StandbyContainerGroupPoolResource,\n standbyContainerGroupPoolResourceSerializer,\n standbyContainerGroupPoolResourceDeserializer,\n StandbyContainerGroupPoolResourceUpdate,\n standbyContainerGroupPoolResourceUpdateSerializer,\n _StandbyContainerGroupPoolResourceListResult,\n _standbyContainerGroupPoolResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\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 _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\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 _standbyContainerGroupPoolResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyContainerGroupPoolResource resources by subscription ID */\nexport function listBySubscription(\n context: Client,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\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 _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\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 _standbyContainerGroupPoolResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyContainerGroupPoolResource resources by resource group */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: standbyContainerGroupPoolResourceUpdateSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\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 standbyContainerGroupPoolResourceDeserializer(result.body);\n}\n\n/** Update a StandbyContainerGroupPoolResource */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n standbyContainerGroupPoolName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"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;\n}\n\n/** Delete a StandbyContainerGroupPoolResource */\n/**\n * @fixme delete is a reserved word that cannot be used as an operation name.\n * Please add @clientName(\"clientName\") or @clientName(\"<JS-Specific-Name>\", \"javascript\")\n * to the operation to override the generated name.\n */\nexport function $delete(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(context, _$deleteDeserialize, [\"202\", \"204\", \"200\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _$deleteSend(context, resourceGroupName, standbyContainerGroupPoolName, options),\n resourceLocationConfig: \"location\",\n }) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n body: standbyContainerGroupPoolResourceSerializer(resource),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n error.details = errorResponseDeserializer(result.body);\n throw error;\n }\n\n return standbyContainerGroupPoolResourceDeserializer(result.body);\n}\n\n/** Create a StandbyContainerGroupPoolResource */\nexport function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n> {\n return getLongRunningPoller(context, _createOrUpdateDeserialize, [\"200\", \"201\"], {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _createOrUpdateSend(\n context,\n resourceGroupName,\n standbyContainerGroupPoolName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n }) as PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n >;\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\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<StandbyContainerGroupPoolResource> {\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 standbyContainerGroupPoolResourceDeserializer(result.body);\n}\n\n/** Get a StandbyContainerGroupPoolResource */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _getSend(context, resourceGroupName, standbyContainerGroupPoolName, options);\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,24 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface StandbyContainerGroupPoolsListBySubscriptionOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface StandbyContainerGroupPoolsListByResourceGroupOptionalParams extends OperationOptions {
7
+ }
8
+ /** Optional parameters. */
9
+ export interface StandbyContainerGroupPoolsUpdateOptionalParams extends OperationOptions {
10
+ }
11
+ /** Optional parameters. */
12
+ export interface StandbyContainerGroupPoolsDeleteOptionalParams extends OperationOptions {
13
+ /** Delay to wait until next poll, in milliseconds. */
14
+ updateIntervalInMs?: number;
15
+ }
16
+ /** Optional parameters. */
17
+ export interface StandbyContainerGroupPoolsCreateOrUpdateOptionalParams extends OperationOptions {
18
+ /** Delay to wait until next poll, in milliseconds. */
19
+ updateIntervalInMs?: number;
20
+ }
21
+ /** Optional parameters. */
22
+ export interface StandbyContainerGroupPoolsGetOptionalParams extends OperationOptions {
23
+ }
24
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,0DACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,2DACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,8CAA+C,SAAQ,gBAAgB;CAAG;AAE3F,2BAA2B;AAC3B,MAAM,WAAW,8CAA+C,SAAQ,gBAAgB;IACtF,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,sDAAuD,SAAQ,gBAAgB;IAC9F,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,2BAA2B;AAC3B,MAAM,WAAW,2CAA4C,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/standbyContainerGroupPools/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 StandbyContainerGroupPoolsListBySubscriptionOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsListByResourceGroupOptionalParams\n extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsDeleteOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsCreateOrUpdateOptionalParams extends OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n}\n\n/** Optional parameters. */\nexport interface StandbyContainerGroupPoolsGetOptionalParams extends OperationOptions {}\n"]}
@@ -1,11 +1,17 @@
1
+ import { Client, ClientOptions } from "@azure-rest/core-client";
1
2
  import { TokenCredential } from "@azure/core-auth";
2
- import { ClientOptions, Client } from "@azure-rest/core-client";
3
- export interface StandbyPoolContext extends Client {
3
+ export interface StandbyPoolManagementContext extends Client {
4
+ /** The API version to use for this operation. */
5
+ /** Known values of {@link KnownVersions} that the service accepts. */
6
+ apiVersion: string;
7
+ /** The ID of the target subscription. The value must be an UUID. */
8
+ subscriptionId: string;
4
9
  }
5
10
  /** Optional parameters for the client. */
6
11
  export interface StandbyPoolManagementClientOptionalParams extends ClientOptions {
7
12
  /** The API version to use for this operation. */
13
+ /** Known values of {@link KnownVersions} that the service accepts. */
8
14
  apiVersion?: string;
9
15
  }
10
- export declare function createStandbyPoolManagement(credential: TokenCredential, options?: StandbyPoolManagementClientOptionalParams): StandbyPoolContext;
16
+ export declare function createStandbyPoolManagement(credential: TokenCredential, subscriptionId: string, options?: StandbyPoolManagementClientOptionalParams): StandbyPoolManagementContext;
11
17
  //# sourceMappingURL=standbyPoolManagementContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"standbyPoolManagementContext.d.ts","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,EAAa,MAAM,yBAAyB,CAAC;AAG3E,MAAM,WAAW,kBAAmB,SAAQ,MAAM;CAAG;AAErD,0CAA0C;AAC1C,MAAM,WAAW,yCAA0C,SAAQ,aAAa;IAC9E,iDAAiD;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,eAAe,EAC3B,OAAO,GAAE,yCAA8C,GACtD,kBAAkB,CAmCpB"}
1
+ {"version":3,"file":"standbyPoolManagementContext.d.ts","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAa,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,WAAW,4BAA6B,SAAQ,MAAM;IAC1D,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,EAAE,MAAM,CAAC;IACnB,oEAAoE;IACpE,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,0CAA0C;AAC1C,MAAM,WAAW,yCAA0C,SAAQ,aAAa;IAC9E,iDAAiD;IACjD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,eAAe,EAC3B,cAAc,EAAE,MAAM,EACtB,OAAO,GAAE,yCAA8C,GACtD,4BAA4B,CAsC9B"}
@@ -4,13 +4,13 @@
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.createStandbyPoolManagement = createStandbyPoolManagement;
6
6
  const tslib_1 = require("tslib");
7
- const core_client_1 = require("@azure-rest/core-client");
8
7
  const logger_js_1 = require("../logger.js");
9
- function createStandbyPoolManagement(credential, options = {}) {
8
+ const core_client_1 = require("@azure-rest/core-client");
9
+ function createStandbyPoolManagement(credential, subscriptionId, options = {}) {
10
10
  var _a, _b, _c, _d, _e, _f, _g, _h;
11
- const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : `https://management.azure.com`;
11
+ const endpointUrl = (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUrl) !== null && _b !== void 0 ? _b : "https://management.azure.com";
12
12
  const prefixFromOptions = (_c = options === null || options === void 0 ? void 0 : options.userAgentOptions) === null || _c === void 0 ? void 0 : _c.userAgentPrefix;
13
- const userAgentInfo = `azsdk-js-arm-standbypool/1.0.2`;
13
+ const userAgentInfo = `azsdk-js-arm-standbypool/2.0.0`;
14
14
  const userAgentPrefix = prefixFromOptions
15
15
  ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`
16
16
  : `azsdk-js-api ${userAgentInfo}`;
@@ -19,7 +19,7 @@ function createStandbyPoolManagement(credential, options = {}) {
19
19
  } }), { apiVersion: _ } = _j, updatedOptions = tslib_1.__rest(_j, ["apiVersion"]);
20
20
  const clientContext = (0, core_client_1.getClient)(endpointUrl, credential, updatedOptions);
21
21
  clientContext.pipeline.removePolicy({ name: "ApiVersionPolicy" });
22
- const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2024-03-01";
22
+ const apiVersion = (_h = options.apiVersion) !== null && _h !== void 0 ? _h : "2025-03-01";
23
23
  clientContext.pipeline.addPolicy({
24
24
  name: "ClientApiVersionPolicy",
25
25
  sendRequest: (req, next) => {
@@ -32,6 +32,7 @@ function createStandbyPoolManagement(credential, options = {}) {
32
32
  return next(req);
33
33
  },
34
34
  });
35
- return clientContext;
35
+ return Object.assign(Object.assign({}, clientContext), { apiVersion,
36
+ subscriptionId });
36
37
  }
37
38
  //# sourceMappingURL=standbyPoolManagementContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"standbyPoolManagementContext.js","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAclC,kEAsCC;;AAjDD,yDAA2E;AAC3E,4CAAsC;AAUtC,SAAgB,2BAA2B,CACzC,UAA2B,EAC3B,UAAqD,EAAE;;IAEvD,MAAM,WAAW,GAAG,MAAA,MAAA,OAAO,CAAC,QAAQ,mCAAI,OAAO,CAAC,OAAO,mCAAI,8BAA8B,CAAC;IAE1F,MAAM,iBAAiB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,0CAAE,eAAe,CAAC;IACrE,MAAM,aAAa,GAAG,gCAAgC,CAAC;IACvD,MAAM,eAAe,GAAG,iBAAiB;QACvC,CAAC,CAAC,GAAG,iBAAiB,iBAAiB,aAAa,EAAE;QACtD,CAAC,CAAC,gBAAgB,aAAa,EAAE,CAAC;IACpC,MAAM,qCACD,OAAO,KACV,gBAAgB,EAAE,EAAE,eAAe,EAAE,EACrC,cAAc,EAAE,EAAE,M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nimport { TokenCredential } from \"@azure/core-auth\";\nimport { ClientOptions, Client, getClient } from \"@azure-rest/core-client\";\nimport { logger } from \"../logger.js\";\n\nexport interface StandbyPoolContext extends Client {}\n\n/** Optional parameters for the client. */\nexport interface StandbyPoolManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n apiVersion?: string;\n}\n\nexport function createStandbyPoolManagement(\n credential: TokenCredential,\n options: StandbyPoolManagementClientOptionalParams = {},\n): StandbyPoolContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? `https://management.azure.com`;\n\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-standbypool/1.0.2`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2024-03-01\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return clientContext;\n}\n"]}
1
+ {"version":3,"file":"standbyPoolManagementContext.js","sourceRoot":"","sources":["../../../src/api/standbyPoolManagementContext.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsBlC,kEA0CC;;AA9DD,4CAAsC;AAEtC,yDAA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GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC7B,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAC;gBACzC,GAAG,CAAC,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,GAClB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GACzD,eAAe,UAAU,EAAE,CAAC;YAC9B,CAAC;YAED,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC;QACnB,CAAC;KACF,CAAC,CAAC;IACH,OAAO,gCACF,aAAa,KAChB,UAAU;QACV,cAAc,GACiB,CAAC;AACpC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { logger } from \"../logger.js\";\nimport { KnownVersions } from \"../models/models.js\";\nimport { Client, ClientOptions, getClient } from \"@azure-rest/core-client\";\nimport { TokenCredential } from \"@azure/core-auth\";\n\nexport interface StandbyPoolManagementContext extends Client {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion: string;\n /** The ID of the target subscription. The value must be an UUID. */\n subscriptionId: string;\n}\n\n/** Optional parameters for the client. */\nexport interface StandbyPoolManagementClientOptionalParams extends ClientOptions {\n /** The API version to use for this operation. */\n /** Known values of {@link KnownVersions} that the service accepts. */\n apiVersion?: string;\n}\n\nexport function createStandbyPoolManagement(\n credential: TokenCredential,\n subscriptionId: string,\n options: StandbyPoolManagementClientOptionalParams = {},\n): StandbyPoolManagementContext {\n const endpointUrl = options.endpoint ?? options.baseUrl ?? \"https://management.azure.com\";\n const prefixFromOptions = options?.userAgentOptions?.userAgentPrefix;\n const userAgentInfo = `azsdk-js-arm-standbypool/2.0.0`;\n const userAgentPrefix = prefixFromOptions\n ? `${prefixFromOptions} azsdk-js-api ${userAgentInfo}`\n : `azsdk-js-api ${userAgentInfo}`;\n const { apiVersion: _, ...updatedOptions } = {\n ...options,\n userAgentOptions: { userAgentPrefix },\n loggingOptions: { logger: options.loggingOptions?.logger ?? logger.info },\n credentials: {\n scopes: options.credentials?.scopes ?? [`${endpointUrl}/.default`],\n },\n };\n const clientContext = getClient(endpointUrl, credential, updatedOptions);\n clientContext.pipeline.removePolicy({ name: \"ApiVersionPolicy\" });\n const apiVersion = options.apiVersion ?? \"2025-03-01\";\n clientContext.pipeline.addPolicy({\n name: \"ClientApiVersionPolicy\",\n sendRequest: (req, next) => {\n // Use the apiVersion defined in request url directly\n // Append one if there is no apiVersion and we have one at client options\n const url = new URL(req.url);\n if (!url.searchParams.get(\"api-version\")) {\n req.url = `${req.url}${\n Array.from(url.searchParams.keys()).length > 0 ? \"&\" : \"?\"\n }api-version=${apiVersion}`;\n }\n\n return next(req);\n },\n });\n return {\n ...clientContext,\n apiVersion,\n subscriptionId,\n } as StandbyPoolManagementContext;\n}\n"]}
@@ -1,14 +1,3 @@
1
- import { StandbyVirtualMachinePoolRuntimeViewResource, _StandbyVirtualMachinePoolRuntimeViewResourceListResult } from "../../models/models.js";
2
- import { StandbyPoolContext as Client } from "../index.js";
3
- import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
4
- import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
- import { StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams, StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams } from "../../models/options.js";
6
- export declare function _standbyVirtualMachinePoolRuntimeViewsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): StreamableMethod;
7
- export declare function _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
8
- /** Get a StandbyVirtualMachinePoolRuntimeViewResource */
9
- export declare function standbyVirtualMachinePoolRuntimeViewsGet(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
10
- export declare function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
11
- export declare function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyVirtualMachinePoolRuntimeViewResourceListResult>;
12
- /** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */
13
- export declare function standbyVirtualMachinePoolRuntimeViewsListByStandbyPool(context: Client, subscriptionId: string, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolRuntimeViewResource>;
1
+ export { listByStandbyPool, get } from "./operations.js";
2
+ export { StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams, } from "./options.js";
14
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,4CAA4C,EAC5C,uDAAuD,EACxD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,kBAAkB,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EACL,gBAAgB,EAEhB,qBAAqB,EAEtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,sDAAsD,EACtD,oEAAoE,EACrE,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,6CAA6C,CAC3D,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sDAER,GACA,gBAAgB,CAUlB;AAED,wBAAsB,oDAAoD,CACxE,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CAwCvD;AAED,yDAAyD;AACzD,wBAAsB,wCAAwC,CAC5D,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sDAER,GACA,OAAO,CAAC,4CAA4C,CAAC,CAUvD;AAED,wBAAgB,2DAA2D,CACzE,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,oEAER,GACA,gBAAgB,CASlB;AAED,wBAAsB,kEAAkE,CACtF,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,uDAAuD,CAAC,CA6ClE;AAED,uGAAuG;AACvG,wBAAgB,sDAAsD,CACpE,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,oEAER,GACA,0BAA0B,CAAC,4CAA4C,CAAC,CAe1E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,oEAAoE,EACpE,sDAAsD,GACvD,MAAM,cAAc,CAAC"}
@@ -2,122 +2,8 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports._standbyVirtualMachinePoolRuntimeViewsGetSend = _standbyVirtualMachinePoolRuntimeViewsGetSend;
6
- exports._standbyVirtualMachinePoolRuntimeViewsGetDeserialize = _standbyVirtualMachinePoolRuntimeViewsGetDeserialize;
7
- exports.standbyVirtualMachinePoolRuntimeViewsGet = standbyVirtualMachinePoolRuntimeViewsGet;
8
- exports._standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend = _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend;
9
- exports._standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize = _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize;
10
- exports.standbyVirtualMachinePoolRuntimeViewsListByStandbyPool = standbyVirtualMachinePoolRuntimeViewsListByStandbyPool;
11
- const core_client_1 = require("@azure-rest/core-client");
12
- const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
13
- function _standbyVirtualMachinePoolRuntimeViewsGetSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, runtimeView, options = {
14
- requestOptions: {},
15
- }) {
16
- return context
17
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}", subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, runtimeView)
18
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
19
- }
20
- async function _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(result) {
21
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
22
- const expectedStatuses = ["200"];
23
- if (!expectedStatuses.includes(result.status)) {
24
- throw (0, core_client_1.createRestError)(result);
25
- }
26
- return {
27
- id: result.body["id"],
28
- name: result.body["name"],
29
- type: result.body["type"],
30
- systemData: !result.body.systemData
31
- ? undefined
32
- : {
33
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
34
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
35
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
36
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
37
- : undefined,
38
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
39
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
40
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
41
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
42
- : undefined,
43
- },
44
- properties: !result.body.properties
45
- ? undefined
46
- : {
47
- instanceCountSummary: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["instanceCountSummary"].map((p) => {
48
- return {
49
- zone: p["zone"],
50
- instanceCountsByState: p["instanceCountsByState"].map((p) => {
51
- return { state: p["state"], count: p["count"] };
52
- }),
53
- };
54
- }),
55
- provisioningState: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k["provisioningState"],
56
- },
57
- };
58
- }
59
- /** Get a StandbyVirtualMachinePoolRuntimeViewResource */
60
- async function standbyVirtualMachinePoolRuntimeViewsGet(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, runtimeView, options = {
61
- requestOptions: {},
62
- }) {
63
- const result = await _standbyVirtualMachinePoolRuntimeViewsGetSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, runtimeView, options);
64
- return _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(result);
65
- }
66
- function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options = {
67
- requestOptions: {},
68
- }) {
69
- return context
70
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews", subscriptionId, resourceGroupName, standbyVirtualMachinePoolName)
71
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
72
- }
73
- async function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize(result) {
74
- const expectedStatuses = ["200"];
75
- if (!expectedStatuses.includes(result.status)) {
76
- throw (0, core_client_1.createRestError)(result);
77
- }
78
- return {
79
- value: result.body["value"].map((p) => {
80
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
81
- return {
82
- id: p["id"],
83
- name: p["name"],
84
- type: p["type"],
85
- systemData: !p.systemData
86
- ? undefined
87
- : {
88
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
89
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
90
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
91
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
92
- : undefined,
93
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
94
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
95
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
96
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
97
- : undefined,
98
- },
99
- properties: !p.properties
100
- ? undefined
101
- : {
102
- instanceCountSummary: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["instanceCountSummary"].map((p) => {
103
- return {
104
- zone: p["zone"],
105
- instanceCountsByState: p["instanceCountsByState"].map((p) => {
106
- return { state: p["state"], count: p["count"] };
107
- }),
108
- };
109
- }),
110
- provisioningState: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["provisioningState"],
111
- },
112
- };
113
- }),
114
- nextLink: result.body["nextLink"],
115
- };
116
- }
117
- /** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */
118
- function standbyVirtualMachinePoolRuntimeViewsListByStandbyPool(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options = {
119
- requestOptions: {},
120
- }) {
121
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(context, subscriptionId, resourceGroupName, standbyVirtualMachinePoolName, options), _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
122
- }
5
+ exports.get = exports.listByStandbyPool = void 0;
6
+ var operations_js_1 = require("./operations.js");
7
+ Object.defineProperty(exports, "listByStandbyPool", { enumerable: true, get: function () { return operations_js_1.listByStandbyPool; } });
8
+ Object.defineProperty(exports, "get", { enumerable: true, get: function () { return operations_js_1.get; } });
123
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAsBlC,sGAmBC;AAED,oHA0CC;AAGD,4FAmBC;AAED,kIAiBC;AAED,gJA+CC;AAGD,wHAuBC;AAlMD,yDAKiC;AACjC,4EAG+C;AAM/C,SAAgB,6CAA6C,CAC3D,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,6BAAqC,EACrC,WAAmB,EACnB,UAAkE;IAChE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,OAAO;SACX,IAAI,CACH,0LAA0L,EAC1L,cAAc,EACd,iBAAiB,EACjB,6BAA6B,EAC7B,WAAW,CACZ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MAAA,CAAC,CAAC,UAAU,0CAAG,gBAAgB,CAAC,CAAC;4BAC5C,CAAC,CAAC,SAAS;qBAChB;gBACL,UAAU,EAAE,CAAC,CAAC,CAAC,UAAU;oBACvB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC;wBACE,oBAAoB,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,sBAAsB,EAAE,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE;4BAC1E,OAAO;gCACL,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;gCACf,qBAAqB,EAAE,CAAC,CAAC,uBAAuB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE;oCAC/D,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,OAAO,CAAC,EAAE,CAAC;gCAClD,CAAC,CAAC;6BACH,CAAC;wBACJ,CAAC,CAAC;wBACF,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,uGAAuG;AACvG,SAAgB,sDAAsD,CACpE,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,6BAAqC,EACrC,UAAgF;IAC9E,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,OAAO,EACP,GAAG,EAAE,CACH,2DAA2D,CACzD,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,6BAA6B,EAC7B,OAAO,CACR,EACH,kEAAkE,EAClE,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 StandbyVirtualMachinePoolRuntimeViewResource,\n _StandbyVirtualMachinePoolRuntimeViewResourceListResult,\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 {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport {\n StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams,\n StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyVirtualMachinePoolRuntimeViewsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n runtimeView: string,\n options: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews/{runtimeView}\",\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n runtimeView,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyVirtualMachinePoolRuntimeViewResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\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 instanceCountSummary: result.body.properties?.[\"instanceCountSummary\"].map((p: any) => {\n return {\n zone: p[\"zone\"],\n instanceCountsByState: p[\"instanceCountsByState\"].map((p: any) => {\n return { state: p[\"state\"], count: p[\"count\"] };\n }),\n };\n }),\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a StandbyVirtualMachinePoolRuntimeViewResource */\nexport async function standbyVirtualMachinePoolRuntimeViewsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n runtimeView: string,\n options: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyVirtualMachinePoolRuntimeViewResource> {\n const result = await _standbyVirtualMachinePoolRuntimeViewsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n runtimeView,\n options,\n );\n return _standbyVirtualMachinePoolRuntimeViewsGetDeserialize(result);\n}\n\nexport function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyVirtualMachinePools/{standbyVirtualMachinePoolName}/runtimeViews\",\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyVirtualMachinePoolRuntimeViewResourceListResult> {\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 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 instanceCountSummary: p.properties?.[\"instanceCountSummary\"].map((p: any) => {\n return {\n zone: p[\"zone\"],\n instanceCountsByState: p[\"instanceCountsByState\"].map((p: any) => {\n return { state: p[\"state\"], count: p[\"count\"] };\n }),\n };\n }),\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */\nexport function standbyVirtualMachinePoolRuntimeViewsListByStandbyPool(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyVirtualMachinePoolName: string,\n options: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyVirtualMachinePoolRuntimeViewResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyVirtualMachinePoolName,\n options,\n ),\n _standbyVirtualMachinePoolRuntimeViewsListByStandbyPoolDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAAyD;AAAhD,kHAAA,iBAAiB,OAAA;AAAE,oGAAA,GAAG,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByStandbyPool, get } from \"./operations.js\";\nexport {\n StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams,\n StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,14 @@
1
+ import { StandbyPoolManagementContext as Client } from "../index.js";
2
+ import { StandbyVirtualMachinePoolRuntimeViewResource, _StandbyVirtualMachinePoolRuntimeViewResourceListResult } from "../../models/models.js";
3
+ import { StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listByStandbyPoolSend(context: Client, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
7
+ export declare function _listByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyVirtualMachinePoolRuntimeViewResourceListResult>;
8
+ /** List StandbyVirtualMachinePoolRuntimeViewResource resources by StandbyVirtualMachinePoolResource */
9
+ export declare function listByStandbyPool(context: Client, resourceGroupName: string, standbyVirtualMachinePoolName: string, options?: StandbyVirtualMachinePoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyVirtualMachinePoolRuntimeViewResource>;
10
+ export declare function _getSend(context: Client, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): StreamableMethod;
11
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
12
+ /** Get a StandbyVirtualMachinePoolRuntimeViewResource */
13
+ export declare function get(context: Client, resourceGroupName: string, standbyVirtualMachinePoolName: string, runtimeView: string, options?: StandbyVirtualMachinePoolRuntimeViewsGetOptionalParams): Promise<StandbyVirtualMachinePoolRuntimeViewResource>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyVirtualMachinePoolRuntimeViews/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAEL,4CAA4C,EAE5C,uDAAuD,EAExD,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,oEAAoE,EACpE,sDAAsD,EACvD,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,sBAAsB,CACpC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,oEAER,GACA,gBAAgB,CAoBlB;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,uDAAuD,CAAC,CASlE;AAED,uGAAuG;AACvG,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,OAAO,GAAE,oEAER,GACA,0BAA0B,CAAC,4CAA4C,CAAC,CAS1E;AAED,wBAAgB,QAAQ,CACtB,OAAO,EAAE,MAAM,EAC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