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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  4. package/{dist-esm/src → dist/browser}/containerInstanceManagementClient.d.ts +2 -2
  5. package/dist/browser/containerInstanceManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/containerInstanceManagementClient.js +36 -24
  7. package/dist/browser/containerInstanceManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +8 -2
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/containerGroupProfileOperations.d.ts +3 -3
  21. package/dist/browser/operations/containerGroupProfileOperations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/containerGroupProfileOperations.js +26 -43
  23. package/dist/browser/operations/containerGroupProfileOperations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/containerGroupProfiles.d.ts +3 -3
  25. package/dist/browser/operations/containerGroupProfiles.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/containerGroupProfiles.js +48 -82
  27. package/dist/browser/operations/containerGroupProfiles.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/containerGroups.d.ts +3 -3
  29. package/dist/browser/operations/containerGroups.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/containerGroups.js +213 -243
  31. package/dist/browser/operations/containerGroups.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/containers.d.ts +3 -3
  33. package/dist/browser/operations/containers.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/containers.js +3 -2
  35. package/dist/browser/operations/containers.js.map +1 -0
  36. package/dist/browser/operations/index.d.ts +8 -0
  37. package/dist/browser/operations/index.d.ts.map +1 -0
  38. package/dist/browser/operations/index.js +15 -0
  39. package/dist/browser/operations/index.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/location.d.ts +3 -3
  41. package/dist/browser/operations/location.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/location.js +57 -108
  43. package/dist/browser/operations/location.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  45. package/dist/browser/operations/operations.d.ts.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  47. package/dist/browser/operations/operations.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/subnetServiceAssociationLink.d.ts +3 -3
  49. package/dist/browser/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  50. package/dist/browser/operations/subnetServiceAssociationLink.js +109 -0
  51. package/dist/browser/operations/subnetServiceAssociationLink.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfileOperations.d.ts +1 -1
  53. package/dist/browser/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  54. package/dist/browser/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfiles.d.ts +1 -1
  56. package/dist/browser/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  57. package/dist/browser/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroups.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/containerGroups.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/containerGroups.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/containers.d.ts +1 -1
  62. package/dist/browser/operationsInterfaces/containers.d.ts.map +1 -0
  63. package/dist/browser/operationsInterfaces/containers.js.map +1 -0
  64. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  65. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/index.js +15 -0
  67. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/location.d.ts +1 -1
  69. package/dist/browser/operationsInterfaces/location.d.ts.map +1 -0
  70. package/dist/browser/operationsInterfaces/location.js.map +1 -0
  71. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  73. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/subnetServiceAssociationLink.d.ts +1 -1
  75. package/dist/browser/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  76. package/dist/browser/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  77. package/dist/browser/package.json +3 -0
  78. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  79. package/dist/browser/pagingHelper.js.map +1 -0
  80. package/dist/commonjs/containerInstanceManagementClient.d.ts +26 -0
  81. package/dist/commonjs/containerInstanceManagementClient.d.ts.map +1 -0
  82. package/dist/commonjs/containerInstanceManagementClient.js +124 -0
  83. package/dist/commonjs/containerInstanceManagementClient.js.map +1 -0
  84. package/dist/commonjs/index.d.ts +5 -0
  85. package/dist/commonjs/index.d.ts.map +1 -0
  86. package/dist/commonjs/index.js +19 -0
  87. package/dist/commonjs/index.js.map +1 -0
  88. package/dist/commonjs/lroImpl.d.ts +11 -0
  89. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  90. package/dist/commonjs/lroImpl.js +21 -0
  91. package/dist/commonjs/lroImpl.js.map +1 -0
  92. package/{types/arm-containerinstance.d.ts → dist/commonjs/models/index.d.ts} +1242 -1711
  93. package/dist/commonjs/models/index.d.ts.map +1 -0
  94. package/dist/commonjs/models/index.js +119 -0
  95. package/dist/commonjs/models/index.js.map +1 -0
  96. package/dist/commonjs/models/mappers.d.ts +66 -0
  97. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  98. package/dist/commonjs/models/mappers.js +2246 -0
  99. package/dist/commonjs/models/mappers.js.map +1 -0
  100. package/dist/commonjs/models/parameters.d.ts +23 -0
  101. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  102. package/dist/commonjs/models/parameters.js +207 -0
  103. package/dist/commonjs/models/parameters.js.map +1 -0
  104. package/dist/commonjs/operations/containerGroupProfileOperations.d.ts +55 -0
  105. package/dist/commonjs/operations/containerGroupProfileOperations.d.ts.map +1 -0
  106. package/dist/commonjs/operations/containerGroupProfileOperations.js +179 -0
  107. package/dist/commonjs/operations/containerGroupProfileOperations.js.map +1 -0
  108. package/dist/commonjs/operations/containerGroupProfiles.d.ts +95 -0
  109. package/dist/commonjs/operations/containerGroupProfiles.d.ts.map +1 -0
  110. package/dist/commonjs/operations/containerGroupProfiles.js +372 -0
  111. package/dist/commonjs/operations/containerGroupProfiles.js.map +1 -0
  112. package/dist/commonjs/operations/containerGroups.d.ts +159 -0
  113. package/dist/commonjs/operations/containerGroups.d.ts.map +1 -0
  114. package/dist/commonjs/operations/containerGroups.js +702 -0
  115. package/dist/commonjs/operations/containerGroups.js.map +1 -0
  116. package/dist/commonjs/operations/containers.d.ts +40 -0
  117. package/dist/commonjs/operations/containers.d.ts.map +1 -0
  118. package/dist/commonjs/operations/containers.js +140 -0
  119. package/dist/commonjs/operations/containers.js.map +1 -0
  120. package/dist/commonjs/operations/index.d.ts +8 -0
  121. package/dist/commonjs/operations/index.d.ts.map +1 -0
  122. package/dist/commonjs/operations/index.js +18 -0
  123. package/dist/commonjs/operations/index.js.map +1 -0
  124. package/dist/commonjs/operations/location.d.ts +70 -0
  125. package/dist/commonjs/operations/location.d.ts.map +1 -0
  126. package/dist/commonjs/operations/location.js +295 -0
  127. package/dist/commonjs/operations/location.js.map +1 -0
  128. package/dist/commonjs/operations/operations.d.ts +32 -0
  129. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  130. package/dist/commonjs/operations/operations.js +121 -0
  131. package/dist/commonjs/operations/operations.js.map +1 -0
  132. package/dist/commonjs/operations/subnetServiceAssociationLink.d.ts +32 -0
  133. package/dist/commonjs/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  134. package/dist/commonjs/operations/subnetServiceAssociationLink.js +114 -0
  135. package/dist/commonjs/operations/subnetServiceAssociationLink.js.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  137. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  138. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.js +10 -0
  139. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  141. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  142. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.js +10 -0
  143. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  144. package/dist/commonjs/operationsInterfaces/containerGroups.d.ts +119 -0
  145. package/dist/commonjs/operationsInterfaces/containerGroups.d.ts.map +1 -0
  146. package/dist/commonjs/operationsInterfaces/containerGroups.js +10 -0
  147. package/dist/commonjs/operationsInterfaces/containerGroups.js.map +1 -0
  148. package/dist/commonjs/operationsInterfaces/containers.d.ts +32 -0
  149. package/dist/commonjs/operationsInterfaces/containers.d.ts.map +1 -0
  150. package/dist/commonjs/operationsInterfaces/containers.js +10 -0
  151. package/dist/commonjs/operationsInterfaces/containers.js.map +1 -0
  152. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  153. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  154. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  155. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  156. package/dist/commonjs/operationsInterfaces/location.d.ts +24 -0
  157. package/dist/commonjs/operationsInterfaces/location.d.ts.map +1 -0
  158. package/dist/commonjs/operationsInterfaces/location.js +10 -0
  159. package/dist/commonjs/operationsInterfaces/location.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  161. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  163. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
  165. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.js +10 -0
  167. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  168. package/dist/commonjs/package.json +3 -0
  169. package/dist/commonjs/pagingHelper.d.ts +13 -0
  170. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  171. package/dist/commonjs/pagingHelper.js +34 -0
  172. package/dist/commonjs/pagingHelper.js.map +1 -0
  173. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  174. package/dist/esm/containerInstanceManagementClient.d.ts +26 -0
  175. package/dist/esm/containerInstanceManagementClient.d.ts.map +1 -0
  176. package/dist/esm/containerInstanceManagementClient.js +119 -0
  177. package/dist/esm/containerInstanceManagementClient.js.map +1 -0
  178. package/dist/esm/index.d.ts +5 -0
  179. package/dist/esm/index.d.ts.map +1 -0
  180. package/{src/index.ts → dist/esm/index.js} +5 -5
  181. package/dist/esm/index.js.map +1 -0
  182. package/dist/esm/lroImpl.d.ts +11 -0
  183. package/dist/esm/lroImpl.d.ts.map +1 -0
  184. package/dist/esm/lroImpl.js +18 -0
  185. package/dist/esm/lroImpl.js.map +1 -0
  186. package/dist/esm/models/index.d.ts +1242 -0
  187. package/dist/esm/models/index.d.ts.map +1 -0
  188. package/dist/esm/models/index.js +116 -0
  189. package/dist/esm/models/index.js.map +1 -0
  190. package/dist/esm/models/mappers.d.ts +66 -0
  191. package/dist/esm/models/mappers.d.ts.map +1 -0
  192. package/dist/esm/models/mappers.js +2242 -0
  193. package/dist/esm/models/mappers.js.map +1 -0
  194. package/dist/esm/models/parameters.d.ts +23 -0
  195. package/dist/esm/models/parameters.d.ts.map +1 -0
  196. package/dist/esm/models/parameters.js +204 -0
  197. package/dist/esm/models/parameters.js.map +1 -0
  198. package/dist/esm/operations/containerGroupProfileOperations.d.ts +55 -0
  199. package/dist/esm/operations/containerGroupProfileOperations.d.ts.map +1 -0
  200. package/dist/esm/operations/containerGroupProfileOperations.js +174 -0
  201. package/dist/esm/operations/containerGroupProfileOperations.js.map +1 -0
  202. package/dist/esm/operations/containerGroupProfiles.d.ts +95 -0
  203. package/dist/esm/operations/containerGroupProfiles.d.ts.map +1 -0
  204. package/dist/esm/operations/containerGroupProfiles.js +367 -0
  205. package/dist/esm/operations/containerGroupProfiles.js.map +1 -0
  206. package/dist/esm/operations/containerGroups.d.ts +159 -0
  207. package/dist/esm/operations/containerGroups.d.ts.map +1 -0
  208. package/dist/esm/operations/containerGroups.js +697 -0
  209. package/dist/esm/operations/containerGroups.js.map +1 -0
  210. package/dist/esm/operations/containers.d.ts +40 -0
  211. package/dist/esm/operations/containers.d.ts.map +1 -0
  212. package/dist/esm/operations/containers.js +135 -0
  213. package/dist/esm/operations/containers.js.map +1 -0
  214. package/dist/esm/operations/index.d.ts +8 -0
  215. package/dist/esm/operations/index.d.ts.map +1 -0
  216. package/dist/esm/operations/index.js +15 -0
  217. package/dist/esm/operations/index.js.map +1 -0
  218. package/dist/esm/operations/location.d.ts +70 -0
  219. package/dist/esm/operations/location.d.ts.map +1 -0
  220. package/dist/esm/operations/location.js +290 -0
  221. package/dist/esm/operations/location.js.map +1 -0
  222. package/dist/esm/operations/operations.d.ts +32 -0
  223. package/dist/esm/operations/operations.d.ts.map +1 -0
  224. package/dist/esm/operations/operations.js +116 -0
  225. package/dist/esm/operations/operations.js.map +1 -0
  226. package/dist/esm/operations/subnetServiceAssociationLink.d.ts +32 -0
  227. package/dist/esm/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  228. package/dist/esm/operations/subnetServiceAssociationLink.js +109 -0
  229. package/dist/esm/operations/subnetServiceAssociationLink.js.map +1 -0
  230. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  231. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  232. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.js +9 -0
  233. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  234. package/dist/esm/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  235. package/dist/esm/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  236. package/dist/esm/operationsInterfaces/containerGroupProfiles.js +9 -0
  237. package/dist/esm/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  238. package/dist/esm/operationsInterfaces/containerGroups.d.ts +119 -0
  239. package/dist/esm/operationsInterfaces/containerGroups.d.ts.map +1 -0
  240. package/dist/esm/operationsInterfaces/containerGroups.js +9 -0
  241. package/dist/esm/operationsInterfaces/containerGroups.js.map +1 -0
  242. package/dist/esm/operationsInterfaces/containers.d.ts +32 -0
  243. package/dist/esm/operationsInterfaces/containers.d.ts.map +1 -0
  244. package/dist/esm/operationsInterfaces/containers.js +9 -0
  245. package/dist/esm/operationsInterfaces/containers.js.map +1 -0
  246. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  247. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  248. package/dist/esm/operationsInterfaces/index.js +15 -0
  249. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  250. package/dist/esm/operationsInterfaces/location.d.ts +24 -0
  251. package/dist/esm/operationsInterfaces/location.d.ts.map +1 -0
  252. package/dist/esm/operationsInterfaces/location.js +9 -0
  253. package/dist/esm/operationsInterfaces/location.js.map +1 -0
  254. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  255. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  256. package/dist/esm/operationsInterfaces/operations.js +9 -0
  257. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  258. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
  259. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  260. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.js +9 -0
  261. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  262. package/dist/esm/package.json +3 -0
  263. package/dist/esm/pagingHelper.d.ts +13 -0
  264. package/dist/esm/pagingHelper.d.ts.map +1 -0
  265. package/dist/esm/pagingHelper.js +30 -0
  266. package/dist/esm/pagingHelper.js.map +1 -0
  267. package/dist/react-native/containerInstanceManagementClient.d.ts +26 -0
  268. package/dist/react-native/containerInstanceManagementClient.d.ts.map +1 -0
  269. package/dist/react-native/containerInstanceManagementClient.js +119 -0
  270. package/dist/react-native/containerInstanceManagementClient.js.map +1 -0
  271. package/dist/react-native/index.d.ts +5 -0
  272. package/dist/react-native/index.d.ts.map +1 -0
  273. package/dist/react-native/index.js +13 -0
  274. package/dist/react-native/index.js.map +1 -0
  275. package/dist/react-native/lroImpl.d.ts +11 -0
  276. package/dist/react-native/lroImpl.d.ts.map +1 -0
  277. package/dist/react-native/lroImpl.js +18 -0
  278. package/dist/react-native/lroImpl.js.map +1 -0
  279. package/dist/react-native/models/index.d.ts +1242 -0
  280. package/dist/react-native/models/index.d.ts.map +1 -0
  281. package/dist/react-native/models/index.js +116 -0
  282. package/dist/react-native/models/index.js.map +1 -0
  283. package/dist/react-native/models/mappers.d.ts +66 -0
  284. package/dist/react-native/models/mappers.d.ts.map +1 -0
  285. package/dist/react-native/models/mappers.js +2242 -0
  286. package/dist/react-native/models/mappers.js.map +1 -0
  287. package/dist/react-native/models/parameters.d.ts +23 -0
  288. package/dist/react-native/models/parameters.d.ts.map +1 -0
  289. package/dist/react-native/models/parameters.js +204 -0
  290. package/dist/react-native/models/parameters.js.map +1 -0
  291. package/dist/react-native/operations/containerGroupProfileOperations.d.ts +55 -0
  292. package/dist/react-native/operations/containerGroupProfileOperations.d.ts.map +1 -0
  293. package/dist/react-native/operations/containerGroupProfileOperations.js +174 -0
  294. package/dist/react-native/operations/containerGroupProfileOperations.js.map +1 -0
  295. package/dist/react-native/operations/containerGroupProfiles.d.ts +95 -0
  296. package/dist/react-native/operations/containerGroupProfiles.d.ts.map +1 -0
  297. package/dist/react-native/operations/containerGroupProfiles.js +367 -0
  298. package/dist/react-native/operations/containerGroupProfiles.js.map +1 -0
  299. package/dist/react-native/operations/containerGroups.d.ts +159 -0
  300. package/dist/react-native/operations/containerGroups.d.ts.map +1 -0
  301. package/dist/react-native/operations/containerGroups.js +697 -0
  302. package/dist/react-native/operations/containerGroups.js.map +1 -0
  303. package/dist/react-native/operations/containers.d.ts +40 -0
  304. package/dist/react-native/operations/containers.d.ts.map +1 -0
  305. package/dist/react-native/operations/containers.js +135 -0
  306. package/dist/react-native/operations/containers.js.map +1 -0
  307. package/dist/react-native/operations/index.d.ts +8 -0
  308. package/dist/react-native/operations/index.d.ts.map +1 -0
  309. package/dist/react-native/operations/index.js +15 -0
  310. package/dist/react-native/operations/index.js.map +1 -0
  311. package/dist/react-native/operations/location.d.ts +70 -0
  312. package/dist/react-native/operations/location.d.ts.map +1 -0
  313. package/dist/react-native/operations/location.js +290 -0
  314. package/dist/react-native/operations/location.js.map +1 -0
  315. package/dist/react-native/operations/operations.d.ts +32 -0
  316. package/dist/react-native/operations/operations.d.ts.map +1 -0
  317. package/dist/react-native/operations/operations.js +116 -0
  318. package/dist/react-native/operations/operations.js.map +1 -0
  319. package/dist/react-native/operations/subnetServiceAssociationLink.d.ts +32 -0
  320. package/dist/react-native/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  321. package/dist/react-native/operations/subnetServiceAssociationLink.js +109 -0
  322. package/dist/react-native/operations/subnetServiceAssociationLink.js.map +1 -0
  323. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  324. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  325. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.js +9 -0
  326. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  327. package/dist/react-native/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  328. package/dist/react-native/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  329. package/dist/react-native/operationsInterfaces/containerGroupProfiles.js +9 -0
  330. package/dist/react-native/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  331. package/dist/react-native/operationsInterfaces/containerGroups.d.ts +119 -0
  332. package/dist/react-native/operationsInterfaces/containerGroups.d.ts.map +1 -0
  333. package/dist/react-native/operationsInterfaces/containerGroups.js +9 -0
  334. package/dist/react-native/operationsInterfaces/containerGroups.js.map +1 -0
  335. package/dist/react-native/operationsInterfaces/containers.d.ts +32 -0
  336. package/dist/react-native/operationsInterfaces/containers.d.ts.map +1 -0
  337. package/dist/react-native/operationsInterfaces/containers.js +9 -0
  338. package/dist/react-native/operationsInterfaces/containers.js.map +1 -0
  339. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  340. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  341. package/dist/react-native/operationsInterfaces/index.js +15 -0
  342. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  343. package/dist/react-native/operationsInterfaces/location.d.ts +24 -0
  344. package/dist/react-native/operationsInterfaces/location.d.ts.map +1 -0
  345. package/dist/react-native/operationsInterfaces/location.js +9 -0
  346. package/dist/react-native/operationsInterfaces/location.js.map +1 -0
  347. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  348. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  349. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  350. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  351. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
  352. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  353. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.js +9 -0
  354. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  355. package/dist/react-native/package.json +3 -0
  356. package/dist/react-native/pagingHelper.d.ts +13 -0
  357. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  358. package/dist/react-native/pagingHelper.js +30 -0
  359. package/dist/react-native/pagingHelper.js.map +1 -0
  360. package/package.json +86 -69
  361. package/review/{arm-containerinstance.api.md → arm-containerinstance-node.api.md} +2 -3
  362. package/dist/index.js +0 -4809
  363. package/dist/index.js.map +0 -1
  364. package/dist/index.min.js +0 -1
  365. package/dist/index.min.js.map +0 -1
  366. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +0 -2
  367. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +0 -1
  368. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +0 -40
  369. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +0 -1
  370. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +0 -2
  371. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +0 -1
  372. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +0 -55
  373. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +0 -1
  374. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +0 -2
  375. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +0 -1
  376. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +0 -260
  377. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +0 -1
  378. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +0 -2
  379. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +0 -39
  381. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +0 -1
  382. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +0 -2
  383. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +0 -58
  385. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +0 -1
  386. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +0 -54
  389. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +0 -1
  390. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/containerGroupProfilesListSample.js +0 -53
  393. package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +0 -1
  394. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +0 -42
  397. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +0 -1
  398. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +0 -320
  401. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +0 -1
  402. package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/containerGroupsDeleteSample.js +0 -39
  405. package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +0 -1
  406. package/dist-esm/samples-dev/containerGroupsGetSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/containerGroupsGetSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/containerGroupsGetSample.js +0 -77
  409. package/dist-esm/samples-dev/containerGroupsGetSample.js.map +0 -1
  410. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +0 -54
  413. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +0 -1
  414. package/dist-esm/samples-dev/containerGroupsListSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/containerGroupsListSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/containerGroupsListSample.js +0 -53
  417. package/dist-esm/samples-dev/containerGroupsListSample.js.map +0 -1
  418. package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/containerGroupsRestartSample.js +0 -39
  421. package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +0 -1
  422. package/dist-esm/samples-dev/containerGroupsStartSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/containerGroupsStartSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/containerGroupsStartSample.js +0 -39
  425. package/dist-esm/samples-dev/containerGroupsStartSample.js.map +0 -1
  426. package/dist-esm/samples-dev/containerGroupsStopSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/containerGroupsStopSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/containerGroupsStopSample.js +0 -39
  429. package/dist-esm/samples-dev/containerGroupsStopSample.js.map +0 -1
  430. package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/containerGroupsUpdateSample.js +0 -42
  433. package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +0 -1
  434. package/dist-esm/samples-dev/containersAttachSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/containersAttachSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/containersAttachSample.js +0 -40
  437. package/dist-esm/samples-dev/containersAttachSample.js.map +0 -1
  438. package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/containersExecuteCommandSample.js +0 -44
  441. package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +0 -1
  442. package/dist-esm/samples-dev/containersListLogsSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/containersListLogsSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/containersListLogsSample.js +0 -42
  445. package/dist-esm/samples-dev/containersListLogsSample.js.map +0 -1
  446. package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/locationListCachedImagesSample.js +0 -54
  449. package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +0 -1
  450. package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/locationListCapabilitiesSample.js +0 -54
  453. package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +0 -1
  454. package/dist-esm/samples-dev/locationListUsageSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/locationListUsageSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/locationListUsageSample.js +0 -54
  457. package/dist-esm/samples-dev/locationListUsageSample.js.map +0 -1
  458. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  461. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  462. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +0 -40
  465. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +0 -1
  466. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +0 -1
  467. package/dist-esm/src/containerInstanceManagementClient.js.map +0 -1
  468. package/dist-esm/src/index.d.ts +0 -5
  469. package/dist-esm/src/index.js.map +0 -1
  470. package/dist-esm/src/lroImpl.js +0 -21
  471. package/dist-esm/src/lroImpl.js.map +0 -1
  472. package/dist-esm/src/models/index.js.map +0 -1
  473. package/dist-esm/src/models/mappers.js.map +0 -1
  474. package/dist-esm/src/models/parameters.js.map +0 -1
  475. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +0 -1
  476. package/dist-esm/src/operations/containerGroupProfileOperations.js.map +0 -1
  477. package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +0 -1
  478. package/dist-esm/src/operations/containerGroupProfiles.js.map +0 -1
  479. package/dist-esm/src/operations/containerGroups.d.ts.map +0 -1
  480. package/dist-esm/src/operations/containerGroups.js.map +0 -1
  481. package/dist-esm/src/operations/containers.d.ts.map +0 -1
  482. package/dist-esm/src/operations/containers.js.map +0 -1
  483. package/dist-esm/src/operations/index.d.ts +0 -8
  484. package/dist-esm/src/operations/index.d.ts.map +0 -1
  485. package/dist-esm/src/operations/index.js +0 -15
  486. package/dist-esm/src/operations/index.js.map +0 -1
  487. package/dist-esm/src/operations/location.d.ts.map +0 -1
  488. package/dist-esm/src/operations/location.js.map +0 -1
  489. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  490. package/dist-esm/src/operations/operations.js.map +0 -1
  491. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +0 -1
  492. package/dist-esm/src/operations/subnetServiceAssociationLink.js +0 -108
  493. package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +0 -1
  494. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +0 -1
  495. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +0 -1
  496. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +0 -1
  497. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +0 -1
  498. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +0 -1
  499. package/dist-esm/src/operationsInterfaces/containerGroups.js.map +0 -1
  500. package/dist-esm/src/operationsInterfaces/containers.d.ts.map +0 -1
  501. package/dist-esm/src/operationsInterfaces/containers.js.map +0 -1
  502. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  503. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  504. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  505. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
  507. package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  509. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js.map +0 -1
  511. package/dist-esm/src/pagingHelper.js.map +0 -1
  512. package/dist-esm/test/containerinstance_examples.d.ts +0 -4
  513. package/dist-esm/test/containerinstance_examples.d.ts.map +0 -1
  514. package/dist-esm/test/containerinstance_examples.js +0 -159
  515. package/dist-esm/test/containerinstance_examples.js.map +0 -1
  516. package/src/containerInstanceManagementClient.ts +0 -172
  517. package/src/lroImpl.ts +0 -42
  518. package/src/models/index.ts +0 -1410
  519. package/src/models/mappers.ts +0 -2311
  520. package/src/models/parameters.ts +0 -236
  521. package/src/operations/containerGroupProfileOperations.ts +0 -255
  522. package/src/operations/containerGroupProfiles.ts +0 -485
  523. package/src/operations/containerGroups.ts +0 -944
  524. package/src/operations/containers.ts +0 -177
  525. package/src/operations/index.ts +0 -15
  526. package/src/operations/location.ts +0 -401
  527. package/src/operations/operations.ts +0 -149
  528. package/src/operations/subnetServiceAssociationLink.ts +0 -149
  529. package/src/operationsInterfaces/containerGroupProfileOperations.ts +0 -50
  530. package/src/operationsInterfaces/containerGroupProfiles.ts +0 -99
  531. package/src/operationsInterfaces/containerGroups.ts +0 -212
  532. package/src/operationsInterfaces/containers.ts +0 -64
  533. package/src/operationsInterfaces/index.ts +0 -15
  534. package/src/operationsInterfaces/location.ts +0 -49
  535. package/src/operationsInterfaces/operations.ts +0 -22
  536. package/src/operationsInterfaces/subnetServiceAssociationLink.ts +0 -42
  537. package/src/pagingHelper.ts +0 -39
  538. package/tsconfig.json +0 -33
  539. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  540. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  541. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  542. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  543. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  544. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  545. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  546. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  547. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfileOperations.js +0 -0
  548. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfiles.js +0 -0
  549. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroups.js +0 -0
  550. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containers.js +0 -0
  551. /package/{dist-esm/src → dist/browser}/operationsInterfaces/location.js +0 -0
  552. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  553. /package/{dist-esm/src → dist/browser}/operationsInterfaces/subnetServiceAssociationLink.js +0 -0
  554. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  555. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
@@ -0,0 +1,372 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ *
6
+ * Code generated by Microsoft (R) AutoRest Code Generator.
7
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
+ */
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.ContainerGroupProfilesImpl = void 0;
11
+ const tslib_1 = require("tslib");
12
+ const pagingHelper_js_1 = require("../pagingHelper.js");
13
+ const coreClient = tslib_1.__importStar(require("@azure/core-client"));
14
+ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
15
+ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
16
+ /// <reference lib="esnext.asynciterable" />
17
+ /** Class containing ContainerGroupProfiles operations. */
18
+ class ContainerGroupProfilesImpl {
19
+ client;
20
+ /**
21
+ * Initialize a new instance of the class ContainerGroupProfiles class.
22
+ * @param client Reference to the service client
23
+ */
24
+ constructor(client) {
25
+ this.client = client;
26
+ }
27
+ /**
28
+ * Get a list of container group profiles in the specified subscription. This operation returns
29
+ * properties of each container group profile including containers, image registry credentials, restart
30
+ * policy, IP address type, OS type,volumes,current revision number, etc.
31
+ * @param options The options parameters.
32
+ */
33
+ list(options) {
34
+ const iter = this.listPagingAll(options);
35
+ return {
36
+ next() {
37
+ return iter.next();
38
+ },
39
+ [Symbol.asyncIterator]() {
40
+ return this;
41
+ },
42
+ byPage: (settings) => {
43
+ if (settings?.maxPageSize) {
44
+ throw new Error("maxPageSize is not supported by this operation.");
45
+ }
46
+ return this.listPagingPage(options, settings);
47
+ },
48
+ };
49
+ }
50
+ async *listPagingPage(options, settings) {
51
+ let result;
52
+ let continuationToken = settings?.continuationToken;
53
+ if (!continuationToken) {
54
+ result = await this._list(options);
55
+ let page = result.value || [];
56
+ continuationToken = result.nextLink;
57
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
58
+ yield page;
59
+ }
60
+ while (continuationToken) {
61
+ result = await this._listNext(continuationToken, options);
62
+ continuationToken = result.nextLink;
63
+ let page = result.value || [];
64
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
65
+ yield page;
66
+ }
67
+ }
68
+ async *listPagingAll(options) {
69
+ for await (const page of this.listPagingPage(options)) {
70
+ yield* page;
71
+ }
72
+ }
73
+ /**
74
+ * Get a list of container group profiles in a specified subscription and resource group. This
75
+ * operation returns properties of each container group profile including containers, image registry
76
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param options The options parameters.
79
+ */
80
+ listByResourceGroup(resourceGroupName, options) {
81
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
82
+ return {
83
+ next() {
84
+ return iter.next();
85
+ },
86
+ [Symbol.asyncIterator]() {
87
+ return this;
88
+ },
89
+ byPage: (settings) => {
90
+ if (settings?.maxPageSize) {
91
+ throw new Error("maxPageSize is not supported by this operation.");
92
+ }
93
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
94
+ },
95
+ };
96
+ }
97
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
98
+ let result;
99
+ let continuationToken = settings?.continuationToken;
100
+ if (!continuationToken) {
101
+ result = await this._listByResourceGroup(resourceGroupName, options);
102
+ let page = result.value || [];
103
+ continuationToken = result.nextLink;
104
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
105
+ yield page;
106
+ }
107
+ while (continuationToken) {
108
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
109
+ continuationToken = result.nextLink;
110
+ let page = result.value || [];
111
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
112
+ yield page;
113
+ }
114
+ }
115
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
116
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
117
+ yield* page;
118
+ }
119
+ }
120
+ /**
121
+ * Get a list of container group profiles in the specified subscription. This operation returns
122
+ * properties of each container group profile including containers, image registry credentials, restart
123
+ * policy, IP address type, OS type,volumes,current revision number, etc.
124
+ * @param options The options parameters.
125
+ */
126
+ _list(options) {
127
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
128
+ }
129
+ /**
130
+ * Get a list of container group profiles in a specified subscription and resource group. This
131
+ * operation returns properties of each container group profile including containers, image registry
132
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
133
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
134
+ * @param options The options parameters.
135
+ */
136
+ _listByResourceGroup(resourceGroupName, options) {
137
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
138
+ }
139
+ /**
140
+ * Gets the properties of the specified container group profile in the specified subscription and
141
+ * resource group. The operation returns the properties of container group profile including
142
+ * containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
143
+ * revision number, etc.
144
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
145
+ * @param containerGroupProfileName The name of the container group profile.
146
+ * @param options The options parameters.
147
+ */
148
+ get(resourceGroupName, containerGroupProfileName, options) {
149
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, getOperationSpec);
150
+ }
151
+ /**
152
+ * Create or update container group profiles with specified configurations.
153
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
154
+ * @param containerGroupProfileName The name of the container group profile.
155
+ * @param containerGroupProfile The properties of the container group profile to be created or updated.
156
+ * @param options The options parameters.
157
+ */
158
+ createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile, options) {
159
+ return this.client.sendOperationRequest({
160
+ resourceGroupName,
161
+ containerGroupProfileName,
162
+ containerGroupProfile,
163
+ options,
164
+ }, createOrUpdateOperationSpec);
165
+ }
166
+ /**
167
+ * Patches container group profile with specified properties.
168
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
169
+ * @param containerGroupProfileName The name of the container group profile.
170
+ * @param properties The container group profile properties that need to be updated.
171
+ * @param options The options parameters.
172
+ */
173
+ patch(resourceGroupName, containerGroupProfileName, properties, options) {
174
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, properties, options }, patchOperationSpec);
175
+ }
176
+ /**
177
+ * Delete the specified container group profile in the specified subscription and resource group. The
178
+ * operation does not delete other resources provided by the user, such as volumes.
179
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
180
+ * @param containerGroupProfileName The name of the container group profile.
181
+ * @param options The options parameters.
182
+ */
183
+ delete(resourceGroupName, containerGroupProfileName, options) {
184
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, deleteOperationSpec);
185
+ }
186
+ /**
187
+ * ListNext
188
+ * @param nextLink The nextLink from the previous successful call to the List method.
189
+ * @param options The options parameters.
190
+ */
191
+ _listNext(nextLink, options) {
192
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
193
+ }
194
+ /**
195
+ * ListByResourceGroupNext
196
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
197
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
198
+ * @param options The options parameters.
199
+ */
200
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
201
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
202
+ }
203
+ }
204
+ exports.ContainerGroupProfilesImpl = ContainerGroupProfilesImpl;
205
+ // Operation Specifications
206
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
207
+ const listOperationSpec = {
208
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
209
+ httpMethod: "GET",
210
+ responses: {
211
+ 200: {
212
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
213
+ },
214
+ default: {
215
+ bodyMapper: Mappers.CloudError,
216
+ },
217
+ },
218
+ queryParameters: [Parameters.apiVersion],
219
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
220
+ headerParameters: [Parameters.accept],
221
+ serializer,
222
+ };
223
+ const listByResourceGroupOperationSpec = {
224
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
225
+ httpMethod: "GET",
226
+ responses: {
227
+ 200: {
228
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
229
+ },
230
+ default: {
231
+ bodyMapper: Mappers.CloudError,
232
+ },
233
+ },
234
+ queryParameters: [Parameters.apiVersion],
235
+ urlParameters: [
236
+ Parameters.$host,
237
+ Parameters.subscriptionId,
238
+ Parameters.resourceGroupName,
239
+ ],
240
+ headerParameters: [Parameters.accept],
241
+ serializer,
242
+ };
243
+ const getOperationSpec = {
244
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
245
+ httpMethod: "GET",
246
+ responses: {
247
+ 200: {
248
+ bodyMapper: Mappers.ContainerGroupProfile,
249
+ },
250
+ default: {
251
+ bodyMapper: Mappers.CloudError,
252
+ },
253
+ },
254
+ queryParameters: [Parameters.apiVersion],
255
+ urlParameters: [
256
+ Parameters.$host,
257
+ Parameters.subscriptionId,
258
+ Parameters.resourceGroupName,
259
+ Parameters.containerGroupProfileName,
260
+ ],
261
+ headerParameters: [Parameters.accept],
262
+ serializer,
263
+ };
264
+ const createOrUpdateOperationSpec = {
265
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
266
+ httpMethod: "PUT",
267
+ responses: {
268
+ 200: {
269
+ bodyMapper: Mappers.ContainerGroupProfile,
270
+ },
271
+ 201: {
272
+ bodyMapper: Mappers.ContainerGroupProfile,
273
+ },
274
+ default: {
275
+ bodyMapper: Mappers.CloudError,
276
+ },
277
+ },
278
+ requestBody: Parameters.containerGroupProfile,
279
+ queryParameters: [Parameters.apiVersion],
280
+ urlParameters: [
281
+ Parameters.$host,
282
+ Parameters.subscriptionId,
283
+ Parameters.resourceGroupName,
284
+ Parameters.containerGroupProfileName,
285
+ ],
286
+ headerParameters: [Parameters.accept, Parameters.contentType],
287
+ mediaType: "json",
288
+ serializer,
289
+ };
290
+ const patchOperationSpec = {
291
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
292
+ httpMethod: "PATCH",
293
+ responses: {
294
+ 200: {
295
+ bodyMapper: Mappers.ContainerGroupProfile,
296
+ },
297
+ default: {
298
+ bodyMapper: Mappers.CloudError,
299
+ },
300
+ },
301
+ requestBody: Parameters.properties,
302
+ queryParameters: [Parameters.apiVersion],
303
+ urlParameters: [
304
+ Parameters.$host,
305
+ Parameters.subscriptionId,
306
+ Parameters.resourceGroupName,
307
+ Parameters.containerGroupProfileName,
308
+ ],
309
+ headerParameters: [Parameters.accept, Parameters.contentType],
310
+ mediaType: "json",
311
+ serializer,
312
+ };
313
+ const deleteOperationSpec = {
314
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
315
+ httpMethod: "DELETE",
316
+ responses: {
317
+ 200: {},
318
+ 204: {},
319
+ default: {
320
+ bodyMapper: Mappers.CloudError,
321
+ },
322
+ },
323
+ queryParameters: [Parameters.apiVersion],
324
+ urlParameters: [
325
+ Parameters.$host,
326
+ Parameters.subscriptionId,
327
+ Parameters.resourceGroupName,
328
+ Parameters.containerGroupProfileName,
329
+ ],
330
+ headerParameters: [Parameters.accept],
331
+ serializer,
332
+ };
333
+ const listNextOperationSpec = {
334
+ path: "{nextLink}",
335
+ httpMethod: "GET",
336
+ responses: {
337
+ 200: {
338
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
339
+ },
340
+ default: {
341
+ bodyMapper: Mappers.CloudError,
342
+ },
343
+ },
344
+ urlParameters: [
345
+ Parameters.$host,
346
+ Parameters.subscriptionId,
347
+ Parameters.nextLink,
348
+ ],
349
+ headerParameters: [Parameters.accept],
350
+ serializer,
351
+ };
352
+ const listByResourceGroupNextOperationSpec = {
353
+ path: "{nextLink}",
354
+ httpMethod: "GET",
355
+ responses: {
356
+ 200: {
357
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
358
+ },
359
+ default: {
360
+ bodyMapper: Mappers.CloudError,
361
+ },
362
+ },
363
+ urlParameters: [
364
+ Parameters.$host,
365
+ Parameters.subscriptionId,
366
+ Parameters.resourceGroupName,
367
+ Parameters.nextLink,
368
+ ],
369
+ headerParameters: [Parameters.accept],
370
+ serializer,
371
+ };
372
+ //# sourceMappingURL=containerGroupProfiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerGroupProfiles.js","sourceRoot":"","sources":["../../../src/operations/containerGroupProfiles.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAsBtD,4CAA4C;AAC5C,0DAA0D;AAC1D,MAAa,0BAA0B;IACpB,MAAM,CAAoC;IAE3D;;;OAGG;IACH,YAAY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licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ContainerGroupProfiles } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { ContainerInstanceManagementClient } from \"../containerInstanceManagementClient.js\";\nimport {\n ContainerGroupProfile,\n ContainerGroupProfilesListNextOptionalParams,\n ContainerGroupProfilesListOptionalParams,\n ContainerGroupProfilesListResponse,\n ContainerGroupProfilesListByResourceGroupNextOptionalParams,\n ContainerGroupProfilesListByResourceGroupOptionalParams,\n ContainerGroupProfilesListByResourceGroupResponse,\n ContainerGroupProfilesGetOptionalParams,\n ContainerGroupProfilesGetResponse,\n ContainerGroupProfilesCreateOrUpdateOptionalParams,\n ContainerGroupProfilesCreateOrUpdateResponse,\n ContainerGroupProfilePatch,\n ContainerGroupProfilesPatchOptionalParams,\n ContainerGroupProfilesPatchResponse,\n ContainerGroupProfilesDeleteOptionalParams,\n ContainerGroupProfilesListNextResponse,\n ContainerGroupProfilesListByResourceGroupNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerGroupProfiles operations. */\nexport class ContainerGroupProfilesImpl implements ContainerGroupProfiles {\n private readonly client: ContainerInstanceManagementClient;\n\n /**\n * Initialize a new instance of the class ContainerGroupProfiles class.\n * @param client Reference to the service client\n */\n constructor(client: ContainerInstanceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get a list of container group profiles in the specified subscription. This operation returns\n * properties of each container group profile including containers, image registry credentials, restart\n * policy, IP address type, OS type,volumes,current revision number, etc.\n * @param options The options parameters.\n */\n public list(\n options?: ContainerGroupProfilesListOptionalParams,\n ): PagedAsyncIterableIterator<ContainerGroupProfile> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: ContainerGroupProfilesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerGroupProfile[]> {\n let result: ContainerGroupProfilesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ContainerGroupProfilesListOptionalParams,\n ): AsyncIterableIterator<ContainerGroupProfile> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get a list of container group profiles in a specified subscription and resource group. This\n * operation returns properties of each container group profile including containers, image registry\n * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ContainerGroupProfilesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<ContainerGroupProfile> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ContainerGroupProfilesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerGroupProfile[]> {\n let result: ContainerGroupProfilesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: ContainerGroupProfilesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<ContainerGroupProfile> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a list of container group profiles in the specified subscription. This operation returns\n * properties of each container group profile including containers, image registry credentials, restart\n * policy, IP address type, OS type,volumes,current revision number, etc.\n * @param options The options parameters.\n */\n private _list(\n options?: ContainerGroupProfilesListOptionalParams,\n ): Promise<ContainerGroupProfilesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Get a list of container group profiles in a specified subscription and resource group. This\n * operation returns properties of each container group profile including containers, image registry\n * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ContainerGroupProfilesListByResourceGroupOptionalParams,\n ): Promise<ContainerGroupProfilesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * Gets the properties of the specified container group profile in the specified subscription and\n * resource group. The operation returns the properties of container group profile including\n * containers, image registry credentials, restart policy, IP address type, OS type, volumes, current\n * revision number, etc.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerGroupProfileName The name of the container group profile.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n containerGroupProfileName: string,\n options?: ContainerGroupProfilesGetOptionalParams,\n ): Promise<ContainerGroupProfilesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerGroupProfileName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Create or update container group profiles with specified configurations.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerGroupProfileName The name of the container group profile.\n * @param containerGroupProfile The properties of the container group profile to be created or updated.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n containerGroupProfileName: string,\n containerGroupProfile: ContainerGroupProfile,\n options?: ContainerGroupProfilesCreateOrUpdateOptionalParams,\n ): Promise<ContainerGroupProfilesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n containerGroupProfileName,\n containerGroupProfile,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Patches container group profile with specified properties.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerGroupProfileName The name of the container group profile.\n * @param properties The container group profile properties that need to be updated.\n * @param options The options parameters.\n */\n patch(\n resourceGroupName: string,\n containerGroupProfileName: string,\n properties: ContainerGroupProfilePatch,\n options?: ContainerGroupProfilesPatchOptionalParams,\n ): Promise<ContainerGroupProfilesPatchResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerGroupProfileName, properties, options },\n patchOperationSpec,\n );\n }\n\n /**\n * Delete the specified container group profile in the specified subscription and resource group. The\n * operation does not delete other resources provided by the user, such as volumes.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param containerGroupProfileName The name of the container group profile.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n containerGroupProfileName: string,\n options?: ContainerGroupProfilesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerGroupProfileName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ContainerGroupProfilesListNextOptionalParams,\n ): Promise<ContainerGroupProfilesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: ContainerGroupProfilesListByResourceGroupNextOptionalParams,\n ): Promise<ContainerGroupProfilesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfileListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfileListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerGroupProfileName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfile,\n },\n 201: {\n bodyMapper: Mappers.ContainerGroupProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.containerGroupProfile,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerGroupProfileName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst patchOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfile,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.properties,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerGroupProfileName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.containerGroupProfileName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfileListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ContainerGroupProfileListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,159 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ContainerGroups } from "../operationsInterfaces/index.js";
3
+ import { ContainerInstanceManagementClient } from "../containerInstanceManagementClient.js";
4
+ import { SimplePollerLike, OperationState } from "@azure/core-lro";
5
+ import { ContainerGroup, ContainerGroupsListOptionalParams, ContainerGroupsListByResourceGroupOptionalParams, ContainerGroupsGetOptionalParams, ContainerGroupsGetResponse, ContainerGroupsCreateOrUpdateOptionalParams, ContainerGroupsCreateOrUpdateResponse, Resource, ContainerGroupsUpdateOptionalParams, ContainerGroupsUpdateResponse, ContainerGroupsDeleteOptionalParams, ContainerGroupsDeleteResponse, ContainerGroupsRestartOptionalParams, ContainerGroupsStopOptionalParams, ContainerGroupsStartOptionalParams, ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams, ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse } from "../models/index.js";
6
+ /** Class containing ContainerGroups operations. */
7
+ export declare class ContainerGroupsImpl implements ContainerGroups {
8
+ private readonly client;
9
+ /**
10
+ * Initialize a new instance of the class ContainerGroups class.
11
+ * @param client Reference to the service client
12
+ */
13
+ constructor(client: ContainerInstanceManagementClient);
14
+ /**
15
+ * Get a list of container groups in the specified subscription. This operation returns properties of
16
+ * each container group including containers, image registry credentials, restart policy, IP address
17
+ * type, OS type, state, and volumes.
18
+ * @param options The options parameters.
19
+ */
20
+ list(options?: ContainerGroupsListOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
21
+ private listPagingPage;
22
+ private listPagingAll;
23
+ /**
24
+ * Get a list of container groups in a specified subscription and resource group. This operation
25
+ * returns properties of each container group including containers, image registry credentials, restart
26
+ * policy, IP address type, OS type, state, and volumes.
27
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
28
+ * @param options The options parameters.
29
+ */
30
+ listByResourceGroup(resourceGroupName: string, options?: ContainerGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
31
+ private listByResourceGroupPagingPage;
32
+ private listByResourceGroupPagingAll;
33
+ /**
34
+ * Get a list of container groups in the specified subscription. This operation returns properties of
35
+ * each container group including containers, image registry credentials, restart policy, IP address
36
+ * type, OS type, state, and volumes.
37
+ * @param options The options parameters.
38
+ */
39
+ private _list;
40
+ /**
41
+ * Get a list of container groups in a specified subscription and resource group. This operation
42
+ * returns properties of each container group including containers, image registry credentials, restart
43
+ * policy, IP address type, OS type, state, and volumes.
44
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
45
+ * @param options The options parameters.
46
+ */
47
+ private _listByResourceGroup;
48
+ /**
49
+ * Gets the properties of the specified container group in the specified subscription and resource
50
+ * group. The operation returns the properties of each container group including containers, image
51
+ * registry credentials, restart policy, IP address type, OS type, state, and volumes.
52
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
+ * @param containerGroupName The name of the container group.
54
+ * @param options The options parameters.
55
+ */
56
+ get(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOptionalParams): Promise<ContainerGroupsGetResponse>;
57
+ /**
58
+ * Create or update container groups with specified configurations.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param containerGroupName The name of the container group.
61
+ * @param containerGroup The properties of the container group to be created or updated.
62
+ * @param options The options parameters.
63
+ */
64
+ beginCreateOrUpdate(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ContainerGroupsCreateOrUpdateResponse>, ContainerGroupsCreateOrUpdateResponse>>;
65
+ /**
66
+ * Create or update container groups with specified configurations.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param containerGroupName The name of the container group.
69
+ * @param containerGroup The properties of the container group to be created or updated.
70
+ * @param options The options parameters.
71
+ */
72
+ beginCreateOrUpdateAndWait(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<ContainerGroupsCreateOrUpdateResponse>;
73
+ /**
74
+ * Updates container group tags with specified values.
75
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
76
+ * @param containerGroupName The name of the container group.
77
+ * @param resource The container group resource with just the tags to be updated.
78
+ * @param options The options parameters.
79
+ */
80
+ update(resourceGroupName: string, containerGroupName: string, resource: Resource, options?: ContainerGroupsUpdateOptionalParams): Promise<ContainerGroupsUpdateResponse>;
81
+ /**
82
+ * Delete the specified container group in the specified subscription and resource group. The operation
83
+ * does not delete other resources provided by the user, such as volumes.
84
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
+ * @param containerGroupName The name of the container group.
86
+ * @param options The options parameters.
87
+ */
88
+ beginDelete(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ContainerGroupsDeleteResponse>, ContainerGroupsDeleteResponse>>;
89
+ /**
90
+ * Delete the specified container group in the specified subscription and resource group. The operation
91
+ * does not delete other resources provided by the user, such as volumes.
92
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
93
+ * @param containerGroupName The name of the container group.
94
+ * @param options The options parameters.
95
+ */
96
+ beginDeleteAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsDeleteOptionalParams): Promise<ContainerGroupsDeleteResponse>;
97
+ /**
98
+ * Restarts all containers in a container group in place. If container image has updates, new image
99
+ * will be downloaded.
100
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
101
+ * @param containerGroupName The name of the container group.
102
+ * @param options The options parameters.
103
+ */
104
+ beginRestart(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
105
+ /**
106
+ * Restarts all containers in a container group in place. If container image has updates, new image
107
+ * will be downloaded.
108
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
109
+ * @param containerGroupName The name of the container group.
110
+ * @param options The options parameters.
111
+ */
112
+ beginRestartAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsRestartOptionalParams): Promise<void>;
113
+ /**
114
+ * Stops all containers in a container group. Compute resources will be deallocated and billing will
115
+ * stop.
116
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
117
+ * @param containerGroupName The name of the container group.
118
+ * @param options The options parameters.
119
+ */
120
+ stop(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStopOptionalParams): Promise<void>;
121
+ /**
122
+ * Starts all containers in a container group. Compute resources will be allocated and billing will
123
+ * start.
124
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
125
+ * @param containerGroupName The name of the container group.
126
+ * @param options The options parameters.
127
+ */
128
+ beginStart(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
129
+ /**
130
+ * Starts all containers in a container group. Compute resources will be allocated and billing will
131
+ * start.
132
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
133
+ * @param containerGroupName The name of the container group.
134
+ * @param options The options parameters.
135
+ */
136
+ beginStartAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStartOptionalParams): Promise<void>;
137
+ /**
138
+ * Gets all the network dependencies for this container group to allow complete control of network
139
+ * setting and configuration. For container groups, this will always be an empty list.
140
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
141
+ * @param containerGroupName The name of the container group.
142
+ * @param options The options parameters.
143
+ */
144
+ getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams): Promise<ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse>;
145
+ /**
146
+ * ListNext
147
+ * @param nextLink The nextLink from the previous successful call to the List method.
148
+ * @param options The options parameters.
149
+ */
150
+ private _listNext;
151
+ /**
152
+ * ListByResourceGroupNext
153
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
154
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
155
+ * @param options The options parameters.
156
+ */
157
+ private _listByResourceGroupNext;
158
+ }
159
+ //# sourceMappingURL=containerGroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerGroups.d.ts","sourceRoot":"","sources":["../../../src/operations/containerGroups.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,gBAAgB,EAChB,cAAc,EAEf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,cAAc,EAEd,iCAAiC,E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