pulumi-azure-native 2.48.0a1719256779__py3-none-any.whl → 2.48.0a1719827386__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-azure-native might be problematic. Click here for more details.

Files changed (295) hide show
  1. pulumi_azure_native/__init__.py +91 -2
  2. pulumi_azure_native/billing/__init__.py +11 -0
  3. pulumi_azure_native/billing/_enums.py +71 -0
  4. pulumi_azure_native/billing/_inputs.py +1274 -0
  5. pulumi_azure_native/billing/associated_tenant.py +226 -0
  6. pulumi_azure_native/billing/billing_profile.py +225 -0
  7. pulumi_azure_native/billing/billing_role_assignment_by_billing_account.py +5 -1
  8. pulumi_azure_native/billing/billing_role_assignment_by_department.py +5 -1
  9. pulumi_azure_native/billing/billing_role_assignment_by_enrollment_account.py +5 -1
  10. pulumi_azure_native/billing/get_associated_tenant.py +146 -0
  11. pulumi_azure_native/billing/get_billing_profile.py +146 -0
  12. pulumi_azure_native/billing/get_billing_role_assignment_by_billing_account.py +4 -0
  13. pulumi_azure_native/billing/get_billing_role_assignment_by_department.py +4 -0
  14. pulumi_azure_native/billing/get_billing_role_assignment_by_enrollment_account.py +4 -0
  15. pulumi_azure_native/billing/get_invoice_section.py +151 -0
  16. pulumi_azure_native/billing/invoice_section.py +247 -0
  17. pulumi_azure_native/billing/list_billing_account_invoice_sections_by_create_subscription_permission.py +2 -2
  18. pulumi_azure_native/billing/outputs.py +1728 -17
  19. pulumi_azure_native/billing/v20191001preview/billing_role_assignment_by_billing_account.py +1 -1
  20. pulumi_azure_native/billing/v20191001preview/billing_role_assignment_by_department.py +1 -1
  21. pulumi_azure_native/billing/v20191001preview/billing_role_assignment_by_enrollment_account.py +1 -1
  22. pulumi_azure_native/billing/v20240401/__init__.py +23 -0
  23. pulumi_azure_native/billing/v20240401/_enums.py +71 -0
  24. pulumi_azure_native/billing/v20240401/_inputs.py +1394 -0
  25. pulumi_azure_native/billing/v20240401/associated_tenant.py +224 -0
  26. pulumi_azure_native/billing/v20240401/billing_profile.py +223 -0
  27. pulumi_azure_native/billing/v20240401/billing_role_assignment_by_billing_account.py +223 -0
  28. pulumi_azure_native/billing/v20240401/billing_role_assignment_by_department.py +244 -0
  29. pulumi_azure_native/billing/v20240401/billing_role_assignment_by_enrollment_account.py +244 -0
  30. pulumi_azure_native/billing/v20240401/get_associated_tenant.py +144 -0
  31. pulumi_azure_native/billing/v20240401/get_billing_profile.py +144 -0
  32. pulumi_azure_native/billing/v20240401/get_billing_role_assignment_by_billing_account.py +144 -0
  33. pulumi_azure_native/billing/v20240401/get_billing_role_assignment_by_department.py +149 -0
  34. pulumi_azure_native/billing/v20240401/get_billing_role_assignment_by_enrollment_account.py +149 -0
  35. pulumi_azure_native/billing/v20240401/get_invoice_section.py +149 -0
  36. pulumi_azure_native/billing/v20240401/invoice_section.py +245 -0
  37. pulumi_azure_native/billing/v20240401/list_billing_account_invoice_sections_by_create_subscription_permission.py +92 -0
  38. pulumi_azure_native/billing/v20240401/outputs.py +2305 -0
  39. pulumi_azure_native/containerinstance/__init__.py +3 -0
  40. pulumi_azure_native/containerinstance/container_group.py +3 -3
  41. pulumi_azure_native/containerinstance/get_container_group.py +2 -2
  42. pulumi_azure_native/containerinstance/v20210301/container_group.py +1 -1
  43. pulumi_azure_native/containerinstance/v20210701/container_group.py +1 -1
  44. pulumi_azure_native/containerinstance/v20230201preview/container_group.py +1 -1
  45. pulumi_azure_native/containerinstance/v20230501/container_group.py +1 -1
  46. pulumi_azure_native/containerinstance/v20240501preview/__init__.py +12 -0
  47. pulumi_azure_native/containerinstance/v20240501preview/_enums.py +127 -0
  48. pulumi_azure_native/containerinstance/v20240501preview/_inputs.py +2019 -0
  49. pulumi_azure_native/containerinstance/v20240501preview/container_group.py +808 -0
  50. pulumi_azure_native/containerinstance/v20240501preview/get_container_group.py +420 -0
  51. pulumi_azure_native/containerinstance/v20240501preview/outputs.py +2605 -0
  52. pulumi_azure_native/dbformysql/azure_ad_administrator.py +3 -3
  53. pulumi_azure_native/dbformysql/configuration.py +3 -3
  54. pulumi_azure_native/dbformysql/database.py +3 -3
  55. pulumi_azure_native/dbformysql/firewall_rule.py +3 -3
  56. pulumi_azure_native/dbformysql/get_azure_ad_administrator.py +2 -2
  57. pulumi_azure_native/dbformysql/get_configuration.py +2 -2
  58. pulumi_azure_native/dbformysql/get_database.py +2 -2
  59. pulumi_azure_native/dbformysql/get_firewall_rule.py +2 -2
  60. pulumi_azure_native/dbformysql/v20200701privatepreview/configuration.py +1 -1
  61. pulumi_azure_native/dbformysql/v20220101/azure_ad_administrator.py +1 -1
  62. pulumi_azure_native/dbformysql/v20220101/configuration.py +1 -1
  63. pulumi_azure_native/dbformysql/v20220101/database.py +1 -1
  64. pulumi_azure_native/dbformysql/v20220101/firewall_rule.py +1 -1
  65. pulumi_azure_native/dbformysql/v20230601preview/azure_ad_administrator.py +1 -1
  66. pulumi_azure_native/dbformysql/v20230601preview/configuration.py +1 -1
  67. pulumi_azure_native/dbformysql/v20230601preview/database.py +1 -1
  68. pulumi_azure_native/dbformysql/v20230601preview/firewall_rule.py +1 -1
  69. pulumi_azure_native/dbformysql/v20230630/azure_ad_administrator.py +1 -1
  70. pulumi_azure_native/dbformysql/v20230630/configuration.py +1 -1
  71. pulumi_azure_native/dbformysql/v20230630/database.py +1 -1
  72. pulumi_azure_native/dbformysql/v20230630/firewall_rule.py +1 -1
  73. pulumi_azure_native/dbformysql/v20231230/__init__.py +8 -0
  74. pulumi_azure_native/dbformysql/v20231230/_enums.py +17 -0
  75. pulumi_azure_native/dbformysql/v20231230/azure_ad_administrator.py +331 -0
  76. pulumi_azure_native/dbformysql/v20231230/configuration.py +353 -0
  77. pulumi_azure_native/dbformysql/v20231230/database.py +243 -0
  78. pulumi_azure_native/dbformysql/v20231230/firewall_rule.py +245 -0
  79. pulumi_azure_native/dbformysql/v20231230/get_azure_ad_administrator.py +188 -0
  80. pulumi_azure_native/dbformysql/v20231230/get_configuration.py +266 -0
  81. pulumi_azure_native/dbformysql/v20231230/get_database.py +149 -0
  82. pulumi_azure_native/dbformysql/v20231230/get_firewall_rule.py +149 -0
  83. pulumi_azure_native/devcenter/__init__.py +4 -0
  84. pulumi_azure_native/devcenter/attached_network_by_dev_center.py +3 -3
  85. pulumi_azure_native/devcenter/catalog.py +3 -3
  86. pulumi_azure_native/devcenter/dev_box_definition.py +3 -3
  87. pulumi_azure_native/devcenter/dev_center.py +3 -3
  88. pulumi_azure_native/devcenter/encryption_set.py +3 -3
  89. pulumi_azure_native/devcenter/environment_type.py +3 -3
  90. pulumi_azure_native/devcenter/gallery.py +3 -3
  91. pulumi_azure_native/devcenter/get_attached_network_by_dev_center.py +2 -2
  92. pulumi_azure_native/devcenter/get_catalog.py +2 -2
  93. pulumi_azure_native/devcenter/get_catalog_sync_error_details.py +2 -2
  94. pulumi_azure_native/devcenter/get_customization_task_error_details.py +2 -2
  95. pulumi_azure_native/devcenter/get_dev_box_definition.py +2 -2
  96. pulumi_azure_native/devcenter/get_dev_center.py +2 -2
  97. pulumi_azure_native/devcenter/get_encryption_set.py +2 -2
  98. pulumi_azure_native/devcenter/get_environment_definition_error_details.py +2 -2
  99. pulumi_azure_native/devcenter/get_environment_type.py +2 -2
  100. pulumi_azure_native/devcenter/get_gallery.py +2 -2
  101. pulumi_azure_native/devcenter/get_network_connection.py +2 -2
  102. pulumi_azure_native/devcenter/get_plan.py +2 -2
  103. pulumi_azure_native/devcenter/get_plan_member.py +2 -2
  104. pulumi_azure_native/devcenter/get_pool.py +2 -2
  105. pulumi_azure_native/devcenter/get_project.py +2 -2
  106. pulumi_azure_native/devcenter/get_project_catalog.py +2 -2
  107. pulumi_azure_native/devcenter/get_project_catalog_environment_definition_error_details.py +2 -2
  108. pulumi_azure_native/devcenter/get_project_catalog_image_definition_build_details.py +213 -0
  109. pulumi_azure_native/devcenter/get_project_catalog_sync_error_details.py +2 -2
  110. pulumi_azure_native/devcenter/get_project_environment_type.py +2 -2
  111. pulumi_azure_native/devcenter/get_project_inherited_settings.py +2 -2
  112. pulumi_azure_native/devcenter/get_schedule.py +2 -2
  113. pulumi_azure_native/devcenter/list_skus_by_project.py +4 -0
  114. pulumi_azure_native/devcenter/network_connection.py +3 -3
  115. pulumi_azure_native/devcenter/outputs.py +226 -0
  116. pulumi_azure_native/devcenter/plan.py +3 -3
  117. pulumi_azure_native/devcenter/plan_member.py +3 -3
  118. pulumi_azure_native/devcenter/pool.py +3 -3
  119. pulumi_azure_native/devcenter/project.py +3 -3
  120. pulumi_azure_native/devcenter/project_catalog.py +3 -3
  121. pulumi_azure_native/devcenter/project_environment_type.py +3 -3
  122. pulumi_azure_native/devcenter/schedule.py +3 -3
  123. pulumi_azure_native/devcenter/v20221111preview/dev_box_definition.py +1 -1
  124. pulumi_azure_native/devcenter/v20230401/attached_network_by_dev_center.py +1 -1
  125. pulumi_azure_native/devcenter/v20230401/catalog.py +1 -1
  126. pulumi_azure_native/devcenter/v20230401/dev_box_definition.py +1 -1
  127. pulumi_azure_native/devcenter/v20230401/dev_center.py +1 -1
  128. pulumi_azure_native/devcenter/v20230401/environment_type.py +1 -1
  129. pulumi_azure_native/devcenter/v20230401/gallery.py +1 -1
  130. pulumi_azure_native/devcenter/v20230401/network_connection.py +1 -1
  131. pulumi_azure_native/devcenter/v20230401/pool.py +1 -1
  132. pulumi_azure_native/devcenter/v20230401/project.py +1 -1
  133. pulumi_azure_native/devcenter/v20230401/project_environment_type.py +1 -1
  134. pulumi_azure_native/devcenter/v20230401/schedule.py +1 -1
  135. pulumi_azure_native/devcenter/v20230801preview/attached_network_by_dev_center.py +1 -1
  136. pulumi_azure_native/devcenter/v20230801preview/catalog.py +1 -1
  137. pulumi_azure_native/devcenter/v20230801preview/dev_box_definition.py +1 -1
  138. pulumi_azure_native/devcenter/v20230801preview/dev_center.py +1 -1
  139. pulumi_azure_native/devcenter/v20230801preview/environment_type.py +1 -1
  140. pulumi_azure_native/devcenter/v20230801preview/gallery.py +1 -1
  141. pulumi_azure_native/devcenter/v20230801preview/network_connection.py +1 -1
  142. pulumi_azure_native/devcenter/v20230801preview/pool.py +1 -1
  143. pulumi_azure_native/devcenter/v20230801preview/project.py +1 -1
  144. pulumi_azure_native/devcenter/v20230801preview/project_environment_type.py +1 -1
  145. pulumi_azure_native/devcenter/v20230801preview/schedule.py +1 -1
  146. pulumi_azure_native/devcenter/v20231001preview/attached_network_by_dev_center.py +1 -1
  147. pulumi_azure_native/devcenter/v20231001preview/catalog.py +1 -1
  148. pulumi_azure_native/devcenter/v20231001preview/dev_box_definition.py +1 -1
  149. pulumi_azure_native/devcenter/v20231001preview/dev_center.py +1 -1
  150. pulumi_azure_native/devcenter/v20231001preview/environment_type.py +1 -1
  151. pulumi_azure_native/devcenter/v20231001preview/gallery.py +1 -1
  152. pulumi_azure_native/devcenter/v20231001preview/network_connection.py +1 -1
  153. pulumi_azure_native/devcenter/v20231001preview/pool.py +1 -1
  154. pulumi_azure_native/devcenter/v20231001preview/project.py +1 -1
  155. pulumi_azure_native/devcenter/v20231001preview/project_environment_type.py +1 -1
  156. pulumi_azure_native/devcenter/v20231001preview/schedule.py +1 -1
  157. pulumi_azure_native/devcenter/v20240201/attached_network_by_dev_center.py +1 -1
  158. pulumi_azure_native/devcenter/v20240201/catalog.py +1 -1
  159. pulumi_azure_native/devcenter/v20240201/dev_box_definition.py +1 -1
  160. pulumi_azure_native/devcenter/v20240201/dev_center.py +1 -1
  161. pulumi_azure_native/devcenter/v20240201/environment_type.py +1 -1
  162. pulumi_azure_native/devcenter/v20240201/gallery.py +1 -1
  163. pulumi_azure_native/devcenter/v20240201/network_connection.py +1 -1
  164. pulumi_azure_native/devcenter/v20240201/pool.py +1 -1
  165. pulumi_azure_native/devcenter/v20240201/project.py +1 -1
  166. pulumi_azure_native/devcenter/v20240201/project_catalog.py +1 -1
  167. pulumi_azure_native/devcenter/v20240201/project_environment_type.py +1 -1
  168. pulumi_azure_native/devcenter/v20240201/schedule.py +1 -1
  169. pulumi_azure_native/devcenter/v20240501preview/attached_network_by_dev_center.py +1 -1
  170. pulumi_azure_native/devcenter/v20240501preview/catalog.py +1 -1
  171. pulumi_azure_native/devcenter/v20240501preview/dev_box_definition.py +1 -1
  172. pulumi_azure_native/devcenter/v20240501preview/dev_center.py +1 -1
  173. pulumi_azure_native/devcenter/v20240501preview/encryption_set.py +1 -1
  174. pulumi_azure_native/devcenter/v20240501preview/environment_type.py +1 -1
  175. pulumi_azure_native/devcenter/v20240501preview/gallery.py +1 -1
  176. pulumi_azure_native/devcenter/v20240501preview/network_connection.py +1 -1
  177. pulumi_azure_native/devcenter/v20240501preview/plan.py +1 -1
  178. pulumi_azure_native/devcenter/v20240501preview/plan_member.py +1 -1
  179. pulumi_azure_native/devcenter/v20240501preview/pool.py +1 -1
  180. pulumi_azure_native/devcenter/v20240501preview/project.py +1 -1
  181. pulumi_azure_native/devcenter/v20240501preview/project_catalog.py +1 -1
  182. pulumi_azure_native/devcenter/v20240501preview/project_environment_type.py +1 -1
  183. pulumi_azure_native/devcenter/v20240501preview/schedule.py +1 -1
  184. pulumi_azure_native/devcenter/v20240601preview/attached_network_by_dev_center.py +1 -1
  185. pulumi_azure_native/devcenter/v20240601preview/catalog.py +1 -1
  186. pulumi_azure_native/devcenter/v20240601preview/dev_box_definition.py +1 -1
  187. pulumi_azure_native/devcenter/v20240601preview/dev_center.py +1 -1
  188. pulumi_azure_native/devcenter/v20240601preview/encryption_set.py +1 -1
  189. pulumi_azure_native/devcenter/v20240601preview/environment_type.py +1 -1
  190. pulumi_azure_native/devcenter/v20240601preview/gallery.py +1 -1
  191. pulumi_azure_native/devcenter/v20240601preview/network_connection.py +1 -1
  192. pulumi_azure_native/devcenter/v20240601preview/plan.py +1 -1
  193. pulumi_azure_native/devcenter/v20240601preview/plan_member.py +1 -1
  194. pulumi_azure_native/devcenter/v20240601preview/pool.py +1 -1
  195. pulumi_azure_native/devcenter/v20240601preview/project.py +1 -1
  196. pulumi_azure_native/devcenter/v20240601preview/project_catalog.py +1 -1
  197. pulumi_azure_native/devcenter/v20240601preview/project_environment_type.py +1 -1
  198. pulumi_azure_native/devcenter/v20240601preview/schedule.py +1 -1
  199. pulumi_azure_native/devcenter/v20240701preview/__init__.py +48 -0
  200. pulumi_azure_native/devcenter/v20240701preview/_enums.py +209 -0
  201. pulumi_azure_native/devcenter/v20240701preview/_inputs.py +595 -0
  202. pulumi_azure_native/devcenter/v20240701preview/attached_network_by_dev_center.py +255 -0
  203. pulumi_azure_native/devcenter/v20240701preview/catalog.py +363 -0
  204. pulumi_azure_native/devcenter/v20240701preview/dev_box_definition.py +413 -0
  205. pulumi_azure_native/devcenter/v20240701preview/dev_center.py +447 -0
  206. pulumi_azure_native/devcenter/v20240701preview/encryption_set.py +342 -0
  207. pulumi_azure_native/devcenter/v20240701preview/environment_type.py +253 -0
  208. pulumi_azure_native/devcenter/v20240701preview/gallery.py +225 -0
  209. pulumi_azure_native/devcenter/v20240701preview/get_attached_network_by_dev_center.py +188 -0
  210. pulumi_azure_native/devcenter/v20240701preview/get_catalog.py +253 -0
  211. pulumi_azure_native/devcenter/v20240701preview/get_catalog_sync_error_details.py +110 -0
  212. pulumi_azure_native/devcenter/v20240701preview/get_customization_task_error_details.py +89 -0
  213. pulumi_azure_native/devcenter/v20240701preview/get_dev_box_definition.py +266 -0
  214. pulumi_azure_native/devcenter/v20240701preview/get_dev_center.py +261 -0
  215. pulumi_azure_native/devcenter/v20240701preview/get_encryption_set.py +201 -0
  216. pulumi_azure_native/devcenter/v20240701preview/get_environment_definition_error_details.py +89 -0
  217. pulumi_azure_native/devcenter/v20240701preview/get_environment_type.py +162 -0
  218. pulumi_azure_native/devcenter/v20240701preview/get_gallery.py +149 -0
  219. pulumi_azure_native/devcenter/v20240701preview/get_network_connection.py +261 -0
  220. pulumi_azure_native/devcenter/v20240701preview/get_plan.py +170 -0
  221. pulumi_azure_native/devcenter/v20240701preview/get_plan_member.py +175 -0
  222. pulumi_azure_native/devcenter/v20240701preview/get_pool.py +344 -0
  223. pulumi_azure_native/devcenter/v20240701preview/get_project.py +248 -0
  224. pulumi_azure_native/devcenter/v20240701preview/get_project_catalog.py +253 -0
  225. pulumi_azure_native/devcenter/v20240701preview/get_project_catalog_environment_definition_error_details.py +89 -0
  226. pulumi_azure_native/devcenter/v20240701preview/get_project_catalog_image_definition_build_details.py +211 -0
  227. pulumi_azure_native/devcenter/v20240701preview/get_project_catalog_sync_error_details.py +110 -0
  228. pulumi_azure_native/devcenter/v20240701preview/get_project_environment_type.py +253 -0
  229. pulumi_azure_native/devcenter/v20240701preview/get_project_inherited_settings.py +92 -0
  230. pulumi_azure_native/devcenter/v20240701preview/get_schedule.py +224 -0
  231. pulumi_azure_native/devcenter/v20240701preview/list_skus_by_project.py +92 -0
  232. pulumi_azure_native/devcenter/v20240701preview/network_connection.py +448 -0
  233. pulumi_azure_native/devcenter/v20240701preview/outputs.py +1673 -0
  234. pulumi_azure_native/devcenter/v20240701preview/plan.py +263 -0
  235. pulumi_azure_native/devcenter/v20240701preview/plan_member.py +283 -0
  236. pulumi_azure_native/devcenter/v20240701preview/pool.py +608 -0
  237. pulumi_azure_native/devcenter/v20240701preview/project.py +418 -0
  238. pulumi_azure_native/devcenter/v20240701preview/project_catalog.py +363 -0
  239. pulumi_azure_native/devcenter/v20240701preview/project_environment_type.py +439 -0
  240. pulumi_azure_native/devcenter/v20240701preview/schedule.py +434 -0
  241. pulumi_azure_native/fabric/__init__.py +20 -0
  242. pulumi_azure_native/fabric/_enums.py +19 -0
  243. pulumi_azure_native/fabric/_inputs.py +78 -0
  244. pulumi_azure_native/fabric/fabric_capacity.py +306 -0
  245. pulumi_azure_native/fabric/get_fabric_capacity.py +198 -0
  246. pulumi_azure_native/fabric/outputs.py +183 -0
  247. pulumi_azure_native/fabric/v20231101/__init__.py +12 -0
  248. pulumi_azure_native/fabric/v20231101/_enums.py +19 -0
  249. pulumi_azure_native/fabric/v20231101/_inputs.py +78 -0
  250. pulumi_azure_native/fabric/v20231101/fabric_capacity.py +304 -0
  251. pulumi_azure_native/fabric/v20231101/get_fabric_capacity.py +196 -0
  252. pulumi_azure_native/fabric/v20231101/outputs.py +183 -0
  253. pulumi_azure_native/kubernetes/__init__.py +3 -0
  254. pulumi_azure_native/kubernetes/connected_cluster.py +3 -3
  255. pulumi_azure_native/kubernetes/get_connected_cluster.py +2 -2
  256. pulumi_azure_native/kubernetes/list_connected_cluster_user_credential.py +2 -2
  257. pulumi_azure_native/kubernetes/v20220501preview/connected_cluster.py +1 -1
  258. pulumi_azure_native/kubernetes/v20221001preview/connected_cluster.py +1 -1
  259. pulumi_azure_native/kubernetes/v20231101preview/connected_cluster.py +1 -1
  260. pulumi_azure_native/kubernetes/v20240101/connected_cluster.py +1 -1
  261. pulumi_azure_native/kubernetes/v20240201preview/connected_cluster.py +1 -1
  262. pulumi_azure_native/kubernetes/v20240601preview/connected_cluster.py +1 -1
  263. pulumi_azure_native/kubernetes/v20240701preview/__init__.py +13 -0
  264. pulumi_azure_native/kubernetes/v20240701preview/_enums.py +76 -0
  265. pulumi_azure_native/kubernetes/v20240701preview/_inputs.py +401 -0
  266. pulumi_azure_native/kubernetes/v20240701preview/connected_cluster.py +788 -0
  267. pulumi_azure_native/kubernetes/v20240701preview/get_connected_cluster.py +469 -0
  268. pulumi_azure_native/kubernetes/v20240701preview/list_connected_cluster_user_credential.py +103 -0
  269. pulumi_azure_native/kubernetes/v20240701preview/outputs.py +827 -0
  270. pulumi_azure_native/loadtestservice/__init__.py +7 -0
  271. pulumi_azure_native/loadtestservice/get_load_test.py +2 -2
  272. pulumi_azure_native/loadtestservice/get_load_test_mapping.py +159 -0
  273. pulumi_azure_native/loadtestservice/get_load_test_profile_mapping.py +159 -0
  274. pulumi_azure_native/loadtestservice/load_test.py +3 -3
  275. pulumi_azure_native/loadtestservice/load_test_mapping.py +253 -0
  276. pulumi_azure_native/loadtestservice/load_test_profile_mapping.py +253 -0
  277. pulumi_azure_native/loadtestservice/v20211201preview/load_test.py +1 -1
  278. pulumi_azure_native/loadtestservice/v20221201/load_test.py +1 -1
  279. pulumi_azure_native/loadtestservice/v20231201preview/__init__.py +16 -0
  280. pulumi_azure_native/loadtestservice/v20231201preview/_enums.py +34 -0
  281. pulumi_azure_native/loadtestservice/v20231201preview/_inputs.py +137 -0
  282. pulumi_azure_native/loadtestservice/v20231201preview/get_load_test.py +209 -0
  283. pulumi_azure_native/loadtestservice/v20231201preview/get_load_test_mapping.py +157 -0
  284. pulumi_azure_native/loadtestservice/v20231201preview/get_load_test_profile_mapping.py +157 -0
  285. pulumi_azure_native/loadtestservice/v20231201preview/load_test.py +331 -0
  286. pulumi_azure_native/loadtestservice/v20231201preview/load_test_mapping.py +251 -0
  287. pulumi_azure_native/loadtestservice/v20231201preview/load_test_profile_mapping.py +251 -0
  288. pulumi_azure_native/loadtestservice/v20231201preview/outputs.py +364 -0
  289. pulumi_azure_native/portal/_inputs.py +61 -202
  290. pulumi_azure_native/portal/outputs.py +51 -192
  291. pulumi_azure_native/pulumi-plugin.json +1 -1
  292. {pulumi_azure_native-2.48.0a1719256779.dist-info → pulumi_azure_native-2.48.0a1719827386.dist-info}/METADATA +1 -1
  293. {pulumi_azure_native-2.48.0a1719256779.dist-info → pulumi_azure_native-2.48.0a1719827386.dist-info}/RECORD +295 -180
  294. {pulumi_azure_native-2.48.0a1719256779.dist-info → pulumi_azure_native-2.48.0a1719827386.dist-info}/WHEEL +1 -1
  295. {pulumi_azure_native-2.48.0a1719256779.dist-info → pulumi_azure_native-2.48.0a1719827386.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2605 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from ... import _utilities
11
+ from . import outputs
12
+ from ._enums import *
13
+
14
+ __all__ = [
15
+ 'AzureFileVolumeResponse',
16
+ 'ConfidentialComputePropertiesResponse',
17
+ 'ConfigMapResponse',
18
+ 'ContainerExecResponse',
19
+ 'ContainerGroupDiagnosticsResponse',
20
+ 'ContainerGroupIdentityResponse',
21
+ 'ContainerGroupProfileReferenceDefinitionResponse',
22
+ 'ContainerGroupPropertiesResponseInstanceView',
23
+ 'ContainerGroupSubnetIdResponse',
24
+ 'ContainerHttpGetResponse',
25
+ 'ContainerPortResponse',
26
+ 'ContainerProbeResponse',
27
+ 'ContainerPropertiesResponseInstanceView',
28
+ 'ContainerResponse',
29
+ 'ContainerStateResponse',
30
+ 'DeploymentExtensionSpecResponse',
31
+ 'DnsConfigurationResponse',
32
+ 'EncryptionPropertiesResponse',
33
+ 'EnvironmentVariableResponse',
34
+ 'EventResponse',
35
+ 'GitRepoVolumeResponse',
36
+ 'GpuResourceResponse',
37
+ 'HttpHeaderResponse',
38
+ 'ImageRegistryCredentialResponse',
39
+ 'InitContainerDefinitionResponse',
40
+ 'InitContainerPropertiesDefinitionResponseInstanceView',
41
+ 'IpAddressResponse',
42
+ 'LogAnalyticsResponse',
43
+ 'PortResponse',
44
+ 'ResourceLimitsResponse',
45
+ 'ResourceRequestsResponse',
46
+ 'ResourceRequirementsResponse',
47
+ 'SecurityContextCapabilitiesDefinitionResponse',
48
+ 'SecurityContextDefinitionResponse',
49
+ 'StandbyPoolProfileDefinitionResponse',
50
+ 'UserAssignedIdentitiesResponse',
51
+ 'VolumeMountResponse',
52
+ 'VolumeResponse',
53
+ ]
54
+
55
+ @pulumi.output_type
56
+ class AzureFileVolumeResponse(dict):
57
+ """
58
+ The properties of the Azure File volume. Azure File shares are mounted as volumes.
59
+ """
60
+ @staticmethod
61
+ def __key_warning(key: str):
62
+ suggest = None
63
+ if key == "shareName":
64
+ suggest = "share_name"
65
+ elif key == "storageAccountName":
66
+ suggest = "storage_account_name"
67
+ elif key == "readOnly":
68
+ suggest = "read_only"
69
+ elif key == "storageAccountKey":
70
+ suggest = "storage_account_key"
71
+
72
+ if suggest:
73
+ pulumi.log.warn(f"Key '{key}' not found in AzureFileVolumeResponse. Access the value via the '{suggest}' property getter instead.")
74
+
75
+ def __getitem__(self, key: str) -> Any:
76
+ AzureFileVolumeResponse.__key_warning(key)
77
+ return super().__getitem__(key)
78
+
79
+ def get(self, key: str, default = None) -> Any:
80
+ AzureFileVolumeResponse.__key_warning(key)
81
+ return super().get(key, default)
82
+
83
+ def __init__(__self__, *,
84
+ share_name: str,
85
+ storage_account_name: str,
86
+ read_only: Optional[bool] = None,
87
+ storage_account_key: Optional[str] = None):
88
+ """
89
+ The properties of the Azure File volume. Azure File shares are mounted as volumes.
90
+ :param str share_name: The name of the Azure File share to be mounted as a volume.
91
+ :param str storage_account_name: The name of the storage account that contains the Azure File share.
92
+ :param bool read_only: The flag indicating whether the Azure File shared mounted as a volume is read-only.
93
+ :param str storage_account_key: The storage account access key used to access the Azure File share.
94
+ """
95
+ pulumi.set(__self__, "share_name", share_name)
96
+ pulumi.set(__self__, "storage_account_name", storage_account_name)
97
+ if read_only is not None:
98
+ pulumi.set(__self__, "read_only", read_only)
99
+ if storage_account_key is not None:
100
+ pulumi.set(__self__, "storage_account_key", storage_account_key)
101
+
102
+ @property
103
+ @pulumi.getter(name="shareName")
104
+ def share_name(self) -> str:
105
+ """
106
+ The name of the Azure File share to be mounted as a volume.
107
+ """
108
+ return pulumi.get(self, "share_name")
109
+
110
+ @property
111
+ @pulumi.getter(name="storageAccountName")
112
+ def storage_account_name(self) -> str:
113
+ """
114
+ The name of the storage account that contains the Azure File share.
115
+ """
116
+ return pulumi.get(self, "storage_account_name")
117
+
118
+ @property
119
+ @pulumi.getter(name="readOnly")
120
+ def read_only(self) -> Optional[bool]:
121
+ """
122
+ The flag indicating whether the Azure File shared mounted as a volume is read-only.
123
+ """
124
+ return pulumi.get(self, "read_only")
125
+
126
+ @property
127
+ @pulumi.getter(name="storageAccountKey")
128
+ def storage_account_key(self) -> Optional[str]:
129
+ """
130
+ The storage account access key used to access the Azure File share.
131
+ """
132
+ return pulumi.get(self, "storage_account_key")
133
+
134
+
135
+ @pulumi.output_type
136
+ class ConfidentialComputePropertiesResponse(dict):
137
+ """
138
+ The properties for confidential container group
139
+ """
140
+ @staticmethod
141
+ def __key_warning(key: str):
142
+ suggest = None
143
+ if key == "ccePolicy":
144
+ suggest = "cce_policy"
145
+
146
+ if suggest:
147
+ pulumi.log.warn(f"Key '{key}' not found in ConfidentialComputePropertiesResponse. Access the value via the '{suggest}' property getter instead.")
148
+
149
+ def __getitem__(self, key: str) -> Any:
150
+ ConfidentialComputePropertiesResponse.__key_warning(key)
151
+ return super().__getitem__(key)
152
+
153
+ def get(self, key: str, default = None) -> Any:
154
+ ConfidentialComputePropertiesResponse.__key_warning(key)
155
+ return super().get(key, default)
156
+
157
+ def __init__(__self__, *,
158
+ cce_policy: Optional[str] = None):
159
+ """
160
+ The properties for confidential container group
161
+ :param str cce_policy: The base64 encoded confidential compute enforcement policy
162
+ """
163
+ if cce_policy is not None:
164
+ pulumi.set(__self__, "cce_policy", cce_policy)
165
+
166
+ @property
167
+ @pulumi.getter(name="ccePolicy")
168
+ def cce_policy(self) -> Optional[str]:
169
+ """
170
+ The base64 encoded confidential compute enforcement policy
171
+ """
172
+ return pulumi.get(self, "cce_policy")
173
+
174
+
175
+ @pulumi.output_type
176
+ class ConfigMapResponse(dict):
177
+ """
178
+ The container config map.
179
+ """
180
+ @staticmethod
181
+ def __key_warning(key: str):
182
+ suggest = None
183
+ if key == "keyValuePairs":
184
+ suggest = "key_value_pairs"
185
+
186
+ if suggest:
187
+ pulumi.log.warn(f"Key '{key}' not found in ConfigMapResponse. Access the value via the '{suggest}' property getter instead.")
188
+
189
+ def __getitem__(self, key: str) -> Any:
190
+ ConfigMapResponse.__key_warning(key)
191
+ return super().__getitem__(key)
192
+
193
+ def get(self, key: str, default = None) -> Any:
194
+ ConfigMapResponse.__key_warning(key)
195
+ return super().get(key, default)
196
+
197
+ def __init__(__self__, *,
198
+ key_value_pairs: Optional[Mapping[str, str]] = None):
199
+ """
200
+ The container config map.
201
+ :param Mapping[str, str] key_value_pairs: The key value pairs dictionary in the config map.
202
+ """
203
+ if key_value_pairs is not None:
204
+ pulumi.set(__self__, "key_value_pairs", key_value_pairs)
205
+
206
+ @property
207
+ @pulumi.getter(name="keyValuePairs")
208
+ def key_value_pairs(self) -> Optional[Mapping[str, str]]:
209
+ """
210
+ The key value pairs dictionary in the config map.
211
+ """
212
+ return pulumi.get(self, "key_value_pairs")
213
+
214
+
215
+ @pulumi.output_type
216
+ class ContainerExecResponse(dict):
217
+ """
218
+ The container execution command, for liveness or readiness probe
219
+ """
220
+ def __init__(__self__, *,
221
+ command: Optional[Sequence[str]] = None):
222
+ """
223
+ The container execution command, for liveness or readiness probe
224
+ :param Sequence[str] command: The commands to execute within the container.
225
+ """
226
+ if command is not None:
227
+ pulumi.set(__self__, "command", command)
228
+
229
+ @property
230
+ @pulumi.getter
231
+ def command(self) -> Optional[Sequence[str]]:
232
+ """
233
+ The commands to execute within the container.
234
+ """
235
+ return pulumi.get(self, "command")
236
+
237
+
238
+ @pulumi.output_type
239
+ class ContainerGroupDiagnosticsResponse(dict):
240
+ """
241
+ Container group diagnostic information.
242
+ """
243
+ @staticmethod
244
+ def __key_warning(key: str):
245
+ suggest = None
246
+ if key == "logAnalytics":
247
+ suggest = "log_analytics"
248
+
249
+ if suggest:
250
+ pulumi.log.warn(f"Key '{key}' not found in ContainerGroupDiagnosticsResponse. Access the value via the '{suggest}' property getter instead.")
251
+
252
+ def __getitem__(self, key: str) -> Any:
253
+ ContainerGroupDiagnosticsResponse.__key_warning(key)
254
+ return super().__getitem__(key)
255
+
256
+ def get(self, key: str, default = None) -> Any:
257
+ ContainerGroupDiagnosticsResponse.__key_warning(key)
258
+ return super().get(key, default)
259
+
260
+ def __init__(__self__, *,
261
+ log_analytics: Optional['outputs.LogAnalyticsResponse'] = None):
262
+ """
263
+ Container group diagnostic information.
264
+ :param 'LogAnalyticsResponse' log_analytics: Container group log analytics information.
265
+ """
266
+ if log_analytics is not None:
267
+ pulumi.set(__self__, "log_analytics", log_analytics)
268
+
269
+ @property
270
+ @pulumi.getter(name="logAnalytics")
271
+ def log_analytics(self) -> Optional['outputs.LogAnalyticsResponse']:
272
+ """
273
+ Container group log analytics information.
274
+ """
275
+ return pulumi.get(self, "log_analytics")
276
+
277
+
278
+ @pulumi.output_type
279
+ class ContainerGroupIdentityResponse(dict):
280
+ """
281
+ Identity for the container group.
282
+ """
283
+ @staticmethod
284
+ def __key_warning(key: str):
285
+ suggest = None
286
+ if key == "principalId":
287
+ suggest = "principal_id"
288
+ elif key == "tenantId":
289
+ suggest = "tenant_id"
290
+ elif key == "userAssignedIdentities":
291
+ suggest = "user_assigned_identities"
292
+
293
+ if suggest:
294
+ pulumi.log.warn(f"Key '{key}' not found in ContainerGroupIdentityResponse. Access the value via the '{suggest}' property getter instead.")
295
+
296
+ def __getitem__(self, key: str) -> Any:
297
+ ContainerGroupIdentityResponse.__key_warning(key)
298
+ return super().__getitem__(key)
299
+
300
+ def get(self, key: str, default = None) -> Any:
301
+ ContainerGroupIdentityResponse.__key_warning(key)
302
+ return super().get(key, default)
303
+
304
+ def __init__(__self__, *,
305
+ principal_id: str,
306
+ tenant_id: str,
307
+ type: Optional[str] = None,
308
+ user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentitiesResponse']] = None):
309
+ """
310
+ Identity for the container group.
311
+ :param str principal_id: The principal id of the container group identity. This property will only be provided for a system assigned identity.
312
+ :param str tenant_id: The tenant id associated with the container group. This property will only be provided for a system assigned identity.
313
+ :param str type: 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.
314
+ :param Mapping[str, 'UserAssignedIdentitiesResponse'] user_assigned_identities: The list of user identities associated with the container group.
315
+ """
316
+ pulumi.set(__self__, "principal_id", principal_id)
317
+ pulumi.set(__self__, "tenant_id", tenant_id)
318
+ if type is not None:
319
+ pulumi.set(__self__, "type", type)
320
+ if user_assigned_identities is not None:
321
+ pulumi.set(__self__, "user_assigned_identities", user_assigned_identities)
322
+
323
+ @property
324
+ @pulumi.getter(name="principalId")
325
+ def principal_id(self) -> str:
326
+ """
327
+ The principal id of the container group identity. This property will only be provided for a system assigned identity.
328
+ """
329
+ return pulumi.get(self, "principal_id")
330
+
331
+ @property
332
+ @pulumi.getter(name="tenantId")
333
+ def tenant_id(self) -> str:
334
+ """
335
+ The tenant id associated with the container group. This property will only be provided for a system assigned identity.
336
+ """
337
+ return pulumi.get(self, "tenant_id")
338
+
339
+ @property
340
+ @pulumi.getter
341
+ def type(self) -> Optional[str]:
342
+ """
343
+ 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.
344
+ """
345
+ return pulumi.get(self, "type")
346
+
347
+ @property
348
+ @pulumi.getter(name="userAssignedIdentities")
349
+ def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentitiesResponse']]:
350
+ """
351
+ The list of user identities associated with the container group.
352
+ """
353
+ return pulumi.get(self, "user_assigned_identities")
354
+
355
+
356
+ @pulumi.output_type
357
+ class ContainerGroupProfileReferenceDefinitionResponse(dict):
358
+ """
359
+ The container group profile reference.
360
+ """
361
+ def __init__(__self__, *,
362
+ id: Optional[str] = None,
363
+ revision: Optional[int] = None):
364
+ """
365
+ The container group profile reference.
366
+ :param str id: 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}'.
367
+ :param int revision: The container group profile reference revision.
368
+ """
369
+ if id is not None:
370
+ pulumi.set(__self__, "id", id)
371
+ if revision is not None:
372
+ pulumi.set(__self__, "revision", revision)
373
+
374
+ @property
375
+ @pulumi.getter
376
+ def id(self) -> Optional[str]:
377
+ """
378
+ 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}'.
379
+ """
380
+ return pulumi.get(self, "id")
381
+
382
+ @property
383
+ @pulumi.getter
384
+ def revision(self) -> Optional[int]:
385
+ """
386
+ The container group profile reference revision.
387
+ """
388
+ return pulumi.get(self, "revision")
389
+
390
+
391
+ @pulumi.output_type
392
+ class ContainerGroupPropertiesResponseInstanceView(dict):
393
+ """
394
+ The instance view of the container group. Only valid in response.
395
+ """
396
+ def __init__(__self__, *,
397
+ events: Sequence['outputs.EventResponse'],
398
+ state: str):
399
+ """
400
+ The instance view of the container group. Only valid in response.
401
+ :param Sequence['EventResponse'] events: The events of this container group.
402
+ :param str state: The state of the container group. Only valid in response.
403
+ """
404
+ pulumi.set(__self__, "events", events)
405
+ pulumi.set(__self__, "state", state)
406
+
407
+ @property
408
+ @pulumi.getter
409
+ def events(self) -> Sequence['outputs.EventResponse']:
410
+ """
411
+ The events of this container group.
412
+ """
413
+ return pulumi.get(self, "events")
414
+
415
+ @property
416
+ @pulumi.getter
417
+ def state(self) -> str:
418
+ """
419
+ The state of the container group. Only valid in response.
420
+ """
421
+ return pulumi.get(self, "state")
422
+
423
+
424
+ @pulumi.output_type
425
+ class ContainerGroupSubnetIdResponse(dict):
426
+ """
427
+ Container group subnet information.
428
+ """
429
+ def __init__(__self__, *,
430
+ id: str,
431
+ name: Optional[str] = None):
432
+ """
433
+ Container group subnet information.
434
+ :param str id: Resource ID of virtual network and subnet.
435
+ :param str name: Friendly name for the subnet.
436
+ """
437
+ pulumi.set(__self__, "id", id)
438
+ if name is not None:
439
+ pulumi.set(__self__, "name", name)
440
+
441
+ @property
442
+ @pulumi.getter
443
+ def id(self) -> str:
444
+ """
445
+ Resource ID of virtual network and subnet.
446
+ """
447
+ return pulumi.get(self, "id")
448
+
449
+ @property
450
+ @pulumi.getter
451
+ def name(self) -> Optional[str]:
452
+ """
453
+ Friendly name for the subnet.
454
+ """
455
+ return pulumi.get(self, "name")
456
+
457
+
458
+ @pulumi.output_type
459
+ class ContainerHttpGetResponse(dict):
460
+ """
461
+ The container Http Get settings, for liveness or readiness probe
462
+ """
463
+ @staticmethod
464
+ def __key_warning(key: str):
465
+ suggest = None
466
+ if key == "httpHeaders":
467
+ suggest = "http_headers"
468
+
469
+ if suggest:
470
+ pulumi.log.warn(f"Key '{key}' not found in ContainerHttpGetResponse. Access the value via the '{suggest}' property getter instead.")
471
+
472
+ def __getitem__(self, key: str) -> Any:
473
+ ContainerHttpGetResponse.__key_warning(key)
474
+ return super().__getitem__(key)
475
+
476
+ def get(self, key: str, default = None) -> Any:
477
+ ContainerHttpGetResponse.__key_warning(key)
478
+ return super().get(key, default)
479
+
480
+ def __init__(__self__, *,
481
+ port: int,
482
+ http_headers: Optional[Sequence['outputs.HttpHeaderResponse']] = None,
483
+ path: Optional[str] = None,
484
+ scheme: Optional[str] = None):
485
+ """
486
+ The container Http Get settings, for liveness or readiness probe
487
+ :param int port: The port number to probe.
488
+ :param Sequence['HttpHeaderResponse'] http_headers: The HTTP headers.
489
+ :param str path: The path to probe.
490
+ :param str scheme: The scheme.
491
+ """
492
+ pulumi.set(__self__, "port", port)
493
+ if http_headers is not None:
494
+ pulumi.set(__self__, "http_headers", http_headers)
495
+ if path is not None:
496
+ pulumi.set(__self__, "path", path)
497
+ if scheme is not None:
498
+ pulumi.set(__self__, "scheme", scheme)
499
+
500
+ @property
501
+ @pulumi.getter
502
+ def port(self) -> int:
503
+ """
504
+ The port number to probe.
505
+ """
506
+ return pulumi.get(self, "port")
507
+
508
+ @property
509
+ @pulumi.getter(name="httpHeaders")
510
+ def http_headers(self) -> Optional[Sequence['outputs.HttpHeaderResponse']]:
511
+ """
512
+ The HTTP headers.
513
+ """
514
+ return pulumi.get(self, "http_headers")
515
+
516
+ @property
517
+ @pulumi.getter
518
+ def path(self) -> Optional[str]:
519
+ """
520
+ The path to probe.
521
+ """
522
+ return pulumi.get(self, "path")
523
+
524
+ @property
525
+ @pulumi.getter
526
+ def scheme(self) -> Optional[str]:
527
+ """
528
+ The scheme.
529
+ """
530
+ return pulumi.get(self, "scheme")
531
+
532
+
533
+ @pulumi.output_type
534
+ class ContainerPortResponse(dict):
535
+ """
536
+ The port exposed on the container instance.
537
+ """
538
+ def __init__(__self__, *,
539
+ port: int,
540
+ protocol: Optional[str] = None):
541
+ """
542
+ The port exposed on the container instance.
543
+ :param int port: The port number exposed within the container group.
544
+ :param str protocol: The protocol associated with the port.
545
+ """
546
+ pulumi.set(__self__, "port", port)
547
+ if protocol is not None:
548
+ pulumi.set(__self__, "protocol", protocol)
549
+
550
+ @property
551
+ @pulumi.getter
552
+ def port(self) -> int:
553
+ """
554
+ The port number exposed within the container group.
555
+ """
556
+ return pulumi.get(self, "port")
557
+
558
+ @property
559
+ @pulumi.getter
560
+ def protocol(self) -> Optional[str]:
561
+ """
562
+ The protocol associated with the port.
563
+ """
564
+ return pulumi.get(self, "protocol")
565
+
566
+
567
+ @pulumi.output_type
568
+ class ContainerProbeResponse(dict):
569
+ """
570
+ The container probe, for liveness or readiness
571
+ """
572
+ @staticmethod
573
+ def __key_warning(key: str):
574
+ suggest = None
575
+ if key == "exec":
576
+ suggest = "exec_"
577
+ elif key == "failureThreshold":
578
+ suggest = "failure_threshold"
579
+ elif key == "httpGet":
580
+ suggest = "http_get"
581
+ elif key == "initialDelaySeconds":
582
+ suggest = "initial_delay_seconds"
583
+ elif key == "periodSeconds":
584
+ suggest = "period_seconds"
585
+ elif key == "successThreshold":
586
+ suggest = "success_threshold"
587
+ elif key == "timeoutSeconds":
588
+ suggest = "timeout_seconds"
589
+
590
+ if suggest:
591
+ pulumi.log.warn(f"Key '{key}' not found in ContainerProbeResponse. Access the value via the '{suggest}' property getter instead.")
592
+
593
+ def __getitem__(self, key: str) -> Any:
594
+ ContainerProbeResponse.__key_warning(key)
595
+ return super().__getitem__(key)
596
+
597
+ def get(self, key: str, default = None) -> Any:
598
+ ContainerProbeResponse.__key_warning(key)
599
+ return super().get(key, default)
600
+
601
+ def __init__(__self__, *,
602
+ exec_: Optional['outputs.ContainerExecResponse'] = None,
603
+ failure_threshold: Optional[int] = None,
604
+ http_get: Optional['outputs.ContainerHttpGetResponse'] = None,
605
+ initial_delay_seconds: Optional[int] = None,
606
+ period_seconds: Optional[int] = None,
607
+ success_threshold: Optional[int] = None,
608
+ timeout_seconds: Optional[int] = None):
609
+ """
610
+ The container probe, for liveness or readiness
611
+ :param 'ContainerExecResponse' exec_: The execution command to probe
612
+ :param int failure_threshold: The failure threshold.
613
+ :param 'ContainerHttpGetResponse' http_get: The Http Get settings to probe
614
+ :param int initial_delay_seconds: The initial delay seconds.
615
+ :param int period_seconds: The period seconds.
616
+ :param int success_threshold: The success threshold.
617
+ :param int timeout_seconds: The timeout seconds.
618
+ """
619
+ if exec_ is not None:
620
+ pulumi.set(__self__, "exec_", exec_)
621
+ if failure_threshold is not None:
622
+ pulumi.set(__self__, "failure_threshold", failure_threshold)
623
+ if http_get is not None:
624
+ pulumi.set(__self__, "http_get", http_get)
625
+ if initial_delay_seconds is not None:
626
+ pulumi.set(__self__, "initial_delay_seconds", initial_delay_seconds)
627
+ if period_seconds is not None:
628
+ pulumi.set(__self__, "period_seconds", period_seconds)
629
+ if success_threshold is not None:
630
+ pulumi.set(__self__, "success_threshold", success_threshold)
631
+ if timeout_seconds is not None:
632
+ pulumi.set(__self__, "timeout_seconds", timeout_seconds)
633
+
634
+ @property
635
+ @pulumi.getter(name="exec")
636
+ def exec_(self) -> Optional['outputs.ContainerExecResponse']:
637
+ """
638
+ The execution command to probe
639
+ """
640
+ return pulumi.get(self, "exec_")
641
+
642
+ @property
643
+ @pulumi.getter(name="failureThreshold")
644
+ def failure_threshold(self) -> Optional[int]:
645
+ """
646
+ The failure threshold.
647
+ """
648
+ return pulumi.get(self, "failure_threshold")
649
+
650
+ @property
651
+ @pulumi.getter(name="httpGet")
652
+ def http_get(self) -> Optional['outputs.ContainerHttpGetResponse']:
653
+ """
654
+ The Http Get settings to probe
655
+ """
656
+ return pulumi.get(self, "http_get")
657
+
658
+ @property
659
+ @pulumi.getter(name="initialDelaySeconds")
660
+ def initial_delay_seconds(self) -> Optional[int]:
661
+ """
662
+ The initial delay seconds.
663
+ """
664
+ return pulumi.get(self, "initial_delay_seconds")
665
+
666
+ @property
667
+ @pulumi.getter(name="periodSeconds")
668
+ def period_seconds(self) -> Optional[int]:
669
+ """
670
+ The period seconds.
671
+ """
672
+ return pulumi.get(self, "period_seconds")
673
+
674
+ @property
675
+ @pulumi.getter(name="successThreshold")
676
+ def success_threshold(self) -> Optional[int]:
677
+ """
678
+ The success threshold.
679
+ """
680
+ return pulumi.get(self, "success_threshold")
681
+
682
+ @property
683
+ @pulumi.getter(name="timeoutSeconds")
684
+ def timeout_seconds(self) -> Optional[int]:
685
+ """
686
+ The timeout seconds.
687
+ """
688
+ return pulumi.get(self, "timeout_seconds")
689
+
690
+
691
+ @pulumi.output_type
692
+ class ContainerPropertiesResponseInstanceView(dict):
693
+ """
694
+ The instance view of the container instance. Only valid in response.
695
+ """
696
+ @staticmethod
697
+ def __key_warning(key: str):
698
+ suggest = None
699
+ if key == "currentState":
700
+ suggest = "current_state"
701
+ elif key == "previousState":
702
+ suggest = "previous_state"
703
+ elif key == "restartCount":
704
+ suggest = "restart_count"
705
+
706
+ if suggest:
707
+ pulumi.log.warn(f"Key '{key}' not found in ContainerPropertiesResponseInstanceView. Access the value via the '{suggest}' property getter instead.")
708
+
709
+ def __getitem__(self, key: str) -> Any:
710
+ ContainerPropertiesResponseInstanceView.__key_warning(key)
711
+ return super().__getitem__(key)
712
+
713
+ def get(self, key: str, default = None) -> Any:
714
+ ContainerPropertiesResponseInstanceView.__key_warning(key)
715
+ return super().get(key, default)
716
+
717
+ def __init__(__self__, *,
718
+ current_state: 'outputs.ContainerStateResponse',
719
+ events: Sequence['outputs.EventResponse'],
720
+ previous_state: 'outputs.ContainerStateResponse',
721
+ restart_count: int):
722
+ """
723
+ The instance view of the container instance. Only valid in response.
724
+ :param 'ContainerStateResponse' current_state: Current container instance state.
725
+ :param Sequence['EventResponse'] events: The events of the container instance.
726
+ :param 'ContainerStateResponse' previous_state: Previous container instance state.
727
+ :param int restart_count: The number of times that the container instance has been restarted.
728
+ """
729
+ pulumi.set(__self__, "current_state", current_state)
730
+ pulumi.set(__self__, "events", events)
731
+ pulumi.set(__self__, "previous_state", previous_state)
732
+ pulumi.set(__self__, "restart_count", restart_count)
733
+
734
+ @property
735
+ @pulumi.getter(name="currentState")
736
+ def current_state(self) -> 'outputs.ContainerStateResponse':
737
+ """
738
+ Current container instance state.
739
+ """
740
+ return pulumi.get(self, "current_state")
741
+
742
+ @property
743
+ @pulumi.getter
744
+ def events(self) -> Sequence['outputs.EventResponse']:
745
+ """
746
+ The events of the container instance.
747
+ """
748
+ return pulumi.get(self, "events")
749
+
750
+ @property
751
+ @pulumi.getter(name="previousState")
752
+ def previous_state(self) -> 'outputs.ContainerStateResponse':
753
+ """
754
+ Previous container instance state.
755
+ """
756
+ return pulumi.get(self, "previous_state")
757
+
758
+ @property
759
+ @pulumi.getter(name="restartCount")
760
+ def restart_count(self) -> int:
761
+ """
762
+ The number of times that the container instance has been restarted.
763
+ """
764
+ return pulumi.get(self, "restart_count")
765
+
766
+
767
+ @pulumi.output_type
768
+ class ContainerResponse(dict):
769
+ """
770
+ A container instance.
771
+ """
772
+ @staticmethod
773
+ def __key_warning(key: str):
774
+ suggest = None
775
+ if key == "instanceView":
776
+ suggest = "instance_view"
777
+ elif key == "configMap":
778
+ suggest = "config_map"
779
+ elif key == "environmentVariables":
780
+ suggest = "environment_variables"
781
+ elif key == "livenessProbe":
782
+ suggest = "liveness_probe"
783
+ elif key == "readinessProbe":
784
+ suggest = "readiness_probe"
785
+ elif key == "securityContext":
786
+ suggest = "security_context"
787
+ elif key == "volumeMounts":
788
+ suggest = "volume_mounts"
789
+
790
+ if suggest:
791
+ pulumi.log.warn(f"Key '{key}' not found in ContainerResponse. Access the value via the '{suggest}' property getter instead.")
792
+
793
+ def __getitem__(self, key: str) -> Any:
794
+ ContainerResponse.__key_warning(key)
795
+ return super().__getitem__(key)
796
+
797
+ def get(self, key: str, default = None) -> Any:
798
+ ContainerResponse.__key_warning(key)
799
+ return super().get(key, default)
800
+
801
+ def __init__(__self__, *,
802
+ instance_view: 'outputs.ContainerPropertiesResponseInstanceView',
803
+ name: str,
804
+ command: Optional[Sequence[str]] = None,
805
+ config_map: Optional['outputs.ConfigMapResponse'] = None,
806
+ environment_variables: Optional[Sequence['outputs.EnvironmentVariableResponse']] = None,
807
+ image: Optional[str] = None,
808
+ liveness_probe: Optional['outputs.ContainerProbeResponse'] = None,
809
+ ports: Optional[Sequence['outputs.ContainerPortResponse']] = None,
810
+ readiness_probe: Optional['outputs.ContainerProbeResponse'] = None,
811
+ resources: Optional['outputs.ResourceRequirementsResponse'] = None,
812
+ security_context: Optional['outputs.SecurityContextDefinitionResponse'] = None,
813
+ volume_mounts: Optional[Sequence['outputs.VolumeMountResponse']] = None):
814
+ """
815
+ A container instance.
816
+ :param 'ContainerPropertiesResponseInstanceView' instance_view: The instance view of the container instance. Only valid in response.
817
+ :param str name: The user-provided name of the container instance.
818
+ :param Sequence[str] command: The commands to execute within the container instance in exec form.
819
+ :param 'ConfigMapResponse' config_map: The config map.
820
+ :param Sequence['EnvironmentVariableResponse'] environment_variables: The environment variables to set in the container instance.
821
+ :param str image: The name of the image used to create the container instance.
822
+ :param 'ContainerProbeResponse' liveness_probe: The liveness probe.
823
+ :param Sequence['ContainerPortResponse'] ports: The exposed ports on the container instance.
824
+ :param 'ContainerProbeResponse' readiness_probe: The readiness probe.
825
+ :param 'ResourceRequirementsResponse' resources: The resource requirements of the container instance.
826
+ :param 'SecurityContextDefinitionResponse' security_context: The container security properties.
827
+ :param Sequence['VolumeMountResponse'] volume_mounts: The volume mounts available to the container instance.
828
+ """
829
+ pulumi.set(__self__, "instance_view", instance_view)
830
+ pulumi.set(__self__, "name", name)
831
+ if command is not None:
832
+ pulumi.set(__self__, "command", command)
833
+ if config_map is not None:
834
+ pulumi.set(__self__, "config_map", config_map)
835
+ if environment_variables is not None:
836
+ pulumi.set(__self__, "environment_variables", environment_variables)
837
+ if image is not None:
838
+ pulumi.set(__self__, "image", image)
839
+ if liveness_probe is not None:
840
+ pulumi.set(__self__, "liveness_probe", liveness_probe)
841
+ if ports is not None:
842
+ pulumi.set(__self__, "ports", ports)
843
+ if readiness_probe is not None:
844
+ pulumi.set(__self__, "readiness_probe", readiness_probe)
845
+ if resources is not None:
846
+ pulumi.set(__self__, "resources", resources)
847
+ if security_context is not None:
848
+ pulumi.set(__self__, "security_context", security_context)
849
+ if volume_mounts is not None:
850
+ pulumi.set(__self__, "volume_mounts", volume_mounts)
851
+
852
+ @property
853
+ @pulumi.getter(name="instanceView")
854
+ def instance_view(self) -> 'outputs.ContainerPropertiesResponseInstanceView':
855
+ """
856
+ The instance view of the container instance. Only valid in response.
857
+ """
858
+ return pulumi.get(self, "instance_view")
859
+
860
+ @property
861
+ @pulumi.getter
862
+ def name(self) -> str:
863
+ """
864
+ The user-provided name of the container instance.
865
+ """
866
+ return pulumi.get(self, "name")
867
+
868
+ @property
869
+ @pulumi.getter
870
+ def command(self) -> Optional[Sequence[str]]:
871
+ """
872
+ The commands to execute within the container instance in exec form.
873
+ """
874
+ return pulumi.get(self, "command")
875
+
876
+ @property
877
+ @pulumi.getter(name="configMap")
878
+ def config_map(self) -> Optional['outputs.ConfigMapResponse']:
879
+ """
880
+ The config map.
881
+ """
882
+ return pulumi.get(self, "config_map")
883
+
884
+ @property
885
+ @pulumi.getter(name="environmentVariables")
886
+ def environment_variables(self) -> Optional[Sequence['outputs.EnvironmentVariableResponse']]:
887
+ """
888
+ The environment variables to set in the container instance.
889
+ """
890
+ return pulumi.get(self, "environment_variables")
891
+
892
+ @property
893
+ @pulumi.getter
894
+ def image(self) -> Optional[str]:
895
+ """
896
+ The name of the image used to create the container instance.
897
+ """
898
+ return pulumi.get(self, "image")
899
+
900
+ @property
901
+ @pulumi.getter(name="livenessProbe")
902
+ def liveness_probe(self) -> Optional['outputs.ContainerProbeResponse']:
903
+ """
904
+ The liveness probe.
905
+ """
906
+ return pulumi.get(self, "liveness_probe")
907
+
908
+ @property
909
+ @pulumi.getter
910
+ def ports(self) -> Optional[Sequence['outputs.ContainerPortResponse']]:
911
+ """
912
+ The exposed ports on the container instance.
913
+ """
914
+ return pulumi.get(self, "ports")
915
+
916
+ @property
917
+ @pulumi.getter(name="readinessProbe")
918
+ def readiness_probe(self) -> Optional['outputs.ContainerProbeResponse']:
919
+ """
920
+ The readiness probe.
921
+ """
922
+ return pulumi.get(self, "readiness_probe")
923
+
924
+ @property
925
+ @pulumi.getter
926
+ def resources(self) -> Optional['outputs.ResourceRequirementsResponse']:
927
+ """
928
+ The resource requirements of the container instance.
929
+ """
930
+ return pulumi.get(self, "resources")
931
+
932
+ @property
933
+ @pulumi.getter(name="securityContext")
934
+ def security_context(self) -> Optional['outputs.SecurityContextDefinitionResponse']:
935
+ """
936
+ The container security properties.
937
+ """
938
+ return pulumi.get(self, "security_context")
939
+
940
+ @property
941
+ @pulumi.getter(name="volumeMounts")
942
+ def volume_mounts(self) -> Optional[Sequence['outputs.VolumeMountResponse']]:
943
+ """
944
+ The volume mounts available to the container instance.
945
+ """
946
+ return pulumi.get(self, "volume_mounts")
947
+
948
+
949
+ @pulumi.output_type
950
+ class ContainerStateResponse(dict):
951
+ """
952
+ The container instance state.
953
+ """
954
+ @staticmethod
955
+ def __key_warning(key: str):
956
+ suggest = None
957
+ if key == "detailStatus":
958
+ suggest = "detail_status"
959
+ elif key == "exitCode":
960
+ suggest = "exit_code"
961
+ elif key == "finishTime":
962
+ suggest = "finish_time"
963
+ elif key == "startTime":
964
+ suggest = "start_time"
965
+
966
+ if suggest:
967
+ pulumi.log.warn(f"Key '{key}' not found in ContainerStateResponse. Access the value via the '{suggest}' property getter instead.")
968
+
969
+ def __getitem__(self, key: str) -> Any:
970
+ ContainerStateResponse.__key_warning(key)
971
+ return super().__getitem__(key)
972
+
973
+ def get(self, key: str, default = None) -> Any:
974
+ ContainerStateResponse.__key_warning(key)
975
+ return super().get(key, default)
976
+
977
+ def __init__(__self__, *,
978
+ detail_status: str,
979
+ exit_code: int,
980
+ finish_time: str,
981
+ start_time: str,
982
+ state: str):
983
+ """
984
+ The container instance state.
985
+ :param str detail_status: The human-readable status of the container instance state.
986
+ :param int exit_code: The container instance exit codes correspond to those from the `docker run` command.
987
+ :param str finish_time: The date-time when the container instance state finished.
988
+ :param str start_time: The date-time when the container instance state started.
989
+ :param str state: The state of the container instance.
990
+ """
991
+ pulumi.set(__self__, "detail_status", detail_status)
992
+ pulumi.set(__self__, "exit_code", exit_code)
993
+ pulumi.set(__self__, "finish_time", finish_time)
994
+ pulumi.set(__self__, "start_time", start_time)
995
+ pulumi.set(__self__, "state", state)
996
+
997
+ @property
998
+ @pulumi.getter(name="detailStatus")
999
+ def detail_status(self) -> str:
1000
+ """
1001
+ The human-readable status of the container instance state.
1002
+ """
1003
+ return pulumi.get(self, "detail_status")
1004
+
1005
+ @property
1006
+ @pulumi.getter(name="exitCode")
1007
+ def exit_code(self) -> int:
1008
+ """
1009
+ The container instance exit codes correspond to those from the `docker run` command.
1010
+ """
1011
+ return pulumi.get(self, "exit_code")
1012
+
1013
+ @property
1014
+ @pulumi.getter(name="finishTime")
1015
+ def finish_time(self) -> str:
1016
+ """
1017
+ The date-time when the container instance state finished.
1018
+ """
1019
+ return pulumi.get(self, "finish_time")
1020
+
1021
+ @property
1022
+ @pulumi.getter(name="startTime")
1023
+ def start_time(self) -> str:
1024
+ """
1025
+ The date-time when the container instance state started.
1026
+ """
1027
+ return pulumi.get(self, "start_time")
1028
+
1029
+ @property
1030
+ @pulumi.getter
1031
+ def state(self) -> str:
1032
+ """
1033
+ The state of the container instance.
1034
+ """
1035
+ return pulumi.get(self, "state")
1036
+
1037
+
1038
+ @pulumi.output_type
1039
+ class DeploymentExtensionSpecResponse(dict):
1040
+ """
1041
+ Extension sidecars to be added to the deployment.
1042
+ """
1043
+ @staticmethod
1044
+ def __key_warning(key: str):
1045
+ suggest = None
1046
+ if key == "extensionType":
1047
+ suggest = "extension_type"
1048
+ elif key == "protectedSettings":
1049
+ suggest = "protected_settings"
1050
+
1051
+ if suggest:
1052
+ pulumi.log.warn(f"Key '{key}' not found in DeploymentExtensionSpecResponse. Access the value via the '{suggest}' property getter instead.")
1053
+
1054
+ def __getitem__(self, key: str) -> Any:
1055
+ DeploymentExtensionSpecResponse.__key_warning(key)
1056
+ return super().__getitem__(key)
1057
+
1058
+ def get(self, key: str, default = None) -> Any:
1059
+ DeploymentExtensionSpecResponse.__key_warning(key)
1060
+ return super().get(key, default)
1061
+
1062
+ def __init__(__self__, *,
1063
+ extension_type: str,
1064
+ name: str,
1065
+ version: str,
1066
+ protected_settings: Optional[Any] = None,
1067
+ settings: Optional[Any] = None):
1068
+ """
1069
+ Extension sidecars to be added to the deployment.
1070
+ :param str extension_type: Type of extension to be added.
1071
+ :param str name: Name of the extension.
1072
+ :param str version: Version of the extension being used.
1073
+ :param Any protected_settings: Protected settings for the extension.
1074
+ :param Any settings: Settings for the extension.
1075
+ """
1076
+ pulumi.set(__self__, "extension_type", extension_type)
1077
+ pulumi.set(__self__, "name", name)
1078
+ pulumi.set(__self__, "version", version)
1079
+ if protected_settings is not None:
1080
+ pulumi.set(__self__, "protected_settings", protected_settings)
1081
+ if settings is not None:
1082
+ pulumi.set(__self__, "settings", settings)
1083
+
1084
+ @property
1085
+ @pulumi.getter(name="extensionType")
1086
+ def extension_type(self) -> str:
1087
+ """
1088
+ Type of extension to be added.
1089
+ """
1090
+ return pulumi.get(self, "extension_type")
1091
+
1092
+ @property
1093
+ @pulumi.getter
1094
+ def name(self) -> str:
1095
+ """
1096
+ Name of the extension.
1097
+ """
1098
+ return pulumi.get(self, "name")
1099
+
1100
+ @property
1101
+ @pulumi.getter
1102
+ def version(self) -> str:
1103
+ """
1104
+ Version of the extension being used.
1105
+ """
1106
+ return pulumi.get(self, "version")
1107
+
1108
+ @property
1109
+ @pulumi.getter(name="protectedSettings")
1110
+ def protected_settings(self) -> Optional[Any]:
1111
+ """
1112
+ Protected settings for the extension.
1113
+ """
1114
+ return pulumi.get(self, "protected_settings")
1115
+
1116
+ @property
1117
+ @pulumi.getter
1118
+ def settings(self) -> Optional[Any]:
1119
+ """
1120
+ Settings for the extension.
1121
+ """
1122
+ return pulumi.get(self, "settings")
1123
+
1124
+
1125
+ @pulumi.output_type
1126
+ class DnsConfigurationResponse(dict):
1127
+ """
1128
+ DNS configuration for the container group.
1129
+ """
1130
+ @staticmethod
1131
+ def __key_warning(key: str):
1132
+ suggest = None
1133
+ if key == "nameServers":
1134
+ suggest = "name_servers"
1135
+ elif key == "searchDomains":
1136
+ suggest = "search_domains"
1137
+
1138
+ if suggest:
1139
+ pulumi.log.warn(f"Key '{key}' not found in DnsConfigurationResponse. Access the value via the '{suggest}' property getter instead.")
1140
+
1141
+ def __getitem__(self, key: str) -> Any:
1142
+ DnsConfigurationResponse.__key_warning(key)
1143
+ return super().__getitem__(key)
1144
+
1145
+ def get(self, key: str, default = None) -> Any:
1146
+ DnsConfigurationResponse.__key_warning(key)
1147
+ return super().get(key, default)
1148
+
1149
+ def __init__(__self__, *,
1150
+ name_servers: Sequence[str],
1151
+ options: Optional[str] = None,
1152
+ search_domains: Optional[str] = None):
1153
+ """
1154
+ DNS configuration for the container group.
1155
+ :param Sequence[str] name_servers: The DNS servers for the container group.
1156
+ :param str options: The DNS options for the container group.
1157
+ :param str search_domains: The DNS search domains for hostname lookup in the container group.
1158
+ """
1159
+ pulumi.set(__self__, "name_servers", name_servers)
1160
+ if options is not None:
1161
+ pulumi.set(__self__, "options", options)
1162
+ if search_domains is not None:
1163
+ pulumi.set(__self__, "search_domains", search_domains)
1164
+
1165
+ @property
1166
+ @pulumi.getter(name="nameServers")
1167
+ def name_servers(self) -> Sequence[str]:
1168
+ """
1169
+ The DNS servers for the container group.
1170
+ """
1171
+ return pulumi.get(self, "name_servers")
1172
+
1173
+ @property
1174
+ @pulumi.getter
1175
+ def options(self) -> Optional[str]:
1176
+ """
1177
+ The DNS options for the container group.
1178
+ """
1179
+ return pulumi.get(self, "options")
1180
+
1181
+ @property
1182
+ @pulumi.getter(name="searchDomains")
1183
+ def search_domains(self) -> Optional[str]:
1184
+ """
1185
+ The DNS search domains for hostname lookup in the container group.
1186
+ """
1187
+ return pulumi.get(self, "search_domains")
1188
+
1189
+
1190
+ @pulumi.output_type
1191
+ class EncryptionPropertiesResponse(dict):
1192
+ """
1193
+ The container group encryption properties.
1194
+ """
1195
+ @staticmethod
1196
+ def __key_warning(key: str):
1197
+ suggest = None
1198
+ if key == "keyName":
1199
+ suggest = "key_name"
1200
+ elif key == "keyVersion":
1201
+ suggest = "key_version"
1202
+ elif key == "vaultBaseUrl":
1203
+ suggest = "vault_base_url"
1204
+
1205
+ if suggest:
1206
+ pulumi.log.warn(f"Key '{key}' not found in EncryptionPropertiesResponse. Access the value via the '{suggest}' property getter instead.")
1207
+
1208
+ def __getitem__(self, key: str) -> Any:
1209
+ EncryptionPropertiesResponse.__key_warning(key)
1210
+ return super().__getitem__(key)
1211
+
1212
+ def get(self, key: str, default = None) -> Any:
1213
+ EncryptionPropertiesResponse.__key_warning(key)
1214
+ return super().get(key, default)
1215
+
1216
+ def __init__(__self__, *,
1217
+ key_name: str,
1218
+ key_version: str,
1219
+ vault_base_url: str,
1220
+ identity: Optional[str] = None):
1221
+ """
1222
+ The container group encryption properties.
1223
+ :param str key_name: The encryption key name.
1224
+ :param str key_version: The encryption key version.
1225
+ :param str vault_base_url: The keyvault base url.
1226
+ :param str identity: The keyvault managed identity.
1227
+ """
1228
+ pulumi.set(__self__, "key_name", key_name)
1229
+ pulumi.set(__self__, "key_version", key_version)
1230
+ pulumi.set(__self__, "vault_base_url", vault_base_url)
1231
+ if identity is not None:
1232
+ pulumi.set(__self__, "identity", identity)
1233
+
1234
+ @property
1235
+ @pulumi.getter(name="keyName")
1236
+ def key_name(self) -> str:
1237
+ """
1238
+ The encryption key name.
1239
+ """
1240
+ return pulumi.get(self, "key_name")
1241
+
1242
+ @property
1243
+ @pulumi.getter(name="keyVersion")
1244
+ def key_version(self) -> str:
1245
+ """
1246
+ The encryption key version.
1247
+ """
1248
+ return pulumi.get(self, "key_version")
1249
+
1250
+ @property
1251
+ @pulumi.getter(name="vaultBaseUrl")
1252
+ def vault_base_url(self) -> str:
1253
+ """
1254
+ The keyvault base url.
1255
+ """
1256
+ return pulumi.get(self, "vault_base_url")
1257
+
1258
+ @property
1259
+ @pulumi.getter
1260
+ def identity(self) -> Optional[str]:
1261
+ """
1262
+ The keyvault managed identity.
1263
+ """
1264
+ return pulumi.get(self, "identity")
1265
+
1266
+
1267
+ @pulumi.output_type
1268
+ class EnvironmentVariableResponse(dict):
1269
+ """
1270
+ The environment variable to set within the container instance.
1271
+ """
1272
+ @staticmethod
1273
+ def __key_warning(key: str):
1274
+ suggest = None
1275
+ if key == "secureValue":
1276
+ suggest = "secure_value"
1277
+
1278
+ if suggest:
1279
+ pulumi.log.warn(f"Key '{key}' not found in EnvironmentVariableResponse. Access the value via the '{suggest}' property getter instead.")
1280
+
1281
+ def __getitem__(self, key: str) -> Any:
1282
+ EnvironmentVariableResponse.__key_warning(key)
1283
+ return super().__getitem__(key)
1284
+
1285
+ def get(self, key: str, default = None) -> Any:
1286
+ EnvironmentVariableResponse.__key_warning(key)
1287
+ return super().get(key, default)
1288
+
1289
+ def __init__(__self__, *,
1290
+ name: str,
1291
+ secure_value: Optional[str] = None,
1292
+ value: Optional[str] = None):
1293
+ """
1294
+ The environment variable to set within the container instance.
1295
+ :param str name: The name of the environment variable.
1296
+ :param str secure_value: The value of the secure environment variable.
1297
+ :param str value: The value of the environment variable.
1298
+ """
1299
+ pulumi.set(__self__, "name", name)
1300
+ if secure_value is not None:
1301
+ pulumi.set(__self__, "secure_value", secure_value)
1302
+ if value is not None:
1303
+ pulumi.set(__self__, "value", value)
1304
+
1305
+ @property
1306
+ @pulumi.getter
1307
+ def name(self) -> str:
1308
+ """
1309
+ The name of the environment variable.
1310
+ """
1311
+ return pulumi.get(self, "name")
1312
+
1313
+ @property
1314
+ @pulumi.getter(name="secureValue")
1315
+ def secure_value(self) -> Optional[str]:
1316
+ """
1317
+ The value of the secure environment variable.
1318
+ """
1319
+ return pulumi.get(self, "secure_value")
1320
+
1321
+ @property
1322
+ @pulumi.getter
1323
+ def value(self) -> Optional[str]:
1324
+ """
1325
+ The value of the environment variable.
1326
+ """
1327
+ return pulumi.get(self, "value")
1328
+
1329
+
1330
+ @pulumi.output_type
1331
+ class EventResponse(dict):
1332
+ """
1333
+ A container group or container instance event.
1334
+ """
1335
+ @staticmethod
1336
+ def __key_warning(key: str):
1337
+ suggest = None
1338
+ if key == "firstTimestamp":
1339
+ suggest = "first_timestamp"
1340
+ elif key == "lastTimestamp":
1341
+ suggest = "last_timestamp"
1342
+
1343
+ if suggest:
1344
+ pulumi.log.warn(f"Key '{key}' not found in EventResponse. Access the value via the '{suggest}' property getter instead.")
1345
+
1346
+ def __getitem__(self, key: str) -> Any:
1347
+ EventResponse.__key_warning(key)
1348
+ return super().__getitem__(key)
1349
+
1350
+ def get(self, key: str, default = None) -> Any:
1351
+ EventResponse.__key_warning(key)
1352
+ return super().get(key, default)
1353
+
1354
+ def __init__(__self__, *,
1355
+ count: int,
1356
+ first_timestamp: str,
1357
+ last_timestamp: str,
1358
+ message: str,
1359
+ name: str,
1360
+ type: str):
1361
+ """
1362
+ A container group or container instance event.
1363
+ :param int count: The count of the event.
1364
+ :param str first_timestamp: The date-time of the earliest logged event.
1365
+ :param str last_timestamp: The date-time of the latest logged event.
1366
+ :param str message: The event message.
1367
+ :param str name: The event name.
1368
+ :param str type: The event type.
1369
+ """
1370
+ pulumi.set(__self__, "count", count)
1371
+ pulumi.set(__self__, "first_timestamp", first_timestamp)
1372
+ pulumi.set(__self__, "last_timestamp", last_timestamp)
1373
+ pulumi.set(__self__, "message", message)
1374
+ pulumi.set(__self__, "name", name)
1375
+ pulumi.set(__self__, "type", type)
1376
+
1377
+ @property
1378
+ @pulumi.getter
1379
+ def count(self) -> int:
1380
+ """
1381
+ The count of the event.
1382
+ """
1383
+ return pulumi.get(self, "count")
1384
+
1385
+ @property
1386
+ @pulumi.getter(name="firstTimestamp")
1387
+ def first_timestamp(self) -> str:
1388
+ """
1389
+ The date-time of the earliest logged event.
1390
+ """
1391
+ return pulumi.get(self, "first_timestamp")
1392
+
1393
+ @property
1394
+ @pulumi.getter(name="lastTimestamp")
1395
+ def last_timestamp(self) -> str:
1396
+ """
1397
+ The date-time of the latest logged event.
1398
+ """
1399
+ return pulumi.get(self, "last_timestamp")
1400
+
1401
+ @property
1402
+ @pulumi.getter
1403
+ def message(self) -> str:
1404
+ """
1405
+ The event message.
1406
+ """
1407
+ return pulumi.get(self, "message")
1408
+
1409
+ @property
1410
+ @pulumi.getter
1411
+ def name(self) -> str:
1412
+ """
1413
+ The event name.
1414
+ """
1415
+ return pulumi.get(self, "name")
1416
+
1417
+ @property
1418
+ @pulumi.getter
1419
+ def type(self) -> str:
1420
+ """
1421
+ The event type.
1422
+ """
1423
+ return pulumi.get(self, "type")
1424
+
1425
+
1426
+ @pulumi.output_type
1427
+ class GitRepoVolumeResponse(dict):
1428
+ """
1429
+ Represents a volume that is populated with the contents of a git repository
1430
+ """
1431
+ def __init__(__self__, *,
1432
+ repository: str,
1433
+ directory: Optional[str] = None,
1434
+ revision: Optional[str] = None):
1435
+ """
1436
+ Represents a volume that is populated with the contents of a git repository
1437
+ :param str repository: Repository URL
1438
+ :param str directory: 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.
1439
+ :param str revision: Commit hash for the specified revision.
1440
+ """
1441
+ pulumi.set(__self__, "repository", repository)
1442
+ if directory is not None:
1443
+ pulumi.set(__self__, "directory", directory)
1444
+ if revision is not None:
1445
+ pulumi.set(__self__, "revision", revision)
1446
+
1447
+ @property
1448
+ @pulumi.getter
1449
+ def repository(self) -> str:
1450
+ """
1451
+ Repository URL
1452
+ """
1453
+ return pulumi.get(self, "repository")
1454
+
1455
+ @property
1456
+ @pulumi.getter
1457
+ def directory(self) -> Optional[str]:
1458
+ """
1459
+ 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.
1460
+ """
1461
+ return pulumi.get(self, "directory")
1462
+
1463
+ @property
1464
+ @pulumi.getter
1465
+ def revision(self) -> Optional[str]:
1466
+ """
1467
+ Commit hash for the specified revision.
1468
+ """
1469
+ return pulumi.get(self, "revision")
1470
+
1471
+
1472
+ @pulumi.output_type
1473
+ class GpuResourceResponse(dict):
1474
+ """
1475
+ The GPU resource.
1476
+ """
1477
+ def __init__(__self__, *,
1478
+ count: int,
1479
+ sku: str):
1480
+ """
1481
+ The GPU resource.
1482
+ :param int count: The count of the GPU resource.
1483
+ :param str sku: The SKU of the GPU resource.
1484
+ """
1485
+ pulumi.set(__self__, "count", count)
1486
+ pulumi.set(__self__, "sku", sku)
1487
+
1488
+ @property
1489
+ @pulumi.getter
1490
+ def count(self) -> int:
1491
+ """
1492
+ The count of the GPU resource.
1493
+ """
1494
+ return pulumi.get(self, "count")
1495
+
1496
+ @property
1497
+ @pulumi.getter
1498
+ def sku(self) -> str:
1499
+ """
1500
+ The SKU of the GPU resource.
1501
+ """
1502
+ return pulumi.get(self, "sku")
1503
+
1504
+
1505
+ @pulumi.output_type
1506
+ class HttpHeaderResponse(dict):
1507
+ """
1508
+ The HTTP header.
1509
+ """
1510
+ def __init__(__self__, *,
1511
+ name: Optional[str] = None,
1512
+ value: Optional[str] = None):
1513
+ """
1514
+ The HTTP header.
1515
+ :param str name: The header name.
1516
+ :param str value: The header value.
1517
+ """
1518
+ if name is not None:
1519
+ pulumi.set(__self__, "name", name)
1520
+ if value is not None:
1521
+ pulumi.set(__self__, "value", value)
1522
+
1523
+ @property
1524
+ @pulumi.getter
1525
+ def name(self) -> Optional[str]:
1526
+ """
1527
+ The header name.
1528
+ """
1529
+ return pulumi.get(self, "name")
1530
+
1531
+ @property
1532
+ @pulumi.getter
1533
+ def value(self) -> Optional[str]:
1534
+ """
1535
+ The header value.
1536
+ """
1537
+ return pulumi.get(self, "value")
1538
+
1539
+
1540
+ @pulumi.output_type
1541
+ class ImageRegistryCredentialResponse(dict):
1542
+ """
1543
+ Image registry credential.
1544
+ """
1545
+ @staticmethod
1546
+ def __key_warning(key: str):
1547
+ suggest = None
1548
+ if key == "identityUrl":
1549
+ suggest = "identity_url"
1550
+
1551
+ if suggest:
1552
+ pulumi.log.warn(f"Key '{key}' not found in ImageRegistryCredentialResponse. Access the value via the '{suggest}' property getter instead.")
1553
+
1554
+ def __getitem__(self, key: str) -> Any:
1555
+ ImageRegistryCredentialResponse.__key_warning(key)
1556
+ return super().__getitem__(key)
1557
+
1558
+ def get(self, key: str, default = None) -> Any:
1559
+ ImageRegistryCredentialResponse.__key_warning(key)
1560
+ return super().get(key, default)
1561
+
1562
+ def __init__(__self__, *,
1563
+ server: str,
1564
+ identity: Optional[str] = None,
1565
+ identity_url: Optional[str] = None,
1566
+ password: Optional[str] = None,
1567
+ username: Optional[str] = None):
1568
+ """
1569
+ Image registry credential.
1570
+ :param str server: The Docker image registry server without a protocol such as "http" and "https".
1571
+ :param str identity: The identity for the private registry.
1572
+ :param str identity_url: The identity URL for the private registry.
1573
+ :param str password: The password for the private registry.
1574
+ :param str username: The username for the private registry.
1575
+ """
1576
+ pulumi.set(__self__, "server", server)
1577
+ if identity is not None:
1578
+ pulumi.set(__self__, "identity", identity)
1579
+ if identity_url is not None:
1580
+ pulumi.set(__self__, "identity_url", identity_url)
1581
+ if password is not None:
1582
+ pulumi.set(__self__, "password", password)
1583
+ if username is not None:
1584
+ pulumi.set(__self__, "username", username)
1585
+
1586
+ @property
1587
+ @pulumi.getter
1588
+ def server(self) -> str:
1589
+ """
1590
+ The Docker image registry server without a protocol such as "http" and "https".
1591
+ """
1592
+ return pulumi.get(self, "server")
1593
+
1594
+ @property
1595
+ @pulumi.getter
1596
+ def identity(self) -> Optional[str]:
1597
+ """
1598
+ The identity for the private registry.
1599
+ """
1600
+ return pulumi.get(self, "identity")
1601
+
1602
+ @property
1603
+ @pulumi.getter(name="identityUrl")
1604
+ def identity_url(self) -> Optional[str]:
1605
+ """
1606
+ The identity URL for the private registry.
1607
+ """
1608
+ return pulumi.get(self, "identity_url")
1609
+
1610
+ @property
1611
+ @pulumi.getter
1612
+ def password(self) -> Optional[str]:
1613
+ """
1614
+ The password for the private registry.
1615
+ """
1616
+ return pulumi.get(self, "password")
1617
+
1618
+ @property
1619
+ @pulumi.getter
1620
+ def username(self) -> Optional[str]:
1621
+ """
1622
+ The username for the private registry.
1623
+ """
1624
+ return pulumi.get(self, "username")
1625
+
1626
+
1627
+ @pulumi.output_type
1628
+ class InitContainerDefinitionResponse(dict):
1629
+ """
1630
+ The init container definition.
1631
+ """
1632
+ @staticmethod
1633
+ def __key_warning(key: str):
1634
+ suggest = None
1635
+ if key == "instanceView":
1636
+ suggest = "instance_view"
1637
+ elif key == "environmentVariables":
1638
+ suggest = "environment_variables"
1639
+ elif key == "securityContext":
1640
+ suggest = "security_context"
1641
+ elif key == "volumeMounts":
1642
+ suggest = "volume_mounts"
1643
+
1644
+ if suggest:
1645
+ pulumi.log.warn(f"Key '{key}' not found in InitContainerDefinitionResponse. Access the value via the '{suggest}' property getter instead.")
1646
+
1647
+ def __getitem__(self, key: str) -> Any:
1648
+ InitContainerDefinitionResponse.__key_warning(key)
1649
+ return super().__getitem__(key)
1650
+
1651
+ def get(self, key: str, default = None) -> Any:
1652
+ InitContainerDefinitionResponse.__key_warning(key)
1653
+ return super().get(key, default)
1654
+
1655
+ def __init__(__self__, *,
1656
+ instance_view: 'outputs.InitContainerPropertiesDefinitionResponseInstanceView',
1657
+ name: str,
1658
+ command: Optional[Sequence[str]] = None,
1659
+ environment_variables: Optional[Sequence['outputs.EnvironmentVariableResponse']] = None,
1660
+ image: Optional[str] = None,
1661
+ security_context: Optional['outputs.SecurityContextDefinitionResponse'] = None,
1662
+ volume_mounts: Optional[Sequence['outputs.VolumeMountResponse']] = None):
1663
+ """
1664
+ The init container definition.
1665
+ :param 'InitContainerPropertiesDefinitionResponseInstanceView' instance_view: The instance view of the init container. Only valid in response.
1666
+ :param str name: The name for the init container.
1667
+ :param Sequence[str] command: The command to execute within the init container in exec form.
1668
+ :param Sequence['EnvironmentVariableResponse'] environment_variables: The environment variables to set in the init container.
1669
+ :param str image: The image of the init container.
1670
+ :param 'SecurityContextDefinitionResponse' security_context: The container security properties.
1671
+ :param Sequence['VolumeMountResponse'] volume_mounts: The volume mounts available to the init container.
1672
+ """
1673
+ pulumi.set(__self__, "instance_view", instance_view)
1674
+ pulumi.set(__self__, "name", name)
1675
+ if command is not None:
1676
+ pulumi.set(__self__, "command", command)
1677
+ if environment_variables is not None:
1678
+ pulumi.set(__self__, "environment_variables", environment_variables)
1679
+ if image is not None:
1680
+ pulumi.set(__self__, "image", image)
1681
+ if security_context is not None:
1682
+ pulumi.set(__self__, "security_context", security_context)
1683
+ if volume_mounts is not None:
1684
+ pulumi.set(__self__, "volume_mounts", volume_mounts)
1685
+
1686
+ @property
1687
+ @pulumi.getter(name="instanceView")
1688
+ def instance_view(self) -> 'outputs.InitContainerPropertiesDefinitionResponseInstanceView':
1689
+ """
1690
+ The instance view of the init container. Only valid in response.
1691
+ """
1692
+ return pulumi.get(self, "instance_view")
1693
+
1694
+ @property
1695
+ @pulumi.getter
1696
+ def name(self) -> str:
1697
+ """
1698
+ The name for the init container.
1699
+ """
1700
+ return pulumi.get(self, "name")
1701
+
1702
+ @property
1703
+ @pulumi.getter
1704
+ def command(self) -> Optional[Sequence[str]]:
1705
+ """
1706
+ The command to execute within the init container in exec form.
1707
+ """
1708
+ return pulumi.get(self, "command")
1709
+
1710
+ @property
1711
+ @pulumi.getter(name="environmentVariables")
1712
+ def environment_variables(self) -> Optional[Sequence['outputs.EnvironmentVariableResponse']]:
1713
+ """
1714
+ The environment variables to set in the init container.
1715
+ """
1716
+ return pulumi.get(self, "environment_variables")
1717
+
1718
+ @property
1719
+ @pulumi.getter
1720
+ def image(self) -> Optional[str]:
1721
+ """
1722
+ The image of the init container.
1723
+ """
1724
+ return pulumi.get(self, "image")
1725
+
1726
+ @property
1727
+ @pulumi.getter(name="securityContext")
1728
+ def security_context(self) -> Optional['outputs.SecurityContextDefinitionResponse']:
1729
+ """
1730
+ The container security properties.
1731
+ """
1732
+ return pulumi.get(self, "security_context")
1733
+
1734
+ @property
1735
+ @pulumi.getter(name="volumeMounts")
1736
+ def volume_mounts(self) -> Optional[Sequence['outputs.VolumeMountResponse']]:
1737
+ """
1738
+ The volume mounts available to the init container.
1739
+ """
1740
+ return pulumi.get(self, "volume_mounts")
1741
+
1742
+
1743
+ @pulumi.output_type
1744
+ class InitContainerPropertiesDefinitionResponseInstanceView(dict):
1745
+ """
1746
+ The instance view of the init container. Only valid in response.
1747
+ """
1748
+ @staticmethod
1749
+ def __key_warning(key: str):
1750
+ suggest = None
1751
+ if key == "currentState":
1752
+ suggest = "current_state"
1753
+ elif key == "previousState":
1754
+ suggest = "previous_state"
1755
+ elif key == "restartCount":
1756
+ suggest = "restart_count"
1757
+
1758
+ if suggest:
1759
+ pulumi.log.warn(f"Key '{key}' not found in InitContainerPropertiesDefinitionResponseInstanceView. Access the value via the '{suggest}' property getter instead.")
1760
+
1761
+ def __getitem__(self, key: str) -> Any:
1762
+ InitContainerPropertiesDefinitionResponseInstanceView.__key_warning(key)
1763
+ return super().__getitem__(key)
1764
+
1765
+ def get(self, key: str, default = None) -> Any:
1766
+ InitContainerPropertiesDefinitionResponseInstanceView.__key_warning(key)
1767
+ return super().get(key, default)
1768
+
1769
+ def __init__(__self__, *,
1770
+ current_state: 'outputs.ContainerStateResponse',
1771
+ events: Sequence['outputs.EventResponse'],
1772
+ previous_state: 'outputs.ContainerStateResponse',
1773
+ restart_count: int):
1774
+ """
1775
+ The instance view of the init container. Only valid in response.
1776
+ :param 'ContainerStateResponse' current_state: The current state of the init container.
1777
+ :param Sequence['EventResponse'] events: The events of the init container.
1778
+ :param 'ContainerStateResponse' previous_state: The previous state of the init container.
1779
+ :param int restart_count: The number of times that the init container has been restarted.
1780
+ """
1781
+ pulumi.set(__self__, "current_state", current_state)
1782
+ pulumi.set(__self__, "events", events)
1783
+ pulumi.set(__self__, "previous_state", previous_state)
1784
+ pulumi.set(__self__, "restart_count", restart_count)
1785
+
1786
+ @property
1787
+ @pulumi.getter(name="currentState")
1788
+ def current_state(self) -> 'outputs.ContainerStateResponse':
1789
+ """
1790
+ The current state of the init container.
1791
+ """
1792
+ return pulumi.get(self, "current_state")
1793
+
1794
+ @property
1795
+ @pulumi.getter
1796
+ def events(self) -> Sequence['outputs.EventResponse']:
1797
+ """
1798
+ The events of the init container.
1799
+ """
1800
+ return pulumi.get(self, "events")
1801
+
1802
+ @property
1803
+ @pulumi.getter(name="previousState")
1804
+ def previous_state(self) -> 'outputs.ContainerStateResponse':
1805
+ """
1806
+ The previous state of the init container.
1807
+ """
1808
+ return pulumi.get(self, "previous_state")
1809
+
1810
+ @property
1811
+ @pulumi.getter(name="restartCount")
1812
+ def restart_count(self) -> int:
1813
+ """
1814
+ The number of times that the init container has been restarted.
1815
+ """
1816
+ return pulumi.get(self, "restart_count")
1817
+
1818
+
1819
+ @pulumi.output_type
1820
+ class IpAddressResponse(dict):
1821
+ """
1822
+ IP address for the container group.
1823
+ """
1824
+ @staticmethod
1825
+ def __key_warning(key: str):
1826
+ suggest = None
1827
+ if key == "autoGeneratedDomainNameLabelScope":
1828
+ suggest = "auto_generated_domain_name_label_scope"
1829
+ elif key == "dnsNameLabel":
1830
+ suggest = "dns_name_label"
1831
+
1832
+ if suggest:
1833
+ pulumi.log.warn(f"Key '{key}' not found in IpAddressResponse. Access the value via the '{suggest}' property getter instead.")
1834
+
1835
+ def __getitem__(self, key: str) -> Any:
1836
+ IpAddressResponse.__key_warning(key)
1837
+ return super().__getitem__(key)
1838
+
1839
+ def get(self, key: str, default = None) -> Any:
1840
+ IpAddressResponse.__key_warning(key)
1841
+ return super().get(key, default)
1842
+
1843
+ def __init__(__self__, *,
1844
+ fqdn: str,
1845
+ ports: Sequence['outputs.PortResponse'],
1846
+ type: str,
1847
+ auto_generated_domain_name_label_scope: Optional[str] = None,
1848
+ dns_name_label: Optional[str] = None,
1849
+ ip: Optional[str] = None):
1850
+ """
1851
+ IP address for the container group.
1852
+ :param str fqdn: The FQDN for the IP.
1853
+ :param Sequence['PortResponse'] ports: The list of ports exposed on the container group.
1854
+ :param str type: Specifies if the IP is exposed to the public internet or private VNET.
1855
+ :param str auto_generated_domain_name_label_scope: 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.
1856
+ :param str dns_name_label: The Dns name label for the IP.
1857
+ :param str ip: The IP exposed to the public internet.
1858
+ """
1859
+ pulumi.set(__self__, "fqdn", fqdn)
1860
+ pulumi.set(__self__, "ports", ports)
1861
+ pulumi.set(__self__, "type", type)
1862
+ if auto_generated_domain_name_label_scope is None:
1863
+ auto_generated_domain_name_label_scope = 'Unsecure'
1864
+ if auto_generated_domain_name_label_scope is not None:
1865
+ pulumi.set(__self__, "auto_generated_domain_name_label_scope", auto_generated_domain_name_label_scope)
1866
+ if dns_name_label is not None:
1867
+ pulumi.set(__self__, "dns_name_label", dns_name_label)
1868
+ if ip is not None:
1869
+ pulumi.set(__self__, "ip", ip)
1870
+
1871
+ @property
1872
+ @pulumi.getter
1873
+ def fqdn(self) -> str:
1874
+ """
1875
+ The FQDN for the IP.
1876
+ """
1877
+ return pulumi.get(self, "fqdn")
1878
+
1879
+ @property
1880
+ @pulumi.getter
1881
+ def ports(self) -> Sequence['outputs.PortResponse']:
1882
+ """
1883
+ The list of ports exposed on the container group.
1884
+ """
1885
+ return pulumi.get(self, "ports")
1886
+
1887
+ @property
1888
+ @pulumi.getter
1889
+ def type(self) -> str:
1890
+ """
1891
+ Specifies if the IP is exposed to the public internet or private VNET.
1892
+ """
1893
+ return pulumi.get(self, "type")
1894
+
1895
+ @property
1896
+ @pulumi.getter(name="autoGeneratedDomainNameLabelScope")
1897
+ def auto_generated_domain_name_label_scope(self) -> Optional[str]:
1898
+ """
1899
+ 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.
1900
+ """
1901
+ return pulumi.get(self, "auto_generated_domain_name_label_scope")
1902
+
1903
+ @property
1904
+ @pulumi.getter(name="dnsNameLabel")
1905
+ def dns_name_label(self) -> Optional[str]:
1906
+ """
1907
+ The Dns name label for the IP.
1908
+ """
1909
+ return pulumi.get(self, "dns_name_label")
1910
+
1911
+ @property
1912
+ @pulumi.getter
1913
+ def ip(self) -> Optional[str]:
1914
+ """
1915
+ The IP exposed to the public internet.
1916
+ """
1917
+ return pulumi.get(self, "ip")
1918
+
1919
+
1920
+ @pulumi.output_type
1921
+ class LogAnalyticsResponse(dict):
1922
+ """
1923
+ Container group log analytics information.
1924
+ """
1925
+ @staticmethod
1926
+ def __key_warning(key: str):
1927
+ suggest = None
1928
+ if key == "workspaceId":
1929
+ suggest = "workspace_id"
1930
+ elif key == "workspaceKey":
1931
+ suggest = "workspace_key"
1932
+ elif key == "logType":
1933
+ suggest = "log_type"
1934
+ elif key == "workspaceResourceId":
1935
+ suggest = "workspace_resource_id"
1936
+
1937
+ if suggest:
1938
+ pulumi.log.warn(f"Key '{key}' not found in LogAnalyticsResponse. Access the value via the '{suggest}' property getter instead.")
1939
+
1940
+ def __getitem__(self, key: str) -> Any:
1941
+ LogAnalyticsResponse.__key_warning(key)
1942
+ return super().__getitem__(key)
1943
+
1944
+ def get(self, key: str, default = None) -> Any:
1945
+ LogAnalyticsResponse.__key_warning(key)
1946
+ return super().get(key, default)
1947
+
1948
+ def __init__(__self__, *,
1949
+ workspace_id: str,
1950
+ workspace_key: str,
1951
+ log_type: Optional[str] = None,
1952
+ metadata: Optional[Mapping[str, str]] = None,
1953
+ workspace_resource_id: Optional[str] = None):
1954
+ """
1955
+ Container group log analytics information.
1956
+ :param str workspace_id: The workspace id for log analytics
1957
+ :param str workspace_key: The workspace key for log analytics
1958
+ :param str log_type: The log type to be used.
1959
+ :param Mapping[str, str] metadata: Metadata for log analytics.
1960
+ :param str workspace_resource_id: The workspace resource id for log analytics
1961
+ """
1962
+ pulumi.set(__self__, "workspace_id", workspace_id)
1963
+ pulumi.set(__self__, "workspace_key", workspace_key)
1964
+ if log_type is not None:
1965
+ pulumi.set(__self__, "log_type", log_type)
1966
+ if metadata is not None:
1967
+ pulumi.set(__self__, "metadata", metadata)
1968
+ if workspace_resource_id is not None:
1969
+ pulumi.set(__self__, "workspace_resource_id", workspace_resource_id)
1970
+
1971
+ @property
1972
+ @pulumi.getter(name="workspaceId")
1973
+ def workspace_id(self) -> str:
1974
+ """
1975
+ The workspace id for log analytics
1976
+ """
1977
+ return pulumi.get(self, "workspace_id")
1978
+
1979
+ @property
1980
+ @pulumi.getter(name="workspaceKey")
1981
+ def workspace_key(self) -> str:
1982
+ """
1983
+ The workspace key for log analytics
1984
+ """
1985
+ return pulumi.get(self, "workspace_key")
1986
+
1987
+ @property
1988
+ @pulumi.getter(name="logType")
1989
+ def log_type(self) -> Optional[str]:
1990
+ """
1991
+ The log type to be used.
1992
+ """
1993
+ return pulumi.get(self, "log_type")
1994
+
1995
+ @property
1996
+ @pulumi.getter
1997
+ def metadata(self) -> Optional[Mapping[str, str]]:
1998
+ """
1999
+ Metadata for log analytics.
2000
+ """
2001
+ return pulumi.get(self, "metadata")
2002
+
2003
+ @property
2004
+ @pulumi.getter(name="workspaceResourceId")
2005
+ def workspace_resource_id(self) -> Optional[str]:
2006
+ """
2007
+ The workspace resource id for log analytics
2008
+ """
2009
+ return pulumi.get(self, "workspace_resource_id")
2010
+
2011
+
2012
+ @pulumi.output_type
2013
+ class PortResponse(dict):
2014
+ """
2015
+ The port exposed on the container group.
2016
+ """
2017
+ def __init__(__self__, *,
2018
+ port: int,
2019
+ protocol: Optional[str] = None):
2020
+ """
2021
+ The port exposed on the container group.
2022
+ :param int port: The port number.
2023
+ :param str protocol: The protocol associated with the port.
2024
+ """
2025
+ pulumi.set(__self__, "port", port)
2026
+ if protocol is not None:
2027
+ pulumi.set(__self__, "protocol", protocol)
2028
+
2029
+ @property
2030
+ @pulumi.getter
2031
+ def port(self) -> int:
2032
+ """
2033
+ The port number.
2034
+ """
2035
+ return pulumi.get(self, "port")
2036
+
2037
+ @property
2038
+ @pulumi.getter
2039
+ def protocol(self) -> Optional[str]:
2040
+ """
2041
+ The protocol associated with the port.
2042
+ """
2043
+ return pulumi.get(self, "protocol")
2044
+
2045
+
2046
+ @pulumi.output_type
2047
+ class ResourceLimitsResponse(dict):
2048
+ """
2049
+ The resource limits.
2050
+ """
2051
+ @staticmethod
2052
+ def __key_warning(key: str):
2053
+ suggest = None
2054
+ if key == "memoryInGB":
2055
+ suggest = "memory_in_gb"
2056
+
2057
+ if suggest:
2058
+ pulumi.log.warn(f"Key '{key}' not found in ResourceLimitsResponse. Access the value via the '{suggest}' property getter instead.")
2059
+
2060
+ def __getitem__(self, key: str) -> Any:
2061
+ ResourceLimitsResponse.__key_warning(key)
2062
+ return super().__getitem__(key)
2063
+
2064
+ def get(self, key: str, default = None) -> Any:
2065
+ ResourceLimitsResponse.__key_warning(key)
2066
+ return super().get(key, default)
2067
+
2068
+ def __init__(__self__, *,
2069
+ cpu: Optional[float] = None,
2070
+ gpu: Optional['outputs.GpuResourceResponse'] = None,
2071
+ memory_in_gb: Optional[float] = None):
2072
+ """
2073
+ The resource limits.
2074
+ :param float cpu: The CPU limit of this container instance.
2075
+ :param 'GpuResourceResponse' gpu: The GPU limit of this container instance.
2076
+ :param float memory_in_gb: The memory limit in GB of this container instance.
2077
+ """
2078
+ if cpu is not None:
2079
+ pulumi.set(__self__, "cpu", cpu)
2080
+ if gpu is not None:
2081
+ pulumi.set(__self__, "gpu", gpu)
2082
+ if memory_in_gb is not None:
2083
+ pulumi.set(__self__, "memory_in_gb", memory_in_gb)
2084
+
2085
+ @property
2086
+ @pulumi.getter
2087
+ def cpu(self) -> Optional[float]:
2088
+ """
2089
+ The CPU limit of this container instance.
2090
+ """
2091
+ return pulumi.get(self, "cpu")
2092
+
2093
+ @property
2094
+ @pulumi.getter
2095
+ def gpu(self) -> Optional['outputs.GpuResourceResponse']:
2096
+ """
2097
+ The GPU limit of this container instance.
2098
+ """
2099
+ return pulumi.get(self, "gpu")
2100
+
2101
+ @property
2102
+ @pulumi.getter(name="memoryInGB")
2103
+ def memory_in_gb(self) -> Optional[float]:
2104
+ """
2105
+ The memory limit in GB of this container instance.
2106
+ """
2107
+ return pulumi.get(self, "memory_in_gb")
2108
+
2109
+
2110
+ @pulumi.output_type
2111
+ class ResourceRequestsResponse(dict):
2112
+ """
2113
+ The resource requests.
2114
+ """
2115
+ @staticmethod
2116
+ def __key_warning(key: str):
2117
+ suggest = None
2118
+ if key == "memoryInGB":
2119
+ suggest = "memory_in_gb"
2120
+
2121
+ if suggest:
2122
+ pulumi.log.warn(f"Key '{key}' not found in ResourceRequestsResponse. Access the value via the '{suggest}' property getter instead.")
2123
+
2124
+ def __getitem__(self, key: str) -> Any:
2125
+ ResourceRequestsResponse.__key_warning(key)
2126
+ return super().__getitem__(key)
2127
+
2128
+ def get(self, key: str, default = None) -> Any:
2129
+ ResourceRequestsResponse.__key_warning(key)
2130
+ return super().get(key, default)
2131
+
2132
+ def __init__(__self__, *,
2133
+ cpu: float,
2134
+ memory_in_gb: float,
2135
+ gpu: Optional['outputs.GpuResourceResponse'] = None):
2136
+ """
2137
+ The resource requests.
2138
+ :param float cpu: The CPU request of this container instance.
2139
+ :param float memory_in_gb: The memory request in GB of this container instance.
2140
+ :param 'GpuResourceResponse' gpu: The GPU request of this container instance.
2141
+ """
2142
+ pulumi.set(__self__, "cpu", cpu)
2143
+ pulumi.set(__self__, "memory_in_gb", memory_in_gb)
2144
+ if gpu is not None:
2145
+ pulumi.set(__self__, "gpu", gpu)
2146
+
2147
+ @property
2148
+ @pulumi.getter
2149
+ def cpu(self) -> float:
2150
+ """
2151
+ The CPU request of this container instance.
2152
+ """
2153
+ return pulumi.get(self, "cpu")
2154
+
2155
+ @property
2156
+ @pulumi.getter(name="memoryInGB")
2157
+ def memory_in_gb(self) -> float:
2158
+ """
2159
+ The memory request in GB of this container instance.
2160
+ """
2161
+ return pulumi.get(self, "memory_in_gb")
2162
+
2163
+ @property
2164
+ @pulumi.getter
2165
+ def gpu(self) -> Optional['outputs.GpuResourceResponse']:
2166
+ """
2167
+ The GPU request of this container instance.
2168
+ """
2169
+ return pulumi.get(self, "gpu")
2170
+
2171
+
2172
+ @pulumi.output_type
2173
+ class ResourceRequirementsResponse(dict):
2174
+ """
2175
+ The resource requirements.
2176
+ """
2177
+ def __init__(__self__, *,
2178
+ requests: 'outputs.ResourceRequestsResponse',
2179
+ limits: Optional['outputs.ResourceLimitsResponse'] = None):
2180
+ """
2181
+ The resource requirements.
2182
+ :param 'ResourceRequestsResponse' requests: The resource requests of this container instance.
2183
+ :param 'ResourceLimitsResponse' limits: The resource limits of this container instance.
2184
+ """
2185
+ pulumi.set(__self__, "requests", requests)
2186
+ if limits is not None:
2187
+ pulumi.set(__self__, "limits", limits)
2188
+
2189
+ @property
2190
+ @pulumi.getter
2191
+ def requests(self) -> 'outputs.ResourceRequestsResponse':
2192
+ """
2193
+ The resource requests of this container instance.
2194
+ """
2195
+ return pulumi.get(self, "requests")
2196
+
2197
+ @property
2198
+ @pulumi.getter
2199
+ def limits(self) -> Optional['outputs.ResourceLimitsResponse']:
2200
+ """
2201
+ The resource limits of this container instance.
2202
+ """
2203
+ return pulumi.get(self, "limits")
2204
+
2205
+
2206
+ @pulumi.output_type
2207
+ class SecurityContextCapabilitiesDefinitionResponse(dict):
2208
+ """
2209
+ The capabilities to add or drop from a container.
2210
+ """
2211
+ def __init__(__self__, *,
2212
+ add: Optional[Sequence[str]] = None,
2213
+ drop: Optional[Sequence[str]] = None):
2214
+ """
2215
+ The capabilities to add or drop from a container.
2216
+ :param Sequence[str] add: The capabilities to add to the container.
2217
+ :param Sequence[str] drop: The capabilities to drop from the container.
2218
+ """
2219
+ if add is not None:
2220
+ pulumi.set(__self__, "add", add)
2221
+ if drop is not None:
2222
+ pulumi.set(__self__, "drop", drop)
2223
+
2224
+ @property
2225
+ @pulumi.getter
2226
+ def add(self) -> Optional[Sequence[str]]:
2227
+ """
2228
+ The capabilities to add to the container.
2229
+ """
2230
+ return pulumi.get(self, "add")
2231
+
2232
+ @property
2233
+ @pulumi.getter
2234
+ def drop(self) -> Optional[Sequence[str]]:
2235
+ """
2236
+ The capabilities to drop from the container.
2237
+ """
2238
+ return pulumi.get(self, "drop")
2239
+
2240
+
2241
+ @pulumi.output_type
2242
+ class SecurityContextDefinitionResponse(dict):
2243
+ """
2244
+ The security context for the container.
2245
+ """
2246
+ @staticmethod
2247
+ def __key_warning(key: str):
2248
+ suggest = None
2249
+ if key == "allowPrivilegeEscalation":
2250
+ suggest = "allow_privilege_escalation"
2251
+ elif key == "runAsGroup":
2252
+ suggest = "run_as_group"
2253
+ elif key == "runAsUser":
2254
+ suggest = "run_as_user"
2255
+ elif key == "seccompProfile":
2256
+ suggest = "seccomp_profile"
2257
+
2258
+ if suggest:
2259
+ pulumi.log.warn(f"Key '{key}' not found in SecurityContextDefinitionResponse. Access the value via the '{suggest}' property getter instead.")
2260
+
2261
+ def __getitem__(self, key: str) -> Any:
2262
+ SecurityContextDefinitionResponse.__key_warning(key)
2263
+ return super().__getitem__(key)
2264
+
2265
+ def get(self, key: str, default = None) -> Any:
2266
+ SecurityContextDefinitionResponse.__key_warning(key)
2267
+ return super().get(key, default)
2268
+
2269
+ def __init__(__self__, *,
2270
+ allow_privilege_escalation: Optional[bool] = None,
2271
+ capabilities: Optional['outputs.SecurityContextCapabilitiesDefinitionResponse'] = None,
2272
+ privileged: Optional[bool] = None,
2273
+ run_as_group: Optional[int] = None,
2274
+ run_as_user: Optional[int] = None,
2275
+ seccomp_profile: Optional[str] = None):
2276
+ """
2277
+ The security context for the container.
2278
+ :param bool allow_privilege_escalation: A boolean value indicating whether the init process can elevate its privileges
2279
+ :param 'SecurityContextCapabilitiesDefinitionResponse' capabilities: The capabilities to add or drop from a container.
2280
+ :param bool privileged: The flag to determine if the container permissions is elevated to Privileged.
2281
+ :param int run_as_group: Sets the User GID for the container.
2282
+ :param int run_as_user: Sets the User UID for the container.
2283
+ :param str seccomp_profile: a base64 encoded string containing the contents of the JSON in the seccomp profile
2284
+ """
2285
+ if allow_privilege_escalation is not None:
2286
+ pulumi.set(__self__, "allow_privilege_escalation", allow_privilege_escalation)
2287
+ if capabilities is not None:
2288
+ pulumi.set(__self__, "capabilities", capabilities)
2289
+ if privileged is not None:
2290
+ pulumi.set(__self__, "privileged", privileged)
2291
+ if run_as_group is not None:
2292
+ pulumi.set(__self__, "run_as_group", run_as_group)
2293
+ if run_as_user is not None:
2294
+ pulumi.set(__self__, "run_as_user", run_as_user)
2295
+ if seccomp_profile is not None:
2296
+ pulumi.set(__self__, "seccomp_profile", seccomp_profile)
2297
+
2298
+ @property
2299
+ @pulumi.getter(name="allowPrivilegeEscalation")
2300
+ def allow_privilege_escalation(self) -> Optional[bool]:
2301
+ """
2302
+ A boolean value indicating whether the init process can elevate its privileges
2303
+ """
2304
+ return pulumi.get(self, "allow_privilege_escalation")
2305
+
2306
+ @property
2307
+ @pulumi.getter
2308
+ def capabilities(self) -> Optional['outputs.SecurityContextCapabilitiesDefinitionResponse']:
2309
+ """
2310
+ The capabilities to add or drop from a container.
2311
+ """
2312
+ return pulumi.get(self, "capabilities")
2313
+
2314
+ @property
2315
+ @pulumi.getter
2316
+ def privileged(self) -> Optional[bool]:
2317
+ """
2318
+ The flag to determine if the container permissions is elevated to Privileged.
2319
+ """
2320
+ return pulumi.get(self, "privileged")
2321
+
2322
+ @property
2323
+ @pulumi.getter(name="runAsGroup")
2324
+ def run_as_group(self) -> Optional[int]:
2325
+ """
2326
+ Sets the User GID for the container.
2327
+ """
2328
+ return pulumi.get(self, "run_as_group")
2329
+
2330
+ @property
2331
+ @pulumi.getter(name="runAsUser")
2332
+ def run_as_user(self) -> Optional[int]:
2333
+ """
2334
+ Sets the User UID for the container.
2335
+ """
2336
+ return pulumi.get(self, "run_as_user")
2337
+
2338
+ @property
2339
+ @pulumi.getter(name="seccompProfile")
2340
+ def seccomp_profile(self) -> Optional[str]:
2341
+ """
2342
+ a base64 encoded string containing the contents of the JSON in the seccomp profile
2343
+ """
2344
+ return pulumi.get(self, "seccomp_profile")
2345
+
2346
+
2347
+ @pulumi.output_type
2348
+ class StandbyPoolProfileDefinitionResponse(dict):
2349
+ """
2350
+ The standby pool profile reference.
2351
+ """
2352
+ @staticmethod
2353
+ def __key_warning(key: str):
2354
+ suggest = None
2355
+ if key == "failContainerGroupCreateOnReuseFailure":
2356
+ suggest = "fail_container_group_create_on_reuse_failure"
2357
+
2358
+ if suggest:
2359
+ pulumi.log.warn(f"Key '{key}' not found in StandbyPoolProfileDefinitionResponse. Access the value via the '{suggest}' property getter instead.")
2360
+
2361
+ def __getitem__(self, key: str) -> Any:
2362
+ StandbyPoolProfileDefinitionResponse.__key_warning(key)
2363
+ return super().__getitem__(key)
2364
+
2365
+ def get(self, key: str, default = None) -> Any:
2366
+ StandbyPoolProfileDefinitionResponse.__key_warning(key)
2367
+ return super().get(key, default)
2368
+
2369
+ def __init__(__self__, *,
2370
+ fail_container_group_create_on_reuse_failure: Optional[bool] = None,
2371
+ id: Optional[str] = None):
2372
+ """
2373
+ The standby pool profile reference.
2374
+ :param bool fail_container_group_create_on_reuse_failure: The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.
2375
+ :param str id: 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}'.
2376
+ """
2377
+ if fail_container_group_create_on_reuse_failure is not None:
2378
+ pulumi.set(__self__, "fail_container_group_create_on_reuse_failure", fail_container_group_create_on_reuse_failure)
2379
+ if id is not None:
2380
+ pulumi.set(__self__, "id", id)
2381
+
2382
+ @property
2383
+ @pulumi.getter(name="failContainerGroupCreateOnReuseFailure")
2384
+ def fail_container_group_create_on_reuse_failure(self) -> Optional[bool]:
2385
+ """
2386
+ The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.
2387
+ """
2388
+ return pulumi.get(self, "fail_container_group_create_on_reuse_failure")
2389
+
2390
+ @property
2391
+ @pulumi.getter
2392
+ def id(self) -> Optional[str]:
2393
+ """
2394
+ 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}'.
2395
+ """
2396
+ return pulumi.get(self, "id")
2397
+
2398
+
2399
+ @pulumi.output_type
2400
+ class UserAssignedIdentitiesResponse(dict):
2401
+ """
2402
+ 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}'.
2403
+ """
2404
+ @staticmethod
2405
+ def __key_warning(key: str):
2406
+ suggest = None
2407
+ if key == "clientId":
2408
+ suggest = "client_id"
2409
+ elif key == "principalId":
2410
+ suggest = "principal_id"
2411
+
2412
+ if suggest:
2413
+ pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentitiesResponse. Access the value via the '{suggest}' property getter instead.")
2414
+
2415
+ def __getitem__(self, key: str) -> Any:
2416
+ UserAssignedIdentitiesResponse.__key_warning(key)
2417
+ return super().__getitem__(key)
2418
+
2419
+ def get(self, key: str, default = None) -> Any:
2420
+ UserAssignedIdentitiesResponse.__key_warning(key)
2421
+ return super().get(key, default)
2422
+
2423
+ def __init__(__self__, *,
2424
+ client_id: str,
2425
+ principal_id: str):
2426
+ """
2427
+ 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}'.
2428
+ :param str client_id: The client id of user assigned identity.
2429
+ :param str principal_id: The principal id of user assigned identity.
2430
+ """
2431
+ pulumi.set(__self__, "client_id", client_id)
2432
+ pulumi.set(__self__, "principal_id", principal_id)
2433
+
2434
+ @property
2435
+ @pulumi.getter(name="clientId")
2436
+ def client_id(self) -> str:
2437
+ """
2438
+ The client id of user assigned identity.
2439
+ """
2440
+ return pulumi.get(self, "client_id")
2441
+
2442
+ @property
2443
+ @pulumi.getter(name="principalId")
2444
+ def principal_id(self) -> str:
2445
+ """
2446
+ The principal id of user assigned identity.
2447
+ """
2448
+ return pulumi.get(self, "principal_id")
2449
+
2450
+
2451
+ @pulumi.output_type
2452
+ class VolumeMountResponse(dict):
2453
+ """
2454
+ The properties of the volume mount.
2455
+ """
2456
+ @staticmethod
2457
+ def __key_warning(key: str):
2458
+ suggest = None
2459
+ if key == "mountPath":
2460
+ suggest = "mount_path"
2461
+ elif key == "readOnly":
2462
+ suggest = "read_only"
2463
+
2464
+ if suggest:
2465
+ pulumi.log.warn(f"Key '{key}' not found in VolumeMountResponse. Access the value via the '{suggest}' property getter instead.")
2466
+
2467
+ def __getitem__(self, key: str) -> Any:
2468
+ VolumeMountResponse.__key_warning(key)
2469
+ return super().__getitem__(key)
2470
+
2471
+ def get(self, key: str, default = None) -> Any:
2472
+ VolumeMountResponse.__key_warning(key)
2473
+ return super().get(key, default)
2474
+
2475
+ def __init__(__self__, *,
2476
+ mount_path: str,
2477
+ name: str,
2478
+ read_only: Optional[bool] = None):
2479
+ """
2480
+ The properties of the volume mount.
2481
+ :param str mount_path: The path within the container where the volume should be mounted. Must not contain colon (:).
2482
+ :param str name: The name of the volume mount.
2483
+ :param bool read_only: The flag indicating whether the volume mount is read-only.
2484
+ """
2485
+ pulumi.set(__self__, "mount_path", mount_path)
2486
+ pulumi.set(__self__, "name", name)
2487
+ if read_only is not None:
2488
+ pulumi.set(__self__, "read_only", read_only)
2489
+
2490
+ @property
2491
+ @pulumi.getter(name="mountPath")
2492
+ def mount_path(self) -> str:
2493
+ """
2494
+ The path within the container where the volume should be mounted. Must not contain colon (:).
2495
+ """
2496
+ return pulumi.get(self, "mount_path")
2497
+
2498
+ @property
2499
+ @pulumi.getter
2500
+ def name(self) -> str:
2501
+ """
2502
+ The name of the volume mount.
2503
+ """
2504
+ return pulumi.get(self, "name")
2505
+
2506
+ @property
2507
+ @pulumi.getter(name="readOnly")
2508
+ def read_only(self) -> Optional[bool]:
2509
+ """
2510
+ The flag indicating whether the volume mount is read-only.
2511
+ """
2512
+ return pulumi.get(self, "read_only")
2513
+
2514
+
2515
+ @pulumi.output_type
2516
+ class VolumeResponse(dict):
2517
+ """
2518
+ The properties of the volume.
2519
+ """
2520
+ @staticmethod
2521
+ def __key_warning(key: str):
2522
+ suggest = None
2523
+ if key == "azureFile":
2524
+ suggest = "azure_file"
2525
+ elif key == "emptyDir":
2526
+ suggest = "empty_dir"
2527
+ elif key == "gitRepo":
2528
+ suggest = "git_repo"
2529
+
2530
+ if suggest:
2531
+ pulumi.log.warn(f"Key '{key}' not found in VolumeResponse. Access the value via the '{suggest}' property getter instead.")
2532
+
2533
+ def __getitem__(self, key: str) -> Any:
2534
+ VolumeResponse.__key_warning(key)
2535
+ return super().__getitem__(key)
2536
+
2537
+ def get(self, key: str, default = None) -> Any:
2538
+ VolumeResponse.__key_warning(key)
2539
+ return super().get(key, default)
2540
+
2541
+ def __init__(__self__, *,
2542
+ name: str,
2543
+ azure_file: Optional['outputs.AzureFileVolumeResponse'] = None,
2544
+ empty_dir: Optional[Any] = None,
2545
+ git_repo: Optional['outputs.GitRepoVolumeResponse'] = None,
2546
+ secret: Optional[Mapping[str, str]] = None):
2547
+ """
2548
+ The properties of the volume.
2549
+ :param str name: The name of the volume.
2550
+ :param 'AzureFileVolumeResponse' azure_file: The Azure File volume.
2551
+ :param Any empty_dir: The empty directory volume.
2552
+ :param 'GitRepoVolumeResponse' git_repo: The git repo volume.
2553
+ :param Mapping[str, str] secret: The secret volume.
2554
+ """
2555
+ pulumi.set(__self__, "name", name)
2556
+ if azure_file is not None:
2557
+ pulumi.set(__self__, "azure_file", azure_file)
2558
+ if empty_dir is not None:
2559
+ pulumi.set(__self__, "empty_dir", empty_dir)
2560
+ if git_repo is not None:
2561
+ pulumi.set(__self__, "git_repo", git_repo)
2562
+ if secret is not None:
2563
+ pulumi.set(__self__, "secret", secret)
2564
+
2565
+ @property
2566
+ @pulumi.getter
2567
+ def name(self) -> str:
2568
+ """
2569
+ The name of the volume.
2570
+ """
2571
+ return pulumi.get(self, "name")
2572
+
2573
+ @property
2574
+ @pulumi.getter(name="azureFile")
2575
+ def azure_file(self) -> Optional['outputs.AzureFileVolumeResponse']:
2576
+ """
2577
+ The Azure File volume.
2578
+ """
2579
+ return pulumi.get(self, "azure_file")
2580
+
2581
+ @property
2582
+ @pulumi.getter(name="emptyDir")
2583
+ def empty_dir(self) -> Optional[Any]:
2584
+ """
2585
+ The empty directory volume.
2586
+ """
2587
+ return pulumi.get(self, "empty_dir")
2588
+
2589
+ @property
2590
+ @pulumi.getter(name="gitRepo")
2591
+ def git_repo(self) -> Optional['outputs.GitRepoVolumeResponse']:
2592
+ """
2593
+ The git repo volume.
2594
+ """
2595
+ return pulumi.get(self, "git_repo")
2596
+
2597
+ @property
2598
+ @pulumi.getter
2599
+ def secret(self) -> Optional[Mapping[str, str]]:
2600
+ """
2601
+ The secret volume.
2602
+ """
2603
+ return pulumi.get(self, "secret")
2604
+
2605
+