pulumi-kubernetes 4.17.0a1723576835__py3-none-any.whl → 4.26.0a1769215986__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.
Files changed (703) hide show
  1. pulumi_kubernetes/__init__.py +73 -2
  2. pulumi_kubernetes/_inputs.py +49 -49
  3. pulumi_kubernetes/_utilities.py +9 -5
  4. pulumi_kubernetes/admissionregistration/__init__.py +1 -0
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +26 -25
  6. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +26 -25
  7. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +26 -25
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +27 -26
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +26 -25
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +26 -25
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +26 -25
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +27 -26
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +26 -25
  15. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +26 -25
  16. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +26 -25
  17. pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
  18. pulumi_kubernetes/admissionregistration/v1/_inputs.py +721 -721
  19. pulumi_kubernetes/admissionregistration/v1/outputs.py +516 -516
  20. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +215 -0
  21. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +223 -0
  22. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +216 -0
  23. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +235 -0
  24. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +216 -0
  25. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +227 -0
  26. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +27 -26
  27. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +26 -33
  28. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +26 -25
  29. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +26 -33
  30. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +26 -25
  31. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +27 -26
  32. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +7 -0
  33. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2219 -716
  34. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1649 -530
  35. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +26 -25
  36. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +26 -25
  37. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +26 -25
  38. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +27 -26
  39. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +26 -25
  40. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +26 -25
  41. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
  42. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +26 -25
  43. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +27 -26
  44. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +26 -25
  45. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +26 -25
  46. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +26 -25
  47. pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
  48. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +717 -717
  49. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +512 -512
  50. pulumi_kubernetes/apiextensions/__init__.py +1 -0
  51. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +27 -26
  52. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +26 -25
  53. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +27 -26
  54. pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
  55. pulumi_kubernetes/apiextensions/v1/_inputs.py +912 -912
  56. pulumi_kubernetes/apiextensions/v1/outputs.py +624 -624
  57. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +27 -26
  58. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +26 -25
  59. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +27 -26
  60. pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
  61. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -834
  62. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -572
  63. pulumi_kubernetes/apiregistration/__init__.py +1 -0
  64. pulumi_kubernetes/apiregistration/v1/APIService.py +27 -26
  65. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +26 -25
  66. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +27 -26
  67. pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
  68. pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -157
  69. pulumi_kubernetes/apiregistration/v1/outputs.py +128 -128
  70. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +27 -26
  71. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +26 -25
  72. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +27 -26
  73. pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
  74. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -157
  75. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -128
  76. pulumi_kubernetes/apps/__init__.py +1 -0
  77. pulumi_kubernetes/apps/v1/ControllerRevision.py +36 -35
  78. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +26 -25
  79. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +36 -35
  80. pulumi_kubernetes/apps/v1/DaemonSet.py +27 -26
  81. pulumi_kubernetes/apps/v1/DaemonSetList.py +26 -25
  82. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +27 -26
  83. pulumi_kubernetes/apps/v1/Deployment.py +27 -26
  84. pulumi_kubernetes/apps/v1/DeploymentList.py +26 -25
  85. pulumi_kubernetes/apps/v1/DeploymentPatch.py +27 -26
  86. pulumi_kubernetes/apps/v1/ReplicaSet.py +27 -26
  87. pulumi_kubernetes/apps/v1/ReplicaSetList.py +30 -29
  88. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +27 -26
  89. pulumi_kubernetes/apps/v1/StatefulSet.py +27 -26
  90. pulumi_kubernetes/apps/v1/StatefulSetList.py +26 -25
  91. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +27 -26
  92. pulumi_kubernetes/apps/v1/__init__.py +1 -0
  93. pulumi_kubernetes/apps/v1/_inputs.py +835 -782
  94. pulumi_kubernetes/apps/v1/outputs.py +806 -733
  95. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +36 -35
  96. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +26 -25
  97. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +36 -35
  98. pulumi_kubernetes/apps/v1beta1/Deployment.py +27 -26
  99. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +26 -25
  100. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +27 -26
  101. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +27 -26
  102. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +26 -25
  103. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +27 -26
  104. pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
  105. pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -409
  106. pulumi_kubernetes/apps/v1beta1/outputs.py +381 -381
  107. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +36 -35
  108. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +26 -25
  109. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +36 -35
  110. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +27 -26
  111. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +26 -25
  112. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +27 -26
  113. pulumi_kubernetes/apps/v1beta2/Deployment.py +27 -26
  114. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +26 -25
  115. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +27 -26
  116. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +27 -26
  117. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +26 -25
  118. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +27 -26
  119. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +27 -26
  120. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +26 -25
  121. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +27 -26
  122. pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
  123. pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -655
  124. pulumi_kubernetes/apps/v1beta2/outputs.py +645 -645
  125. pulumi_kubernetes/auditregistration/__init__.py +1 -0
  126. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +26 -25
  127. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +26 -25
  128. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +26 -25
  129. pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
  130. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -145
  131. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -101
  132. pulumi_kubernetes/autoscaling/__init__.py +1 -0
  133. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +27 -26
  134. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +26 -25
  135. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +27 -26
  136. pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
  137. pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -120
  138. pulumi_kubernetes/autoscaling/v1/outputs.py +102 -102
  139. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +27 -26
  140. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +26 -25
  141. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +27 -26
  142. pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
  143. pulumi_kubernetes/autoscaling/v2/_inputs.py +500 -420
  144. pulumi_kubernetes/autoscaling/v2/outputs.py +438 -382
  145. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +27 -26
  146. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +26 -25
  147. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +27 -26
  148. pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
  149. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -451
  150. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -424
  151. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +27 -26
  152. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +26 -25
  153. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +27 -26
  154. pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
  155. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -398
  156. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -366
  157. pulumi_kubernetes/batch/__init__.py +1 -0
  158. pulumi_kubernetes/batch/v1/CronJob.py +27 -26
  159. pulumi_kubernetes/batch/v1/CronJobList.py +26 -25
  160. pulumi_kubernetes/batch/v1/CronJobPatch.py +27 -26
  161. pulumi_kubernetes/batch/v1/Job.py +27 -26
  162. pulumi_kubernetes/batch/v1/JobList.py +26 -25
  163. pulumi_kubernetes/batch/v1/JobPatch.py +27 -26
  164. pulumi_kubernetes/batch/v1/__init__.py +1 -0
  165. pulumi_kubernetes/batch/v1/_inputs.py +508 -538
  166. pulumi_kubernetes/batch/v1/outputs.py +427 -451
  167. pulumi_kubernetes/batch/v1beta1/CronJob.py +27 -26
  168. pulumi_kubernetes/batch/v1beta1/CronJobList.py +26 -25
  169. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +27 -26
  170. pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
  171. pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -101
  172. pulumi_kubernetes/batch/v1beta1/outputs.py +76 -76
  173. pulumi_kubernetes/batch/v2alpha1/CronJob.py +27 -26
  174. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +26 -25
  175. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +27 -26
  176. pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
  177. pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -101
  178. pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -76
  179. pulumi_kubernetes/certificates/__init__.py +1 -0
  180. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +27 -26
  181. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +26 -25
  182. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +27 -26
  183. pulumi_kubernetes/certificates/v1/__init__.py +1 -0
  184. pulumi_kubernetes/certificates/v1/_inputs.py +155 -155
  185. pulumi_kubernetes/certificates/v1/outputs.py +134 -134
  186. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +28 -25
  187. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +26 -25
  188. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +28 -25
  189. pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
  190. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -39
  191. pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -27
  192. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +27 -26
  193. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +26 -25
  194. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +27 -26
  195. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +226 -0
  196. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +216 -0
  197. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +237 -0
  198. pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
  199. pulumi_kubernetes/certificates/v1beta1/_inputs.py +436 -144
  200. pulumi_kubernetes/certificates/v1beta1/outputs.py +369 -128
  201. pulumi_kubernetes/coordination/__init__.py +4 -0
  202. pulumi_kubernetes/coordination/v1/Lease.py +26 -25
  203. pulumi_kubernetes/coordination/v1/LeaseList.py +26 -25
  204. pulumi_kubernetes/coordination/v1/LeasePatch.py +26 -25
  205. pulumi_kubernetes/coordination/v1/__init__.py +1 -0
  206. pulumi_kubernetes/coordination/v1/_inputs.py +99 -99
  207. pulumi_kubernetes/coordination/v1/outputs.py +67 -67
  208. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +28 -25
  209. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +26 -25
  210. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +28 -25
  211. pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
  212. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -87
  213. pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -59
  214. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +217 -0
  215. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +216 -0
  216. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +229 -0
  217. pulumi_kubernetes/coordination/v1alpha2/__init__.py +13 -0
  218. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
  219. pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
  220. pulumi_kubernetes/coordination/v1beta1/Lease.py +26 -25
  221. pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +217 -0
  222. pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +216 -0
  223. pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +229 -0
  224. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +26 -25
  225. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +26 -25
  226. pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
  227. pulumi_kubernetes/coordination/v1beta1/_inputs.py +446 -75
  228. pulumi_kubernetes/coordination/v1beta1/outputs.py +343 -51
  229. pulumi_kubernetes/core/__init__.py +1 -0
  230. pulumi_kubernetes/core/v1/Binding.py +28 -27
  231. pulumi_kubernetes/core/v1/BindingPatch.py +28 -27
  232. pulumi_kubernetes/core/v1/ConfigMap.py +54 -53
  233. pulumi_kubernetes/core/v1/ConfigMapList.py +26 -25
  234. pulumi_kubernetes/core/v1/ConfigMapPatch.py +54 -53
  235. pulumi_kubernetes/core/v1/Endpoints.py +34 -25
  236. pulumi_kubernetes/core/v1/EndpointsList.py +28 -27
  237. pulumi_kubernetes/core/v1/EndpointsPatch.py +34 -25
  238. pulumi_kubernetes/core/v1/Event.py +132 -131
  239. pulumi_kubernetes/core/v1/EventList.py +26 -25
  240. pulumi_kubernetes/core/v1/EventPatch.py +132 -131
  241. pulumi_kubernetes/core/v1/LimitRange.py +26 -25
  242. pulumi_kubernetes/core/v1/LimitRangeList.py +26 -25
  243. pulumi_kubernetes/core/v1/LimitRangePatch.py +26 -25
  244. pulumi_kubernetes/core/v1/Namespace.py +27 -26
  245. pulumi_kubernetes/core/v1/NamespaceList.py +26 -25
  246. pulumi_kubernetes/core/v1/NamespacePatch.py +27 -26
  247. pulumi_kubernetes/core/v1/Node.py +27 -26
  248. pulumi_kubernetes/core/v1/NodeList.py +26 -25
  249. pulumi_kubernetes/core/v1/NodePatch.py +27 -26
  250. pulumi_kubernetes/core/v1/PersistentVolume.py +27 -26
  251. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +27 -26
  252. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +26 -25
  253. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +27 -26
  254. pulumi_kubernetes/core/v1/PersistentVolumeList.py +26 -25
  255. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +27 -26
  256. pulumi_kubernetes/core/v1/Pod.py +27 -26
  257. pulumi_kubernetes/core/v1/PodList.py +26 -25
  258. pulumi_kubernetes/core/v1/PodPatch.py +27 -26
  259. pulumi_kubernetes/core/v1/PodTemplate.py +26 -25
  260. pulumi_kubernetes/core/v1/PodTemplateList.py +26 -25
  261. pulumi_kubernetes/core/v1/PodTemplatePatch.py +26 -25
  262. pulumi_kubernetes/core/v1/ReplicationController.py +27 -26
  263. pulumi_kubernetes/core/v1/ReplicationControllerList.py +26 -25
  264. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +27 -26
  265. pulumi_kubernetes/core/v1/ResourceQuota.py +27 -26
  266. pulumi_kubernetes/core/v1/ResourceQuotaList.py +26 -25
  267. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +27 -26
  268. pulumi_kubernetes/core/v1/Secret.py +64 -63
  269. pulumi_kubernetes/core/v1/SecretList.py +26 -25
  270. pulumi_kubernetes/core/v1/SecretPatch.py +68 -65
  271. pulumi_kubernetes/core/v1/Service.py +33 -48
  272. pulumi_kubernetes/core/v1/ServiceAccount.py +42 -41
  273. pulumi_kubernetes/core/v1/ServiceAccountList.py +26 -25
  274. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +42 -41
  275. pulumi_kubernetes/core/v1/ServiceList.py +26 -25
  276. pulumi_kubernetes/core/v1/ServicePatch.py +33 -48
  277. pulumi_kubernetes/core/v1/__init__.py +1 -0
  278. pulumi_kubernetes/core/v1/_enums.py +4 -1
  279. pulumi_kubernetes/core/v1/_inputs.py +7862 -7453
  280. pulumi_kubernetes/core/v1/outputs.py +5980 -5608
  281. pulumi_kubernetes/discovery/__init__.py +1 -0
  282. pulumi_kubernetes/discovery/v1/EndpointSlice.py +46 -45
  283. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +26 -25
  284. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +46 -45
  285. pulumi_kubernetes/discovery/v1/__init__.py +1 -0
  286. pulumi_kubernetes/discovery/v1/_inputs.py +334 -219
  287. pulumi_kubernetes/discovery/v1/outputs.py +224 -149
  288. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +38 -37
  289. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +26 -25
  290. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +38 -37
  291. pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
  292. pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -158
  293. pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -108
  294. pulumi_kubernetes/events/__init__.py +1 -0
  295. pulumi_kubernetes/events/v1/Event.py +132 -131
  296. pulumi_kubernetes/events/v1/EventList.py +26 -25
  297. pulumi_kubernetes/events/v1/EventPatch.py +132 -131
  298. pulumi_kubernetes/events/v1/__init__.py +1 -0
  299. pulumi_kubernetes/events/v1/_inputs.py +102 -102
  300. pulumi_kubernetes/events/v1/outputs.py +70 -70
  301. pulumi_kubernetes/events/v1beta1/Event.py +132 -131
  302. pulumi_kubernetes/events/v1beta1/EventList.py +26 -25
  303. pulumi_kubernetes/events/v1beta1/EventPatch.py +132 -131
  304. pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
  305. pulumi_kubernetes/events/v1beta1/_inputs.py +114 -114
  306. pulumi_kubernetes/events/v1beta1/outputs.py +78 -78
  307. pulumi_kubernetes/extensions/__init__.py +1 -0
  308. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +27 -26
  309. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +26 -25
  310. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +27 -26
  311. pulumi_kubernetes/extensions/v1beta1/Deployment.py +27 -26
  312. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +26 -25
  313. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +27 -26
  314. pulumi_kubernetes/extensions/v1beta1/Ingress.py +27 -26
  315. pulumi_kubernetes/extensions/v1beta1/IngressList.py +26 -25
  316. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +27 -26
  317. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +26 -25
  318. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +26 -25
  319. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +26 -25
  320. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +26 -25
  321. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +26 -25
  322. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +26 -25
  323. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +27 -26
  324. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +26 -25
  325. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +27 -26
  326. pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
  327. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1097
  328. pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -899
  329. pulumi_kubernetes/flowcontrol/__init__.py +1 -0
  330. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +27 -26
  331. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +26 -25
  332. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +27 -26
  333. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +27 -26
  334. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +26 -25
  335. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +27 -26
  336. pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
  337. pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -419
  338. pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -333
  339. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +27 -26
  340. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +26 -25
  341. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +27 -26
  342. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +27 -26
  343. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +26 -25
  344. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +27 -26
  345. pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
  346. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -369
  347. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -299
  348. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +27 -26
  349. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +26 -25
  350. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +27 -26
  351. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +27 -26
  352. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +26 -25
  353. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +27 -26
  354. pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
  355. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -369
  356. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -299
  357. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +27 -26
  358. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +26 -25
  359. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +27 -26
  360. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +27 -26
  361. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +26 -25
  362. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +27 -26
  363. pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
  364. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -419
  365. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -333
  366. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +27 -26
  367. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +26 -25
  368. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +27 -26
  369. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +27 -26
  370. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +26 -25
  371. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +27 -26
  372. pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
  373. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +431 -431
  374. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +341 -341
  375. pulumi_kubernetes/helm/__init__.py +1 -0
  376. pulumi_kubernetes/helm/v3/Release.py +317 -316
  377. pulumi_kubernetes/helm/v3/__init__.py +1 -0
  378. pulumi_kubernetes/helm/v3/_inputs.py +39 -39
  379. pulumi_kubernetes/helm/v3/outputs.py +55 -55
  380. pulumi_kubernetes/helm/v4/Chart.py +114 -87
  381. pulumi_kubernetes/helm/v4/__init__.py +1 -0
  382. pulumi_kubernetes/helm/v4/_inputs.py +36 -36
  383. pulumi_kubernetes/kustomize/__init__.py +1 -0
  384. pulumi_kubernetes/kustomize/v2/Directory.py +36 -35
  385. pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
  386. pulumi_kubernetes/meta/__init__.py +1 -0
  387. pulumi_kubernetes/meta/v1/Status.py +58 -57
  388. pulumi_kubernetes/meta/v1/StatusPatch.py +58 -57
  389. pulumi_kubernetes/meta/v1/__init__.py +1 -0
  390. pulumi_kubernetes/meta/v1/_inputs.py +551 -551
  391. pulumi_kubernetes/meta/v1/outputs.py +395 -395
  392. pulumi_kubernetes/networking/__init__.py +1 -0
  393. pulumi_kubernetes/networking/v1/IPAddress.py +217 -0
  394. pulumi_kubernetes/networking/v1/IPAddressList.py +216 -0
  395. pulumi_kubernetes/networking/v1/IPAddressPatch.py +229 -0
  396. pulumi_kubernetes/networking/v1/Ingress.py +27 -26
  397. pulumi_kubernetes/networking/v1/IngressClass.py +26 -25
  398. pulumi_kubernetes/networking/v1/IngressClassList.py +26 -25
  399. pulumi_kubernetes/networking/v1/IngressClassPatch.py +26 -25
  400. pulumi_kubernetes/networking/v1/IngressList.py +26 -25
  401. pulumi_kubernetes/networking/v1/IngressPatch.py +27 -26
  402. pulumi_kubernetes/networking/v1/NetworkPolicy.py +27 -26
  403. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +26 -25
  404. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +27 -26
  405. pulumi_kubernetes/networking/v1/ServiceCIDR.py +227 -0
  406. pulumi_kubernetes/networking/v1/ServiceCIDRList.py +216 -0
  407. pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +239 -0
  408. pulumi_kubernetes/networking/v1/__init__.py +7 -0
  409. pulumi_kubernetes/networking/v1/_inputs.py +970 -371
  410. pulumi_kubernetes/networking/v1/outputs.py +746 -285
  411. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +26 -25
  412. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +26 -25
  413. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +26 -25
  414. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +27 -26
  415. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +26 -25
  416. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +27 -26
  417. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +28 -27
  418. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +26 -25
  419. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +28 -27
  420. pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
  421. pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -157
  422. pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -110
  423. pulumi_kubernetes/networking/v1beta1/IPAddress.py +27 -26
  424. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +26 -25
  425. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +27 -26
  426. pulumi_kubernetes/networking/v1beta1/Ingress.py +27 -26
  427. pulumi_kubernetes/networking/v1beta1/IngressClass.py +26 -25
  428. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +26 -25
  429. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +26 -25
  430. pulumi_kubernetes/networking/v1beta1/IngressList.py +26 -25
  431. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +27 -26
  432. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +28 -27
  433. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +26 -25
  434. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +28 -27
  435. pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
  436. pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -247
  437. pulumi_kubernetes/networking/v1beta1/outputs.py +173 -173
  438. pulumi_kubernetes/node/__init__.py +1 -0
  439. pulumi_kubernetes/node/v1/RuntimeClass.py +38 -37
  440. pulumi_kubernetes/node/v1/RuntimeClassList.py +26 -25
  441. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +38 -37
  442. pulumi_kubernetes/node/v1/__init__.py +1 -0
  443. pulumi_kubernetes/node/v1/_inputs.py +48 -48
  444. pulumi_kubernetes/node/v1/outputs.py +34 -34
  445. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +26 -25
  446. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +26 -25
  447. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +26 -25
  448. pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
  449. pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -57
  450. pulumi_kubernetes/node/v1alpha1/outputs.py +41 -41
  451. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +38 -37
  452. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +26 -25
  453. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +38 -37
  454. pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
  455. pulumi_kubernetes/node/v1beta1/_inputs.py +48 -48
  456. pulumi_kubernetes/node/v1beta1/outputs.py +34 -34
  457. pulumi_kubernetes/policy/__init__.py +1 -0
  458. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +27 -26
  459. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +26 -25
  460. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +27 -26
  461. pulumi_kubernetes/policy/v1/__init__.py +1 -0
  462. pulumi_kubernetes/policy/v1/_inputs.py +91 -103
  463. pulumi_kubernetes/policy/v1/outputs.py +80 -88
  464. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +27 -26
  465. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +26 -25
  466. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +27 -26
  467. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +26 -25
  468. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +26 -25
  469. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +26 -25
  470. pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
  471. pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -470
  472. pulumi_kubernetes/policy/v1beta1/outputs.py +342 -342
  473. pulumi_kubernetes/provider.py +139 -99
  474. pulumi_kubernetes/pulumi-plugin.json +1 -1
  475. pulumi_kubernetes/rbac/__init__.py +1 -0
  476. pulumi_kubernetes/rbac/v1/ClusterRole.py +28 -27
  477. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +28 -27
  478. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +26 -25
  479. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +28 -27
  480. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +26 -25
  481. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +28 -27
  482. pulumi_kubernetes/rbac/v1/Role.py +26 -25
  483. pulumi_kubernetes/rbac/v1/RoleBinding.py +28 -27
  484. pulumi_kubernetes/rbac/v1/RoleBindingList.py +26 -25
  485. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +28 -27
  486. pulumi_kubernetes/rbac/v1/RoleList.py +26 -25
  487. pulumi_kubernetes/rbac/v1/RolePatch.py +26 -25
  488. pulumi_kubernetes/rbac/v1/__init__.py +1 -0
  489. pulumi_kubernetes/rbac/v1/_inputs.py +206 -206
  490. pulumi_kubernetes/rbac/v1/outputs.py +142 -142
  491. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +28 -27
  492. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +28 -27
  493. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +26 -25
  494. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +28 -27
  495. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +26 -25
  496. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +28 -27
  497. pulumi_kubernetes/rbac/v1alpha1/Role.py +26 -25
  498. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +28 -27
  499. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +26 -25
  500. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +28 -27
  501. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +26 -25
  502. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +26 -25
  503. pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
  504. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -206
  505. pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -142
  506. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +28 -27
  507. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +28 -27
  508. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +26 -25
  509. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +28 -27
  510. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +26 -25
  511. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +28 -27
  512. pulumi_kubernetes/rbac/v1beta1/Role.py +26 -25
  513. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +28 -27
  514. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +26 -25
  515. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +28 -27
  516. pulumi_kubernetes/rbac/v1beta1/RoleList.py +26 -25
  517. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +26 -25
  518. pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
  519. pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -206
  520. pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -142
  521. pulumi_kubernetes/resource/__init__.py +7 -0
  522. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +27 -26
  523. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +26 -25
  524. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +27 -26
  525. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +28 -27
  526. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +26 -25
  527. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +28 -27
  528. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +27 -26
  529. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +26 -25
  530. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +27 -26
  531. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +38 -37
  532. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +26 -25
  533. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +38 -37
  534. pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
  535. pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -268
  536. pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -230
  537. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +27 -26
  538. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +26 -25
  539. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +27 -26
  540. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +28 -27
  541. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +26 -25
  542. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +38 -37
  543. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +26 -25
  544. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +38 -37
  545. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +28 -27
  546. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +27 -26
  547. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +26 -25
  548. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +27 -26
  549. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +48 -47
  550. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +26 -25
  551. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +30 -29
  552. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +26 -25
  553. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +30 -29
  554. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +48 -47
  555. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +47 -46
  556. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +26 -25
  557. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +47 -46
  558. pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
  559. pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -550
  560. pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -449
  561. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +28 -25
  562. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +26 -25
  563. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +28 -25
  564. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +224 -0
  565. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +216 -0
  566. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +235 -0
  567. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +27 -26
  568. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +26 -25
  569. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +27 -26
  570. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +28 -27
  571. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +26 -25
  572. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +28 -27
  573. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +27 -26
  574. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +26 -25
  575. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +27 -26
  576. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +34 -33
  577. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +246 -0
  578. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +27 -26
  579. pulumi_kubernetes/resource/v1alpha3/__init__.py +5 -0
  580. pulumi_kubernetes/resource/v1alpha3/_inputs.py +3400 -606
  581. pulumi_kubernetes/resource/v1alpha3/outputs.py +2933 -565
  582. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +238 -0
  583. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +216 -0
  584. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +249 -0
  585. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +233 -0
  586. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +217 -0
  587. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +244 -0
  588. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +230 -0
  589. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +216 -0
  590. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +241 -0
  591. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +247 -0
  592. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +217 -0
  593. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +258 -0
  594. pulumi_kubernetes/resource/v1beta1/__init__.py +22 -0
  595. pulumi_kubernetes/resource/v1beta1/_inputs.py +5735 -0
  596. pulumi_kubernetes/resource/v1beta1/outputs.py +4736 -0
  597. pulumi_kubernetes/resource/v1beta2/DeviceClass.py +238 -0
  598. pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +216 -0
  599. pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +249 -0
  600. pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +233 -0
  601. pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +217 -0
  602. pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +244 -0
  603. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +230 -0
  604. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +216 -0
  605. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +241 -0
  606. pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +247 -0
  607. pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +217 -0
  608. pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +258 -0
  609. pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
  610. pulumi_kubernetes/resource/v1beta2/_inputs.py +5680 -0
  611. pulumi_kubernetes/resource/v1beta2/outputs.py +4725 -0
  612. pulumi_kubernetes/scheduling/__init__.py +1 -0
  613. pulumi_kubernetes/scheduling/v1/PriorityClass.py +64 -63
  614. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +26 -25
  615. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +64 -63
  616. pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
  617. pulumi_kubernetes/scheduling/v1/_inputs.py +38 -38
  618. pulumi_kubernetes/scheduling/v1/outputs.py +26 -26
  619. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +64 -63
  620. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +26 -25
  621. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +64 -63
  622. pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
  623. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -38
  624. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -26
  625. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +64 -63
  626. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +26 -25
  627. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +64 -63
  628. pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
  629. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -38
  630. pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -26
  631. pulumi_kubernetes/settings/__init__.py +1 -0
  632. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +26 -25
  633. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +26 -25
  634. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +26 -25
  635. pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
  636. pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -25
  637. pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -21
  638. pulumi_kubernetes/storage/__init__.py +1 -0
  639. pulumi_kubernetes/storage/v1/CSIDriver.py +26 -25
  640. pulumi_kubernetes/storage/v1/CSIDriverList.py +26 -25
  641. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +26 -25
  642. pulumi_kubernetes/storage/v1/CSINode.py +26 -25
  643. pulumi_kubernetes/storage/v1/CSINodeList.py +26 -25
  644. pulumi_kubernetes/storage/v1/CSINodePatch.py +26 -25
  645. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +56 -55
  646. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +26 -25
  647. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +56 -55
  648. pulumi_kubernetes/storage/v1/StorageClass.py +86 -85
  649. pulumi_kubernetes/storage/v1/StorageClassList.py +26 -25
  650. pulumi_kubernetes/storage/v1/StorageClassPatch.py +86 -85
  651. pulumi_kubernetes/storage/v1/VolumeAttachment.py +27 -26
  652. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +26 -25
  653. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +27 -26
  654. pulumi_kubernetes/storage/v1/__init__.py +1 -0
  655. pulumi_kubernetes/storage/v1/_inputs.py +448 -358
  656. pulumi_kubernetes/storage/v1/outputs.py +376 -266
  657. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +27 -26
  658. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +26 -25
  659. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +27 -26
  660. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +44 -43
  661. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +26 -25
  662. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +44 -43
  663. pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
  664. pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -107
  665. pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -93
  666. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +26 -25
  667. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +26 -25
  668. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +26 -25
  669. pulumi_kubernetes/storage/v1beta1/CSINode.py +26 -25
  670. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +26 -25
  671. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +26 -25
  672. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +56 -55
  673. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +26 -25
  674. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +56 -55
  675. pulumi_kubernetes/storage/v1beta1/StorageClass.py +86 -85
  676. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +26 -25
  677. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +86 -85
  678. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +27 -26
  679. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +26 -25
  680. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +27 -26
  681. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +44 -43
  682. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +26 -25
  683. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +44 -43
  684. pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
  685. pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -367
  686. pulumi_kubernetes/storage/v1beta1/outputs.py +271 -271
  687. pulumi_kubernetes/storagemigration/__init__.py +1 -0
  688. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +27 -26
  689. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +26 -25
  690. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +27 -26
  691. pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
  692. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -103
  693. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -96
  694. pulumi_kubernetes/yaml/__init__.py +1 -0
  695. pulumi_kubernetes/yaml/v2/ConfigFile.py +31 -28
  696. pulumi_kubernetes/yaml/v2/ConfigGroup.py +36 -35
  697. pulumi_kubernetes/yaml/v2/__init__.py +1 -0
  698. pulumi_kubernetes/yaml/yaml.py +198 -0
  699. {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/METADATA +9 -9
  700. pulumi_kubernetes-4.26.0a1769215986.dist-info/RECORD +709 -0
  701. {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/WHEEL +1 -1
  702. pulumi_kubernetes-4.17.0a1723576835.dist-info/RECORD +0 -651
  703. {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumigen. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -71,15 +71,15 @@ class CronJob(dict):
71
71
  return super().get(key, default)
72
72
 
73
73
  def __init__(__self__, *,
74
- api_version: Optional[str] = None,
75
- kind: Optional[str] = None,
74
+ api_version: Optional[_builtins.str] = None,
75
+ kind: Optional[_builtins.str] = None,
76
76
  metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
77
77
  spec: Optional['outputs.CronJobSpec'] = None,
78
78
  status: Optional['outputs.CronJobStatus'] = None):
79
79
  """
80
80
  CronJob represents the configuration of a single cron job.
81
- :param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
82
- :param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
81
+ :param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
82
+ :param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
83
83
  :param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
84
84
  :param 'CronJobSpecArgs' spec: Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
85
85
  :param 'CronJobStatusArgs' status: Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
@@ -95,23 +95,23 @@ class CronJob(dict):
95
95
  if status is not None:
96
96
  pulumi.set(__self__, "status", status)
97
97
 
98
- @property
98
+ @_builtins.property
99
99
  @pulumi.getter(name="apiVersion")
100
- def api_version(self) -> Optional[str]:
100
+ def api_version(self) -> Optional[_builtins.str]:
101
101
  """
102
102
  APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
103
103
  """
104
104
  return pulumi.get(self, "api_version")
105
105
 
106
- @property
106
+ @_builtins.property
107
107
  @pulumi.getter
108
- def kind(self) -> Optional[str]:
108
+ def kind(self) -> Optional[_builtins.str]:
109
109
  """
110
110
  Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
111
111
  """
112
112
  return pulumi.get(self, "kind")
113
113
 
114
- @property
114
+ @_builtins.property
115
115
  @pulumi.getter
116
116
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
117
117
  """
@@ -119,7 +119,7 @@ class CronJob(dict):
119
119
  """
120
120
  return pulumi.get(self, "metadata")
121
121
 
122
- @property
122
+ @_builtins.property
123
123
  @pulumi.getter
124
124
  def spec(self) -> Optional['outputs.CronJobSpec']:
125
125
  """
@@ -127,7 +127,7 @@ class CronJob(dict):
127
127
  """
128
128
  return pulumi.get(self, "spec")
129
129
 
130
- @property
130
+ @_builtins.property
131
131
  @pulumi.getter
132
132
  def status(self) -> Optional['outputs.CronJobStatus']:
133
133
  """
@@ -170,25 +170,25 @@ class CronJobSpec(dict):
170
170
 
171
171
  def __init__(__self__, *,
172
172
  job_template: 'outputs.JobTemplateSpec',
173
- schedule: str,
174
- concurrency_policy: Optional[str] = None,
175
- failed_jobs_history_limit: Optional[int] = None,
176
- starting_deadline_seconds: Optional[int] = None,
177
- successful_jobs_history_limit: Optional[int] = None,
178
- suspend: Optional[bool] = None,
179
- time_zone: Optional[str] = None):
173
+ schedule: _builtins.str,
174
+ concurrency_policy: Optional[_builtins.str] = None,
175
+ failed_jobs_history_limit: Optional[_builtins.int] = None,
176
+ starting_deadline_seconds: Optional[_builtins.int] = None,
177
+ successful_jobs_history_limit: Optional[_builtins.int] = None,
178
+ suspend: Optional[_builtins.bool] = None,
179
+ time_zone: Optional[_builtins.str] = None):
180
180
  """
181
181
  CronJobSpec describes how the job execution will look like and when it will actually run.
182
182
  :param 'JobTemplateSpecArgs' job_template: Specifies the job that will be created when executing a CronJob.
183
- :param str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
184
- :param str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
183
+ :param _builtins.str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
184
+ :param _builtins.str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
185
185
 
186
186
  - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
187
- :param int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
188
- :param int starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
189
- :param int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
190
- :param bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
191
- :param str time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
187
+ :param _builtins.int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
188
+ :param _builtins.int starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
189
+ :param _builtins.int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
190
+ :param _builtins.bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
191
+ :param _builtins.str time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
192
192
  """
193
193
  pulumi.set(__self__, "job_template", job_template)
194
194
  pulumi.set(__self__, "schedule", schedule)
@@ -205,7 +205,7 @@ class CronJobSpec(dict):
205
205
  if time_zone is not None:
206
206
  pulumi.set(__self__, "time_zone", time_zone)
207
207
 
208
- @property
208
+ @_builtins.property
209
209
  @pulumi.getter(name="jobTemplate")
210
210
  def job_template(self) -> 'outputs.JobTemplateSpec':
211
211
  """
@@ -213,17 +213,17 @@ class CronJobSpec(dict):
213
213
  """
214
214
  return pulumi.get(self, "job_template")
215
215
 
216
- @property
216
+ @_builtins.property
217
217
  @pulumi.getter
218
- def schedule(self) -> str:
218
+ def schedule(self) -> _builtins.str:
219
219
  """
220
220
  The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
221
221
  """
222
222
  return pulumi.get(self, "schedule")
223
223
 
224
- @property
224
+ @_builtins.property
225
225
  @pulumi.getter(name="concurrencyPolicy")
226
- def concurrency_policy(self) -> Optional[str]:
226
+ def concurrency_policy(self) -> Optional[_builtins.str]:
227
227
  """
228
228
  Specifies how to treat concurrent executions of a Job. Valid values are:
229
229
 
@@ -231,41 +231,41 @@ class CronJobSpec(dict):
231
231
  """
232
232
  return pulumi.get(self, "concurrency_policy")
233
233
 
234
- @property
234
+ @_builtins.property
235
235
  @pulumi.getter(name="failedJobsHistoryLimit")
236
- def failed_jobs_history_limit(self) -> Optional[int]:
236
+ def failed_jobs_history_limit(self) -> Optional[_builtins.int]:
237
237
  """
238
238
  The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
239
239
  """
240
240
  return pulumi.get(self, "failed_jobs_history_limit")
241
241
 
242
- @property
242
+ @_builtins.property
243
243
  @pulumi.getter(name="startingDeadlineSeconds")
244
- def starting_deadline_seconds(self) -> Optional[int]:
244
+ def starting_deadline_seconds(self) -> Optional[_builtins.int]:
245
245
  """
246
246
  Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
247
247
  """
248
248
  return pulumi.get(self, "starting_deadline_seconds")
249
249
 
250
- @property
250
+ @_builtins.property
251
251
  @pulumi.getter(name="successfulJobsHistoryLimit")
252
- def successful_jobs_history_limit(self) -> Optional[int]:
252
+ def successful_jobs_history_limit(self) -> Optional[_builtins.int]:
253
253
  """
254
254
  The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
255
255
  """
256
256
  return pulumi.get(self, "successful_jobs_history_limit")
257
257
 
258
- @property
258
+ @_builtins.property
259
259
  @pulumi.getter
260
- def suspend(self) -> Optional[bool]:
260
+ def suspend(self) -> Optional[_builtins.bool]:
261
261
  """
262
262
  This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
263
263
  """
264
264
  return pulumi.get(self, "suspend")
265
265
 
266
- @property
266
+ @_builtins.property
267
267
  @pulumi.getter(name="timeZone")
268
- def time_zone(self) -> Optional[str]:
268
+ def time_zone(self) -> Optional[_builtins.str]:
269
269
  """
270
270
  The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
271
271
  """
@@ -305,26 +305,26 @@ class CronJobSpecPatch(dict):
305
305
  return super().get(key, default)
306
306
 
307
307
  def __init__(__self__, *,
308
- concurrency_policy: Optional[str] = None,
309
- failed_jobs_history_limit: Optional[int] = None,
308
+ concurrency_policy: Optional[_builtins.str] = None,
309
+ failed_jobs_history_limit: Optional[_builtins.int] = None,
310
310
  job_template: Optional['outputs.JobTemplateSpecPatch'] = None,
311
- schedule: Optional[str] = None,
312
- starting_deadline_seconds: Optional[int] = None,
313
- successful_jobs_history_limit: Optional[int] = None,
314
- suspend: Optional[bool] = None,
315
- time_zone: Optional[str] = None):
311
+ schedule: Optional[_builtins.str] = None,
312
+ starting_deadline_seconds: Optional[_builtins.int] = None,
313
+ successful_jobs_history_limit: Optional[_builtins.int] = None,
314
+ suspend: Optional[_builtins.bool] = None,
315
+ time_zone: Optional[_builtins.str] = None):
316
316
  """
317
317
  CronJobSpec describes how the job execution will look like and when it will actually run.
318
- :param str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
318
+ :param _builtins.str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
319
319
 
320
320
  - "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
321
- :param int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
321
+ :param _builtins.int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
322
322
  :param 'JobTemplateSpecPatchArgs' job_template: Specifies the job that will be created when executing a CronJob.
323
- :param str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
324
- :param int starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
325
- :param int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
326
- :param bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
327
- :param str time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
323
+ :param _builtins.str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
324
+ :param _builtins.int starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
325
+ :param _builtins.int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
326
+ :param _builtins.bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
327
+ :param _builtins.str time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
328
328
  """
329
329
  if concurrency_policy is not None:
330
330
  pulumi.set(__self__, "concurrency_policy", concurrency_policy)
@@ -343,9 +343,9 @@ class CronJobSpecPatch(dict):
343
343
  if time_zone is not None:
344
344
  pulumi.set(__self__, "time_zone", time_zone)
345
345
 
346
- @property
346
+ @_builtins.property
347
347
  @pulumi.getter(name="concurrencyPolicy")
348
- def concurrency_policy(self) -> Optional[str]:
348
+ def concurrency_policy(self) -> Optional[_builtins.str]:
349
349
  """
350
350
  Specifies how to treat concurrent executions of a Job. Valid values are:
351
351
 
@@ -353,15 +353,15 @@ class CronJobSpecPatch(dict):
353
353
  """
354
354
  return pulumi.get(self, "concurrency_policy")
355
355
 
356
- @property
356
+ @_builtins.property
357
357
  @pulumi.getter(name="failedJobsHistoryLimit")
358
- def failed_jobs_history_limit(self) -> Optional[int]:
358
+ def failed_jobs_history_limit(self) -> Optional[_builtins.int]:
359
359
  """
360
360
  The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
361
361
  """
362
362
  return pulumi.get(self, "failed_jobs_history_limit")
363
363
 
364
- @property
364
+ @_builtins.property
365
365
  @pulumi.getter(name="jobTemplate")
366
366
  def job_template(self) -> Optional['outputs.JobTemplateSpecPatch']:
367
367
  """
@@ -369,41 +369,41 @@ class CronJobSpecPatch(dict):
369
369
  """
370
370
  return pulumi.get(self, "job_template")
371
371
 
372
- @property
372
+ @_builtins.property
373
373
  @pulumi.getter
374
- def schedule(self) -> Optional[str]:
374
+ def schedule(self) -> Optional[_builtins.str]:
375
375
  """
376
376
  The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
377
377
  """
378
378
  return pulumi.get(self, "schedule")
379
379
 
380
- @property
380
+ @_builtins.property
381
381
  @pulumi.getter(name="startingDeadlineSeconds")
382
- def starting_deadline_seconds(self) -> Optional[int]:
382
+ def starting_deadline_seconds(self) -> Optional[_builtins.int]:
383
383
  """
384
384
  Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
385
385
  """
386
386
  return pulumi.get(self, "starting_deadline_seconds")
387
387
 
388
- @property
388
+ @_builtins.property
389
389
  @pulumi.getter(name="successfulJobsHistoryLimit")
390
- def successful_jobs_history_limit(self) -> Optional[int]:
390
+ def successful_jobs_history_limit(self) -> Optional[_builtins.int]:
391
391
  """
392
392
  The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
393
393
  """
394
394
  return pulumi.get(self, "successful_jobs_history_limit")
395
395
 
396
- @property
396
+ @_builtins.property
397
397
  @pulumi.getter
398
- def suspend(self) -> Optional[bool]:
398
+ def suspend(self) -> Optional[_builtins.bool]:
399
399
  """
400
400
  This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
401
401
  """
402
402
  return pulumi.get(self, "suspend")
403
403
 
404
- @property
404
+ @_builtins.property
405
405
  @pulumi.getter(name="timeZone")
406
- def time_zone(self) -> Optional[str]:
406
+ def time_zone(self) -> Optional[_builtins.str]:
407
407
  """
408
408
  The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
409
409
  """
@@ -436,13 +436,13 @@ class CronJobStatus(dict):
436
436
 
437
437
  def __init__(__self__, *,
438
438
  active: Optional[Sequence['_core.v1.outputs.ObjectReference']] = None,
439
- last_schedule_time: Optional[str] = None,
440
- last_successful_time: Optional[str] = None):
439
+ last_schedule_time: Optional[_builtins.str] = None,
440
+ last_successful_time: Optional[_builtins.str] = None):
441
441
  """
442
442
  CronJobStatus represents the current state of a cron job.
443
443
  :param Sequence['_core.v1.ObjectReferenceArgs'] active: A list of pointers to currently running jobs.
444
- :param str last_schedule_time: Information when was the last time the job was successfully scheduled.
445
- :param str last_successful_time: Information when was the last time the job successfully completed.
444
+ :param _builtins.str last_schedule_time: Information when was the last time the job was successfully scheduled.
445
+ :param _builtins.str last_successful_time: Information when was the last time the job successfully completed.
446
446
  """
447
447
  if active is not None:
448
448
  pulumi.set(__self__, "active", active)
@@ -451,7 +451,7 @@ class CronJobStatus(dict):
451
451
  if last_successful_time is not None:
452
452
  pulumi.set(__self__, "last_successful_time", last_successful_time)
453
453
 
454
- @property
454
+ @_builtins.property
455
455
  @pulumi.getter
456
456
  def active(self) -> Optional[Sequence['_core.v1.outputs.ObjectReference']]:
457
457
  """
@@ -459,17 +459,17 @@ class CronJobStatus(dict):
459
459
  """
460
460
  return pulumi.get(self, "active")
461
461
 
462
- @property
462
+ @_builtins.property
463
463
  @pulumi.getter(name="lastScheduleTime")
464
- def last_schedule_time(self) -> Optional[str]:
464
+ def last_schedule_time(self) -> Optional[_builtins.str]:
465
465
  """
466
466
  Information when was the last time the job was successfully scheduled.
467
467
  """
468
468
  return pulumi.get(self, "last_schedule_time")
469
469
 
470
- @property
470
+ @_builtins.property
471
471
  @pulumi.getter(name="lastSuccessfulTime")
472
- def last_successful_time(self) -> Optional[str]:
472
+ def last_successful_time(self) -> Optional[_builtins.str]:
473
473
  """
474
474
  Information when was the last time the job successfully completed.
475
475
  """
@@ -502,13 +502,13 @@ class CronJobStatusPatch(dict):
502
502
 
503
503
  def __init__(__self__, *,
504
504
  active: Optional[Sequence['_core.v1.outputs.ObjectReferencePatch']] = None,
505
- last_schedule_time: Optional[str] = None,
506
- last_successful_time: Optional[str] = None):
505
+ last_schedule_time: Optional[_builtins.str] = None,
506
+ last_successful_time: Optional[_builtins.str] = None):
507
507
  """
508
508
  CronJobStatus represents the current state of a cron job.
509
509
  :param Sequence['_core.v1.ObjectReferencePatchArgs'] active: A list of pointers to currently running jobs.
510
- :param str last_schedule_time: Information when was the last time the job was successfully scheduled.
511
- :param str last_successful_time: Information when was the last time the job successfully completed.
510
+ :param _builtins.str last_schedule_time: Information when was the last time the job was successfully scheduled.
511
+ :param _builtins.str last_successful_time: Information when was the last time the job successfully completed.
512
512
  """
513
513
  if active is not None:
514
514
  pulumi.set(__self__, "active", active)
@@ -517,7 +517,7 @@ class CronJobStatusPatch(dict):
517
517
  if last_successful_time is not None:
518
518
  pulumi.set(__self__, "last_successful_time", last_successful_time)
519
519
 
520
- @property
520
+ @_builtins.property
521
521
  @pulumi.getter
522
522
  def active(self) -> Optional[Sequence['_core.v1.outputs.ObjectReferencePatch']]:
523
523
  """
@@ -525,17 +525,17 @@ class CronJobStatusPatch(dict):
525
525
  """
526
526
  return pulumi.get(self, "active")
527
527
 
528
- @property
528
+ @_builtins.property
529
529
  @pulumi.getter(name="lastScheduleTime")
530
- def last_schedule_time(self) -> Optional[str]:
530
+ def last_schedule_time(self) -> Optional[_builtins.str]:
531
531
  """
532
532
  Information when was the last time the job was successfully scheduled.
533
533
  """
534
534
  return pulumi.get(self, "last_schedule_time")
535
535
 
536
- @property
536
+ @_builtins.property
537
537
  @pulumi.getter(name="lastSuccessfulTime")
538
- def last_successful_time(self) -> Optional[str]:
538
+ def last_successful_time(self) -> Optional[_builtins.str]:
539
539
  """
540
540
  Information when was the last time the job successfully completed.
541
541
  """
@@ -585,8 +585,8 @@ class Job(dict):
585
585
  return super().get(key, default)
586
586
 
587
587
  def __init__(__self__, *,
588
- api_version: Optional[str] = None,
589
- kind: Optional[str] = None,
588
+ api_version: Optional[_builtins.str] = None,
589
+ kind: Optional[_builtins.str] = None,
590
590
  metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
591
591
  spec: Optional['outputs.JobSpec'] = None,
592
592
  status: Optional['outputs.JobStatus'] = None):
@@ -612,8 +612,8 @@ class Job(dict):
612
612
  Pulumi will continue to wait for readiness on the next update. If you would prefer
613
613
  to schedule a replacement for an unready resource on the next update, you can add the
614
614
  "pulumi.com/replaceUnready": "true" annotation to the resource definition.
615
- :param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
616
- :param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
615
+ :param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
616
+ :param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
617
617
  :param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
618
618
  :param 'JobSpecArgs' spec: Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
619
619
  :param 'JobStatusArgs' status: Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
@@ -629,23 +629,23 @@ class Job(dict):
629
629
  if status is not None:
630
630
  pulumi.set(__self__, "status", status)
631
631
 
632
- @property
632
+ @_builtins.property
633
633
  @pulumi.getter(name="apiVersion")
634
- def api_version(self) -> Optional[str]:
634
+ def api_version(self) -> Optional[_builtins.str]:
635
635
  """
636
636
  APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
637
637
  """
638
638
  return pulumi.get(self, "api_version")
639
639
 
640
- @property
640
+ @_builtins.property
641
641
  @pulumi.getter
642
- def kind(self) -> Optional[str]:
642
+ def kind(self) -> Optional[_builtins.str]:
643
643
  """
644
644
  Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
645
645
  """
646
646
  return pulumi.get(self, "kind")
647
647
 
648
- @property
648
+ @_builtins.property
649
649
  @pulumi.getter
650
650
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
651
651
  """
@@ -653,7 +653,7 @@ class Job(dict):
653
653
  """
654
654
  return pulumi.get(self, "metadata")
655
655
 
656
- @property
656
+ @_builtins.property
657
657
  @pulumi.getter
658
658
  def spec(self) -> Optional['outputs.JobSpec']:
659
659
  """
@@ -661,7 +661,7 @@ class Job(dict):
661
661
  """
662
662
  return pulumi.get(self, "spec")
663
663
 
664
- @property
664
+ @_builtins.property
665
665
  @pulumi.getter
666
666
  def status(self) -> Optional['outputs.JobStatus']:
667
667
  """
@@ -695,20 +695,20 @@ class JobCondition(dict):
695
695
  return super().get(key, default)
696
696
 
697
697
  def __init__(__self__, *,
698
- status: str,
699
- type: str,
700
- last_probe_time: Optional[str] = None,
701
- last_transition_time: Optional[str] = None,
702
- message: Optional[str] = None,
703
- reason: Optional[str] = None):
698
+ status: _builtins.str,
699
+ type: _builtins.str,
700
+ last_probe_time: Optional[_builtins.str] = None,
701
+ last_transition_time: Optional[_builtins.str] = None,
702
+ message: Optional[_builtins.str] = None,
703
+ reason: Optional[_builtins.str] = None):
704
704
  """
705
705
  JobCondition describes current state of a job.
706
- :param str status: Status of the condition, one of True, False, Unknown.
707
- :param str type: Type of job condition, Complete or Failed.
708
- :param str last_probe_time: Last time the condition was checked.
709
- :param str last_transition_time: Last time the condition transit from one status to another.
710
- :param str message: Human readable message indicating details about last transition.
711
- :param str reason: (brief) reason for the condition's last transition.
706
+ :param _builtins.str status: Status of the condition, one of True, False, Unknown.
707
+ :param _builtins.str type: Type of job condition, Complete or Failed.
708
+ :param _builtins.str last_probe_time: Last time the condition was checked.
709
+ :param _builtins.str last_transition_time: Last time the condition transit from one status to another.
710
+ :param _builtins.str message: Human readable message indicating details about last transition.
711
+ :param _builtins.str reason: (brief) reason for the condition's last transition.
712
712
  """
713
713
  pulumi.set(__self__, "status", status)
714
714
  pulumi.set(__self__, "type", type)
@@ -721,49 +721,49 @@ class JobCondition(dict):
721
721
  if reason is not None:
722
722
  pulumi.set(__self__, "reason", reason)
723
723
 
724
- @property
724
+ @_builtins.property
725
725
  @pulumi.getter
726
- def status(self) -> str:
726
+ def status(self) -> _builtins.str:
727
727
  """
728
728
  Status of the condition, one of True, False, Unknown.
729
729
  """
730
730
  return pulumi.get(self, "status")
731
731
 
732
- @property
732
+ @_builtins.property
733
733
  @pulumi.getter
734
- def type(self) -> str:
734
+ def type(self) -> _builtins.str:
735
735
  """
736
736
  Type of job condition, Complete or Failed.
737
737
  """
738
738
  return pulumi.get(self, "type")
739
739
 
740
- @property
740
+ @_builtins.property
741
741
  @pulumi.getter(name="lastProbeTime")
742
- def last_probe_time(self) -> Optional[str]:
742
+ def last_probe_time(self) -> Optional[_builtins.str]:
743
743
  """
744
744
  Last time the condition was checked.
745
745
  """
746
746
  return pulumi.get(self, "last_probe_time")
747
747
 
748
- @property
748
+ @_builtins.property
749
749
  @pulumi.getter(name="lastTransitionTime")
750
- def last_transition_time(self) -> Optional[str]:
750
+ def last_transition_time(self) -> Optional[_builtins.str]:
751
751
  """
752
752
  Last time the condition transit from one status to another.
753
753
  """
754
754
  return pulumi.get(self, "last_transition_time")
755
755
 
756
- @property
756
+ @_builtins.property
757
757
  @pulumi.getter
758
- def message(self) -> Optional[str]:
758
+ def message(self) -> Optional[_builtins.str]:
759
759
  """
760
760
  Human readable message indicating details about last transition.
761
761
  """
762
762
  return pulumi.get(self, "message")
763
763
 
764
- @property
764
+ @_builtins.property
765
765
  @pulumi.getter
766
- def reason(self) -> Optional[str]:
766
+ def reason(self) -> Optional[_builtins.str]:
767
767
  """
768
768
  (brief) reason for the condition's last transition.
769
769
  """
@@ -795,20 +795,20 @@ class JobConditionPatch(dict):
795
795
  return super().get(key, default)
796
796
 
797
797
  def __init__(__self__, *,
798
- last_probe_time: Optional[str] = None,
799
- last_transition_time: Optional[str] = None,
800
- message: Optional[str] = None,
801
- reason: Optional[str] = None,
802
- status: Optional[str] = None,
803
- type: Optional[str] = None):
798
+ last_probe_time: Optional[_builtins.str] = None,
799
+ last_transition_time: Optional[_builtins.str] = None,
800
+ message: Optional[_builtins.str] = None,
801
+ reason: Optional[_builtins.str] = None,
802
+ status: Optional[_builtins.str] = None,
803
+ type: Optional[_builtins.str] = None):
804
804
  """
805
805
  JobCondition describes current state of a job.
806
- :param str last_probe_time: Last time the condition was checked.
807
- :param str last_transition_time: Last time the condition transit from one status to another.
808
- :param str message: Human readable message indicating details about last transition.
809
- :param str reason: (brief) reason for the condition's last transition.
810
- :param str status: Status of the condition, one of True, False, Unknown.
811
- :param str type: Type of job condition, Complete or Failed.
806
+ :param _builtins.str last_probe_time: Last time the condition was checked.
807
+ :param _builtins.str last_transition_time: Last time the condition transit from one status to another.
808
+ :param _builtins.str message: Human readable message indicating details about last transition.
809
+ :param _builtins.str reason: (brief) reason for the condition's last transition.
810
+ :param _builtins.str status: Status of the condition, one of True, False, Unknown.
811
+ :param _builtins.str type: Type of job condition, Complete or Failed.
812
812
  """
813
813
  if last_probe_time is not None:
814
814
  pulumi.set(__self__, "last_probe_time", last_probe_time)
@@ -823,49 +823,49 @@ class JobConditionPatch(dict):
823
823
  if type is not None:
824
824
  pulumi.set(__self__, "type", type)
825
825
 
826
- @property
826
+ @_builtins.property
827
827
  @pulumi.getter(name="lastProbeTime")
828
- def last_probe_time(self) -> Optional[str]:
828
+ def last_probe_time(self) -> Optional[_builtins.str]:
829
829
  """
830
830
  Last time the condition was checked.
831
831
  """
832
832
  return pulumi.get(self, "last_probe_time")
833
833
 
834
- @property
834
+ @_builtins.property
835
835
  @pulumi.getter(name="lastTransitionTime")
836
- def last_transition_time(self) -> Optional[str]:
836
+ def last_transition_time(self) -> Optional[_builtins.str]:
837
837
  """
838
838
  Last time the condition transit from one status to another.
839
839
  """
840
840
  return pulumi.get(self, "last_transition_time")
841
841
 
842
- @property
842
+ @_builtins.property
843
843
  @pulumi.getter
844
- def message(self) -> Optional[str]:
844
+ def message(self) -> Optional[_builtins.str]:
845
845
  """
846
846
  Human readable message indicating details about last transition.
847
847
  """
848
848
  return pulumi.get(self, "message")
849
849
 
850
- @property
850
+ @_builtins.property
851
851
  @pulumi.getter
852
- def reason(self) -> Optional[str]:
852
+ def reason(self) -> Optional[_builtins.str]:
853
853
  """
854
854
  (brief) reason for the condition's last transition.
855
855
  """
856
856
  return pulumi.get(self, "reason")
857
857
 
858
- @property
858
+ @_builtins.property
859
859
  @pulumi.getter
860
- def status(self) -> Optional[str]:
860
+ def status(self) -> Optional[_builtins.str]:
861
861
  """
862
862
  Status of the condition, one of True, False, Unknown.
863
863
  """
864
864
  return pulumi.get(self, "status")
865
865
 
866
- @property
866
+ @_builtins.property
867
867
  @pulumi.getter
868
- def type(self) -> Optional[str]:
868
+ def type(self) -> Optional[_builtins.str]:
869
869
  """
870
870
  Type of job condition, Complete or Failed.
871
871
  """
@@ -916,43 +916,43 @@ class JobSpec(dict):
916
916
 
917
917
  def __init__(__self__, *,
918
918
  template: '_core.v1.outputs.PodTemplateSpec',
919
- active_deadline_seconds: Optional[int] = None,
920
- backoff_limit: Optional[int] = None,
921
- backoff_limit_per_index: Optional[int] = None,
922
- completion_mode: Optional[str] = None,
923
- completions: Optional[int] = None,
924
- managed_by: Optional[str] = None,
925
- manual_selector: Optional[bool] = None,
926
- max_failed_indexes: Optional[int] = None,
927
- parallelism: Optional[int] = None,
919
+ active_deadline_seconds: Optional[_builtins.int] = None,
920
+ backoff_limit: Optional[_builtins.int] = None,
921
+ backoff_limit_per_index: Optional[_builtins.int] = None,
922
+ completion_mode: Optional[_builtins.str] = None,
923
+ completions: Optional[_builtins.int] = None,
924
+ managed_by: Optional[_builtins.str] = None,
925
+ manual_selector: Optional[_builtins.bool] = None,
926
+ max_failed_indexes: Optional[_builtins.int] = None,
927
+ parallelism: Optional[_builtins.int] = None,
928
928
  pod_failure_policy: Optional['outputs.PodFailurePolicy'] = None,
929
- pod_replacement_policy: Optional[str] = None,
929
+ pod_replacement_policy: Optional[_builtins.str] = None,
930
930
  selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
931
931
  success_policy: Optional['outputs.SuccessPolicy'] = None,
932
- suspend: Optional[bool] = None,
933
- ttl_seconds_after_finished: Optional[int] = None):
932
+ suspend: Optional[_builtins.bool] = None,
933
+ ttl_seconds_after_finished: Optional[_builtins.int] = None):
934
934
  """
935
935
  JobSpec describes how the job execution will look like.
936
936
  :param '_core.v1.PodTemplateSpecArgs' template: Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
937
- :param int active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
938
- :param int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
939
- :param int backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
940
- :param str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
937
+ :param _builtins.int active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
938
+ :param _builtins.int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
939
+ :param _builtins.int backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
940
+ :param _builtins.str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
941
941
 
942
942
  `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
943
943
 
944
944
  `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
945
945
 
946
946
  More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
947
- :param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
948
- :param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
947
+ :param _builtins.int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
948
+ :param _builtins.str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
949
949
 
950
- This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
951
- :param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
952
- :param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
953
- :param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
950
+ This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
951
+ :param _builtins.bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
952
+ :param _builtins.int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.
953
+ :param _builtins.int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
954
954
  :param 'PodFailurePolicyArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
955
- :param str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
955
+ :param _builtins.str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
956
956
  when they are terminating (has a metadata.deletionTimestamp) or failed.
957
957
  - Failed means to wait until a previously created Pod is fully terminated (has phase
958
958
  Failed or Succeeded) before creating a replacement Pod.
@@ -960,10 +960,8 @@ class JobSpec(dict):
960
960
  When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
961
961
  :param '_meta.v1.LabelSelectorArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
962
962
  :param 'SuccessPolicyArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
963
-
964
- This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
965
- :param bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
966
- :param int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
963
+ :param _builtins.bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
964
+ :param _builtins.int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
967
965
  """
968
966
  pulumi.set(__self__, "template", template)
969
967
  if active_deadline_seconds is not None:
@@ -997,7 +995,7 @@ class JobSpec(dict):
997
995
  if ttl_seconds_after_finished is not None:
998
996
  pulumi.set(__self__, "ttl_seconds_after_finished", ttl_seconds_after_finished)
999
997
 
1000
- @property
998
+ @_builtins.property
1001
999
  @pulumi.getter
1002
1000
  def template(self) -> '_core.v1.outputs.PodTemplateSpec':
1003
1001
  """
@@ -1005,33 +1003,33 @@ class JobSpec(dict):
1005
1003
  """
1006
1004
  return pulumi.get(self, "template")
1007
1005
 
1008
- @property
1006
+ @_builtins.property
1009
1007
  @pulumi.getter(name="activeDeadlineSeconds")
1010
- def active_deadline_seconds(self) -> Optional[int]:
1008
+ def active_deadline_seconds(self) -> Optional[_builtins.int]:
1011
1009
  """
1012
1010
  Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
1013
1011
  """
1014
1012
  return pulumi.get(self, "active_deadline_seconds")
1015
1013
 
1016
- @property
1014
+ @_builtins.property
1017
1015
  @pulumi.getter(name="backoffLimit")
1018
- def backoff_limit(self) -> Optional[int]:
1016
+ def backoff_limit(self) -> Optional[_builtins.int]:
1019
1017
  """
1020
1018
  Specifies the number of retries before marking this job failed. Defaults to 6
1021
1019
  """
1022
1020
  return pulumi.get(self, "backoff_limit")
1023
1021
 
1024
- @property
1022
+ @_builtins.property
1025
1023
  @pulumi.getter(name="backoffLimitPerIndex")
1026
- def backoff_limit_per_index(self) -> Optional[int]:
1024
+ def backoff_limit_per_index(self) -> Optional[_builtins.int]:
1027
1025
  """
1028
- Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1026
+ Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
1029
1027
  """
1030
1028
  return pulumi.get(self, "backoff_limit_per_index")
1031
1029
 
1032
- @property
1030
+ @_builtins.property
1033
1031
  @pulumi.getter(name="completionMode")
1034
- def completion_mode(self) -> Optional[str]:
1032
+ def completion_mode(self) -> Optional[_builtins.str]:
1035
1033
  """
1036
1034
  completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
1037
1035
 
@@ -1043,49 +1041,49 @@ class JobSpec(dict):
1043
1041
  """
1044
1042
  return pulumi.get(self, "completion_mode")
1045
1043
 
1046
- @property
1044
+ @_builtins.property
1047
1045
  @pulumi.getter
1048
- def completions(self) -> Optional[int]:
1046
+ def completions(self) -> Optional[_builtins.int]:
1049
1047
  """
1050
1048
  Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1051
1049
  """
1052
1050
  return pulumi.get(self, "completions")
1053
1051
 
1054
- @property
1052
+ @_builtins.property
1055
1053
  @pulumi.getter(name="managedBy")
1056
- def managed_by(self) -> Optional[str]:
1054
+ def managed_by(self) -> Optional[_builtins.str]:
1057
1055
  """
1058
1056
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1059
1057
 
1060
- This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1058
+ This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1061
1059
  """
1062
1060
  return pulumi.get(self, "managed_by")
1063
1061
 
1064
- @property
1062
+ @_builtins.property
1065
1063
  @pulumi.getter(name="manualSelector")
1066
- def manual_selector(self) -> Optional[bool]:
1064
+ def manual_selector(self) -> Optional[_builtins.bool]:
1067
1065
  """
1068
1066
  manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1069
1067
  """
1070
1068
  return pulumi.get(self, "manual_selector")
1071
1069
 
1072
- @property
1070
+ @_builtins.property
1073
1071
  @pulumi.getter(name="maxFailedIndexes")
1074
- def max_failed_indexes(self) -> Optional[int]:
1072
+ def max_failed_indexes(self) -> Optional[_builtins.int]:
1075
1073
  """
1076
- Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1074
+ Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.
1077
1075
  """
1078
1076
  return pulumi.get(self, "max_failed_indexes")
1079
1077
 
1080
- @property
1078
+ @_builtins.property
1081
1079
  @pulumi.getter
1082
- def parallelism(self) -> Optional[int]:
1080
+ def parallelism(self) -> Optional[_builtins.int]:
1083
1081
  """
1084
1082
  Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1085
1083
  """
1086
1084
  return pulumi.get(self, "parallelism")
1087
1085
 
1088
- @property
1086
+ @_builtins.property
1089
1087
  @pulumi.getter(name="podFailurePolicy")
1090
1088
  def pod_failure_policy(self) -> Optional['outputs.PodFailurePolicy']:
1091
1089
  """
@@ -1093,9 +1091,9 @@ class JobSpec(dict):
1093
1091
  """
1094
1092
  return pulumi.get(self, "pod_failure_policy")
1095
1093
 
1096
- @property
1094
+ @_builtins.property
1097
1095
  @pulumi.getter(name="podReplacementPolicy")
1098
- def pod_replacement_policy(self) -> Optional[str]:
1096
+ def pod_replacement_policy(self) -> Optional[_builtins.str]:
1099
1097
  """
1100
1098
  podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
1101
1099
  when they are terminating (has a metadata.deletionTimestamp) or failed.
@@ -1106,7 +1104,7 @@ class JobSpec(dict):
1106
1104
  """
1107
1105
  return pulumi.get(self, "pod_replacement_policy")
1108
1106
 
1109
- @property
1107
+ @_builtins.property
1110
1108
  @pulumi.getter
1111
1109
  def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
1112
1110
  """
@@ -1114,27 +1112,25 @@ class JobSpec(dict):
1114
1112
  """
1115
1113
  return pulumi.get(self, "selector")
1116
1114
 
1117
- @property
1115
+ @_builtins.property
1118
1116
  @pulumi.getter(name="successPolicy")
1119
1117
  def success_policy(self) -> Optional['outputs.SuccessPolicy']:
1120
1118
  """
1121
1119
  successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
1122
-
1123
- This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
1124
1120
  """
1125
1121
  return pulumi.get(self, "success_policy")
1126
1122
 
1127
- @property
1123
+ @_builtins.property
1128
1124
  @pulumi.getter
1129
- def suspend(self) -> Optional[bool]:
1125
+ def suspend(self) -> Optional[_builtins.bool]:
1130
1126
  """
1131
1127
  suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
1132
1128
  """
1133
1129
  return pulumi.get(self, "suspend")
1134
1130
 
1135
- @property
1131
+ @_builtins.property
1136
1132
  @pulumi.getter(name="ttlSecondsAfterFinished")
1137
- def ttl_seconds_after_finished(self) -> Optional[int]:
1133
+ def ttl_seconds_after_finished(self) -> Optional[_builtins.int]:
1138
1134
  """
1139
1135
  ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
1140
1136
  """
@@ -1184,43 +1180,43 @@ class JobSpecPatch(dict):
1184
1180
  return super().get(key, default)
1185
1181
 
1186
1182
  def __init__(__self__, *,
1187
- active_deadline_seconds: Optional[int] = None,
1188
- backoff_limit: Optional[int] = None,
1189
- backoff_limit_per_index: Optional[int] = None,
1190
- completion_mode: Optional[str] = None,
1191
- completions: Optional[int] = None,
1192
- managed_by: Optional[str] = None,
1193
- manual_selector: Optional[bool] = None,
1194
- max_failed_indexes: Optional[int] = None,
1195
- parallelism: Optional[int] = None,
1183
+ active_deadline_seconds: Optional[_builtins.int] = None,
1184
+ backoff_limit: Optional[_builtins.int] = None,
1185
+ backoff_limit_per_index: Optional[_builtins.int] = None,
1186
+ completion_mode: Optional[_builtins.str] = None,
1187
+ completions: Optional[_builtins.int] = None,
1188
+ managed_by: Optional[_builtins.str] = None,
1189
+ manual_selector: Optional[_builtins.bool] = None,
1190
+ max_failed_indexes: Optional[_builtins.int] = None,
1191
+ parallelism: Optional[_builtins.int] = None,
1196
1192
  pod_failure_policy: Optional['outputs.PodFailurePolicyPatch'] = None,
1197
- pod_replacement_policy: Optional[str] = None,
1193
+ pod_replacement_policy: Optional[_builtins.str] = None,
1198
1194
  selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
1199
1195
  success_policy: Optional['outputs.SuccessPolicyPatch'] = None,
1200
- suspend: Optional[bool] = None,
1196
+ suspend: Optional[_builtins.bool] = None,
1201
1197
  template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None,
1202
- ttl_seconds_after_finished: Optional[int] = None):
1198
+ ttl_seconds_after_finished: Optional[_builtins.int] = None):
1203
1199
  """
1204
1200
  JobSpec describes how the job execution will look like.
1205
- :param int active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
1206
- :param int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
1207
- :param int backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1208
- :param str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
1201
+ :param _builtins.int active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
1202
+ :param _builtins.int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
1203
+ :param _builtins.int backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
1204
+ :param _builtins.str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
1209
1205
 
1210
1206
  `NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
1211
1207
 
1212
1208
  `Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
1213
1209
 
1214
1210
  More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
1215
- :param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1216
- :param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1211
+ :param _builtins.int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1212
+ :param _builtins.str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1217
1213
 
1218
- This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1219
- :param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1220
- :param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1221
- :param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1214
+ This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1215
+ :param _builtins.bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1216
+ :param _builtins.int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.
1217
+ :param _builtins.int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1222
1218
  :param 'PodFailurePolicyPatchArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
1223
- :param str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
1219
+ :param _builtins.str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
1224
1220
  when they are terminating (has a metadata.deletionTimestamp) or failed.
1225
1221
  - Failed means to wait until a previously created Pod is fully terminated (has phase
1226
1222
  Failed or Succeeded) before creating a replacement Pod.
@@ -1228,11 +1224,9 @@ class JobSpecPatch(dict):
1228
1224
  When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
1229
1225
  :param '_meta.v1.LabelSelectorPatchArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
1230
1226
  :param 'SuccessPolicyPatchArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
1231
-
1232
- This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
1233
- :param bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
1227
+ :param _builtins.bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
1234
1228
  :param '_core.v1.PodTemplateSpecPatchArgs' template: Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1235
- :param int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
1229
+ :param _builtins.int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
1236
1230
  """
1237
1231
  if active_deadline_seconds is not None:
1238
1232
  pulumi.set(__self__, "active_deadline_seconds", active_deadline_seconds)
@@ -1267,33 +1261,33 @@ class JobSpecPatch(dict):
1267
1261
  if ttl_seconds_after_finished is not None:
1268
1262
  pulumi.set(__self__, "ttl_seconds_after_finished", ttl_seconds_after_finished)
1269
1263
 
1270
- @property
1264
+ @_builtins.property
1271
1265
  @pulumi.getter(name="activeDeadlineSeconds")
1272
- def active_deadline_seconds(self) -> Optional[int]:
1266
+ def active_deadline_seconds(self) -> Optional[_builtins.int]:
1273
1267
  """
1274
1268
  Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
1275
1269
  """
1276
1270
  return pulumi.get(self, "active_deadline_seconds")
1277
1271
 
1278
- @property
1272
+ @_builtins.property
1279
1273
  @pulumi.getter(name="backoffLimit")
1280
- def backoff_limit(self) -> Optional[int]:
1274
+ def backoff_limit(self) -> Optional[_builtins.int]:
1281
1275
  """
1282
1276
  Specifies the number of retries before marking this job failed. Defaults to 6
1283
1277
  """
1284
1278
  return pulumi.get(self, "backoff_limit")
1285
1279
 
1286
- @property
1280
+ @_builtins.property
1287
1281
  @pulumi.getter(name="backoffLimitPerIndex")
1288
- def backoff_limit_per_index(self) -> Optional[int]:
1282
+ def backoff_limit_per_index(self) -> Optional[_builtins.int]:
1289
1283
  """
1290
- Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1284
+ Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
1291
1285
  """
1292
1286
  return pulumi.get(self, "backoff_limit_per_index")
1293
1287
 
1294
- @property
1288
+ @_builtins.property
1295
1289
  @pulumi.getter(name="completionMode")
1296
- def completion_mode(self) -> Optional[str]:
1290
+ def completion_mode(self) -> Optional[_builtins.str]:
1297
1291
  """
1298
1292
  completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
1299
1293
 
@@ -1305,49 +1299,49 @@ class JobSpecPatch(dict):
1305
1299
  """
1306
1300
  return pulumi.get(self, "completion_mode")
1307
1301
 
1308
- @property
1302
+ @_builtins.property
1309
1303
  @pulumi.getter
1310
- def completions(self) -> Optional[int]:
1304
+ def completions(self) -> Optional[_builtins.int]:
1311
1305
  """
1312
1306
  Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1313
1307
  """
1314
1308
  return pulumi.get(self, "completions")
1315
1309
 
1316
- @property
1310
+ @_builtins.property
1317
1311
  @pulumi.getter(name="managedBy")
1318
- def managed_by(self) -> Optional[str]:
1312
+ def managed_by(self) -> Optional[_builtins.str]:
1319
1313
  """
1320
1314
  ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
1321
1315
 
1322
- This field is alpha-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (disabled by default).
1316
+ This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
1323
1317
  """
1324
1318
  return pulumi.get(self, "managed_by")
1325
1319
 
1326
- @property
1320
+ @_builtins.property
1327
1321
  @pulumi.getter(name="manualSelector")
1328
- def manual_selector(self) -> Optional[bool]:
1322
+ def manual_selector(self) -> Optional[_builtins.bool]:
1329
1323
  """
1330
1324
  manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
1331
1325
  """
1332
1326
  return pulumi.get(self, "manual_selector")
1333
1327
 
1334
- @property
1328
+ @_builtins.property
1335
1329
  @pulumi.getter(name="maxFailedIndexes")
1336
- def max_failed_indexes(self) -> Optional[int]:
1330
+ def max_failed_indexes(self) -> Optional[_builtins.int]:
1337
1331
  """
1338
- Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1332
+ Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.
1339
1333
  """
1340
1334
  return pulumi.get(self, "max_failed_indexes")
1341
1335
 
1342
- @property
1336
+ @_builtins.property
1343
1337
  @pulumi.getter
1344
- def parallelism(self) -> Optional[int]:
1338
+ def parallelism(self) -> Optional[_builtins.int]:
1345
1339
  """
1346
1340
  Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1347
1341
  """
1348
1342
  return pulumi.get(self, "parallelism")
1349
1343
 
1350
- @property
1344
+ @_builtins.property
1351
1345
  @pulumi.getter(name="podFailurePolicy")
1352
1346
  def pod_failure_policy(self) -> Optional['outputs.PodFailurePolicyPatch']:
1353
1347
  """
@@ -1355,9 +1349,9 @@ class JobSpecPatch(dict):
1355
1349
  """
1356
1350
  return pulumi.get(self, "pod_failure_policy")
1357
1351
 
1358
- @property
1352
+ @_builtins.property
1359
1353
  @pulumi.getter(name="podReplacementPolicy")
1360
- def pod_replacement_policy(self) -> Optional[str]:
1354
+ def pod_replacement_policy(self) -> Optional[_builtins.str]:
1361
1355
  """
1362
1356
  podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
1363
1357
  when they are terminating (has a metadata.deletionTimestamp) or failed.
@@ -1368,7 +1362,7 @@ class JobSpecPatch(dict):
1368
1362
  """
1369
1363
  return pulumi.get(self, "pod_replacement_policy")
1370
1364
 
1371
- @property
1365
+ @_builtins.property
1372
1366
  @pulumi.getter
1373
1367
  def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
1374
1368
  """
@@ -1376,25 +1370,23 @@ class JobSpecPatch(dict):
1376
1370
  """
1377
1371
  return pulumi.get(self, "selector")
1378
1372
 
1379
- @property
1373
+ @_builtins.property
1380
1374
  @pulumi.getter(name="successPolicy")
1381
1375
  def success_policy(self) -> Optional['outputs.SuccessPolicyPatch']:
1382
1376
  """
1383
1377
  successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
1384
-
1385
- This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
1386
1378
  """
1387
1379
  return pulumi.get(self, "success_policy")
1388
1380
 
1389
- @property
1381
+ @_builtins.property
1390
1382
  @pulumi.getter
1391
- def suspend(self) -> Optional[bool]:
1383
+ def suspend(self) -> Optional[_builtins.bool]:
1392
1384
  """
1393
1385
  suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
1394
1386
  """
1395
1387
  return pulumi.get(self, "suspend")
1396
1388
 
1397
- @property
1389
+ @_builtins.property
1398
1390
  @pulumi.getter
1399
1391
  def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
1400
1392
  """
@@ -1402,9 +1394,9 @@ class JobSpecPatch(dict):
1402
1394
  """
1403
1395
  return pulumi.get(self, "template")
1404
1396
 
1405
- @property
1397
+ @_builtins.property
1406
1398
  @pulumi.getter(name="ttlSecondsAfterFinished")
1407
- def ttl_seconds_after_finished(self) -> Optional[int]:
1399
+ def ttl_seconds_after_finished(self) -> Optional[_builtins.int]:
1408
1400
  """
1409
1401
  ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
1410
1402
  """
@@ -1442,37 +1434,35 @@ class JobStatus(dict):
1442
1434
  return super().get(key, default)
1443
1435
 
1444
1436
  def __init__(__self__, *,
1445
- active: Optional[int] = None,
1446
- completed_indexes: Optional[str] = None,
1447
- completion_time: Optional[str] = None,
1437
+ active: Optional[_builtins.int] = None,
1438
+ completed_indexes: Optional[_builtins.str] = None,
1439
+ completion_time: Optional[_builtins.str] = None,
1448
1440
  conditions: Optional[Sequence['outputs.JobCondition']] = None,
1449
- failed: Optional[int] = None,
1450
- failed_indexes: Optional[str] = None,
1451
- ready: Optional[int] = None,
1452
- start_time: Optional[str] = None,
1453
- succeeded: Optional[int] = None,
1454
- terminating: Optional[int] = None,
1441
+ failed: Optional[_builtins.int] = None,
1442
+ failed_indexes: Optional[_builtins.str] = None,
1443
+ ready: Optional[_builtins.int] = None,
1444
+ start_time: Optional[_builtins.str] = None,
1445
+ succeeded: Optional[_builtins.int] = None,
1446
+ terminating: Optional[_builtins.int] = None,
1455
1447
  uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPods'] = None):
1456
1448
  """
1457
1449
  JobStatus represents the current state of a Job.
1458
- :param int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1459
- :param str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1460
- :param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1450
+ :param _builtins.int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1451
+ :param _builtins.str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1452
+ :param _builtins.str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1461
1453
  :param Sequence['JobConditionArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
1462
1454
 
1463
1455
  A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
1464
1456
 
1465
1457
  More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1466
- :param int failed: The number of pods which reached phase Failed. The value increases monotonically.
1467
- :param str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1468
-
1469
- This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1470
- :param int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
1471
- :param str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1458
+ :param _builtins.int failed: The number of pods which reached phase Failed. The value increases monotonically.
1459
+ :param _builtins.str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1460
+ :param _builtins.int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
1461
+ :param _builtins.str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1472
1462
 
1473
1463
  Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
1474
- :param int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1475
- :param int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1464
+ :param _builtins.int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1465
+ :param _builtins.int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1476
1466
 
1477
1467
  This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
1478
1468
  :param 'UncountedTerminatedPodsArgs' uncounted_terminated_pods: uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
@@ -1507,31 +1497,31 @@ class JobStatus(dict):
1507
1497
  if uncounted_terminated_pods is not None:
1508
1498
  pulumi.set(__self__, "uncounted_terminated_pods", uncounted_terminated_pods)
1509
1499
 
1510
- @property
1500
+ @_builtins.property
1511
1501
  @pulumi.getter
1512
- def active(self) -> Optional[int]:
1502
+ def active(self) -> Optional[_builtins.int]:
1513
1503
  """
1514
1504
  The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1515
1505
  """
1516
1506
  return pulumi.get(self, "active")
1517
1507
 
1518
- @property
1508
+ @_builtins.property
1519
1509
  @pulumi.getter(name="completedIndexes")
1520
- def completed_indexes(self) -> Optional[str]:
1510
+ def completed_indexes(self) -> Optional[_builtins.str]:
1521
1511
  """
1522
1512
  completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1523
1513
  """
1524
1514
  return pulumi.get(self, "completed_indexes")
1525
1515
 
1526
- @property
1516
+ @_builtins.property
1527
1517
  @pulumi.getter(name="completionTime")
1528
- def completion_time(self) -> Optional[str]:
1518
+ def completion_time(self) -> Optional[_builtins.str]:
1529
1519
  """
1530
1520
  Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1531
1521
  """
1532
1522
  return pulumi.get(self, "completion_time")
1533
1523
 
1534
- @property
1524
+ @_builtins.property
1535
1525
  @pulumi.getter
1536
1526
  def conditions(self) -> Optional[Sequence['outputs.JobCondition']]:
1537
1527
  """
@@ -1543,35 +1533,33 @@ class JobStatus(dict):
1543
1533
  """
1544
1534
  return pulumi.get(self, "conditions")
1545
1535
 
1546
- @property
1536
+ @_builtins.property
1547
1537
  @pulumi.getter
1548
- def failed(self) -> Optional[int]:
1538
+ def failed(self) -> Optional[_builtins.int]:
1549
1539
  """
1550
1540
  The number of pods which reached phase Failed. The value increases monotonically.
1551
1541
  """
1552
1542
  return pulumi.get(self, "failed")
1553
1543
 
1554
- @property
1544
+ @_builtins.property
1555
1545
  @pulumi.getter(name="failedIndexes")
1556
- def failed_indexes(self) -> Optional[str]:
1546
+ def failed_indexes(self) -> Optional[_builtins.str]:
1557
1547
  """
1558
1548
  FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1559
-
1560
- This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1561
1549
  """
1562
1550
  return pulumi.get(self, "failed_indexes")
1563
1551
 
1564
- @property
1552
+ @_builtins.property
1565
1553
  @pulumi.getter
1566
- def ready(self) -> Optional[int]:
1554
+ def ready(self) -> Optional[_builtins.int]:
1567
1555
  """
1568
1556
  The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
1569
1557
  """
1570
1558
  return pulumi.get(self, "ready")
1571
1559
 
1572
- @property
1560
+ @_builtins.property
1573
1561
  @pulumi.getter(name="startTime")
1574
- def start_time(self) -> Optional[str]:
1562
+ def start_time(self) -> Optional[_builtins.str]:
1575
1563
  """
1576
1564
  Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1577
1565
 
@@ -1579,17 +1567,17 @@ class JobStatus(dict):
1579
1567
  """
1580
1568
  return pulumi.get(self, "start_time")
1581
1569
 
1582
- @property
1570
+ @_builtins.property
1583
1571
  @pulumi.getter
1584
- def succeeded(self) -> Optional[int]:
1572
+ def succeeded(self) -> Optional[_builtins.int]:
1585
1573
  """
1586
1574
  The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1587
1575
  """
1588
1576
  return pulumi.get(self, "succeeded")
1589
1577
 
1590
- @property
1578
+ @_builtins.property
1591
1579
  @pulumi.getter
1592
- def terminating(self) -> Optional[int]:
1580
+ def terminating(self) -> Optional[_builtins.int]:
1593
1581
  """
1594
1582
  The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1595
1583
 
@@ -1597,7 +1585,7 @@ class JobStatus(dict):
1597
1585
  """
1598
1586
  return pulumi.get(self, "terminating")
1599
1587
 
1600
- @property
1588
+ @_builtins.property
1601
1589
  @pulumi.getter(name="uncountedTerminatedPods")
1602
1590
  def uncounted_terminated_pods(self) -> Optional['outputs.UncountedTerminatedPods']:
1603
1591
  """
@@ -1644,37 +1632,35 @@ class JobStatusPatch(dict):
1644
1632
  return super().get(key, default)
1645
1633
 
1646
1634
  def __init__(__self__, *,
1647
- active: Optional[int] = None,
1648
- completed_indexes: Optional[str] = None,
1649
- completion_time: Optional[str] = None,
1635
+ active: Optional[_builtins.int] = None,
1636
+ completed_indexes: Optional[_builtins.str] = None,
1637
+ completion_time: Optional[_builtins.str] = None,
1650
1638
  conditions: Optional[Sequence['outputs.JobConditionPatch']] = None,
1651
- failed: Optional[int] = None,
1652
- failed_indexes: Optional[str] = None,
1653
- ready: Optional[int] = None,
1654
- start_time: Optional[str] = None,
1655
- succeeded: Optional[int] = None,
1656
- terminating: Optional[int] = None,
1639
+ failed: Optional[_builtins.int] = None,
1640
+ failed_indexes: Optional[_builtins.str] = None,
1641
+ ready: Optional[_builtins.int] = None,
1642
+ start_time: Optional[_builtins.str] = None,
1643
+ succeeded: Optional[_builtins.int] = None,
1644
+ terminating: Optional[_builtins.int] = None,
1657
1645
  uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPodsPatch'] = None):
1658
1646
  """
1659
1647
  JobStatus represents the current state of a Job.
1660
- :param int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1661
- :param str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1662
- :param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1648
+ :param _builtins.int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1649
+ :param _builtins.str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1650
+ :param _builtins.str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1663
1651
  :param Sequence['JobConditionPatchArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
1664
1652
 
1665
1653
  A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
1666
1654
 
1667
1655
  More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
1668
- :param int failed: The number of pods which reached phase Failed. The value increases monotonically.
1669
- :param str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1670
-
1671
- This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1672
- :param int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
1673
- :param str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1656
+ :param _builtins.int failed: The number of pods which reached phase Failed. The value increases monotonically.
1657
+ :param _builtins.str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1658
+ :param _builtins.int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
1659
+ :param _builtins.str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1674
1660
 
1675
1661
  Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
1676
- :param int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1677
- :param int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1662
+ :param _builtins.int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1663
+ :param _builtins.int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1678
1664
 
1679
1665
  This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
1680
1666
  :param 'UncountedTerminatedPodsPatchArgs' uncounted_terminated_pods: uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
@@ -1709,31 +1695,31 @@ class JobStatusPatch(dict):
1709
1695
  if uncounted_terminated_pods is not None:
1710
1696
  pulumi.set(__self__, "uncounted_terminated_pods", uncounted_terminated_pods)
1711
1697
 
1712
- @property
1698
+ @_builtins.property
1713
1699
  @pulumi.getter
1714
- def active(self) -> Optional[int]:
1700
+ def active(self) -> Optional[_builtins.int]:
1715
1701
  """
1716
1702
  The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
1717
1703
  """
1718
1704
  return pulumi.get(self, "active")
1719
1705
 
1720
- @property
1706
+ @_builtins.property
1721
1707
  @pulumi.getter(name="completedIndexes")
1722
- def completed_indexes(self) -> Optional[str]:
1708
+ def completed_indexes(self) -> Optional[_builtins.str]:
1723
1709
  """
1724
1710
  completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
1725
1711
  """
1726
1712
  return pulumi.get(self, "completed_indexes")
1727
1713
 
1728
- @property
1714
+ @_builtins.property
1729
1715
  @pulumi.getter(name="completionTime")
1730
- def completion_time(self) -> Optional[str]:
1716
+ def completion_time(self) -> Optional[_builtins.str]:
1731
1717
  """
1732
1718
  Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
1733
1719
  """
1734
1720
  return pulumi.get(self, "completion_time")
1735
1721
 
1736
- @property
1722
+ @_builtins.property
1737
1723
  @pulumi.getter
1738
1724
  def conditions(self) -> Optional[Sequence['outputs.JobConditionPatch']]:
1739
1725
  """
@@ -1745,35 +1731,33 @@ class JobStatusPatch(dict):
1745
1731
  """
1746
1732
  return pulumi.get(self, "conditions")
1747
1733
 
1748
- @property
1734
+ @_builtins.property
1749
1735
  @pulumi.getter
1750
- def failed(self) -> Optional[int]:
1736
+ def failed(self) -> Optional[_builtins.int]:
1751
1737
  """
1752
1738
  The number of pods which reached phase Failed. The value increases monotonically.
1753
1739
  """
1754
1740
  return pulumi.get(self, "failed")
1755
1741
 
1756
- @property
1742
+ @_builtins.property
1757
1743
  @pulumi.getter(name="failedIndexes")
1758
- def failed_indexes(self) -> Optional[str]:
1744
+ def failed_indexes(self) -> Optional[_builtins.str]:
1759
1745
  """
1760
1746
  FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
1761
-
1762
- This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
1763
1747
  """
1764
1748
  return pulumi.get(self, "failed_indexes")
1765
1749
 
1766
- @property
1750
+ @_builtins.property
1767
1751
  @pulumi.getter
1768
- def ready(self) -> Optional[int]:
1752
+ def ready(self) -> Optional[_builtins.int]:
1769
1753
  """
1770
1754
  The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
1771
1755
  """
1772
1756
  return pulumi.get(self, "ready")
1773
1757
 
1774
- @property
1758
+ @_builtins.property
1775
1759
  @pulumi.getter(name="startTime")
1776
- def start_time(self) -> Optional[str]:
1760
+ def start_time(self) -> Optional[_builtins.str]:
1777
1761
  """
1778
1762
  Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
1779
1763
 
@@ -1781,17 +1765,17 @@ class JobStatusPatch(dict):
1781
1765
  """
1782
1766
  return pulumi.get(self, "start_time")
1783
1767
 
1784
- @property
1768
+ @_builtins.property
1785
1769
  @pulumi.getter
1786
- def succeeded(self) -> Optional[int]:
1770
+ def succeeded(self) -> Optional[_builtins.int]:
1787
1771
  """
1788
1772
  The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
1789
1773
  """
1790
1774
  return pulumi.get(self, "succeeded")
1791
1775
 
1792
- @property
1776
+ @_builtins.property
1793
1777
  @pulumi.getter
1794
- def terminating(self) -> Optional[int]:
1778
+ def terminating(self) -> Optional[_builtins.int]:
1795
1779
  """
1796
1780
  The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
1797
1781
 
@@ -1799,7 +1783,7 @@ class JobStatusPatch(dict):
1799
1783
  """
1800
1784
  return pulumi.get(self, "terminating")
1801
1785
 
1802
- @property
1786
+ @_builtins.property
1803
1787
  @pulumi.getter(name="uncountedTerminatedPods")
1804
1788
  def uncounted_terminated_pods(self) -> Optional['outputs.UncountedTerminatedPodsPatch']:
1805
1789
  """
@@ -1833,7 +1817,7 @@ class JobTemplateSpec(dict):
1833
1817
  if spec is not None:
1834
1818
  pulumi.set(__self__, "spec", spec)
1835
1819
 
1836
- @property
1820
+ @_builtins.property
1837
1821
  @pulumi.getter
1838
1822
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
1839
1823
  """
@@ -1841,7 +1825,7 @@ class JobTemplateSpec(dict):
1841
1825
  """
1842
1826
  return pulumi.get(self, "metadata")
1843
1827
 
1844
- @property
1828
+ @_builtins.property
1845
1829
  @pulumi.getter
1846
1830
  def spec(self) -> Optional['outputs.JobSpec']:
1847
1831
  """
@@ -1868,7 +1852,7 @@ class JobTemplateSpecPatch(dict):
1868
1852
  if spec is not None:
1869
1853
  pulumi.set(__self__, "spec", spec)
1870
1854
 
1871
- @property
1855
+ @_builtins.property
1872
1856
  @pulumi.getter
1873
1857
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMetaPatch']:
1874
1858
  """
@@ -1876,7 +1860,7 @@ class JobTemplateSpecPatch(dict):
1876
1860
  """
1877
1861
  return pulumi.get(self, "metadata")
1878
1862
 
1879
- @property
1863
+ @_builtins.property
1880
1864
  @pulumi.getter
1881
1865
  def spec(self) -> Optional['outputs.JobSpecPatch']:
1882
1866
  """
@@ -1898,7 +1882,7 @@ class PodFailurePolicy(dict):
1898
1882
  """
1899
1883
  pulumi.set(__self__, "rules", rules)
1900
1884
 
1901
- @property
1885
+ @_builtins.property
1902
1886
  @pulumi.getter
1903
1887
  def rules(self) -> Sequence['outputs.PodFailurePolicyRule']:
1904
1888
  """
@@ -1930,12 +1914,12 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
1930
1914
  return super().get(key, default)
1931
1915
 
1932
1916
  def __init__(__self__, *,
1933
- operator: str,
1934
- values: Sequence[int],
1935
- container_name: Optional[str] = None):
1917
+ operator: _builtins.str,
1918
+ values: Sequence[_builtins.int],
1919
+ container_name: Optional[_builtins.str] = None):
1936
1920
  """
1937
1921
  PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
1938
- :param str operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
1922
+ :param _builtins.str operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
1939
1923
 
1940
1924
  - In: the requirement is satisfied if at least one container exit code
1941
1925
  (might be multiple if there are multiple containers not restricted
@@ -1944,17 +1928,17 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
1944
1928
  (might be multiple if there are multiple containers not restricted
1945
1929
  by the 'containerName' field) is not in the set of specified values.
1946
1930
  Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
1947
- :param Sequence[int] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
1948
- :param str container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
1931
+ :param Sequence[_builtins.int] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
1932
+ :param _builtins.str container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
1949
1933
  """
1950
1934
  pulumi.set(__self__, "operator", operator)
1951
1935
  pulumi.set(__self__, "values", values)
1952
1936
  if container_name is not None:
1953
1937
  pulumi.set(__self__, "container_name", container_name)
1954
1938
 
1955
- @property
1939
+ @_builtins.property
1956
1940
  @pulumi.getter
1957
- def operator(self) -> str:
1941
+ def operator(self) -> _builtins.str:
1958
1942
  """
1959
1943
  Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
1960
1944
 
@@ -1968,17 +1952,17 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
1968
1952
  """
1969
1953
  return pulumi.get(self, "operator")
1970
1954
 
1971
- @property
1955
+ @_builtins.property
1972
1956
  @pulumi.getter
1973
- def values(self) -> Sequence[int]:
1957
+ def values(self) -> Sequence[_builtins.int]:
1974
1958
  """
1975
1959
  Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
1976
1960
  """
1977
1961
  return pulumi.get(self, "values")
1978
1962
 
1979
- @property
1963
+ @_builtins.property
1980
1964
  @pulumi.getter(name="containerName")
1981
- def container_name(self) -> Optional[str]:
1965
+ def container_name(self) -> Optional[_builtins.str]:
1982
1966
  """
1983
1967
  Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
1984
1968
  """
@@ -2008,13 +1992,13 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
2008
1992
  return super().get(key, default)
2009
1993
 
2010
1994
  def __init__(__self__, *,
2011
- container_name: Optional[str] = None,
2012
- operator: Optional[str] = None,
2013
- values: Optional[Sequence[int]] = None):
1995
+ container_name: Optional[_builtins.str] = None,
1996
+ operator: Optional[_builtins.str] = None,
1997
+ values: Optional[Sequence[_builtins.int]] = None):
2014
1998
  """
2015
1999
  PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
2016
- :param str container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
2017
- :param str operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
2000
+ :param _builtins.str container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
2001
+ :param _builtins.str operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
2018
2002
 
2019
2003
  - In: the requirement is satisfied if at least one container exit code
2020
2004
  (might be multiple if there are multiple containers not restricted
@@ -2023,7 +2007,7 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
2023
2007
  (might be multiple if there are multiple containers not restricted
2024
2008
  by the 'containerName' field) is not in the set of specified values.
2025
2009
  Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
2026
- :param Sequence[int] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
2010
+ :param Sequence[_builtins.int] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
2027
2011
  """
2028
2012
  if container_name is not None:
2029
2013
  pulumi.set(__self__, "container_name", container_name)
@@ -2032,17 +2016,17 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
2032
2016
  if values is not None:
2033
2017
  pulumi.set(__self__, "values", values)
2034
2018
 
2035
- @property
2019
+ @_builtins.property
2036
2020
  @pulumi.getter(name="containerName")
2037
- def container_name(self) -> Optional[str]:
2021
+ def container_name(self) -> Optional[_builtins.str]:
2038
2022
  """
2039
2023
  Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
2040
2024
  """
2041
2025
  return pulumi.get(self, "container_name")
2042
2026
 
2043
- @property
2027
+ @_builtins.property
2044
2028
  @pulumi.getter
2045
- def operator(self) -> Optional[str]:
2029
+ def operator(self) -> Optional[_builtins.str]:
2046
2030
  """
2047
2031
  Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
2048
2032
 
@@ -2056,9 +2040,9 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
2056
2040
  """
2057
2041
  return pulumi.get(self, "operator")
2058
2042
 
2059
- @property
2043
+ @_builtins.property
2060
2044
  @pulumi.getter
2061
- def values(self) -> Optional[Sequence[int]]:
2045
+ def values(self) -> Optional[Sequence[_builtins.int]]:
2062
2046
  """
2063
2047
  Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
2064
2048
  """
@@ -2071,27 +2055,27 @@ class PodFailurePolicyOnPodConditionsPattern(dict):
2071
2055
  PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
2072
2056
  """
2073
2057
  def __init__(__self__, *,
2074
- status: str,
2075
- type: str):
2058
+ status: _builtins.str,
2059
+ type: _builtins.str):
2076
2060
  """
2077
2061
  PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
2078
- :param str status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2079
- :param str type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2062
+ :param _builtins.str status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2063
+ :param _builtins.str type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2080
2064
  """
2081
2065
  pulumi.set(__self__, "status", status)
2082
2066
  pulumi.set(__self__, "type", type)
2083
2067
 
2084
- @property
2068
+ @_builtins.property
2085
2069
  @pulumi.getter
2086
- def status(self) -> str:
2070
+ def status(self) -> _builtins.str:
2087
2071
  """
2088
2072
  Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2089
2073
  """
2090
2074
  return pulumi.get(self, "status")
2091
2075
 
2092
- @property
2076
+ @_builtins.property
2093
2077
  @pulumi.getter
2094
- def type(self) -> str:
2078
+ def type(self) -> _builtins.str:
2095
2079
  """
2096
2080
  Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2097
2081
  """
@@ -2104,29 +2088,29 @@ class PodFailurePolicyOnPodConditionsPatternPatch(dict):
2104
2088
  PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
2105
2089
  """
2106
2090
  def __init__(__self__, *,
2107
- status: Optional[str] = None,
2108
- type: Optional[str] = None):
2091
+ status: Optional[_builtins.str] = None,
2092
+ type: Optional[_builtins.str] = None):
2109
2093
  """
2110
2094
  PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
2111
- :param str status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2112
- :param str type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2095
+ :param _builtins.str status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2096
+ :param _builtins.str type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2113
2097
  """
2114
2098
  if status is not None:
2115
2099
  pulumi.set(__self__, "status", status)
2116
2100
  if type is not None:
2117
2101
  pulumi.set(__self__, "type", type)
2118
2102
 
2119
- @property
2103
+ @_builtins.property
2120
2104
  @pulumi.getter
2121
- def status(self) -> Optional[str]:
2105
+ def status(self) -> Optional[_builtins.str]:
2122
2106
  """
2123
2107
  Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
2124
2108
  """
2125
2109
  return pulumi.get(self, "status")
2126
2110
 
2127
- @property
2111
+ @_builtins.property
2128
2112
  @pulumi.getter
2129
- def type(self) -> Optional[str]:
2113
+ def type(self) -> Optional[_builtins.str]:
2130
2114
  """
2131
2115
  Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
2132
2116
  """
@@ -2147,7 +2131,7 @@ class PodFailurePolicyPatch(dict):
2147
2131
  if rules is not None:
2148
2132
  pulumi.set(__self__, "rules", rules)
2149
2133
 
2150
- @property
2134
+ @_builtins.property
2151
2135
  @pulumi.getter
2152
2136
  def rules(self) -> Optional[Sequence['outputs.PodFailurePolicyRulePatch']]:
2153
2137
  """
@@ -2181,19 +2165,17 @@ class PodFailurePolicyRule(dict):
2181
2165
  return super().get(key, default)
2182
2166
 
2183
2167
  def __init__(__self__, *,
2184
- action: str,
2168
+ action: _builtins.str,
2185
2169
  on_exit_codes: Optional['outputs.PodFailurePolicyOnExitCodesRequirement'] = None,
2186
2170
  on_pod_conditions: Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPattern']] = None):
2187
2171
  """
2188
2172
  PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
2189
- :param str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2173
+ :param _builtins.str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2190
2174
 
2191
2175
  - FailJob: indicates that the pod's job is marked as Failed and all
2192
2176
  running pods are terminated.
2193
2177
  - FailIndex: indicates that the pod's index is marked as Failed and will
2194
2178
  not be restarted.
2195
- This value is beta-level. It can be used when the
2196
- `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
2197
2179
  - Ignore: indicates that the counter towards the .backoffLimit is not
2198
2180
  incremented and a replacement pod is created.
2199
2181
  - Count: indicates that the pod is handled in the default way - the
@@ -2208,9 +2190,9 @@ class PodFailurePolicyRule(dict):
2208
2190
  if on_pod_conditions is not None:
2209
2191
  pulumi.set(__self__, "on_pod_conditions", on_pod_conditions)
2210
2192
 
2211
- @property
2193
+ @_builtins.property
2212
2194
  @pulumi.getter
2213
- def action(self) -> str:
2195
+ def action(self) -> _builtins.str:
2214
2196
  """
2215
2197
  Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2216
2198
 
@@ -2218,8 +2200,6 @@ class PodFailurePolicyRule(dict):
2218
2200
  running pods are terminated.
2219
2201
  - FailIndex: indicates that the pod's index is marked as Failed and will
2220
2202
  not be restarted.
2221
- This value is beta-level. It can be used when the
2222
- `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
2223
2203
  - Ignore: indicates that the counter towards the .backoffLimit is not
2224
2204
  incremented and a replacement pod is created.
2225
2205
  - Count: indicates that the pod is handled in the default way - the
@@ -2228,7 +2208,7 @@ class PodFailurePolicyRule(dict):
2228
2208
  """
2229
2209
  return pulumi.get(self, "action")
2230
2210
 
2231
- @property
2211
+ @_builtins.property
2232
2212
  @pulumi.getter(name="onExitCodes")
2233
2213
  def on_exit_codes(self) -> Optional['outputs.PodFailurePolicyOnExitCodesRequirement']:
2234
2214
  """
@@ -2236,7 +2216,7 @@ class PodFailurePolicyRule(dict):
2236
2216
  """
2237
2217
  return pulumi.get(self, "on_exit_codes")
2238
2218
 
2239
- @property
2219
+ @_builtins.property
2240
2220
  @pulumi.getter(name="onPodConditions")
2241
2221
  def on_pod_conditions(self) -> Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPattern']]:
2242
2222
  """
@@ -2270,19 +2250,17 @@ class PodFailurePolicyRulePatch(dict):
2270
2250
  return super().get(key, default)
2271
2251
 
2272
2252
  def __init__(__self__, *,
2273
- action: Optional[str] = None,
2253
+ action: Optional[_builtins.str] = None,
2274
2254
  on_exit_codes: Optional['outputs.PodFailurePolicyOnExitCodesRequirementPatch'] = None,
2275
2255
  on_pod_conditions: Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPatternPatch']] = None):
2276
2256
  """
2277
2257
  PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
2278
- :param str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2258
+ :param _builtins.str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2279
2259
 
2280
2260
  - FailJob: indicates that the pod's job is marked as Failed and all
2281
2261
  running pods are terminated.
2282
2262
  - FailIndex: indicates that the pod's index is marked as Failed and will
2283
2263
  not be restarted.
2284
- This value is beta-level. It can be used when the
2285
- `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
2286
2264
  - Ignore: indicates that the counter towards the .backoffLimit is not
2287
2265
  incremented and a replacement pod is created.
2288
2266
  - Count: indicates that the pod is handled in the default way - the
@@ -2298,9 +2276,9 @@ class PodFailurePolicyRulePatch(dict):
2298
2276
  if on_pod_conditions is not None:
2299
2277
  pulumi.set(__self__, "on_pod_conditions", on_pod_conditions)
2300
2278
 
2301
- @property
2279
+ @_builtins.property
2302
2280
  @pulumi.getter
2303
- def action(self) -> Optional[str]:
2281
+ def action(self) -> Optional[_builtins.str]:
2304
2282
  """
2305
2283
  Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
2306
2284
 
@@ -2308,8 +2286,6 @@ class PodFailurePolicyRulePatch(dict):
2308
2286
  running pods are terminated.
2309
2287
  - FailIndex: indicates that the pod's index is marked as Failed and will
2310
2288
  not be restarted.
2311
- This value is beta-level. It can be used when the
2312
- `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
2313
2289
  - Ignore: indicates that the counter towards the .backoffLimit is not
2314
2290
  incremented and a replacement pod is created.
2315
2291
  - Count: indicates that the pod is handled in the default way - the
@@ -2318,7 +2294,7 @@ class PodFailurePolicyRulePatch(dict):
2318
2294
  """
2319
2295
  return pulumi.get(self, "action")
2320
2296
 
2321
- @property
2297
+ @_builtins.property
2322
2298
  @pulumi.getter(name="onExitCodes")
2323
2299
  def on_exit_codes(self) -> Optional['outputs.PodFailurePolicyOnExitCodesRequirementPatch']:
2324
2300
  """
@@ -2326,7 +2302,7 @@ class PodFailurePolicyRulePatch(dict):
2326
2302
  """
2327
2303
  return pulumi.get(self, "on_exit_codes")
2328
2304
 
2329
- @property
2305
+ @_builtins.property
2330
2306
  @pulumi.getter(name="onPodConditions")
2331
2307
  def on_pod_conditions(self) -> Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPatternPatch']]:
2332
2308
  """
@@ -2348,7 +2324,7 @@ class SuccessPolicy(dict):
2348
2324
  """
2349
2325
  pulumi.set(__self__, "rules", rules)
2350
2326
 
2351
- @property
2327
+ @_builtins.property
2352
2328
  @pulumi.getter
2353
2329
  def rules(self) -> Sequence['outputs.SuccessPolicyRule']:
2354
2330
  """
@@ -2371,7 +2347,7 @@ class SuccessPolicyPatch(dict):
2371
2347
  if rules is not None:
2372
2348
  pulumi.set(__self__, "rules", rules)
2373
2349
 
2374
- @property
2350
+ @_builtins.property
2375
2351
  @pulumi.getter
2376
2352
  def rules(self) -> Optional[Sequence['outputs.SuccessPolicyRulePatch']]:
2377
2353
  """
@@ -2405,29 +2381,29 @@ class SuccessPolicyRule(dict):
2405
2381
  return super().get(key, default)
2406
2382
 
2407
2383
  def __init__(__self__, *,
2408
- succeeded_count: Optional[int] = None,
2409
- succeeded_indexes: Optional[str] = None):
2384
+ succeeded_count: Optional[_builtins.int] = None,
2385
+ succeeded_indexes: Optional[_builtins.str] = None):
2410
2386
  """
2411
2387
  SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
2412
- :param int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2413
- :param str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2388
+ :param _builtins.int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2389
+ :param _builtins.str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2414
2390
  """
2415
2391
  if succeeded_count is not None:
2416
2392
  pulumi.set(__self__, "succeeded_count", succeeded_count)
2417
2393
  if succeeded_indexes is not None:
2418
2394
  pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
2419
2395
 
2420
- @property
2396
+ @_builtins.property
2421
2397
  @pulumi.getter(name="succeededCount")
2422
- def succeeded_count(self) -> Optional[int]:
2398
+ def succeeded_count(self) -> Optional[_builtins.int]:
2423
2399
  """
2424
2400
  succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2425
2401
  """
2426
2402
  return pulumi.get(self, "succeeded_count")
2427
2403
 
2428
- @property
2404
+ @_builtins.property
2429
2405
  @pulumi.getter(name="succeededIndexes")
2430
- def succeeded_indexes(self) -> Optional[str]:
2406
+ def succeeded_indexes(self) -> Optional[_builtins.str]:
2431
2407
  """
2432
2408
  succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2433
2409
  """
@@ -2459,29 +2435,29 @@ class SuccessPolicyRulePatch(dict):
2459
2435
  return super().get(key, default)
2460
2436
 
2461
2437
  def __init__(__self__, *,
2462
- succeeded_count: Optional[int] = None,
2463
- succeeded_indexes: Optional[str] = None):
2438
+ succeeded_count: Optional[_builtins.int] = None,
2439
+ succeeded_indexes: Optional[_builtins.str] = None):
2464
2440
  """
2465
2441
  SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
2466
- :param int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2467
- :param str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2442
+ :param _builtins.int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2443
+ :param _builtins.str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2468
2444
  """
2469
2445
  if succeeded_count is not None:
2470
2446
  pulumi.set(__self__, "succeeded_count", succeeded_count)
2471
2447
  if succeeded_indexes is not None:
2472
2448
  pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
2473
2449
 
2474
- @property
2450
+ @_builtins.property
2475
2451
  @pulumi.getter(name="succeededCount")
2476
- def succeeded_count(self) -> Optional[int]:
2452
+ def succeeded_count(self) -> Optional[_builtins.int]:
2477
2453
  """
2478
2454
  succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
2479
2455
  """
2480
2456
  return pulumi.get(self, "succeeded_count")
2481
2457
 
2482
- @property
2458
+ @_builtins.property
2483
2459
  @pulumi.getter(name="succeededIndexes")
2484
- def succeeded_indexes(self) -> Optional[str]:
2460
+ def succeeded_indexes(self) -> Optional[_builtins.str]:
2485
2461
  """
2486
2462
  succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
2487
2463
  """
@@ -2494,29 +2470,29 @@ class UncountedTerminatedPods(dict):
2494
2470
  UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
2495
2471
  """
2496
2472
  def __init__(__self__, *,
2497
- failed: Optional[Sequence[str]] = None,
2498
- succeeded: Optional[Sequence[str]] = None):
2473
+ failed: Optional[Sequence[_builtins.str]] = None,
2474
+ succeeded: Optional[Sequence[_builtins.str]] = None):
2499
2475
  """
2500
2476
  UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
2501
- :param Sequence[str] failed: failed holds UIDs of failed Pods.
2502
- :param Sequence[str] succeeded: succeeded holds UIDs of succeeded Pods.
2477
+ :param Sequence[_builtins.str] failed: failed holds UIDs of failed Pods.
2478
+ :param Sequence[_builtins.str] succeeded: succeeded holds UIDs of succeeded Pods.
2503
2479
  """
2504
2480
  if failed is not None:
2505
2481
  pulumi.set(__self__, "failed", failed)
2506
2482
  if succeeded is not None:
2507
2483
  pulumi.set(__self__, "succeeded", succeeded)
2508
2484
 
2509
- @property
2485
+ @_builtins.property
2510
2486
  @pulumi.getter
2511
- def failed(self) -> Optional[Sequence[str]]:
2487
+ def failed(self) -> Optional[Sequence[_builtins.str]]:
2512
2488
  """
2513
2489
  failed holds UIDs of failed Pods.
2514
2490
  """
2515
2491
  return pulumi.get(self, "failed")
2516
2492
 
2517
- @property
2493
+ @_builtins.property
2518
2494
  @pulumi.getter
2519
- def succeeded(self) -> Optional[Sequence[str]]:
2495
+ def succeeded(self) -> Optional[Sequence[_builtins.str]]:
2520
2496
  """
2521
2497
  succeeded holds UIDs of succeeded Pods.
2522
2498
  """
@@ -2529,29 +2505,29 @@ class UncountedTerminatedPodsPatch(dict):
2529
2505
  UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
2530
2506
  """
2531
2507
  def __init__(__self__, *,
2532
- failed: Optional[Sequence[str]] = None,
2533
- succeeded: Optional[Sequence[str]] = None):
2508
+ failed: Optional[Sequence[_builtins.str]] = None,
2509
+ succeeded: Optional[Sequence[_builtins.str]] = None):
2534
2510
  """
2535
2511
  UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
2536
- :param Sequence[str] failed: failed holds UIDs of failed Pods.
2537
- :param Sequence[str] succeeded: succeeded holds UIDs of succeeded Pods.
2512
+ :param Sequence[_builtins.str] failed: failed holds UIDs of failed Pods.
2513
+ :param Sequence[_builtins.str] succeeded: succeeded holds UIDs of succeeded Pods.
2538
2514
  """
2539
2515
  if failed is not None:
2540
2516
  pulumi.set(__self__, "failed", failed)
2541
2517
  if succeeded is not None:
2542
2518
  pulumi.set(__self__, "succeeded", succeeded)
2543
2519
 
2544
- @property
2520
+ @_builtins.property
2545
2521
  @pulumi.getter
2546
- def failed(self) -> Optional[Sequence[str]]:
2522
+ def failed(self) -> Optional[Sequence[_builtins.str]]:
2547
2523
  """
2548
2524
  failed holds UIDs of failed Pods.
2549
2525
  """
2550
2526
  return pulumi.get(self, "failed")
2551
2527
 
2552
- @property
2528
+ @_builtins.property
2553
2529
  @pulumi.getter
2554
- def succeeded(self) -> Optional[Sequence[str]]:
2530
+ def succeeded(self) -> Optional[Sequence[_builtins.str]]:
2555
2531
  """
2556
2532
  succeeded holds UIDs of succeeded Pods.
2557
2533
  """