@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,174 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing ContainerGroupProfileOperations operations. */
14
+ export class ContainerGroupProfileOperationsImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class ContainerGroupProfileOperations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Get a list of all the revisions of the specified container group profile in the given subscription
25
+ * and resource group. This operation returns properties of each revision of the specified container
26
+ * group profile including containers, image registry credentials, restart policy, IP address type, OS
27
+ * type volumes, revision number, etc.
28
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
29
+ * @param containerGroupProfileName The name of the container group profile.
30
+ * @param options The options parameters.
31
+ */
32
+ listAllRevisions(resourceGroupName, containerGroupProfileName, options) {
33
+ const iter = this.listAllRevisionsPagingAll(resourceGroupName, containerGroupProfileName, options);
34
+ return {
35
+ next() {
36
+ return iter.next();
37
+ },
38
+ [Symbol.asyncIterator]() {
39
+ return this;
40
+ },
41
+ byPage: (settings) => {
42
+ if (settings?.maxPageSize) {
43
+ throw new Error("maxPageSize is not supported by this operation.");
44
+ }
45
+ return this.listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options, settings);
46
+ },
47
+ };
48
+ }
49
+ async *listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options, settings) {
50
+ let result;
51
+ let continuationToken = settings?.continuationToken;
52
+ if (!continuationToken) {
53
+ result = await this._listAllRevisions(resourceGroupName, containerGroupProfileName, options);
54
+ let page = result.value || [];
55
+ continuationToken = result.nextLink;
56
+ setContinuationToken(page, continuationToken);
57
+ yield page;
58
+ }
59
+ while (continuationToken) {
60
+ result = await this._listAllRevisionsNext(resourceGroupName, containerGroupProfileName, continuationToken, options);
61
+ continuationToken = result.nextLink;
62
+ let page = result.value || [];
63
+ setContinuationToken(page, continuationToken);
64
+ yield page;
65
+ }
66
+ }
67
+ async *listAllRevisionsPagingAll(resourceGroupName, containerGroupProfileName, options) {
68
+ for await (const page of this.listAllRevisionsPagingPage(resourceGroupName, containerGroupProfileName, options)) {
69
+ yield* page;
70
+ }
71
+ }
72
+ /**
73
+ * Get a list of all the revisions of the specified container group profile in the given subscription
74
+ * and resource group. This operation returns properties of each revision of the specified container
75
+ * group profile including containers, image registry credentials, restart policy, IP address type, OS
76
+ * type volumes, revision number, etc.
77
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
78
+ * @param containerGroupProfileName The name of the container group profile.
79
+ * @param options The options parameters.
80
+ */
81
+ _listAllRevisions(resourceGroupName, containerGroupProfileName, options) {
82
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, listAllRevisionsOperationSpec);
83
+ }
84
+ /**
85
+ * Gets the properties of the specified revision of the container group profile in the given
86
+ * subscription and resource group. The operation returns the properties of container group profile
87
+ * including containers, image registry credentials, restart policy, IP address type, OS type, volumes,
88
+ * current revision number, etc.
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param containerGroupProfileName The name of the container group profile.
91
+ * @param revisionNumber The revision number of the container group profile.
92
+ * @param options The options parameters.
93
+ */
94
+ getByRevisionNumber(resourceGroupName, containerGroupProfileName, revisionNumber, options) {
95
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, revisionNumber, options }, getByRevisionNumberOperationSpec);
96
+ }
97
+ /**
98
+ * ListAllRevisionsNext
99
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
100
+ * @param containerGroupProfileName The name of the container group profile.
101
+ * @param nextLink The nextLink from the previous successful call to the ListAllRevisions method.
102
+ * @param options The options parameters.
103
+ */
104
+ _listAllRevisionsNext(resourceGroupName, containerGroupProfileName, nextLink, options) {
105
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, nextLink, options }, listAllRevisionsNextOperationSpec);
106
+ }
107
+ }
108
+ // Operation Specifications
109
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
110
+ const listAllRevisionsOperationSpec = {
111
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions",
112
+ httpMethod: "GET",
113
+ responses: {
114
+ 200: {
115
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
116
+ },
117
+ default: {
118
+ bodyMapper: Mappers.CloudError,
119
+ },
120
+ },
121
+ queryParameters: [Parameters.apiVersion],
122
+ urlParameters: [
123
+ Parameters.$host,
124
+ Parameters.subscriptionId,
125
+ Parameters.resourceGroupName,
126
+ Parameters.containerGroupProfileName,
127
+ ],
128
+ headerParameters: [Parameters.accept],
129
+ serializer,
130
+ };
131
+ const getByRevisionNumberOperationSpec = {
132
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}",
133
+ httpMethod: "GET",
134
+ responses: {
135
+ 200: {
136
+ bodyMapper: Mappers.ContainerGroupProfile,
137
+ },
138
+ default: {
139
+ bodyMapper: Mappers.CloudError,
140
+ },
141
+ },
142
+ queryParameters: [Parameters.apiVersion],
143
+ urlParameters: [
144
+ Parameters.$host,
145
+ Parameters.subscriptionId,
146
+ Parameters.resourceGroupName,
147
+ Parameters.containerGroupProfileName,
148
+ Parameters.revisionNumber,
149
+ ],
150
+ headerParameters: [Parameters.accept],
151
+ serializer,
152
+ };
153
+ const listAllRevisionsNextOperationSpec = {
154
+ path: "{nextLink}",
155
+ httpMethod: "GET",
156
+ responses: {
157
+ 200: {
158
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
159
+ },
160
+ default: {
161
+ bodyMapper: Mappers.CloudError,
162
+ },
163
+ },
164
+ urlParameters: [
165
+ Parameters.$host,
166
+ Parameters.subscriptionId,
167
+ Parameters.resourceGroupName,
168
+ Parameters.nextLink,
169
+ Parameters.containerGroupProfileName,
170
+ ],
171
+ headerParameters: [Parameters.accept],
172
+ serializer,
173
+ };
174
+ //# sourceMappingURL=containerGroupProfileOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerGroupProfileOperations.js","sourceRoot":"","sources":["../../../src/operations/containerGroupProfileOperations.ts"],"names":[],"mappings":"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","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * 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 { ContainerGroupProfileOperations } 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 ContainerGroupProfileListAllRevisionsNextOptionalParams,\n ContainerGroupProfileListAllRevisionsOptionalParams,\n ContainerGroupProfileListAllRevisionsResponse,\n ContainerGroupProfileGetByRevisionNumberOptionalParams,\n ContainerGroupProfileGetByRevisionNumberResponse,\n ContainerGroupProfileListAllRevisionsNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ContainerGroupProfileOperations operations. */\nexport class ContainerGroupProfileOperationsImpl\n implements ContainerGroupProfileOperations\n{\n private readonly client: ContainerInstanceManagementClient;\n\n /**\n * Initialize a new instance of the class ContainerGroupProfileOperations 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 all the revisions of the specified container group profile in the given subscription\n * and resource group. This operation returns properties of each revision of the specified container\n * group profile including containers, image registry credentials, restart policy, IP address type, OS\n * type volumes, 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 public listAllRevisions(\n resourceGroupName: string,\n containerGroupProfileName: string,\n options?: ContainerGroupProfileListAllRevisionsOptionalParams,\n ): PagedAsyncIterableIterator<ContainerGroupProfile> {\n const iter = this.listAllRevisionsPagingAll(\n resourceGroupName,\n containerGroupProfileName,\n options,\n );\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.listAllRevisionsPagingPage(\n resourceGroupName,\n containerGroupProfileName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listAllRevisionsPagingPage(\n resourceGroupName: string,\n containerGroupProfileName: string,\n options?: ContainerGroupProfileListAllRevisionsOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ContainerGroupProfile[]> {\n let result: ContainerGroupProfileListAllRevisionsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listAllRevisions(\n resourceGroupName,\n containerGroupProfileName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listAllRevisionsNext(\n resourceGroupName,\n containerGroupProfileName,\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 *listAllRevisionsPagingAll(\n resourceGroupName: string,\n containerGroupProfileName: string,\n options?: ContainerGroupProfileListAllRevisionsOptionalParams,\n ): AsyncIterableIterator<ContainerGroupProfile> {\n for await (const page of this.listAllRevisionsPagingPage(\n resourceGroupName,\n containerGroupProfileName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get a list of all the revisions of the specified container group profile in the given subscription\n * and resource group. This operation returns properties of each revision of the specified container\n * group profile including containers, image registry credentials, restart policy, IP address type, OS\n * type volumes, 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 private _listAllRevisions(\n resourceGroupName: string,\n containerGroupProfileName: string,\n options?: ContainerGroupProfileListAllRevisionsOptionalParams,\n ): Promise<ContainerGroupProfileListAllRevisionsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerGroupProfileName, options },\n listAllRevisionsOperationSpec,\n );\n }\n\n /**\n * Gets the properties of the specified revision of the container group profile in the given\n * subscription and resource group. The operation returns the properties of container group profile\n * including containers, image registry credentials, restart policy, IP address type, OS type, volumes,\n * current 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 revisionNumber The revision number of the container group profile.\n * @param options The options parameters.\n */\n getByRevisionNumber(\n resourceGroupName: string,\n containerGroupProfileName: string,\n revisionNumber: string,\n options?: ContainerGroupProfileGetByRevisionNumberOptionalParams,\n ): Promise<ContainerGroupProfileGetByRevisionNumberResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerGroupProfileName, revisionNumber, options },\n getByRevisionNumberOperationSpec,\n );\n }\n\n /**\n * ListAllRevisionsNext\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 nextLink The nextLink from the previous successful call to the ListAllRevisions method.\n * @param options The options parameters.\n */\n private _listAllRevisionsNext(\n resourceGroupName: string,\n containerGroupProfileName: string,\n nextLink: string,\n options?: ContainerGroupProfileListAllRevisionsNextOptionalParams,\n ): Promise<ContainerGroupProfileListAllRevisionsNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, containerGroupProfileName, nextLink, options },\n listAllRevisionsNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listAllRevisionsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions\",\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 Parameters.containerGroupProfileName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getByRevisionNumberOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}/revisions/{revisionNumber}\",\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 Parameters.revisionNumber,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listAllRevisionsNextOperationSpec: 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 Parameters.containerGroupProfileName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
@@ -0,0 +1,95 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ContainerGroupProfiles } from "../operationsInterfaces/index.js";
3
+ import { ContainerInstanceManagementClient } from "../containerInstanceManagementClient.js";
4
+ import { ContainerGroupProfile, ContainerGroupProfilesListOptionalParams, ContainerGroupProfilesListByResourceGroupOptionalParams, ContainerGroupProfilesGetOptionalParams, ContainerGroupProfilesGetResponse, ContainerGroupProfilesCreateOrUpdateOptionalParams, ContainerGroupProfilesCreateOrUpdateResponse, ContainerGroupProfilePatch, ContainerGroupProfilesPatchOptionalParams, ContainerGroupProfilesPatchResponse, ContainerGroupProfilesDeleteOptionalParams } from "../models/index.js";
5
+ /** Class containing ContainerGroupProfiles operations. */
6
+ export declare class ContainerGroupProfilesImpl implements ContainerGroupProfiles {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ContainerGroupProfiles class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: ContainerInstanceManagementClient);
13
+ /**
14
+ * Get a list of container group profiles in the specified subscription. This operation returns
15
+ * properties of each container group profile including containers, image registry credentials, restart
16
+ * policy, IP address type, OS type,volumes,current revision number, etc.
17
+ * @param options The options parameters.
18
+ */
19
+ list(options?: ContainerGroupProfilesListOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
20
+ private listPagingPage;
21
+ private listPagingAll;
22
+ /**
23
+ * Get a list of container group profiles in a specified subscription and resource group. This
24
+ * operation returns properties of each container group profile including containers, image registry
25
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
26
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
27
+ * @param options The options parameters.
28
+ */
29
+ listByResourceGroup(resourceGroupName: string, options?: ContainerGroupProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
30
+ private listByResourceGroupPagingPage;
31
+ private listByResourceGroupPagingAll;
32
+ /**
33
+ * Get a list of container group profiles in the specified subscription. This operation returns
34
+ * properties of each container group profile including containers, image registry credentials, restart
35
+ * policy, IP address type, OS type,volumes,current revision number, etc.
36
+ * @param options The options parameters.
37
+ */
38
+ private _list;
39
+ /**
40
+ * Get a list of container group profiles in a specified subscription and resource group. This
41
+ * operation returns properties of each container group profile including containers, image registry
42
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
43
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
44
+ * @param options The options parameters.
45
+ */
46
+ private _listByResourceGroup;
47
+ /**
48
+ * Gets the properties of the specified container group profile in the specified subscription and
49
+ * resource group. The operation returns the properties of container group profile including
50
+ * containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
51
+ * revision number, etc.
52
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
53
+ * @param containerGroupProfileName The name of the container group profile.
54
+ * @param options The options parameters.
55
+ */
56
+ get(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfilesGetOptionalParams): Promise<ContainerGroupProfilesGetResponse>;
57
+ /**
58
+ * Create or update container group profiles with specified configurations.
59
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
+ * @param containerGroupProfileName The name of the container group profile.
61
+ * @param containerGroupProfile The properties of the container group profile to be created or updated.
62
+ * @param options The options parameters.
63
+ */
64
+ createOrUpdate(resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: ContainerGroupProfilesCreateOrUpdateOptionalParams): Promise<ContainerGroupProfilesCreateOrUpdateResponse>;
65
+ /**
66
+ * Patches container group profile with specified properties.
67
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
68
+ * @param containerGroupProfileName The name of the container group profile.
69
+ * @param properties The container group profile properties that need to be updated.
70
+ * @param options The options parameters.
71
+ */
72
+ patch(resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: ContainerGroupProfilesPatchOptionalParams): Promise<ContainerGroupProfilesPatchResponse>;
73
+ /**
74
+ * Delete the specified container group profile in the specified subscription and resource group. The
75
+ * operation does not delete other resources provided by the user, such as volumes.
76
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
77
+ * @param containerGroupProfileName The name of the container group profile.
78
+ * @param options The options parameters.
79
+ */
80
+ delete(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfilesDeleteOptionalParams): Promise<void>;
81
+ /**
82
+ * ListNext
83
+ * @param nextLink The nextLink from the previous successful call to the List method.
84
+ * @param options The options parameters.
85
+ */
86
+ private _listNext;
87
+ /**
88
+ * ListByResourceGroupNext
89
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
90
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
91
+ * @param options The options parameters.
92
+ */
93
+ private _listByResourceGroupNext;
94
+ }
95
+ //# sourceMappingURL=containerGroupProfiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerGroupProfiles.d.ts","sourceRoot":"","sources":["../../../src/operations/containerGroupProfiles.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAI1E,OAAO,EAAE,iCAAiC,EAAE,MAAM,yCAAyC,CAAC;AAC5F,OAAO,EACL,qBAAqB,EAErB,wCAAwC,EAGxC,uDAAuD,EAEvD,uCAAuC,EACvC,iCAAiC,EACjC,kDAAkD,EAClD,4CAA4C,EAC5C,0BAA0B,EAC1B,yCAAyC,EACzC,mCAAmC,EACnC,0CAA0C,EAG3C,MAAM,oBAAoB,CAAC;AAG5B,0DAA0D;AAC1D,qBAAa,0BAA2B,YAAW,sBAAsB;IACvE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoC;IAE3D;;;OAGG;gBACS,MAAM,EAAE,iCAAiC;IAIrD;;;;;OAKG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,wCAAwC,GACjD,0BAA0B,CAAC,qBAAqB,CAAC;YAkBrC,cAAc;YAsBd,aAAa;IAQ5B;;;;;;OAMG;IACI,mBAAmB,CACxB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,uDAAuD,GAChE,0BAA0B,CAAC,qBAAqB,CAAC;YAsBrC,6BAA6B;YA2B7B,4BAA4B;IAY3C;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAMb;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;;;;;;OAQG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,uCAAuC,GAChD,OAAO,CAAC,iCAAiC,CAAC;IAO7C;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,qBAAqB,EAAE,qBAAqB,EAC5C,OAAO,CAAC,EAAE,kDAAkD,GAC3D,OAAO,CAAC,4CAA4C,CAAC;IAYxD;;;;;;OAMG;IACH,KAAK,CACH,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,UAAU,EAAE,0BAA0B,EACtC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAO/C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,yBAAyB,EAAE,MAAM,EACjC,OAAO,CAAC,EAAE,0CAA0C,GACnD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAUjB;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;CAUjC"}
@@ -0,0 +1,367 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { setContinuationToken } from "../pagingHelper.js";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers.js";
11
+ import * as Parameters from "../models/parameters.js";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing ContainerGroupProfiles operations. */
14
+ export class ContainerGroupProfilesImpl {
15
+ client;
16
+ /**
17
+ * Initialize a new instance of the class ContainerGroupProfiles class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Get a list of container group profiles in the specified subscription. This operation returns
25
+ * properties of each container group profile including containers, image registry credentials, restart
26
+ * policy, IP address type, OS type,volumes,current revision number, etc.
27
+ * @param options The options parameters.
28
+ */
29
+ list(options) {
30
+ const iter = this.listPagingAll(options);
31
+ return {
32
+ next() {
33
+ return iter.next();
34
+ },
35
+ [Symbol.asyncIterator]() {
36
+ return this;
37
+ },
38
+ byPage: (settings) => {
39
+ if (settings?.maxPageSize) {
40
+ throw new Error("maxPageSize is not supported by this operation.");
41
+ }
42
+ return this.listPagingPage(options, settings);
43
+ },
44
+ };
45
+ }
46
+ async *listPagingPage(options, settings) {
47
+ let result;
48
+ let continuationToken = settings?.continuationToken;
49
+ if (!continuationToken) {
50
+ result = await this._list(options);
51
+ let page = result.value || [];
52
+ continuationToken = result.nextLink;
53
+ setContinuationToken(page, continuationToken);
54
+ yield page;
55
+ }
56
+ while (continuationToken) {
57
+ result = await this._listNext(continuationToken, options);
58
+ continuationToken = result.nextLink;
59
+ let page = result.value || [];
60
+ setContinuationToken(page, continuationToken);
61
+ yield page;
62
+ }
63
+ }
64
+ async *listPagingAll(options) {
65
+ for await (const page of this.listPagingPage(options)) {
66
+ yield* page;
67
+ }
68
+ }
69
+ /**
70
+ * Get a list of container group profiles in a specified subscription and resource group. This
71
+ * operation returns properties of each container group profile including containers, image registry
72
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
73
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
74
+ * @param options The options parameters.
75
+ */
76
+ listByResourceGroup(resourceGroupName, options) {
77
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
78
+ return {
79
+ next() {
80
+ return iter.next();
81
+ },
82
+ [Symbol.asyncIterator]() {
83
+ return this;
84
+ },
85
+ byPage: (settings) => {
86
+ if (settings?.maxPageSize) {
87
+ throw new Error("maxPageSize is not supported by this operation.");
88
+ }
89
+ return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
90
+ },
91
+ };
92
+ }
93
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
94
+ let result;
95
+ let continuationToken = settings?.continuationToken;
96
+ if (!continuationToken) {
97
+ result = await this._listByResourceGroup(resourceGroupName, options);
98
+ let page = result.value || [];
99
+ continuationToken = result.nextLink;
100
+ setContinuationToken(page, continuationToken);
101
+ yield page;
102
+ }
103
+ while (continuationToken) {
104
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
105
+ continuationToken = result.nextLink;
106
+ let page = result.value || [];
107
+ setContinuationToken(page, continuationToken);
108
+ yield page;
109
+ }
110
+ }
111
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
112
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
113
+ yield* page;
114
+ }
115
+ }
116
+ /**
117
+ * Get a list of container group profiles in the specified subscription. This operation returns
118
+ * properties of each container group profile including containers, image registry credentials, restart
119
+ * policy, IP address type, OS type,volumes,current revision number, etc.
120
+ * @param options The options parameters.
121
+ */
122
+ _list(options) {
123
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
124
+ }
125
+ /**
126
+ * Get a list of container group profiles in a specified subscription and resource group. This
127
+ * operation returns properties of each container group profile including containers, image registry
128
+ * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
129
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
130
+ * @param options The options parameters.
131
+ */
132
+ _listByResourceGroup(resourceGroupName, options) {
133
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
134
+ }
135
+ /**
136
+ * Gets the properties of the specified container group profile in the specified subscription and
137
+ * resource group. The operation returns the properties of container group profile including
138
+ * containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
139
+ * revision number, etc.
140
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
141
+ * @param containerGroupProfileName The name of the container group profile.
142
+ * @param options The options parameters.
143
+ */
144
+ get(resourceGroupName, containerGroupProfileName, options) {
145
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, getOperationSpec);
146
+ }
147
+ /**
148
+ * Create or update container group profiles with specified configurations.
149
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
150
+ * @param containerGroupProfileName The name of the container group profile.
151
+ * @param containerGroupProfile The properties of the container group profile to be created or updated.
152
+ * @param options The options parameters.
153
+ */
154
+ createOrUpdate(resourceGroupName, containerGroupProfileName, containerGroupProfile, options) {
155
+ return this.client.sendOperationRequest({
156
+ resourceGroupName,
157
+ containerGroupProfileName,
158
+ containerGroupProfile,
159
+ options,
160
+ }, createOrUpdateOperationSpec);
161
+ }
162
+ /**
163
+ * Patches container group profile with specified properties.
164
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
165
+ * @param containerGroupProfileName The name of the container group profile.
166
+ * @param properties The container group profile properties that need to be updated.
167
+ * @param options The options parameters.
168
+ */
169
+ patch(resourceGroupName, containerGroupProfileName, properties, options) {
170
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, properties, options }, patchOperationSpec);
171
+ }
172
+ /**
173
+ * Delete the specified container group profile in the specified subscription and resource group. The
174
+ * operation does not delete other resources provided by the user, such as volumes.
175
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
176
+ * @param containerGroupProfileName The name of the container group profile.
177
+ * @param options The options parameters.
178
+ */
179
+ delete(resourceGroupName, containerGroupProfileName, options) {
180
+ return this.client.sendOperationRequest({ resourceGroupName, containerGroupProfileName, options }, deleteOperationSpec);
181
+ }
182
+ /**
183
+ * ListNext
184
+ * @param nextLink The nextLink from the previous successful call to the List method.
185
+ * @param options The options parameters.
186
+ */
187
+ _listNext(nextLink, options) {
188
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
189
+ }
190
+ /**
191
+ * ListByResourceGroupNext
192
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
193
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
194
+ * @param options The options parameters.
195
+ */
196
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
197
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
198
+ }
199
+ }
200
+ // Operation Specifications
201
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
202
+ const listOperationSpec = {
203
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
204
+ httpMethod: "GET",
205
+ responses: {
206
+ 200: {
207
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
208
+ },
209
+ default: {
210
+ bodyMapper: Mappers.CloudError,
211
+ },
212
+ },
213
+ queryParameters: [Parameters.apiVersion],
214
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
215
+ headerParameters: [Parameters.accept],
216
+ serializer,
217
+ };
218
+ const listByResourceGroupOperationSpec = {
219
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles",
220
+ httpMethod: "GET",
221
+ responses: {
222
+ 200: {
223
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
224
+ },
225
+ default: {
226
+ bodyMapper: Mappers.CloudError,
227
+ },
228
+ },
229
+ queryParameters: [Parameters.apiVersion],
230
+ urlParameters: [
231
+ Parameters.$host,
232
+ Parameters.subscriptionId,
233
+ Parameters.resourceGroupName,
234
+ ],
235
+ headerParameters: [Parameters.accept],
236
+ serializer,
237
+ };
238
+ const getOperationSpec = {
239
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
240
+ httpMethod: "GET",
241
+ responses: {
242
+ 200: {
243
+ bodyMapper: Mappers.ContainerGroupProfile,
244
+ },
245
+ default: {
246
+ bodyMapper: Mappers.CloudError,
247
+ },
248
+ },
249
+ queryParameters: [Parameters.apiVersion],
250
+ urlParameters: [
251
+ Parameters.$host,
252
+ Parameters.subscriptionId,
253
+ Parameters.resourceGroupName,
254
+ Parameters.containerGroupProfileName,
255
+ ],
256
+ headerParameters: [Parameters.accept],
257
+ serializer,
258
+ };
259
+ const createOrUpdateOperationSpec = {
260
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
261
+ httpMethod: "PUT",
262
+ responses: {
263
+ 200: {
264
+ bodyMapper: Mappers.ContainerGroupProfile,
265
+ },
266
+ 201: {
267
+ bodyMapper: Mappers.ContainerGroupProfile,
268
+ },
269
+ default: {
270
+ bodyMapper: Mappers.CloudError,
271
+ },
272
+ },
273
+ requestBody: Parameters.containerGroupProfile,
274
+ queryParameters: [Parameters.apiVersion],
275
+ urlParameters: [
276
+ Parameters.$host,
277
+ Parameters.subscriptionId,
278
+ Parameters.resourceGroupName,
279
+ Parameters.containerGroupProfileName,
280
+ ],
281
+ headerParameters: [Parameters.accept, Parameters.contentType],
282
+ mediaType: "json",
283
+ serializer,
284
+ };
285
+ const patchOperationSpec = {
286
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
287
+ httpMethod: "PATCH",
288
+ responses: {
289
+ 200: {
290
+ bodyMapper: Mappers.ContainerGroupProfile,
291
+ },
292
+ default: {
293
+ bodyMapper: Mappers.CloudError,
294
+ },
295
+ },
296
+ requestBody: Parameters.properties,
297
+ queryParameters: [Parameters.apiVersion],
298
+ urlParameters: [
299
+ Parameters.$host,
300
+ Parameters.subscriptionId,
301
+ Parameters.resourceGroupName,
302
+ Parameters.containerGroupProfileName,
303
+ ],
304
+ headerParameters: [Parameters.accept, Parameters.contentType],
305
+ mediaType: "json",
306
+ serializer,
307
+ };
308
+ const deleteOperationSpec = {
309
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}",
310
+ httpMethod: "DELETE",
311
+ responses: {
312
+ 200: {},
313
+ 204: {},
314
+ default: {
315
+ bodyMapper: Mappers.CloudError,
316
+ },
317
+ },
318
+ queryParameters: [Parameters.apiVersion],
319
+ urlParameters: [
320
+ Parameters.$host,
321
+ Parameters.subscriptionId,
322
+ Parameters.resourceGroupName,
323
+ Parameters.containerGroupProfileName,
324
+ ],
325
+ headerParameters: [Parameters.accept],
326
+ serializer,
327
+ };
328
+ const listNextOperationSpec = {
329
+ path: "{nextLink}",
330
+ httpMethod: "GET",
331
+ responses: {
332
+ 200: {
333
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
334
+ },
335
+ default: {
336
+ bodyMapper: Mappers.CloudError,
337
+ },
338
+ },
339
+ urlParameters: [
340
+ Parameters.$host,
341
+ Parameters.subscriptionId,
342
+ Parameters.nextLink,
343
+ ],
344
+ headerParameters: [Parameters.accept],
345
+ serializer,
346
+ };
347
+ const listByResourceGroupNextOperationSpec = {
348
+ path: "{nextLink}",
349
+ httpMethod: "GET",
350
+ responses: {
351
+ 200: {
352
+ bodyMapper: Mappers.ContainerGroupProfileListResult,
353
+ },
354
+ default: {
355
+ bodyMapper: Mappers.CloudError,
356
+ },
357
+ },
358
+ urlParameters: [
359
+ Parameters.$host,
360
+ Parameters.subscriptionId,
361
+ Parameters.resourceGroupName,
362
+ Parameters.nextLink,
363
+ ],
364
+ headerParameters: [Parameters.accept],
365
+ serializer,
366
+ };
367
+ //# sourceMappingURL=containerGroupProfiles.js.map