@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
@@ -1,944 +0,0 @@
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
-
9
- import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
10
- import { setContinuationToken } from "../pagingHelper";
11
- import { ContainerGroups } from "../operationsInterfaces";
12
- import * as coreClient from "@azure/core-client";
13
- import * as Mappers from "../models/mappers";
14
- import * as Parameters from "../models/parameters";
15
- import { ContainerInstanceManagementClient } from "../containerInstanceManagementClient";
16
- import {
17
- SimplePollerLike,
18
- OperationState,
19
- createHttpPoller,
20
- } from "@azure/core-lro";
21
- import { createLroSpec } from "../lroImpl";
22
- import {
23
- ContainerGroup,
24
- ContainerGroupsListNextOptionalParams,
25
- ContainerGroupsListOptionalParams,
26
- ContainerGroupsListResponse,
27
- ContainerGroupsListByResourceGroupNextOptionalParams,
28
- ContainerGroupsListByResourceGroupOptionalParams,
29
- ContainerGroupsListByResourceGroupResponse,
30
- ContainerGroupsGetOptionalParams,
31
- ContainerGroupsGetResponse,
32
- ContainerGroupsCreateOrUpdateOptionalParams,
33
- ContainerGroupsCreateOrUpdateResponse,
34
- Resource,
35
- ContainerGroupsUpdateOptionalParams,
36
- ContainerGroupsUpdateResponse,
37
- ContainerGroupsDeleteOptionalParams,
38
- ContainerGroupsDeleteResponse,
39
- ContainerGroupsRestartOptionalParams,
40
- ContainerGroupsStopOptionalParams,
41
- ContainerGroupsStartOptionalParams,
42
- ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams,
43
- ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse,
44
- ContainerGroupsListNextResponse,
45
- ContainerGroupsListByResourceGroupNextResponse,
46
- } from "../models";
47
-
48
- /// <reference lib="esnext.asynciterable" />
49
- /** Class containing ContainerGroups operations. */
50
- export class ContainerGroupsImpl implements ContainerGroups {
51
- private readonly client: ContainerInstanceManagementClient;
52
-
53
- /**
54
- * Initialize a new instance of the class ContainerGroups class.
55
- * @param client Reference to the service client
56
- */
57
- constructor(client: ContainerInstanceManagementClient) {
58
- this.client = client;
59
- }
60
-
61
- /**
62
- * Get a list of container groups in the specified subscription. This operation returns properties of
63
- * each container group including containers, image registry credentials, restart policy, IP address
64
- * type, OS type, state, and volumes.
65
- * @param options The options parameters.
66
- */
67
- public list(
68
- options?: ContainerGroupsListOptionalParams,
69
- ): PagedAsyncIterableIterator<ContainerGroup> {
70
- const iter = this.listPagingAll(options);
71
- return {
72
- next() {
73
- return iter.next();
74
- },
75
- [Symbol.asyncIterator]() {
76
- return this;
77
- },
78
- byPage: (settings?: PageSettings) => {
79
- if (settings?.maxPageSize) {
80
- throw new Error("maxPageSize is not supported by this operation.");
81
- }
82
- return this.listPagingPage(options, settings);
83
- },
84
- };
85
- }
86
-
87
- private async *listPagingPage(
88
- options?: ContainerGroupsListOptionalParams,
89
- settings?: PageSettings,
90
- ): AsyncIterableIterator<ContainerGroup[]> {
91
- let result: ContainerGroupsListResponse;
92
- let continuationToken = settings?.continuationToken;
93
- if (!continuationToken) {
94
- result = await this._list(options);
95
- let page = result.value || [];
96
- continuationToken = result.nextLink;
97
- setContinuationToken(page, continuationToken);
98
- yield page;
99
- }
100
- while (continuationToken) {
101
- result = await this._listNext(continuationToken, options);
102
- continuationToken = result.nextLink;
103
- let page = result.value || [];
104
- setContinuationToken(page, continuationToken);
105
- yield page;
106
- }
107
- }
108
-
109
- private async *listPagingAll(
110
- options?: ContainerGroupsListOptionalParams,
111
- ): AsyncIterableIterator<ContainerGroup> {
112
- for await (const page of this.listPagingPage(options)) {
113
- yield* page;
114
- }
115
- }
116
-
117
- /**
118
- * Get a list of container groups in a specified subscription and resource group. This operation
119
- * returns properties of each container group including containers, image registry credentials, restart
120
- * policy, IP address type, OS type, state, and volumes.
121
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
122
- * @param options The options parameters.
123
- */
124
- public listByResourceGroup(
125
- resourceGroupName: string,
126
- options?: ContainerGroupsListByResourceGroupOptionalParams,
127
- ): PagedAsyncIterableIterator<ContainerGroup> {
128
- const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
129
- return {
130
- next() {
131
- return iter.next();
132
- },
133
- [Symbol.asyncIterator]() {
134
- return this;
135
- },
136
- byPage: (settings?: PageSettings) => {
137
- if (settings?.maxPageSize) {
138
- throw new Error("maxPageSize is not supported by this operation.");
139
- }
140
- return this.listByResourceGroupPagingPage(
141
- resourceGroupName,
142
- options,
143
- settings,
144
- );
145
- },
146
- };
147
- }
148
-
149
- private async *listByResourceGroupPagingPage(
150
- resourceGroupName: string,
151
- options?: ContainerGroupsListByResourceGroupOptionalParams,
152
- settings?: PageSettings,
153
- ): AsyncIterableIterator<ContainerGroup[]> {
154
- let result: ContainerGroupsListByResourceGroupResponse;
155
- let continuationToken = settings?.continuationToken;
156
- if (!continuationToken) {
157
- result = await this._listByResourceGroup(resourceGroupName, options);
158
- let page = result.value || [];
159
- continuationToken = result.nextLink;
160
- setContinuationToken(page, continuationToken);
161
- yield page;
162
- }
163
- while (continuationToken) {
164
- result = await this._listByResourceGroupNext(
165
- resourceGroupName,
166
- continuationToken,
167
- options,
168
- );
169
- continuationToken = result.nextLink;
170
- let page = result.value || [];
171
- setContinuationToken(page, continuationToken);
172
- yield page;
173
- }
174
- }
175
-
176
- private async *listByResourceGroupPagingAll(
177
- resourceGroupName: string,
178
- options?: ContainerGroupsListByResourceGroupOptionalParams,
179
- ): AsyncIterableIterator<ContainerGroup> {
180
- for await (const page of this.listByResourceGroupPagingPage(
181
- resourceGroupName,
182
- options,
183
- )) {
184
- yield* page;
185
- }
186
- }
187
-
188
- /**
189
- * Get a list of container groups in the specified subscription. This operation returns properties of
190
- * each container group including containers, image registry credentials, restart policy, IP address
191
- * type, OS type, state, and volumes.
192
- * @param options The options parameters.
193
- */
194
- private _list(
195
- options?: ContainerGroupsListOptionalParams,
196
- ): Promise<ContainerGroupsListResponse> {
197
- return this.client.sendOperationRequest({ options }, listOperationSpec);
198
- }
199
-
200
- /**
201
- * Get a list of container groups in a specified subscription and resource group. This operation
202
- * returns properties of each container group including containers, image registry credentials, restart
203
- * policy, IP address type, OS type, state, and volumes.
204
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
205
- * @param options The options parameters.
206
- */
207
- private _listByResourceGroup(
208
- resourceGroupName: string,
209
- options?: ContainerGroupsListByResourceGroupOptionalParams,
210
- ): Promise<ContainerGroupsListByResourceGroupResponse> {
211
- return this.client.sendOperationRequest(
212
- { resourceGroupName, options },
213
- listByResourceGroupOperationSpec,
214
- );
215
- }
216
-
217
- /**
218
- * Gets the properties of the specified container group in the specified subscription and resource
219
- * group. The operation returns the properties of each container group including containers, image
220
- * registry credentials, restart policy, IP address type, OS type, state, and volumes.
221
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
222
- * @param containerGroupName The name of the container group.
223
- * @param options The options parameters.
224
- */
225
- get(
226
- resourceGroupName: string,
227
- containerGroupName: string,
228
- options?: ContainerGroupsGetOptionalParams,
229
- ): Promise<ContainerGroupsGetResponse> {
230
- return this.client.sendOperationRequest(
231
- { resourceGroupName, containerGroupName, options },
232
- getOperationSpec,
233
- );
234
- }
235
-
236
- /**
237
- * Create or update container groups with specified configurations.
238
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
239
- * @param containerGroupName The name of the container group.
240
- * @param containerGroup The properties of the container group to be created or updated.
241
- * @param options The options parameters.
242
- */
243
- async beginCreateOrUpdate(
244
- resourceGroupName: string,
245
- containerGroupName: string,
246
- containerGroup: ContainerGroup,
247
- options?: ContainerGroupsCreateOrUpdateOptionalParams,
248
- ): Promise<
249
- SimplePollerLike<
250
- OperationState<ContainerGroupsCreateOrUpdateResponse>,
251
- ContainerGroupsCreateOrUpdateResponse
252
- >
253
- > {
254
- const directSendOperation = async (
255
- args: coreClient.OperationArguments,
256
- spec: coreClient.OperationSpec,
257
- ): Promise<ContainerGroupsCreateOrUpdateResponse> => {
258
- return this.client.sendOperationRequest(args, spec);
259
- };
260
- const sendOperationFn = async (
261
- args: coreClient.OperationArguments,
262
- spec: coreClient.OperationSpec,
263
- ) => {
264
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
265
- undefined;
266
- const providedCallback = args.options?.onResponse;
267
- const callback: coreClient.RawResponseCallback = (
268
- rawResponse: coreClient.FullOperationResponse,
269
- flatResponse: unknown,
270
- ) => {
271
- currentRawResponse = rawResponse;
272
- providedCallback?.(rawResponse, flatResponse);
273
- };
274
- const updatedArgs = {
275
- ...args,
276
- options: {
277
- ...args.options,
278
- onResponse: callback,
279
- },
280
- };
281
- const flatResponse = await directSendOperation(updatedArgs, spec);
282
- return {
283
- flatResponse,
284
- rawResponse: {
285
- statusCode: currentRawResponse!.status,
286
- body: currentRawResponse!.parsedBody,
287
- headers: currentRawResponse!.headers.toJSON(),
288
- },
289
- };
290
- };
291
-
292
- const lro = createLroSpec({
293
- sendOperationFn,
294
- args: { resourceGroupName, containerGroupName, containerGroup, options },
295
- spec: createOrUpdateOperationSpec,
296
- });
297
- const poller = await createHttpPoller<
298
- ContainerGroupsCreateOrUpdateResponse,
299
- OperationState<ContainerGroupsCreateOrUpdateResponse>
300
- >(lro, {
301
- restoreFrom: options?.resumeFrom,
302
- intervalInMs: options?.updateIntervalInMs,
303
- });
304
- await poller.poll();
305
- return poller;
306
- }
307
-
308
- /**
309
- * Create or update container groups with specified configurations.
310
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
311
- * @param containerGroupName The name of the container group.
312
- * @param containerGroup The properties of the container group to be created or updated.
313
- * @param options The options parameters.
314
- */
315
- async beginCreateOrUpdateAndWait(
316
- resourceGroupName: string,
317
- containerGroupName: string,
318
- containerGroup: ContainerGroup,
319
- options?: ContainerGroupsCreateOrUpdateOptionalParams,
320
- ): Promise<ContainerGroupsCreateOrUpdateResponse> {
321
- const poller = await this.beginCreateOrUpdate(
322
- resourceGroupName,
323
- containerGroupName,
324
- containerGroup,
325
- options,
326
- );
327
- return poller.pollUntilDone();
328
- }
329
-
330
- /**
331
- * Updates container group tags with specified values.
332
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
333
- * @param containerGroupName The name of the container group.
334
- * @param resource The container group resource with just the tags to be updated.
335
- * @param options The options parameters.
336
- */
337
- update(
338
- resourceGroupName: string,
339
- containerGroupName: string,
340
- resource: Resource,
341
- options?: ContainerGroupsUpdateOptionalParams,
342
- ): Promise<ContainerGroupsUpdateResponse> {
343
- return this.client.sendOperationRequest(
344
- { resourceGroupName, containerGroupName, resource, options },
345
- updateOperationSpec,
346
- );
347
- }
348
-
349
- /**
350
- * Delete the specified container group in the specified subscription and resource group. The operation
351
- * does not delete other resources provided by the user, such as volumes.
352
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
353
- * @param containerGroupName The name of the container group.
354
- * @param options The options parameters.
355
- */
356
- async beginDelete(
357
- resourceGroupName: string,
358
- containerGroupName: string,
359
- options?: ContainerGroupsDeleteOptionalParams,
360
- ): Promise<
361
- SimplePollerLike<
362
- OperationState<ContainerGroupsDeleteResponse>,
363
- ContainerGroupsDeleteResponse
364
- >
365
- > {
366
- const directSendOperation = async (
367
- args: coreClient.OperationArguments,
368
- spec: coreClient.OperationSpec,
369
- ): Promise<ContainerGroupsDeleteResponse> => {
370
- return this.client.sendOperationRequest(args, spec);
371
- };
372
- const sendOperationFn = async (
373
- args: coreClient.OperationArguments,
374
- spec: coreClient.OperationSpec,
375
- ) => {
376
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
377
- undefined;
378
- const providedCallback = args.options?.onResponse;
379
- const callback: coreClient.RawResponseCallback = (
380
- rawResponse: coreClient.FullOperationResponse,
381
- flatResponse: unknown,
382
- ) => {
383
- currentRawResponse = rawResponse;
384
- providedCallback?.(rawResponse, flatResponse);
385
- };
386
- const updatedArgs = {
387
- ...args,
388
- options: {
389
- ...args.options,
390
- onResponse: callback,
391
- },
392
- };
393
- const flatResponse = await directSendOperation(updatedArgs, spec);
394
- return {
395
- flatResponse,
396
- rawResponse: {
397
- statusCode: currentRawResponse!.status,
398
- body: currentRawResponse!.parsedBody,
399
- headers: currentRawResponse!.headers.toJSON(),
400
- },
401
- };
402
- };
403
-
404
- const lro = createLroSpec({
405
- sendOperationFn,
406
- args: { resourceGroupName, containerGroupName, options },
407
- spec: deleteOperationSpec,
408
- });
409
- const poller = await createHttpPoller<
410
- ContainerGroupsDeleteResponse,
411
- OperationState<ContainerGroupsDeleteResponse>
412
- >(lro, {
413
- restoreFrom: options?.resumeFrom,
414
- intervalInMs: options?.updateIntervalInMs,
415
- });
416
- await poller.poll();
417
- return poller;
418
- }
419
-
420
- /**
421
- * Delete the specified container group in the specified subscription and resource group. The operation
422
- * does not delete other resources provided by the user, such as volumes.
423
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
424
- * @param containerGroupName The name of the container group.
425
- * @param options The options parameters.
426
- */
427
- async beginDeleteAndWait(
428
- resourceGroupName: string,
429
- containerGroupName: string,
430
- options?: ContainerGroupsDeleteOptionalParams,
431
- ): Promise<ContainerGroupsDeleteResponse> {
432
- const poller = await this.beginDelete(
433
- resourceGroupName,
434
- containerGroupName,
435
- options,
436
- );
437
- return poller.pollUntilDone();
438
- }
439
-
440
- /**
441
- * Restarts all containers in a container group in place. If container image has updates, new image
442
- * will be downloaded.
443
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
444
- * @param containerGroupName The name of the container group.
445
- * @param options The options parameters.
446
- */
447
- async beginRestart(
448
- resourceGroupName: string,
449
- containerGroupName: string,
450
- options?: ContainerGroupsRestartOptionalParams,
451
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
452
- const directSendOperation = async (
453
- args: coreClient.OperationArguments,
454
- spec: coreClient.OperationSpec,
455
- ): Promise<void> => {
456
- return this.client.sendOperationRequest(args, spec);
457
- };
458
- const sendOperationFn = async (
459
- args: coreClient.OperationArguments,
460
- spec: coreClient.OperationSpec,
461
- ) => {
462
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
463
- undefined;
464
- const providedCallback = args.options?.onResponse;
465
- const callback: coreClient.RawResponseCallback = (
466
- rawResponse: coreClient.FullOperationResponse,
467
- flatResponse: unknown,
468
- ) => {
469
- currentRawResponse = rawResponse;
470
- providedCallback?.(rawResponse, flatResponse);
471
- };
472
- const updatedArgs = {
473
- ...args,
474
- options: {
475
- ...args.options,
476
- onResponse: callback,
477
- },
478
- };
479
- const flatResponse = await directSendOperation(updatedArgs, spec);
480
- return {
481
- flatResponse,
482
- rawResponse: {
483
- statusCode: currentRawResponse!.status,
484
- body: currentRawResponse!.parsedBody,
485
- headers: currentRawResponse!.headers.toJSON(),
486
- },
487
- };
488
- };
489
-
490
- const lro = createLroSpec({
491
- sendOperationFn,
492
- args: { resourceGroupName, containerGroupName, options },
493
- spec: restartOperationSpec,
494
- });
495
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
496
- restoreFrom: options?.resumeFrom,
497
- intervalInMs: options?.updateIntervalInMs,
498
- });
499
- await poller.poll();
500
- return poller;
501
- }
502
-
503
- /**
504
- * Restarts all containers in a container group in place. If container image has updates, new image
505
- * will be downloaded.
506
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
507
- * @param containerGroupName The name of the container group.
508
- * @param options The options parameters.
509
- */
510
- async beginRestartAndWait(
511
- resourceGroupName: string,
512
- containerGroupName: string,
513
- options?: ContainerGroupsRestartOptionalParams,
514
- ): Promise<void> {
515
- const poller = await this.beginRestart(
516
- resourceGroupName,
517
- containerGroupName,
518
- options,
519
- );
520
- return poller.pollUntilDone();
521
- }
522
-
523
- /**
524
- * Stops all containers in a container group. Compute resources will be deallocated and billing will
525
- * stop.
526
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
527
- * @param containerGroupName The name of the container group.
528
- * @param options The options parameters.
529
- */
530
- stop(
531
- resourceGroupName: string,
532
- containerGroupName: string,
533
- options?: ContainerGroupsStopOptionalParams,
534
- ): Promise<void> {
535
- return this.client.sendOperationRequest(
536
- { resourceGroupName, containerGroupName, options },
537
- stopOperationSpec,
538
- );
539
- }
540
-
541
- /**
542
- * Starts all containers in a container group. Compute resources will be allocated and billing will
543
- * start.
544
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
545
- * @param containerGroupName The name of the container group.
546
- * @param options The options parameters.
547
- */
548
- async beginStart(
549
- resourceGroupName: string,
550
- containerGroupName: string,
551
- options?: ContainerGroupsStartOptionalParams,
552
- ): Promise<SimplePollerLike<OperationState<void>, void>> {
553
- const directSendOperation = async (
554
- args: coreClient.OperationArguments,
555
- spec: coreClient.OperationSpec,
556
- ): Promise<void> => {
557
- return this.client.sendOperationRequest(args, spec);
558
- };
559
- const sendOperationFn = async (
560
- args: coreClient.OperationArguments,
561
- spec: coreClient.OperationSpec,
562
- ) => {
563
- let currentRawResponse: coreClient.FullOperationResponse | undefined =
564
- undefined;
565
- const providedCallback = args.options?.onResponse;
566
- const callback: coreClient.RawResponseCallback = (
567
- rawResponse: coreClient.FullOperationResponse,
568
- flatResponse: unknown,
569
- ) => {
570
- currentRawResponse = rawResponse;
571
- providedCallback?.(rawResponse, flatResponse);
572
- };
573
- const updatedArgs = {
574
- ...args,
575
- options: {
576
- ...args.options,
577
- onResponse: callback,
578
- },
579
- };
580
- const flatResponse = await directSendOperation(updatedArgs, spec);
581
- return {
582
- flatResponse,
583
- rawResponse: {
584
- statusCode: currentRawResponse!.status,
585
- body: currentRawResponse!.parsedBody,
586
- headers: currentRawResponse!.headers.toJSON(),
587
- },
588
- };
589
- };
590
-
591
- const lro = createLroSpec({
592
- sendOperationFn,
593
- args: { resourceGroupName, containerGroupName, options },
594
- spec: startOperationSpec,
595
- });
596
- const poller = await createHttpPoller<void, OperationState<void>>(lro, {
597
- restoreFrom: options?.resumeFrom,
598
- intervalInMs: options?.updateIntervalInMs,
599
- });
600
- await poller.poll();
601
- return poller;
602
- }
603
-
604
- /**
605
- * Starts all containers in a container group. Compute resources will be allocated and billing will
606
- * start.
607
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
608
- * @param containerGroupName The name of the container group.
609
- * @param options The options parameters.
610
- */
611
- async beginStartAndWait(
612
- resourceGroupName: string,
613
- containerGroupName: string,
614
- options?: ContainerGroupsStartOptionalParams,
615
- ): Promise<void> {
616
- const poller = await this.beginStart(
617
- resourceGroupName,
618
- containerGroupName,
619
- options,
620
- );
621
- return poller.pollUntilDone();
622
- }
623
-
624
- /**
625
- * Gets all the network dependencies for this container group to allow complete control of network
626
- * setting and configuration. For container groups, this will always be an empty list.
627
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
628
- * @param containerGroupName The name of the container group.
629
- * @param options The options parameters.
630
- */
631
- getOutboundNetworkDependenciesEndpoints(
632
- resourceGroupName: string,
633
- containerGroupName: string,
634
- options?: ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams,
635
- ): Promise<ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse> {
636
- return this.client.sendOperationRequest(
637
- { resourceGroupName, containerGroupName, options },
638
- getOutboundNetworkDependenciesEndpointsOperationSpec,
639
- );
640
- }
641
-
642
- /**
643
- * ListNext
644
- * @param nextLink The nextLink from the previous successful call to the List method.
645
- * @param options The options parameters.
646
- */
647
- private _listNext(
648
- nextLink: string,
649
- options?: ContainerGroupsListNextOptionalParams,
650
- ): Promise<ContainerGroupsListNextResponse> {
651
- return this.client.sendOperationRequest(
652
- { nextLink, options },
653
- listNextOperationSpec,
654
- );
655
- }
656
-
657
- /**
658
- * ListByResourceGroupNext
659
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
660
- * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
661
- * @param options The options parameters.
662
- */
663
- private _listByResourceGroupNext(
664
- resourceGroupName: string,
665
- nextLink: string,
666
- options?: ContainerGroupsListByResourceGroupNextOptionalParams,
667
- ): Promise<ContainerGroupsListByResourceGroupNextResponse> {
668
- return this.client.sendOperationRequest(
669
- { resourceGroupName, nextLink, options },
670
- listByResourceGroupNextOperationSpec,
671
- );
672
- }
673
- }
674
- // Operation Specifications
675
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
676
-
677
- const listOperationSpec: coreClient.OperationSpec = {
678
- path: "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerInstance/containerGroups",
679
- httpMethod: "GET",
680
- responses: {
681
- 200: {
682
- bodyMapper: Mappers.ContainerGroupListResult,
683
- },
684
- default: {
685
- bodyMapper: Mappers.CloudError,
686
- },
687
- },
688
- queryParameters: [Parameters.apiVersion],
689
- urlParameters: [Parameters.$host, Parameters.subscriptionId],
690
- headerParameters: [Parameters.accept],
691
- serializer,
692
- };
693
- const listByResourceGroupOperationSpec: coreClient.OperationSpec = {
694
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups",
695
- httpMethod: "GET",
696
- responses: {
697
- 200: {
698
- bodyMapper: Mappers.ContainerGroupListResult,
699
- },
700
- default: {
701
- bodyMapper: Mappers.CloudError,
702
- },
703
- },
704
- queryParameters: [Parameters.apiVersion],
705
- urlParameters: [
706
- Parameters.$host,
707
- Parameters.subscriptionId,
708
- Parameters.resourceGroupName,
709
- ],
710
- headerParameters: [Parameters.accept],
711
- serializer,
712
- };
713
- const getOperationSpec: coreClient.OperationSpec = {
714
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
715
- httpMethod: "GET",
716
- responses: {
717
- 200: {
718
- bodyMapper: Mappers.ContainerGroup,
719
- },
720
- default: {
721
- bodyMapper: Mappers.CloudError,
722
- },
723
- },
724
- queryParameters: [Parameters.apiVersion],
725
- urlParameters: [
726
- Parameters.$host,
727
- Parameters.subscriptionId,
728
- Parameters.resourceGroupName,
729
- Parameters.containerGroupName,
730
- ],
731
- headerParameters: [Parameters.accept],
732
- serializer,
733
- };
734
- const createOrUpdateOperationSpec: coreClient.OperationSpec = {
735
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
736
- httpMethod: "PUT",
737
- responses: {
738
- 200: {
739
- bodyMapper: Mappers.ContainerGroup,
740
- },
741
- 201: {
742
- bodyMapper: Mappers.ContainerGroup,
743
- },
744
- 202: {
745
- bodyMapper: Mappers.ContainerGroup,
746
- },
747
- 204: {
748
- bodyMapper: Mappers.ContainerGroup,
749
- },
750
- default: {
751
- bodyMapper: Mappers.CloudError,
752
- },
753
- },
754
- requestBody: Parameters.containerGroup,
755
- queryParameters: [Parameters.apiVersion],
756
- urlParameters: [
757
- Parameters.$host,
758
- Parameters.subscriptionId,
759
- Parameters.resourceGroupName,
760
- Parameters.containerGroupName,
761
- ],
762
- headerParameters: [Parameters.accept, Parameters.contentType],
763
- mediaType: "json",
764
- serializer,
765
- };
766
- const updateOperationSpec: coreClient.OperationSpec = {
767
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
768
- httpMethod: "PATCH",
769
- responses: {
770
- 200: {
771
- bodyMapper: Mappers.ContainerGroup,
772
- },
773
- default: {
774
- bodyMapper: Mappers.CloudError,
775
- },
776
- },
777
- requestBody: Parameters.resource,
778
- queryParameters: [Parameters.apiVersion],
779
- urlParameters: [
780
- Parameters.$host,
781
- Parameters.subscriptionId,
782
- Parameters.resourceGroupName,
783
- Parameters.containerGroupName,
784
- ],
785
- headerParameters: [Parameters.accept, Parameters.contentType],
786
- mediaType: "json",
787
- serializer,
788
- };
789
- const deleteOperationSpec: coreClient.OperationSpec = {
790
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}",
791
- httpMethod: "DELETE",
792
- responses: {
793
- 200: {
794
- bodyMapper: Mappers.ContainerGroup,
795
- },
796
- 201: {
797
- bodyMapper: Mappers.ContainerGroup,
798
- },
799
- 202: {
800
- bodyMapper: Mappers.ContainerGroup,
801
- },
802
- 204: {
803
- bodyMapper: Mappers.ContainerGroup,
804
- },
805
- default: {
806
- bodyMapper: Mappers.CloudError,
807
- },
808
- },
809
- queryParameters: [Parameters.apiVersion],
810
- urlParameters: [
811
- Parameters.$host,
812
- Parameters.subscriptionId,
813
- Parameters.resourceGroupName,
814
- Parameters.containerGroupName,
815
- ],
816
- headerParameters: [Parameters.accept],
817
- serializer,
818
- };
819
- const restartOperationSpec: coreClient.OperationSpec = {
820
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/restart",
821
- httpMethod: "POST",
822
- responses: {
823
- 200: {},
824
- 201: {},
825
- 202: {},
826
- 204: {},
827
- default: {
828
- bodyMapper: Mappers.CloudError,
829
- },
830
- },
831
- queryParameters: [Parameters.apiVersion],
832
- urlParameters: [
833
- Parameters.$host,
834
- Parameters.subscriptionId,
835
- Parameters.resourceGroupName,
836
- Parameters.containerGroupName,
837
- ],
838
- headerParameters: [Parameters.accept],
839
- serializer,
840
- };
841
- const stopOperationSpec: coreClient.OperationSpec = {
842
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/stop",
843
- httpMethod: "POST",
844
- responses: {
845
- 204: {},
846
- default: {
847
- bodyMapper: Mappers.CloudError,
848
- },
849
- },
850
- queryParameters: [Parameters.apiVersion],
851
- urlParameters: [
852
- Parameters.$host,
853
- Parameters.subscriptionId,
854
- Parameters.resourceGroupName,
855
- Parameters.containerGroupName,
856
- ],
857
- headerParameters: [Parameters.accept],
858
- serializer,
859
- };
860
- const startOperationSpec: coreClient.OperationSpec = {
861
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start",
862
- httpMethod: "POST",
863
- responses: {
864
- 200: {},
865
- 201: {},
866
- 202: {},
867
- 204: {},
868
- default: {
869
- bodyMapper: Mappers.CloudError,
870
- },
871
- },
872
- queryParameters: [Parameters.apiVersion],
873
- urlParameters: [
874
- Parameters.$host,
875
- Parameters.subscriptionId,
876
- Parameters.resourceGroupName,
877
- Parameters.containerGroupName,
878
- ],
879
- headerParameters: [Parameters.accept],
880
- serializer,
881
- };
882
- const getOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =
883
- {
884
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/outboundNetworkDependenciesEndpoints",
885
- httpMethod: "GET",
886
- responses: {
887
- 200: {
888
- bodyMapper: {
889
- type: { name: "Sequence", element: { type: { name: "String" } } },
890
- },
891
- },
892
- default: {
893
- bodyMapper: Mappers.CloudError,
894
- },
895
- },
896
- queryParameters: [Parameters.apiVersion],
897
- urlParameters: [
898
- Parameters.$host,
899
- Parameters.subscriptionId,
900
- Parameters.resourceGroupName,
901
- Parameters.containerGroupName,
902
- ],
903
- headerParameters: [Parameters.accept],
904
- serializer,
905
- };
906
- const listNextOperationSpec: coreClient.OperationSpec = {
907
- path: "{nextLink}",
908
- httpMethod: "GET",
909
- responses: {
910
- 200: {
911
- bodyMapper: Mappers.ContainerGroupListResult,
912
- },
913
- default: {
914
- bodyMapper: Mappers.CloudError,
915
- },
916
- },
917
- urlParameters: [
918
- Parameters.$host,
919
- Parameters.subscriptionId,
920
- Parameters.nextLink,
921
- ],
922
- headerParameters: [Parameters.accept],
923
- serializer,
924
- };
925
- const listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {
926
- path: "{nextLink}",
927
- httpMethod: "GET",
928
- responses: {
929
- 200: {
930
- bodyMapper: Mappers.ContainerGroupListResult,
931
- },
932
- default: {
933
- bodyMapper: Mappers.CloudError,
934
- },
935
- },
936
- urlParameters: [
937
- Parameters.$host,
938
- Parameters.subscriptionId,
939
- Parameters.resourceGroupName,
940
- Parameters.nextLink,
941
- ],
942
- headerParameters: [Parameters.accept],
943
- serializer,
944
- };