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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (566) hide show
  1. package/CHANGELOG.md +32 -7
  2. package/LICENSE +1 -1
  3. package/README.md +15 -8
  4. package/dist/browser/api/index.d.ts +1 -7
  5. package/dist/browser/api/index.d.ts.map +1 -1
  6. package/dist/browser/api/index.js +0 -6
  7. package/dist/browser/api/index.js.map +1 -1
  8. package/dist/browser/api/operations/index.d.ts +2 -9
  9. package/dist/browser/api/operations/index.d.ts.map +1 -1
  10. package/dist/browser/api/operations/index.js +1 -37
  11. package/dist/browser/api/operations/index.js.map +1 -1
  12. package/dist/browser/api/operations/operations.d.ts +10 -0
  13. package/dist/browser/api/operations/operations.d.ts.map +1 -0
  14. package/dist/browser/api/operations/operations.js +29 -0
  15. package/dist/browser/api/operations/operations.js.map +1 -0
  16. package/dist/browser/api/operations/options.d.ts +5 -0
  17. package/dist/browser/api/operations/options.d.ts.map +1 -0
  18. package/dist/browser/api/operations/options.js.map +1 -0
  19. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  20. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  21. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
  22. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  23. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  24. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  25. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
  26. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  27. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  28. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  29. package/dist/browser/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  30. package/dist/browser/api/standbyContainerGroupPools/index.d.ts +2 -30
  31. package/dist/browser/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  32. package/dist/browser/api/standbyContainerGroupPools/index.js +1 -359
  33. package/dist/browser/api/standbyContainerGroupPools/index.js.map +1 -1
  34. package/dist/browser/api/standbyContainerGroupPools/operations.d.ts +36 -0
  35. package/dist/browser/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  36. package/dist/browser/api/standbyContainerGroupPools/operations.js +192 -0
  37. package/dist/browser/api/standbyContainerGroupPools/operations.js.map +1 -0
  38. package/dist/browser/api/standbyContainerGroupPools/options.d.ts +24 -0
  39. package/dist/browser/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  40. package/dist/browser/api/standbyContainerGroupPools/options.js.map +1 -0
  41. package/dist/browser/api/standbyPoolManagementContext.d.ts +9 -3
  42. package/dist/browser/api/standbyPoolManagementContext.d.ts.map +1 -1
  43. package/dist/browser/api/standbyPoolManagementContext.js +7 -6
  44. package/dist/browser/api/standbyPoolManagementContext.js.map +1 -1
  45. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  46. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  47. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
  48. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  49. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  50. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  51. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
  52. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  53. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  54. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  55. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
  56. package/dist/browser/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  57. package/dist/browser/api/standbyVirtualMachinePools/index.d.ts +2 -30
  58. package/dist/browser/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  59. package/dist/browser/api/standbyVirtualMachinePools/index.js +1 -324
  60. package/dist/browser/api/standbyVirtualMachinePools/index.js.map +1 -1
  61. package/dist/browser/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  62. package/dist/browser/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  63. package/dist/browser/api/standbyVirtualMachinePools/operations.js +192 -0
  64. package/dist/browser/api/standbyVirtualMachinePools/operations.js.map +1 -0
  65. package/dist/browser/api/standbyVirtualMachinePools/options.d.ts +24 -0
  66. package/dist/browser/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  67. package/dist/browser/api/standbyVirtualMachinePools/options.js +4 -0
  68. package/dist/browser/api/standbyVirtualMachinePools/options.js.map +1 -0
  69. package/dist/browser/api/standbyVirtualMachines/index.d.ts +2 -13
  70. package/dist/browser/api/standbyVirtualMachines/index.d.ts.map +1 -1
  71. package/dist/browser/api/standbyVirtualMachines/index.js +1 -94
  72. package/dist/browser/api/standbyVirtualMachines/index.js.map +1 -1
  73. package/dist/browser/api/standbyVirtualMachines/operations.d.ts +14 -0
  74. package/dist/browser/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  75. package/dist/browser/api/standbyVirtualMachines/operations.js +63 -0
  76. package/dist/browser/api/standbyVirtualMachines/operations.js.map +1 -0
  77. package/dist/browser/api/standbyVirtualMachines/options.d.ts +8 -0
  78. package/dist/browser/api/standbyVirtualMachines/options.d.ts.map +1 -0
  79. package/dist/browser/api/standbyVirtualMachines/options.js +4 -0
  80. package/dist/browser/api/standbyVirtualMachines/options.js.map +1 -0
  81. package/dist/browser/classic/operations/index.d.ts +3 -6
  82. package/dist/browser/classic/operations/index.d.ts.map +1 -1
  83. package/dist/browser/classic/operations/index.js +5 -5
  84. package/dist/browser/classic/operations/index.js.map +1 -1
  85. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  86. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  87. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
  88. package/dist/browser/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  89. package/dist/browser/classic/standbyContainerGroupPools/index.d.ts +18 -21
  90. package/dist/browser/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  91. package/dist/browser/classic/standbyContainerGroupPools/index.js +10 -10
  92. package/dist/browser/classic/standbyContainerGroupPools/index.js.map +1 -1
  93. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  94. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  95. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
  96. package/dist/browser/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  97. package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  98. package/dist/browser/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  99. package/dist/browser/classic/standbyVirtualMachinePools/index.js +10 -10
  100. package/dist/browser/classic/standbyVirtualMachinePools/index.js.map +1 -1
  101. package/dist/browser/classic/standbyVirtualMachines/index.d.ts +5 -9
  102. package/dist/browser/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  103. package/dist/browser/classic/standbyVirtualMachines/index.js +6 -6
  104. package/dist/browser/classic/standbyVirtualMachines/index.js.map +1 -1
  105. package/dist/browser/index.d.ts +9 -2
  106. package/dist/browser/index.d.ts.map +1 -1
  107. package/dist/browser/index.js +2 -2
  108. package/dist/browser/index.js.map +1 -1
  109. package/dist/browser/models/index.d.ts +1 -2
  110. package/dist/browser/models/index.d.ts.map +1 -1
  111. package/dist/browser/models/index.js +1 -1
  112. package/dist/browser/models/index.js.map +1 -1
  113. package/dist/browser/models/models.d.ts +447 -238
  114. package/dist/browser/models/models.d.ts.map +1 -1
  115. package/dist/browser/models/models.js +546 -91
  116. package/dist/browser/models/models.js.map +1 -1
  117. package/dist/browser/restorePollerHelpers.js +11 -11
  118. package/dist/browser/restorePollerHelpers.js.map +1 -1
  119. package/dist/browser/standbyPoolManagementClient.d.ts +19 -19
  120. package/dist/browser/standbyPoolManagementClient.d.ts.map +1 -1
  121. package/dist/browser/standbyPoolManagementClient.js +16 -14
  122. package/dist/browser/standbyPoolManagementClient.js.map +1 -1
  123. package/dist/browser/static-helpers/pagingHelpers.d.ts.map +1 -1
  124. package/dist/browser/static-helpers/pagingHelpers.js +1 -1
  125. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
  126. package/dist/browser/static-helpers/pollingHelpers.d.ts.map +1 -1
  127. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
  128. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  129. package/dist/browser/static-helpers/urlTemplate.d.ts.map +1 -0
  130. package/dist/browser/static-helpers/urlTemplate.js +169 -0
  131. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  132. package/dist/commonjs/api/index.d.ts +1 -7
  133. package/dist/commonjs/api/index.d.ts.map +1 -1
  134. package/dist/commonjs/api/index.js +1 -26
  135. package/dist/commonjs/api/index.js.map +1 -1
  136. package/dist/commonjs/api/operations/index.d.ts +2 -9
  137. package/dist/commonjs/api/operations/index.d.ts.map +1 -1
  138. package/dist/commonjs/api/operations/index.js +3 -40
  139. package/dist/commonjs/api/operations/index.js.map +1 -1
  140. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  141. package/dist/commonjs/api/operations/operations.d.ts.map +1 -0
  142. package/dist/commonjs/api/operations/operations.js +34 -0
  143. package/dist/commonjs/api/operations/operations.js.map +1 -0
  144. package/dist/commonjs/api/operations/options.d.ts +5 -0
  145. package/dist/commonjs/api/operations/options.d.ts.map +1 -0
  146. package/dist/commonjs/api/operations/options.js.map +1 -0
  147. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  148. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  149. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js +4 -116
  150. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  151. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  152. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  153. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.js +75 -0
  154. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  155. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  156. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  157. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.js +5 -0
  158. package/dist/commonjs/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  159. package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts +2 -30
  160. package/dist/commonjs/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  161. package/dist/commonjs/api/standbyContainerGroupPools/index.js +8 -377
  162. package/dist/commonjs/api/standbyContainerGroupPools/index.js.map +1 -1
  163. package/dist/commonjs/api/standbyContainerGroupPools/operations.d.ts +36 -0
  164. package/dist/commonjs/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  165. package/dist/commonjs/api/standbyContainerGroupPools/operations.js +212 -0
  166. package/dist/commonjs/api/standbyContainerGroupPools/operations.js.map +1 -0
  167. package/dist/commonjs/api/standbyContainerGroupPools/options.d.ts +24 -0
  168. package/dist/commonjs/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  169. package/dist/commonjs/api/standbyContainerGroupPools/options.js +5 -0
  170. package/dist/commonjs/api/standbyContainerGroupPools/options.js.map +1 -0
  171. package/dist/commonjs/api/standbyPoolManagementContext.d.ts +9 -3
  172. package/dist/commonjs/api/standbyPoolManagementContext.d.ts.map +1 -1
  173. package/dist/commonjs/api/standbyPoolManagementContext.js +7 -6
  174. package/dist/commonjs/api/standbyPoolManagementContext.js.map +1 -1
  175. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  176. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  177. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js +4 -118
  178. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  179. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  180. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  181. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.js +75 -0
  182. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  183. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  184. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  185. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.js +5 -0
  186. package/dist/commonjs/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  187. package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts +2 -30
  188. package/dist/commonjs/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  189. package/dist/commonjs/api/standbyVirtualMachinePools/index.js +8 -342
  190. package/dist/commonjs/api/standbyVirtualMachinePools/index.js.map +1 -1
  191. package/dist/commonjs/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  192. package/dist/commonjs/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  193. package/dist/commonjs/api/standbyVirtualMachinePools/operations.js +212 -0
  194. package/dist/commonjs/api/standbyVirtualMachinePools/operations.js.map +1 -0
  195. package/dist/commonjs/api/standbyVirtualMachinePools/options.d.ts +24 -0
  196. package/dist/commonjs/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  197. package/dist/commonjs/api/standbyVirtualMachinePools/options.js +5 -0
  198. package/dist/commonjs/api/standbyVirtualMachinePools/options.js.map +1 -0
  199. package/dist/commonjs/api/standbyVirtualMachines/index.d.ts +2 -13
  200. package/dist/commonjs/api/standbyVirtualMachines/index.d.ts.map +1 -1
  201. package/dist/commonjs/api/standbyVirtualMachines/index.js +4 -100
  202. package/dist/commonjs/api/standbyVirtualMachines/index.js.map +1 -1
  203. package/dist/commonjs/api/standbyVirtualMachines/operations.d.ts +14 -0
  204. package/dist/commonjs/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  205. package/dist/commonjs/api/standbyVirtualMachines/operations.js +71 -0
  206. package/dist/commonjs/api/standbyVirtualMachines/operations.js.map +1 -0
  207. package/dist/commonjs/api/standbyVirtualMachines/options.d.ts +8 -0
  208. package/dist/commonjs/api/standbyVirtualMachines/options.d.ts.map +1 -0
  209. package/dist/commonjs/api/standbyVirtualMachines/options.js +5 -0
  210. package/dist/commonjs/api/standbyVirtualMachines/options.js.map +1 -0
  211. package/dist/commonjs/classic/operations/index.d.ts +3 -6
  212. package/dist/commonjs/classic/operations/index.d.ts.map +1 -1
  213. package/dist/commonjs/classic/operations/index.js +6 -7
  214. package/dist/commonjs/classic/operations/index.js.map +1 -1
  215. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  216. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  217. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js +7 -8
  218. package/dist/commonjs/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  219. package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts +18 -21
  220. package/dist/commonjs/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  221. package/dist/commonjs/classic/standbyContainerGroupPools/index.js +11 -12
  222. package/dist/commonjs/classic/standbyContainerGroupPools/index.js.map +1 -1
  223. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  224. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  225. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js +7 -8
  226. package/dist/commonjs/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  227. package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  228. package/dist/commonjs/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  229. package/dist/commonjs/classic/standbyVirtualMachinePools/index.js +11 -12
  230. package/dist/commonjs/classic/standbyVirtualMachinePools/index.js.map +1 -1
  231. package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts +5 -9
  232. package/dist/commonjs/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  233. package/dist/commonjs/classic/standbyVirtualMachines/index.js +7 -8
  234. package/dist/commonjs/classic/standbyVirtualMachines/index.js.map +1 -1
  235. package/dist/commonjs/index.d.ts +9 -2
  236. package/dist/commonjs/index.d.ts.map +1 -1
  237. package/dist/commonjs/index.js +9 -5
  238. package/dist/commonjs/index.js.map +1 -1
  239. package/dist/commonjs/models/index.d.ts +1 -2
  240. package/dist/commonjs/models/index.d.ts.map +1 -1
  241. package/dist/commonjs/models/index.js +9 -5
  242. package/dist/commonjs/models/index.js.map +1 -1
  243. package/dist/commonjs/models/models.d.ts +447 -238
  244. package/dist/commonjs/models/models.d.ts.map +1 -1
  245. package/dist/commonjs/models/models.js +609 -98
  246. package/dist/commonjs/models/models.js.map +1 -1
  247. package/dist/commonjs/restorePollerHelpers.js +11 -11
  248. package/dist/commonjs/restorePollerHelpers.js.map +1 -1
  249. package/dist/commonjs/standbyPoolManagementClient.d.ts +19 -19
  250. package/dist/commonjs/standbyPoolManagementClient.d.ts.map +1 -1
  251. package/dist/commonjs/standbyPoolManagementClient.js +16 -14
  252. package/dist/commonjs/standbyPoolManagementClient.js.map +1 -1
  253. package/dist/commonjs/static-helpers/pagingHelpers.d.ts.map +1 -1
  254. package/dist/commonjs/static-helpers/pagingHelpers.js +2 -2
  255. package/dist/commonjs/static-helpers/pagingHelpers.js.map +1 -1
  256. package/dist/commonjs/static-helpers/pollingHelpers.d.ts.map +1 -1
  257. package/dist/commonjs/static-helpers/pollingHelpers.js +2 -2
  258. package/dist/commonjs/static-helpers/pollingHelpers.js.map +1 -1
  259. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  260. package/dist/commonjs/static-helpers/urlTemplate.d.ts.map +1 -0
  261. package/dist/commonjs/static-helpers/urlTemplate.js +172 -0
  262. package/dist/commonjs/static-helpers/urlTemplate.js.map +1 -0
  263. package/dist/esm/api/index.d.ts +1 -7
  264. package/dist/esm/api/index.d.ts.map +1 -1
  265. package/dist/esm/api/index.js +0 -6
  266. package/dist/esm/api/index.js.map +1 -1
  267. package/dist/esm/api/operations/index.d.ts +2 -9
  268. package/dist/esm/api/operations/index.d.ts.map +1 -1
  269. package/dist/esm/api/operations/index.js +1 -37
  270. package/dist/esm/api/operations/index.js.map +1 -1
  271. package/dist/esm/api/operations/operations.d.ts +10 -0
  272. package/dist/esm/api/operations/operations.d.ts.map +1 -0
  273. package/dist/esm/api/operations/operations.js +29 -0
  274. package/dist/esm/api/operations/operations.js.map +1 -0
  275. package/dist/esm/api/operations/options.d.ts +5 -0
  276. package/dist/esm/api/operations/options.d.ts.map +1 -0
  277. package/dist/esm/api/operations/options.js +4 -0
  278. package/dist/esm/api/operations/options.js.map +1 -0
  279. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  280. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  281. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
  282. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  283. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  284. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  285. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
  286. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  287. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  288. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  289. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.js +4 -0
  290. package/dist/esm/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  291. package/dist/esm/api/standbyContainerGroupPools/index.d.ts +2 -30
  292. package/dist/esm/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  293. package/dist/esm/api/standbyContainerGroupPools/index.js +1 -359
  294. package/dist/esm/api/standbyContainerGroupPools/index.js.map +1 -1
  295. package/dist/esm/api/standbyContainerGroupPools/operations.d.ts +36 -0
  296. package/dist/esm/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  297. package/dist/esm/api/standbyContainerGroupPools/operations.js +192 -0
  298. package/dist/esm/api/standbyContainerGroupPools/operations.js.map +1 -0
  299. package/dist/esm/api/standbyContainerGroupPools/options.d.ts +24 -0
  300. package/dist/esm/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  301. package/dist/esm/api/standbyContainerGroupPools/options.js +4 -0
  302. package/dist/esm/api/standbyContainerGroupPools/options.js.map +1 -0
  303. package/dist/esm/api/standbyPoolManagementContext.d.ts +9 -3
  304. package/dist/esm/api/standbyPoolManagementContext.d.ts.map +1 -1
  305. package/dist/esm/api/standbyPoolManagementContext.js +7 -6
  306. package/dist/esm/api/standbyPoolManagementContext.js.map +1 -1
  307. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  308. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  309. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
  310. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  311. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  312. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  313. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
  314. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  315. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  316. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  317. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
  318. package/dist/esm/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  319. package/dist/esm/api/standbyVirtualMachinePools/index.d.ts +2 -30
  320. package/dist/esm/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  321. package/dist/esm/api/standbyVirtualMachinePools/index.js +1 -324
  322. package/dist/esm/api/standbyVirtualMachinePools/index.js.map +1 -1
  323. package/dist/esm/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  324. package/dist/esm/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  325. package/dist/esm/api/standbyVirtualMachinePools/operations.js +192 -0
  326. package/dist/esm/api/standbyVirtualMachinePools/operations.js.map +1 -0
  327. package/dist/esm/api/standbyVirtualMachinePools/options.d.ts +24 -0
  328. package/dist/esm/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  329. package/dist/esm/api/standbyVirtualMachinePools/options.js +4 -0
  330. package/dist/esm/api/standbyVirtualMachinePools/options.js.map +1 -0
  331. package/dist/esm/api/standbyVirtualMachines/index.d.ts +2 -13
  332. package/dist/esm/api/standbyVirtualMachines/index.d.ts.map +1 -1
  333. package/dist/esm/api/standbyVirtualMachines/index.js +1 -94
  334. package/dist/esm/api/standbyVirtualMachines/index.js.map +1 -1
  335. package/dist/esm/api/standbyVirtualMachines/operations.d.ts +14 -0
  336. package/dist/esm/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  337. package/dist/esm/api/standbyVirtualMachines/operations.js +63 -0
  338. package/dist/esm/api/standbyVirtualMachines/operations.js.map +1 -0
  339. package/dist/esm/api/standbyVirtualMachines/options.d.ts +8 -0
  340. package/dist/esm/api/standbyVirtualMachines/options.d.ts.map +1 -0
  341. package/dist/esm/api/standbyVirtualMachines/options.js +4 -0
  342. package/dist/esm/api/standbyVirtualMachines/options.js.map +1 -0
  343. package/dist/esm/classic/operations/index.d.ts +3 -6
  344. package/dist/esm/classic/operations/index.d.ts.map +1 -1
  345. package/dist/esm/classic/operations/index.js +5 -5
  346. package/dist/esm/classic/operations/index.js.map +1 -1
  347. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  348. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  349. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
  350. package/dist/esm/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  351. package/dist/esm/classic/standbyContainerGroupPools/index.d.ts +18 -21
  352. package/dist/esm/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  353. package/dist/esm/classic/standbyContainerGroupPools/index.js +10 -10
  354. package/dist/esm/classic/standbyContainerGroupPools/index.js.map +1 -1
  355. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  356. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  357. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
  358. package/dist/esm/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  359. package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  360. package/dist/esm/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  361. package/dist/esm/classic/standbyVirtualMachinePools/index.js +10 -10
  362. package/dist/esm/classic/standbyVirtualMachinePools/index.js.map +1 -1
  363. package/dist/esm/classic/standbyVirtualMachines/index.d.ts +5 -9
  364. package/dist/esm/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  365. package/dist/esm/classic/standbyVirtualMachines/index.js +6 -6
  366. package/dist/esm/classic/standbyVirtualMachines/index.js.map +1 -1
  367. package/dist/esm/index.d.ts +9 -2
  368. package/dist/esm/index.d.ts.map +1 -1
  369. package/dist/esm/index.js +2 -2
  370. package/dist/esm/index.js.map +1 -1
  371. package/dist/esm/models/index.d.ts +1 -2
  372. package/dist/esm/models/index.d.ts.map +1 -1
  373. package/dist/esm/models/index.js +1 -1
  374. package/dist/esm/models/index.js.map +1 -1
  375. package/dist/esm/models/models.d.ts +447 -238
  376. package/dist/esm/models/models.d.ts.map +1 -1
  377. package/dist/esm/models/models.js +546 -91
  378. package/dist/esm/models/models.js.map +1 -1
  379. package/dist/esm/restorePollerHelpers.js +11 -11
  380. package/dist/esm/restorePollerHelpers.js.map +1 -1
  381. package/dist/esm/standbyPoolManagementClient.d.ts +19 -19
  382. package/dist/esm/standbyPoolManagementClient.d.ts.map +1 -1
  383. package/dist/esm/standbyPoolManagementClient.js +16 -14
  384. package/dist/esm/standbyPoolManagementClient.js.map +1 -1
  385. package/dist/esm/static-helpers/pagingHelpers.d.ts.map +1 -1
  386. package/dist/esm/static-helpers/pagingHelpers.js +1 -1
  387. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
  388. package/dist/esm/static-helpers/pollingHelpers.d.ts.map +1 -1
  389. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
  390. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  391. package/dist/esm/static-helpers/urlTemplate.d.ts.map +1 -0
  392. package/dist/esm/static-helpers/urlTemplate.js +169 -0
  393. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  394. package/dist/react-native/api/index.d.ts +1 -7
  395. package/dist/react-native/api/index.d.ts.map +1 -1
  396. package/dist/react-native/api/index.js +0 -6
  397. package/dist/react-native/api/index.js.map +1 -1
  398. package/dist/react-native/api/operations/index.d.ts +2 -9
  399. package/dist/react-native/api/operations/index.d.ts.map +1 -1
  400. package/dist/react-native/api/operations/index.js +1 -37
  401. package/dist/react-native/api/operations/index.js.map +1 -1
  402. package/dist/react-native/api/operations/operations.d.ts +10 -0
  403. package/dist/react-native/api/operations/operations.d.ts.map +1 -0
  404. package/dist/react-native/api/operations/operations.js +29 -0
  405. package/dist/react-native/api/operations/operations.js.map +1 -0
  406. package/dist/react-native/api/operations/options.d.ts +5 -0
  407. package/dist/react-native/api/operations/options.d.ts.map +1 -0
  408. package/dist/react-native/api/operations/options.js +4 -0
  409. package/dist/react-native/api/operations/options.js.map +1 -0
  410. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts +2 -13
  411. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  412. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js +1 -110
  413. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  414. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts +14 -0
  415. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.d.ts.map +1 -0
  416. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.js +67 -0
  417. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/operations.js.map +1 -0
  418. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.d.ts +8 -0
  419. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.d.ts.map +1 -0
  420. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.js +4 -0
  421. package/dist/react-native/api/standbyContainerGroupPoolRuntimeViews/options.js.map +1 -0
  422. package/dist/react-native/api/standbyContainerGroupPools/index.d.ts +2 -30
  423. package/dist/react-native/api/standbyContainerGroupPools/index.d.ts.map +1 -1
  424. package/dist/react-native/api/standbyContainerGroupPools/index.js +1 -359
  425. package/dist/react-native/api/standbyContainerGroupPools/index.js.map +1 -1
  426. package/dist/react-native/api/standbyContainerGroupPools/operations.d.ts +36 -0
  427. package/dist/react-native/api/standbyContainerGroupPools/operations.d.ts.map +1 -0
  428. package/dist/react-native/api/standbyContainerGroupPools/operations.js +192 -0
  429. package/dist/react-native/api/standbyContainerGroupPools/operations.js.map +1 -0
  430. package/dist/react-native/api/standbyContainerGroupPools/options.d.ts +24 -0
  431. package/dist/react-native/api/standbyContainerGroupPools/options.d.ts.map +1 -0
  432. package/dist/react-native/api/standbyContainerGroupPools/options.js +4 -0
  433. package/dist/react-native/api/standbyContainerGroupPools/options.js.map +1 -0
  434. package/dist/react-native/api/standbyPoolManagementContext.d.ts +9 -3
  435. package/dist/react-native/api/standbyPoolManagementContext.d.ts.map +1 -1
  436. package/dist/react-native/api/standbyPoolManagementContext.js +7 -6
  437. package/dist/react-native/api/standbyPoolManagementContext.js.map +1 -1
  438. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts +2 -13
  439. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  440. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js +1 -112
  441. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  442. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts +14 -0
  443. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.d.ts.map +1 -0
  444. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.js +67 -0
  445. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/operations.js.map +1 -0
  446. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts +8 -0
  447. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.d.ts.map +1 -0
  448. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.js +4 -0
  449. package/dist/react-native/api/standbyVirtualMachinePoolRuntimeViews/options.js.map +1 -0
  450. package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts +2 -30
  451. package/dist/react-native/api/standbyVirtualMachinePools/index.d.ts.map +1 -1
  452. package/dist/react-native/api/standbyVirtualMachinePools/index.js +1 -324
  453. package/dist/react-native/api/standbyVirtualMachinePools/index.js.map +1 -1
  454. package/dist/react-native/api/standbyVirtualMachinePools/operations.d.ts +36 -0
  455. package/dist/react-native/api/standbyVirtualMachinePools/operations.d.ts.map +1 -0
  456. package/dist/react-native/api/standbyVirtualMachinePools/operations.js +192 -0
  457. package/dist/react-native/api/standbyVirtualMachinePools/operations.js.map +1 -0
  458. package/dist/react-native/api/standbyVirtualMachinePools/options.d.ts +24 -0
  459. package/dist/react-native/api/standbyVirtualMachinePools/options.d.ts.map +1 -0
  460. package/dist/react-native/api/standbyVirtualMachinePools/options.js +4 -0
  461. package/dist/react-native/api/standbyVirtualMachinePools/options.js.map +1 -0
  462. package/dist/react-native/api/standbyVirtualMachines/index.d.ts +2 -13
  463. package/dist/react-native/api/standbyVirtualMachines/index.d.ts.map +1 -1
  464. package/dist/react-native/api/standbyVirtualMachines/index.js +1 -94
  465. package/dist/react-native/api/standbyVirtualMachines/index.js.map +1 -1
  466. package/dist/react-native/api/standbyVirtualMachines/operations.d.ts +14 -0
  467. package/dist/react-native/api/standbyVirtualMachines/operations.d.ts.map +1 -0
  468. package/dist/react-native/api/standbyVirtualMachines/operations.js +63 -0
  469. package/dist/react-native/api/standbyVirtualMachines/operations.js.map +1 -0
  470. package/dist/react-native/api/standbyVirtualMachines/options.d.ts +8 -0
  471. package/dist/react-native/api/standbyVirtualMachines/options.d.ts.map +1 -0
  472. package/dist/react-native/api/standbyVirtualMachines/options.js +4 -0
  473. package/dist/react-native/api/standbyVirtualMachines/options.js.map +1 -0
  474. package/dist/react-native/classic/operations/index.d.ts +3 -6
  475. package/dist/react-native/classic/operations/index.d.ts.map +1 -1
  476. package/dist/react-native/classic/operations/index.js +5 -5
  477. package/dist/react-native/classic/operations/index.js.map +1 -1
  478. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts +5 -9
  479. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.d.ts.map +1 -1
  480. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js +6 -6
  481. package/dist/react-native/classic/standbyContainerGroupPoolRuntimeViews/index.js.map +1 -1
  482. package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts +18 -21
  483. package/dist/react-native/classic/standbyContainerGroupPools/index.d.ts.map +1 -1
  484. package/dist/react-native/classic/standbyContainerGroupPools/index.js +10 -10
  485. package/dist/react-native/classic/standbyContainerGroupPools/index.js.map +1 -1
  486. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts +5 -9
  487. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.d.ts.map +1 -1
  488. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js +6 -6
  489. package/dist/react-native/classic/standbyVirtualMachinePoolRuntimeViews/index.js.map +1 -1
  490. package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts +18 -21
  491. package/dist/react-native/classic/standbyVirtualMachinePools/index.d.ts.map +1 -1
  492. package/dist/react-native/classic/standbyVirtualMachinePools/index.js +10 -10
  493. package/dist/react-native/classic/standbyVirtualMachinePools/index.js.map +1 -1
  494. package/dist/react-native/classic/standbyVirtualMachines/index.d.ts +5 -9
  495. package/dist/react-native/classic/standbyVirtualMachines/index.d.ts.map +1 -1
  496. package/dist/react-native/classic/standbyVirtualMachines/index.js +6 -6
  497. package/dist/react-native/classic/standbyVirtualMachines/index.js.map +1 -1
  498. package/dist/react-native/index.d.ts +9 -2
  499. package/dist/react-native/index.d.ts.map +1 -1
  500. package/dist/react-native/index.js +2 -2
  501. package/dist/react-native/index.js.map +1 -1
  502. package/dist/react-native/models/index.d.ts +1 -2
  503. package/dist/react-native/models/index.d.ts.map +1 -1
  504. package/dist/react-native/models/index.js +1 -1
  505. package/dist/react-native/models/index.js.map +1 -1
  506. package/dist/react-native/models/models.d.ts +447 -238
  507. package/dist/react-native/models/models.d.ts.map +1 -1
  508. package/dist/react-native/models/models.js +546 -91
  509. package/dist/react-native/models/models.js.map +1 -1
  510. package/dist/react-native/restorePollerHelpers.js +11 -11
  511. package/dist/react-native/restorePollerHelpers.js.map +1 -1
  512. package/dist/react-native/standbyPoolManagementClient.d.ts +19 -19
  513. package/dist/react-native/standbyPoolManagementClient.d.ts.map +1 -1
  514. package/dist/react-native/standbyPoolManagementClient.js +16 -14
  515. package/dist/react-native/standbyPoolManagementClient.js.map +1 -1
  516. package/dist/react-native/static-helpers/pagingHelpers.d.ts.map +1 -1
  517. package/dist/react-native/static-helpers/pagingHelpers.js +1 -1
  518. package/dist/react-native/static-helpers/pagingHelpers.js.map +1 -1
  519. package/dist/react-native/static-helpers/pollingHelpers.d.ts.map +1 -1
  520. package/dist/react-native/static-helpers/pollingHelpers.js.map +1 -1
  521. package/dist/react-native/static-helpers/urlTemplate.d.ts +5 -0
  522. package/dist/react-native/static-helpers/urlTemplate.d.ts.map +1 -0
  523. package/dist/react-native/static-helpers/urlTemplate.js +169 -0
  524. package/dist/react-native/static-helpers/urlTemplate.js.map +1 -0
  525. package/package.json +149 -16
  526. package/review/arm-standbypool-api-operations.api.md +19 -0
  527. package/review/arm-standbypool-api-standbyContainerGroupPoolRuntimeViews.api.md +26 -0
  528. package/review/arm-standbypool-api-standbyContainerGroupPools.api.md +58 -0
  529. package/review/arm-standbypool-api-standbyVirtualMachinePoolRuntimeViews.api.md +26 -0
  530. package/review/arm-standbypool-api-standbyVirtualMachinePools.api.md +58 -0
  531. package/review/arm-standbypool-api-standbyVirtualMachines.api.md +26 -0
  532. package/review/arm-standbypool-api.api.md +27 -0
  533. package/review/arm-standbypool-models.api.md +105 -83
  534. package/review/arm-standbypool.api.md +110 -6
  535. package/dist/browser/helpers/serializerHelpers.d.ts +0 -3
  536. package/dist/browser/helpers/serializerHelpers.d.ts.map +0 -1
  537. package/dist/browser/helpers/serializerHelpers.js +0 -24
  538. package/dist/browser/helpers/serializerHelpers.js.map +0 -1
  539. package/dist/browser/models/options.d.ts +0 -67
  540. package/dist/browser/models/options.d.ts.map +0 -1
  541. package/dist/browser/models/options.js.map +0 -1
  542. package/dist/commonjs/helpers/serializerHelpers.d.ts +0 -3
  543. package/dist/commonjs/helpers/serializerHelpers.d.ts.map +0 -1
  544. package/dist/commonjs/helpers/serializerHelpers.js +0 -27
  545. package/dist/commonjs/helpers/serializerHelpers.js.map +0 -1
  546. package/dist/commonjs/models/options.d.ts +0 -67
  547. package/dist/commonjs/models/options.d.ts.map +0 -1
  548. package/dist/commonjs/models/options.js.map +0 -1
  549. package/dist/esm/helpers/serializerHelpers.d.ts +0 -3
  550. package/dist/esm/helpers/serializerHelpers.d.ts.map +0 -1
  551. package/dist/esm/helpers/serializerHelpers.js +0 -24
  552. package/dist/esm/helpers/serializerHelpers.js.map +0 -1
  553. package/dist/esm/models/options.d.ts +0 -67
  554. package/dist/esm/models/options.d.ts.map +0 -1
  555. package/dist/esm/models/options.js.map +0 -1
  556. package/dist/react-native/helpers/serializerHelpers.d.ts +0 -3
  557. package/dist/react-native/helpers/serializerHelpers.d.ts.map +0 -1
  558. package/dist/react-native/helpers/serializerHelpers.js +0 -24
  559. package/dist/react-native/helpers/serializerHelpers.js.map +0 -1
  560. package/dist/react-native/models/options.d.ts +0 -67
  561. package/dist/react-native/models/options.d.ts.map +0 -1
  562. package/dist/react-native/models/options.js.map +0 -1
  563. /package/dist/browser/{models → api/operations}/options.js +0 -0
  564. /package/dist/{esm/models → browser/api/standbyContainerGroupPoolRuntimeViews}/options.js +0 -0
  565. /package/dist/{react-native/models → browser/api/standbyContainerGroupPools}/options.js +0 -0
  566. /package/dist/commonjs/{models → api/operations}/options.js +0 -0
@@ -2,381 +2,12 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports._standbyContainerGroupPoolsGetSend = _standbyContainerGroupPoolsGetSend;
6
- exports._standbyContainerGroupPoolsGetDeserialize = _standbyContainerGroupPoolsGetDeserialize;
7
- exports.standbyContainerGroupPoolsGet = standbyContainerGroupPoolsGet;
8
- exports._standbyContainerGroupPoolsCreateOrUpdateSend = _standbyContainerGroupPoolsCreateOrUpdateSend;
9
- exports._standbyContainerGroupPoolsCreateOrUpdateDeserialize = _standbyContainerGroupPoolsCreateOrUpdateDeserialize;
10
- exports.standbyContainerGroupPoolsCreateOrUpdate = standbyContainerGroupPoolsCreateOrUpdate;
11
- exports._standbyContainerGroupPoolsDeleteSend = _standbyContainerGroupPoolsDeleteSend;
12
- exports._standbyContainerGroupPoolsDeleteDeserialize = _standbyContainerGroupPoolsDeleteDeserialize;
13
- exports.standbyContainerGroupPoolsDelete = standbyContainerGroupPoolsDelete;
14
- exports._standbyContainerGroupPoolsUpdateSend = _standbyContainerGroupPoolsUpdateSend;
15
- exports._standbyContainerGroupPoolsUpdateDeserialize = _standbyContainerGroupPoolsUpdateDeserialize;
16
- exports.standbyContainerGroupPoolsUpdate = standbyContainerGroupPoolsUpdate;
17
- exports._standbyContainerGroupPoolsListByResourceGroupSend = _standbyContainerGroupPoolsListByResourceGroupSend;
18
- exports._standbyContainerGroupPoolsListByResourceGroupDeserialize = _standbyContainerGroupPoolsListByResourceGroupDeserialize;
19
- exports.standbyContainerGroupPoolsListByResourceGroup = standbyContainerGroupPoolsListByResourceGroup;
20
- exports._standbyContainerGroupPoolsListBySubscriptionSend = _standbyContainerGroupPoolsListBySubscriptionSend;
21
- exports._standbyContainerGroupPoolsListBySubscriptionDeserialize = _standbyContainerGroupPoolsListBySubscriptionDeserialize;
22
- exports.standbyContainerGroupPoolsListBySubscription = standbyContainerGroupPoolsListBySubscription;
23
- const models_js_1 = require("../../models/models.js");
24
- const core_client_1 = require("@azure-rest/core-client");
25
- const serializerHelpers_js_1 = require("../../helpers/serializerHelpers.js");
26
- const pollingHelpers_js_1 = require("../../static-helpers/pollingHelpers.js");
27
- const pagingHelpers_js_1 = require("../../static-helpers/pagingHelpers.js");
28
- function _standbyContainerGroupPoolsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
29
- return context
30
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
31
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
32
- }
33
- async function _standbyContainerGroupPoolsGetDeserialize(result) {
34
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
35
- const expectedStatuses = ["200"];
36
- if (!expectedStatuses.includes(result.status)) {
37
- throw (0, core_client_1.createRestError)(result);
38
- }
39
- return {
40
- tags: result.body["tags"],
41
- location: result.body["location"],
42
- id: result.body["id"],
43
- name: result.body["name"],
44
- type: result.body["type"],
45
- systemData: !result.body.systemData
46
- ? undefined
47
- : {
48
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
49
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
50
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
51
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
52
- : undefined,
53
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
54
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
55
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
56
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
57
- : undefined,
58
- },
59
- properties: !result.body.properties
60
- ? undefined
61
- : {
62
- elasticityProfile: {
63
- maxReadyCapacity: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
64
- refillPolicy: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
65
- },
66
- containerGroupProperties: {
67
- containerGroupProfile: {
68
- id: (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
69
- revision: (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
70
- },
71
- subnetIds: ((_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
72
- ? (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
73
- : (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
74
- return { id: p["id"] };
75
- }),
76
- },
77
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
78
- },
79
- };
80
- }
81
- /** Get a StandbyContainerGroupPoolResource */
82
- async function standbyContainerGroupPoolsGet(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = { requestOptions: {} }) {
83
- const result = await _standbyContainerGroupPoolsGetSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options);
84
- return _standbyContainerGroupPoolsGetDeserialize(result);
85
- }
86
- function _standbyContainerGroupPoolsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
87
- requestOptions: {},
88
- }) {
89
- return context
90
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
91
- .put(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
92
- tags: !resource.tags ? resource.tags : (0, serializerHelpers_js_1.serializeRecord)(resource.tags),
93
- location: resource["location"],
94
- properties: !resource.properties
95
- ? resource.properties
96
- : (0, models_js_1.standbyContainerGroupPoolResourcePropertiesSerializer)(resource.properties),
97
- } }));
98
- }
99
- async function _standbyContainerGroupPoolsCreateOrUpdateDeserialize(result) {
100
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
101
- const expectedStatuses = ["200", "201"];
102
- if (!expectedStatuses.includes(result.status)) {
103
- throw (0, core_client_1.createRestError)(result);
104
- }
105
- return {
106
- tags: result.body["tags"],
107
- location: result.body["location"],
108
- id: result.body["id"],
109
- name: result.body["name"],
110
- type: result.body["type"],
111
- systemData: !result.body.systemData
112
- ? undefined
113
- : {
114
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
115
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
116
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
117
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
118
- : undefined,
119
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
120
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
121
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
122
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
123
- : undefined,
124
- },
125
- properties: !result.body.properties
126
- ? undefined
127
- : {
128
- elasticityProfile: {
129
- maxReadyCapacity: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
130
- refillPolicy: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
131
- },
132
- containerGroupProperties: {
133
- containerGroupProfile: {
134
- id: (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
135
- revision: (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
136
- },
137
- subnetIds: ((_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
138
- ? (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
139
- : (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
140
- return { id: p["id"] };
141
- }),
142
- },
143
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
144
- },
145
- };
146
- }
147
- /** Create a StandbyContainerGroupPoolResource */
148
- function standbyContainerGroupPoolsCreateOrUpdate(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, resource, options = {
149
- requestOptions: {},
150
- }) {
151
- return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _standbyContainerGroupPoolsCreateOrUpdateDeserialize, ["200", "201"], {
152
- updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
153
- abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
154
- getInitialResponse: () => _standbyContainerGroupPoolsCreateOrUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, resource, options),
155
- resourceLocationConfig: "azure-async-operation",
156
- });
157
- }
158
- function _standbyContainerGroupPoolsDeleteSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
159
- requestOptions: {},
160
- }) {
161
- return context
162
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
163
- .delete(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
164
- }
165
- async function _standbyContainerGroupPoolsDeleteDeserialize(result) {
166
- const expectedStatuses = ["202", "204", "200"];
167
- if (!expectedStatuses.includes(result.status)) {
168
- throw (0, core_client_1.createRestError)(result);
169
- }
170
- return;
171
- }
172
- /** Delete a StandbyContainerGroupPoolResource */
173
- function standbyContainerGroupPoolsDelete(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options = {
174
- requestOptions: {},
175
- }) {
176
- return (0, pollingHelpers_js_1.getLongRunningPoller)(context, _standbyContainerGroupPoolsDeleteDeserialize, ["202", "204", "200"], {
177
- updateIntervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
178
- abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal,
179
- getInitialResponse: () => _standbyContainerGroupPoolsDeleteSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, options),
180
- resourceLocationConfig: "location",
181
- });
182
- }
183
- function _standbyContainerGroupPoolsUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
184
- requestOptions: {},
185
- }) {
186
- return context
187
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}", subscriptionId, resourceGroupName, standbyContainerGroupPoolName)
188
- .patch(Object.assign(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)), { body: {
189
- tags: !properties.tags ? properties.tags : (0, serializerHelpers_js_1.serializeRecord)(properties.tags),
190
- properties: !properties.properties
191
- ? properties.properties
192
- : (0, models_js_1.standbyContainerGroupPoolResourceUpdatePropertiesSerializer)(properties.properties),
193
- } }));
194
- }
195
- async function _standbyContainerGroupPoolsUpdateDeserialize(result) {
196
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
197
- const expectedStatuses = ["200"];
198
- if (!expectedStatuses.includes(result.status)) {
199
- throw (0, core_client_1.createRestError)(result);
200
- }
201
- return {
202
- tags: result.body["tags"],
203
- location: result.body["location"],
204
- id: result.body["id"],
205
- name: result.body["name"],
206
- type: result.body["type"],
207
- systemData: !result.body.systemData
208
- ? undefined
209
- : {
210
- createdBy: (_a = result.body.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
211
- createdByType: (_b = result.body.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
212
- createdAt: ((_c = result.body.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
213
- ? new Date((_d = result.body.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
214
- : undefined,
215
- lastModifiedBy: (_e = result.body.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
216
- lastModifiedByType: (_f = result.body.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
217
- lastModifiedAt: ((_g = result.body.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
218
- ? new Date((_h = result.body.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
219
- : undefined,
220
- },
221
- properties: !result.body.properties
222
- ? undefined
223
- : {
224
- elasticityProfile: {
225
- maxReadyCapacity: (_j = result.body.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
226
- refillPolicy: (_k = result.body.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
227
- },
228
- containerGroupProperties: {
229
- containerGroupProfile: {
230
- id: (_l = result.body.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
231
- revision: (_m = result.body.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
232
- },
233
- subnetIds: ((_o = result.body.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
234
- ? (_p = result.body.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
235
- : (_q = result.body.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
236
- return { id: p["id"] };
237
- }),
238
- },
239
- provisioningState: (_r = result.body.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
240
- },
241
- };
242
- }
243
- /** Update a StandbyContainerGroupPoolResource */
244
- async function standbyContainerGroupPoolsUpdate(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, properties, options = {
245
- requestOptions: {},
246
- }) {
247
- const result = await _standbyContainerGroupPoolsUpdateSend(context, subscriptionId, resourceGroupName, standbyContainerGroupPoolName, properties, options);
248
- return _standbyContainerGroupPoolsUpdateDeserialize(result);
249
- }
250
- function _standbyContainerGroupPoolsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options = {
251
- requestOptions: {},
252
- }) {
253
- return context
254
- .path("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools", subscriptionId, resourceGroupName)
255
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
256
- }
257
- async function _standbyContainerGroupPoolsListByResourceGroupDeserialize(result) {
258
- const expectedStatuses = ["200"];
259
- if (!expectedStatuses.includes(result.status)) {
260
- throw (0, core_client_1.createRestError)(result);
261
- }
262
- return {
263
- value: result.body["value"].map((p) => {
264
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
265
- return {
266
- tags: p["tags"],
267
- location: p["location"],
268
- id: p["id"],
269
- name: p["name"],
270
- type: p["type"],
271
- systemData: !p.systemData
272
- ? undefined
273
- : {
274
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
275
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
276
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
277
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
278
- : undefined,
279
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
280
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
281
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
282
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
283
- : undefined,
284
- },
285
- properties: !p.properties
286
- ? undefined
287
- : {
288
- elasticityProfile: {
289
- maxReadyCapacity: (_j = p.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
290
- refillPolicy: (_k = p.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
291
- },
292
- containerGroupProperties: {
293
- containerGroupProfile: {
294
- id: (_l = p.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
295
- revision: (_m = p.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
296
- },
297
- subnetIds: ((_o = p.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
298
- ? (_p = p.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
299
- : (_q = p.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
300
- return { id: p["id"] };
301
- }),
302
- },
303
- provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
304
- },
305
- };
306
- }),
307
- nextLink: result.body["nextLink"],
308
- };
309
- }
310
- /** List StandbyContainerGroupPoolResource resources by resource group */
311
- function standbyContainerGroupPoolsListByResourceGroup(context, subscriptionId, resourceGroupName, options = {
312
- requestOptions: {},
313
- }) {
314
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _standbyContainerGroupPoolsListByResourceGroupSend(context, subscriptionId, resourceGroupName, options), _standbyContainerGroupPoolsListByResourceGroupDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
315
- }
316
- function _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options = {
317
- requestOptions: {},
318
- }) {
319
- return context
320
- .path("/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools", subscriptionId)
321
- .get(Object.assign({}, (0, core_client_1.operationOptionsToRequestParameters)(options)));
322
- }
323
- async function _standbyContainerGroupPoolsListBySubscriptionDeserialize(result) {
324
- const expectedStatuses = ["200"];
325
- if (!expectedStatuses.includes(result.status)) {
326
- throw (0, core_client_1.createRestError)(result);
327
- }
328
- return {
329
- value: result.body["value"].map((p) => {
330
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
331
- return {
332
- tags: p["tags"],
333
- location: p["location"],
334
- id: p["id"],
335
- name: p["name"],
336
- type: p["type"],
337
- systemData: !p.systemData
338
- ? undefined
339
- : {
340
- createdBy: (_a = p.systemData) === null || _a === void 0 ? void 0 : _a["createdBy"],
341
- createdByType: (_b = p.systemData) === null || _b === void 0 ? void 0 : _b["createdByType"],
342
- createdAt: ((_c = p.systemData) === null || _c === void 0 ? void 0 : _c["createdAt"]) !== undefined
343
- ? new Date((_d = p.systemData) === null || _d === void 0 ? void 0 : _d["createdAt"])
344
- : undefined,
345
- lastModifiedBy: (_e = p.systemData) === null || _e === void 0 ? void 0 : _e["lastModifiedBy"],
346
- lastModifiedByType: (_f = p.systemData) === null || _f === void 0 ? void 0 : _f["lastModifiedByType"],
347
- lastModifiedAt: ((_g = p.systemData) === null || _g === void 0 ? void 0 : _g["lastModifiedAt"]) !== undefined
348
- ? new Date((_h = p.systemData) === null || _h === void 0 ? void 0 : _h["lastModifiedAt"])
349
- : undefined,
350
- },
351
- properties: !p.properties
352
- ? undefined
353
- : {
354
- elasticityProfile: {
355
- maxReadyCapacity: (_j = p.properties) === null || _j === void 0 ? void 0 : _j.elasticityProfile["maxReadyCapacity"],
356
- refillPolicy: (_k = p.properties) === null || _k === void 0 ? void 0 : _k.elasticityProfile["refillPolicy"],
357
- },
358
- containerGroupProperties: {
359
- containerGroupProfile: {
360
- id: (_l = p.properties) === null || _l === void 0 ? void 0 : _l.containerGroupProperties.containerGroupProfile["id"],
361
- revision: (_m = p.properties) === null || _m === void 0 ? void 0 : _m.containerGroupProperties.containerGroupProfile["revision"],
362
- },
363
- subnetIds: ((_o = p.properties) === null || _o === void 0 ? void 0 : _o.containerGroupProperties["subnetIds"]) === undefined
364
- ? (_p = p.properties) === null || _p === void 0 ? void 0 : _p.containerGroupProperties["subnetIds"]
365
- : (_q = p.properties) === null || _q === void 0 ? void 0 : _q.containerGroupProperties["subnetIds"].map((p) => {
366
- return { id: p["id"] };
367
- }),
368
- },
369
- provisioningState: (_r = p.properties) === null || _r === void 0 ? void 0 : _r["provisioningState"],
370
- },
371
- };
372
- }),
373
- nextLink: result.body["nextLink"],
374
- };
375
- }
376
- /** List StandbyContainerGroupPoolResource resources by subscription ID */
377
- function standbyContainerGroupPoolsListBySubscription(context, subscriptionId, options = {
378
- requestOptions: {},
379
- }) {
380
- return (0, pagingHelpers_js_1.buildPagedAsyncIterator)(context, () => _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options), _standbyContainerGroupPoolsListBySubscriptionDeserialize, ["200"], { itemName: "value", nextLinkName: "nextLink" });
381
- }
5
+ exports.get = exports.createOrUpdate = exports.$delete = exports.update = exports.listByResourceGroup = exports.listBySubscription = void 0;
6
+ var operations_js_1 = require("./operations.js");
7
+ Object.defineProperty(exports, "listBySubscription", { enumerable: true, get: function () { return operations_js_1.listBySubscription; } });
8
+ Object.defineProperty(exports, "listByResourceGroup", { enumerable: true, get: function () { return operations_js_1.listByResourceGroup; } });
9
+ Object.defineProperty(exports, "update", { enumerable: true, get: function () { return operations_js_1.update; } });
10
+ Object.defineProperty(exports, "$delete", { enumerable: true, get: function () { return operations_js_1.$delete; } });
11
+ Object.defineProperty(exports, "createOrUpdate", { enumerable: true, get: function () { return operations_js_1.createOrUpdate; } });
12
+ Object.defineProperty(exports, "get", { enumerable: true, get: function () { return operations_js_1.get; } });
382
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAgClC,gFAeC;AAED,8FAqDC;AAGD,sEAeC;AAED,sGA2BC;AAED,oHAqDC;AAGD,4FAmCC;AAED,sFAiBC;AAED,oGASC;AAGD,4EA2BC;AAED,sFA0BC;AAED,oGAqDC;AAGD,4EAmBC;AAED,gHAeC;AAED,8HA0DC;AAGD,sGAqBC;AAED,8GAaC;AAED,4HA0DC;AAGD,oGAcC;AAtlBD,sDAMgC;AAEhC,yDAKiC;AACjC,6EAAqE;AACrE,8EAA8E;AAC9E,4EAG+C;AAW/C,SAAgB,kCAAkC,CAChD,OAAe,EACf,cAAsB,EACtB,iBAAyB,EACzB,6BAAqC,EACrC,UAAuD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE7E,OAAO,OAAO;SACX,IAAI,CACH,+JAA+J,EAC/J,cAAc,EACd,iBAAiB,EACjB,6BAA6B,CAC9B;SACA,GAAG,mBAAM,IAAA,iDAAmC,EAAC,OAAO,CAAC,EAAG,CAAC;AAC9D,CAAC;AAEM,KAAK,UAAU,yCAAyC,CAC7D,MAA6B;;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,IAAA,6BAAe,EAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,IAA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AC,CAAC;yBACT;wBACD,iBAAiB,EAAE,MAAA,CAAC,CAAC,UAAU,0CAAG,mBAAmB,CAAC;qBACvD;aACN,CAAC;QACJ,CAAC,CAAC;QACF,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC;KAClC,CAAC;AACJ,CAAC;AAED,0EAA0E;AAC1E,SAAgB,4CAA4C,CAC1D,OAAe,EACf,cAAsB,EACtB,UAAsE;IACpE,cAAc,EAAE,EAAE;CACnB;IAED,OAAO,IAAA,0CAAuB,EAC5B,OAAO,EACP,GAAG,EAAE,CAAC,iDAAiD,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,CAAC,EACzF,wDAAwD,EACxD,CAAC,KAAK,CAAC,EACP,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,CAChD,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport {\n standbyContainerGroupPoolResourcePropertiesSerializer,\n standbyContainerGroupPoolResourceUpdatePropertiesSerializer,\n StandbyContainerGroupPoolResource,\n StandbyContainerGroupPoolResourceUpdate,\n _StandbyContainerGroupPoolResourceListResult,\n} from \"../../models/models.js\";\nimport { StandbyPoolContext as Client } from \"../index.js\";\nimport {\n StreamableMethod,\n operationOptionsToRequestParameters,\n PathUncheckedResponse,\n createRestError,\n} from \"@azure-rest/core-client\";\nimport { serializeRecord } from \"../../helpers/serializerHelpers.js\";\nimport { getLongRunningPoller } from \"../../static-helpers/pollingHelpers.js\";\nimport {\n PagedAsyncIterableIterator,\n buildPagedAsyncIterator,\n} from \"../../static-helpers/pagingHelpers.js\";\nimport { PollerLike, OperationState } from \"@azure/core-lro\";\nimport {\n StandbyContainerGroupPoolsGetOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n} from \"../../models/options.js\";\n\nexport function _standbyContainerGroupPoolsGetSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsGetDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Get a StandbyContainerGroupPoolResource */\nexport async function standbyContainerGroupPoolsGet(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsGetOptionalParams = { requestOptions: {} },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _standbyContainerGroupPoolsGetSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n );\n return _standbyContainerGroupPoolsGetDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolsCreateOrUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .put({\n ...operationOptionsToRequestParameters(options),\n body: {\n tags: !resource.tags ? resource.tags : (serializeRecord(resource.tags as any) as any),\n location: resource[\"location\"],\n properties: !resource.properties\n ? resource.properties\n : standbyContainerGroupPoolResourcePropertiesSerializer(resource.properties),\n },\n });\n}\n\nexport async function _standbyContainerGroupPoolsCreateOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Create a StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolsCreateOrUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n resource: StandbyContainerGroupPoolResource,\n options: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n> {\n return getLongRunningPoller(\n context,\n _standbyContainerGroupPoolsCreateOrUpdateDeserialize,\n [\"200\", \"201\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyContainerGroupPoolsCreateOrUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n resource,\n options,\n ),\n resourceLocationConfig: \"azure-async-operation\",\n },\n ) as PollerLike<\n OperationState<StandbyContainerGroupPoolResource>,\n StandbyContainerGroupPoolResource\n >;\n}\n\nexport function _standbyContainerGroupPoolsDeleteSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsDeleteDeserialize(\n result: PathUncheckedResponse,\n): Promise<void> {\n const expectedStatuses = [\"202\", \"204\", \"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return;\n}\n\n/** Delete a StandbyContainerGroupPoolResource */\nexport function standbyContainerGroupPoolsDelete(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n options: StandbyContainerGroupPoolsDeleteOptionalParams = {\n requestOptions: {},\n },\n): PollerLike<OperationState<void>, void> {\n return getLongRunningPoller(\n context,\n _standbyContainerGroupPoolsDeleteDeserialize,\n [\"202\", \"204\", \"200\"],\n {\n updateIntervalInMs: options?.updateIntervalInMs,\n abortSignal: options?.abortSignal,\n getInitialResponse: () =>\n _standbyContainerGroupPoolsDeleteSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n options,\n ),\n resourceLocationConfig: \"location\",\n },\n ) as PollerLike<OperationState<void>, void>;\n}\n\nexport function _standbyContainerGroupPoolsUpdateSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}\",\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n )\n .patch({\n ...operationOptionsToRequestParameters(options),\n body: {\n tags: !properties.tags ? properties.tags : (serializeRecord(properties.tags as any) as any),\n properties: !properties.properties\n ? properties.properties\n : standbyContainerGroupPoolResourceUpdatePropertiesSerializer(properties.properties),\n },\n });\n}\n\nexport async function _standbyContainerGroupPoolsUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<StandbyContainerGroupPoolResource> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n tags: result.body[\"tags\"],\n location: result.body[\"location\"],\n id: result.body[\"id\"],\n name: result.body[\"name\"],\n type: result.body[\"type\"],\n systemData: !result.body.systemData\n ? undefined\n : {\n createdBy: result.body.systemData?.[\"createdBy\"],\n createdByType: result.body.systemData?.[\"createdByType\"],\n createdAt:\n result.body.systemData?.[\"createdAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: result.body.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: result.body.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n result.body.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(result.body.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !result.body.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: result.body.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: result.body.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: result.body.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n result.body.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n result.body.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? result.body.properties?.containerGroupProperties[\"subnetIds\"]\n : result.body.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: result.body.properties?.[\"provisioningState\"],\n },\n };\n}\n\n/** Update a StandbyContainerGroupPoolResource */\nexport async function standbyContainerGroupPoolsUpdate(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n standbyContainerGroupPoolName: string,\n properties: StandbyContainerGroupPoolResourceUpdate,\n options: StandbyContainerGroupPoolsUpdateOptionalParams = {\n requestOptions: {},\n },\n): Promise<StandbyContainerGroupPoolResource> {\n const result = await _standbyContainerGroupPoolsUpdateSend(\n context,\n subscriptionId,\n resourceGroupName,\n standbyContainerGroupPoolName,\n properties,\n options,\n );\n return _standbyContainerGroupPoolsUpdateDeserialize(result);\n}\n\nexport function _standbyContainerGroupPoolsListByResourceGroupSend(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools\",\n subscriptionId,\n resourceGroupName,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsListByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p: any) => {\n return {\n tags: p[\"tags\"],\n location: p[\"location\"],\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: p.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: p.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: p.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n p.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n p.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? p.properties?.containerGroupProperties[\"subnetIds\"]\n : p.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolResource resources by resource group */\nexport function standbyContainerGroupPoolsListByResourceGroup(\n context: Client,\n subscriptionId: string,\n resourceGroupName: string,\n options: StandbyContainerGroupPoolsListByResourceGroupOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () =>\n _standbyContainerGroupPoolsListByResourceGroupSend(\n context,\n subscriptionId,\n resourceGroupName,\n options,\n ),\n _standbyContainerGroupPoolsListByResourceGroupDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n\nexport function _standbyContainerGroupPoolsListBySubscriptionSend(\n context: Client,\n subscriptionId: string,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): StreamableMethod {\n return context\n .path(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.StandbyPool/standbyContainerGroupPools\",\n subscriptionId,\n )\n .get({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _standbyContainerGroupPoolsListBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_StandbyContainerGroupPoolResourceListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n throw createRestError(result);\n }\n\n return {\n value: result.body[\"value\"].map((p: any) => {\n return {\n tags: p[\"tags\"],\n location: p[\"location\"],\n id: p[\"id\"],\n name: p[\"name\"],\n type: p[\"type\"],\n systemData: !p.systemData\n ? undefined\n : {\n createdBy: p.systemData?.[\"createdBy\"],\n createdByType: p.systemData?.[\"createdByType\"],\n createdAt:\n p.systemData?.[\"createdAt\"] !== undefined\n ? new Date(p.systemData?.[\"createdAt\"])\n : undefined,\n lastModifiedBy: p.systemData?.[\"lastModifiedBy\"],\n lastModifiedByType: p.systemData?.[\"lastModifiedByType\"],\n lastModifiedAt:\n p.systemData?.[\"lastModifiedAt\"] !== undefined\n ? new Date(p.systemData?.[\"lastModifiedAt\"])\n : undefined,\n },\n properties: !p.properties\n ? undefined\n : {\n elasticityProfile: {\n maxReadyCapacity: p.properties?.elasticityProfile[\"maxReadyCapacity\"],\n refillPolicy: p.properties?.elasticityProfile[\"refillPolicy\"],\n },\n containerGroupProperties: {\n containerGroupProfile: {\n id: p.properties?.containerGroupProperties.containerGroupProfile[\"id\"],\n revision:\n p.properties?.containerGroupProperties.containerGroupProfile[\"revision\"],\n },\n subnetIds:\n p.properties?.containerGroupProperties[\"subnetIds\"] === undefined\n ? p.properties?.containerGroupProperties[\"subnetIds\"]\n : p.properties?.containerGroupProperties[\"subnetIds\"].map((p: any) => {\n return { id: p[\"id\"] };\n }),\n },\n provisioningState: p.properties?.[\"provisioningState\"],\n },\n };\n }),\n nextLink: result.body[\"nextLink\"],\n };\n}\n\n/** List StandbyContainerGroupPoolResource resources by subscription ID */\nexport function standbyContainerGroupPoolsListBySubscription(\n context: Client,\n subscriptionId: string,\n options: StandbyContainerGroupPoolsListBySubscriptionOptionalParams = {\n requestOptions: {},\n },\n): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource> {\n return buildPagedAsyncIterator(\n context,\n () => _standbyContainerGroupPoolsListBySubscriptionSend(context, subscriptionId, options),\n _standbyContainerGroupPoolsListBySubscriptionDeserialize,\n [\"200\"],\n { itemName: \"value\", nextLinkName: \"nextLink\" },\n );\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,iDAOyB;AANvB,mHAAA,kBAAkB,OAAA;AAClB,oHAAA,mBAAmB,OAAA;AACnB,uGAAA,MAAM,OAAA;AACN,wGAAA,OAAO,OAAA;AACP,+GAAA,cAAc,OAAA;AACd,oGAAA,GAAG,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listBySubscription,\n listByResourceGroup,\n update,\n $delete,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport {\n StandbyContainerGroupPoolsListBySubscriptionOptionalParams,\n StandbyContainerGroupPoolsListByResourceGroupOptionalParams,\n StandbyContainerGroupPoolsUpdateOptionalParams,\n StandbyContainerGroupPoolsDeleteOptionalParams,\n StandbyContainerGroupPoolsCreateOrUpdateOptionalParams,\n StandbyContainerGroupPoolsGetOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,36 @@
1
+ import { StandbyPoolManagementContext as Client } from "../index.js";
2
+ import { StandbyContainerGroupPoolResource, StandbyContainerGroupPoolResourceUpdate, _StandbyContainerGroupPoolResourceListResult } from "../../models/models.js";
3
+ import { StandbyContainerGroupPoolsListBySubscriptionOptionalParams, StandbyContainerGroupPoolsListByResourceGroupOptionalParams, StandbyContainerGroupPoolsUpdateOptionalParams, StandbyContainerGroupPoolsDeleteOptionalParams, StandbyContainerGroupPoolsCreateOrUpdateOptionalParams, StandbyContainerGroupPoolsGetOptionalParams } from "./options.js";
4
+ import { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ import { PollerLike, OperationState } from "@azure/core-lro";
7
+ export declare function _listBySubscriptionSend(context: Client, options?: StandbyContainerGroupPoolsListBySubscriptionOptionalParams): StreamableMethod;
8
+ export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolResourceListResult>;
9
+ /** List StandbyContainerGroupPoolResource resources by subscription ID */
10
+ export declare function listBySubscription(context: Client, options?: StandbyContainerGroupPoolsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource>;
11
+ export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: StandbyContainerGroupPoolsListByResourceGroupOptionalParams): StreamableMethod;
12
+ export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_StandbyContainerGroupPoolResourceListResult>;
13
+ /** List StandbyContainerGroupPoolResource resources by resource group */
14
+ export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: StandbyContainerGroupPoolsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StandbyContainerGroupPoolResource>;
15
+ export declare function _updateSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, properties: StandbyContainerGroupPoolResourceUpdate, options?: StandbyContainerGroupPoolsUpdateOptionalParams): StreamableMethod;
16
+ export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolResource>;
17
+ /** Update a StandbyContainerGroupPoolResource */
18
+ export declare function update(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, properties: StandbyContainerGroupPoolResourceUpdate, options?: StandbyContainerGroupPoolsUpdateOptionalParams): Promise<StandbyContainerGroupPoolResource>;
19
+ export declare function _$deleteSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsDeleteOptionalParams): StreamableMethod;
20
+ export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
21
+ /** Delete a StandbyContainerGroupPoolResource */
22
+ /**
23
+ * @fixme delete is a reserved word that cannot be used as an operation name.
24
+ * Please add @clientName("clientName") or @clientName("<JS-Specific-Name>", "javascript")
25
+ * to the operation to override the generated name.
26
+ */
27
+ export declare function $delete(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsDeleteOptionalParams): PollerLike<OperationState<void>, void>;
28
+ export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, resource: StandbyContainerGroupPoolResource, options?: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams): StreamableMethod;
29
+ export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolResource>;
30
+ /** Create a StandbyContainerGroupPoolResource */
31
+ export declare function createOrUpdate(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, resource: StandbyContainerGroupPoolResource, options?: StandbyContainerGroupPoolsCreateOrUpdateOptionalParams): PollerLike<OperationState<StandbyContainerGroupPoolResource>, StandbyContainerGroupPoolResource>;
32
+ export declare function _getSend(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsGetOptionalParams): StreamableMethod;
33
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<StandbyContainerGroupPoolResource>;
34
+ /** Get a StandbyContainerGroupPoolResource */
35
+ export declare function get(context: Client, resourceGroupName: string, standbyContainerGroupPoolName: string, options?: StandbyContainerGroupPoolsGetOptionalParams): Promise<StandbyContainerGroupPoolResource>;
36
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/api/standbyContainerGroupPools/operations.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAEL,iCAAiC,EAGjC,uCAAuC,EAEvC,4CAA4C,EAE7C,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,0DAA0D,EAC1D,2DAA2D,EAC3D,8CAA8C,EAC9C,8CAA8C,EAC9C,sDAAsD,EACtD,2CAA2C,EAC5C,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,0BAA0B,EAE3B,MAAM,uCAAuC,CAAC;AAG/C,OAAO,EACL,gBAAgB,EAChB,qBAAqB,EAGtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAE7D,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,0DAER,GACA,gBAAgB,CAkBlB;AAED,wBAAsB,8BAA8B,CAClD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CASvD;AAED,0EAA0E;AAC1E,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,MAAM,EACf,OAAO,GAAE,0DAER,GACA,0BAA0B,CAAC,iCAAiC,CAAC,CAQ/D;AAED,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,2DAER,GACA,gBAAgB,CAmBlB;AAED,wBAAsB,+BAA+B,CACnD,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,4CAA4C,CAAC,CASvD;AAED,yEAAyE;AACzE,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,EACzB,OAAO,GAAE,2DAER,GACA,0BAA0B,CAAC,iC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