@azure/arm-containerinstance 9.2.0-beta.1 → 10.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (693) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +30 -24
  3. package/dist/browser/api/cgProfile/index.d.ts +3 -0
  4. package/dist/browser/api/cgProfile/index.js +4 -0
  5. package/dist/browser/api/cgProfile/index.js.map +1 -0
  6. package/dist/browser/api/cgProfile/operations.d.ts +30 -0
  7. package/dist/browser/api/cgProfile/operations.js +192 -0
  8. package/dist/browser/api/cgProfile/operations.js.map +1 -0
  9. package/dist/browser/api/cgProfile/options.d.ts +20 -0
  10. package/dist/browser/api/cgProfile/options.js +4 -0
  11. package/dist/browser/api/cgProfile/options.js.map +1 -0
  12. package/dist/browser/api/cgProfiles/index.d.ts +3 -0
  13. package/dist/browser/api/cgProfiles/index.js +4 -0
  14. package/dist/browser/api/cgProfiles/index.js.map +1 -0
  15. package/dist/browser/api/cgProfiles/operations.d.ts +14 -0
  16. package/dist/browser/api/cgProfiles/operations.js +70 -0
  17. package/dist/browser/api/cgProfiles/operations.js.map +1 -0
  18. package/dist/browser/api/cgProfiles/options.d.ts +8 -0
  19. package/dist/browser/api/cgProfiles/options.js +4 -0
  20. package/dist/browser/api/cgProfiles/options.js.map +1 -0
  21. package/dist/browser/api/containerGroups/index.d.ts +3 -0
  22. package/dist/browser/api/containerGroups/index.js +4 -0
  23. package/dist/browser/api/containerGroups/index.js.map +1 -0
  24. package/dist/browser/api/containerGroups/operations.d.ts +47 -0
  25. package/dist/browser/api/containerGroups/operations.js +334 -0
  26. package/dist/browser/api/containerGroups/operations.js.map +1 -0
  27. package/dist/browser/api/containerGroups/options.d.ts +40 -0
  28. package/dist/browser/api/containerGroups/options.js +4 -0
  29. package/dist/browser/api/containerGroups/options.js.map +1 -0
  30. package/dist/browser/api/containerInstanceManagementContext.d.ts +22 -0
  31. package/dist/browser/api/containerInstanceManagementContext.js +26 -0
  32. package/dist/browser/api/containerInstanceManagementContext.js.map +1 -0
  33. package/dist/browser/api/containers/index.d.ts +3 -0
  34. package/dist/browser/api/containers/index.js +4 -0
  35. package/dist/browser/api/containers/index.js.map +1 -0
  36. package/dist/browser/api/containers/operations.d.ts +17 -0
  37. package/dist/browser/api/containers/operations.js +103 -0
  38. package/dist/browser/api/containers/operations.js.map +1 -0
  39. package/dist/browser/api/containers/options.d.ts +15 -0
  40. package/dist/browser/api/containers/options.js +4 -0
  41. package/dist/browser/api/containers/options.js.map +1 -0
  42. package/dist/browser/api/index.d.ts +3 -0
  43. package/dist/browser/api/index.js +4 -0
  44. package/dist/browser/api/index.js.map +1 -0
  45. package/dist/browser/api/location/index.d.ts +3 -0
  46. package/dist/browser/api/location/index.js +4 -0
  47. package/dist/browser/api/location/index.js.map +1 -0
  48. package/dist/browser/api/location/operations.d.ts +18 -0
  49. package/dist/browser/api/location/operations.js +103 -0
  50. package/dist/browser/api/location/operations.js.map +1 -0
  51. package/dist/browser/api/location/options.d.ts +11 -0
  52. package/dist/browser/api/location/options.js +4 -0
  53. package/dist/browser/api/location/options.js.map +1 -0
  54. package/dist/browser/api/nGroups/index.d.ts +3 -0
  55. package/dist/browser/api/nGroups/index.js +4 -0
  56. package/dist/browser/api/nGroups/index.js.map +1 -0
  57. package/dist/browser/api/nGroups/operations.d.ts +43 -0
  58. package/dist/browser/api/nGroups/operations.js +298 -0
  59. package/dist/browser/api/nGroups/operations.js.map +1 -0
  60. package/dist/browser/api/nGroups/options.d.ts +39 -0
  61. package/dist/browser/api/nGroups/options.js +4 -0
  62. package/dist/browser/api/nGroups/options.js.map +1 -0
  63. package/dist/browser/api/operations/index.d.ts +3 -0
  64. package/dist/browser/api/operations/index.js +4 -0
  65. package/dist/browser/api/operations/index.js.map +1 -0
  66. package/dist/browser/api/operations/operations.d.ts +10 -0
  67. package/dist/browser/api/operations/operations.js +37 -0
  68. package/dist/browser/api/operations/operations.js.map +1 -0
  69. package/dist/browser/api/operations/options.d.ts +5 -0
  70. package/dist/browser/api/operations/options.js +4 -0
  71. package/dist/browser/api/operations/options.js.map +1 -0
  72. package/dist/browser/api/sandboxGroups/index.d.ts +3 -0
  73. package/dist/browser/api/sandboxGroups/index.js +4 -0
  74. package/dist/browser/api/sandboxGroups/index.js.map +1 -0
  75. package/dist/browser/api/sandboxGroups/operations.d.ts +35 -0
  76. package/dist/browser/api/sandboxGroups/operations.js +237 -0
  77. package/dist/browser/api/sandboxGroups/operations.js.map +1 -0
  78. package/dist/browser/api/sandboxGroups/options.d.ts +29 -0
  79. package/dist/browser/api/sandboxGroups/options.js +4 -0
  80. package/dist/browser/api/sandboxGroups/options.js.map +1 -0
  81. package/dist/browser/api/subnetServiceAssociationLink/index.d.ts +3 -0
  82. package/dist/browser/api/subnetServiceAssociationLink/index.js +4 -0
  83. package/dist/browser/api/subnetServiceAssociationLink/index.js.map +1 -0
  84. package/dist/browser/api/subnetServiceAssociationLink/operations.d.ts +9 -0
  85. package/dist/browser/api/subnetServiceAssociationLink/operations.js +40 -0
  86. package/dist/browser/api/subnetServiceAssociationLink/operations.js.map +1 -0
  87. package/dist/browser/api/subnetServiceAssociationLink/options.d.ts +7 -0
  88. package/dist/browser/api/subnetServiceAssociationLink/options.js +4 -0
  89. package/dist/browser/api/subnetServiceAssociationLink/options.js.map +1 -0
  90. package/dist/browser/classic/cgProfile/index.d.ts +21 -0
  91. package/dist/browser/classic/cgProfile/index.js +19 -0
  92. package/dist/browser/classic/cgProfile/index.js.map +1 -0
  93. package/dist/browser/classic/cgProfiles/index.d.ts +13 -0
  94. package/dist/browser/classic/cgProfiles/index.js +15 -0
  95. package/dist/browser/classic/cgProfiles/index.js.map +1 -0
  96. package/dist/browser/classic/containerGroups/index.d.ts +47 -0
  97. package/dist/browser/classic/containerGroups/index.js +56 -0
  98. package/dist/browser/classic/containerGroups/index.js.map +1 -0
  99. package/dist/browser/classic/containers/index.d.ts +14 -0
  100. package/dist/browser/classic/containers/index.js +16 -0
  101. package/dist/browser/classic/containers/index.js.map +1 -0
  102. package/dist/browser/classic/index.d.ts +10 -0
  103. package/dist/browser/classic/index.js +4 -0
  104. package/dist/browser/classic/index.js.map +1 -0
  105. package/dist/browser/classic/location/index.d.ts +15 -0
  106. package/dist/browser/classic/location/index.js +16 -0
  107. package/dist/browser/classic/location/index.js.map +1 -0
  108. package/dist/browser/classic/nGroups/index.d.ts +49 -0
  109. package/dist/browser/classic/nGroups/index.js +63 -0
  110. package/dist/browser/classic/nGroups/index.js.map +1 -0
  111. package/dist/browser/classic/operations/index.d.ts +11 -0
  112. package/dist/browser/classic/operations/index.js +14 -0
  113. package/dist/browser/classic/operations/index.js.map +1 -0
  114. package/dist/browser/classic/sandboxGroups/index.d.ts +37 -0
  115. package/dist/browser/classic/sandboxGroups/index.js +45 -0
  116. package/dist/browser/classic/sandboxGroups/index.js.map +1 -0
  117. package/dist/browser/classic/subnetServiceAssociationLink/index.d.ts +15 -0
  118. package/dist/browser/classic/subnetServiceAssociationLink/index.js +23 -0
  119. package/dist/browser/classic/subnetServiceAssociationLink/index.js.map +1 -0
  120. package/dist/browser/containerInstanceManagementClient.d.ts +39 -0
  121. package/dist/browser/containerInstanceManagementClient.js +65 -0
  122. package/dist/browser/containerInstanceManagementClient.js.map +1 -0
  123. package/dist/browser/index.d.ts +25 -0
  124. package/dist/browser/index.js +9 -0
  125. package/dist/browser/index.js.map +1 -0
  126. package/dist/browser/logger.d.ts +2 -0
  127. package/dist/browser/logger.js +5 -0
  128. package/dist/browser/logger.js.map +1 -0
  129. package/dist/browser/models/index.d.ts +3 -0
  130. package/dist/browser/models/index.js +4 -0
  131. package/dist/browser/models/index.js.map +1 -0
  132. package/dist/browser/models/models.d.ts +1906 -0
  133. package/dist/browser/models/models.js +2594 -0
  134. package/dist/browser/models/models.js.map +1 -0
  135. package/dist/browser/package.json +3 -0
  136. package/dist/browser/restorePollerHelpers.d.ts +21 -0
  137. package/dist/browser/restorePollerHelpers.js +118 -0
  138. package/dist/browser/restorePollerHelpers.js.map +1 -0
  139. package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
  140. package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
  141. package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
  142. package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
  143. package/dist/browser/static-helpers/pagingHelpers.js +143 -0
  144. package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
  145. package/dist/browser/static-helpers/pollingHelpers.d.ts +34 -0
  146. package/dist/browser/static-helpers/pollingHelpers.js +95 -0
  147. package/dist/browser/static-helpers/pollingHelpers.js.map +1 -0
  148. package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  149. package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
  150. package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  151. package/dist/browser/static-helpers/simplePollerHelpers.d.ts +73 -0
  152. package/dist/browser/static-helpers/simplePollerHelpers.js +44 -0
  153. package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -0
  154. package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
  155. package/dist/browser/static-helpers/urlTemplate.js +200 -0
  156. package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
  157. package/dist/commonjs/api/cgProfile/index.d.ts +3 -0
  158. package/dist/commonjs/api/cgProfile/index.js +38 -0
  159. package/dist/commonjs/api/cgProfile/index.js.map +7 -0
  160. package/dist/commonjs/api/cgProfile/operations.d.ts +30 -0
  161. package/dist/commonjs/api/cgProfile/operations.js +292 -0
  162. package/dist/commonjs/api/cgProfile/operations.js.map +7 -0
  163. package/dist/commonjs/api/cgProfile/options.d.ts +20 -0
  164. package/dist/commonjs/api/cgProfile/options.js +16 -0
  165. package/dist/commonjs/api/cgProfile/options.js.map +7 -0
  166. package/dist/commonjs/api/cgProfiles/index.d.ts +3 -0
  167. package/dist/commonjs/api/cgProfiles/index.js +30 -0
  168. package/dist/commonjs/api/cgProfiles/index.js.map +7 -0
  169. package/dist/commonjs/api/cgProfiles/operations.d.ts +14 -0
  170. package/dist/commonjs/api/cgProfiles/operations.js +122 -0
  171. package/dist/commonjs/api/cgProfiles/operations.js.map +7 -0
  172. package/dist/commonjs/api/cgProfiles/options.d.ts +8 -0
  173. package/dist/commonjs/api/cgProfiles/options.js +16 -0
  174. package/dist/commonjs/api/cgProfiles/options.js.map +7 -0
  175. package/dist/commonjs/api/containerGroups/index.d.ts +3 -0
  176. package/dist/commonjs/api/containerGroups/index.js +46 -0
  177. package/dist/commonjs/api/containerGroups/index.js.map +7 -0
  178. package/dist/commonjs/api/containerGroups/operations.d.ts +47 -0
  179. package/dist/commonjs/api/containerGroups/operations.js +469 -0
  180. package/dist/commonjs/api/containerGroups/operations.js.map +7 -0
  181. package/dist/commonjs/api/containerGroups/options.d.ts +40 -0
  182. package/dist/commonjs/api/containerGroups/options.js +16 -0
  183. package/dist/commonjs/api/containerGroups/options.js.map +7 -0
  184. package/dist/commonjs/api/containerInstanceManagementContext.d.ts +22 -0
  185. package/dist/commonjs/api/containerInstanceManagementContext.js +47 -0
  186. package/dist/commonjs/api/containerInstanceManagementContext.js.map +7 -0
  187. package/dist/commonjs/api/containers/index.d.ts +3 -0
  188. package/dist/commonjs/api/containers/index.js +32 -0
  189. package/dist/commonjs/api/containers/index.js.map +7 -0
  190. package/dist/commonjs/api/containers/operations.d.ts +17 -0
  191. package/dist/commonjs/api/containers/operations.js +171 -0
  192. package/dist/commonjs/api/containers/operations.js.map +7 -0
  193. package/dist/commonjs/api/containers/options.d.ts +15 -0
  194. package/dist/commonjs/api/containers/options.js +16 -0
  195. package/dist/commonjs/api/containers/options.js.map +7 -0
  196. package/dist/commonjs/api/index.d.ts +3 -0
  197. package/dist/commonjs/api/index.js +28 -0
  198. package/dist/commonjs/api/index.js.map +7 -0
  199. package/dist/commonjs/api/location/index.d.ts +3 -0
  200. package/dist/commonjs/api/location/index.js +32 -0
  201. package/dist/commonjs/api/location/index.js.map +7 -0
  202. package/dist/commonjs/api/location/operations.d.ts +18 -0
  203. package/dist/commonjs/api/location/operations.js +170 -0
  204. package/dist/commonjs/api/location/operations.js.map +7 -0
  205. package/dist/commonjs/api/location/options.d.ts +11 -0
  206. package/dist/commonjs/api/location/options.js +16 -0
  207. package/dist/commonjs/api/location/options.js.map +7 -0
  208. package/dist/commonjs/api/nGroups/index.d.ts +3 -0
  209. package/dist/commonjs/api/nGroups/index.js +44 -0
  210. package/dist/commonjs/api/nGroups/index.js.map +7 -0
  211. package/dist/commonjs/api/nGroups/operations.d.ts +43 -0
  212. package/dist/commonjs/api/nGroups/operations.js +413 -0
  213. package/dist/commonjs/api/nGroups/operations.js.map +7 -0
  214. package/dist/commonjs/api/nGroups/options.d.ts +39 -0
  215. package/dist/commonjs/api/nGroups/options.js +16 -0
  216. package/dist/commonjs/api/nGroups/options.js.map +7 -0
  217. package/dist/commonjs/api/operations/index.d.ts +3 -0
  218. package/dist/commonjs/api/operations/index.js +28 -0
  219. package/dist/commonjs/api/operations/index.js.map +7 -0
  220. package/dist/commonjs/api/operations/operations.d.ts +10 -0
  221. package/dist/commonjs/api/operations/operations.js +74 -0
  222. package/dist/commonjs/api/operations/operations.js.map +7 -0
  223. package/dist/commonjs/api/operations/options.d.ts +5 -0
  224. package/dist/commonjs/api/operations/options.js +16 -0
  225. package/dist/commonjs/api/operations/options.js.map +7 -0
  226. package/dist/commonjs/api/sandboxGroups/index.d.ts +3 -0
  227. package/dist/commonjs/api/sandboxGroups/index.js +40 -0
  228. package/dist/commonjs/api/sandboxGroups/index.js.map +7 -0
  229. package/dist/commonjs/api/sandboxGroups/operations.d.ts +35 -0
  230. package/dist/commonjs/api/sandboxGroups/operations.js +334 -0
  231. package/dist/commonjs/api/sandboxGroups/operations.js.map +7 -0
  232. package/dist/commonjs/api/sandboxGroups/options.d.ts +29 -0
  233. package/dist/commonjs/api/sandboxGroups/options.js +16 -0
  234. package/dist/commonjs/api/sandboxGroups/options.js.map +7 -0
  235. package/dist/commonjs/api/subnetServiceAssociationLink/index.d.ts +3 -0
  236. package/dist/commonjs/api/subnetServiceAssociationLink/index.js +28 -0
  237. package/dist/commonjs/api/subnetServiceAssociationLink/index.js.map +7 -0
  238. package/dist/commonjs/api/subnetServiceAssociationLink/operations.d.ts +9 -0
  239. package/dist/commonjs/api/subnetServiceAssociationLink/operations.js +71 -0
  240. package/dist/commonjs/api/subnetServiceAssociationLink/operations.js.map +7 -0
  241. package/dist/commonjs/api/subnetServiceAssociationLink/options.d.ts +7 -0
  242. package/dist/commonjs/api/subnetServiceAssociationLink/options.js +16 -0
  243. package/dist/commonjs/api/subnetServiceAssociationLink/options.js.map +7 -0
  244. package/dist/commonjs/classic/cgProfile/index.d.ts +21 -0
  245. package/dist/commonjs/classic/cgProfile/index.js +55 -0
  246. package/dist/commonjs/classic/cgProfile/index.js.map +7 -0
  247. package/dist/commonjs/classic/cgProfiles/index.d.ts +13 -0
  248. package/dist/commonjs/classic/cgProfiles/index.js +39 -0
  249. package/dist/commonjs/classic/cgProfiles/index.js.map +7 -0
  250. package/dist/commonjs/classic/containerGroups/index.d.ts +47 -0
  251. package/dist/commonjs/classic/containerGroups/index.js +97 -0
  252. package/dist/commonjs/classic/containerGroups/index.js.map +7 -0
  253. package/dist/commonjs/classic/containers/index.d.ts +14 -0
  254. package/dist/commonjs/classic/containers/index.js +47 -0
  255. package/dist/commonjs/classic/containers/index.js.map +7 -0
  256. package/dist/commonjs/classic/index.d.ts +10 -0
  257. package/dist/commonjs/classic/index.js +16 -0
  258. package/dist/commonjs/classic/index.js.map +7 -0
  259. package/dist/commonjs/classic/location/index.d.ts +15 -0
  260. package/dist/commonjs/classic/location/index.js +40 -0
  261. package/dist/commonjs/classic/location/index.js.map +7 -0
  262. package/dist/commonjs/classic/nGroups/index.d.ts +49 -0
  263. package/dist/commonjs/classic/nGroups/index.js +87 -0
  264. package/dist/commonjs/classic/nGroups/index.js.map +7 -0
  265. package/dist/commonjs/classic/operations/index.d.ts +11 -0
  266. package/dist/commonjs/classic/operations/index.js +38 -0
  267. package/dist/commonjs/classic/operations/index.js.map +7 -0
  268. package/dist/commonjs/classic/sandboxGroups/index.d.ts +37 -0
  269. package/dist/commonjs/classic/sandboxGroups/index.js +75 -0
  270. package/dist/commonjs/classic/sandboxGroups/index.js.map +7 -0
  271. package/dist/commonjs/classic/subnetServiceAssociationLink/index.d.ts +15 -0
  272. package/dist/commonjs/classic/subnetServiceAssociationLink/index.js +47 -0
  273. package/dist/commonjs/classic/subnetServiceAssociationLink/index.js.map +7 -0
  274. package/dist/commonjs/containerInstanceManagementClient.d.ts +39 -0
  275. package/dist/commonjs/containerInstanceManagementClient.js +86 -0
  276. package/dist/commonjs/containerInstanceManagementClient.js.map +7 -0
  277. package/dist/commonjs/index.d.ts +25 -0
  278. package/dist/commonjs/index.js +78 -0
  279. package/dist/commonjs/index.js.map +7 -0
  280. package/dist/commonjs/logger.d.ts +2 -0
  281. package/dist/commonjs/logger.js +29 -0
  282. package/dist/commonjs/logger.js.map +7 -0
  283. package/dist/commonjs/models/index.d.ts +3 -0
  284. package/dist/commonjs/models/index.js +64 -0
  285. package/dist/commonjs/models/index.js.map +7 -0
  286. package/dist/commonjs/models/models.d.ts +1906 -0
  287. package/dist/commonjs/models/models.js +2571 -0
  288. package/dist/commonjs/models/models.js.map +7 -0
  289. package/dist/commonjs/package.json +3 -0
  290. package/dist/commonjs/restorePollerHelpers.d.ts +21 -0
  291. package/dist/commonjs/restorePollerHelpers.js +131 -0
  292. package/dist/commonjs/restorePollerHelpers.js.map +7 -0
  293. package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
  294. package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
  295. package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
  296. package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
  297. package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
  298. package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
  299. package/dist/commonjs/static-helpers/pollingHelpers.d.ts +34 -0
  300. package/dist/commonjs/static-helpers/pollingHelpers.js +101 -0
  301. package/dist/commonjs/static-helpers/pollingHelpers.js.map +7 -0
  302. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  303. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
  304. package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
  305. package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +73 -0
  306. package/dist/commonjs/static-helpers/simplePollerHelpers.js +67 -0
  307. package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +7 -0
  308. package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
  309. package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
  310. package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
  311. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  312. package/dist/esm/api/cgProfile/index.d.ts +3 -0
  313. package/dist/esm/api/cgProfile/index.js +4 -0
  314. package/dist/esm/api/cgProfile/index.js.map +1 -0
  315. package/dist/esm/api/cgProfile/operations.d.ts +30 -0
  316. package/dist/esm/api/cgProfile/operations.js +192 -0
  317. package/dist/esm/api/cgProfile/operations.js.map +1 -0
  318. package/dist/esm/api/cgProfile/options.d.ts +20 -0
  319. package/dist/esm/api/cgProfile/options.js +4 -0
  320. package/dist/esm/api/cgProfile/options.js.map +1 -0
  321. package/dist/esm/api/cgProfiles/index.d.ts +3 -0
  322. package/dist/esm/api/cgProfiles/index.js +4 -0
  323. package/dist/esm/api/cgProfiles/index.js.map +1 -0
  324. package/dist/esm/api/cgProfiles/operations.d.ts +14 -0
  325. package/dist/esm/api/cgProfiles/operations.js +70 -0
  326. package/dist/esm/api/cgProfiles/operations.js.map +1 -0
  327. package/dist/esm/api/cgProfiles/options.d.ts +8 -0
  328. package/dist/esm/api/cgProfiles/options.js +4 -0
  329. package/dist/esm/api/cgProfiles/options.js.map +1 -0
  330. package/dist/esm/api/containerGroups/index.d.ts +3 -0
  331. package/dist/esm/api/containerGroups/index.js +4 -0
  332. package/dist/esm/api/containerGroups/index.js.map +1 -0
  333. package/dist/esm/api/containerGroups/operations.d.ts +47 -0
  334. package/dist/esm/api/containerGroups/operations.js +334 -0
  335. package/dist/esm/api/containerGroups/operations.js.map +1 -0
  336. package/dist/esm/api/containerGroups/options.d.ts +40 -0
  337. package/dist/esm/api/containerGroups/options.js +4 -0
  338. package/dist/esm/api/containerGroups/options.js.map +1 -0
  339. package/dist/esm/api/containerInstanceManagementContext.d.ts +22 -0
  340. package/dist/esm/api/containerInstanceManagementContext.js +26 -0
  341. package/dist/esm/api/containerInstanceManagementContext.js.map +1 -0
  342. package/dist/esm/api/containers/index.d.ts +3 -0
  343. package/dist/esm/api/containers/index.js +4 -0
  344. package/dist/esm/api/containers/index.js.map +1 -0
  345. package/dist/esm/api/containers/operations.d.ts +17 -0
  346. package/dist/esm/api/containers/operations.js +103 -0
  347. package/dist/esm/api/containers/operations.js.map +1 -0
  348. package/dist/esm/api/containers/options.d.ts +15 -0
  349. package/dist/esm/api/containers/options.js +4 -0
  350. package/dist/esm/api/containers/options.js.map +1 -0
  351. package/dist/esm/api/index.d.ts +3 -0
  352. package/dist/esm/api/index.js +4 -0
  353. package/dist/esm/api/index.js.map +1 -0
  354. package/dist/esm/api/location/index.d.ts +3 -0
  355. package/dist/esm/api/location/index.js +4 -0
  356. package/dist/esm/api/location/index.js.map +1 -0
  357. package/dist/esm/api/location/operations.d.ts +18 -0
  358. package/dist/esm/api/location/operations.js +103 -0
  359. package/dist/esm/api/location/operations.js.map +1 -0
  360. package/dist/esm/api/location/options.d.ts +11 -0
  361. package/dist/esm/api/location/options.js +4 -0
  362. package/dist/esm/api/location/options.js.map +1 -0
  363. package/dist/esm/api/nGroups/index.d.ts +3 -0
  364. package/dist/esm/api/nGroups/index.js +4 -0
  365. package/dist/esm/api/nGroups/index.js.map +1 -0
  366. package/dist/esm/api/nGroups/operations.d.ts +43 -0
  367. package/dist/esm/api/nGroups/operations.js +298 -0
  368. package/dist/esm/api/nGroups/operations.js.map +1 -0
  369. package/dist/esm/api/nGroups/options.d.ts +39 -0
  370. package/dist/esm/api/nGroups/options.js +4 -0
  371. package/dist/esm/api/nGroups/options.js.map +1 -0
  372. package/dist/esm/api/operations/index.d.ts +3 -0
  373. package/dist/esm/api/operations/index.js +4 -0
  374. package/dist/esm/api/operations/index.js.map +1 -0
  375. package/dist/esm/api/operations/operations.d.ts +10 -0
  376. package/dist/esm/api/operations/operations.js +37 -0
  377. package/dist/esm/api/operations/operations.js.map +1 -0
  378. package/dist/esm/api/operations/options.d.ts +5 -0
  379. package/dist/esm/api/operations/options.js +4 -0
  380. package/dist/esm/api/operations/options.js.map +1 -0
  381. package/dist/esm/api/sandboxGroups/index.d.ts +3 -0
  382. package/dist/esm/api/sandboxGroups/index.js +4 -0
  383. package/dist/esm/api/sandboxGroups/index.js.map +1 -0
  384. package/dist/esm/api/sandboxGroups/operations.d.ts +35 -0
  385. package/dist/esm/api/sandboxGroups/operations.js +237 -0
  386. package/dist/esm/api/sandboxGroups/operations.js.map +1 -0
  387. package/dist/esm/api/sandboxGroups/options.d.ts +29 -0
  388. package/dist/esm/api/sandboxGroups/options.js +4 -0
  389. package/dist/esm/api/sandboxGroups/options.js.map +1 -0
  390. package/dist/esm/api/subnetServiceAssociationLink/index.d.ts +3 -0
  391. package/dist/esm/api/subnetServiceAssociationLink/index.js +4 -0
  392. package/dist/esm/api/subnetServiceAssociationLink/index.js.map +1 -0
  393. package/dist/esm/api/subnetServiceAssociationLink/operations.d.ts +9 -0
  394. package/dist/esm/api/subnetServiceAssociationLink/operations.js +40 -0
  395. package/dist/esm/api/subnetServiceAssociationLink/operations.js.map +1 -0
  396. package/dist/esm/api/subnetServiceAssociationLink/options.d.ts +7 -0
  397. package/dist/esm/api/subnetServiceAssociationLink/options.js +4 -0
  398. package/dist/esm/api/subnetServiceAssociationLink/options.js.map +1 -0
  399. package/dist/esm/classic/cgProfile/index.d.ts +21 -0
  400. package/dist/esm/classic/cgProfile/index.js +19 -0
  401. package/dist/esm/classic/cgProfile/index.js.map +1 -0
  402. package/dist/esm/classic/cgProfiles/index.d.ts +13 -0
  403. package/dist/esm/classic/cgProfiles/index.js +15 -0
  404. package/dist/esm/classic/cgProfiles/index.js.map +1 -0
  405. package/dist/esm/classic/containerGroups/index.d.ts +47 -0
  406. package/dist/esm/classic/containerGroups/index.js +56 -0
  407. package/dist/esm/classic/containerGroups/index.js.map +1 -0
  408. package/dist/esm/classic/containers/index.d.ts +14 -0
  409. package/dist/esm/classic/containers/index.js +16 -0
  410. package/dist/esm/classic/containers/index.js.map +1 -0
  411. package/dist/esm/classic/index.d.ts +10 -0
  412. package/dist/esm/classic/index.js +4 -0
  413. package/dist/esm/classic/index.js.map +1 -0
  414. package/dist/esm/classic/location/index.d.ts +15 -0
  415. package/dist/esm/classic/location/index.js +16 -0
  416. package/dist/esm/classic/location/index.js.map +1 -0
  417. package/dist/esm/classic/nGroups/index.d.ts +49 -0
  418. package/dist/esm/classic/nGroups/index.js +63 -0
  419. package/dist/esm/classic/nGroups/index.js.map +1 -0
  420. package/dist/esm/classic/operations/index.d.ts +11 -0
  421. package/dist/esm/classic/operations/index.js +14 -0
  422. package/dist/esm/classic/operations/index.js.map +1 -0
  423. package/dist/esm/classic/sandboxGroups/index.d.ts +37 -0
  424. package/dist/esm/classic/sandboxGroups/index.js +45 -0
  425. package/dist/esm/classic/sandboxGroups/index.js.map +1 -0
  426. package/dist/esm/classic/subnetServiceAssociationLink/index.d.ts +15 -0
  427. package/dist/esm/classic/subnetServiceAssociationLink/index.js +23 -0
  428. package/dist/esm/classic/subnetServiceAssociationLink/index.js.map +1 -0
  429. package/dist/esm/containerInstanceManagementClient.d.ts +39 -0
  430. package/dist/esm/containerInstanceManagementClient.js +65 -0
  431. package/dist/esm/containerInstanceManagementClient.js.map +1 -0
  432. package/dist/esm/index.d.ts +25 -0
  433. package/dist/esm/index.js +9 -0
  434. package/dist/esm/index.js.map +1 -0
  435. package/dist/esm/logger.d.ts +2 -0
  436. package/dist/esm/logger.js +5 -0
  437. package/dist/esm/logger.js.map +1 -0
  438. package/dist/esm/models/index.d.ts +3 -0
  439. package/dist/esm/models/index.js +4 -0
  440. package/dist/esm/models/index.js.map +1 -0
  441. package/dist/esm/models/models.d.ts +1906 -0
  442. package/dist/esm/models/models.js +2594 -0
  443. package/dist/esm/models/models.js.map +1 -0
  444. package/dist/esm/package.json +3 -0
  445. package/dist/esm/restorePollerHelpers.d.ts +21 -0
  446. package/dist/esm/restorePollerHelpers.js +118 -0
  447. package/dist/esm/restorePollerHelpers.js.map +1 -0
  448. package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
  449. package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
  450. package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
  451. package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
  452. package/dist/esm/static-helpers/pagingHelpers.js +143 -0
  453. package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
  454. package/dist/esm/static-helpers/pollingHelpers.d.ts +34 -0
  455. package/dist/esm/static-helpers/pollingHelpers.js +95 -0
  456. package/dist/esm/static-helpers/pollingHelpers.js.map +1 -0
  457. package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
  458. package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
  459. package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
  460. package/dist/esm/static-helpers/simplePollerHelpers.d.ts +73 -0
  461. package/dist/esm/static-helpers/simplePollerHelpers.js +44 -0
  462. package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -0
  463. package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
  464. package/dist/esm/static-helpers/urlTemplate.js +200 -0
  465. package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
  466. package/package.json +249 -83
  467. package/CHANGELOG.md +0 -123
  468. package/dist/index.js +0 -4809
  469. package/dist/index.js.map +0 -1
  470. package/dist/index.min.js +0 -1
  471. package/dist/index.min.js.map +0 -1
  472. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +0 -2
  473. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +0 -1
  474. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +0 -40
  475. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +0 -1
  476. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +0 -2
  477. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +0 -1
  478. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +0 -55
  479. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +0 -1
  480. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +0 -2
  481. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +0 -1
  482. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +0 -260
  483. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +0 -1
  484. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +0 -2
  485. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +0 -1
  486. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +0 -39
  487. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +0 -1
  488. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +0 -2
  489. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +0 -1
  490. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +0 -58
  491. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +0 -1
  492. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +0 -2
  493. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +0 -1
  494. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +0 -54
  495. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +0 -1
  496. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +0 -2
  497. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +0 -1
  498. package/dist-esm/samples-dev/containerGroupProfilesListSample.js +0 -53
  499. package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +0 -1
  500. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +0 -2
  501. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +0 -1
  502. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +0 -42
  503. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +0 -1
  504. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts +0 -2
  505. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts.map +0 -1
  506. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +0 -320
  507. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +0 -1
  508. package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts +0 -2
  509. package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts.map +0 -1
  510. package/dist-esm/samples-dev/containerGroupsDeleteSample.js +0 -39
  511. package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +0 -1
  512. package/dist-esm/samples-dev/containerGroupsGetSample.d.ts +0 -2
  513. package/dist-esm/samples-dev/containerGroupsGetSample.d.ts.map +0 -1
  514. package/dist-esm/samples-dev/containerGroupsGetSample.js +0 -77
  515. package/dist-esm/samples-dev/containerGroupsGetSample.js.map +0 -1
  516. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts +0 -2
  517. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts.map +0 -1
  518. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +0 -54
  519. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +0 -1
  520. package/dist-esm/samples-dev/containerGroupsListSample.d.ts +0 -2
  521. package/dist-esm/samples-dev/containerGroupsListSample.d.ts.map +0 -1
  522. package/dist-esm/samples-dev/containerGroupsListSample.js +0 -53
  523. package/dist-esm/samples-dev/containerGroupsListSample.js.map +0 -1
  524. package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts +0 -2
  525. package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts.map +0 -1
  526. package/dist-esm/samples-dev/containerGroupsRestartSample.js +0 -39
  527. package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +0 -1
  528. package/dist-esm/samples-dev/containerGroupsStartSample.d.ts +0 -2
  529. package/dist-esm/samples-dev/containerGroupsStartSample.d.ts.map +0 -1
  530. package/dist-esm/samples-dev/containerGroupsStartSample.js +0 -39
  531. package/dist-esm/samples-dev/containerGroupsStartSample.js.map +0 -1
  532. package/dist-esm/samples-dev/containerGroupsStopSample.d.ts +0 -2
  533. package/dist-esm/samples-dev/containerGroupsStopSample.d.ts.map +0 -1
  534. package/dist-esm/samples-dev/containerGroupsStopSample.js +0 -39
  535. package/dist-esm/samples-dev/containerGroupsStopSample.js.map +0 -1
  536. package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts +0 -2
  537. package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts.map +0 -1
  538. package/dist-esm/samples-dev/containerGroupsUpdateSample.js +0 -42
  539. package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +0 -1
  540. package/dist-esm/samples-dev/containersAttachSample.d.ts +0 -2
  541. package/dist-esm/samples-dev/containersAttachSample.d.ts.map +0 -1
  542. package/dist-esm/samples-dev/containersAttachSample.js +0 -40
  543. package/dist-esm/samples-dev/containersAttachSample.js.map +0 -1
  544. package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts +0 -2
  545. package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts.map +0 -1
  546. package/dist-esm/samples-dev/containersExecuteCommandSample.js +0 -44
  547. package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +0 -1
  548. package/dist-esm/samples-dev/containersListLogsSample.d.ts +0 -2
  549. package/dist-esm/samples-dev/containersListLogsSample.d.ts.map +0 -1
  550. package/dist-esm/samples-dev/containersListLogsSample.js +0 -42
  551. package/dist-esm/samples-dev/containersListLogsSample.js.map +0 -1
  552. package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts +0 -2
  553. package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts.map +0 -1
  554. package/dist-esm/samples-dev/locationListCachedImagesSample.js +0 -54
  555. package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +0 -1
  556. package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts +0 -2
  557. package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts.map +0 -1
  558. package/dist-esm/samples-dev/locationListCapabilitiesSample.js +0 -54
  559. package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +0 -1
  560. package/dist-esm/samples-dev/locationListUsageSample.d.ts +0 -2
  561. package/dist-esm/samples-dev/locationListUsageSample.d.ts.map +0 -1
  562. package/dist-esm/samples-dev/locationListUsageSample.js +0 -54
  563. package/dist-esm/samples-dev/locationListUsageSample.js.map +0 -1
  564. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  565. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  566. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  567. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  568. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts +0 -2
  569. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts.map +0 -1
  570. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +0 -40
  571. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +0 -1
  572. package/dist-esm/src/containerInstanceManagementClient.d.ts +0 -26
  573. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +0 -1
  574. package/dist-esm/src/containerInstanceManagementClient.js +0 -107
  575. package/dist-esm/src/containerInstanceManagementClient.js.map +0 -1
  576. package/dist-esm/src/index.d.ts +0 -5
  577. package/dist-esm/src/index.d.ts.map +0 -1
  578. package/dist-esm/src/index.js +0 -13
  579. package/dist-esm/src/index.js.map +0 -1
  580. package/dist-esm/src/lroImpl.d.ts +0 -11
  581. package/dist-esm/src/lroImpl.d.ts.map +0 -1
  582. package/dist-esm/src/lroImpl.js +0 -21
  583. package/dist-esm/src/lroImpl.js.map +0 -1
  584. package/dist-esm/src/models/index.d.ts +0 -1242
  585. package/dist-esm/src/models/index.d.ts.map +0 -1
  586. package/dist-esm/src/models/index.js +0 -116
  587. package/dist-esm/src/models/index.js.map +0 -1
  588. package/dist-esm/src/models/mappers.d.ts +0 -66
  589. package/dist-esm/src/models/mappers.d.ts.map +0 -1
  590. package/dist-esm/src/models/mappers.js +0 -2236
  591. package/dist-esm/src/models/mappers.js.map +0 -1
  592. package/dist-esm/src/models/parameters.d.ts +0 -23
  593. package/dist-esm/src/models/parameters.d.ts.map +0 -1
  594. package/dist-esm/src/models/parameters.js +0 -204
  595. package/dist-esm/src/models/parameters.js.map +0 -1
  596. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts +0 -55
  597. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +0 -1
  598. package/dist-esm/src/operations/containerGroupProfileOperations.js +0 -191
  599. package/dist-esm/src/operations/containerGroupProfileOperations.js.map +0 -1
  600. package/dist-esm/src/operations/containerGroupProfiles.d.ts +0 -95
  601. package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +0 -1
  602. package/dist-esm/src/operations/containerGroupProfiles.js +0 -401
  603. package/dist-esm/src/operations/containerGroupProfiles.js.map +0 -1
  604. package/dist-esm/src/operations/containerGroups.d.ts +0 -159
  605. package/dist-esm/src/operations/containerGroups.d.ts.map +0 -1
  606. package/dist-esm/src/operations/containerGroups.js +0 -727
  607. package/dist-esm/src/operations/containerGroups.js.map +0 -1
  608. package/dist-esm/src/operations/containers.d.ts +0 -40
  609. package/dist-esm/src/operations/containers.d.ts.map +0 -1
  610. package/dist-esm/src/operations/containers.js +0 -134
  611. package/dist-esm/src/operations/containers.js.map +0 -1
  612. package/dist-esm/src/operations/index.d.ts +0 -8
  613. package/dist-esm/src/operations/index.d.ts.map +0 -1
  614. package/dist-esm/src/operations/index.js +0 -15
  615. package/dist-esm/src/operations/index.js.map +0 -1
  616. package/dist-esm/src/operations/location.d.ts +0 -70
  617. package/dist-esm/src/operations/location.d.ts.map +0 -1
  618. package/dist-esm/src/operations/location.js +0 -341
  619. package/dist-esm/src/operations/location.js.map +0 -1
  620. package/dist-esm/src/operations/operations.d.ts +0 -32
  621. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  622. package/dist-esm/src/operations/operations.js +0 -133
  623. package/dist-esm/src/operations/operations.js.map +0 -1
  624. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts +0 -32
  625. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +0 -1
  626. package/dist-esm/src/operations/subnetServiceAssociationLink.js +0 -108
  627. package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +0 -1
  628. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts +0 -27
  629. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +0 -1
  630. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js +0 -9
  631. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +0 -1
  632. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts +0 -55
  633. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +0 -1
  634. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js +0 -9
  635. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +0 -1
  636. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts +0 -119
  637. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +0 -1
  638. package/dist-esm/src/operationsInterfaces/containerGroups.js +0 -9
  639. package/dist-esm/src/operationsInterfaces/containerGroups.js.map +0 -1
  640. package/dist-esm/src/operationsInterfaces/containers.d.ts +0 -32
  641. package/dist-esm/src/operationsInterfaces/containers.d.ts.map +0 -1
  642. package/dist-esm/src/operationsInterfaces/containers.js +0 -9
  643. package/dist-esm/src/operationsInterfaces/containers.js.map +0 -1
  644. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  645. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  646. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  647. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  648. package/dist-esm/src/operationsInterfaces/location.d.ts +0 -24
  649. package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
  650. package/dist-esm/src/operationsInterfaces/location.js +0 -9
  651. package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
  652. package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
  653. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
  654. package/dist-esm/src/operationsInterfaces/operations.js +0 -9
  655. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  656. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts +0 -24
  657. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +0 -1
  658. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js +0 -9
  659. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js.map +0 -1
  660. package/dist-esm/src/pagingHelper.d.ts +0 -13
  661. package/dist-esm/src/pagingHelper.d.ts.map +0 -1
  662. package/dist-esm/src/pagingHelper.js +0 -32
  663. package/dist-esm/src/pagingHelper.js.map +0 -1
  664. package/dist-esm/test/containerinstance_examples.d.ts +0 -4
  665. package/dist-esm/test/containerinstance_examples.d.ts.map +0 -1
  666. package/dist-esm/test/containerinstance_examples.js +0 -159
  667. package/dist-esm/test/containerinstance_examples.js.map +0 -1
  668. package/review/arm-containerinstance.api.md +0 -963
  669. package/src/containerInstanceManagementClient.ts +0 -172
  670. package/src/index.ts +0 -13
  671. package/src/lroImpl.ts +0 -42
  672. package/src/models/index.ts +0 -1410
  673. package/src/models/mappers.ts +0 -2311
  674. package/src/models/parameters.ts +0 -236
  675. package/src/operations/containerGroupProfileOperations.ts +0 -255
  676. package/src/operations/containerGroupProfiles.ts +0 -485
  677. package/src/operations/containerGroups.ts +0 -944
  678. package/src/operations/containers.ts +0 -177
  679. package/src/operations/index.ts +0 -15
  680. package/src/operations/location.ts +0 -401
  681. package/src/operations/operations.ts +0 -149
  682. package/src/operations/subnetServiceAssociationLink.ts +0 -149
  683. package/src/operationsInterfaces/containerGroupProfileOperations.ts +0 -50
  684. package/src/operationsInterfaces/containerGroupProfiles.ts +0 -99
  685. package/src/operationsInterfaces/containerGroups.ts +0 -212
  686. package/src/operationsInterfaces/containers.ts +0 -64
  687. package/src/operationsInterfaces/index.ts +0 -15
  688. package/src/operationsInterfaces/location.ts +0 -49
  689. package/src/operationsInterfaces/operations.ts +0 -22
  690. package/src/operationsInterfaces/subnetServiceAssociationLink.ts +0 -42
  691. package/src/pagingHelper.ts +0 -39
  692. package/tsconfig.json +0 -33
  693. package/types/arm-containerinstance.d.ts +0 -1711
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2024 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
package/README.md CHANGED
@@ -2,12 +2,14 @@
2
2
 
3
3
  This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ContainerInstanceManagement client.
4
4
 
5
+ ContainerInstance
5
6
 
7
+ Key links:
6
8
 
7
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance) |
8
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerinstance) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview) |
10
- [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
9
+ - [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance)
10
+ - [Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerinstance)
11
+ - [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview)
12
+ - [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance/samples)
11
13
 
12
14
  ## Getting started
13
15
 
@@ -35,7 +37,7 @@ npm install @azure/arm-containerinstance
35
37
  To create a client object to access the Azure ContainerInstanceManagement API, you will need the `endpoint` of your Azure ContainerInstanceManagement resource and a `credential`. The Azure ContainerInstanceManagement client can use Azure Active Directory credentials to authenticate.
36
38
  You can find the endpoint for your Azure ContainerInstanceManagement resource in the [Azure Portal][azure_portal].
37
39
 
38
- You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40
+ You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
39
41
 
40
42
  To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
41
43
 
@@ -44,24 +46,31 @@ npm install @azure/identity
44
46
  ```
45
47
 
46
48
  You will also need to **register a new AAD application and grant access to Azure ContainerInstanceManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
- Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
49
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
50
51
 
51
- ```javascript
52
- const { ContainerInstanceManagementClient } = require("@azure/arm-containerinstance");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
52
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
53
+
54
+ ```ts snippet:ReadmeSampleCreateClient_Node
55
+ import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
56
+ import { DefaultAzureCredential } from "@azure/identity";
55
57
 
56
58
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
59
  const client = new ContainerInstanceManagementClient(new DefaultAzureCredential(), subscriptionId);
60
+ ```
61
+
62
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
63
+
64
+ ```ts snippet:ReadmeSampleCreateClient_Browser
65
+ import { InteractiveBrowserCredential } from "@azure/identity";
66
+ import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
58
67
 
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new ContainerInstanceManagementClient(credential, subscriptionId);
68
+ const credential = new InteractiveBrowserCredential({
69
+ tenantId: "<YOUR_TENANT_ID>",
70
+ clientId: "<YOUR_CLIENT_ID>",
71
+ });
72
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
73
+ const client = new ContainerInstanceManagementClient(credential, subscriptionId);
65
74
  ```
66
75
 
67
76
 
@@ -80,8 +89,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
89
 
81
90
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
91
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
92
+ ```ts snippet:SetLogLevel
93
+ import { setLogLevel } from "@azure/logger";
94
+
85
95
  setLogLevel("info");
86
96
  ```
87
97
 
@@ -89,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
89
99
 
90
100
  ## Next steps
91
101
 
92
- Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102
+ Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance/samples) directory for detailed examples on how to use this library.
93
103
 
94
104
  ## Contributing
95
105
 
@@ -99,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
99
109
 
100
110
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
111
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcontainerinstance%2Farm-containerinstance%2FREADME.png)
103
-
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
105
- [azure_sub]: https://azure.microsoft.com/free/
106
112
  [azure_sub]: https://azure.microsoft.com/free/
107
113
  [azure_portal]: https://portal.azure.com
108
114
  [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
@@ -0,0 +1,3 @@
1
+ export { $delete, update, createOrUpdate, get, listAllRevisions, getByRevisionNumber, } from "./operations.js";
2
+ export type { CGProfileDeleteOptionalParams, CGProfileUpdateOptionalParams, CGProfileCreateOrUpdateOptionalParams, CGProfileGetOptionalParams, CGProfileListAllRevisionsOptionalParams, CGProfileGetByRevisionNumberOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { $delete, update, createOrUpdate, get, listAllRevisions, getByRevisionNumber, } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cgProfile/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,EACH,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n $delete,\n update,\n createOrUpdate,\n get,\n listAllRevisions,\n getByRevisionNumber,\n} from \"./operations.js\";\nexport type {\n CGProfileDeleteOptionalParams,\n CGProfileUpdateOptionalParams,\n CGProfileCreateOrUpdateOptionalParams,\n CGProfileGetOptionalParams,\n CGProfileListAllRevisionsOptionalParams,\n CGProfileGetByRevisionNumberOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,30 @@
1
+ import type { ContainerInstanceManagementContext as Client } from "../index.js";
2
+ import type { ContainerGroupProfile, _ContainerGroupProfileListResult, ContainerGroupProfilePatch } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import type { CGProfileDeleteOptionalParams, CGProfileUpdateOptionalParams, CGProfileCreateOrUpdateOptionalParams, CGProfileGetOptionalParams, CGProfileListAllRevisionsOptionalParams, CGProfileGetByRevisionNumberOptionalParams } from "./options.js";
5
+ import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _$deleteSend(context: Client, resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileDeleteOptionalParams): StreamableMethod;
7
+ export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void>;
8
+ /** Deletes a container group profile. */
9
+ export declare function $delete(context: Client, resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileDeleteOptionalParams): Promise<void>;
10
+ export declare function _updateSend(context: Client, resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: CGProfileUpdateOptionalParams): StreamableMethod;
11
+ export declare function _updateDeserialize(result: PathUncheckedResponse): Promise<ContainerGroupProfile>;
12
+ /** Update a specified container group profile. */
13
+ export declare function update(context: Client, resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: CGProfileUpdateOptionalParams): Promise<ContainerGroupProfile>;
14
+ export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: CGProfileCreateOrUpdateOptionalParams): StreamableMethod;
15
+ export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise<ContainerGroupProfile>;
16
+ /** Create a CGProfile if it doesn't exist or update an existing CGProfile. */
17
+ export declare function createOrUpdate(context: Client, resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: CGProfileCreateOrUpdateOptionalParams): Promise<ContainerGroupProfile>;
18
+ export declare function _getSend(context: Client, resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileGetOptionalParams): StreamableMethod;
19
+ export declare function _getDeserialize(result: PathUncheckedResponse): Promise<ContainerGroupProfile>;
20
+ /** Get the properties of the specified container group profile. */
21
+ export declare function get(context: Client, resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileGetOptionalParams): Promise<ContainerGroupProfile>;
22
+ export declare function _listAllRevisionsSend(context: Client, resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileListAllRevisionsOptionalParams): StreamableMethod;
23
+ export declare function _listAllRevisionsDeserialize(result: PathUncheckedResponse): Promise<_ContainerGroupProfileListResult>;
24
+ /** Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc. */
25
+ export declare function listAllRevisions(context: Client, resourceGroupName: string, containerGroupProfileName: string, options?: CGProfileListAllRevisionsOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
26
+ export declare function _getByRevisionNumberSend(context: Client, resourceGroupName: string, containerGroupProfileName: string, revisionNumber: string, options?: CGProfileGetByRevisionNumberOptionalParams): StreamableMethod;
27
+ export declare function _getByRevisionNumberDeserialize(result: PathUncheckedResponse): Promise<ContainerGroupProfile>;
28
+ /** Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc. */
29
+ export declare function getByRevisionNumber(context: Client, resourceGroupName: string, containerGroupProfileName: string, revisionNumber: string, options?: CGProfileGetByRevisionNumberOptionalParams): Promise<ContainerGroupProfile>;
30
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,192 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { cloudErrorDeserializer, errorResponseDeserializer, containerGroupProfileSerializer, containerGroupProfileDeserializer, _containerGroupProfileListResultDeserializer, containerGroupProfilePatchSerializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
7
+ export function _$deleteSend(context, resourceGroupName, containerGroupProfileName, options = { requestOptions: {} }) {
8
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}", {
9
+ subscriptionId: context.subscriptionId,
10
+ resourceGroupName: resourceGroupName,
11
+ containerGroupProfileName: containerGroupProfileName,
12
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
13
+ }, {
14
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
15
+ });
16
+ return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });
17
+ }
18
+ export async function _$deleteDeserialize(result) {
19
+ const expectedStatuses = ["200", "204"];
20
+ if (!expectedStatuses.includes(result.status)) {
21
+ const error = createRestError(result);
22
+ if (result.body) {
23
+ error.details = errorResponseDeserializer(result.body);
24
+ }
25
+ throw error;
26
+ }
27
+ return;
28
+ }
29
+ /** Deletes a container group profile. */
30
+ export async function $delete(context, resourceGroupName, containerGroupProfileName, options = { requestOptions: {} }) {
31
+ const result = await _$deleteSend(context, resourceGroupName, containerGroupProfileName, options);
32
+ return _$deleteDeserialize(result);
33
+ }
34
+ export function _updateSend(context, resourceGroupName, containerGroupProfileName, properties, options = { requestOptions: {} }) {
35
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}", {
36
+ subscriptionId: context.subscriptionId,
37
+ resourceGroupName: resourceGroupName,
38
+ containerGroupProfileName: containerGroupProfileName,
39
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
40
+ }, {
41
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
42
+ });
43
+ return context.path(path).patch({
44
+ ...operationOptionsToRequestParameters(options),
45
+ contentType: "application/json",
46
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
47
+ body: containerGroupProfilePatchSerializer(properties),
48
+ });
49
+ }
50
+ export async function _updateDeserialize(result) {
51
+ const expectedStatuses = ["200"];
52
+ if (!expectedStatuses.includes(result.status)) {
53
+ const error = createRestError(result);
54
+ if (result.body) {
55
+ error.details = errorResponseDeserializer(result.body);
56
+ }
57
+ throw error;
58
+ }
59
+ return containerGroupProfileDeserializer(result.body);
60
+ }
61
+ /** Update a specified container group profile. */
62
+ export async function update(context, resourceGroupName, containerGroupProfileName, properties, options = { requestOptions: {} }) {
63
+ const result = await _updateSend(context, resourceGroupName, containerGroupProfileName, properties, options);
64
+ return _updateDeserialize(result);
65
+ }
66
+ export function _createOrUpdateSend(context, resourceGroupName, containerGroupProfileName, containerGroupProfile, options = { requestOptions: {} }) {
67
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}", {
68
+ subscriptionId: context.subscriptionId,
69
+ resourceGroupName: resourceGroupName,
70
+ containerGroupProfileName: containerGroupProfileName,
71
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
72
+ }, {
73
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
74
+ });
75
+ return context.path(path).put({
76
+ ...operationOptionsToRequestParameters(options),
77
+ contentType: "application/json",
78
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
79
+ body: containerGroupProfileSerializer(containerGroupProfile),
80
+ });
81
+ }
82
+ export async function _createOrUpdateDeserialize(result) {
83
+ const expectedStatuses = ["200", "201"];
84
+ if (!expectedStatuses.includes(result.status)) {
85
+ const error = createRestError(result);
86
+ if (result.body) {
87
+ error.details = errorResponseDeserializer(result.body);
88
+ }
89
+ throw error;
90
+ }
91
+ return containerGroupProfileDeserializer(result.body);
92
+ }
93
+ /** Create a CGProfile if it doesn't exist or update an existing CGProfile. */
94
+ export async function createOrUpdate(context, resourceGroupName, containerGroupProfileName, containerGroupProfile, options = { requestOptions: {} }) {
95
+ const result = await _createOrUpdateSend(context, resourceGroupName, containerGroupProfileName, containerGroupProfile, options);
96
+ return _createOrUpdateDeserialize(result);
97
+ }
98
+ export function _getSend(context, resourceGroupName, containerGroupProfileName, options = { requestOptions: {} }) {
99
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}", {
100
+ subscriptionId: context.subscriptionId,
101
+ resourceGroupName: resourceGroupName,
102
+ containerGroupProfileName: containerGroupProfileName,
103
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
104
+ }, {
105
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
106
+ });
107
+ return context.path(path).get({
108
+ ...operationOptionsToRequestParameters(options),
109
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
110
+ });
111
+ }
112
+ export async function _getDeserialize(result) {
113
+ const expectedStatuses = ["200"];
114
+ if (!expectedStatuses.includes(result.status)) {
115
+ const error = createRestError(result);
116
+ if (result.body) {
117
+ error.details = cloudErrorDeserializer(result.body);
118
+ }
119
+ throw error;
120
+ }
121
+ return containerGroupProfileDeserializer(result.body);
122
+ }
123
+ /** Get the properties of the specified container group profile. */
124
+ export async function get(context, resourceGroupName, containerGroupProfileName, options = { requestOptions: {} }) {
125
+ const result = await _getSend(context, resourceGroupName, containerGroupProfileName, options);
126
+ return _getDeserialize(result);
127
+ }
128
+ export function _listAllRevisionsSend(context, resourceGroupName, containerGroupProfileName, options = { requestOptions: {} }) {
129
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions{?api%2Dversion}", {
130
+ subscriptionId: context.subscriptionId,
131
+ resourceGroupName: resourceGroupName,
132
+ containerGroupProfileName: containerGroupProfileName,
133
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
134
+ }, {
135
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
136
+ });
137
+ return context.path(path).get({
138
+ ...operationOptionsToRequestParameters(options),
139
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
140
+ });
141
+ }
142
+ export async function _listAllRevisionsDeserialize(result) {
143
+ const expectedStatuses = ["200"];
144
+ if (!expectedStatuses.includes(result.status)) {
145
+ const error = createRestError(result);
146
+ if (result.body) {
147
+ error.details = cloudErrorDeserializer(result.body);
148
+ }
149
+ throw error;
150
+ }
151
+ return _containerGroupProfileListResultDeserializer(result.body);
152
+ }
153
+ /** Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc. */
154
+ export function listAllRevisions(context, resourceGroupName, containerGroupProfileName, options = { requestOptions: {} }) {
155
+ return buildPagedAsyncIterator(context, () => _listAllRevisionsSend(context, resourceGroupName, containerGroupProfileName, options), _listAllRevisionsDeserialize, ["200"], {
156
+ itemName: "value",
157
+ nextLinkName: "nextLink",
158
+ apiVersion: context.apiVersion ?? "2026-06-01-preview",
159
+ });
160
+ }
161
+ export function _getByRevisionNumberSend(context, resourceGroupName, containerGroupProfileName, revisionNumber, options = { requestOptions: {} }) {
162
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}{?api%2Dversion}", {
163
+ subscriptionId: context.subscriptionId,
164
+ resourceGroupName: resourceGroupName,
165
+ containerGroupProfileName: containerGroupProfileName,
166
+ revisionNumber: revisionNumber,
167
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
168
+ }, {
169
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
170
+ });
171
+ return context.path(path).get({
172
+ ...operationOptionsToRequestParameters(options),
173
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
174
+ });
175
+ }
176
+ export async function _getByRevisionNumberDeserialize(result) {
177
+ const expectedStatuses = ["200"];
178
+ if (!expectedStatuses.includes(result.status)) {
179
+ const error = createRestError(result);
180
+ if (result.body) {
181
+ error.details = cloudErrorDeserializer(result.body);
182
+ }
183
+ throw error;
184
+ }
185
+ return containerGroupProfileDeserializer(result.body);
186
+ }
187
+ /** Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc. */
188
+ export async function getByRevisionNumber(context, resourceGroupName, containerGroupProfileName, revisionNumber, options = { requestOptions: {} }) {
189
+ const result = await _getByRevisionNumberSend(context, resourceGroupName, containerGroupProfileName, revisionNumber, options);
190
+ return _getByRevisionNumberDeserialize(result);
191
+ }
192
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cgProfile/operations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAQlC,OAAO,EACL,sBAAsB,EACtB,yBAAyB,EACzB,+BAA+B,EAC/B,iCAAiC,EACjC,4CAA4C,EAC5C,oCAAoC,GACrC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAUxE,OAAO,EAAE,eAAe,EAAE,mCAAmC,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,UAAU,YAAY,CAC1B,OAAe,EACf,iBAAyB,EACzB,yBAAiC,EACjC,UAAyC,EAAE,cAAc,EAAE,EAAE,EAAE;IAE/D,MAAM,IAAI,GAAG,iBAAiB,CAC5B,6KAA6K,EAC7K;QACE,cAA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CAAC,CAAC,GAAG,CAAC;QAC5B,GAAG,mCAAmC,CAAC,OAAO,CAAC;QAC/C,OAAO,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,cAAc,EAAE,OAAO,EAAE;KAC5E,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,+BAA+B,CACnD,MAA6B;IAE7B,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,CAAC;IACjC,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC;QAC9C,MAAM,KAAK,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,iCAAiC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACxD,CAAC;AAED,oUAAoU;AACpU,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,OAAe,EACf,iBAAyB,EACzB,yBAAiC,EACjC,cAAsB,EACtB,UAAsD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5E,MAAM,MAAM,GAAG,MAAM,wBAAwB,CAC3C,OAAO,EACP,iBAAiB,EACjB,yBAAyB,EACzB,cAAc,EACd,OAAO,CACR,CAAC;IACF,OAAO,+BAA+B,CAAC,MAAM,CAAC,CAAC;AACjD,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ContainerInstanceManagementContext as Client } from \"../index.js\";\nimport type {\n ContainerGroupProfile,\n _ContainerGroupProfileListResult,\n ContainerGroupProfilePatch,\n} from \"../../models/models.js\";\nimport {\n cloudErrorDeserializer,\n errorResponseDeserializer,\n containerGroupProfileSerializer,\n containerGroupProfileDeserializer,\n _containerGroupProfileListResultDeserializer,\n containerGroupProfilePatchSerializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n CGProfileDeleteOptionalParams,\n CGProfileUpdateOptionalParams,\n CGProfileCreateOrUpdateOptionalParams,\n CGProfileGetOptionalParams,\n CGProfileListAllRevisionsOptionalParams,\n CGProfileGetByRevisionNumberOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _$deleteSend(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n options: CGProfileDeleteOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n containerGroupProfileName: containerGroupProfileName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).delete({ ...operationOptionsToRequestParameters(options) });\n}\n\nexport async function _$deleteDeserialize(result: PathUncheckedResponse): Promise<void> {\n const expectedStatuses = [\"200\", \"204\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return;\n}\n\n/** Deletes a container group profile. */\nexport async function $delete(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n options: CGProfileDeleteOptionalParams = { requestOptions: {} },\n): Promise<void> {\n const result = await _$deleteSend(context, resourceGroupName, containerGroupProfileName, options);\n return _$deleteDeserialize(result);\n}\n\nexport function _updateSend(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n properties: ContainerGroupProfilePatch,\n options: CGProfileUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n containerGroupProfileName: containerGroupProfileName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).patch({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: containerGroupProfilePatchSerializer(properties),\n });\n}\n\nexport async function _updateDeserialize(\n result: PathUncheckedResponse,\n): Promise<ContainerGroupProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return containerGroupProfileDeserializer(result.body);\n}\n\n/** Update a specified container group profile. */\nexport async function update(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n properties: ContainerGroupProfilePatch,\n options: CGProfileUpdateOptionalParams = { requestOptions: {} },\n): Promise<ContainerGroupProfile> {\n const result = await _updateSend(\n context,\n resourceGroupName,\n containerGroupProfileName,\n properties,\n options,\n );\n return _updateDeserialize(result);\n}\n\nexport function _createOrUpdateSend(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n containerGroupProfile: ContainerGroupProfile,\n options: CGProfileCreateOrUpdateOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n containerGroupProfileName: containerGroupProfileName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).put({\n ...operationOptionsToRequestParameters(options),\n contentType: \"application/json\",\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n body: containerGroupProfileSerializer(containerGroupProfile),\n });\n}\n\nexport async function _createOrUpdateDeserialize(\n result: PathUncheckedResponse,\n): Promise<ContainerGroupProfile> {\n const expectedStatuses = [\"200\", \"201\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = errorResponseDeserializer(result.body);\n }\n\n throw error;\n }\n\n return containerGroupProfileDeserializer(result.body);\n}\n\n/** Create a CGProfile if it doesn't exist or update an existing CGProfile. */\nexport async function createOrUpdate(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n containerGroupProfile: ContainerGroupProfile,\n options: CGProfileCreateOrUpdateOptionalParams = { requestOptions: {} },\n): Promise<ContainerGroupProfile> {\n const result = await _createOrUpdateSend(\n context,\n resourceGroupName,\n containerGroupProfileName,\n containerGroupProfile,\n options,\n );\n return _createOrUpdateDeserialize(result);\n}\n\nexport function _getSend(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n options: CGProfileGetOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n containerGroupProfileName: containerGroupProfileName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getDeserialize(\n result: PathUncheckedResponse,\n): Promise<ContainerGroupProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return containerGroupProfileDeserializer(result.body);\n}\n\n/** Get the properties of the specified container group profile. */\nexport async function get(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n options: CGProfileGetOptionalParams = { requestOptions: {} },\n): Promise<ContainerGroupProfile> {\n const result = await _getSend(context, resourceGroupName, containerGroupProfileName, options);\n return _getDeserialize(result);\n}\n\nexport function _listAllRevisionsSend(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n options: CGProfileListAllRevisionsOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n containerGroupProfileName: containerGroupProfileName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listAllRevisionsDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ContainerGroupProfileListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _containerGroupProfileListResultDeserializer(result.body);\n}\n\n/** Get a list of all the revisions of the specified container group profile in the given subscription and resource group. This operation returns properties of each revision of the specified container group profile including containers, image registry credentials, restart policy, IP address type, OS type volumes, revision number, etc. */\nexport function listAllRevisions(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n options: CGProfileListAllRevisionsOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ContainerGroupProfile> {\n return buildPagedAsyncIterator(\n context,\n () => _listAllRevisionsSend(context, resourceGroupName, containerGroupProfileName, options),\n _listAllRevisionsDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-06-01-preview\",\n },\n );\n}\n\nexport function _getByRevisionNumberSend(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n revisionNumber: string,\n options: CGProfileGetByRevisionNumberOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n containerGroupProfileName: containerGroupProfileName,\n revisionNumber: revisionNumber,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _getByRevisionNumberDeserialize(\n result: PathUncheckedResponse,\n): Promise<ContainerGroupProfile> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return containerGroupProfileDeserializer(result.body);\n}\n\n/** Gets the properties of the specified revision of the container group profile in the given subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc. */\nexport async function getByRevisionNumber(\n context: Client,\n resourceGroupName: string,\n containerGroupProfileName: string,\n revisionNumber: string,\n options: CGProfileGetByRevisionNumberOptionalParams = { requestOptions: {} },\n): Promise<ContainerGroupProfile> {\n const result = await _getByRevisionNumberSend(\n context,\n resourceGroupName,\n containerGroupProfileName,\n revisionNumber,\n options,\n );\n return _getByRevisionNumberDeserialize(result);\n}\n"]}
@@ -0,0 +1,20 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface CGProfileDeleteOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface CGProfileUpdateOptionalParams extends OperationOptions {
7
+ }
8
+ /** Optional parameters. */
9
+ export interface CGProfileCreateOrUpdateOptionalParams extends OperationOptions {
10
+ }
11
+ /** Optional parameters. */
12
+ export interface CGProfileGetOptionalParams extends OperationOptions {
13
+ }
14
+ /** Optional parameters. */
15
+ export interface CGProfileListAllRevisionsOptionalParams extends OperationOptions {
16
+ }
17
+ /** Optional parameters. */
18
+ export interface CGProfileGetByRevisionNumberOptionalParams extends OperationOptions {
19
+ }
20
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cgProfile/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CGProfileDeleteOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CGProfileUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CGProfileCreateOrUpdateOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CGProfileGetOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CGProfileListAllRevisionsOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CGProfileGetByRevisionNumberOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,3 @@
1
+ export { listByResourceGroup, listBySubscription } from "./operations.js";
2
+ export type { CGProfilesListByResourceGroupOptionalParams, CGProfilesListBySubscriptionOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { listByResourceGroup, listBySubscription } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/cgProfiles/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { listByResourceGroup, listBySubscription } from \"./operations.js\";\nexport type {\n CGProfilesListByResourceGroupOptionalParams,\n CGProfilesListBySubscriptionOptionalParams,\n} from \"./options.js\";\n"]}
@@ -0,0 +1,14 @@
1
+ import type { ContainerInstanceManagementContext as Client } from "../index.js";
2
+ import type { ContainerGroupProfile, _ContainerGroupProfileListResult } from "../../models/models.js";
3
+ import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js";
4
+ import type { CGProfilesListByResourceGroupOptionalParams, CGProfilesListBySubscriptionOptionalParams } from "./options.js";
5
+ import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client";
6
+ export declare function _listByResourceGroupSend(context: Client, resourceGroupName: string, options?: CGProfilesListByResourceGroupOptionalParams): StreamableMethod;
7
+ export declare function _listByResourceGroupDeserialize(result: PathUncheckedResponse): Promise<_ContainerGroupProfileListResult>;
8
+ /** Gets a list of all container group profiles under a resource group. */
9
+ export declare function listByResourceGroup(context: Client, resourceGroupName: string, options?: CGProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
10
+ export declare function _listBySubscriptionSend(context: Client, options?: CGProfilesListBySubscriptionOptionalParams): StreamableMethod;
11
+ export declare function _listBySubscriptionDeserialize(result: PathUncheckedResponse): Promise<_ContainerGroupProfileListResult>;
12
+ /** Gets a list of all container group profiles under a subscription. */
13
+ export declare function listBySubscription(context: Client, options?: CGProfilesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
14
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1,70 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ import { cloudErrorDeserializer, _containerGroupProfileListResultDeserializer, } from "../../models/models.js";
4
+ import { buildPagedAsyncIterator } from "../../static-helpers/pagingHelpers.js";
5
+ import { expandUrlTemplate } from "../../static-helpers/urlTemplate.js";
6
+ import { createRestError, operationOptionsToRequestParameters } from "@azure-rest/core-client";
7
+ export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
8
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles{?api%2Dversion}", {
9
+ subscriptionId: context.subscriptionId,
10
+ resourceGroupName: resourceGroupName,
11
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
12
+ }, {
13
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
14
+ });
15
+ return context.path(path).get({
16
+ ...operationOptionsToRequestParameters(options),
17
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
18
+ });
19
+ }
20
+ export async function _listByResourceGroupDeserialize(result) {
21
+ const expectedStatuses = ["200"];
22
+ if (!expectedStatuses.includes(result.status)) {
23
+ const error = createRestError(result);
24
+ if (result.body) {
25
+ error.details = cloudErrorDeserializer(result.body);
26
+ }
27
+ throw error;
28
+ }
29
+ return _containerGroupProfileListResultDeserializer(result.body);
30
+ }
31
+ /** Gets a list of all container group profiles under a resource group. */
32
+ export function listByResourceGroup(context, resourceGroupName, options = { requestOptions: {} }) {
33
+ return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
34
+ itemName: "value",
35
+ nextLinkName: "nextLink",
36
+ apiVersion: context.apiVersion ?? "2026-06-01-preview",
37
+ });
38
+ }
39
+ export function _listBySubscriptionSend(context, options = { requestOptions: {} }) {
40
+ const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles{?api%2Dversion}", {
41
+ subscriptionId: context.subscriptionId,
42
+ "api%2Dversion": context.apiVersion ?? "2026-06-01-preview",
43
+ }, {
44
+ allowReserved: options?.requestOptions?.skipUrlEncoding,
45
+ });
46
+ return context.path(path).get({
47
+ ...operationOptionsToRequestParameters(options),
48
+ headers: { accept: "application/json", ...options.requestOptions?.headers },
49
+ });
50
+ }
51
+ export async function _listBySubscriptionDeserialize(result) {
52
+ const expectedStatuses = ["200"];
53
+ if (!expectedStatuses.includes(result.status)) {
54
+ const error = createRestError(result);
55
+ if (result.body) {
56
+ error.details = cloudErrorDeserializer(result.body);
57
+ }
58
+ throw error;
59
+ }
60
+ return _containerGroupProfileListResultDeserializer(result.body);
61
+ }
62
+ /** Gets a list of all container group profiles under a subscription. */
63
+ export function listBySubscription(context, options = { requestOptions: {} }) {
64
+ return buildPagedAsyncIterator(context, () => _listBySubscriptionSend(context, options), _listBySubscriptionDeserialize, ["200"], {
65
+ itemName: "value",
66
+ nextLinkName: "nextLink",
67
+ apiVersion: context.apiVersion ?? "2026-06-01-preview",
68
+ });
69
+ }
70
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../../src/api/cgProfiles/operations.ts"],"names":[],"mappings":"AAA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C;QACtC,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAChB,KAAK,CAAC,OAAO,GAAG,sBAAsB,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACtD,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC;IAED,OAAO,4CAA4C,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;AACnE,CAAC;AAED,wEAAwE;AACxE,MAAM,UAAU,kBAAkB,CAChC,OAAe,EACf,UAAsD,EAAE,cAAc,EAAE,EAAE,EAAE;IAE5E,OAAO,uBAAuB,CAC5B,OAAO,EACP,GAAG,EAAE,CAAC,uBAAuB,CAAC,OAAO,EAAE,OAAO,CAAC,EAC/C,8BAA8B,EAC9B,CAAC,KAAK,CAAC,EACP;QACE,QAAQ,EAAE,OAAO;QACjB,YAAY,EAAE,UAAU;QACxB,UAAU,EAAE,OAAO,CAAC,UAAU,IAAI,oBAAoB;KACvD,CACF,CAAC;AACJ,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { ContainerInstanceManagementContext as Client } from \"../index.js\";\nimport type {\n ContainerGroupProfile,\n _ContainerGroupProfileListResult,\n} from \"../../models/models.js\";\nimport {\n cloudErrorDeserializer,\n _containerGroupProfileListResultDeserializer,\n} from \"../../models/models.js\";\nimport type { PagedAsyncIterableIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { buildPagedAsyncIterator } from \"../../static-helpers/pagingHelpers.js\";\nimport { expandUrlTemplate } from \"../../static-helpers/urlTemplate.js\";\nimport type {\n CGProfilesListByResourceGroupOptionalParams,\n CGProfilesListBySubscriptionOptionalParams,\n} from \"./options.js\";\nimport type { StreamableMethod, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { createRestError, operationOptionsToRequestParameters } from \"@azure-rest/core-client\";\n\nexport function _listByResourceGroupSend(\n context: Client,\n resourceGroupName: string,\n options: CGProfilesListByResourceGroupOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n resourceGroupName: resourceGroupName,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listByResourceGroupDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ContainerGroupProfileListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _containerGroupProfileListResultDeserializer(result.body);\n}\n\n/** Gets a list of all container group profiles under a resource group. */\nexport function listByResourceGroup(\n context: Client,\n resourceGroupName: string,\n options: CGProfilesListByResourceGroupOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ContainerGroupProfile> {\n return buildPagedAsyncIterator(\n context,\n () => _listByResourceGroupSend(context, resourceGroupName, options),\n _listByResourceGroupDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-06-01-preview\",\n },\n );\n}\n\nexport function _listBySubscriptionSend(\n context: Client,\n options: CGProfilesListBySubscriptionOptionalParams = { requestOptions: {} },\n): StreamableMethod {\n const path = expandUrlTemplate(\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles{?api%2Dversion}\",\n {\n subscriptionId: context.subscriptionId,\n \"api%2Dversion\": context.apiVersion ?? \"2026-06-01-preview\",\n },\n {\n allowReserved: options?.requestOptions?.skipUrlEncoding,\n },\n );\n return context.path(path).get({\n ...operationOptionsToRequestParameters(options),\n headers: { accept: \"application/json\", ...options.requestOptions?.headers },\n });\n}\n\nexport async function _listBySubscriptionDeserialize(\n result: PathUncheckedResponse,\n): Promise<_ContainerGroupProfileListResult> {\n const expectedStatuses = [\"200\"];\n if (!expectedStatuses.includes(result.status)) {\n const error = createRestError(result);\n if (result.body) {\n error.details = cloudErrorDeserializer(result.body);\n }\n\n throw error;\n }\n\n return _containerGroupProfileListResultDeserializer(result.body);\n}\n\n/** Gets a list of all container group profiles under a subscription. */\nexport function listBySubscription(\n context: Client,\n options: CGProfilesListBySubscriptionOptionalParams = { requestOptions: {} },\n): PagedAsyncIterableIterator<ContainerGroupProfile> {\n return buildPagedAsyncIterator(\n context,\n () => _listBySubscriptionSend(context, options),\n _listBySubscriptionDeserialize,\n [\"200\"],\n {\n itemName: \"value\",\n nextLinkName: \"nextLink\",\n apiVersion: context.apiVersion ?? \"2026-06-01-preview\",\n },\n );\n}\n"]}
@@ -0,0 +1,8 @@
1
+ import type { OperationOptions } from "@azure-rest/core-client";
2
+ /** Optional parameters. */
3
+ export interface CGProfilesListByResourceGroupOptionalParams extends OperationOptions {
4
+ }
5
+ /** Optional parameters. */
6
+ export interface CGProfilesListBySubscriptionOptionalParams extends OperationOptions {
7
+ }
8
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export {};
4
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.js","sourceRoot":"","sources":["../../../../src/api/cgProfiles/options.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { OperationOptions } from \"@azure-rest/core-client\";\n\n/** Optional parameters. */\nexport interface CGProfilesListByResourceGroupOptionalParams extends OperationOptions {}\n\n/** Optional parameters. */\nexport interface CGProfilesListBySubscriptionOptionalParams extends OperationOptions {}\n"]}
@@ -0,0 +1,3 @@
1
+ export { listByResourceGroup, list, getOutboundNetworkDependenciesEndpoints, start, stop, restart, $delete, update, createOrUpdate, get, } from "./operations.js";
2
+ export type { ContainerGroupsListByResourceGroupOptionalParams, ContainerGroupsListOptionalParams, ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams, ContainerGroupsStartOptionalParams, ContainerGroupsStopOptionalParams, ContainerGroupsRestartOptionalParams, ContainerGroupsDeleteOptionalParams, ContainerGroupsUpdateOptionalParams, ContainerGroupsCreateOrUpdateOptionalParams, ContainerGroupsGetOptionalParams, } from "./options.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ export { listByResourceGroup, list, getOutboundNetworkDependenciesEndpoints, start, stop, restart, $delete, update, createOrUpdate, get, } from "./operations.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/api/containerGroups/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EACL,mBAAmB,EACnB,IAAI,EACJ,uCAAuC,EACvC,KAAK,EACL,IAAI,EACJ,OAAO,EACP,OAAO,EACP,MAAM,EACN,cAAc,EACd,GAAG,GACJ,MAAM,iBAAiB,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport {\n listByResourceGroup,\n list,\n getOutboundNetworkDependenciesEndpoints,\n start,\n stop,\n restart,\n $delete,\n update,\n createOrUpdate,\n get,\n} from \"./operations.js\";\nexport type {\n ContainerGroupsListByResourceGroupOptionalParams,\n ContainerGroupsListOptionalParams,\n ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams,\n ContainerGroupsStartOptionalParams,\n ContainerGroupsStopOptionalParams,\n ContainerGroupsRestartOptionalParams,\n ContainerGroupsDeleteOptionalParams,\n ContainerGroupsUpdateOptionalParams,\n ContainerGroupsCreateOrUpdateOptionalParams,\n ContainerGroupsGetOptionalParams,\n} from \"./options.js\";\n"]}