@azure/arm-standbypool 1.0.2-alpha.20250422.1 → 2.0.0-alpha.20250424.2

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 +145 -12
  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
package/CHANGELOG.md CHANGED
@@ -1,15 +1,40 @@
1
1
  # Release History
2
-
3
- ## 1.0.2 (Unreleased)
4
-
2
+
3
+ ## 2.0.0 (2025-04-16)
4
+
5
5
  ### Features Added
6
6
 
7
- ### Breaking Changes
7
+ - Added Interface ErrorAdditionalInfo
8
+ - Added Interface ErrorDetail
9
+ - Added Interface ErrorResponse
10
+ - Added Interface PoolContainerGroupStateCount
11
+ - Added Interface PoolStatus
12
+ - Added Interface PoolVirtualMachineStateCount
13
+ - Added Interface StandbyContainerGroupPoolForecastValues
14
+ - Added Interface StandbyContainerGroupPoolPrediction
15
+ - Added Interface StandbyVirtualMachinePoolForecastValues
16
+ - Added Interface StandbyVirtualMachinePoolPrediction
17
+ - Added Type Alias HealthStateCode
18
+ - Added Type Alias PoolContainerGroupState
19
+ - Added Type Alias PoolVirtualMachineState
20
+ - Interface ContainerGroupInstanceCountSummary has a new optional parameter zone
21
+ - Interface StandbyContainerGroupPoolResourceProperties has a new optional parameter zones
22
+ - Interface StandbyContainerGroupPoolResourceUpdateProperties has a new optional parameter zones
23
+ - Interface StandbyContainerGroupPoolRuntimeViewResourceProperties has a new optional parameter prediction
24
+ - Interface StandbyContainerGroupPoolRuntimeViewResourceProperties has a new optional parameter status
25
+ - Interface StandbyVirtualMachinePoolRuntimeViewResourceProperties has a new optional parameter prediction
26
+ - Interface StandbyVirtualMachinePoolRuntimeViewResourceProperties has a new optional parameter status
27
+ - Added Enum KnownHealthStateCode
28
+ - Added Enum KnownPoolContainerGroupState
29
+ - Added Enum KnownPoolVirtualMachineState
30
+ - Added Enum KnownVersions
31
+ - Enum KnownVirtualMachineState has a new value Hibernated
8
32
 
9
- ### Bugs Fixed
10
-
11
- ### Other Changes
33
+ ### Breaking Changes
12
34
 
35
+ - Type of parameter instanceCountsByState of interface ContainerGroupInstanceCountSummary is changed from PoolResourceStateCount[] to PoolContainerGroupStateCount[]
36
+ - Type of parameter instanceCountsByState of interface VirtualMachineInstanceCountSummary is changed from PoolResourceStateCount[] to PoolVirtualMachineStateCount[]
37
+
13
38
  ## 1.0.1 (2024-11-04)
14
39
 
15
40
  ### Bugs Fixed
package/LICENSE CHANGED
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,10 +2,14 @@
2
2
 
3
3
  This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure StandbyPoolManagement client.
4
4
 
5
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool) |
6
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-standbypool) |
7
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-standbypool?view=azure-node-preview) |
8
- [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
5
+
6
+
7
+ Key links:
8
+
9
+ - [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool)
10
+ - [Package (NPM)](https://www.npmjs.com/package/@azure/arm-standbypool)
11
+ - [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-standbypool?view=azure-node-preview)
12
+ - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool/samples)
9
13
 
10
14
  ## Getting started
11
15
 
@@ -42,7 +46,6 @@ npm install @azure/identity
42
46
  ```
43
47
 
44
48
  You will also need to **register a new AAD application and grant access to Azure StandbyPool** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
45
- Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
46
49
 
47
50
  For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
51
 
@@ -65,13 +68,13 @@ import { StandbyPoolManagementClient } from "@azure/arm-standbypool";
65
68
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
66
69
  const credential = new InteractiveBrowserCredential({
67
70
  tenantId: "<YOUR_TENANT_ID>",
68
- clientId: "<YOUR_CLIENT_ID>",
69
- });
71
+ clientId: "<YOUR_CLIENT_ID>"
72
+ });
70
73
  const client = new StandbyPoolManagementClient(credential, subscriptionId);
71
74
  ```
72
75
 
73
- ### JavaScript Bundle
74
76
 
77
+ ### JavaScript Bundle
75
78
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
76
79
 
77
80
  ## Key concepts
@@ -94,6 +97,10 @@ setLogLevel("info");
94
97
 
95
98
  For more detailed instructions on how to enable logs, you can look at the [@azure/logger package docs](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/core/logger).
96
99
 
100
+ ## Next steps
101
+
102
+ Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/standbypool/arm-standbypool/samples) directory for detailed examples on how to use this library.
103
+
97
104
  ## Contributing
98
105
 
99
106
  If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code.
@@ -1,8 +1,2 @@
1
- export { createStandbyPoolManagement, StandbyPoolContext, StandbyPoolManagementClientOptionalParams, } from "./standbyPoolManagementContext.js";
2
- export { operationsList } from "./operations/index.js";
3
- export { standbyContainerGroupPoolRuntimeViewsGet, standbyContainerGroupPoolRuntimeViewsListByStandbyPool, } from "./standbyContainerGroupPoolRuntimeViews/index.js";
4
- export { standbyContainerGroupPoolsGet, standbyContainerGroupPoolsCreateOrUpdate, standbyContainerGroupPoolsDelete, standbyContainerGroupPoolsUpdate, standbyContainerGroupPoolsListByResourceGroup, standbyContainerGroupPoolsListBySubscription, } from "./standbyContainerGroupPools/index.js";
5
- export { standbyVirtualMachinePoolRuntimeViewsGet, standbyVirtualMachinePoolRuntimeViewsListByStandbyPool, } from "./standbyVirtualMachinePoolRuntimeViews/index.js";
6
- export { standbyVirtualMachinePoolsGet, standbyVirtualMachinePoolsCreateOrUpdate, standbyVirtualMachinePoolsDelete, standbyVirtualMachinePoolsUpdate, standbyVirtualMachinePoolsListByResourceGroup, standbyVirtualMachinePoolsListBySubscription, } from "./standbyVirtualMachinePools/index.js";
7
- export { standbyVirtualMachinesGet, standbyVirtualMachinesListByStandbyVirtualMachinePoolResource, } from "./standbyVirtualMachines/index.js";
1
+ export { createStandbyPoolManagement, StandbyPoolManagementContext, StandbyPoolManagementClientOptionalParams, } from "./standbyPoolManagementContext.js";
8
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,yCAAyC,GAC1C,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EACL,wCAAwC,EACxC,sDAAsD,GACvD,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,6BAA6B,EAC7B,wCAAwC,EACxC,gCAAgC,EAChC,gCAAgC,EAChC,6CAA6C,EAC7C,4CAA4C,GAC7C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,wCAAwC,EACxC,sDAAsD,GACvD,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,6BAA6B,EAC7B,wCAAwC,EACxC,gCAAgC,EAChC,gCAAgC,EAChC,6CAA6C,EAC7C,4CAA4C,GAC7C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,yBAAyB,EACzB,6DAA6D,GAC9D,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,yCAAyC,GAC1C,MAAM,mCAAmC,CAAC"}
@@ -1,10 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
3
  export { createStandbyPoolManagement, } from "./standbyPoolManagementContext.js";
4
- export { operationsList } from "./operations/index.js";
5
- export { standbyContainerGroupPoolRuntimeViewsGet, standbyContainerGroupPoolRuntimeViewsListByStandbyPool, } from "./standbyContainerGroupPoolRuntimeViews/index.js";
6
- export { standbyContainerGroupPoolsGet, standbyContainerGroupPoolsCreateOrUpdate, standbyContainerGroupPoolsDelete, standbyContainerGroupPoolsUpdate, standbyContainerGroupPoolsListByResourceGroup, standbyContainerGroupPoolsListBySubscription, } from "./standbyContainerGroupPools/index.js";
7
- export { standbyVirtualMachinePoolRuntimeViewsGet, standbyVirtualMachinePoolRuntimeViewsListByStandbyPool, } from "./standbyVirtualMachinePoolRuntimeViews/index.js";
8
- export { standbyVirtualMachinePoolsGet, standbyVirtualMachinePoolsCreateOrUpdate, standbyVirtualMachinePoolsDelete, standbyVirtualMachinePoolsUpdate, standbyVirtualMachinePoolsListByResourceGroup, standbyVirtualMachinePoolsListBySubscription, } from "./standbyVirtualMachinePools/index.js";
9
- export { standbyVirtualMachinesGet, standbyVirtualMachinesListByStandbyVirtualMachinePoolResource, } from "./standbyVirtualMachines/index.js";
10
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,2BAA2B,GAG5B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EACL,wCAAwC,EACxC,sDAAsD,GACvD,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,6BAA6B,EAC7B,wCAAwC,EACxC,gCAAgC,EAChC,gCAAgC,EAChC,6CAA6C,EAC7C,4CAA4C,GAC7C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,wCAAwC,EACxC,sDAAsD,GACvD,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EACL,6BAA6B,EAC7B,wCAAwC,EACxC,gCAAgC,EAChC,gCAAgC,EAChC,6CAA6C,EAC7C,4CAA4C,GAC7C,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,yBAAyB,EACzB,6DAA6D,GAC9D,MAAM,mCAAmC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createStandbyPoolManagement,\n StandbyPoolContext,\n StandbyPoolManagementClientOptionalParams,\n} from \"./standbyPoolManagementContext.js\";\nexport { operationsList } from \"./operations/index.js\";\nexport {\n standbyContainerGroupPoolRuntimeViewsGet,\n standbyContainerGroupPoolRuntimeViewsListByStandbyPool,\n} from \"./standbyContainerGroupPoolRuntimeViews/index.js\";\nexport {\n standbyContainerGroupPoolsGet,\n standbyContainerGroupPoolsCreateOrUpdate,\n standbyContainerGroupPoolsDelete,\n standbyContainerGroupPoolsUpdate,\n standbyContainerGroupPoolsListByResourceGroup,\n standbyContainerGroupPoolsListBySubscription,\n} from \"./standbyContainerGroupPools/index.js\";\nexport {\n standbyVirtualMachinePoolRuntimeViewsGet,\n standbyVirtualMachinePoolRuntimeViewsListByStandbyPool,\n} from \"./standbyVirtualMachinePoolRuntimeViews/index.js\";\nexport {\n standbyVirtualMachinePoolsGet,\n standbyVirtualMachinePoolsCreateOrUpdate,\n standbyVirtualMachinePoolsDelete,\n standbyVirtualMachinePoolsUpdate,\n standbyVirtualMachinePoolsListByResourceGroup,\n standbyVirtualMachinePoolsListBySubscription,\n} from \"./standbyVirtualMachinePools/index.js\";\nexport {\n standbyVirtualMachinesGet,\n standbyVirtualMachinesListByStandbyVirtualMachinePoolResource,\n} from \"./standbyVirtualMachines/index.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,2BAA2B,GAG5B,MAAM,mCAAmC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n createStandbyPoolManagement,\n StandbyPoolManagementContext,\n StandbyPoolManagementClientOptionalParams,\n} from \"./standbyPoolManagementContext.js\";\n"]}
@@ -1,10 +1,3 @@
1
- import { Operation, _OperationListResult } 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 { OperationsListOptionalParams } from "../../models/options.js";
6
- export declare function _operationsListSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
7
- export declare function _operationsListDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
8
- /** List the operations for the provider */
9
- export declare function operationsList(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1
+ export { list } from "./operations.js";
2
+ export { OperationsListOptionalParams } from "./options.js";
10
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACzE,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,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAEvE,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAIlB;AAED,wBAAsB,0BAA0B,CAC9C,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAyB/B;AAED,2CAA2C;AAC3C,wBAAgB,cAAc,CAC5B,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,0BAA0B,CAAC,SAAS,CAAC,CAQvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC"}
@@ -1,40 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
4
- import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
- export function _operationsListSend(context, options = { requestOptions: {} }) {
6
- return context
7
- .path("/providers/Microsoft.StandbyPool/operations")
8
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
9
- }
10
- export async function _operationsListDeserialize(result) {
11
- const expectedStatuses = ["200"];
12
- if (!expectedStatuses.includes(result.status)) {
13
- throw createRestError(result);
14
- }
15
- return {
16
- value: result.body["value"].map((p) => {
17
- var _a, _b, _c, _d;
18
- return {
19
- name: p["name"],
20
- isDataAction: p["isDataAction"],
21
- display: !p.display
22
- ? undefined
23
- : {
24
- provider: (_a = p.display) === null || _a === void 0 ? void 0 : _a["provider"],
25
- resource: (_b = p.display) === null || _b === void 0 ? void 0 : _b["resource"],
26
- operation: (_c = p.display) === null || _c === void 0 ? void 0 : _c["operation"],
27
- description: (_d = p.display) === null || _d === void 0 ? void 0 : _d["description"],
28
- },
29
- origin: p["origin"],
30
- actionType: p["actionType"],
31
- };
32
- }),
33
- nextLink: result.body["nextLink"],
34
- };
35
- }
36
- /** List the operations for the provider */
37
- export function operationsList(context, options = { requestOptions: {} }) {
38
- return buildPagedAsyncIterator(context, () => _operationsListSend(context, options), _operationsListDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
39
- }
3
+ export { list } from "./operations.js";
40
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,OAAO,EAEL,mCAAmC,EAEnC,eAAe,GAChB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAG/C,MAAM,UAAU,mBAAmB,CACjC,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,OAAO;SACX,IAAI,CAAC,6CAA6C,CAAC;SACnD,GAAG,mBAAM,mCAAmC,CAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,0BAA0B,CAC9C,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAM,EAAE,EAAE;;YACzC,OAAO;gBACL,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC;gBACf,YAAY,EAAE,CAAC,CAAC,cAAc,CAAC;gBAC/B,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO;oBACjB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC;wBACE,QAAQ,EAAE,MAAA,CAAC,CAAC,OAAO,0CAAG,UAAU,CAAC;wBACjC,QAAQ,EAAE,MAAA,CAAC,CAAC,OAAO,0CAAG,UAAU,CAAC;wBACjC,SAAS,EAAE,MAAA,CAAC,CAAC,OAAO,0CAAG,WAAW,CAAC;wBACnC,WAAW,EAAE,MAAA,CAAC,CAAC,OAAO,0CAAG,aAAa,CAAC;qBACxC;gBACL,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC;gBACnB,UAAU,EAAE,CAAC,CAAC,YAAY,CAAC;aAC5B,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,cAAc,CAC5B,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,EAC3C,0BAA0B,EAC1B,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 { Operation, _OperationListResult } 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 { OperationsListOptionalParams } from \"../../models/options.js\";\n\nexport function _operationsListSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\"/providers/Microsoft.StandbyPool/operations\")\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _operationsListDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\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 name: p[\"name\"],\n isDataAction: p[\"isDataAction\"],\n display: !p.display\n ? undefined\n : {\n provider: p.display?.[\"provider\"],\n resource: p.display?.[\"resource\"],\n operation: p.display?.[\"operation\"],\n description: p.display?.[\"description\"],\n },\n origin: p[\"origin\"],\n actionType: p[\"actionType\"],\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List the operations for the provider */\nexport function operationsList(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _operationsListSend(context, options),\n _operationsListDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/operations/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { list } from \"./operations.js\";\nexport { OperationsListOptionalParams } from \"./options.js\";\n"]}
@@ -0,0 +1,10 @@
1
+ import { StandbyPoolManagementContext as Client } from "../index.js";
2
+ import { _OperationListResult, Operation } from "../../models/models.js";
3
+ import { OperationsListOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listSend(context: Client, options?: OperationsListOptionalParams): StreamableMethod;
7
+ export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_OperationListResult>;
8
+ /** List the operations for the provider */
9
+ export declare function list(context: Client, options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
10
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EACL,oBAAoB,EAEpB,SAAS,EAEV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AAEjC,wBAAgB,SAAS,CACvB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,gBAAgB,CAiBlB;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,oBAAoB,CAAC,CAS/B;AAED,2CAA2C;AAC3C,wBAAgB,IAAI,CAClB,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,4BAAqD,GAC7D,0BAA0B,CAAC,SAAS,CAAC,CAQvC"}
@@ -0,0 +1,29 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { _operationListResultDeserializer, errorResponseDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _listSend(context, options = { requestOptions: {} }) {
8
+ var _a, _b;
9
+ const path = expandUrlTemplate("/providers/Microsoft.StandbyPool/operations{?api%2Dversion}", {
10
+ "api%2Dversion": context.apiVersion,
11
+ }, {
12
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
13
+ });
14
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
15
+ }
16
+ export async function _listDeserialize(result) {
17
+ const expectedStatuses = ["200"];
18
+ if (!expectedStatuses.includes(result.status)) {
19
+ const error = createRestError(result);
20
+ error.details = errorResponseDeserializer(result.body);
21
+ throw error;
22
+ }
23
+ return _operationListResultDeserializer(result.body);
24
+ }
25
+ /** List the operations for the provider */
26
+ export function list(context, options = { requestOptions: {} }) {
27
+ return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
28
+ }
29
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/operations/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAGlC,OAAO,EAEL,gCAAgC,EAEhC,yBAAyB,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAGL,eAAe,EACf,mCAAmC,GACpC,MAAM,yBAAyB,CAAC;AAEjC,MAAM,UAAU,SAAS,CACvB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;;IAE9D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,6DAA6D,EAC7D;QACE,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,mCAAmC,CAAC,OAAO,CAAC,KAC/C,OAAO,kBACL,MAAM,EAAE,kBAAkB,IACvB,MAAA,OAAO,CAAC,cAAc,0CAAE,OAAO,KAEpC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,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,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,KAAK,CAAC,OAAO,GAAG,yBAAyB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACvD,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,gCAAgC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,IAAI,CAClB,OAAe,EACf,UAAwC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE9D,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,EACjC,gBAAgB,EAChB,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 { StandbyPoolManagementContext as Client } from \"../index.js\";\nimport {\n _OperationListResult,\n _operationListResultDeserializer,\n Operation,\n errorResponseDeserializer,\n} from \"../../models/models.js\";\nimport { OperationsListOptionalParams } from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listSend(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/providers/Microsoft.StandbyPool/operations{?api%2Dversion}\",\n {\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 _listDeserialize(\n result: PathUncheckedResponse,\n): Promise<_OperationListResult> {\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 _operationListResultDeserializer(result.body);\n}\n\n/** List the operations for the provider */\nexport function list(\n context: Client,\n options: OperationsListOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<Operation> {\n return buildPagedAsyncIterator(\n context,\n () => _listSend(context, options),\n _listDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface OperationsListOptionalParams extends OperationOptions {
4
+ }
5
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/operations/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,4BAA6B,SAAQ,gBAAgB;CAAG"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/operations/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 OperationsListOptionalParams extends OperationOptions {}\n"]}
@@ -1,14 +1,3 @@
1
- import { StandbyContainerGroupPoolRuntimeViewResource, _StandbyContainerGroupPoolRuntimeViewResourceListResult } 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 { StandbyContainerGroupPoolRuntimeViewsGetOptionalParams, StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams } from "../../models/options.js";
6
- export declare function _standbyContainerGroupPoolRuntimeViewsGetSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): StreamableMethod;
7
- export declare function _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
8
- /** Get a StandbyContainerGroupPoolRuntimeViewResource */
9
- export declare function standbyContainerGroupPoolRuntimeViewsGet(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
10
- export declare function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
11
- export declare function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult>;
12
- /** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
13
- export declare function standbyContainerGroupPoolRuntimeViewsListByStandbyPool(context: Client, subscriptionId: string, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource>;
1
+ export { listByStandbyPool, get } from "./operations.js";
2
+ export { StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyContainerGroupPoolRuntimeViewsGetOptionalParams, } from "./options.js";
14
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/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,CAuCvD;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,CA4ClE;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/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,oEAAoE,EACpE,sDAAsD,GACvD,MAAM,cAAc,CAAC"}
@@ -1,113 +1,4 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- import { operationOptionsToRequestParameters, createRestError, } from "@azure-rest/core-client";
4
- import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
- export function _standbyContainerGroupPoolRuntimeViewsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
6
- requestOptions: {},
7
- }) {
8
- return context
9
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView)
10
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
11
- }
12
- export async function _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
14
- const expectedStatuses = ["200"];
15
- if (!expectedStatuses.includes(result.status)) {
16
- throw createRestError(result);
17
- }
18
- return {
19
- id: result.body["id"],
20
- name: result.body["name"],
21
- type: result.body["type"],
22
- systemData: !result.body.systemData
23
- ? undefined
24
- : {
25
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
26
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
27
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
28
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
29
- : undefined,
30
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
31
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
32
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
33
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
34
- : undefined,
35
- },
36
- properties: !result.body.properties
37
- ? undefined
38
- : {
39
- instanceCountSummary: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j["instanceCountSummary"].map((p) => {
40
- return {
41
- instanceCountsByState: p["instanceCountsByState"].map((p) => {
42
- return { state: p["state"], count: p["count"] };
43
- }),
44
- };
45
- }),
46
- provisioningState: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k["provisioningState"],
47
- },
48
- };
49
- }
50
- /** Get a StandbyContainerGroupPoolRuntimeViewResource */
51
- export async function standbyContainerGroupPoolRuntimeViewsGet(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
52
- requestOptions: {},
53
- }) {
54
- const result = await _standbyContainerGroupPoolRuntimeViewsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options);
55
- return _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result);
56
- }
57
- export function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
58
- requestOptions: {},
59
- }) {
60
- return context
61
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
62
- .get(Object.assign({}, operationOptionsToRequestParameters(options)));
63
- }
64
- export async function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize(result) {
65
- const expectedStatuses = ["200"];
66
- if (!expectedStatuses.includes(result.status)) {
67
- throw createRestError(result);
68
- }
69
- return {
70
- value: result.body["value"].map((p) => {
71
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
72
- return {
73
- id: p["id"],
74
- name: p["name"],
75
- type: p["type"],
76
- systemData: !p.systemData
77
- ? undefined
78
- : {
79
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
80
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
81
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
82
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
83
- : undefined,
84
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
85
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
86
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
87
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
88
- : undefined,
89
- },
90
- properties: !p.properties
91
- ? undefined
92
- : {
93
- instanceCountSummary: (_j = p.properties) === null || _j === void 0 ? void 0 : _j["instanceCountSummary"].map((p) => {
94
- return {
95
- instanceCountsByState: p["instanceCountsByState"].map((p) => {
96
- return { state: p["state"], count: p["count"] };
97
- }),
98
- };
99
- }),
100
- provisioningState: (_k = p.properties) === null || _k === void 0 ? void 0 : _k["provisioningState"],
101
- },
102
- };
103
- }),
104
- nextLink: result.body["nextLink"],
105
- };
106
- }
107
- /** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
108
- export function standbyContainerGroupPoolRuntimeViewsListByStandbyPool(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
109
- requestOptions: {},
110
- }) {
111
- return buildPagedAsyncIterator(context, () => _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options), _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
112
- }
3
+ export { listByStandbyPool, get } from "./operations.js";
113
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n StandbyContainerGroupPoolRuntimeViewResource,\n _StandbyContainerGroupPoolRuntimeViewResourceListResult,\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 StandbyContainerGroupPoolRuntimeViewsGetOptionalParams,\n StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyContainerGroupPoolRuntimeViewsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n runtimeView,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolRuntimeViewsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\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 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 StandbyContainerGroupPoolRuntimeViewResource */\nexport async function standbyContainerGroupPoolRuntimeViewsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\n const result = await _standbyContainerGroupPoolRuntimeViewsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n runtimeView,\n options,\n );\n return _standbyContainerGroupPoolRuntimeViewsGetDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult> {\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 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 StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolRuntimeViewsListByStandbyPool(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n ),\n _standbyContainerGroupPoolRuntimeViewsListByStandbyPoolDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByStandbyPool, get } from \"./operations.js\";\nexport {\n StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams,\n StandbyContainerGroupPoolRuntimeViewsGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,14 @@
1
+ import { StandbyPoolManagementContext as Client } from "../index.js";
2
+ import { StandbyContainerGroupPoolRuntimeViewResource, _StandbyContainerGroupPoolRuntimeViewResourceListResult } from "../../models/models.js";
3
+ import { StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams, StandbyContainerGroupPoolRuntimeViewsGetOptionalParams } 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, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): StreamableMethod;
7
+ export declare function _listByStandbyPoolDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult>;
8
+ /** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
9
+ export declare function listByStandbyPool(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource>;
10
+ export declare function _getSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): StreamableMethod;
11
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
12
+ /** Get a StandbyContainerGroupPoolRuntimeViewResource */
13
+ export declare function get(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, runtimeView: string, options?: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams): Promise<StandbyContainerGroupPoolRuntimeViewResource>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/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,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sDAER,GACA,gBAAgB,CAqBlB;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CASvD;AAED,yDAAyD;AACzD,wBAAsB,GAAG,CACvB,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,6BAA6B,EAAE,MAAM,EACrC,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,sDAER,GACA,OAAO,CAAC,4CAA4C,CAAC,CASvD"}
@@ -0,0 +1,67 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { errorResponseDeserializer, standbyContainerGroupPoolRuntimeViewResourceDeserializer, _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator, } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters, } from "@azure-rest/core-client";
7
+ export function _listByStandbyPoolSend(context, resourceGroupName, standbyContainerGroupPoolName, options = {
8
+ requestOptions: {},
9
+ }) {
10
+ var _a, _b;
11
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews{?api%2Dversion}", {
12
+ subscriptionId: context.subscriptionId,
13
+ resourceGroupName: resourceGroupName,
14
+ standbyContainerGroupPoolName: standbyContainerGroupPoolName,
15
+ "api%2Dversion": context.apiVersion,
16
+ }, {
17
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
18
+ });
19
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
20
+ }
21
+ export async function _listByStandbyPoolDeserialize(result) {
22
+ const expectedStatuses = ["200"];
23
+ if (!expectedStatuses.includes(result.status)) {
24
+ const error = createRestError(result);
25
+ error.details = errorResponseDeserializer(result.body);
26
+ throw error;
27
+ }
28
+ return _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer(result.body);
29
+ }
30
+ /** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */
31
+ export function listByStandbyPool(context, resourceGroupName, standbyContainerGroupPoolName, options = {
32
+ requestOptions: {},
33
+ }) {
34
+ return buildPagedAsyncIterator(context, () => _listByStandbyPoolSend(context, resourceGroupName, standbyContainerGroupPoolName, options), _listByStandbyPoolDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
35
+ }
36
+ export function _getSend(context, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
37
+ requestOptions: {},
38
+ }) {
39
+ var _a, _b;
40
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}{?api%2Dversion}", {
41
+ subscriptionId: context.subscriptionId,
42
+ resourceGroupName: resourceGroupName,
43
+ standbyContainerGroupPoolName: standbyContainerGroupPoolName,
44
+ runtimeView: runtimeView,
45
+ "api%2Dversion": context.apiVersion,
46
+ }, {
47
+ allowReserved: (_a = options === null || options === void 0 ? void 0 : options.requestOptions) === null || _a === void 0 ? void 0 : _a.skipUrlEncoding,
48
+ });
49
+ return context.path(path).get(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { headers: Object.assign({ accept: "application/json" }, (_b = options.requestOptions) === null || _b === void 0 ? void 0 : _b.headers) }));
50
+ }
51
+ export async function _getDeserialize(result) {
52
+ const expectedStatuses = ["200"];
53
+ if (!expectedStatuses.includes(result.status)) {
54
+ const error = createRestError(result);
55
+ error.details = errorResponseDeserializer(result.body);
56
+ throw error;
57
+ }
58
+ return standbyContainerGroupPoolRuntimeViewResourceDeserializer(result.body);
59
+ }
60
+ /** Get a StandbyContainerGroupPoolRuntimeViewResource */
61
+ export async function get(context, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options = {
62
+ requestOptions: {},
63
+ }) {
64
+ const result = await _getSend(context, resourceGroupName, standbyContainerGroupPoolName, runtimeView, options);
65
+ return _getDeserialize(result);
66
+ }
67
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/operations.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { StandbyPoolManagementContext as Client } from \"../index.js\";\nimport {\n errorResponseDeserializer,\n StandbyContainerGroupPoolRuntimeViewResource,\n standbyContainerGroupPoolRuntimeViewResourceDeserializer,\n _StandbyContainerGroupPoolRuntimeViewResourceListResult,\n _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer,\n} from \"../../models/models.js\";\nimport {\n StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams,\n StandbyContainerGroupPoolRuntimeViewsGetOptionalParams,\n} from \"./options.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport {\n StreamableMethod,\n PathUncheckedResponse,\n createRestError,\n operationOptionsToRequestParameters,\n} from \"@azure-rest/core-client\";\n\nexport function _listByStandbyPoolSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews{?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 _listByStandbyPoolDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolRuntimeViewResourceListResult> {\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 _standbyContainerGroupPoolRuntimeViewResourceListResultDeserializer(result.body);\n}\n\n/** List StandbyContainerGroupPoolRuntimeViewResource resources by StandbyContainerGroupPoolResource */\nexport function listByStandbyPool(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolRuntimeViewResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _listByStandbyPoolSend(context, resourceGroupName, standbyContainerGroupPoolName, options),\n _listByStandbyPoolDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}/runtimeViews/{runtimeView}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n standbyContainerGroupPoolName: standbyContainerGroupPoolName,\n runtimeView: runtimeView,\n \"api%2Dversion\": context.apiVersion,\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: {\n accept: \"application/json\",\n ...options.requestOptions?.headers,\n },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\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 standbyContainerGroupPoolRuntimeViewResourceDeserializer(result.body);\n}\n\n/** Get a StandbyContainerGroupPoolRuntimeViewResource */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n runtimeView: string,\n options: StandbyContainerGroupPoolRuntimeViewsGetOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolRuntimeViewResource> {\n const result = await _getSend(\n context,\n resourceGroupName,\n standbyContainerGroupPoolName,\n runtimeView,\n options,\n );\n return _getDeserialize(result);\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface StandbyContainerGroupPoolRuntimeViewsListByStandbyPoolOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface StandbyContainerGroupPoolRuntimeViewsGetOptionalParams extends OperationOptions {
7
+ }
8
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPoolRuntimeViews/options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,2BAA2B;AAC3B,MAAM,WAAW,oEACf,SAAQ,gBAAgB;CAAG;AAE7B,2BAA2B;AAC3B,MAAM,WAAW,sDAAuD,SAAQ,gBAAgB;CAAG"}