@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release History
2
-
2
+
3
+ ## 9.2.0-beta.2 (Unreleased)
4
+
5
+ ### Features Added
6
+
7
+ ### Breaking Changes
8
+
9
+ ### Bugs Fixed
10
+
11
+ ### Other Changes
12
+
3
13
  ## 9.2.0-beta.1 (2024-10-18)
4
14
  Compared with version 9.1.0
5
15
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
- The MIT License (MIT)
1
+ Copyright (c) Microsoft Corporation.
2
2
 
3
- Copyright (c) 2024 Microsoft
3
+ MIT License
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
12
12
  The above copyright notice and this permission notice shall be included in all
13
13
  copies or substantial portions of the Software.
14
14
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -2,11 +2,9 @@
2
2
 
3
3
  This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ContainerInstanceManagement client.
4
4
 
5
-
6
-
7
5
  [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance) |
8
6
  [Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerinstance) |
9
- [API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview) |
7
+ [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview) |
10
8
  [Samples](https://github.com/Azure-Samples/azure-samples-js-management)
11
9
 
12
10
  ## Getting started
@@ -46,26 +44,34 @@ npm install @azure/identity
46
44
  You will also need to **register a new AAD application and grant access to Azure ContainerInstanceManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47
45
  Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48
46
 
49
- For more information about how to create an Azure AD Application check out [this guide](https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
47
+ For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
48
+
49
+ Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
50
50
 
51
- ```javascript
52
- const { ContainerInstanceManagementClient } = require("@azure/arm-containerinstance");
53
- const { DefaultAzureCredential } = require("@azure/identity");
54
- // For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.
51
+ ```ts snippet:ReadmeSampleCreateClient_Node
52
+ import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
53
+ import { DefaultAzureCredential } from "@azure/identity";
55
54
 
56
55
  const subscriptionId = "00000000-0000-0000-0000-000000000000";
57
56
  const client = new ContainerInstanceManagementClient(new DefaultAzureCredential(), subscriptionId);
58
-
59
- // For client-side applications running in the browser, use this code instead:
60
- // const credential = new InteractiveBrowserCredential({
61
- // tenantId: "<YOUR_TENANT_ID>",
62
- // clientId: "<YOUR_CLIENT_ID>"
63
- // });
64
- // const client = new ContainerInstanceManagementClient(credential, subscriptionId);
65
57
  ```
66
58
 
59
+ For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
60
+
61
+ ```ts snippet:ReadmeSampleCreateClient_Browser
62
+ import { InteractiveBrowserCredential } from "@azure/identity";
63
+ import { ContainerInstanceManagementClient } from "@azure/arm-containerinstance";
64
+
65
+ const subscriptionId = "00000000-0000-0000-0000-000000000000";
66
+ const credential = new InteractiveBrowserCredential({
67
+ tenantId: "<YOUR_TENANT_ID>",
68
+ clientId: "<YOUR_CLIENT_ID>",
69
+ });
70
+ const client = new ContainerInstanceManagementClient(credential, subscriptionId);
71
+ ```
67
72
 
68
73
  ### JavaScript Bundle
74
+
69
75
  To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
70
76
 
71
77
  ## Key concepts
@@ -80,8 +86,9 @@ To use this client library in the browser, first you need to use a bundler. For
80
86
 
81
87
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
82
88
 
83
- ```javascript
84
- const { setLogLevel } = require("@azure/logger");
89
+ ```ts snippet:SetLogLevel
90
+ import { setLogLevel } from "@azure/logger";
91
+
85
92
  setLogLevel("info");
86
93
  ```
87
94
 
@@ -99,9 +106,9 @@ If you'd like to contribute to this library, please read the [contributing guide
99
106
 
100
107
  - [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
101
108
 
102
- ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcontainerinstance%2Farm-containerinstance%2FREADME.png)
103
109
 
104
- [azure_cli]: https://docs.microsoft.com/cli/azure
110
+
111
+ [azure_cli]: https://learn.microsoft.com/cli/azure
105
112
  [azure_sub]: https://azure.microsoft.com/free/
106
113
  [azure_sub]: https://azure.microsoft.com/free/
107
114
  [azure_portal]: https://portal.azure.com
@@ -1,7 +1,7 @@
1
1
  import * as coreClient from "@azure/core-client";
2
2
  import * as coreAuth from "@azure/core-auth";
3
- import { ContainerGroups, Operations, Location, Containers, SubnetServiceAssociationLink, ContainerGroupProfiles, ContainerGroupProfileOperations } from "./operationsInterfaces";
4
- import { ContainerInstanceManagementClientOptionalParams } from "./models";
3
+ import { ContainerGroups, Operations, Location, Containers, SubnetServiceAssociationLink, ContainerGroupProfiles, ContainerGroupProfileOperations } from "./operationsInterfaces/index.js";
4
+ import { ContainerInstanceManagementClientOptionalParams } from "./models/index.js";
5
5
  export declare class ContainerInstanceManagementClient extends coreClient.ServiceClient {
6
6
  $host: string;
7
7
  subscriptionId: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerInstanceManagementClient.d.ts","sourceRoot":"","sources":["../../src/containerInstanceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAU7C,OAAO,EACL,eAAe,EACf,UAAU,EACV,QAAQ,EACR,UAAU,EACV,4BAA4B,EAC5B,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,+CAA+C,EAAE,MAAM,mBAAmB,CAAC;AAEpF,qBAAa,iCAAkC,SAAQ,UAAU,CAAC,aAAa;IAC7E,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,+CAA+C;IAsF3D,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,eAAe,EAAE,eAAe,CAAC;IACjC,UAAU,EAAE,UAAU,CAAC;IACvB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,4BAA4B,EAAE,4BAA4B,CAAC;IAC3D,sBAAsB,EAAE,sBAAsB,CAAC;IAC/C,+BAA+B,EAAE,+BAA+B,CAAC;CAClE"}
@@ -5,11 +5,13 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __awaiter } from "tslib";
9
8
  import * as coreClient from "@azure/core-client";
10
9
  import * as coreRestPipeline from "@azure/core-rest-pipeline";
11
- import { ContainerGroupsImpl, OperationsImpl, LocationImpl, ContainersImpl, SubnetServiceAssociationLinkImpl, ContainerGroupProfilesImpl, ContainerGroupProfileOperationsImpl, } from "./operations";
10
+ import { ContainerGroupsImpl, OperationsImpl, LocationImpl, ContainersImpl, SubnetServiceAssociationLinkImpl, ContainerGroupProfilesImpl, ContainerGroupProfileOperationsImpl, } from "./operations/index.js";
12
11
  export class ContainerInstanceManagementClient extends coreClient.ServiceClient {
12
+ $host;
13
+ subscriptionId;
14
+ apiVersion;
13
15
  /**
14
16
  * Initializes a new instance of the ContainerInstanceManagementClient class.
15
17
  * @param credentials Subscription credentials which uniquely identify client subscription.
@@ -17,7 +19,6 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
17
19
  * @param options The parameter options
18
20
  */
19
21
  constructor(credentials, subscriptionId, options) {
20
- var _a, _b, _c;
21
22
  if (credentials === undefined) {
22
23
  throw new Error("'credentials' cannot be null");
23
24
  }
@@ -32,16 +33,21 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
32
33
  requestContentType: "application/json; charset=utf-8",
33
34
  credential: credentials,
34
35
  };
35
- const packageDetails = `azsdk-js-arm-containerinstance/9.2.0-beta.1`;
36
+ const packageDetails = `azsdk-js-arm-containerinstance/9.2.0-beta.2`;
36
37
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
37
38
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
38
39
  : `${packageDetails}`;
39
- const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
40
+ const optionsWithDefaults = {
41
+ ...defaults,
42
+ ...options,
43
+ userAgentOptions: {
40
44
  userAgentPrefix,
41
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
45
+ },
46
+ endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
47
+ };
42
48
  super(optionsWithDefaults);
43
49
  let bearerTokenAuthenticationPolicyFound = false;
44
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
50
+ if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
45
51
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
46
52
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
47
53
  coreRestPipeline.bearerTokenAuthenticationPolicyName);
@@ -55,7 +61,8 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
55
61
  });
56
62
  this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
57
63
  credential: credentials,
58
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
64
+ scopes: optionsWithDefaults.credentialScopes ??
65
+ `${optionsWithDefaults.endpoint}/.default`,
59
66
  challengeCallbacks: {
60
67
  authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
61
68
  },
@@ -83,25 +90,30 @@ export class ContainerInstanceManagementClient extends coreClient.ServiceClient
83
90
  }
84
91
  const apiVersionPolicy = {
85
92
  name: "CustomApiVersionPolicy",
86
- sendRequest(request, next) {
87
- return __awaiter(this, void 0, void 0, function* () {
88
- const param = request.url.split("?");
89
- if (param.length > 1) {
90
- const newParams = param[1].split("&").map((item) => {
91
- if (item.indexOf("api-version") > -1) {
92
- return "api-version=" + apiVersion;
93
- }
94
- else {
95
- return item;
96
- }
97
- });
98
- request.url = param[0] + "?" + newParams.join("&");
99
- }
100
- return next(request);
101
- });
93
+ async sendRequest(request, next) {
94
+ const param = request.url.split("?");
95
+ if (param.length > 1) {
96
+ const newParams = param[1].split("&").map((item) => {
97
+ if (item.indexOf("api-version") > -1) {
98
+ return "api-version=" + apiVersion;
99
+ }
100
+ else {
101
+ return item;
102
+ }
103
+ });
104
+ request.url = param[0] + "?" + newParams.join("&");
105
+ }
106
+ return next(request);
102
107
  },
103
108
  };
104
109
  this.pipeline.addPolicy(apiVersionPolicy);
105
110
  }
111
+ containerGroups;
112
+ operations;
113
+ location;
114
+ containers;
115
+ subnetServiceAssociationLink;
116
+ containerGroupProfiles;
117
+ containerGroupProfileOperations;
106
118
  }
107
119
  //# sourceMappingURL=containerInstanceManagementClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"containerInstanceManagementClient.js","sourceRoot":"","sources":["../../src/containerInstanceManagementClient.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 * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ContainerGroupsImpl,\n OperationsImpl,\n LocationImpl,\n ContainersImpl,\n SubnetServiceAssociationLinkImpl,\n ContainerGroupProfilesImpl,\n ContainerGroupProfileOperationsImpl,\n} from \"./operations/index.js\";\nimport {\n ContainerGroups,\n Operations,\n Location,\n Containers,\n SubnetServiceAssociationLink,\n ContainerGroupProfiles,\n ContainerGroupProfileOperations,\n} from \"./operationsInterfaces/index.js\";\nimport { ContainerInstanceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class ContainerInstanceManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the ContainerInstanceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: ContainerInstanceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: ContainerInstanceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-containerinstance/9.2.0-beta.2`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2024-05-01-preview\";\n this.containerGroups = new ContainerGroupsImpl(this);\n this.operations = new OperationsImpl(this);\n this.location = new LocationImpl(this);\n this.containers = new ContainersImpl(this);\n this.subnetServiceAssociationLink = new SubnetServiceAssociationLinkImpl(\n this,\n );\n this.containerGroupProfiles = new ContainerGroupProfilesImpl(this);\n this.containerGroupProfileOperations =\n new ContainerGroupProfileOperationsImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n containerGroups: ContainerGroups;\n operations: Operations;\n location: Location;\n containers: Containers;\n subnetServiceAssociationLink: SubnetServiceAssociationLink;\n containerGroupProfiles: ContainerGroupProfiles;\n containerGroupProfileOperations: ContainerGroupProfileOperations;\n}\n"]}
@@ -0,0 +1,5 @@
1
+ export { getContinuationToken } from "./pagingHelper.js";
2
+ export * from "./models/index.js";
3
+ export { ContainerInstanceManagementClient } from "./containerInstanceManagementClient.js";
4
+ export * from "./operationsInterfaces/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACtD,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,cAAc,iCAAiC,CAAC"}
@@ -6,8 +6,8 @@
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
8
  /// <reference lib="esnext.asynciterable" />
9
- export { getContinuationToken } from "./pagingHelper";
10
- export * from "./models";
11
- export { ContainerInstanceManagementClient } from "./containerInstanceManagementClient";
12
- export * from "./operationsInterfaces";
9
+ export { getContinuationToken } from "./pagingHelper.js";
10
+ export * from "./models/index.js";
11
+ export { ContainerInstanceManagementClient } from "./containerInstanceManagementClient.js";
12
+ export * from "./operationsInterfaces/index.js";
13
13
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,wCAAwC,CAAC;AAC3F,cAAc,iCAAiC,CAAC","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\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { ContainerInstanceManagementClient } from \"./containerInstanceManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
1
+ {"version":3,"file":"lroImpl.d.ts","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEpE,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE;IACvC,eAAe,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACnE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B,IAAI,EAAE;QACJ,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;QAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;KAC7B,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CACzB,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAmB1B"}
@@ -0,0 +1,18 @@
1
+ export function createLroSpec(inputs) {
2
+ const { args, spec, sendOperationFn } = inputs;
3
+ return {
4
+ requestMethod: spec.httpMethod,
5
+ requestPath: spec.path,
6
+ sendInitialRequest: () => sendOperationFn(args, spec),
7
+ sendPollRequest: (path, options) => {
8
+ const { requestBody, ...restSpec } = spec;
9
+ return sendOperationFn(args, {
10
+ ...restSpec,
11
+ httpMethod: "GET",
12
+ path,
13
+ abortSignal: options?.abortSignal,
14
+ });
15
+ },
16
+ };
17
+ }
18
+ //# sourceMappingURL=lroImpl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lroImpl.js","sourceRoot":"","sources":["../../src/lroImpl.ts"],"names":[],"mappings":"AAUA,MAAM,UAAU,aAAa,CAAI,MAQhC;IACC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;IAC/C,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,UAAU;QAC9B,WAAW,EAAE,IAAI,CAAC,IAAK;QACvB,kBAAkB,EAAE,GAAG,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,IAAI,CAAC;QACrD,eAAe,EAAE,CACf,IAAY,EACZ,OAA2C,EAC3C,EAAE;YACF,MAAM,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,GAAG,IAAI,CAAC;YAC1C,OAAO,eAAe,CAAC,IAAI,EAAE;gBAC3B,GAAG,QAAQ;gBACX,UAAU,EAAE,KAAK;gBACjB,IAAI;gBACJ,WAAW,EAAE,OAAO,EAAE,WAAW;aAClC,CAAC,CAAC;QACL,CAAC;KACF,CAAC;AACJ,CAAC","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 */\nimport { AbortSignalLike } from \"@azure/abort-controller\";\nimport { LongRunningOperation, LroResponse } from \"@azure/core-lro\";\n\nexport function createLroSpec<T>(inputs: {\n sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;\n args: Record<string, unknown>;\n spec: {\n readonly requestBody?: unknown;\n readonly path?: string;\n readonly httpMethod: string;\n } & Record<string, any>;\n}): LongRunningOperation<T> {\n const { args, spec, sendOperationFn } = inputs;\n return {\n requestMethod: spec.httpMethod,\n requestPath: spec.path!,\n sendInitialRequest: () => sendOperationFn(args, spec),\n sendPollRequest: (\n path: string,\n options?: { abortSignal?: AbortSignalLike },\n ) => {\n const { requestBody, ...restSpec } = spec;\n return sendOperationFn(args, {\n ...restSpec,\n httpMethod: \"GET\",\n path,\n abortSignal: options?.abortSignal,\n });\n },\n };\n}\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.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 * as coreClient from \"@azure/core-client\";\n\n/** The container group list response that contains the container group properties. */\nexport interface ContainerGroupListResult {\n /** The list of container groups. */\n value?: ContainerGroup[];\n /** The URI to fetch the next page of container groups. */\n nextLink?: string;\n}\n\n/** The Resource model definition. */\nexport interface Resource {\n /**\n * The resource id.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * The resource name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The resource type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /** The resource location. */\n location?: string;\n /** The resource tags. */\n tags?: { [propertyName: string]: string };\n /** The zones for the container group. */\n zones?: string[];\n}\n\n/** The container group properties */\nexport interface ContainerGroupProperties {\n /** The identity of the container group, if configured. */\n identity?: ContainerGroupIdentity;\n /**\n * The provisioning state of the container group. This only appears in the response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly provisioningState?: string;\n /** The containers within the container group. */\n containers: Container[];\n /** The image registry credentials by which the container group is created from. */\n imageRegistryCredentials?: ImageRegistryCredential[];\n /**\n * Restart policy for all containers within the container group.\n * - `Always` Always restart\n * - `OnFailure` Restart on failure\n * - `Never` Never restart\n *\n */\n restartPolicy?: ContainerGroupRestartPolicy;\n /** The IP address type of the container group. */\n ipAddress?: IpAddress;\n /** The operating system type required by the containers in the container group. */\n osType?: OperatingSystemTypes;\n /** The list of volumes that can be mounted by containers in this container group. */\n volumes?: Volume[];\n /**\n * The instance view of the container group. Only valid in response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly instanceView?: ContainerGroupPropertiesInstanceView;\n /** The diagnostic information for a container group. */\n diagnostics?: ContainerGroupDiagnostics;\n /** The subnet resource IDs for a container group. */\n subnetIds?: ContainerGroupSubnetId[];\n /** The DNS config information for a container group. */\n dnsConfig?: DnsConfiguration;\n /** The SKU for a container group. */\n sku?: ContainerGroupSku;\n /** The encryption properties for a container group. */\n encryptionProperties?: EncryptionProperties;\n /** The init containers for a container group. */\n initContainers?: InitContainerDefinition[];\n /** extensions used by virtual kubelet */\n extensions?: DeploymentExtensionSpec[];\n /** The properties for confidential container group */\n confidentialComputeProperties?: ConfidentialComputeProperties;\n /** The priority of the container group. */\n priority?: ContainerGroupPriority;\n /** The reference container group profile properties. */\n containerGroupProfile?: ContainerGroupProfileReferenceDefinition;\n /** The reference standby pool profile properties. */\n standbyPoolProfile?: StandbyPoolProfileDefinition;\n /**\n * The flag indicating whether the container group is created by standby pool.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly isCreatedFromStandbyPool?: boolean;\n}\n\n/** Identity for the container group. */\nexport interface ContainerGroupIdentity {\n /**\n * The principal id of the container group identity. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The tenant id associated with the container group. This property will only be provided for a system assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly tenantId?: string;\n /** The type of identity used for the container group. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the container group. */\n type?: ResourceIdentityType;\n /** The list of user identities associated with the container group. */\n userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentities };\n}\n\n/** The list of user identities associated with the container group. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */\nexport interface UserAssignedIdentities {\n /**\n * The principal id of user assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly principalId?: string;\n /**\n * The client id of user assigned identity.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly clientId?: string;\n}\n\n/** A container instance. */\nexport interface Container {\n /** The user-provided name of the container instance. */\n name: string;\n /** The name of the image used to create the container instance. */\n image?: string;\n /** The commands to execute within the container instance in exec form. */\n command?: string[];\n /** The exposed ports on the container instance. */\n ports?: ContainerPort[];\n /** The environment variables to set in the container instance. */\n environmentVariables?: EnvironmentVariable[];\n /**\n * The instance view of the container instance. Only valid in response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly instanceView?: ContainerPropertiesInstanceView;\n /** The resource requirements of the container instance. */\n resources?: ResourceRequirements;\n /** The volume mounts available to the container instance. */\n volumeMounts?: VolumeMount[];\n /** The liveness probe. */\n livenessProbe?: ContainerProbe;\n /** The readiness probe. */\n readinessProbe?: ContainerProbe;\n /** The container security properties. */\n securityContext?: SecurityContextDefinition;\n /** The config map. */\n configMap?: ConfigMap;\n}\n\n/** The port exposed on the container instance. */\nexport interface ContainerPort {\n /** The protocol associated with the port. */\n protocol?: ContainerNetworkProtocol;\n /** The port number exposed within the container group. */\n port: number;\n}\n\n/** The environment variable to set within the container instance. */\nexport interface EnvironmentVariable {\n /** The name of the environment variable. */\n name: string;\n /** The value of the environment variable. */\n value?: string;\n /** The value of the secure environment variable. */\n secureValue?: string;\n}\n\n/** The instance view of the container instance. Only valid in response. */\nexport interface ContainerPropertiesInstanceView {\n /**\n * The number of times that the container instance has been restarted.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly restartCount?: number;\n /**\n * Current container instance state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentState?: ContainerState;\n /**\n * Previous container instance state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly previousState?: ContainerState;\n /**\n * The events of the container instance.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly events?: Event[];\n}\n\n/** The container instance state. */\nexport interface ContainerState {\n /**\n * The state of the container instance.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly state?: string;\n /**\n * The date-time when the container instance state started.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly startTime?: Date;\n /**\n * The container instance exit codes correspond to those from the `docker run` command.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly exitCode?: number;\n /**\n * The date-time when the container instance state finished.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly finishTime?: Date;\n /**\n * The human-readable status of the container instance state.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly detailStatus?: string;\n}\n\n/** A container group or container instance event. */\nexport interface Event {\n /**\n * The count of the event.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly count?: number;\n /**\n * The date-time of the earliest logged event.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly firstTimestamp?: Date;\n /**\n * The date-time of the latest logged event.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly lastTimestamp?: Date;\n /**\n * The event name.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * The event message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The event type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n}\n\n/** The resource requirements. */\nexport interface ResourceRequirements {\n /** The resource requests of this container instance. */\n requests: ResourceRequests;\n /** The resource limits of this container instance. */\n limits?: ResourceLimits;\n}\n\n/** The resource requests. */\nexport interface ResourceRequests {\n /** The memory request in GB of this container instance. */\n memoryInGB: number;\n /** The CPU request of this container instance. */\n cpu: number;\n /** The GPU request of this container instance. */\n gpu?: GpuResource;\n}\n\n/** The GPU resource. */\nexport interface GpuResource {\n /** The count of the GPU resource. */\n count: number;\n /** The SKU of the GPU resource. */\n sku: GpuSku;\n}\n\n/** The resource limits. */\nexport interface ResourceLimits {\n /** The memory limit in GB of this container instance. */\n memoryInGB?: number;\n /** The CPU limit of this container instance. */\n cpu?: number;\n /** The GPU limit of this container instance. */\n gpu?: GpuResource;\n}\n\n/** The properties of the volume mount. */\nexport interface VolumeMount {\n /** The name of the volume mount. */\n name: string;\n /** The path within the container where the volume should be mounted. Must not contain colon (:). */\n mountPath: string;\n /** The flag indicating whether the volume mount is read-only. */\n readOnly?: boolean;\n}\n\n/** The container probe, for liveness or readiness */\nexport interface ContainerProbe {\n /** The execution command to probe */\n exec?: ContainerExec;\n /** The Http Get settings to probe */\n httpGet?: ContainerHttpGet;\n /** The initial delay seconds. */\n initialDelaySeconds?: number;\n /** The period seconds. */\n periodSeconds?: number;\n /** The failure threshold. */\n failureThreshold?: number;\n /** The success threshold. */\n successThreshold?: number;\n /** The timeout seconds. */\n timeoutSeconds?: number;\n}\n\n/** The container execution command, for liveness or readiness probe */\nexport interface ContainerExec {\n /** The commands to execute within the container. */\n command?: string[];\n}\n\n/** The container Http Get settings, for liveness or readiness probe */\nexport interface ContainerHttpGet {\n /** The path to probe. */\n path?: string;\n /** The port number to probe. */\n port: number;\n /** The scheme. */\n scheme?: Scheme;\n /** The HTTP headers. */\n httpHeaders?: HttpHeader[];\n}\n\n/** The HTTP header. */\nexport interface HttpHeader {\n /** The header name. */\n name?: string;\n /** The header value. */\n value?: string;\n}\n\n/** The security context for the container. */\nexport interface SecurityContextDefinition {\n /** The flag to determine if the container permissions is elevated to Privileged. */\n privileged?: boolean;\n /** A boolean value indicating whether the init process can elevate its privileges */\n allowPrivilegeEscalation?: boolean;\n /** The capabilities to add or drop from a container. */\n capabilities?: SecurityContextCapabilitiesDefinition;\n /** Sets the User GID for the container. */\n runAsGroup?: number;\n /** Sets the User UID for the container. */\n runAsUser?: number;\n /** a base64 encoded string containing the contents of the JSON in the seccomp profile */\n seccompProfile?: string;\n}\n\n/** The capabilities to add or drop from a container. */\nexport interface SecurityContextCapabilitiesDefinition {\n /** The capabilities to add to the container. */\n add?: string[];\n /** The capabilities to drop from the container. */\n drop?: string[];\n}\n\n/** The container config map. */\nexport interface ConfigMap {\n /** The key value pairs dictionary in the config map. */\n keyValuePairs?: { [propertyName: string]: string };\n}\n\n/** Image registry credential. */\nexport interface ImageRegistryCredential {\n /** The Docker image registry server without a protocol such as \"http\" and \"https\". */\n server: string;\n /** The username for the private registry. */\n username?: string;\n /** The password for the private registry. */\n password?: string;\n /** The identity for the private registry. */\n identity?: string;\n /** The identity URL for the private registry. */\n identityUrl?: string;\n}\n\n/** IP address for the container group. */\nexport interface IpAddress {\n /** The list of ports exposed on the container group. */\n ports: Port[];\n /** Specifies if the IP is exposed to the public internet or private VNET. */\n type: ContainerGroupIpAddressType;\n /** The IP exposed to the public internet. */\n ip?: string;\n /** The Dns name label for the IP. */\n dnsNameLabel?: string;\n /** The value representing the security enum. The 'Unsecure' value is the default value if not selected and means the object's domain name label is not secured against subdomain takeover. The 'TenantReuse' value is the default value if selected and means the object's domain name label can be reused within the same tenant. The 'SubscriptionReuse' value means the object's domain name label can be reused within the same subscription. The 'ResourceGroupReuse' value means the object's domain name label can be reused within the same resource group. The 'NoReuse' value means the object's domain name label cannot be reused within the same resource group, subscription, or tenant. */\n autoGeneratedDomainNameLabelScope?: DnsNameLabelReusePolicy;\n /**\n * The FQDN for the IP.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly fqdn?: string;\n}\n\n/** The port exposed on the container group. */\nexport interface Port {\n /** The protocol associated with the port. */\n protocol?: ContainerGroupNetworkProtocol;\n /** The port number. */\n port: number;\n}\n\n/** The properties of the volume. */\nexport interface Volume {\n /** The name of the volume. */\n name: string;\n /** The Azure File volume. */\n azureFile?: AzureFileVolume;\n /** The empty directory volume. */\n emptyDir?: Record<string, unknown>;\n /** The secret volume. */\n secret?: { [propertyName: string]: string };\n /** The git repo volume. */\n gitRepo?: GitRepoVolume;\n}\n\n/** The properties of the Azure File volume. Azure File shares are mounted as volumes. */\nexport interface AzureFileVolume {\n /** The name of the Azure File share to be mounted as a volume. */\n shareName: string;\n /** The flag indicating whether the Azure File shared mounted as a volume is read-only. */\n readOnly?: boolean;\n /** The name of the storage account that contains the Azure File share. */\n storageAccountName: string;\n /** The storage account access key used to access the Azure File share. */\n storageAccountKey?: string;\n}\n\n/** Represents a volume that is populated with the contents of a git repository */\nexport interface GitRepoVolume {\n /** Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. */\n directory?: string;\n /** Repository URL */\n repository: string;\n /** Commit hash for the specified revision. */\n revision?: string;\n}\n\n/** The instance view of the container group. Only valid in response. */\nexport interface ContainerGroupPropertiesInstanceView {\n /**\n * The events of this container group.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly events?: Event[];\n /**\n * The state of the container group. Only valid in response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly state?: string;\n}\n\n/** Container group diagnostic information. */\nexport interface ContainerGroupDiagnostics {\n /** Container group log analytics information. */\n logAnalytics?: LogAnalytics;\n}\n\n/** Container group log analytics information. */\nexport interface LogAnalytics {\n /** The workspace id for log analytics */\n workspaceId: string;\n /** The workspace key for log analytics */\n workspaceKey: string;\n /** The log type to be used. */\n logType?: LogAnalyticsLogType;\n /** Metadata for log analytics. */\n metadata?: { [propertyName: string]: string };\n /** The workspace resource id for log analytics */\n workspaceResourceId?: string;\n}\n\n/** Container group subnet information. */\nexport interface ContainerGroupSubnetId {\n /** Resource ID of virtual network and subnet. */\n id: string;\n /** Friendly name for the subnet. */\n name?: string;\n}\n\n/** DNS configuration for the container group. */\nexport interface DnsConfiguration {\n /** The DNS servers for the container group. */\n nameServers: string[];\n /** The DNS search domains for hostname lookup in the container group. */\n searchDomains?: string;\n /** The DNS options for the container group. */\n options?: string;\n}\n\n/** The container group encryption properties. */\nexport interface EncryptionProperties {\n /** The keyvault base url. */\n vaultBaseUrl: string;\n /** The encryption key name. */\n keyName: string;\n /** The encryption key version. */\n keyVersion: string;\n /** The keyvault managed identity. */\n identity?: string;\n}\n\n/** The init container definition. */\nexport interface InitContainerDefinition {\n /** The name for the init container. */\n name: string;\n /** The image of the init container. */\n image?: string;\n /** The command to execute within the init container in exec form. */\n command?: string[];\n /** The environment variables to set in the init container. */\n environmentVariables?: EnvironmentVariable[];\n /**\n * The instance view of the init container. Only valid in response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;\n /** The volume mounts available to the init container. */\n volumeMounts?: VolumeMount[];\n /** The container security properties. */\n securityContext?: SecurityContextDefinition;\n}\n\n/** The instance view of the init container. Only valid in response. */\nexport interface InitContainerPropertiesDefinitionInstanceView {\n /**\n * The number of times that the init container has been restarted.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly restartCount?: number;\n /**\n * The current state of the init container.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentState?: ContainerState;\n /**\n * The previous state of the init container.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly previousState?: ContainerState;\n /**\n * The events of the init container.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly events?: Event[];\n}\n\n/** Extension sidecars to be added to the deployment. */\nexport interface DeploymentExtensionSpec {\n /** Name of the extension. */\n name: string;\n /** Type of extension to be added. */\n extensionType?: string;\n /** Version of the extension being used. */\n version?: string;\n /** Settings for the extension. */\n settings?: Record<string, unknown>;\n /** Protected settings for the extension. */\n protectedSettings?: Record<string, unknown>;\n}\n\n/** The properties for confidential container group */\nexport interface ConfidentialComputeProperties {\n /** The base64 encoded confidential compute enforcement policy */\n ccePolicy?: string;\n}\n\n/** The container group profile reference. */\nexport interface ContainerGroupProfileReferenceDefinition {\n /** The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'. */\n id?: string;\n /** The container group profile reference revision. */\n revision?: number;\n}\n\n/** The standby pool profile reference. */\nexport interface StandbyPoolProfileDefinition {\n /** The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'. */\n id?: string;\n /** The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool. */\n failContainerGroupCreateOnReuseFailure?: boolean;\n}\n\n/** An error response from the Container Instance service. */\nexport interface CloudError {\n /** An error response from the Container Instance service. */\n error?: CloudErrorBody;\n}\n\n/** An error response from the Container Instance service. */\nexport interface CloudErrorBody {\n /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */\n code?: string;\n /** A message describing the error, intended to be suitable for display in a user interface. */\n message?: string;\n /** The target of the particular error. For example, the name of the property in error. */\n target?: string;\n /** A list of additional details about the error. */\n details?: CloudErrorBody[];\n}\n\n/** The operation list response that contains all operations for Azure Container Instance service. */\nexport interface OperationListResult {\n /** The list of operations. */\n value?: Operation[];\n /** The URI to fetch the next page of operations. */\n nextLink?: string;\n}\n\n/** An operation for Azure Container Instance service. */\nexport interface Operation {\n /** The name of the operation. */\n name: string;\n /** The display information of the operation. */\n display: OperationDisplay;\n /** The additional properties. */\n properties?: Record<string, unknown>;\n /** The intended executor of the operation. */\n origin?: ContainerInstanceOperationsOrigin;\n}\n\n/** The display information of the operation. */\nexport interface OperationDisplay {\n /** The name of the provider of the operation. */\n provider?: string;\n /** The name of the resource type of the operation. */\n resource?: string;\n /** The friendly name of the operation. */\n operation?: string;\n /** The description of the operation. */\n description?: string;\n}\n\n/** The response containing the usage data */\nexport interface UsageListResult {\n /**\n * The usage data.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: Usage[];\n}\n\n/** A single usage result */\nexport interface Usage {\n /**\n * Id of the usage result\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Unit of the usage result\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly unit?: string;\n /**\n * The current usage of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly currentValue?: number;\n /**\n * The maximum permitted usage of the resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly limit?: number;\n /**\n * The name object of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: UsageName;\n}\n\n/** The name object of the resource */\nexport interface UsageName {\n /**\n * The name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly value?: string;\n /**\n * The localized name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly localizedValue?: string;\n}\n\n/** The logs. */\nexport interface Logs {\n /** The content of the log. */\n content?: string;\n}\n\n/** The container exec request. */\nexport interface ContainerExecRequest {\n /** The command to be executed. */\n command?: string;\n /** The size of the terminal. */\n terminalSize?: ContainerExecRequestTerminalSize;\n}\n\n/** The size of the terminal. */\nexport interface ContainerExecRequestTerminalSize {\n /** The row size of the terminal */\n rows?: number;\n /** The column size of the terminal */\n cols?: number;\n}\n\n/** The information for the container exec command. */\nexport interface ContainerExecResponse {\n /** The uri for the exec websocket. */\n webSocketUri?: string;\n /** The password to start the exec command. */\n password?: string;\n}\n\n/** The information for the output stream from container attach. */\nexport interface ContainerAttachResponse {\n /** The uri for the output stream from the attach. */\n webSocketUri?: string;\n /** The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri. */\n password?: string;\n}\n\n/** The response containing cached images. */\nexport interface CachedImagesListResult {\n /** The list of cached images. */\n value?: CachedImages[];\n /** The URI to fetch the next page of cached images. */\n nextLink?: string;\n}\n\n/** The cached image and OS type. */\nexport interface CachedImages {\n /** The OS type of the cached image. */\n osType: string;\n /** The cached image name. */\n image: string;\n}\n\n/** The response containing list of capabilities. */\nexport interface CapabilitiesListResult {\n /** The list of capabilities. */\n value?: Capabilities[];\n /** The URI to fetch the next page of capabilities. */\n nextLink?: string;\n}\n\n/** The regional capabilities. */\nexport interface Capabilities {\n /**\n * The resource type that this capability describes.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly resourceType?: string;\n /**\n * The OS type that this capability describes.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly osType?: string;\n /**\n * The resource location.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly location?: string;\n /**\n * The ip address type that this capability describes.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly ipAddressType?: string;\n /**\n * The GPU sku that this capability describes.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly gpu?: string;\n /**\n * The supported capabilities.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly capabilities?: CapabilitiesCapabilities;\n}\n\n/** The supported capabilities. */\nexport interface CapabilitiesCapabilities {\n /**\n * The maximum allowed memory request in GB.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxMemoryInGB?: number;\n /**\n * The maximum allowed CPU request in cores.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxCpu?: number;\n /**\n * The maximum allowed GPU count.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly maxGpuCount?: number;\n}\n\n/** The container group profile list response that contains the container group profile properties. */\nexport interface ContainerGroupProfileListResult {\n /** The list of container group profiles. */\n value?: ContainerGroupProfile[];\n /** The URI to fetch the next page of container group profiles. */\n nextLink?: string;\n}\n\n/** The container group profile properties */\nexport interface ContainerGroupProfileProperties {\n /** The containers within the container group. */\n containers: Container[];\n /** The image registry credentials by which the container group is created from. */\n imageRegistryCredentials?: ImageRegistryCredential[];\n /**\n * Restart policy for all containers within the container group.\n * - `Always` Always restart\n * - `OnFailure` Restart on failure\n * - `Never` Never restart\n *\n */\n restartPolicy?: ContainerGroupRestartPolicy;\n /** The IP address type of the container group. */\n ipAddress?: IpAddress;\n /** The operating system type required by the containers in the container group. */\n osType: OperatingSystemTypes;\n /** The list of volumes that can be mounted by containers in this container group. */\n volumes?: Volume[];\n /** The diagnostic information for a container group. */\n diagnostics?: ContainerGroupDiagnostics;\n /** The SKU for a container group. */\n sku?: ContainerGroupSku;\n /** The encryption properties for a container group. */\n encryptionProperties?: EncryptionProperties;\n /** The init containers for a container group. */\n initContainers?: InitContainerDefinition[];\n /** extensions used by virtual kubelet */\n extensions?: DeploymentExtensionSpec[];\n /** The properties for confidential container group */\n confidentialComputeProperties?: ConfidentialComputeProperties;\n /** The priority of the container group. */\n priority?: ContainerGroupPriority;\n /**\n * The container group profile current revision number. This only appears in the response.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly revision?: number;\n}\n\n/** Properties of container group profile that need to be patched */\nexport interface ContainerGroupProfilePatch {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n}\n\n/** A container group. */\nexport interface ContainerGroup extends Resource, ContainerGroupProperties {}\n\n/** A container group profile. */\nexport interface ContainerGroupProfile\n extends Resource,\n ContainerGroupProfileProperties {}\n\n/** Known values of {@link ContainerNetworkProtocol} that the service accepts. */\nexport enum KnownContainerNetworkProtocol {\n /** TCP */\n TCP = \"TCP\",\n /** UDP */\n UDP = \"UDP\",\n}\n\n/**\n * Defines values for ContainerNetworkProtocol. \\\n * {@link KnownContainerNetworkProtocol} can be used interchangeably with ContainerNetworkProtocol,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TCP** \\\n * **UDP**\n */\nexport type ContainerNetworkProtocol = string;\n\n/** Known values of {@link GpuSku} that the service accepts. */\nexport enum KnownGpuSku {\n /** K80 */\n K80 = \"K80\",\n /** P100 */\n P100 = \"P100\",\n /** V100 */\n V100 = \"V100\",\n}\n\n/**\n * Defines values for GpuSku. \\\n * {@link KnownGpuSku} can be used interchangeably with GpuSku,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **K80** \\\n * **P100** \\\n * **V100**\n */\nexport type GpuSku = string;\n\n/** Known values of {@link Scheme} that the service accepts. */\nexport enum KnownScheme {\n /** Http */\n Http = \"http\",\n /** Https */\n Https = \"https\",\n}\n\n/**\n * Defines values for Scheme. \\\n * {@link KnownScheme} can be used interchangeably with Scheme,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **http** \\\n * **https**\n */\nexport type Scheme = string;\n\n/** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */\nexport enum KnownContainerGroupRestartPolicy {\n /** Always */\n Always = \"Always\",\n /** OnFailure */\n OnFailure = \"OnFailure\",\n /** Never */\n Never = \"Never\",\n}\n\n/**\n * Defines values for ContainerGroupRestartPolicy. \\\n * {@link KnownContainerGroupRestartPolicy} can be used interchangeably with ContainerGroupRestartPolicy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Always** \\\n * **OnFailure** \\\n * **Never**\n */\nexport type ContainerGroupRestartPolicy = string;\n\n/** Known values of {@link ContainerGroupNetworkProtocol} that the service accepts. */\nexport enum KnownContainerGroupNetworkProtocol {\n /** TCP */\n TCP = \"TCP\",\n /** UDP */\n UDP = \"UDP\",\n}\n\n/**\n * Defines values for ContainerGroupNetworkProtocol. \\\n * {@link KnownContainerGroupNetworkProtocol} can be used interchangeably with ContainerGroupNetworkProtocol,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **TCP** \\\n * **UDP**\n */\nexport type ContainerGroupNetworkProtocol = string;\n\n/** Known values of {@link ContainerGroupIpAddressType} that the service accepts. */\nexport enum KnownContainerGroupIpAddressType {\n /** Public */\n Public = \"Public\",\n /** Private */\n Private = \"Private\",\n}\n\n/**\n * Defines values for ContainerGroupIpAddressType. \\\n * {@link KnownContainerGroupIpAddressType} can be used interchangeably with ContainerGroupIpAddressType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Public** \\\n * **Private**\n */\nexport type ContainerGroupIpAddressType = string;\n\n/** Known values of {@link DnsNameLabelReusePolicy} that the service accepts. */\nexport enum KnownDnsNameLabelReusePolicy {\n /** Unsecure */\n Unsecure = \"Unsecure\",\n /** TenantReuse */\n TenantReuse = \"TenantReuse\",\n /** SubscriptionReuse */\n SubscriptionReuse = \"SubscriptionReuse\",\n /** ResourceGroupReuse */\n ResourceGroupReuse = \"ResourceGroupReuse\",\n /** Noreuse */\n Noreuse = \"Noreuse\",\n}\n\n/**\n * Defines values for DnsNameLabelReusePolicy. \\\n * {@link KnownDnsNameLabelReusePolicy} can be used interchangeably with DnsNameLabelReusePolicy,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Unsecure** \\\n * **TenantReuse** \\\n * **SubscriptionReuse** \\\n * **ResourceGroupReuse** \\\n * **Noreuse**\n */\nexport type DnsNameLabelReusePolicy = string;\n\n/** Known values of {@link OperatingSystemTypes} that the service accepts. */\nexport enum KnownOperatingSystemTypes {\n /** Windows */\n Windows = \"Windows\",\n /** Linux */\n Linux = \"Linux\",\n}\n\n/**\n * Defines values for OperatingSystemTypes. \\\n * {@link KnownOperatingSystemTypes} can be used interchangeably with OperatingSystemTypes,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Windows** \\\n * **Linux**\n */\nexport type OperatingSystemTypes = string;\n\n/** Known values of {@link LogAnalyticsLogType} that the service accepts. */\nexport enum KnownLogAnalyticsLogType {\n /** ContainerInsights */\n ContainerInsights = \"ContainerInsights\",\n /** ContainerInstanceLogs */\n ContainerInstanceLogs = \"ContainerInstanceLogs\",\n}\n\n/**\n * Defines values for LogAnalyticsLogType. \\\n * {@link KnownLogAnalyticsLogType} can be used interchangeably with LogAnalyticsLogType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **ContainerInsights** \\\n * **ContainerInstanceLogs**\n */\nexport type LogAnalyticsLogType = string;\n\n/** Known values of {@link ContainerGroupSku} that the service accepts. */\nexport enum KnownContainerGroupSku {\n /** Standard */\n Standard = \"Standard\",\n /** Dedicated */\n Dedicated = \"Dedicated\",\n /** Confidential */\n Confidential = \"Confidential\",\n}\n\n/**\n * Defines values for ContainerGroupSku. \\\n * {@link KnownContainerGroupSku} can be used interchangeably with ContainerGroupSku,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Standard** \\\n * **Dedicated** \\\n * **Confidential**\n */\nexport type ContainerGroupSku = string;\n\n/** Known values of {@link ContainerGroupPriority} that the service accepts. */\nexport enum KnownContainerGroupPriority {\n /** Regular */\n Regular = \"Regular\",\n /** Spot */\n Spot = \"Spot\",\n}\n\n/**\n * Defines values for ContainerGroupPriority. \\\n * {@link KnownContainerGroupPriority} can be used interchangeably with ContainerGroupPriority,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Regular** \\\n * **Spot**\n */\nexport type ContainerGroupPriority = string;\n\n/** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */\nexport enum KnownContainerInstanceOperationsOrigin {\n /** User */\n User = \"User\",\n /** System */\n System = \"System\",\n}\n\n/**\n * Defines values for ContainerInstanceOperationsOrigin. \\\n * {@link KnownContainerInstanceOperationsOrigin} can be used interchangeably with ContainerInstanceOperationsOrigin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **System**\n */\nexport type ContainerInstanceOperationsOrigin = string;\n/** Defines values for ResourceIdentityType. */\nexport type ResourceIdentityType =\n | \"SystemAssigned\"\n | \"UserAssigned\"\n | \"SystemAssigned, UserAssigned\"\n | \"None\";\n\n/** Optional parameters. */\nexport interface ContainerGroupsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ContainerGroupsListResponse = ContainerGroupListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ContainerGroupsListByResourceGroupResponse =\n ContainerGroupListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ContainerGroupsGetResponse = ContainerGroup;\n\n/** Optional parameters. */\nexport interface ContainerGroupsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ContainerGroupsCreateOrUpdateResponse = ContainerGroup;\n\n/** Optional parameters. */\nexport interface ContainerGroupsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ContainerGroupsUpdateResponse = ContainerGroup;\n\n/** Optional parameters. */\nexport interface ContainerGroupsDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Contains response data for the delete operation. */\nexport type ContainerGroupsDeleteResponse = ContainerGroup;\n\n/** Optional parameters. */\nexport interface ContainerGroupsRestartOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ContainerGroupsStopOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ContainerGroupsStartOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */\nexport type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = {\n /** The parsed response body. */\n body: string[];\n};\n\n/** Optional parameters. */\nexport interface ContainerGroupsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type ContainerGroupsListNextResponse = ContainerGroupListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ContainerGroupsListByResourceGroupNextResponse =\n ContainerGroupListResult;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface OperationsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type OperationsListNextResponse = OperationListResult;\n\n/** Optional parameters. */\nexport interface LocationListUsageOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listUsage operation. */\nexport type LocationListUsageResponse = UsageListResult;\n\n/** Optional parameters. */\nexport interface LocationListCachedImagesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listCachedImages operation. */\nexport type LocationListCachedImagesResponse = CachedImagesListResult;\n\n/** Optional parameters. */\nexport interface LocationListCapabilitiesOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listCapabilities operation. */\nexport type LocationListCapabilitiesResponse = CapabilitiesListResult;\n\n/** Optional parameters. */\nexport interface LocationListCachedImagesNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listCachedImagesNext operation. */\nexport type LocationListCachedImagesNextResponse = CachedImagesListResult;\n\n/** Optional parameters. */\nexport interface LocationListCapabilitiesNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listCapabilitiesNext operation. */\nexport type LocationListCapabilitiesNextResponse = CapabilitiesListResult;\n\n/** Optional parameters. */\nexport interface ContainersListLogsOptionalParams\n extends coreClient.OperationOptions {\n /** The number of lines to show from the tail of the container instance log. If not provided, all available logs are shown up to 4mb. */\n tail?: number;\n /** If true, adds a timestamp at the beginning of every line of log output. If not provided, defaults to false. */\n timestamps?: boolean;\n}\n\n/** Contains response data for the listLogs operation. */\nexport type ContainersListLogsResponse = Logs;\n\n/** Optional parameters. */\nexport interface ContainersExecuteCommandOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the executeCommand operation. */\nexport type ContainersExecuteCommandResponse = ContainerExecResponse;\n\n/** Optional parameters. */\nexport interface ContainersAttachOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the attach operation. */\nexport type ContainersAttachResponse = ContainerAttachResponse;\n\n/** Optional parameters. */\nexport interface SubnetServiceAssociationLinkDeleteOptionalParams\n extends coreClient.OperationOptions {\n /** Delay to wait until next poll, in milliseconds. */\n updateIntervalInMs?: number;\n /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */\n resumeFrom?: string;\n}\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ContainerGroupProfilesListResponse =\n ContainerGroupProfileListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type ContainerGroupProfilesListByResourceGroupResponse =\n ContainerGroupProfileListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ContainerGroupProfilesGetResponse = ContainerGroupProfile;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ContainerGroupProfilesCreateOrUpdateResponse =\n ContainerGroupProfile;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesPatchOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the patch operation. */\nexport type ContainerGroupProfilesPatchResponse = ContainerGroupProfile;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type ContainerGroupProfilesListNextResponse =\n ContainerGroupProfileListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfilesListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type ContainerGroupProfilesListByResourceGroupNextResponse =\n ContainerGroupProfileListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfileListAllRevisionsOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllRevisions operation. */\nexport type ContainerGroupProfileListAllRevisionsResponse =\n ContainerGroupProfileListResult;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfileGetByRevisionNumberOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getByRevisionNumber operation. */\nexport type ContainerGroupProfileGetByRevisionNumberResponse =\n ContainerGroupProfile;\n\n/** Optional parameters. */\nexport interface ContainerGroupProfileListAllRevisionsNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listAllRevisionsNext operation. */\nexport type ContainerGroupProfileListAllRevisionsNextResponse =\n ContainerGroupProfileListResult;\n\n/** Optional parameters. */\nexport interface ContainerInstanceManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
@@ -2223,14 +2223,20 @@ export const ContainerGroup = {
2223
2223
  type: {
2224
2224
  name: "Composite",
2225
2225
  className: "ContainerGroup",
2226
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), ContainerGroupProperties.type.modelProperties),
2226
+ modelProperties: {
2227
+ ...Resource.type.modelProperties,
2228
+ ...ContainerGroupProperties.type.modelProperties,
2229
+ },
2227
2230
  },
2228
2231
  };
2229
2232
  export const ContainerGroupProfile = {
2230
2233
  type: {
2231
2234
  name: "Composite",
2232
2235
  className: "ContainerGroupProfile",
2233
- modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), ContainerGroupProfileProperties.type.modelProperties),
2236
+ modelProperties: {
2237
+ ...Resource.type.modelProperties,
2238
+ ...ContainerGroupProfileProperties.type.modelProperties,
2239
+ },
2234
2240
  },
2235
2241
  };
2236
2242
  //# sourceMappingURL=mappers.js.map