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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/LICENSE +4 -4
  3. package/README.md +26 -19
  4. package/{dist-esm/src → dist/browser}/containerInstanceManagementClient.d.ts +2 -2
  5. package/dist/browser/containerInstanceManagementClient.d.ts.map +1 -0
  6. package/{dist-esm/src → dist/browser}/containerInstanceManagementClient.js +36 -24
  7. package/dist/browser/containerInstanceManagementClient.js.map +1 -0
  8. package/dist/browser/index.d.ts +5 -0
  9. package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
  10. package/{dist-esm/src → dist/browser}/index.js +4 -4
  11. package/dist/browser/index.js.map +1 -0
  12. package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +1 -1
  13. package/dist/browser/lroImpl.js +18 -0
  14. package/dist/browser/lroImpl.js.map +1 -0
  15. package/dist/browser/models/index.js.map +1 -0
  16. package/{dist-esm/src → dist/browser}/models/mappers.js +8 -2
  17. package/dist/browser/models/mappers.js.map +1 -0
  18. package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
  19. package/dist/browser/models/parameters.js.map +1 -0
  20. package/{dist-esm/src → dist/browser}/operations/containerGroupProfileOperations.d.ts +3 -3
  21. package/dist/browser/operations/containerGroupProfileOperations.d.ts.map +1 -0
  22. package/{dist-esm/src → dist/browser}/operations/containerGroupProfileOperations.js +26 -43
  23. package/dist/browser/operations/containerGroupProfileOperations.js.map +1 -0
  24. package/{dist-esm/src → dist/browser}/operations/containerGroupProfiles.d.ts +3 -3
  25. package/dist/browser/operations/containerGroupProfiles.d.ts.map +1 -0
  26. package/{dist-esm/src → dist/browser}/operations/containerGroupProfiles.js +48 -82
  27. package/dist/browser/operations/containerGroupProfiles.js.map +1 -0
  28. package/{dist-esm/src → dist/browser}/operations/containerGroups.d.ts +3 -3
  29. package/dist/browser/operations/containerGroups.d.ts.map +1 -0
  30. package/{dist-esm/src → dist/browser}/operations/containerGroups.js +213 -243
  31. package/dist/browser/operations/containerGroups.js.map +1 -0
  32. package/{dist-esm/src → dist/browser}/operations/containers.d.ts +3 -3
  33. package/dist/browser/operations/containers.d.ts.map +1 -0
  34. package/{dist-esm/src → dist/browser}/operations/containers.js +3 -2
  35. package/dist/browser/operations/containers.js.map +1 -0
  36. package/dist/browser/operations/index.d.ts +8 -0
  37. package/dist/browser/operations/index.d.ts.map +1 -0
  38. package/dist/browser/operations/index.js +15 -0
  39. package/dist/browser/operations/index.js.map +1 -0
  40. package/{dist-esm/src → dist/browser}/operations/location.d.ts +3 -3
  41. package/dist/browser/operations/location.d.ts.map +1 -0
  42. package/{dist-esm/src → dist/browser}/operations/location.js +57 -108
  43. package/dist/browser/operations/location.js.map +1 -0
  44. package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
  45. package/dist/browser/operations/operations.d.ts.map +1 -0
  46. package/{dist-esm/src → dist/browser}/operations/operations.js +26 -43
  47. package/dist/browser/operations/operations.js.map +1 -0
  48. package/{dist-esm/src → dist/browser}/operations/subnetServiceAssociationLink.d.ts +3 -3
  49. package/dist/browser/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  50. package/dist/browser/operations/subnetServiceAssociationLink.js +109 -0
  51. package/dist/browser/operations/subnetServiceAssociationLink.js.map +1 -0
  52. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfileOperations.d.ts +1 -1
  53. package/dist/browser/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  54. package/dist/browser/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  55. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfiles.d.ts +1 -1
  56. package/dist/browser/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  57. package/dist/browser/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  58. package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroups.d.ts +1 -1
  59. package/dist/browser/operationsInterfaces/containerGroups.d.ts.map +1 -0
  60. package/dist/browser/operationsInterfaces/containerGroups.js.map +1 -0
  61. package/{dist-esm/src → dist/browser}/operationsInterfaces/containers.d.ts +1 -1
  62. package/dist/browser/operationsInterfaces/containers.d.ts.map +1 -0
  63. package/dist/browser/operationsInterfaces/containers.js.map +1 -0
  64. package/dist/browser/operationsInterfaces/index.d.ts +8 -0
  65. package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
  66. package/dist/browser/operationsInterfaces/index.js +15 -0
  67. package/dist/browser/operationsInterfaces/index.js.map +1 -0
  68. package/{dist-esm/src → dist/browser}/operationsInterfaces/location.d.ts +1 -1
  69. package/dist/browser/operationsInterfaces/location.d.ts.map +1 -0
  70. package/dist/browser/operationsInterfaces/location.js.map +1 -0
  71. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
  72. package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
  73. package/dist/browser/operationsInterfaces/operations.js.map +1 -0
  74. package/{dist-esm/src → dist/browser}/operationsInterfaces/subnetServiceAssociationLink.d.ts +1 -1
  75. package/dist/browser/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  76. package/dist/browser/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  77. package/dist/browser/package.json +3 -0
  78. package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
  79. package/dist/browser/pagingHelper.js.map +1 -0
  80. package/dist/commonjs/containerInstanceManagementClient.d.ts +26 -0
  81. package/dist/commonjs/containerInstanceManagementClient.d.ts.map +1 -0
  82. package/dist/commonjs/containerInstanceManagementClient.js +124 -0
  83. package/dist/commonjs/containerInstanceManagementClient.js.map +1 -0
  84. package/dist/commonjs/index.d.ts +5 -0
  85. package/dist/commonjs/index.d.ts.map +1 -0
  86. package/dist/commonjs/index.js +19 -0
  87. package/dist/commonjs/index.js.map +1 -0
  88. package/dist/commonjs/lroImpl.d.ts +11 -0
  89. package/dist/commonjs/lroImpl.d.ts.map +1 -0
  90. package/dist/commonjs/lroImpl.js +21 -0
  91. package/dist/commonjs/lroImpl.js.map +1 -0
  92. package/{types/arm-containerinstance.d.ts → dist/commonjs/models/index.d.ts} +1242 -1711
  93. package/dist/commonjs/models/index.d.ts.map +1 -0
  94. package/dist/commonjs/models/index.js +119 -0
  95. package/dist/commonjs/models/index.js.map +1 -0
  96. package/dist/commonjs/models/mappers.d.ts +66 -0
  97. package/dist/commonjs/models/mappers.d.ts.map +1 -0
  98. package/dist/commonjs/models/mappers.js +2246 -0
  99. package/dist/commonjs/models/mappers.js.map +1 -0
  100. package/dist/commonjs/models/parameters.d.ts +23 -0
  101. package/dist/commonjs/models/parameters.d.ts.map +1 -0
  102. package/dist/commonjs/models/parameters.js +207 -0
  103. package/dist/commonjs/models/parameters.js.map +1 -0
  104. package/dist/commonjs/operations/containerGroupProfileOperations.d.ts +55 -0
  105. package/dist/commonjs/operations/containerGroupProfileOperations.d.ts.map +1 -0
  106. package/dist/commonjs/operations/containerGroupProfileOperations.js +179 -0
  107. package/dist/commonjs/operations/containerGroupProfileOperations.js.map +1 -0
  108. package/dist/commonjs/operations/containerGroupProfiles.d.ts +95 -0
  109. package/dist/commonjs/operations/containerGroupProfiles.d.ts.map +1 -0
  110. package/dist/commonjs/operations/containerGroupProfiles.js +372 -0
  111. package/dist/commonjs/operations/containerGroupProfiles.js.map +1 -0
  112. package/dist/commonjs/operations/containerGroups.d.ts +159 -0
  113. package/dist/commonjs/operations/containerGroups.d.ts.map +1 -0
  114. package/dist/commonjs/operations/containerGroups.js +702 -0
  115. package/dist/commonjs/operations/containerGroups.js.map +1 -0
  116. package/dist/commonjs/operations/containers.d.ts +40 -0
  117. package/dist/commonjs/operations/containers.d.ts.map +1 -0
  118. package/dist/commonjs/operations/containers.js +140 -0
  119. package/dist/commonjs/operations/containers.js.map +1 -0
  120. package/dist/commonjs/operations/index.d.ts +8 -0
  121. package/dist/commonjs/operations/index.d.ts.map +1 -0
  122. package/dist/commonjs/operations/index.js +18 -0
  123. package/dist/commonjs/operations/index.js.map +1 -0
  124. package/dist/commonjs/operations/location.d.ts +70 -0
  125. package/dist/commonjs/operations/location.d.ts.map +1 -0
  126. package/dist/commonjs/operations/location.js +295 -0
  127. package/dist/commonjs/operations/location.js.map +1 -0
  128. package/dist/commonjs/operations/operations.d.ts +32 -0
  129. package/dist/commonjs/operations/operations.d.ts.map +1 -0
  130. package/dist/commonjs/operations/operations.js +121 -0
  131. package/dist/commonjs/operations/operations.js.map +1 -0
  132. package/dist/commonjs/operations/subnetServiceAssociationLink.d.ts +32 -0
  133. package/dist/commonjs/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  134. package/dist/commonjs/operations/subnetServiceAssociationLink.js +114 -0
  135. package/dist/commonjs/operations/subnetServiceAssociationLink.js.map +1 -0
  136. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  137. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  138. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.js +10 -0
  139. package/dist/commonjs/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  140. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  141. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  142. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.js +10 -0
  143. package/dist/commonjs/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  144. package/dist/commonjs/operationsInterfaces/containerGroups.d.ts +119 -0
  145. package/dist/commonjs/operationsInterfaces/containerGroups.d.ts.map +1 -0
  146. package/dist/commonjs/operationsInterfaces/containerGroups.js +10 -0
  147. package/dist/commonjs/operationsInterfaces/containerGroups.js.map +1 -0
  148. package/dist/commonjs/operationsInterfaces/containers.d.ts +32 -0
  149. package/dist/commonjs/operationsInterfaces/containers.d.ts.map +1 -0
  150. package/dist/commonjs/operationsInterfaces/containers.js +10 -0
  151. package/dist/commonjs/operationsInterfaces/containers.js.map +1 -0
  152. package/dist/commonjs/operationsInterfaces/index.d.ts +8 -0
  153. package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
  154. package/dist/commonjs/operationsInterfaces/index.js +18 -0
  155. package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
  156. package/dist/commonjs/operationsInterfaces/location.d.ts +24 -0
  157. package/dist/commonjs/operationsInterfaces/location.d.ts.map +1 -0
  158. package/dist/commonjs/operationsInterfaces/location.js +10 -0
  159. package/dist/commonjs/operationsInterfaces/location.js.map +1 -0
  160. package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
  161. package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
  162. package/dist/commonjs/operationsInterfaces/operations.js +10 -0
  163. package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
  164. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
  165. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  166. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.js +10 -0
  167. package/dist/commonjs/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  168. package/dist/commonjs/package.json +3 -0
  169. package/dist/commonjs/pagingHelper.d.ts +13 -0
  170. package/dist/commonjs/pagingHelper.d.ts.map +1 -0
  171. package/dist/commonjs/pagingHelper.js +34 -0
  172. package/dist/commonjs/pagingHelper.js.map +1 -0
  173. package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
  174. package/dist/esm/containerInstanceManagementClient.d.ts +26 -0
  175. package/dist/esm/containerInstanceManagementClient.d.ts.map +1 -0
  176. package/dist/esm/containerInstanceManagementClient.js +119 -0
  177. package/dist/esm/containerInstanceManagementClient.js.map +1 -0
  178. package/dist/esm/index.d.ts +5 -0
  179. package/dist/esm/index.d.ts.map +1 -0
  180. package/{src/index.ts → dist/esm/index.js} +5 -5
  181. package/dist/esm/index.js.map +1 -0
  182. package/dist/esm/lroImpl.d.ts +11 -0
  183. package/dist/esm/lroImpl.d.ts.map +1 -0
  184. package/dist/esm/lroImpl.js +18 -0
  185. package/dist/esm/lroImpl.js.map +1 -0
  186. package/dist/esm/models/index.d.ts +1242 -0
  187. package/dist/esm/models/index.d.ts.map +1 -0
  188. package/dist/esm/models/index.js +116 -0
  189. package/dist/esm/models/index.js.map +1 -0
  190. package/dist/esm/models/mappers.d.ts +66 -0
  191. package/dist/esm/models/mappers.d.ts.map +1 -0
  192. package/dist/esm/models/mappers.js +2242 -0
  193. package/dist/esm/models/mappers.js.map +1 -0
  194. package/dist/esm/models/parameters.d.ts +23 -0
  195. package/dist/esm/models/parameters.d.ts.map +1 -0
  196. package/dist/esm/models/parameters.js +204 -0
  197. package/dist/esm/models/parameters.js.map +1 -0
  198. package/dist/esm/operations/containerGroupProfileOperations.d.ts +55 -0
  199. package/dist/esm/operations/containerGroupProfileOperations.d.ts.map +1 -0
  200. package/dist/esm/operations/containerGroupProfileOperations.js +174 -0
  201. package/dist/esm/operations/containerGroupProfileOperations.js.map +1 -0
  202. package/dist/esm/operations/containerGroupProfiles.d.ts +95 -0
  203. package/dist/esm/operations/containerGroupProfiles.d.ts.map +1 -0
  204. package/dist/esm/operations/containerGroupProfiles.js +367 -0
  205. package/dist/esm/operations/containerGroupProfiles.js.map +1 -0
  206. package/dist/esm/operations/containerGroups.d.ts +159 -0
  207. package/dist/esm/operations/containerGroups.d.ts.map +1 -0
  208. package/dist/esm/operations/containerGroups.js +697 -0
  209. package/dist/esm/operations/containerGroups.js.map +1 -0
  210. package/dist/esm/operations/containers.d.ts +40 -0
  211. package/dist/esm/operations/containers.d.ts.map +1 -0
  212. package/dist/esm/operations/containers.js +135 -0
  213. package/dist/esm/operations/containers.js.map +1 -0
  214. package/dist/esm/operations/index.d.ts +8 -0
  215. package/dist/esm/operations/index.d.ts.map +1 -0
  216. package/dist/esm/operations/index.js +15 -0
  217. package/dist/esm/operations/index.js.map +1 -0
  218. package/dist/esm/operations/location.d.ts +70 -0
  219. package/dist/esm/operations/location.d.ts.map +1 -0
  220. package/dist/esm/operations/location.js +290 -0
  221. package/dist/esm/operations/location.js.map +1 -0
  222. package/dist/esm/operations/operations.d.ts +32 -0
  223. package/dist/esm/operations/operations.d.ts.map +1 -0
  224. package/dist/esm/operations/operations.js +116 -0
  225. package/dist/esm/operations/operations.js.map +1 -0
  226. package/dist/esm/operations/subnetServiceAssociationLink.d.ts +32 -0
  227. package/dist/esm/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  228. package/dist/esm/operations/subnetServiceAssociationLink.js +109 -0
  229. package/dist/esm/operations/subnetServiceAssociationLink.js.map +1 -0
  230. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  231. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  232. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.js +9 -0
  233. package/dist/esm/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  234. package/dist/esm/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  235. package/dist/esm/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  236. package/dist/esm/operationsInterfaces/containerGroupProfiles.js +9 -0
  237. package/dist/esm/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  238. package/dist/esm/operationsInterfaces/containerGroups.d.ts +119 -0
  239. package/dist/esm/operationsInterfaces/containerGroups.d.ts.map +1 -0
  240. package/dist/esm/operationsInterfaces/containerGroups.js +9 -0
  241. package/dist/esm/operationsInterfaces/containerGroups.js.map +1 -0
  242. package/dist/esm/operationsInterfaces/containers.d.ts +32 -0
  243. package/dist/esm/operationsInterfaces/containers.d.ts.map +1 -0
  244. package/dist/esm/operationsInterfaces/containers.js +9 -0
  245. package/dist/esm/operationsInterfaces/containers.js.map +1 -0
  246. package/dist/esm/operationsInterfaces/index.d.ts +8 -0
  247. package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
  248. package/dist/esm/operationsInterfaces/index.js +15 -0
  249. package/dist/esm/operationsInterfaces/index.js.map +1 -0
  250. package/dist/esm/operationsInterfaces/location.d.ts +24 -0
  251. package/dist/esm/operationsInterfaces/location.d.ts.map +1 -0
  252. package/dist/esm/operationsInterfaces/location.js +9 -0
  253. package/dist/esm/operationsInterfaces/location.js.map +1 -0
  254. package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
  255. package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
  256. package/dist/esm/operationsInterfaces/operations.js +9 -0
  257. package/dist/esm/operationsInterfaces/operations.js.map +1 -0
  258. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
  259. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  260. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.js +9 -0
  261. package/dist/esm/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  262. package/dist/esm/package.json +3 -0
  263. package/dist/esm/pagingHelper.d.ts +13 -0
  264. package/dist/esm/pagingHelper.d.ts.map +1 -0
  265. package/dist/esm/pagingHelper.js +30 -0
  266. package/dist/esm/pagingHelper.js.map +1 -0
  267. package/dist/react-native/containerInstanceManagementClient.d.ts +26 -0
  268. package/dist/react-native/containerInstanceManagementClient.d.ts.map +1 -0
  269. package/dist/react-native/containerInstanceManagementClient.js +119 -0
  270. package/dist/react-native/containerInstanceManagementClient.js.map +1 -0
  271. package/dist/react-native/index.d.ts +5 -0
  272. package/dist/react-native/index.d.ts.map +1 -0
  273. package/dist/react-native/index.js +13 -0
  274. package/dist/react-native/index.js.map +1 -0
  275. package/dist/react-native/lroImpl.d.ts +11 -0
  276. package/dist/react-native/lroImpl.d.ts.map +1 -0
  277. package/dist/react-native/lroImpl.js +18 -0
  278. package/dist/react-native/lroImpl.js.map +1 -0
  279. package/dist/react-native/models/index.d.ts +1242 -0
  280. package/dist/react-native/models/index.d.ts.map +1 -0
  281. package/dist/react-native/models/index.js +116 -0
  282. package/dist/react-native/models/index.js.map +1 -0
  283. package/dist/react-native/models/mappers.d.ts +66 -0
  284. package/dist/react-native/models/mappers.d.ts.map +1 -0
  285. package/dist/react-native/models/mappers.js +2242 -0
  286. package/dist/react-native/models/mappers.js.map +1 -0
  287. package/dist/react-native/models/parameters.d.ts +23 -0
  288. package/dist/react-native/models/parameters.d.ts.map +1 -0
  289. package/dist/react-native/models/parameters.js +204 -0
  290. package/dist/react-native/models/parameters.js.map +1 -0
  291. package/dist/react-native/operations/containerGroupProfileOperations.d.ts +55 -0
  292. package/dist/react-native/operations/containerGroupProfileOperations.d.ts.map +1 -0
  293. package/dist/react-native/operations/containerGroupProfileOperations.js +174 -0
  294. package/dist/react-native/operations/containerGroupProfileOperations.js.map +1 -0
  295. package/dist/react-native/operations/containerGroupProfiles.d.ts +95 -0
  296. package/dist/react-native/operations/containerGroupProfiles.d.ts.map +1 -0
  297. package/dist/react-native/operations/containerGroupProfiles.js +367 -0
  298. package/dist/react-native/operations/containerGroupProfiles.js.map +1 -0
  299. package/dist/react-native/operations/containerGroups.d.ts +159 -0
  300. package/dist/react-native/operations/containerGroups.d.ts.map +1 -0
  301. package/dist/react-native/operations/containerGroups.js +697 -0
  302. package/dist/react-native/operations/containerGroups.js.map +1 -0
  303. package/dist/react-native/operations/containers.d.ts +40 -0
  304. package/dist/react-native/operations/containers.d.ts.map +1 -0
  305. package/dist/react-native/operations/containers.js +135 -0
  306. package/dist/react-native/operations/containers.js.map +1 -0
  307. package/dist/react-native/operations/index.d.ts +8 -0
  308. package/dist/react-native/operations/index.d.ts.map +1 -0
  309. package/dist/react-native/operations/index.js +15 -0
  310. package/dist/react-native/operations/index.js.map +1 -0
  311. package/dist/react-native/operations/location.d.ts +70 -0
  312. package/dist/react-native/operations/location.d.ts.map +1 -0
  313. package/dist/react-native/operations/location.js +290 -0
  314. package/dist/react-native/operations/location.js.map +1 -0
  315. package/dist/react-native/operations/operations.d.ts +32 -0
  316. package/dist/react-native/operations/operations.d.ts.map +1 -0
  317. package/dist/react-native/operations/operations.js +116 -0
  318. package/dist/react-native/operations/operations.js.map +1 -0
  319. package/dist/react-native/operations/subnetServiceAssociationLink.d.ts +32 -0
  320. package/dist/react-native/operations/subnetServiceAssociationLink.d.ts.map +1 -0
  321. package/dist/react-native/operations/subnetServiceAssociationLink.js +109 -0
  322. package/dist/react-native/operations/subnetServiceAssociationLink.js.map +1 -0
  323. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.d.ts +27 -0
  324. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.d.ts.map +1 -0
  325. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.js +9 -0
  326. package/dist/react-native/operationsInterfaces/containerGroupProfileOperations.js.map +1 -0
  327. package/dist/react-native/operationsInterfaces/containerGroupProfiles.d.ts +55 -0
  328. package/dist/react-native/operationsInterfaces/containerGroupProfiles.d.ts.map +1 -0
  329. package/dist/react-native/operationsInterfaces/containerGroupProfiles.js +9 -0
  330. package/dist/react-native/operationsInterfaces/containerGroupProfiles.js.map +1 -0
  331. package/dist/react-native/operationsInterfaces/containerGroups.d.ts +119 -0
  332. package/dist/react-native/operationsInterfaces/containerGroups.d.ts.map +1 -0
  333. package/dist/react-native/operationsInterfaces/containerGroups.js +9 -0
  334. package/dist/react-native/operationsInterfaces/containerGroups.js.map +1 -0
  335. package/dist/react-native/operationsInterfaces/containers.d.ts +32 -0
  336. package/dist/react-native/operationsInterfaces/containers.d.ts.map +1 -0
  337. package/dist/react-native/operationsInterfaces/containers.js +9 -0
  338. package/dist/react-native/operationsInterfaces/containers.js.map +1 -0
  339. package/dist/react-native/operationsInterfaces/index.d.ts +8 -0
  340. package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
  341. package/dist/react-native/operationsInterfaces/index.js +15 -0
  342. package/dist/react-native/operationsInterfaces/index.js.map +1 -0
  343. package/dist/react-native/operationsInterfaces/location.d.ts +24 -0
  344. package/dist/react-native/operationsInterfaces/location.d.ts.map +1 -0
  345. package/dist/react-native/operationsInterfaces/location.js +9 -0
  346. package/dist/react-native/operationsInterfaces/location.js.map +1 -0
  347. package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
  348. package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
  349. package/dist/react-native/operationsInterfaces/operations.js +9 -0
  350. package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
  351. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.d.ts +24 -0
  352. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +1 -0
  353. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.js +9 -0
  354. package/dist/react-native/operationsInterfaces/subnetServiceAssociationLink.js.map +1 -0
  355. package/dist/react-native/package.json +3 -0
  356. package/dist/react-native/pagingHelper.d.ts +13 -0
  357. package/dist/react-native/pagingHelper.d.ts.map +1 -0
  358. package/dist/react-native/pagingHelper.js +30 -0
  359. package/dist/react-native/pagingHelper.js.map +1 -0
  360. package/package.json +86 -69
  361. package/review/{arm-containerinstance.api.md → arm-containerinstance-node.api.md} +2 -3
  362. package/dist/index.js +0 -4809
  363. package/dist/index.js.map +0 -1
  364. package/dist/index.min.js +0 -1
  365. package/dist/index.min.js.map +0 -1
  366. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts +0 -2
  367. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.d.ts.map +0 -1
  368. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js +0 -40
  369. package/dist-esm/samples-dev/containerGroupProfileGetByRevisionNumberSample.js.map +0 -1
  370. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts +0 -2
  371. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.d.ts.map +0 -1
  372. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js +0 -55
  373. package/dist-esm/samples-dev/containerGroupProfileListAllRevisionsSample.js.map +0 -1
  374. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts +0 -2
  375. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.d.ts.map +0 -1
  376. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js +0 -260
  377. package/dist-esm/samples-dev/containerGroupProfilesCreateOrUpdateSample.js.map +0 -1
  378. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts +0 -2
  379. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.d.ts.map +0 -1
  380. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js +0 -39
  381. package/dist-esm/samples-dev/containerGroupProfilesDeleteSample.js.map +0 -1
  382. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts +0 -2
  383. package/dist-esm/samples-dev/containerGroupProfilesGetSample.d.ts.map +0 -1
  384. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js +0 -58
  385. package/dist-esm/samples-dev/containerGroupProfilesGetSample.js.map +0 -1
  386. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts +0 -2
  387. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.d.ts.map +0 -1
  388. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js +0 -54
  389. package/dist-esm/samples-dev/containerGroupProfilesListByResourceGroupSample.js.map +0 -1
  390. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts +0 -2
  391. package/dist-esm/samples-dev/containerGroupProfilesListSample.d.ts.map +0 -1
  392. package/dist-esm/samples-dev/containerGroupProfilesListSample.js +0 -53
  393. package/dist-esm/samples-dev/containerGroupProfilesListSample.js.map +0 -1
  394. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts +0 -2
  395. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.d.ts.map +0 -1
  396. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js +0 -42
  397. package/dist-esm/samples-dev/containerGroupProfilesPatchSample.js.map +0 -1
  398. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts +0 -2
  399. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.d.ts.map +0 -1
  400. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js +0 -320
  401. package/dist-esm/samples-dev/containerGroupsCreateOrUpdateSample.js.map +0 -1
  402. package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts +0 -2
  403. package/dist-esm/samples-dev/containerGroupsDeleteSample.d.ts.map +0 -1
  404. package/dist-esm/samples-dev/containerGroupsDeleteSample.js +0 -39
  405. package/dist-esm/samples-dev/containerGroupsDeleteSample.js.map +0 -1
  406. package/dist-esm/samples-dev/containerGroupsGetSample.d.ts +0 -2
  407. package/dist-esm/samples-dev/containerGroupsGetSample.d.ts.map +0 -1
  408. package/dist-esm/samples-dev/containerGroupsGetSample.js +0 -77
  409. package/dist-esm/samples-dev/containerGroupsGetSample.js.map +0 -1
  410. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts +0 -2
  411. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.d.ts.map +0 -1
  412. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js +0 -54
  413. package/dist-esm/samples-dev/containerGroupsListByResourceGroupSample.js.map +0 -1
  414. package/dist-esm/samples-dev/containerGroupsListSample.d.ts +0 -2
  415. package/dist-esm/samples-dev/containerGroupsListSample.d.ts.map +0 -1
  416. package/dist-esm/samples-dev/containerGroupsListSample.js +0 -53
  417. package/dist-esm/samples-dev/containerGroupsListSample.js.map +0 -1
  418. package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts +0 -2
  419. package/dist-esm/samples-dev/containerGroupsRestartSample.d.ts.map +0 -1
  420. package/dist-esm/samples-dev/containerGroupsRestartSample.js +0 -39
  421. package/dist-esm/samples-dev/containerGroupsRestartSample.js.map +0 -1
  422. package/dist-esm/samples-dev/containerGroupsStartSample.d.ts +0 -2
  423. package/dist-esm/samples-dev/containerGroupsStartSample.d.ts.map +0 -1
  424. package/dist-esm/samples-dev/containerGroupsStartSample.js +0 -39
  425. package/dist-esm/samples-dev/containerGroupsStartSample.js.map +0 -1
  426. package/dist-esm/samples-dev/containerGroupsStopSample.d.ts +0 -2
  427. package/dist-esm/samples-dev/containerGroupsStopSample.d.ts.map +0 -1
  428. package/dist-esm/samples-dev/containerGroupsStopSample.js +0 -39
  429. package/dist-esm/samples-dev/containerGroupsStopSample.js.map +0 -1
  430. package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts +0 -2
  431. package/dist-esm/samples-dev/containerGroupsUpdateSample.d.ts.map +0 -1
  432. package/dist-esm/samples-dev/containerGroupsUpdateSample.js +0 -42
  433. package/dist-esm/samples-dev/containerGroupsUpdateSample.js.map +0 -1
  434. package/dist-esm/samples-dev/containersAttachSample.d.ts +0 -2
  435. package/dist-esm/samples-dev/containersAttachSample.d.ts.map +0 -1
  436. package/dist-esm/samples-dev/containersAttachSample.js +0 -40
  437. package/dist-esm/samples-dev/containersAttachSample.js.map +0 -1
  438. package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts +0 -2
  439. package/dist-esm/samples-dev/containersExecuteCommandSample.d.ts.map +0 -1
  440. package/dist-esm/samples-dev/containersExecuteCommandSample.js +0 -44
  441. package/dist-esm/samples-dev/containersExecuteCommandSample.js.map +0 -1
  442. package/dist-esm/samples-dev/containersListLogsSample.d.ts +0 -2
  443. package/dist-esm/samples-dev/containersListLogsSample.d.ts.map +0 -1
  444. package/dist-esm/samples-dev/containersListLogsSample.js +0 -42
  445. package/dist-esm/samples-dev/containersListLogsSample.js.map +0 -1
  446. package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts +0 -2
  447. package/dist-esm/samples-dev/locationListCachedImagesSample.d.ts.map +0 -1
  448. package/dist-esm/samples-dev/locationListCachedImagesSample.js +0 -54
  449. package/dist-esm/samples-dev/locationListCachedImagesSample.js.map +0 -1
  450. package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts +0 -2
  451. package/dist-esm/samples-dev/locationListCapabilitiesSample.d.ts.map +0 -1
  452. package/dist-esm/samples-dev/locationListCapabilitiesSample.js +0 -54
  453. package/dist-esm/samples-dev/locationListCapabilitiesSample.js.map +0 -1
  454. package/dist-esm/samples-dev/locationListUsageSample.d.ts +0 -2
  455. package/dist-esm/samples-dev/locationListUsageSample.d.ts.map +0 -1
  456. package/dist-esm/samples-dev/locationListUsageSample.js +0 -54
  457. package/dist-esm/samples-dev/locationListUsageSample.js.map +0 -1
  458. package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
  459. package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
  460. package/dist-esm/samples-dev/operationsListSample.js +0 -53
  461. package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
  462. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts +0 -2
  463. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.d.ts.map +0 -1
  464. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js +0 -40
  465. package/dist-esm/samples-dev/subnetServiceAssociationLinkDeleteSample.js.map +0 -1
  466. package/dist-esm/src/containerInstanceManagementClient.d.ts.map +0 -1
  467. package/dist-esm/src/containerInstanceManagementClient.js.map +0 -1
  468. package/dist-esm/src/index.d.ts +0 -5
  469. package/dist-esm/src/index.js.map +0 -1
  470. package/dist-esm/src/lroImpl.js +0 -21
  471. package/dist-esm/src/lroImpl.js.map +0 -1
  472. package/dist-esm/src/models/index.js.map +0 -1
  473. package/dist-esm/src/models/mappers.js.map +0 -1
  474. package/dist-esm/src/models/parameters.js.map +0 -1
  475. package/dist-esm/src/operations/containerGroupProfileOperations.d.ts.map +0 -1
  476. package/dist-esm/src/operations/containerGroupProfileOperations.js.map +0 -1
  477. package/dist-esm/src/operations/containerGroupProfiles.d.ts.map +0 -1
  478. package/dist-esm/src/operations/containerGroupProfiles.js.map +0 -1
  479. package/dist-esm/src/operations/containerGroups.d.ts.map +0 -1
  480. package/dist-esm/src/operations/containerGroups.js.map +0 -1
  481. package/dist-esm/src/operations/containers.d.ts.map +0 -1
  482. package/dist-esm/src/operations/containers.js.map +0 -1
  483. package/dist-esm/src/operations/index.d.ts +0 -8
  484. package/dist-esm/src/operations/index.d.ts.map +0 -1
  485. package/dist-esm/src/operations/index.js +0 -15
  486. package/dist-esm/src/operations/index.js.map +0 -1
  487. package/dist-esm/src/operations/location.d.ts.map +0 -1
  488. package/dist-esm/src/operations/location.js.map +0 -1
  489. package/dist-esm/src/operations/operations.d.ts.map +0 -1
  490. package/dist-esm/src/operations/operations.js.map +0 -1
  491. package/dist-esm/src/operations/subnetServiceAssociationLink.d.ts.map +0 -1
  492. package/dist-esm/src/operations/subnetServiceAssociationLink.js +0 -108
  493. package/dist-esm/src/operations/subnetServiceAssociationLink.js.map +0 -1
  494. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.d.ts.map +0 -1
  495. package/dist-esm/src/operationsInterfaces/containerGroupProfileOperations.js.map +0 -1
  496. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.d.ts.map +0 -1
  497. package/dist-esm/src/operationsInterfaces/containerGroupProfiles.js.map +0 -1
  498. package/dist-esm/src/operationsInterfaces/containerGroups.d.ts.map +0 -1
  499. package/dist-esm/src/operationsInterfaces/containerGroups.js.map +0 -1
  500. package/dist-esm/src/operationsInterfaces/containers.d.ts.map +0 -1
  501. package/dist-esm/src/operationsInterfaces/containers.js.map +0 -1
  502. package/dist-esm/src/operationsInterfaces/index.d.ts +0 -8
  503. package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
  504. package/dist-esm/src/operationsInterfaces/index.js +0 -15
  505. package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
  506. package/dist-esm/src/operationsInterfaces/location.d.ts.map +0 -1
  507. package/dist-esm/src/operationsInterfaces/location.js.map +0 -1
  508. package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
  509. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.d.ts.map +0 -1
  510. package/dist-esm/src/operationsInterfaces/subnetServiceAssociationLink.js.map +0 -1
  511. package/dist-esm/src/pagingHelper.js.map +0 -1
  512. package/dist-esm/test/containerinstance_examples.d.ts +0 -4
  513. package/dist-esm/test/containerinstance_examples.d.ts.map +0 -1
  514. package/dist-esm/test/containerinstance_examples.js +0 -159
  515. package/dist-esm/test/containerinstance_examples.js.map +0 -1
  516. package/src/containerInstanceManagementClient.ts +0 -172
  517. package/src/lroImpl.ts +0 -42
  518. package/src/models/index.ts +0 -1410
  519. package/src/models/mappers.ts +0 -2311
  520. package/src/models/parameters.ts +0 -236
  521. package/src/operations/containerGroupProfileOperations.ts +0 -255
  522. package/src/operations/containerGroupProfiles.ts +0 -485
  523. package/src/operations/containerGroups.ts +0 -944
  524. package/src/operations/containers.ts +0 -177
  525. package/src/operations/index.ts +0 -15
  526. package/src/operations/location.ts +0 -401
  527. package/src/operations/operations.ts +0 -149
  528. package/src/operations/subnetServiceAssociationLink.ts +0 -149
  529. package/src/operationsInterfaces/containerGroupProfileOperations.ts +0 -50
  530. package/src/operationsInterfaces/containerGroupProfiles.ts +0 -99
  531. package/src/operationsInterfaces/containerGroups.ts +0 -212
  532. package/src/operationsInterfaces/containers.ts +0 -64
  533. package/src/operationsInterfaces/index.ts +0 -15
  534. package/src/operationsInterfaces/location.ts +0 -49
  535. package/src/operationsInterfaces/operations.ts +0 -22
  536. package/src/operationsInterfaces/subnetServiceAssociationLink.ts +0 -42
  537. package/src/pagingHelper.ts +0 -39
  538. package/tsconfig.json +0 -33
  539. /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
  540. /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
  541. /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
  542. /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
  543. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
  544. /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
  545. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
  546. /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
  547. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfileOperations.js +0 -0
  548. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroupProfiles.js +0 -0
  549. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containerGroups.js +0 -0
  550. /package/{dist-esm/src → dist/browser}/operationsInterfaces/containers.js +0 -0
  551. /package/{dist-esm/src → dist/browser}/operationsInterfaces/location.js +0 -0
  552. /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
  553. /package/{dist-esm/src → dist/browser}/operationsInterfaces/subnetServiceAssociationLink.js +0 -0
  554. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
  555. /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
@@ -1,1711 +1,1242 @@
1
- import * as coreAuth from '@azure/core-auth';
2
- import * as coreClient from '@azure/core-client';
3
- import { OperationState } from '@azure/core-lro';
4
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
- import { SimplePollerLike } from '@azure/core-lro';
6
-
7
- /** The properties of the Azure File volume. Azure File shares are mounted as volumes. */
8
- export declare interface AzureFileVolume {
9
- /** The name of the Azure File share to be mounted as a volume. */
10
- shareName: string;
11
- /** The flag indicating whether the Azure File shared mounted as a volume is read-only. */
12
- readOnly?: boolean;
13
- /** The name of the storage account that contains the Azure File share. */
14
- storageAccountName: string;
15
- /** The storage account access key used to access the Azure File share. */
16
- storageAccountKey?: string;
17
- }
18
-
19
- /** The cached image and OS type. */
20
- export declare interface CachedImages {
21
- /** The OS type of the cached image. */
22
- osType: string;
23
- /** The cached image name. */
24
- image: string;
25
- }
26
-
27
- /** The response containing cached images. */
28
- export declare interface CachedImagesListResult {
29
- /** The list of cached images. */
30
- value?: CachedImages[];
31
- /** The URI to fetch the next page of cached images. */
32
- nextLink?: string;
33
- }
34
-
35
- /** The regional capabilities. */
36
- export declare interface Capabilities {
37
- /**
38
- * The resource type that this capability describes.
39
- * NOTE: This property will not be serialized. It can only be populated by the server.
40
- */
41
- readonly resourceType?: string;
42
- /**
43
- * The OS type that this capability describes.
44
- * NOTE: This property will not be serialized. It can only be populated by the server.
45
- */
46
- readonly osType?: string;
47
- /**
48
- * The resource location.
49
- * NOTE: This property will not be serialized. It can only be populated by the server.
50
- */
51
- readonly location?: string;
52
- /**
53
- * The ip address type that this capability describes.
54
- * NOTE: This property will not be serialized. It can only be populated by the server.
55
- */
56
- readonly ipAddressType?: string;
57
- /**
58
- * The GPU sku that this capability describes.
59
- * NOTE: This property will not be serialized. It can only be populated by the server.
60
- */
61
- readonly gpu?: string;
62
- /**
63
- * The supported capabilities.
64
- * NOTE: This property will not be serialized. It can only be populated by the server.
65
- */
66
- readonly capabilities?: CapabilitiesCapabilities;
67
- }
68
-
69
- /** The supported capabilities. */
70
- export declare interface CapabilitiesCapabilities {
71
- /**
72
- * The maximum allowed memory request in GB.
73
- * NOTE: This property will not be serialized. It can only be populated by the server.
74
- */
75
- readonly maxMemoryInGB?: number;
76
- /**
77
- * The maximum allowed CPU request in cores.
78
- * NOTE: This property will not be serialized. It can only be populated by the server.
79
- */
80
- readonly maxCpu?: number;
81
- /**
82
- * The maximum allowed GPU count.
83
- * NOTE: This property will not be serialized. It can only be populated by the server.
84
- */
85
- readonly maxGpuCount?: number;
86
- }
87
-
88
- /** The response containing list of capabilities. */
89
- export declare interface CapabilitiesListResult {
90
- /** The list of capabilities. */
91
- value?: Capabilities[];
92
- /** The URI to fetch the next page of capabilities. */
93
- nextLink?: string;
94
- }
95
-
96
- /** An error response from the Container Instance service. */
97
- export declare interface CloudError {
98
- /** An error response from the Container Instance service. */
99
- error?: CloudErrorBody;
100
- }
101
-
102
- /** An error response from the Container Instance service. */
103
- export declare interface CloudErrorBody {
104
- /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
105
- code?: string;
106
- /** A message describing the error, intended to be suitable for display in a user interface. */
107
- message?: string;
108
- /** The target of the particular error. For example, the name of the property in error. */
109
- target?: string;
110
- /** A list of additional details about the error. */
111
- details?: CloudErrorBody[];
112
- }
113
-
114
- /** The properties for confidential container group */
115
- export declare interface ConfidentialComputeProperties {
116
- /** The base64 encoded confidential compute enforcement policy */
117
- ccePolicy?: string;
118
- }
119
-
120
- /** The container config map. */
121
- export declare interface ConfigMap {
122
- /** The key value pairs dictionary in the config map. */
123
- keyValuePairs?: {
124
- [propertyName: string]: string;
125
- };
126
- }
127
-
128
- /** A container instance. */
129
- export declare interface Container {
130
- /** The user-provided name of the container instance. */
131
- name: string;
132
- /** The name of the image used to create the container instance. */
133
- image?: string;
134
- /** The commands to execute within the container instance in exec form. */
135
- command?: string[];
136
- /** The exposed ports on the container instance. */
137
- ports?: ContainerPort[];
138
- /** The environment variables to set in the container instance. */
139
- environmentVariables?: EnvironmentVariable[];
140
- /**
141
- * The instance view of the container instance. Only valid in response.
142
- * NOTE: This property will not be serialized. It can only be populated by the server.
143
- */
144
- readonly instanceView?: ContainerPropertiesInstanceView;
145
- /** The resource requirements of the container instance. */
146
- resources?: ResourceRequirements;
147
- /** The volume mounts available to the container instance. */
148
- volumeMounts?: VolumeMount[];
149
- /** The liveness probe. */
150
- livenessProbe?: ContainerProbe;
151
- /** The readiness probe. */
152
- readinessProbe?: ContainerProbe;
153
- /** The container security properties. */
154
- securityContext?: SecurityContextDefinition;
155
- /** The config map. */
156
- configMap?: ConfigMap;
157
- }
158
-
159
- /** The information for the output stream from container attach. */
160
- export declare interface ContainerAttachResponse {
161
- /** The uri for the output stream from the attach. */
162
- webSocketUri?: string;
163
- /** The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri. */
164
- password?: string;
165
- }
166
-
167
- /** The container execution command, for liveness or readiness probe */
168
- export declare interface ContainerExec {
169
- /** The commands to execute within the container. */
170
- command?: string[];
171
- }
172
-
173
- /** The container exec request. */
174
- export declare interface ContainerExecRequest {
175
- /** The command to be executed. */
176
- command?: string;
177
- /** The size of the terminal. */
178
- terminalSize?: ContainerExecRequestTerminalSize;
179
- }
180
-
181
- /** The size of the terminal. */
182
- export declare interface ContainerExecRequestTerminalSize {
183
- /** The row size of the terminal */
184
- rows?: number;
185
- /** The column size of the terminal */
186
- cols?: number;
187
- }
188
-
189
- /** The information for the container exec command. */
190
- export declare interface ContainerExecResponse {
191
- /** The uri for the exec websocket. */
192
- webSocketUri?: string;
193
- /** The password to start the exec command. */
194
- password?: string;
195
- }
196
-
197
- /** A container group. */
198
- export declare interface ContainerGroup extends Resource, ContainerGroupProperties {
199
- }
200
-
201
- /** Container group diagnostic information. */
202
- export declare interface ContainerGroupDiagnostics {
203
- /** Container group log analytics information. */
204
- logAnalytics?: LogAnalytics;
205
- }
206
-
207
- /** Identity for the container group. */
208
- export declare interface ContainerGroupIdentity {
209
- /**
210
- * The principal id of the container group identity. This property will only be provided for a system assigned identity.
211
- * NOTE: This property will not be serialized. It can only be populated by the server.
212
- */
213
- readonly principalId?: string;
214
- /**
215
- * The tenant id associated with the container group. This property will only be provided for a system assigned identity.
216
- * NOTE: This property will not be serialized. It can only be populated by the server.
217
- */
218
- readonly tenantId?: string;
219
- /** 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. */
220
- type?: ResourceIdentityType;
221
- /** The list of user identities associated with the container group. */
222
- userAssignedIdentities?: {
223
- [propertyName: string]: UserAssignedIdentities;
224
- };
225
- }
226
-
227
- /**
228
- * Defines values for ContainerGroupIpAddressType. \
229
- * {@link KnownContainerGroupIpAddressType} can be used interchangeably with ContainerGroupIpAddressType,
230
- * this enum contains the known values that the service supports.
231
- * ### Known values supported by the service
232
- * **Public** \
233
- * **Private**
234
- */
235
- export declare type ContainerGroupIpAddressType = string;
236
-
237
- /** The container group list response that contains the container group properties. */
238
- export declare interface ContainerGroupListResult {
239
- /** The list of container groups. */
240
- value?: ContainerGroup[];
241
- /** The URI to fetch the next page of container groups. */
242
- nextLink?: string;
243
- }
244
-
245
- /**
246
- * Defines values for ContainerGroupNetworkProtocol. \
247
- * {@link KnownContainerGroupNetworkProtocol} can be used interchangeably with ContainerGroupNetworkProtocol,
248
- * this enum contains the known values that the service supports.
249
- * ### Known values supported by the service
250
- * **TCP** \
251
- * **UDP**
252
- */
253
- export declare type ContainerGroupNetworkProtocol = string;
254
-
255
- /**
256
- * Defines values for ContainerGroupPriority. \
257
- * {@link KnownContainerGroupPriority} can be used interchangeably with ContainerGroupPriority,
258
- * this enum contains the known values that the service supports.
259
- * ### Known values supported by the service
260
- * **Regular** \
261
- * **Spot**
262
- */
263
- export declare type ContainerGroupPriority = string;
264
-
265
- /** A container group profile. */
266
- export declare interface ContainerGroupProfile extends Resource, ContainerGroupProfileProperties {
267
- }
268
-
269
- /** Optional parameters. */
270
- export declare interface ContainerGroupProfileGetByRevisionNumberOptionalParams extends coreClient.OperationOptions {
271
- }
272
-
273
- /** Contains response data for the getByRevisionNumber operation. */
274
- export declare type ContainerGroupProfileGetByRevisionNumberResponse = ContainerGroupProfile;
275
-
276
- /** Optional parameters. */
277
- export declare interface ContainerGroupProfileListAllRevisionsNextOptionalParams extends coreClient.OperationOptions {
278
- }
279
-
280
- /** Contains response data for the listAllRevisionsNext operation. */
281
- export declare type ContainerGroupProfileListAllRevisionsNextResponse = ContainerGroupProfileListResult;
282
-
283
- /** Optional parameters. */
284
- export declare interface ContainerGroupProfileListAllRevisionsOptionalParams extends coreClient.OperationOptions {
285
- }
286
-
287
- /** Contains response data for the listAllRevisions operation. */
288
- export declare type ContainerGroupProfileListAllRevisionsResponse = ContainerGroupProfileListResult;
289
-
290
- /** The container group profile list response that contains the container group profile properties. */
291
- export declare interface ContainerGroupProfileListResult {
292
- /** The list of container group profiles. */
293
- value?: ContainerGroupProfile[];
294
- /** The URI to fetch the next page of container group profiles. */
295
- nextLink?: string;
296
- }
297
-
298
- /** Interface representing a ContainerGroupProfileOperations. */
299
- export declare interface ContainerGroupProfileOperations {
300
- /**
301
- * Get a list of all the revisions of the specified container group profile in the given subscription
302
- * and resource group. This operation returns properties of each revision of the specified container
303
- * group profile including containers, image registry credentials, restart policy, IP address type, OS
304
- * type volumes, revision number, etc.
305
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
306
- * @param containerGroupProfileName The name of the container group profile.
307
- * @param options The options parameters.
308
- */
309
- listAllRevisions(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfileListAllRevisionsOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
310
- /**
311
- * Gets the properties of the specified revision of the container group profile in the given
312
- * subscription and resource group. The operation returns the properties of container group profile
313
- * including containers, image registry credentials, restart policy, IP address type, OS type, volumes,
314
- * current revision number, etc.
315
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
316
- * @param containerGroupProfileName The name of the container group profile.
317
- * @param revisionNumber The revision number of the container group profile.
318
- * @param options The options parameters.
319
- */
320
- getByRevisionNumber(resourceGroupName: string, containerGroupProfileName: string, revisionNumber: string, options?: ContainerGroupProfileGetByRevisionNumberOptionalParams): Promise<ContainerGroupProfileGetByRevisionNumberResponse>;
321
- }
322
-
323
- /** Properties of container group profile that need to be patched */
324
- export declare interface ContainerGroupProfilePatch {
325
- /** Resource tags. */
326
- tags?: {
327
- [propertyName: string]: string;
328
- };
329
- }
330
-
331
- /** The container group profile properties */
332
- export declare interface ContainerGroupProfileProperties {
333
- /** The containers within the container group. */
334
- containers: Container[];
335
- /** The image registry credentials by which the container group is created from. */
336
- imageRegistryCredentials?: ImageRegistryCredential[];
337
- /**
338
- * Restart policy for all containers within the container group.
339
- * - `Always` Always restart
340
- * - `OnFailure` Restart on failure
341
- * - `Never` Never restart
342
- *
343
- */
344
- restartPolicy?: ContainerGroupRestartPolicy;
345
- /** The IP address type of the container group. */
346
- ipAddress?: IpAddress;
347
- /** The operating system type required by the containers in the container group. */
348
- osType: OperatingSystemTypes;
349
- /** The list of volumes that can be mounted by containers in this container group. */
350
- volumes?: Volume[];
351
- /** The diagnostic information for a container group. */
352
- diagnostics?: ContainerGroupDiagnostics;
353
- /** The SKU for a container group. */
354
- sku?: ContainerGroupSku;
355
- /** The encryption properties for a container group. */
356
- encryptionProperties?: EncryptionProperties;
357
- /** The init containers for a container group. */
358
- initContainers?: InitContainerDefinition[];
359
- /** extensions used by virtual kubelet */
360
- extensions?: DeploymentExtensionSpec[];
361
- /** The properties for confidential container group */
362
- confidentialComputeProperties?: ConfidentialComputeProperties;
363
- /** The priority of the container group. */
364
- priority?: ContainerGroupPriority;
365
- /**
366
- * The container group profile current revision number. This only appears in the response.
367
- * NOTE: This property will not be serialized. It can only be populated by the server.
368
- */
369
- readonly revision?: number;
370
- }
371
-
372
- /** The container group profile reference. */
373
- export declare interface ContainerGroupProfileReferenceDefinition {
374
- /** 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}'. */
375
- id?: string;
376
- /** The container group profile reference revision. */
377
- revision?: number;
378
- }
379
-
380
- /** Interface representing a ContainerGroupProfiles. */
381
- export declare interface ContainerGroupProfiles {
382
- /**
383
- * Get a list of container group profiles in the specified subscription. This operation returns
384
- * properties of each container group profile including containers, image registry credentials, restart
385
- * policy, IP address type, OS type,volumes,current revision number, etc.
386
- * @param options The options parameters.
387
- */
388
- list(options?: ContainerGroupProfilesListOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
389
- /**
390
- * Get a list of container group profiles in a specified subscription and resource group. This
391
- * operation returns properties of each container group profile including containers, image registry
392
- * credentials, restart policy, IP address type, OS type volumes, current revision number, etc.
393
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
394
- * @param options The options parameters.
395
- */
396
- listByResourceGroup(resourceGroupName: string, options?: ContainerGroupProfilesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroupProfile>;
397
- /**
398
- * Gets the properties of the specified container group profile in the specified subscription and
399
- * resource group. The operation returns the properties of container group profile including
400
- * containers, image registry credentials, restart policy, IP address type, OS type, volumes, current
401
- * revision number, etc.
402
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
403
- * @param containerGroupProfileName The name of the container group profile.
404
- * @param options The options parameters.
405
- */
406
- get(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfilesGetOptionalParams): Promise<ContainerGroupProfilesGetResponse>;
407
- /**
408
- * Create or update container group profiles with specified configurations.
409
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
410
- * @param containerGroupProfileName The name of the container group profile.
411
- * @param containerGroupProfile The properties of the container group profile to be created or updated.
412
- * @param options The options parameters.
413
- */
414
- createOrUpdate(resourceGroupName: string, containerGroupProfileName: string, containerGroupProfile: ContainerGroupProfile, options?: ContainerGroupProfilesCreateOrUpdateOptionalParams): Promise<ContainerGroupProfilesCreateOrUpdateResponse>;
415
- /**
416
- * Patches container group profile with specified properties.
417
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
418
- * @param containerGroupProfileName The name of the container group profile.
419
- * @param properties The container group profile properties that need to be updated.
420
- * @param options The options parameters.
421
- */
422
- patch(resourceGroupName: string, containerGroupProfileName: string, properties: ContainerGroupProfilePatch, options?: ContainerGroupProfilesPatchOptionalParams): Promise<ContainerGroupProfilesPatchResponse>;
423
- /**
424
- * Delete the specified container group profile in the specified subscription and resource group. The
425
- * operation does not delete other resources provided by the user, such as volumes.
426
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
427
- * @param containerGroupProfileName The name of the container group profile.
428
- * @param options The options parameters.
429
- */
430
- delete(resourceGroupName: string, containerGroupProfileName: string, options?: ContainerGroupProfilesDeleteOptionalParams): Promise<void>;
431
- }
432
-
433
- /** Optional parameters. */
434
- export declare interface ContainerGroupProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
435
- }
436
-
437
- /** Contains response data for the createOrUpdate operation. */
438
- export declare type ContainerGroupProfilesCreateOrUpdateResponse = ContainerGroupProfile;
439
-
440
- /** Optional parameters. */
441
- export declare interface ContainerGroupProfilesDeleteOptionalParams extends coreClient.OperationOptions {
442
- }
443
-
444
- /** Optional parameters. */
445
- export declare interface ContainerGroupProfilesGetOptionalParams extends coreClient.OperationOptions {
446
- }
447
-
448
- /** Contains response data for the get operation. */
449
- export declare type ContainerGroupProfilesGetResponse = ContainerGroupProfile;
450
-
451
- /** Optional parameters. */
452
- export declare interface ContainerGroupProfilesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
453
- }
454
-
455
- /** Contains response data for the listByResourceGroupNext operation. */
456
- export declare type ContainerGroupProfilesListByResourceGroupNextResponse = ContainerGroupProfileListResult;
457
-
458
- /** Optional parameters. */
459
- export declare interface ContainerGroupProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
460
- }
461
-
462
- /** Contains response data for the listByResourceGroup operation. */
463
- export declare type ContainerGroupProfilesListByResourceGroupResponse = ContainerGroupProfileListResult;
464
-
465
- /** Optional parameters. */
466
- export declare interface ContainerGroupProfilesListNextOptionalParams extends coreClient.OperationOptions {
467
- }
468
-
469
- /** Contains response data for the listNext operation. */
470
- export declare type ContainerGroupProfilesListNextResponse = ContainerGroupProfileListResult;
471
-
472
- /** Optional parameters. */
473
- export declare interface ContainerGroupProfilesListOptionalParams extends coreClient.OperationOptions {
474
- }
475
-
476
- /** Contains response data for the list operation. */
477
- export declare type ContainerGroupProfilesListResponse = ContainerGroupProfileListResult;
478
-
479
- /** Optional parameters. */
480
- export declare interface ContainerGroupProfilesPatchOptionalParams extends coreClient.OperationOptions {
481
- }
482
-
483
- /** Contains response data for the patch operation. */
484
- export declare type ContainerGroupProfilesPatchResponse = ContainerGroupProfile;
485
-
486
- /** The container group properties */
487
- export declare interface ContainerGroupProperties {
488
- /** The identity of the container group, if configured. */
489
- identity?: ContainerGroupIdentity;
490
- /**
491
- * The provisioning state of the container group. This only appears in the response.
492
- * NOTE: This property will not be serialized. It can only be populated by the server.
493
- */
494
- readonly provisioningState?: string;
495
- /** The containers within the container group. */
496
- containers: Container[];
497
- /** The image registry credentials by which the container group is created from. */
498
- imageRegistryCredentials?: ImageRegistryCredential[];
499
- /**
500
- * Restart policy for all containers within the container group.
501
- * - `Always` Always restart
502
- * - `OnFailure` Restart on failure
503
- * - `Never` Never restart
504
- *
505
- */
506
- restartPolicy?: ContainerGroupRestartPolicy;
507
- /** The IP address type of the container group. */
508
- ipAddress?: IpAddress;
509
- /** The operating system type required by the containers in the container group. */
510
- osType?: OperatingSystemTypes;
511
- /** The list of volumes that can be mounted by containers in this container group. */
512
- volumes?: Volume[];
513
- /**
514
- * The instance view of the container group. Only valid in response.
515
- * NOTE: This property will not be serialized. It can only be populated by the server.
516
- */
517
- readonly instanceView?: ContainerGroupPropertiesInstanceView;
518
- /** The diagnostic information for a container group. */
519
- diagnostics?: ContainerGroupDiagnostics;
520
- /** The subnet resource IDs for a container group. */
521
- subnetIds?: ContainerGroupSubnetId[];
522
- /** The DNS config information for a container group. */
523
- dnsConfig?: DnsConfiguration;
524
- /** The SKU for a container group. */
525
- sku?: ContainerGroupSku;
526
- /** The encryption properties for a container group. */
527
- encryptionProperties?: EncryptionProperties;
528
- /** The init containers for a container group. */
529
- initContainers?: InitContainerDefinition[];
530
- /** extensions used by virtual kubelet */
531
- extensions?: DeploymentExtensionSpec[];
532
- /** The properties for confidential container group */
533
- confidentialComputeProperties?: ConfidentialComputeProperties;
534
- /** The priority of the container group. */
535
- priority?: ContainerGroupPriority;
536
- /** The reference container group profile properties. */
537
- containerGroupProfile?: ContainerGroupProfileReferenceDefinition;
538
- /** The reference standby pool profile properties. */
539
- standbyPoolProfile?: StandbyPoolProfileDefinition;
540
- /**
541
- * The flag indicating whether the container group is created by standby pool.
542
- * NOTE: This property will not be serialized. It can only be populated by the server.
543
- */
544
- readonly isCreatedFromStandbyPool?: boolean;
545
- }
546
-
547
- /** The instance view of the container group. Only valid in response. */
548
- export declare interface ContainerGroupPropertiesInstanceView {
549
- /**
550
- * The events of this container group.
551
- * NOTE: This property will not be serialized. It can only be populated by the server.
552
- */
553
- readonly events?: Event_2[];
554
- /**
555
- * The state of the container group. Only valid in response.
556
- * NOTE: This property will not be serialized. It can only be populated by the server.
557
- */
558
- readonly state?: string;
559
- }
560
-
561
- /**
562
- * Defines values for ContainerGroupRestartPolicy. \
563
- * {@link KnownContainerGroupRestartPolicy} can be used interchangeably with ContainerGroupRestartPolicy,
564
- * this enum contains the known values that the service supports.
565
- * ### Known values supported by the service
566
- * **Always** \
567
- * **OnFailure** \
568
- * **Never**
569
- */
570
- export declare type ContainerGroupRestartPolicy = string;
571
-
572
- /** Interface representing a ContainerGroups. */
573
- export declare interface ContainerGroups {
574
- /**
575
- * Get a list of container groups in the specified subscription. This operation returns properties of
576
- * each container group including containers, image registry credentials, restart policy, IP address
577
- * type, OS type, state, and volumes.
578
- * @param options The options parameters.
579
- */
580
- list(options?: ContainerGroupsListOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
581
- /**
582
- * Get a list of container groups in a specified subscription and resource group. This operation
583
- * returns properties of each container group including containers, image registry credentials, restart
584
- * policy, IP address type, OS type, state, and volumes.
585
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
586
- * @param options The options parameters.
587
- */
588
- listByResourceGroup(resourceGroupName: string, options?: ContainerGroupsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ContainerGroup>;
589
- /**
590
- * Gets the properties of the specified container group in the specified subscription and resource
591
- * group. The operation returns the properties of each container group including containers, image
592
- * registry credentials, restart policy, IP address type, OS type, state, and volumes.
593
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
594
- * @param containerGroupName The name of the container group.
595
- * @param options The options parameters.
596
- */
597
- get(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOptionalParams): Promise<ContainerGroupsGetResponse>;
598
- /**
599
- * Create or update container groups with specified configurations.
600
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
601
- * @param containerGroupName The name of the container group.
602
- * @param containerGroup The properties of the container group to be created or updated.
603
- * @param options The options parameters.
604
- */
605
- beginCreateOrUpdate(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ContainerGroupsCreateOrUpdateResponse>, ContainerGroupsCreateOrUpdateResponse>>;
606
- /**
607
- * Create or update container groups with specified configurations.
608
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
609
- * @param containerGroupName The name of the container group.
610
- * @param containerGroup The properties of the container group to be created or updated.
611
- * @param options The options parameters.
612
- */
613
- beginCreateOrUpdateAndWait(resourceGroupName: string, containerGroupName: string, containerGroup: ContainerGroup, options?: ContainerGroupsCreateOrUpdateOptionalParams): Promise<ContainerGroupsCreateOrUpdateResponse>;
614
- /**
615
- * Updates container group tags with specified values.
616
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
617
- * @param containerGroupName The name of the container group.
618
- * @param resource The container group resource with just the tags to be updated.
619
- * @param options The options parameters.
620
- */
621
- update(resourceGroupName: string, containerGroupName: string, resource: Resource, options?: ContainerGroupsUpdateOptionalParams): Promise<ContainerGroupsUpdateResponse>;
622
- /**
623
- * Delete the specified container group in the specified subscription and resource group. The operation
624
- * does not delete other resources provided by the user, such as volumes.
625
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
626
- * @param containerGroupName The name of the container group.
627
- * @param options The options parameters.
628
- */
629
- beginDelete(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ContainerGroupsDeleteResponse>, ContainerGroupsDeleteResponse>>;
630
- /**
631
- * Delete the specified container group in the specified subscription and resource group. The operation
632
- * does not delete other resources provided by the user, such as volumes.
633
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
634
- * @param containerGroupName The name of the container group.
635
- * @param options The options parameters.
636
- */
637
- beginDeleteAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsDeleteOptionalParams): Promise<ContainerGroupsDeleteResponse>;
638
- /**
639
- * Restarts all containers in a container group in place. If container image has updates, new image
640
- * will be downloaded.
641
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
642
- * @param containerGroupName The name of the container group.
643
- * @param options The options parameters.
644
- */
645
- beginRestart(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsRestartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
646
- /**
647
- * Restarts all containers in a container group in place. If container image has updates, new image
648
- * will be downloaded.
649
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
650
- * @param containerGroupName The name of the container group.
651
- * @param options The options parameters.
652
- */
653
- beginRestartAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsRestartOptionalParams): Promise<void>;
654
- /**
655
- * Stops all containers in a container group. Compute resources will be deallocated and billing will
656
- * stop.
657
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
658
- * @param containerGroupName The name of the container group.
659
- * @param options The options parameters.
660
- */
661
- stop(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStopOptionalParams): Promise<void>;
662
- /**
663
- * Starts all containers in a container group. Compute resources will be allocated and billing will
664
- * start.
665
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
666
- * @param containerGroupName The name of the container group.
667
- * @param options The options parameters.
668
- */
669
- beginStart(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStartOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
670
- /**
671
- * Starts all containers in a container group. Compute resources will be allocated and billing will
672
- * start.
673
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
674
- * @param containerGroupName The name of the container group.
675
- * @param options The options parameters.
676
- */
677
- beginStartAndWait(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsStartOptionalParams): Promise<void>;
678
- /**
679
- * Gets all the network dependencies for this container group to allow complete control of network
680
- * setting and configuration. For container groups, this will always be an empty list.
681
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
682
- * @param containerGroupName The name of the container group.
683
- * @param options The options parameters.
684
- */
685
- getOutboundNetworkDependenciesEndpoints(resourceGroupName: string, containerGroupName: string, options?: ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams): Promise<ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse>;
686
- }
687
-
688
- /** Optional parameters. */
689
- export declare interface ContainerGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
690
- /** Delay to wait until next poll, in milliseconds. */
691
- updateIntervalInMs?: number;
692
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
693
- resumeFrom?: string;
694
- }
695
-
696
- /** Contains response data for the createOrUpdate operation. */
697
- export declare type ContainerGroupsCreateOrUpdateResponse = ContainerGroup;
698
-
699
- /** Optional parameters. */
700
- export declare interface ContainerGroupsDeleteOptionalParams extends coreClient.OperationOptions {
701
- /** Delay to wait until next poll, in milliseconds. */
702
- updateIntervalInMs?: number;
703
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
704
- resumeFrom?: string;
705
- }
706
-
707
- /** Contains response data for the delete operation. */
708
- export declare type ContainerGroupsDeleteResponse = ContainerGroup;
709
-
710
- /** Optional parameters. */
711
- export declare interface ContainerGroupsGetOptionalParams extends coreClient.OperationOptions {
712
- }
713
-
714
- /** Optional parameters. */
715
- export declare interface ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {
716
- }
717
-
718
- /** Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */
719
- export declare type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = {
720
- /** The parsed response body. */
721
- body: string[];
722
- };
723
-
724
- /** Contains response data for the get operation. */
725
- export declare type ContainerGroupsGetResponse = ContainerGroup;
726
-
727
- /**
728
- * Defines values for ContainerGroupSku. \
729
- * {@link KnownContainerGroupSku} can be used interchangeably with ContainerGroupSku,
730
- * this enum contains the known values that the service supports.
731
- * ### Known values supported by the service
732
- * **Standard** \
733
- * **Dedicated** \
734
- * **Confidential**
735
- */
736
- export declare type ContainerGroupSku = string;
737
-
738
- /** Optional parameters. */
739
- export declare interface ContainerGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
740
- }
741
-
742
- /** Contains response data for the listByResourceGroupNext operation. */
743
- export declare type ContainerGroupsListByResourceGroupNextResponse = ContainerGroupListResult;
744
-
745
- /** Optional parameters. */
746
- export declare interface ContainerGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
747
- }
748
-
749
- /** Contains response data for the listByResourceGroup operation. */
750
- export declare type ContainerGroupsListByResourceGroupResponse = ContainerGroupListResult;
751
-
752
- /** Optional parameters. */
753
- export declare interface ContainerGroupsListNextOptionalParams extends coreClient.OperationOptions {
754
- }
755
-
756
- /** Contains response data for the listNext operation. */
757
- export declare type ContainerGroupsListNextResponse = ContainerGroupListResult;
758
-
759
- /** Optional parameters. */
760
- export declare interface ContainerGroupsListOptionalParams extends coreClient.OperationOptions {
761
- }
762
-
763
- /** Contains response data for the list operation. */
764
- export declare type ContainerGroupsListResponse = ContainerGroupListResult;
765
-
766
- /** Optional parameters. */
767
- export declare interface ContainerGroupsRestartOptionalParams extends coreClient.OperationOptions {
768
- /** Delay to wait until next poll, in milliseconds. */
769
- updateIntervalInMs?: number;
770
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
771
- resumeFrom?: string;
772
- }
773
-
774
- /** Optional parameters. */
775
- export declare interface ContainerGroupsStartOptionalParams extends coreClient.OperationOptions {
776
- /** Delay to wait until next poll, in milliseconds. */
777
- updateIntervalInMs?: number;
778
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
779
- resumeFrom?: string;
780
- }
781
-
782
- /** Optional parameters. */
783
- export declare interface ContainerGroupsStopOptionalParams extends coreClient.OperationOptions {
784
- }
785
-
786
- /** Container group subnet information. */
787
- export declare interface ContainerGroupSubnetId {
788
- /** Resource ID of virtual network and subnet. */
789
- id: string;
790
- /** Friendly name for the subnet. */
791
- name?: string;
792
- }
793
-
794
- /** Optional parameters. */
795
- export declare interface ContainerGroupsUpdateOptionalParams extends coreClient.OperationOptions {
796
- }
797
-
798
- /** Contains response data for the update operation. */
799
- export declare type ContainerGroupsUpdateResponse = ContainerGroup;
800
-
801
- /** The container Http Get settings, for liveness or readiness probe */
802
- export declare interface ContainerHttpGet {
803
- /** The path to probe. */
804
- path?: string;
805
- /** The port number to probe. */
806
- port: number;
807
- /** The scheme. */
808
- scheme?: Scheme;
809
- /** The HTTP headers. */
810
- httpHeaders?: HttpHeader[];
811
- }
812
-
813
- export declare class ContainerInstanceManagementClient extends coreClient.ServiceClient {
814
- $host: string;
815
- subscriptionId: string;
816
- apiVersion: string;
817
- /**
818
- * Initializes a new instance of the ContainerInstanceManagementClient class.
819
- * @param credentials Subscription credentials which uniquely identify client subscription.
820
- * @param subscriptionId The ID of the target subscription. The value must be an UUID.
821
- * @param options The parameter options
822
- */
823
- constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: ContainerInstanceManagementClientOptionalParams);
824
- /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
825
- private addCustomApiVersionPolicy;
826
- containerGroups: ContainerGroups;
827
- operations: Operations;
828
- location: Location_2;
829
- containers: Containers;
830
- subnetServiceAssociationLink: SubnetServiceAssociationLink;
831
- containerGroupProfiles: ContainerGroupProfiles;
832
- containerGroupProfileOperations: ContainerGroupProfileOperations;
833
- }
834
-
835
- /** Optional parameters. */
836
- export declare interface ContainerInstanceManagementClientOptionalParams extends coreClient.ServiceClientOptions {
837
- /** server parameter */
838
- $host?: string;
839
- /** Api Version */
840
- apiVersion?: string;
841
- /** Overrides client endpoint. */
842
- endpoint?: string;
843
- }
844
-
845
- /**
846
- * Defines values for ContainerInstanceOperationsOrigin. \
847
- * {@link KnownContainerInstanceOperationsOrigin} can be used interchangeably with ContainerInstanceOperationsOrigin,
848
- * this enum contains the known values that the service supports.
849
- * ### Known values supported by the service
850
- * **User** \
851
- * **System**
852
- */
853
- export declare type ContainerInstanceOperationsOrigin = string;
854
-
855
- /**
856
- * Defines values for ContainerNetworkProtocol. \
857
- * {@link KnownContainerNetworkProtocol} can be used interchangeably with ContainerNetworkProtocol,
858
- * this enum contains the known values that the service supports.
859
- * ### Known values supported by the service
860
- * **TCP** \
861
- * **UDP**
862
- */
863
- export declare type ContainerNetworkProtocol = string;
864
-
865
- /** The port exposed on the container instance. */
866
- export declare interface ContainerPort {
867
- /** The protocol associated with the port. */
868
- protocol?: ContainerNetworkProtocol;
869
- /** The port number exposed within the container group. */
870
- port: number;
871
- }
872
-
873
- /** The container probe, for liveness or readiness */
874
- export declare interface ContainerProbe {
875
- /** The execution command to probe */
876
- exec?: ContainerExec;
877
- /** The Http Get settings to probe */
878
- httpGet?: ContainerHttpGet;
879
- /** The initial delay seconds. */
880
- initialDelaySeconds?: number;
881
- /** The period seconds. */
882
- periodSeconds?: number;
883
- /** The failure threshold. */
884
- failureThreshold?: number;
885
- /** The success threshold. */
886
- successThreshold?: number;
887
- /** The timeout seconds. */
888
- timeoutSeconds?: number;
889
- }
890
-
891
- /** The instance view of the container instance. Only valid in response. */
892
- export declare interface ContainerPropertiesInstanceView {
893
- /**
894
- * The number of times that the container instance has been restarted.
895
- * NOTE: This property will not be serialized. It can only be populated by the server.
896
- */
897
- readonly restartCount?: number;
898
- /**
899
- * Current container instance state.
900
- * NOTE: This property will not be serialized. It can only be populated by the server.
901
- */
902
- readonly currentState?: ContainerState;
903
- /**
904
- * Previous container instance state.
905
- * NOTE: This property will not be serialized. It can only be populated by the server.
906
- */
907
- readonly previousState?: ContainerState;
908
- /**
909
- * The events of the container instance.
910
- * NOTE: This property will not be serialized. It can only be populated by the server.
911
- */
912
- readonly events?: Event_2[];
913
- }
914
-
915
- /** Interface representing a Containers. */
916
- export declare interface Containers {
917
- /**
918
- * Get the logs for a specified container instance in a specified resource group and container group.
919
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
920
- * @param containerGroupName The name of the container group.
921
- * @param containerName The name of the container instance.
922
- * @param options The options parameters.
923
- */
924
- listLogs(resourceGroupName: string, containerGroupName: string, containerName: string, options?: ContainersListLogsOptionalParams): Promise<ContainersListLogsResponse>;
925
- /**
926
- * Executes a command for a specific container instance in a specified resource group and container
927
- * group.
928
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
929
- * @param containerGroupName The name of the container group.
930
- * @param containerName The name of the container instance.
931
- * @param containerExecRequest The request for the exec command.
932
- * @param options The options parameters.
933
- */
934
- executeCommand(resourceGroupName: string, containerGroupName: string, containerName: string, containerExecRequest: ContainerExecRequest, options?: ContainersExecuteCommandOptionalParams): Promise<ContainersExecuteCommandResponse>;
935
- /**
936
- * Attach to the output stream of a specific container instance in a specified resource group and
937
- * container group.
938
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
939
- * @param containerGroupName The name of the container group.
940
- * @param containerName The name of the container instance.
941
- * @param options The options parameters.
942
- */
943
- attach(resourceGroupName: string, containerGroupName: string, containerName: string, options?: ContainersAttachOptionalParams): Promise<ContainersAttachResponse>;
944
- }
945
-
946
- /** Optional parameters. */
947
- export declare interface ContainersAttachOptionalParams extends coreClient.OperationOptions {
948
- }
949
-
950
- /** Contains response data for the attach operation. */
951
- export declare type ContainersAttachResponse = ContainerAttachResponse;
952
-
953
- /** Optional parameters. */
954
- export declare interface ContainersExecuteCommandOptionalParams extends coreClient.OperationOptions {
955
- }
956
-
957
- /** Contains response data for the executeCommand operation. */
958
- export declare type ContainersExecuteCommandResponse = ContainerExecResponse;
959
-
960
- /** Optional parameters. */
961
- export declare interface ContainersListLogsOptionalParams extends coreClient.OperationOptions {
962
- /** 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. */
963
- tail?: number;
964
- /** If true, adds a timestamp at the beginning of every line of log output. If not provided, defaults to false. */
965
- timestamps?: boolean;
966
- }
967
-
968
- /** Contains response data for the listLogs operation. */
969
- export declare type ContainersListLogsResponse = Logs;
970
-
971
- /** The container instance state. */
972
- export declare interface ContainerState {
973
- /**
974
- * The state of the container instance.
975
- * NOTE: This property will not be serialized. It can only be populated by the server.
976
- */
977
- readonly state?: string;
978
- /**
979
- * The date-time when the container instance state started.
980
- * NOTE: This property will not be serialized. It can only be populated by the server.
981
- */
982
- readonly startTime?: Date;
983
- /**
984
- * The container instance exit codes correspond to those from the `docker run` command.
985
- * NOTE: This property will not be serialized. It can only be populated by the server.
986
- */
987
- readonly exitCode?: number;
988
- /**
989
- * The date-time when the container instance state finished.
990
- * NOTE: This property will not be serialized. It can only be populated by the server.
991
- */
992
- readonly finishTime?: Date;
993
- /**
994
- * The human-readable status of the container instance state.
995
- * NOTE: This property will not be serialized. It can only be populated by the server.
996
- */
997
- readonly detailStatus?: string;
998
- }
999
-
1000
- /** Extension sidecars to be added to the deployment. */
1001
- export declare interface DeploymentExtensionSpec {
1002
- /** Name of the extension. */
1003
- name: string;
1004
- /** Type of extension to be added. */
1005
- extensionType?: string;
1006
- /** Version of the extension being used. */
1007
- version?: string;
1008
- /** Settings for the extension. */
1009
- settings?: Record<string, unknown>;
1010
- /** Protected settings for the extension. */
1011
- protectedSettings?: Record<string, unknown>;
1012
- }
1013
-
1014
- /** DNS configuration for the container group. */
1015
- export declare interface DnsConfiguration {
1016
- /** The DNS servers for the container group. */
1017
- nameServers: string[];
1018
- /** The DNS search domains for hostname lookup in the container group. */
1019
- searchDomains?: string;
1020
- /** The DNS options for the container group. */
1021
- options?: string;
1022
- }
1023
-
1024
- /**
1025
- * Defines values for DnsNameLabelReusePolicy. \
1026
- * {@link KnownDnsNameLabelReusePolicy} can be used interchangeably with DnsNameLabelReusePolicy,
1027
- * this enum contains the known values that the service supports.
1028
- * ### Known values supported by the service
1029
- * **Unsecure** \
1030
- * **TenantReuse** \
1031
- * **SubscriptionReuse** \
1032
- * **ResourceGroupReuse** \
1033
- * **Noreuse**
1034
- */
1035
- export declare type DnsNameLabelReusePolicy = string;
1036
-
1037
- /** The container group encryption properties. */
1038
- export declare interface EncryptionProperties {
1039
- /** The keyvault base url. */
1040
- vaultBaseUrl: string;
1041
- /** The encryption key name. */
1042
- keyName: string;
1043
- /** The encryption key version. */
1044
- keyVersion: string;
1045
- /** The keyvault managed identity. */
1046
- identity?: string;
1047
- }
1048
-
1049
- /** The environment variable to set within the container instance. */
1050
- export declare interface EnvironmentVariable {
1051
- /** The name of the environment variable. */
1052
- name: string;
1053
- /** The value of the environment variable. */
1054
- value?: string;
1055
- /** The value of the secure environment variable. */
1056
- secureValue?: string;
1057
- }
1058
-
1059
- /** A container group or container instance event. */
1060
- declare interface Event_2 {
1061
- /**
1062
- * The count of the event.
1063
- * NOTE: This property will not be serialized. It can only be populated by the server.
1064
- */
1065
- readonly count?: number;
1066
- /**
1067
- * The date-time of the earliest logged event.
1068
- * NOTE: This property will not be serialized. It can only be populated by the server.
1069
- */
1070
- readonly firstTimestamp?: Date;
1071
- /**
1072
- * The date-time of the latest logged event.
1073
- * NOTE: This property will not be serialized. It can only be populated by the server.
1074
- */
1075
- readonly lastTimestamp?: Date;
1076
- /**
1077
- * The event name.
1078
- * NOTE: This property will not be serialized. It can only be populated by the server.
1079
- */
1080
- readonly name?: string;
1081
- /**
1082
- * The event message.
1083
- * NOTE: This property will not be serialized. It can only be populated by the server.
1084
- */
1085
- readonly message?: string;
1086
- /**
1087
- * The event type.
1088
- * NOTE: This property will not be serialized. It can only be populated by the server.
1089
- */
1090
- readonly type?: string;
1091
- }
1092
- export { Event_2 as Event }
1093
-
1094
- /**
1095
- * Given the last `.value` produced by the `byPage` iterator,
1096
- * returns a continuation token that can be used to begin paging from
1097
- * that point later.
1098
- * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
1099
- * @returns The continuation token that can be passed into byPage() during future calls.
1100
- */
1101
- export declare function getContinuationToken(page: unknown): string | undefined;
1102
-
1103
- /** Represents a volume that is populated with the contents of a git repository */
1104
- export declare interface GitRepoVolume {
1105
- /** 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. */
1106
- directory?: string;
1107
- /** Repository URL */
1108
- repository: string;
1109
- /** Commit hash for the specified revision. */
1110
- revision?: string;
1111
- }
1112
-
1113
- /** The GPU resource. */
1114
- export declare interface GpuResource {
1115
- /** The count of the GPU resource. */
1116
- count: number;
1117
- /** The SKU of the GPU resource. */
1118
- sku: GpuSku;
1119
- }
1120
-
1121
- /**
1122
- * Defines values for GpuSku. \
1123
- * {@link KnownGpuSku} can be used interchangeably with GpuSku,
1124
- * this enum contains the known values that the service supports.
1125
- * ### Known values supported by the service
1126
- * **K80** \
1127
- * **P100** \
1128
- * **V100**
1129
- */
1130
- export declare type GpuSku = string;
1131
-
1132
- /** The HTTP header. */
1133
- export declare interface HttpHeader {
1134
- /** The header name. */
1135
- name?: string;
1136
- /** The header value. */
1137
- value?: string;
1138
- }
1139
-
1140
- /** Image registry credential. */
1141
- export declare interface ImageRegistryCredential {
1142
- /** The Docker image registry server without a protocol such as "http" and "https". */
1143
- server: string;
1144
- /** The username for the private registry. */
1145
- username?: string;
1146
- /** The password for the private registry. */
1147
- password?: string;
1148
- /** The identity for the private registry. */
1149
- identity?: string;
1150
- /** The identity URL for the private registry. */
1151
- identityUrl?: string;
1152
- }
1153
-
1154
- /** The init container definition. */
1155
- export declare interface InitContainerDefinition {
1156
- /** The name for the init container. */
1157
- name: string;
1158
- /** The image of the init container. */
1159
- image?: string;
1160
- /** The command to execute within the init container in exec form. */
1161
- command?: string[];
1162
- /** The environment variables to set in the init container. */
1163
- environmentVariables?: EnvironmentVariable[];
1164
- /**
1165
- * The instance view of the init container. Only valid in response.
1166
- * NOTE: This property will not be serialized. It can only be populated by the server.
1167
- */
1168
- readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
1169
- /** The volume mounts available to the init container. */
1170
- volumeMounts?: VolumeMount[];
1171
- /** The container security properties. */
1172
- securityContext?: SecurityContextDefinition;
1173
- }
1174
-
1175
- /** The instance view of the init container. Only valid in response. */
1176
- export declare interface InitContainerPropertiesDefinitionInstanceView {
1177
- /**
1178
- * The number of times that the init container has been restarted.
1179
- * NOTE: This property will not be serialized. It can only be populated by the server.
1180
- */
1181
- readonly restartCount?: number;
1182
- /**
1183
- * The current state of the init container.
1184
- * NOTE: This property will not be serialized. It can only be populated by the server.
1185
- */
1186
- readonly currentState?: ContainerState;
1187
- /**
1188
- * The previous state of the init container.
1189
- * NOTE: This property will not be serialized. It can only be populated by the server.
1190
- */
1191
- readonly previousState?: ContainerState;
1192
- /**
1193
- * The events of the init container.
1194
- * NOTE: This property will not be serialized. It can only be populated by the server.
1195
- */
1196
- readonly events?: Event_2[];
1197
- }
1198
-
1199
- /** IP address for the container group. */
1200
- export declare interface IpAddress {
1201
- /** The list of ports exposed on the container group. */
1202
- ports: Port[];
1203
- /** Specifies if the IP is exposed to the public internet or private VNET. */
1204
- type: ContainerGroupIpAddressType;
1205
- /** The IP exposed to the public internet. */
1206
- ip?: string;
1207
- /** The Dns name label for the IP. */
1208
- dnsNameLabel?: string;
1209
- /** 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. */
1210
- autoGeneratedDomainNameLabelScope?: DnsNameLabelReusePolicy;
1211
- /**
1212
- * The FQDN for the IP.
1213
- * NOTE: This property will not be serialized. It can only be populated by the server.
1214
- */
1215
- readonly fqdn?: string;
1216
- }
1217
-
1218
- /** Known values of {@link ContainerGroupIpAddressType} that the service accepts. */
1219
- export declare enum KnownContainerGroupIpAddressType {
1220
- /** Public */
1221
- Public = "Public",
1222
- /** Private */
1223
- Private = "Private"
1224
- }
1225
-
1226
- /** Known values of {@link ContainerGroupNetworkProtocol} that the service accepts. */
1227
- export declare enum KnownContainerGroupNetworkProtocol {
1228
- /** TCP */
1229
- TCP = "TCP",
1230
- /** UDP */
1231
- UDP = "UDP"
1232
- }
1233
-
1234
- /** Known values of {@link ContainerGroupPriority} that the service accepts. */
1235
- export declare enum KnownContainerGroupPriority {
1236
- /** Regular */
1237
- Regular = "Regular",
1238
- /** Spot */
1239
- Spot = "Spot"
1240
- }
1241
-
1242
- /** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
1243
- export declare enum KnownContainerGroupRestartPolicy {
1244
- /** Always */
1245
- Always = "Always",
1246
- /** OnFailure */
1247
- OnFailure = "OnFailure",
1248
- /** Never */
1249
- Never = "Never"
1250
- }
1251
-
1252
- /** Known values of {@link ContainerGroupSku} that the service accepts. */
1253
- export declare enum KnownContainerGroupSku {
1254
- /** Standard */
1255
- Standard = "Standard",
1256
- /** Dedicated */
1257
- Dedicated = "Dedicated",
1258
- /** Confidential */
1259
- Confidential = "Confidential"
1260
- }
1261
-
1262
- /** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
1263
- export declare enum KnownContainerInstanceOperationsOrigin {
1264
- /** User */
1265
- User = "User",
1266
- /** System */
1267
- System = "System"
1268
- }
1269
-
1270
- /** Known values of {@link ContainerNetworkProtocol} that the service accepts. */
1271
- export declare enum KnownContainerNetworkProtocol {
1272
- /** TCP */
1273
- TCP = "TCP",
1274
- /** UDP */
1275
- UDP = "UDP"
1276
- }
1277
-
1278
- /** Known values of {@link DnsNameLabelReusePolicy} that the service accepts. */
1279
- export declare enum KnownDnsNameLabelReusePolicy {
1280
- /** Unsecure */
1281
- Unsecure = "Unsecure",
1282
- /** TenantReuse */
1283
- TenantReuse = "TenantReuse",
1284
- /** SubscriptionReuse */
1285
- SubscriptionReuse = "SubscriptionReuse",
1286
- /** ResourceGroupReuse */
1287
- ResourceGroupReuse = "ResourceGroupReuse",
1288
- /** Noreuse */
1289
- Noreuse = "Noreuse"
1290
- }
1291
-
1292
- /** Known values of {@link GpuSku} that the service accepts. */
1293
- export declare enum KnownGpuSku {
1294
- /** K80 */
1295
- K80 = "K80",
1296
- /** P100 */
1297
- P100 = "P100",
1298
- /** V100 */
1299
- V100 = "V100"
1300
- }
1301
-
1302
- /** Known values of {@link LogAnalyticsLogType} that the service accepts. */
1303
- export declare enum KnownLogAnalyticsLogType {
1304
- /** ContainerInsights */
1305
- ContainerInsights = "ContainerInsights",
1306
- /** ContainerInstanceLogs */
1307
- ContainerInstanceLogs = "ContainerInstanceLogs"
1308
- }
1309
-
1310
- /** Known values of {@link OperatingSystemTypes} that the service accepts. */
1311
- export declare enum KnownOperatingSystemTypes {
1312
- /** Windows */
1313
- Windows = "Windows",
1314
- /** Linux */
1315
- Linux = "Linux"
1316
- }
1317
-
1318
- /** Known values of {@link Scheme} that the service accepts. */
1319
- export declare enum KnownScheme {
1320
- /** Http */
1321
- Http = "http",
1322
- /** Https */
1323
- Https = "https"
1324
- }
1325
-
1326
- /** Interface representing a Location. */
1327
- declare interface Location_2 {
1328
- /**
1329
- * Get the usage for a subscription
1330
- * @param location The name of the Azure region.
1331
- * @param options The options parameters.
1332
- */
1333
- listUsage(location: string, options?: LocationListUsageOptionalParams): PagedAsyncIterableIterator<Usage>;
1334
- /**
1335
- * Get the list of cached images on specific OS type for a subscription in a region.
1336
- * @param location The name of the Azure region.
1337
- * @param options The options parameters.
1338
- */
1339
- listCachedImages(location: string, options?: LocationListCachedImagesOptionalParams): PagedAsyncIterableIterator<CachedImages>;
1340
- /**
1341
- * Get the list of CPU/memory/GPU capabilities of a region.
1342
- * @param location The name of the Azure region.
1343
- * @param options The options parameters.
1344
- */
1345
- listCapabilities(location: string, options?: LocationListCapabilitiesOptionalParams): PagedAsyncIterableIterator<Capabilities>;
1346
- }
1347
- export { Location_2 as Location }
1348
-
1349
- /** Optional parameters. */
1350
- export declare interface LocationListCachedImagesNextOptionalParams extends coreClient.OperationOptions {
1351
- }
1352
-
1353
- /** Contains response data for the listCachedImagesNext operation. */
1354
- export declare type LocationListCachedImagesNextResponse = CachedImagesListResult;
1355
-
1356
- /** Optional parameters. */
1357
- export declare interface LocationListCachedImagesOptionalParams extends coreClient.OperationOptions {
1358
- }
1359
-
1360
- /** Contains response data for the listCachedImages operation. */
1361
- export declare type LocationListCachedImagesResponse = CachedImagesListResult;
1362
-
1363
- /** Optional parameters. */
1364
- export declare interface LocationListCapabilitiesNextOptionalParams extends coreClient.OperationOptions {
1365
- }
1366
-
1367
- /** Contains response data for the listCapabilitiesNext operation. */
1368
- export declare type LocationListCapabilitiesNextResponse = CapabilitiesListResult;
1369
-
1370
- /** Optional parameters. */
1371
- export declare interface LocationListCapabilitiesOptionalParams extends coreClient.OperationOptions {
1372
- }
1373
-
1374
- /** Contains response data for the listCapabilities operation. */
1375
- export declare type LocationListCapabilitiesResponse = CapabilitiesListResult;
1376
-
1377
- /** Optional parameters. */
1378
- export declare interface LocationListUsageOptionalParams extends coreClient.OperationOptions {
1379
- }
1380
-
1381
- /** Contains response data for the listUsage operation. */
1382
- export declare type LocationListUsageResponse = UsageListResult;
1383
-
1384
- /** Container group log analytics information. */
1385
- export declare interface LogAnalytics {
1386
- /** The workspace id for log analytics */
1387
- workspaceId: string;
1388
- /** The workspace key for log analytics */
1389
- workspaceKey: string;
1390
- /** The log type to be used. */
1391
- logType?: LogAnalyticsLogType;
1392
- /** Metadata for log analytics. */
1393
- metadata?: {
1394
- [propertyName: string]: string;
1395
- };
1396
- /** The workspace resource id for log analytics */
1397
- workspaceResourceId?: string;
1398
- }
1399
-
1400
- /**
1401
- * Defines values for LogAnalyticsLogType. \
1402
- * {@link KnownLogAnalyticsLogType} can be used interchangeably with LogAnalyticsLogType,
1403
- * this enum contains the known values that the service supports.
1404
- * ### Known values supported by the service
1405
- * **ContainerInsights** \
1406
- * **ContainerInstanceLogs**
1407
- */
1408
- export declare type LogAnalyticsLogType = string;
1409
-
1410
- /** The logs. */
1411
- export declare interface Logs {
1412
- /** The content of the log. */
1413
- content?: string;
1414
- }
1415
-
1416
- /**
1417
- * Defines values for OperatingSystemTypes. \
1418
- * {@link KnownOperatingSystemTypes} can be used interchangeably with OperatingSystemTypes,
1419
- * this enum contains the known values that the service supports.
1420
- * ### Known values supported by the service
1421
- * **Windows** \
1422
- * **Linux**
1423
- */
1424
- export declare type OperatingSystemTypes = string;
1425
-
1426
- /** An operation for Azure Container Instance service. */
1427
- export declare interface Operation {
1428
- /** The name of the operation. */
1429
- name: string;
1430
- /** The display information of the operation. */
1431
- display: OperationDisplay;
1432
- /** The additional properties. */
1433
- properties?: Record<string, unknown>;
1434
- /** The intended executor of the operation. */
1435
- origin?: ContainerInstanceOperationsOrigin;
1436
- }
1437
-
1438
- /** The display information of the operation. */
1439
- export declare interface OperationDisplay {
1440
- /** The name of the provider of the operation. */
1441
- provider?: string;
1442
- /** The name of the resource type of the operation. */
1443
- resource?: string;
1444
- /** The friendly name of the operation. */
1445
- operation?: string;
1446
- /** The description of the operation. */
1447
- description?: string;
1448
- }
1449
-
1450
- /** The operation list response that contains all operations for Azure Container Instance service. */
1451
- export declare interface OperationListResult {
1452
- /** The list of operations. */
1453
- value?: Operation[];
1454
- /** The URI to fetch the next page of operations. */
1455
- nextLink?: string;
1456
- }
1457
-
1458
- /** Interface representing a Operations. */
1459
- export declare interface Operations {
1460
- /**
1461
- * List the operations for Azure Container Instance service.
1462
- * @param options The options parameters.
1463
- */
1464
- list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
1465
- }
1466
-
1467
- /** Optional parameters. */
1468
- export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1469
- }
1470
-
1471
- /** Contains response data for the listNext operation. */
1472
- export declare type OperationsListNextResponse = OperationListResult;
1473
-
1474
- /** Optional parameters. */
1475
- export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
1476
- }
1477
-
1478
- /** Contains response data for the list operation. */
1479
- export declare type OperationsListResponse = OperationListResult;
1480
-
1481
- /** The port exposed on the container group. */
1482
- export declare interface Port {
1483
- /** The protocol associated with the port. */
1484
- protocol?: ContainerGroupNetworkProtocol;
1485
- /** The port number. */
1486
- port: number;
1487
- }
1488
-
1489
- /** The Resource model definition. */
1490
- export declare interface Resource {
1491
- /**
1492
- * The resource id.
1493
- * NOTE: This property will not be serialized. It can only be populated by the server.
1494
- */
1495
- readonly id?: string;
1496
- /**
1497
- * The resource name.
1498
- * NOTE: This property will not be serialized. It can only be populated by the server.
1499
- */
1500
- readonly name?: string;
1501
- /**
1502
- * The resource type.
1503
- * NOTE: This property will not be serialized. It can only be populated by the server.
1504
- */
1505
- readonly type?: string;
1506
- /** The resource location. */
1507
- location?: string;
1508
- /** The resource tags. */
1509
- tags?: {
1510
- [propertyName: string]: string;
1511
- };
1512
- /** The zones for the container group. */
1513
- zones?: string[];
1514
- }
1515
-
1516
- /** Defines values for ResourceIdentityType. */
1517
- export declare type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
1518
-
1519
- /** The resource limits. */
1520
- export declare interface ResourceLimits {
1521
- /** The memory limit in GB of this container instance. */
1522
- memoryInGB?: number;
1523
- /** The CPU limit of this container instance. */
1524
- cpu?: number;
1525
- /** The GPU limit of this container instance. */
1526
- gpu?: GpuResource;
1527
- }
1528
-
1529
- /** The resource requests. */
1530
- export declare interface ResourceRequests {
1531
- /** The memory request in GB of this container instance. */
1532
- memoryInGB: number;
1533
- /** The CPU request of this container instance. */
1534
- cpu: number;
1535
- /** The GPU request of this container instance. */
1536
- gpu?: GpuResource;
1537
- }
1538
-
1539
- /** The resource requirements. */
1540
- export declare interface ResourceRequirements {
1541
- /** The resource requests of this container instance. */
1542
- requests: ResourceRequests;
1543
- /** The resource limits of this container instance. */
1544
- limits?: ResourceLimits;
1545
- }
1546
-
1547
- /**
1548
- * Defines values for Scheme. \
1549
- * {@link KnownScheme} can be used interchangeably with Scheme,
1550
- * this enum contains the known values that the service supports.
1551
- * ### Known values supported by the service
1552
- * **http** \
1553
- * **https**
1554
- */
1555
- export declare type Scheme = string;
1556
-
1557
- /** The capabilities to add or drop from a container. */
1558
- export declare interface SecurityContextCapabilitiesDefinition {
1559
- /** The capabilities to add to the container. */
1560
- add?: string[];
1561
- /** The capabilities to drop from the container. */
1562
- drop?: string[];
1563
- }
1564
-
1565
- /** The security context for the container. */
1566
- export declare interface SecurityContextDefinition {
1567
- /** The flag to determine if the container permissions is elevated to Privileged. */
1568
- privileged?: boolean;
1569
- /** A boolean value indicating whether the init process can elevate its privileges */
1570
- allowPrivilegeEscalation?: boolean;
1571
- /** The capabilities to add or drop from a container. */
1572
- capabilities?: SecurityContextCapabilitiesDefinition;
1573
- /** Sets the User GID for the container. */
1574
- runAsGroup?: number;
1575
- /** Sets the User UID for the container. */
1576
- runAsUser?: number;
1577
- /** a base64 encoded string containing the contents of the JSON in the seccomp profile */
1578
- seccompProfile?: string;
1579
- }
1580
-
1581
- /** The standby pool profile reference. */
1582
- export declare interface StandbyPoolProfileDefinition {
1583
- /** 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}'. */
1584
- id?: string;
1585
- /** The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool. */
1586
- failContainerGroupCreateOnReuseFailure?: boolean;
1587
- }
1588
-
1589
- /** Interface representing a SubnetServiceAssociationLink. */
1590
- export declare interface SubnetServiceAssociationLink {
1591
- /**
1592
- * Delete container group virtual network association links. The operation does not delete other
1593
- * resources provided by the user.
1594
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1595
- * @param virtualNetworkName The name of the virtual network.
1596
- * @param subnetName The name of the subnet.
1597
- * @param options The options parameters.
1598
- */
1599
- beginDelete(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: SubnetServiceAssociationLinkDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>;
1600
- /**
1601
- * Delete container group virtual network association links. The operation does not delete other
1602
- * resources provided by the user.
1603
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
1604
- * @param virtualNetworkName The name of the virtual network.
1605
- * @param subnetName The name of the subnet.
1606
- * @param options The options parameters.
1607
- */
1608
- beginDeleteAndWait(resourceGroupName: string, virtualNetworkName: string, subnetName: string, options?: SubnetServiceAssociationLinkDeleteOptionalParams): Promise<void>;
1609
- }
1610
-
1611
- /** Optional parameters. */
1612
- export declare interface SubnetServiceAssociationLinkDeleteOptionalParams extends coreClient.OperationOptions {
1613
- /** Delay to wait until next poll, in milliseconds. */
1614
- updateIntervalInMs?: number;
1615
- /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1616
- resumeFrom?: string;
1617
- }
1618
-
1619
- /** A single usage result */
1620
- export declare interface Usage {
1621
- /**
1622
- * Id of the usage result
1623
- * NOTE: This property will not be serialized. It can only be populated by the server.
1624
- */
1625
- readonly id?: string;
1626
- /**
1627
- * Unit of the usage result
1628
- * NOTE: This property will not be serialized. It can only be populated by the server.
1629
- */
1630
- readonly unit?: string;
1631
- /**
1632
- * The current usage of the resource
1633
- * NOTE: This property will not be serialized. It can only be populated by the server.
1634
- */
1635
- readonly currentValue?: number;
1636
- /**
1637
- * The maximum permitted usage of the resource.
1638
- * NOTE: This property will not be serialized. It can only be populated by the server.
1639
- */
1640
- readonly limit?: number;
1641
- /**
1642
- * The name object of the resource
1643
- * NOTE: This property will not be serialized. It can only be populated by the server.
1644
- */
1645
- readonly name?: UsageName;
1646
- }
1647
-
1648
- /** The response containing the usage data */
1649
- export declare interface UsageListResult {
1650
- /**
1651
- * The usage data.
1652
- * NOTE: This property will not be serialized. It can only be populated by the server.
1653
- */
1654
- readonly value?: Usage[];
1655
- }
1656
-
1657
- /** The name object of the resource */
1658
- export declare interface UsageName {
1659
- /**
1660
- * The name of the resource
1661
- * NOTE: This property will not be serialized. It can only be populated by the server.
1662
- */
1663
- readonly value?: string;
1664
- /**
1665
- * The localized name of the resource
1666
- * NOTE: This property will not be serialized. It can only be populated by the server.
1667
- */
1668
- readonly localizedValue?: string;
1669
- }
1670
-
1671
- /** 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}'. */
1672
- export declare interface UserAssignedIdentities {
1673
- /**
1674
- * The principal id of user assigned identity.
1675
- * NOTE: This property will not be serialized. It can only be populated by the server.
1676
- */
1677
- readonly principalId?: string;
1678
- /**
1679
- * The client id of user assigned identity.
1680
- * NOTE: This property will not be serialized. It can only be populated by the server.
1681
- */
1682
- readonly clientId?: string;
1683
- }
1684
-
1685
- /** The properties of the volume. */
1686
- export declare interface Volume {
1687
- /** The name of the volume. */
1688
- name: string;
1689
- /** The Azure File volume. */
1690
- azureFile?: AzureFileVolume;
1691
- /** The empty directory volume. */
1692
- emptyDir?: Record<string, unknown>;
1693
- /** The secret volume. */
1694
- secret?: {
1695
- [propertyName: string]: string;
1696
- };
1697
- /** The git repo volume. */
1698
- gitRepo?: GitRepoVolume;
1699
- }
1700
-
1701
- /** The properties of the volume mount. */
1702
- export declare interface VolumeMount {
1703
- /** The name of the volume mount. */
1704
- name: string;
1705
- /** The path within the container where the volume should be mounted. Must not contain colon (:). */
1706
- mountPath: string;
1707
- /** The flag indicating whether the volume mount is read-only. */
1708
- readOnly?: boolean;
1709
- }
1710
-
1711
- export { }
1
+ import * as coreClient from "@azure/core-client";
2
+ /** The container group list response that contains the container group properties. */
3
+ export interface ContainerGroupListResult {
4
+ /** The list of container groups. */
5
+ value?: ContainerGroup[];
6
+ /** The URI to fetch the next page of container groups. */
7
+ nextLink?: string;
8
+ }
9
+ /** The Resource model definition. */
10
+ export interface Resource {
11
+ /**
12
+ * The resource id.
13
+ * NOTE: This property will not be serialized. It can only be populated by the server.
14
+ */
15
+ readonly id?: string;
16
+ /**
17
+ * The resource name.
18
+ * NOTE: This property will not be serialized. It can only be populated by the server.
19
+ */
20
+ readonly name?: string;
21
+ /**
22
+ * The resource type.
23
+ * NOTE: This property will not be serialized. It can only be populated by the server.
24
+ */
25
+ readonly type?: string;
26
+ /** The resource location. */
27
+ location?: string;
28
+ /** The resource tags. */
29
+ tags?: {
30
+ [propertyName: string]: string;
31
+ };
32
+ /** The zones for the container group. */
33
+ zones?: string[];
34
+ }
35
+ /** The container group properties */
36
+ export interface ContainerGroupProperties {
37
+ /** The identity of the container group, if configured. */
38
+ identity?: ContainerGroupIdentity;
39
+ /**
40
+ * The provisioning state of the container group. This only appears in the response.
41
+ * NOTE: This property will not be serialized. It can only be populated by the server.
42
+ */
43
+ readonly provisioningState?: string;
44
+ /** The containers within the container group. */
45
+ containers: Container[];
46
+ /** The image registry credentials by which the container group is created from. */
47
+ imageRegistryCredentials?: ImageRegistryCredential[];
48
+ /**
49
+ * Restart policy for all containers within the container group.
50
+ * - `Always` Always restart
51
+ * - `OnFailure` Restart on failure
52
+ * - `Never` Never restart
53
+ *
54
+ */
55
+ restartPolicy?: ContainerGroupRestartPolicy;
56
+ /** The IP address type of the container group. */
57
+ ipAddress?: IpAddress;
58
+ /** The operating system type required by the containers in the container group. */
59
+ osType?: OperatingSystemTypes;
60
+ /** The list of volumes that can be mounted by containers in this container group. */
61
+ volumes?: Volume[];
62
+ /**
63
+ * The instance view of the container group. Only valid in response.
64
+ * NOTE: This property will not be serialized. It can only be populated by the server.
65
+ */
66
+ readonly instanceView?: ContainerGroupPropertiesInstanceView;
67
+ /** The diagnostic information for a container group. */
68
+ diagnostics?: ContainerGroupDiagnostics;
69
+ /** The subnet resource IDs for a container group. */
70
+ subnetIds?: ContainerGroupSubnetId[];
71
+ /** The DNS config information for a container group. */
72
+ dnsConfig?: DnsConfiguration;
73
+ /** The SKU for a container group. */
74
+ sku?: ContainerGroupSku;
75
+ /** The encryption properties for a container group. */
76
+ encryptionProperties?: EncryptionProperties;
77
+ /** The init containers for a container group. */
78
+ initContainers?: InitContainerDefinition[];
79
+ /** extensions used by virtual kubelet */
80
+ extensions?: DeploymentExtensionSpec[];
81
+ /** The properties for confidential container group */
82
+ confidentialComputeProperties?: ConfidentialComputeProperties;
83
+ /** The priority of the container group. */
84
+ priority?: ContainerGroupPriority;
85
+ /** The reference container group profile properties. */
86
+ containerGroupProfile?: ContainerGroupProfileReferenceDefinition;
87
+ /** The reference standby pool profile properties. */
88
+ standbyPoolProfile?: StandbyPoolProfileDefinition;
89
+ /**
90
+ * The flag indicating whether the container group is created by standby pool.
91
+ * NOTE: This property will not be serialized. It can only be populated by the server.
92
+ */
93
+ readonly isCreatedFromStandbyPool?: boolean;
94
+ }
95
+ /** Identity for the container group. */
96
+ export interface ContainerGroupIdentity {
97
+ /**
98
+ * The principal id of the container group identity. This property will only be provided for a system assigned identity.
99
+ * NOTE: This property will not be serialized. It can only be populated by the server.
100
+ */
101
+ readonly principalId?: string;
102
+ /**
103
+ * The tenant id associated with the container group. This property will only be provided for a system assigned identity.
104
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
+ */
106
+ readonly tenantId?: string;
107
+ /** 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. */
108
+ type?: ResourceIdentityType;
109
+ /** The list of user identities associated with the container group. */
110
+ userAssignedIdentities?: {
111
+ [propertyName: string]: UserAssignedIdentities;
112
+ };
113
+ }
114
+ /** 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}'. */
115
+ export interface UserAssignedIdentities {
116
+ /**
117
+ * The principal id of user assigned identity.
118
+ * NOTE: This property will not be serialized. It can only be populated by the server.
119
+ */
120
+ readonly principalId?: string;
121
+ /**
122
+ * The client id of user assigned identity.
123
+ * NOTE: This property will not be serialized. It can only be populated by the server.
124
+ */
125
+ readonly clientId?: string;
126
+ }
127
+ /** A container instance. */
128
+ export interface Container {
129
+ /** The user-provided name of the container instance. */
130
+ name: string;
131
+ /** The name of the image used to create the container instance. */
132
+ image?: string;
133
+ /** The commands to execute within the container instance in exec form. */
134
+ command?: string[];
135
+ /** The exposed ports on the container instance. */
136
+ ports?: ContainerPort[];
137
+ /** The environment variables to set in the container instance. */
138
+ environmentVariables?: EnvironmentVariable[];
139
+ /**
140
+ * The instance view of the container instance. Only valid in response.
141
+ * NOTE: This property will not be serialized. It can only be populated by the server.
142
+ */
143
+ readonly instanceView?: ContainerPropertiesInstanceView;
144
+ /** The resource requirements of the container instance. */
145
+ resources?: ResourceRequirements;
146
+ /** The volume mounts available to the container instance. */
147
+ volumeMounts?: VolumeMount[];
148
+ /** The liveness probe. */
149
+ livenessProbe?: ContainerProbe;
150
+ /** The readiness probe. */
151
+ readinessProbe?: ContainerProbe;
152
+ /** The container security properties. */
153
+ securityContext?: SecurityContextDefinition;
154
+ /** The config map. */
155
+ configMap?: ConfigMap;
156
+ }
157
+ /** The port exposed on the container instance. */
158
+ export interface ContainerPort {
159
+ /** The protocol associated with the port. */
160
+ protocol?: ContainerNetworkProtocol;
161
+ /** The port number exposed within the container group. */
162
+ port: number;
163
+ }
164
+ /** The environment variable to set within the container instance. */
165
+ export interface EnvironmentVariable {
166
+ /** The name of the environment variable. */
167
+ name: string;
168
+ /** The value of the environment variable. */
169
+ value?: string;
170
+ /** The value of the secure environment variable. */
171
+ secureValue?: string;
172
+ }
173
+ /** The instance view of the container instance. Only valid in response. */
174
+ export interface ContainerPropertiesInstanceView {
175
+ /**
176
+ * The number of times that the container instance has been restarted.
177
+ * NOTE: This property will not be serialized. It can only be populated by the server.
178
+ */
179
+ readonly restartCount?: number;
180
+ /**
181
+ * Current container instance state.
182
+ * NOTE: This property will not be serialized. It can only be populated by the server.
183
+ */
184
+ readonly currentState?: ContainerState;
185
+ /**
186
+ * Previous container instance state.
187
+ * NOTE: This property will not be serialized. It can only be populated by the server.
188
+ */
189
+ readonly previousState?: ContainerState;
190
+ /**
191
+ * The events of the container instance.
192
+ * NOTE: This property will not be serialized. It can only be populated by the server.
193
+ */
194
+ readonly events?: Event[];
195
+ }
196
+ /** The container instance state. */
197
+ export interface ContainerState {
198
+ /**
199
+ * The state of the container instance.
200
+ * NOTE: This property will not be serialized. It can only be populated by the server.
201
+ */
202
+ readonly state?: string;
203
+ /**
204
+ * The date-time when the container instance state started.
205
+ * NOTE: This property will not be serialized. It can only be populated by the server.
206
+ */
207
+ readonly startTime?: Date;
208
+ /**
209
+ * The container instance exit codes correspond to those from the `docker run` command.
210
+ * NOTE: This property will not be serialized. It can only be populated by the server.
211
+ */
212
+ readonly exitCode?: number;
213
+ /**
214
+ * The date-time when the container instance state finished.
215
+ * NOTE: This property will not be serialized. It can only be populated by the server.
216
+ */
217
+ readonly finishTime?: Date;
218
+ /**
219
+ * The human-readable status of the container instance state.
220
+ * NOTE: This property will not be serialized. It can only be populated by the server.
221
+ */
222
+ readonly detailStatus?: string;
223
+ }
224
+ /** A container group or container instance event. */
225
+ export interface Event {
226
+ /**
227
+ * The count of the event.
228
+ * NOTE: This property will not be serialized. It can only be populated by the server.
229
+ */
230
+ readonly count?: number;
231
+ /**
232
+ * The date-time of the earliest logged event.
233
+ * NOTE: This property will not be serialized. It can only be populated by the server.
234
+ */
235
+ readonly firstTimestamp?: Date;
236
+ /**
237
+ * The date-time of the latest logged event.
238
+ * NOTE: This property will not be serialized. It can only be populated by the server.
239
+ */
240
+ readonly lastTimestamp?: Date;
241
+ /**
242
+ * The event name.
243
+ * NOTE: This property will not be serialized. It can only be populated by the server.
244
+ */
245
+ readonly name?: string;
246
+ /**
247
+ * The event message.
248
+ * NOTE: This property will not be serialized. It can only be populated by the server.
249
+ */
250
+ readonly message?: string;
251
+ /**
252
+ * The event type.
253
+ * NOTE: This property will not be serialized. It can only be populated by the server.
254
+ */
255
+ readonly type?: string;
256
+ }
257
+ /** The resource requirements. */
258
+ export interface ResourceRequirements {
259
+ /** The resource requests of this container instance. */
260
+ requests: ResourceRequests;
261
+ /** The resource limits of this container instance. */
262
+ limits?: ResourceLimits;
263
+ }
264
+ /** The resource requests. */
265
+ export interface ResourceRequests {
266
+ /** The memory request in GB of this container instance. */
267
+ memoryInGB: number;
268
+ /** The CPU request of this container instance. */
269
+ cpu: number;
270
+ /** The GPU request of this container instance. */
271
+ gpu?: GpuResource;
272
+ }
273
+ /** The GPU resource. */
274
+ export interface GpuResource {
275
+ /** The count of the GPU resource. */
276
+ count: number;
277
+ /** The SKU of the GPU resource. */
278
+ sku: GpuSku;
279
+ }
280
+ /** The resource limits. */
281
+ export interface ResourceLimits {
282
+ /** The memory limit in GB of this container instance. */
283
+ memoryInGB?: number;
284
+ /** The CPU limit of this container instance. */
285
+ cpu?: number;
286
+ /** The GPU limit of this container instance. */
287
+ gpu?: GpuResource;
288
+ }
289
+ /** The properties of the volume mount. */
290
+ export interface VolumeMount {
291
+ /** The name of the volume mount. */
292
+ name: string;
293
+ /** The path within the container where the volume should be mounted. Must not contain colon (:). */
294
+ mountPath: string;
295
+ /** The flag indicating whether the volume mount is read-only. */
296
+ readOnly?: boolean;
297
+ }
298
+ /** The container probe, for liveness or readiness */
299
+ export interface ContainerProbe {
300
+ /** The execution command to probe */
301
+ exec?: ContainerExec;
302
+ /** The Http Get settings to probe */
303
+ httpGet?: ContainerHttpGet;
304
+ /** The initial delay seconds. */
305
+ initialDelaySeconds?: number;
306
+ /** The period seconds. */
307
+ periodSeconds?: number;
308
+ /** The failure threshold. */
309
+ failureThreshold?: number;
310
+ /** The success threshold. */
311
+ successThreshold?: number;
312
+ /** The timeout seconds. */
313
+ timeoutSeconds?: number;
314
+ }
315
+ /** The container execution command, for liveness or readiness probe */
316
+ export interface ContainerExec {
317
+ /** The commands to execute within the container. */
318
+ command?: string[];
319
+ }
320
+ /** The container Http Get settings, for liveness or readiness probe */
321
+ export interface ContainerHttpGet {
322
+ /** The path to probe. */
323
+ path?: string;
324
+ /** The port number to probe. */
325
+ port: number;
326
+ /** The scheme. */
327
+ scheme?: Scheme;
328
+ /** The HTTP headers. */
329
+ httpHeaders?: HttpHeader[];
330
+ }
331
+ /** The HTTP header. */
332
+ export interface HttpHeader {
333
+ /** The header name. */
334
+ name?: string;
335
+ /** The header value. */
336
+ value?: string;
337
+ }
338
+ /** The security context for the container. */
339
+ export interface SecurityContextDefinition {
340
+ /** The flag to determine if the container permissions is elevated to Privileged. */
341
+ privileged?: boolean;
342
+ /** A boolean value indicating whether the init process can elevate its privileges */
343
+ allowPrivilegeEscalation?: boolean;
344
+ /** The capabilities to add or drop from a container. */
345
+ capabilities?: SecurityContextCapabilitiesDefinition;
346
+ /** Sets the User GID for the container. */
347
+ runAsGroup?: number;
348
+ /** Sets the User UID for the container. */
349
+ runAsUser?: number;
350
+ /** a base64 encoded string containing the contents of the JSON in the seccomp profile */
351
+ seccompProfile?: string;
352
+ }
353
+ /** The capabilities to add or drop from a container. */
354
+ export interface SecurityContextCapabilitiesDefinition {
355
+ /** The capabilities to add to the container. */
356
+ add?: string[];
357
+ /** The capabilities to drop from the container. */
358
+ drop?: string[];
359
+ }
360
+ /** The container config map. */
361
+ export interface ConfigMap {
362
+ /** The key value pairs dictionary in the config map. */
363
+ keyValuePairs?: {
364
+ [propertyName: string]: string;
365
+ };
366
+ }
367
+ /** Image registry credential. */
368
+ export interface ImageRegistryCredential {
369
+ /** The Docker image registry server without a protocol such as "http" and "https". */
370
+ server: string;
371
+ /** The username for the private registry. */
372
+ username?: string;
373
+ /** The password for the private registry. */
374
+ password?: string;
375
+ /** The identity for the private registry. */
376
+ identity?: string;
377
+ /** The identity URL for the private registry. */
378
+ identityUrl?: string;
379
+ }
380
+ /** IP address for the container group. */
381
+ export interface IpAddress {
382
+ /** The list of ports exposed on the container group. */
383
+ ports: Port[];
384
+ /** Specifies if the IP is exposed to the public internet or private VNET. */
385
+ type: ContainerGroupIpAddressType;
386
+ /** The IP exposed to the public internet. */
387
+ ip?: string;
388
+ /** The Dns name label for the IP. */
389
+ dnsNameLabel?: string;
390
+ /** 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. */
391
+ autoGeneratedDomainNameLabelScope?: DnsNameLabelReusePolicy;
392
+ /**
393
+ * The FQDN for the IP.
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
395
+ */
396
+ readonly fqdn?: string;
397
+ }
398
+ /** The port exposed on the container group. */
399
+ export interface Port {
400
+ /** The protocol associated with the port. */
401
+ protocol?: ContainerGroupNetworkProtocol;
402
+ /** The port number. */
403
+ port: number;
404
+ }
405
+ /** The properties of the volume. */
406
+ export interface Volume {
407
+ /** The name of the volume. */
408
+ name: string;
409
+ /** The Azure File volume. */
410
+ azureFile?: AzureFileVolume;
411
+ /** The empty directory volume. */
412
+ emptyDir?: Record<string, unknown>;
413
+ /** The secret volume. */
414
+ secret?: {
415
+ [propertyName: string]: string;
416
+ };
417
+ /** The git repo volume. */
418
+ gitRepo?: GitRepoVolume;
419
+ }
420
+ /** The properties of the Azure File volume. Azure File shares are mounted as volumes. */
421
+ export interface AzureFileVolume {
422
+ /** The name of the Azure File share to be mounted as a volume. */
423
+ shareName: string;
424
+ /** The flag indicating whether the Azure File shared mounted as a volume is read-only. */
425
+ readOnly?: boolean;
426
+ /** The name of the storage account that contains the Azure File share. */
427
+ storageAccountName: string;
428
+ /** The storage account access key used to access the Azure File share. */
429
+ storageAccountKey?: string;
430
+ }
431
+ /** Represents a volume that is populated with the contents of a git repository */
432
+ export interface GitRepoVolume {
433
+ /** 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. */
434
+ directory?: string;
435
+ /** Repository URL */
436
+ repository: string;
437
+ /** Commit hash for the specified revision. */
438
+ revision?: string;
439
+ }
440
+ /** The instance view of the container group. Only valid in response. */
441
+ export interface ContainerGroupPropertiesInstanceView {
442
+ /**
443
+ * The events of this container group.
444
+ * NOTE: This property will not be serialized. It can only be populated by the server.
445
+ */
446
+ readonly events?: Event[];
447
+ /**
448
+ * The state of the container group. Only valid in response.
449
+ * NOTE: This property will not be serialized. It can only be populated by the server.
450
+ */
451
+ readonly state?: string;
452
+ }
453
+ /** Container group diagnostic information. */
454
+ export interface ContainerGroupDiagnostics {
455
+ /** Container group log analytics information. */
456
+ logAnalytics?: LogAnalytics;
457
+ }
458
+ /** Container group log analytics information. */
459
+ export interface LogAnalytics {
460
+ /** The workspace id for log analytics */
461
+ workspaceId: string;
462
+ /** The workspace key for log analytics */
463
+ workspaceKey: string;
464
+ /** The log type to be used. */
465
+ logType?: LogAnalyticsLogType;
466
+ /** Metadata for log analytics. */
467
+ metadata?: {
468
+ [propertyName: string]: string;
469
+ };
470
+ /** The workspace resource id for log analytics */
471
+ workspaceResourceId?: string;
472
+ }
473
+ /** Container group subnet information. */
474
+ export interface ContainerGroupSubnetId {
475
+ /** Resource ID of virtual network and subnet. */
476
+ id: string;
477
+ /** Friendly name for the subnet. */
478
+ name?: string;
479
+ }
480
+ /** DNS configuration for the container group. */
481
+ export interface DnsConfiguration {
482
+ /** The DNS servers for the container group. */
483
+ nameServers: string[];
484
+ /** The DNS search domains for hostname lookup in the container group. */
485
+ searchDomains?: string;
486
+ /** The DNS options for the container group. */
487
+ options?: string;
488
+ }
489
+ /** The container group encryption properties. */
490
+ export interface EncryptionProperties {
491
+ /** The keyvault base url. */
492
+ vaultBaseUrl: string;
493
+ /** The encryption key name. */
494
+ keyName: string;
495
+ /** The encryption key version. */
496
+ keyVersion: string;
497
+ /** The keyvault managed identity. */
498
+ identity?: string;
499
+ }
500
+ /** The init container definition. */
501
+ export interface InitContainerDefinition {
502
+ /** The name for the init container. */
503
+ name: string;
504
+ /** The image of the init container. */
505
+ image?: string;
506
+ /** The command to execute within the init container in exec form. */
507
+ command?: string[];
508
+ /** The environment variables to set in the init container. */
509
+ environmentVariables?: EnvironmentVariable[];
510
+ /**
511
+ * The instance view of the init container. Only valid in response.
512
+ * NOTE: This property will not be serialized. It can only be populated by the server.
513
+ */
514
+ readonly instanceView?: InitContainerPropertiesDefinitionInstanceView;
515
+ /** The volume mounts available to the init container. */
516
+ volumeMounts?: VolumeMount[];
517
+ /** The container security properties. */
518
+ securityContext?: SecurityContextDefinition;
519
+ }
520
+ /** The instance view of the init container. Only valid in response. */
521
+ export interface InitContainerPropertiesDefinitionInstanceView {
522
+ /**
523
+ * The number of times that the init container has been restarted.
524
+ * NOTE: This property will not be serialized. It can only be populated by the server.
525
+ */
526
+ readonly restartCount?: number;
527
+ /**
528
+ * The current state of the init container.
529
+ * NOTE: This property will not be serialized. It can only be populated by the server.
530
+ */
531
+ readonly currentState?: ContainerState;
532
+ /**
533
+ * The previous state of the init container.
534
+ * NOTE: This property will not be serialized. It can only be populated by the server.
535
+ */
536
+ readonly previousState?: ContainerState;
537
+ /**
538
+ * The events of the init container.
539
+ * NOTE: This property will not be serialized. It can only be populated by the server.
540
+ */
541
+ readonly events?: Event[];
542
+ }
543
+ /** Extension sidecars to be added to the deployment. */
544
+ export interface DeploymentExtensionSpec {
545
+ /** Name of the extension. */
546
+ name: string;
547
+ /** Type of extension to be added. */
548
+ extensionType?: string;
549
+ /** Version of the extension being used. */
550
+ version?: string;
551
+ /** Settings for the extension. */
552
+ settings?: Record<string, unknown>;
553
+ /** Protected settings for the extension. */
554
+ protectedSettings?: Record<string, unknown>;
555
+ }
556
+ /** The properties for confidential container group */
557
+ export interface ConfidentialComputeProperties {
558
+ /** The base64 encoded confidential compute enforcement policy */
559
+ ccePolicy?: string;
560
+ }
561
+ /** The container group profile reference. */
562
+ export interface ContainerGroupProfileReferenceDefinition {
563
+ /** 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}'. */
564
+ id?: string;
565
+ /** The container group profile reference revision. */
566
+ revision?: number;
567
+ }
568
+ /** The standby pool profile reference. */
569
+ export interface StandbyPoolProfileDefinition {
570
+ /** 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}'. */
571
+ id?: string;
572
+ /** The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool. */
573
+ failContainerGroupCreateOnReuseFailure?: boolean;
574
+ }
575
+ /** An error response from the Container Instance service. */
576
+ export interface CloudError {
577
+ /** An error response from the Container Instance service. */
578
+ error?: CloudErrorBody;
579
+ }
580
+ /** An error response from the Container Instance service. */
581
+ export interface CloudErrorBody {
582
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
583
+ code?: string;
584
+ /** A message describing the error, intended to be suitable for display in a user interface. */
585
+ message?: string;
586
+ /** The target of the particular error. For example, the name of the property in error. */
587
+ target?: string;
588
+ /** A list of additional details about the error. */
589
+ details?: CloudErrorBody[];
590
+ }
591
+ /** The operation list response that contains all operations for Azure Container Instance service. */
592
+ export interface OperationListResult {
593
+ /** The list of operations. */
594
+ value?: Operation[];
595
+ /** The URI to fetch the next page of operations. */
596
+ nextLink?: string;
597
+ }
598
+ /** An operation for Azure Container Instance service. */
599
+ export interface Operation {
600
+ /** The name of the operation. */
601
+ name: string;
602
+ /** The display information of the operation. */
603
+ display: OperationDisplay;
604
+ /** The additional properties. */
605
+ properties?: Record<string, unknown>;
606
+ /** The intended executor of the operation. */
607
+ origin?: ContainerInstanceOperationsOrigin;
608
+ }
609
+ /** The display information of the operation. */
610
+ export interface OperationDisplay {
611
+ /** The name of the provider of the operation. */
612
+ provider?: string;
613
+ /** The name of the resource type of the operation. */
614
+ resource?: string;
615
+ /** The friendly name of the operation. */
616
+ operation?: string;
617
+ /** The description of the operation. */
618
+ description?: string;
619
+ }
620
+ /** The response containing the usage data */
621
+ export interface UsageListResult {
622
+ /**
623
+ * The usage data.
624
+ * NOTE: This property will not be serialized. It can only be populated by the server.
625
+ */
626
+ readonly value?: Usage[];
627
+ }
628
+ /** A single usage result */
629
+ export interface Usage {
630
+ /**
631
+ * Id of the usage result
632
+ * NOTE: This property will not be serialized. It can only be populated by the server.
633
+ */
634
+ readonly id?: string;
635
+ /**
636
+ * Unit of the usage result
637
+ * NOTE: This property will not be serialized. It can only be populated by the server.
638
+ */
639
+ readonly unit?: string;
640
+ /**
641
+ * The current usage of the resource
642
+ * NOTE: This property will not be serialized. It can only be populated by the server.
643
+ */
644
+ readonly currentValue?: number;
645
+ /**
646
+ * The maximum permitted usage of the resource.
647
+ * NOTE: This property will not be serialized. It can only be populated by the server.
648
+ */
649
+ readonly limit?: number;
650
+ /**
651
+ * The name object of the resource
652
+ * NOTE: This property will not be serialized. It can only be populated by the server.
653
+ */
654
+ readonly name?: UsageName;
655
+ }
656
+ /** The name object of the resource */
657
+ export interface UsageName {
658
+ /**
659
+ * The name of the resource
660
+ * NOTE: This property will not be serialized. It can only be populated by the server.
661
+ */
662
+ readonly value?: string;
663
+ /**
664
+ * The localized name of the resource
665
+ * NOTE: This property will not be serialized. It can only be populated by the server.
666
+ */
667
+ readonly localizedValue?: string;
668
+ }
669
+ /** The logs. */
670
+ export interface Logs {
671
+ /** The content of the log. */
672
+ content?: string;
673
+ }
674
+ /** The container exec request. */
675
+ export interface ContainerExecRequest {
676
+ /** The command to be executed. */
677
+ command?: string;
678
+ /** The size of the terminal. */
679
+ terminalSize?: ContainerExecRequestTerminalSize;
680
+ }
681
+ /** The size of the terminal. */
682
+ export interface ContainerExecRequestTerminalSize {
683
+ /** The row size of the terminal */
684
+ rows?: number;
685
+ /** The column size of the terminal */
686
+ cols?: number;
687
+ }
688
+ /** The information for the container exec command. */
689
+ export interface ContainerExecResponse {
690
+ /** The uri for the exec websocket. */
691
+ webSocketUri?: string;
692
+ /** The password to start the exec command. */
693
+ password?: string;
694
+ }
695
+ /** The information for the output stream from container attach. */
696
+ export interface ContainerAttachResponse {
697
+ /** The uri for the output stream from the attach. */
698
+ webSocketUri?: string;
699
+ /** The password to the output stream from the attach. Send as an Authorization header value when connecting to the websocketUri. */
700
+ password?: string;
701
+ }
702
+ /** The response containing cached images. */
703
+ export interface CachedImagesListResult {
704
+ /** The list of cached images. */
705
+ value?: CachedImages[];
706
+ /** The URI to fetch the next page of cached images. */
707
+ nextLink?: string;
708
+ }
709
+ /** The cached image and OS type. */
710
+ export interface CachedImages {
711
+ /** The OS type of the cached image. */
712
+ osType: string;
713
+ /** The cached image name. */
714
+ image: string;
715
+ }
716
+ /** The response containing list of capabilities. */
717
+ export interface CapabilitiesListResult {
718
+ /** The list of capabilities. */
719
+ value?: Capabilities[];
720
+ /** The URI to fetch the next page of capabilities. */
721
+ nextLink?: string;
722
+ }
723
+ /** The regional capabilities. */
724
+ export interface Capabilities {
725
+ /**
726
+ * The resource type that this capability describes.
727
+ * NOTE: This property will not be serialized. It can only be populated by the server.
728
+ */
729
+ readonly resourceType?: string;
730
+ /**
731
+ * The OS type that this capability describes.
732
+ * NOTE: This property will not be serialized. It can only be populated by the server.
733
+ */
734
+ readonly osType?: string;
735
+ /**
736
+ * The resource location.
737
+ * NOTE: This property will not be serialized. It can only be populated by the server.
738
+ */
739
+ readonly location?: string;
740
+ /**
741
+ * The ip address type that this capability describes.
742
+ * NOTE: This property will not be serialized. It can only be populated by the server.
743
+ */
744
+ readonly ipAddressType?: string;
745
+ /**
746
+ * The GPU sku that this capability describes.
747
+ * NOTE: This property will not be serialized. It can only be populated by the server.
748
+ */
749
+ readonly gpu?: string;
750
+ /**
751
+ * The supported capabilities.
752
+ * NOTE: This property will not be serialized. It can only be populated by the server.
753
+ */
754
+ readonly capabilities?: CapabilitiesCapabilities;
755
+ }
756
+ /** The supported capabilities. */
757
+ export interface CapabilitiesCapabilities {
758
+ /**
759
+ * The maximum allowed memory request in GB.
760
+ * NOTE: This property will not be serialized. It can only be populated by the server.
761
+ */
762
+ readonly maxMemoryInGB?: number;
763
+ /**
764
+ * The maximum allowed CPU request in cores.
765
+ * NOTE: This property will not be serialized. It can only be populated by the server.
766
+ */
767
+ readonly maxCpu?: number;
768
+ /**
769
+ * The maximum allowed GPU count.
770
+ * NOTE: This property will not be serialized. It can only be populated by the server.
771
+ */
772
+ readonly maxGpuCount?: number;
773
+ }
774
+ /** The container group profile list response that contains the container group profile properties. */
775
+ export interface ContainerGroupProfileListResult {
776
+ /** The list of container group profiles. */
777
+ value?: ContainerGroupProfile[];
778
+ /** The URI to fetch the next page of container group profiles. */
779
+ nextLink?: string;
780
+ }
781
+ /** The container group profile properties */
782
+ export interface ContainerGroupProfileProperties {
783
+ /** The containers within the container group. */
784
+ containers: Container[];
785
+ /** The image registry credentials by which the container group is created from. */
786
+ imageRegistryCredentials?: ImageRegistryCredential[];
787
+ /**
788
+ * Restart policy for all containers within the container group.
789
+ * - `Always` Always restart
790
+ * - `OnFailure` Restart on failure
791
+ * - `Never` Never restart
792
+ *
793
+ */
794
+ restartPolicy?: ContainerGroupRestartPolicy;
795
+ /** The IP address type of the container group. */
796
+ ipAddress?: IpAddress;
797
+ /** The operating system type required by the containers in the container group. */
798
+ osType: OperatingSystemTypes;
799
+ /** The list of volumes that can be mounted by containers in this container group. */
800
+ volumes?: Volume[];
801
+ /** The diagnostic information for a container group. */
802
+ diagnostics?: ContainerGroupDiagnostics;
803
+ /** The SKU for a container group. */
804
+ sku?: ContainerGroupSku;
805
+ /** The encryption properties for a container group. */
806
+ encryptionProperties?: EncryptionProperties;
807
+ /** The init containers for a container group. */
808
+ initContainers?: InitContainerDefinition[];
809
+ /** extensions used by virtual kubelet */
810
+ extensions?: DeploymentExtensionSpec[];
811
+ /** The properties for confidential container group */
812
+ confidentialComputeProperties?: ConfidentialComputeProperties;
813
+ /** The priority of the container group. */
814
+ priority?: ContainerGroupPriority;
815
+ /**
816
+ * The container group profile current revision number. This only appears in the response.
817
+ * NOTE: This property will not be serialized. It can only be populated by the server.
818
+ */
819
+ readonly revision?: number;
820
+ }
821
+ /** Properties of container group profile that need to be patched */
822
+ export interface ContainerGroupProfilePatch {
823
+ /** Resource tags. */
824
+ tags?: {
825
+ [propertyName: string]: string;
826
+ };
827
+ }
828
+ /** A container group. */
829
+ export interface ContainerGroup extends Resource, ContainerGroupProperties {
830
+ }
831
+ /** A container group profile. */
832
+ export interface ContainerGroupProfile extends Resource, ContainerGroupProfileProperties {
833
+ }
834
+ /** Known values of {@link ContainerNetworkProtocol} that the service accepts. */
835
+ export declare enum KnownContainerNetworkProtocol {
836
+ /** TCP */
837
+ TCP = "TCP",
838
+ /** UDP */
839
+ UDP = "UDP"
840
+ }
841
+ /**
842
+ * Defines values for ContainerNetworkProtocol. \
843
+ * {@link KnownContainerNetworkProtocol} can be used interchangeably with ContainerNetworkProtocol,
844
+ * this enum contains the known values that the service supports.
845
+ * ### Known values supported by the service
846
+ * **TCP** \
847
+ * **UDP**
848
+ */
849
+ export type ContainerNetworkProtocol = string;
850
+ /** Known values of {@link GpuSku} that the service accepts. */
851
+ export declare enum KnownGpuSku {
852
+ /** K80 */
853
+ K80 = "K80",
854
+ /** P100 */
855
+ P100 = "P100",
856
+ /** V100 */
857
+ V100 = "V100"
858
+ }
859
+ /**
860
+ * Defines values for GpuSku. \
861
+ * {@link KnownGpuSku} can be used interchangeably with GpuSku,
862
+ * this enum contains the known values that the service supports.
863
+ * ### Known values supported by the service
864
+ * **K80** \
865
+ * **P100** \
866
+ * **V100**
867
+ */
868
+ export type GpuSku = string;
869
+ /** Known values of {@link Scheme} that the service accepts. */
870
+ export declare enum KnownScheme {
871
+ /** Http */
872
+ Http = "http",
873
+ /** Https */
874
+ Https = "https"
875
+ }
876
+ /**
877
+ * Defines values for Scheme. \
878
+ * {@link KnownScheme} can be used interchangeably with Scheme,
879
+ * this enum contains the known values that the service supports.
880
+ * ### Known values supported by the service
881
+ * **http** \
882
+ * **https**
883
+ */
884
+ export type Scheme = string;
885
+ /** Known values of {@link ContainerGroupRestartPolicy} that the service accepts. */
886
+ export declare enum KnownContainerGroupRestartPolicy {
887
+ /** Always */
888
+ Always = "Always",
889
+ /** OnFailure */
890
+ OnFailure = "OnFailure",
891
+ /** Never */
892
+ Never = "Never"
893
+ }
894
+ /**
895
+ * Defines values for ContainerGroupRestartPolicy. \
896
+ * {@link KnownContainerGroupRestartPolicy} can be used interchangeably with ContainerGroupRestartPolicy,
897
+ * this enum contains the known values that the service supports.
898
+ * ### Known values supported by the service
899
+ * **Always** \
900
+ * **OnFailure** \
901
+ * **Never**
902
+ */
903
+ export type ContainerGroupRestartPolicy = string;
904
+ /** Known values of {@link ContainerGroupNetworkProtocol} that the service accepts. */
905
+ export declare enum KnownContainerGroupNetworkProtocol {
906
+ /** TCP */
907
+ TCP = "TCP",
908
+ /** UDP */
909
+ UDP = "UDP"
910
+ }
911
+ /**
912
+ * Defines values for ContainerGroupNetworkProtocol. \
913
+ * {@link KnownContainerGroupNetworkProtocol} can be used interchangeably with ContainerGroupNetworkProtocol,
914
+ * this enum contains the known values that the service supports.
915
+ * ### Known values supported by the service
916
+ * **TCP** \
917
+ * **UDP**
918
+ */
919
+ export type ContainerGroupNetworkProtocol = string;
920
+ /** Known values of {@link ContainerGroupIpAddressType} that the service accepts. */
921
+ export declare enum KnownContainerGroupIpAddressType {
922
+ /** Public */
923
+ Public = "Public",
924
+ /** Private */
925
+ Private = "Private"
926
+ }
927
+ /**
928
+ * Defines values for ContainerGroupIpAddressType. \
929
+ * {@link KnownContainerGroupIpAddressType} can be used interchangeably with ContainerGroupIpAddressType,
930
+ * this enum contains the known values that the service supports.
931
+ * ### Known values supported by the service
932
+ * **Public** \
933
+ * **Private**
934
+ */
935
+ export type ContainerGroupIpAddressType = string;
936
+ /** Known values of {@link DnsNameLabelReusePolicy} that the service accepts. */
937
+ export declare enum KnownDnsNameLabelReusePolicy {
938
+ /** Unsecure */
939
+ Unsecure = "Unsecure",
940
+ /** TenantReuse */
941
+ TenantReuse = "TenantReuse",
942
+ /** SubscriptionReuse */
943
+ SubscriptionReuse = "SubscriptionReuse",
944
+ /** ResourceGroupReuse */
945
+ ResourceGroupReuse = "ResourceGroupReuse",
946
+ /** Noreuse */
947
+ Noreuse = "Noreuse"
948
+ }
949
+ /**
950
+ * Defines values for DnsNameLabelReusePolicy. \
951
+ * {@link KnownDnsNameLabelReusePolicy} can be used interchangeably with DnsNameLabelReusePolicy,
952
+ * this enum contains the known values that the service supports.
953
+ * ### Known values supported by the service
954
+ * **Unsecure** \
955
+ * **TenantReuse** \
956
+ * **SubscriptionReuse** \
957
+ * **ResourceGroupReuse** \
958
+ * **Noreuse**
959
+ */
960
+ export type DnsNameLabelReusePolicy = string;
961
+ /** Known values of {@link OperatingSystemTypes} that the service accepts. */
962
+ export declare enum KnownOperatingSystemTypes {
963
+ /** Windows */
964
+ Windows = "Windows",
965
+ /** Linux */
966
+ Linux = "Linux"
967
+ }
968
+ /**
969
+ * Defines values for OperatingSystemTypes. \
970
+ * {@link KnownOperatingSystemTypes} can be used interchangeably with OperatingSystemTypes,
971
+ * this enum contains the known values that the service supports.
972
+ * ### Known values supported by the service
973
+ * **Windows** \
974
+ * **Linux**
975
+ */
976
+ export type OperatingSystemTypes = string;
977
+ /** Known values of {@link LogAnalyticsLogType} that the service accepts. */
978
+ export declare enum KnownLogAnalyticsLogType {
979
+ /** ContainerInsights */
980
+ ContainerInsights = "ContainerInsights",
981
+ /** ContainerInstanceLogs */
982
+ ContainerInstanceLogs = "ContainerInstanceLogs"
983
+ }
984
+ /**
985
+ * Defines values for LogAnalyticsLogType. \
986
+ * {@link KnownLogAnalyticsLogType} can be used interchangeably with LogAnalyticsLogType,
987
+ * this enum contains the known values that the service supports.
988
+ * ### Known values supported by the service
989
+ * **ContainerInsights** \
990
+ * **ContainerInstanceLogs**
991
+ */
992
+ export type LogAnalyticsLogType = string;
993
+ /** Known values of {@link ContainerGroupSku} that the service accepts. */
994
+ export declare enum KnownContainerGroupSku {
995
+ /** Standard */
996
+ Standard = "Standard",
997
+ /** Dedicated */
998
+ Dedicated = "Dedicated",
999
+ /** Confidential */
1000
+ Confidential = "Confidential"
1001
+ }
1002
+ /**
1003
+ * Defines values for ContainerGroupSku. \
1004
+ * {@link KnownContainerGroupSku} can be used interchangeably with ContainerGroupSku,
1005
+ * this enum contains the known values that the service supports.
1006
+ * ### Known values supported by the service
1007
+ * **Standard** \
1008
+ * **Dedicated** \
1009
+ * **Confidential**
1010
+ */
1011
+ export type ContainerGroupSku = string;
1012
+ /** Known values of {@link ContainerGroupPriority} that the service accepts. */
1013
+ export declare enum KnownContainerGroupPriority {
1014
+ /** Regular */
1015
+ Regular = "Regular",
1016
+ /** Spot */
1017
+ Spot = "Spot"
1018
+ }
1019
+ /**
1020
+ * Defines values for ContainerGroupPriority. \
1021
+ * {@link KnownContainerGroupPriority} can be used interchangeably with ContainerGroupPriority,
1022
+ * this enum contains the known values that the service supports.
1023
+ * ### Known values supported by the service
1024
+ * **Regular** \
1025
+ * **Spot**
1026
+ */
1027
+ export type ContainerGroupPriority = string;
1028
+ /** Known values of {@link ContainerInstanceOperationsOrigin} that the service accepts. */
1029
+ export declare enum KnownContainerInstanceOperationsOrigin {
1030
+ /** User */
1031
+ User = "User",
1032
+ /** System */
1033
+ System = "System"
1034
+ }
1035
+ /**
1036
+ * Defines values for ContainerInstanceOperationsOrigin. \
1037
+ * {@link KnownContainerInstanceOperationsOrigin} can be used interchangeably with ContainerInstanceOperationsOrigin,
1038
+ * this enum contains the known values that the service supports.
1039
+ * ### Known values supported by the service
1040
+ * **User** \
1041
+ * **System**
1042
+ */
1043
+ export type ContainerInstanceOperationsOrigin = string;
1044
+ /** Defines values for ResourceIdentityType. */
1045
+ export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None";
1046
+ /** Optional parameters. */
1047
+ export interface ContainerGroupsListOptionalParams extends coreClient.OperationOptions {
1048
+ }
1049
+ /** Contains response data for the list operation. */
1050
+ export type ContainerGroupsListResponse = ContainerGroupListResult;
1051
+ /** Optional parameters. */
1052
+ export interface ContainerGroupsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1053
+ }
1054
+ /** Contains response data for the listByResourceGroup operation. */
1055
+ export type ContainerGroupsListByResourceGroupResponse = ContainerGroupListResult;
1056
+ /** Optional parameters. */
1057
+ export interface ContainerGroupsGetOptionalParams extends coreClient.OperationOptions {
1058
+ }
1059
+ /** Contains response data for the get operation. */
1060
+ export type ContainerGroupsGetResponse = ContainerGroup;
1061
+ /** Optional parameters. */
1062
+ export interface ContainerGroupsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1063
+ /** Delay to wait until next poll, in milliseconds. */
1064
+ updateIntervalInMs?: number;
1065
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1066
+ resumeFrom?: string;
1067
+ }
1068
+ /** Contains response data for the createOrUpdate operation. */
1069
+ export type ContainerGroupsCreateOrUpdateResponse = ContainerGroup;
1070
+ /** Optional parameters. */
1071
+ export interface ContainerGroupsUpdateOptionalParams extends coreClient.OperationOptions {
1072
+ }
1073
+ /** Contains response data for the update operation. */
1074
+ export type ContainerGroupsUpdateResponse = ContainerGroup;
1075
+ /** Optional parameters. */
1076
+ export interface ContainerGroupsDeleteOptionalParams extends coreClient.OperationOptions {
1077
+ /** Delay to wait until next poll, in milliseconds. */
1078
+ updateIntervalInMs?: number;
1079
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1080
+ resumeFrom?: string;
1081
+ }
1082
+ /** Contains response data for the delete operation. */
1083
+ export type ContainerGroupsDeleteResponse = ContainerGroup;
1084
+ /** Optional parameters. */
1085
+ export interface ContainerGroupsRestartOptionalParams extends coreClient.OperationOptions {
1086
+ /** Delay to wait until next poll, in milliseconds. */
1087
+ updateIntervalInMs?: number;
1088
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1089
+ resumeFrom?: string;
1090
+ }
1091
+ /** Optional parameters. */
1092
+ export interface ContainerGroupsStopOptionalParams extends coreClient.OperationOptions {
1093
+ }
1094
+ /** Optional parameters. */
1095
+ export interface ContainerGroupsStartOptionalParams extends coreClient.OperationOptions {
1096
+ /** Delay to wait until next poll, in milliseconds. */
1097
+ updateIntervalInMs?: number;
1098
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1099
+ resumeFrom?: string;
1100
+ }
1101
+ /** Optional parameters. */
1102
+ export interface ContainerGroupsGetOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions {
1103
+ }
1104
+ /** Contains response data for the getOutboundNetworkDependenciesEndpoints operation. */
1105
+ export type ContainerGroupsGetOutboundNetworkDependenciesEndpointsResponse = {
1106
+ /** The parsed response body. */
1107
+ body: string[];
1108
+ };
1109
+ /** Optional parameters. */
1110
+ export interface ContainerGroupsListNextOptionalParams extends coreClient.OperationOptions {
1111
+ }
1112
+ /** Contains response data for the listNext operation. */
1113
+ export type ContainerGroupsListNextResponse = ContainerGroupListResult;
1114
+ /** Optional parameters. */
1115
+ export interface ContainerGroupsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1116
+ }
1117
+ /** Contains response data for the listByResourceGroupNext operation. */
1118
+ export type ContainerGroupsListByResourceGroupNextResponse = ContainerGroupListResult;
1119
+ /** Optional parameters. */
1120
+ export interface OperationsListOptionalParams extends coreClient.OperationOptions {
1121
+ }
1122
+ /** Contains response data for the list operation. */
1123
+ export type OperationsListResponse = OperationListResult;
1124
+ /** Optional parameters. */
1125
+ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions {
1126
+ }
1127
+ /** Contains response data for the listNext operation. */
1128
+ export type OperationsListNextResponse = OperationListResult;
1129
+ /** Optional parameters. */
1130
+ export interface LocationListUsageOptionalParams extends coreClient.OperationOptions {
1131
+ }
1132
+ /** Contains response data for the listUsage operation. */
1133
+ export type LocationListUsageResponse = UsageListResult;
1134
+ /** Optional parameters. */
1135
+ export interface LocationListCachedImagesOptionalParams extends coreClient.OperationOptions {
1136
+ }
1137
+ /** Contains response data for the listCachedImages operation. */
1138
+ export type LocationListCachedImagesResponse = CachedImagesListResult;
1139
+ /** Optional parameters. */
1140
+ export interface LocationListCapabilitiesOptionalParams extends coreClient.OperationOptions {
1141
+ }
1142
+ /** Contains response data for the listCapabilities operation. */
1143
+ export type LocationListCapabilitiesResponse = CapabilitiesListResult;
1144
+ /** Optional parameters. */
1145
+ export interface LocationListCachedImagesNextOptionalParams extends coreClient.OperationOptions {
1146
+ }
1147
+ /** Contains response data for the listCachedImagesNext operation. */
1148
+ export type LocationListCachedImagesNextResponse = CachedImagesListResult;
1149
+ /** Optional parameters. */
1150
+ export interface LocationListCapabilitiesNextOptionalParams extends coreClient.OperationOptions {
1151
+ }
1152
+ /** Contains response data for the listCapabilitiesNext operation. */
1153
+ export type LocationListCapabilitiesNextResponse = CapabilitiesListResult;
1154
+ /** Optional parameters. */
1155
+ export interface ContainersListLogsOptionalParams extends coreClient.OperationOptions {
1156
+ /** 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. */
1157
+ tail?: number;
1158
+ /** If true, adds a timestamp at the beginning of every line of log output. If not provided, defaults to false. */
1159
+ timestamps?: boolean;
1160
+ }
1161
+ /** Contains response data for the listLogs operation. */
1162
+ export type ContainersListLogsResponse = Logs;
1163
+ /** Optional parameters. */
1164
+ export interface ContainersExecuteCommandOptionalParams extends coreClient.OperationOptions {
1165
+ }
1166
+ /** Contains response data for the executeCommand operation. */
1167
+ export type ContainersExecuteCommandResponse = ContainerExecResponse;
1168
+ /** Optional parameters. */
1169
+ export interface ContainersAttachOptionalParams extends coreClient.OperationOptions {
1170
+ }
1171
+ /** Contains response data for the attach operation. */
1172
+ export type ContainersAttachResponse = ContainerAttachResponse;
1173
+ /** Optional parameters. */
1174
+ export interface SubnetServiceAssociationLinkDeleteOptionalParams extends coreClient.OperationOptions {
1175
+ /** Delay to wait until next poll, in milliseconds. */
1176
+ updateIntervalInMs?: number;
1177
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
1178
+ resumeFrom?: string;
1179
+ }
1180
+ /** Optional parameters. */
1181
+ export interface ContainerGroupProfilesListOptionalParams extends coreClient.OperationOptions {
1182
+ }
1183
+ /** Contains response data for the list operation. */
1184
+ export type ContainerGroupProfilesListResponse = ContainerGroupProfileListResult;
1185
+ /** Optional parameters. */
1186
+ export interface ContainerGroupProfilesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
1187
+ }
1188
+ /** Contains response data for the listByResourceGroup operation. */
1189
+ export type ContainerGroupProfilesListByResourceGroupResponse = ContainerGroupProfileListResult;
1190
+ /** Optional parameters. */
1191
+ export interface ContainerGroupProfilesGetOptionalParams extends coreClient.OperationOptions {
1192
+ }
1193
+ /** Contains response data for the get operation. */
1194
+ export type ContainerGroupProfilesGetResponse = ContainerGroupProfile;
1195
+ /** Optional parameters. */
1196
+ export interface ContainerGroupProfilesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
1197
+ }
1198
+ /** Contains response data for the createOrUpdate operation. */
1199
+ export type ContainerGroupProfilesCreateOrUpdateResponse = ContainerGroupProfile;
1200
+ /** Optional parameters. */
1201
+ export interface ContainerGroupProfilesPatchOptionalParams extends coreClient.OperationOptions {
1202
+ }
1203
+ /** Contains response data for the patch operation. */
1204
+ export type ContainerGroupProfilesPatchResponse = ContainerGroupProfile;
1205
+ /** Optional parameters. */
1206
+ export interface ContainerGroupProfilesDeleteOptionalParams extends coreClient.OperationOptions {
1207
+ }
1208
+ /** Optional parameters. */
1209
+ export interface ContainerGroupProfilesListNextOptionalParams extends coreClient.OperationOptions {
1210
+ }
1211
+ /** Contains response data for the listNext operation. */
1212
+ export type ContainerGroupProfilesListNextResponse = ContainerGroupProfileListResult;
1213
+ /** Optional parameters. */
1214
+ export interface ContainerGroupProfilesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
1215
+ }
1216
+ /** Contains response data for the listByResourceGroupNext operation. */
1217
+ export type ContainerGroupProfilesListByResourceGroupNextResponse = ContainerGroupProfileListResult;
1218
+ /** Optional parameters. */
1219
+ export interface ContainerGroupProfileListAllRevisionsOptionalParams extends coreClient.OperationOptions {
1220
+ }
1221
+ /** Contains response data for the listAllRevisions operation. */
1222
+ export type ContainerGroupProfileListAllRevisionsResponse = ContainerGroupProfileListResult;
1223
+ /** Optional parameters. */
1224
+ export interface ContainerGroupProfileGetByRevisionNumberOptionalParams extends coreClient.OperationOptions {
1225
+ }
1226
+ /** Contains response data for the getByRevisionNumber operation. */
1227
+ export type ContainerGroupProfileGetByRevisionNumberResponse = ContainerGroupProfile;
1228
+ /** Optional parameters. */
1229
+ export interface ContainerGroupProfileListAllRevisionsNextOptionalParams extends coreClient.OperationOptions {
1230
+ }
1231
+ /** Contains response data for the listAllRevisionsNext operation. */
1232
+ export type ContainerGroupProfileListAllRevisionsNextResponse = ContainerGroupProfileListResult;
1233
+ /** Optional parameters. */
1234
+ export interface ContainerInstanceManagementClientOptionalParams extends coreClient.ServiceClientOptions {
1235
+ /** server parameter */
1236
+ $host?: string;
1237
+ /** Api Version */
1238
+ apiVersion?: string;
1239
+ /** Overrides client endpoint. */
1240
+ endpoint?: string;
1241
+ }
1242
+ //# sourceMappingURL=index.d.ts.map