pulumi-kubernetes 4.10.0a1710355461__py3-none-any.whl → 4.20.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (598) hide show
  1. pulumi_kubernetes/__init__.py +123 -3
  2. pulumi_kubernetes/_inputs.py +63 -6
  3. pulumi_kubernetes/_utilities.py +41 -5
  4. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
  6. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
  7. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +226 -0
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +224 -0
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +215 -0
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +236 -0
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +215 -0
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +238 -0
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
  15. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
  16. pulumi_kubernetes/admissionregistration/v1/__init__.py +6 -0
  17. pulumi_kubernetes/admissionregistration/v1/_inputs.py +4571 -939
  18. pulumi_kubernetes/admissionregistration/v1/outputs.py +2880 -470
  19. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +214 -0
  20. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +222 -0
  21. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +215 -0
  22. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +234 -0
  23. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +215 -0
  24. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +226 -0
  25. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +12 -7
  26. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +12 -15
  27. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +29 -23
  28. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +12 -15
  29. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +29 -23
  30. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +12 -7
  31. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +6 -0
  32. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2514 -141
  33. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1370 -246
  34. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
  35. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
  36. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
  37. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +12 -7
  38. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +12 -7
  39. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +29 -23
  40. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +12 -7
  41. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +29 -23
  42. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +12 -7
  43. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
  44. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
  45. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
  46. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1522 -42
  47. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +9 -4
  48. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
  49. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
  50. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
  51. pulumi_kubernetes/apiextensions/v1/_inputs.py +1175 -12
  52. pulumi_kubernetes/apiextensions/v1/outputs.py +122 -8
  53. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
  54. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
  55. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
  56. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
  57. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
  58. pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
  59. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
  60. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
  61. pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
  62. pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
  63. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
  64. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
  65. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
  66. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
  67. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
  68. pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
  69. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
  70. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
  71. pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
  72. pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
  73. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
  74. pulumi_kubernetes/apps/v1/Deployment.py +11 -6
  75. pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
  76. pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
  77. pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
  78. pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
  79. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
  80. pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
  81. pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
  82. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
  83. pulumi_kubernetes/apps/v1/_inputs.py +1057 -8
  84. pulumi_kubernetes/apps/v1/outputs.py +13 -8
  85. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
  86. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
  87. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
  88. pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
  89. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
  90. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
  91. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
  92. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
  93. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
  94. pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
  95. pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
  96. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
  97. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
  98. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
  99. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
  100. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
  101. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
  102. pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
  103. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
  104. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
  105. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
  106. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
  107. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
  108. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
  109. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
  110. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
  111. pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
  112. pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
  113. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
  114. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
  115. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
  116. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
  117. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
  118. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
  119. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
  120. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
  121. pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
  122. pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
  123. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
  124. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
  125. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
  126. pulumi_kubernetes/autoscaling/v2/_inputs.py +815 -10
  127. pulumi_kubernetes/autoscaling/v2/outputs.py +17 -12
  128. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
  129. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
  130. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
  131. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
  132. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
  133. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
  134. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
  135. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
  136. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
  137. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
  138. pulumi_kubernetes/batch/v1/CronJob.py +11 -6
  139. pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
  140. pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
  141. pulumi_kubernetes/batch/v1/Job.py +11 -6
  142. pulumi_kubernetes/batch/v1/JobList.py +11 -6
  143. pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
  144. pulumi_kubernetes/batch/v1/_inputs.py +1070 -85
  145. pulumi_kubernetes/batch/v1/outputs.py +298 -40
  146. pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
  147. pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
  148. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
  149. pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
  150. pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
  151. pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
  152. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
  153. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
  154. pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
  155. pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
  156. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
  157. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
  158. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
  159. pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
  160. pulumi_kubernetes/certificates/v1/outputs.py +5 -0
  161. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
  162. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
  163. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
  164. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
  165. pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
  166. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
  167. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
  168. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
  169. pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
  170. pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
  171. pulumi_kubernetes/coordination/__init__.py +6 -0
  172. pulumi_kubernetes/coordination/v1/Lease.py +11 -6
  173. pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
  174. pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
  175. pulumi_kubernetes/coordination/v1/_inputs.py +180 -10
  176. pulumi_kubernetes/coordination/v1/outputs.py +67 -10
  177. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +216 -0
  178. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +215 -0
  179. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +228 -0
  180. pulumi_kubernetes/coordination/v1alpha1/__init__.py +12 -0
  181. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +418 -0
  182. pulumi_kubernetes/coordination/v1alpha1/outputs.py +334 -0
  183. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +216 -0
  184. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +215 -0
  185. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +228 -0
  186. pulumi_kubernetes/coordination/v1alpha2/__init__.py +12 -0
  187. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
  188. pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
  189. pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
  190. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
  191. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
  192. pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
  193. pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
  194. pulumi_kubernetes/core/v1/Binding.py +13 -8
  195. pulumi_kubernetes/core/v1/BindingPatch.py +13 -8
  196. pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
  197. pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
  198. pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
  199. pulumi_kubernetes/core/v1/Endpoints.py +11 -6
  200. pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
  201. pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
  202. pulumi_kubernetes/core/v1/Event.py +20 -15
  203. pulumi_kubernetes/core/v1/EventList.py +11 -6
  204. pulumi_kubernetes/core/v1/EventPatch.py +20 -15
  205. pulumi_kubernetes/core/v1/LimitRange.py +11 -6
  206. pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
  207. pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
  208. pulumi_kubernetes/core/v1/Namespace.py +11 -6
  209. pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
  210. pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
  211. pulumi_kubernetes/core/v1/Node.py +11 -6
  212. pulumi_kubernetes/core/v1/NodeList.py +11 -6
  213. pulumi_kubernetes/core/v1/NodePatch.py +11 -6
  214. pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
  215. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
  216. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
  217. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
  218. pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
  219. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
  220. pulumi_kubernetes/core/v1/Pod.py +11 -6
  221. pulumi_kubernetes/core/v1/PodList.py +11 -6
  222. pulumi_kubernetes/core/v1/PodPatch.py +11 -6
  223. pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
  224. pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
  225. pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
  226. pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
  227. pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
  228. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
  229. pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
  230. pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
  231. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
  232. pulumi_kubernetes/core/v1/Secret.py +8 -3
  233. pulumi_kubernetes/core/v1/SecretList.py +11 -6
  234. pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
  235. pulumi_kubernetes/core/v1/Service.py +17 -28
  236. pulumi_kubernetes/core/v1/ServiceAccount.py +17 -12
  237. pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
  238. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +17 -12
  239. pulumi_kubernetes/core/v1/ServiceList.py +11 -6
  240. pulumi_kubernetes/core/v1/ServicePatch.py +17 -28
  241. pulumi_kubernetes/core/v1/_inputs.py +11760 -756
  242. pulumi_kubernetes/core/v1/outputs.py +2131 -448
  243. pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
  244. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
  245. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
  246. pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
  247. pulumi_kubernetes/discovery/v1/outputs.py +5 -0
  248. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
  249. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
  250. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
  251. pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
  252. pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
  253. pulumi_kubernetes/events/v1/Event.py +20 -15
  254. pulumi_kubernetes/events/v1/EventList.py +11 -6
  255. pulumi_kubernetes/events/v1/EventPatch.py +20 -15
  256. pulumi_kubernetes/events/v1/_inputs.py +118 -0
  257. pulumi_kubernetes/events/v1/outputs.py +5 -0
  258. pulumi_kubernetes/events/v1beta1/Event.py +19 -14
  259. pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
  260. pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
  261. pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
  262. pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
  263. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
  264. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
  265. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
  266. pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
  267. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
  268. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
  269. pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
  270. pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
  271. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
  272. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
  273. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
  274. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
  275. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
  276. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
  277. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
  278. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
  279. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
  280. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
  281. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
  282. pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
  283. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
  284. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
  285. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
  286. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
  287. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
  288. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
  289. pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
  290. pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
  291. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
  292. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
  293. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
  294. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
  295. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
  296. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
  297. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
  298. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
  299. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
  300. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
  301. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
  302. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
  303. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
  304. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
  305. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
  306. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
  307. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
  308. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
  309. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
  310. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
  311. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
  312. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
  313. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
  314. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
  315. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
  316. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
  317. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
  318. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
  319. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
  320. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
  321. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +779 -8
  322. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +13 -8
  323. pulumi_kubernetes/helm/__init__.py +3 -0
  324. pulumi_kubernetes/helm/v3/Release.py +8 -3
  325. pulumi_kubernetes/helm/v3/_inputs.py +42 -2
  326. pulumi_kubernetes/helm/v3/outputs.py +7 -2
  327. pulumi_kubernetes/helm/v4/Chart.py +721 -0
  328. pulumi_kubernetes/helm/v4/__init__.py +9 -0
  329. pulumi_kubernetes/helm/v4/_inputs.py +216 -0
  330. pulumi_kubernetes/kustomize/__init__.py +8 -0
  331. pulumi_kubernetes/kustomize/v2/Directory.py +219 -0
  332. pulumi_kubernetes/kustomize/v2/__init__.py +8 -0
  333. pulumi_kubernetes/meta/v1/Status.py +11 -6
  334. pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
  335. pulumi_kubernetes/meta/v1/_inputs.py +596 -0
  336. pulumi_kubernetes/meta/v1/outputs.py +5 -0
  337. pulumi_kubernetes/networking/v1/Ingress.py +11 -6
  338. pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
  339. pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
  340. pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
  341. pulumi_kubernetes/networking/v1/IngressList.py +11 -6
  342. pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
  343. pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
  344. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
  345. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
  346. pulumi_kubernetes/networking/v1/_inputs.py +840 -0
  347. pulumi_kubernetes/networking/v1/outputs.py +5 -0
  348. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
  349. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
  350. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
  351. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +13 -6
  352. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
  353. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +13 -6
  354. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +13 -6
  355. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
  356. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +13 -6
  357. pulumi_kubernetes/networking/v1alpha1/_inputs.py +293 -37
  358. pulumi_kubernetes/networking/v1alpha1/outputs.py +26 -24
  359. pulumi_kubernetes/networking/v1beta1/IPAddress.py +216 -0
  360. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +215 -0
  361. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +228 -0
  362. pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
  363. pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
  364. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
  365. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
  366. pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
  367. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
  368. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +226 -0
  369. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +215 -0
  370. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +238 -0
  371. pulumi_kubernetes/networking/v1beta1/__init__.py +6 -0
  372. pulumi_kubernetes/networking/v1beta1/_inputs.py +984 -11
  373. pulumi_kubernetes/networking/v1beta1/outputs.py +466 -0
  374. pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
  375. pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
  376. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
  377. pulumi_kubernetes/node/v1/_inputs.py +101 -0
  378. pulumi_kubernetes/node/v1/outputs.py +5 -0
  379. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
  380. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
  381. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
  382. pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
  383. pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
  384. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
  385. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
  386. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
  387. pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
  388. pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
  389. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
  390. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
  391. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
  392. pulumi_kubernetes/policy/v1/_inputs.py +151 -0
  393. pulumi_kubernetes/policy/v1/outputs.py +5 -0
  394. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
  395. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
  396. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
  397. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
  398. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
  399. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
  400. pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
  401. pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
  402. pulumi_kubernetes/provider.py +82 -6
  403. pulumi_kubernetes/pulumi-plugin.json +2 -1
  404. pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
  405. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
  406. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
  407. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
  408. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
  409. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
  410. pulumi_kubernetes/rbac/v1/Role.py +11 -6
  411. pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
  412. pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
  413. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
  414. pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
  415. pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
  416. pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
  417. pulumi_kubernetes/rbac/v1/outputs.py +5 -0
  418. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
  419. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
  420. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
  421. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
  422. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
  423. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
  424. pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
  425. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
  426. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
  427. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
  428. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
  429. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
  430. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
  431. pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
  432. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
  433. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
  434. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
  435. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
  436. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
  437. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
  438. pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
  439. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
  440. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
  441. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
  442. pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
  443. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
  444. pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
  445. pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
  446. pulumi_kubernetes/resource/__init__.py +6 -0
  447. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
  448. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
  449. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
  450. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +12 -7
  451. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
  452. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +12 -7
  453. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +12 -7
  454. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
  455. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +12 -7
  456. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
  457. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
  458. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
  459. pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
  460. pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
  461. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +13 -6
  462. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
  463. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +13 -6
  464. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +12 -7
  465. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
  466. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +280 -0
  467. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +215 -0
  468. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +292 -0
  469. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +12 -7
  470. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +12 -7
  471. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
  472. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +12 -7
  473. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +43 -9
  474. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
  475. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +272 -0
  476. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +215 -0
  477. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +284 -0
  478. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +43 -9
  479. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +283 -0
  480. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +215 -0
  481. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +294 -0
  482. pulumi_kubernetes/resource/v1alpha2/__init__.py +9 -0
  483. pulumi_kubernetes/resource/v1alpha2/_inputs.py +3177 -634
  484. pulumi_kubernetes/resource/v1alpha2/outputs.py +2628 -880
  485. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +238 -0
  486. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +216 -0
  487. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +249 -0
  488. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +231 -0
  489. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +215 -0
  490. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +242 -0
  491. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +232 -0
  492. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +216 -0
  493. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +243 -0
  494. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +229 -0
  495. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +215 -0
  496. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +240 -0
  497. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +246 -0
  498. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +245 -0
  499. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +257 -0
  500. pulumi_kubernetes/resource/v1alpha3/__init__.py +24 -0
  501. pulumi_kubernetes/resource/v1alpha3/_inputs.py +4372 -0
  502. pulumi_kubernetes/resource/v1alpha3/outputs.py +3914 -0
  503. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +237 -0
  504. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +215 -0
  505. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +248 -0
  506. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +232 -0
  507. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +216 -0
  508. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +243 -0
  509. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +229 -0
  510. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +215 -0
  511. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +240 -0
  512. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +246 -0
  513. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +216 -0
  514. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +257 -0
  515. pulumi_kubernetes/resource/v1beta1/__init__.py +21 -0
  516. pulumi_kubernetes/resource/v1beta1/_inputs.py +3867 -0
  517. pulumi_kubernetes/resource/v1beta1/outputs.py +3334 -0
  518. pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
  519. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
  520. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
  521. pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
  522. pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
  523. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
  524. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
  525. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
  526. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
  527. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
  528. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
  529. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
  530. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
  531. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
  532. pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
  533. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
  534. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
  535. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
  536. pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
  537. pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
  538. pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
  539. pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
  540. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
  541. pulumi_kubernetes/storage/v1/CSINode.py +11 -6
  542. pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
  543. pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
  544. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
  545. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
  546. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
  547. pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
  548. pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
  549. pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
  550. pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
  551. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
  552. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
  553. pulumi_kubernetes/storage/v1/_inputs.py +624 -10
  554. pulumi_kubernetes/storage/v1/outputs.py +17 -12
  555. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
  556. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
  557. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
  558. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +10 -3
  559. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
  560. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +10 -3
  561. pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
  562. pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
  563. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
  564. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
  565. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
  566. pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
  567. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
  568. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
  569. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
  570. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
  571. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
  572. pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
  573. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
  574. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
  575. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
  576. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
  577. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
  578. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +252 -0
  579. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +215 -0
  580. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +263 -0
  581. pulumi_kubernetes/storage/v1beta1/__init__.py +3 -0
  582. pulumi_kubernetes/storage/v1beta1/_inputs.py +689 -0
  583. pulumi_kubernetes/storage/v1beta1/outputs.py +99 -0
  584. pulumi_kubernetes/storagemigration/__init__.py +14 -0
  585. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +224 -0
  586. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +215 -0
  587. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +236 -0
  588. pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +12 -0
  589. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +585 -0
  590. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +593 -0
  591. pulumi_kubernetes/yaml/v2/ConfigFile.py +81 -4
  592. pulumi_kubernetes/yaml/v2/ConfigGroup.py +123 -42
  593. pulumi_kubernetes/yaml/yaml.py +264 -0
  594. {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/METADATA +8 -7
  595. pulumi_kubernetes-4.20.0.dist-info/RECORD +679 -0
  596. {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/WHEEL +1 -1
  597. pulumi_kubernetes-4.10.0a1710355461.dist-info/RECORD +0 -592
  598. {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/top_level.txt +0 -0
@@ -4,40 +4,96 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from ... import _utilities
11
16
  from ... import meta as _meta
12
17
 
13
18
  __all__ = [
14
19
  'ContainerResourceMetricSourcePatchArgs',
20
+ 'ContainerResourceMetricSourcePatchArgsDict',
15
21
  'ContainerResourceMetricSourceArgs',
22
+ 'ContainerResourceMetricSourceArgsDict',
16
23
  'ContainerResourceMetricStatusArgs',
24
+ 'ContainerResourceMetricStatusArgsDict',
17
25
  'CrossVersionObjectReferencePatchArgs',
26
+ 'CrossVersionObjectReferencePatchArgsDict',
18
27
  'CrossVersionObjectReferenceArgs',
28
+ 'CrossVersionObjectReferenceArgsDict',
19
29
  'ExternalMetricSourcePatchArgs',
30
+ 'ExternalMetricSourcePatchArgsDict',
20
31
  'ExternalMetricSourceArgs',
32
+ 'ExternalMetricSourceArgsDict',
21
33
  'ExternalMetricStatusArgs',
34
+ 'ExternalMetricStatusArgsDict',
22
35
  'HorizontalPodAutoscalerConditionArgs',
36
+ 'HorizontalPodAutoscalerConditionArgsDict',
23
37
  'HorizontalPodAutoscalerSpecPatchArgs',
38
+ 'HorizontalPodAutoscalerSpecPatchArgsDict',
24
39
  'HorizontalPodAutoscalerSpecArgs',
40
+ 'HorizontalPodAutoscalerSpecArgsDict',
25
41
  'HorizontalPodAutoscalerStatusArgs',
42
+ 'HorizontalPodAutoscalerStatusArgsDict',
26
43
  'HorizontalPodAutoscalerArgs',
44
+ 'HorizontalPodAutoscalerArgsDict',
27
45
  'MetricSpecPatchArgs',
46
+ 'MetricSpecPatchArgsDict',
28
47
  'MetricSpecArgs',
48
+ 'MetricSpecArgsDict',
29
49
  'MetricStatusArgs',
50
+ 'MetricStatusArgsDict',
30
51
  'ObjectMetricSourcePatchArgs',
52
+ 'ObjectMetricSourcePatchArgsDict',
31
53
  'ObjectMetricSourceArgs',
54
+ 'ObjectMetricSourceArgsDict',
32
55
  'ObjectMetricStatusArgs',
56
+ 'ObjectMetricStatusArgsDict',
33
57
  'PodsMetricSourcePatchArgs',
58
+ 'PodsMetricSourcePatchArgsDict',
34
59
  'PodsMetricSourceArgs',
60
+ 'PodsMetricSourceArgsDict',
35
61
  'PodsMetricStatusArgs',
62
+ 'PodsMetricStatusArgsDict',
36
63
  'ResourceMetricSourcePatchArgs',
64
+ 'ResourceMetricSourcePatchArgsDict',
37
65
  'ResourceMetricSourceArgs',
66
+ 'ResourceMetricSourceArgsDict',
38
67
  'ResourceMetricStatusArgs',
68
+ 'ResourceMetricStatusArgsDict',
39
69
  ]
40
70
 
71
+ MYPY = False
72
+
73
+ if not MYPY:
74
+ class ContainerResourceMetricSourcePatchArgsDict(TypedDict):
75
+ """
76
+ ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
77
+ """
78
+ container: NotRequired[pulumi.Input[str]]
79
+ """
80
+ container is the name of the container in the pods of the scaling target
81
+ """
82
+ name: NotRequired[pulumi.Input[str]]
83
+ """
84
+ name is the name of the resource in question.
85
+ """
86
+ target_average_utilization: NotRequired[pulumi.Input[int]]
87
+ """
88
+ targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
89
+ """
90
+ target_average_value: NotRequired[pulumi.Input[str]]
91
+ """
92
+ targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
93
+ """
94
+ elif False:
95
+ ContainerResourceMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
96
+
41
97
  @pulumi.input_type
42
98
  class ContainerResourceMetricSourcePatchArgs:
43
99
  def __init__(__self__, *,
@@ -110,6 +166,30 @@ class ContainerResourceMetricSourcePatchArgs:
110
166
  pulumi.set(self, "target_average_value", value)
111
167
 
112
168
 
169
+ if not MYPY:
170
+ class ContainerResourceMetricSourceArgsDict(TypedDict):
171
+ """
172
+ ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
173
+ """
174
+ container: pulumi.Input[str]
175
+ """
176
+ container is the name of the container in the pods of the scaling target
177
+ """
178
+ name: pulumi.Input[str]
179
+ """
180
+ name is the name of the resource in question.
181
+ """
182
+ target_average_utilization: NotRequired[pulumi.Input[int]]
183
+ """
184
+ targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
185
+ """
186
+ target_average_value: NotRequired[pulumi.Input[str]]
187
+ """
188
+ targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
189
+ """
190
+ elif False:
191
+ ContainerResourceMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
192
+
113
193
  @pulumi.input_type
114
194
  class ContainerResourceMetricSourceArgs:
115
195
  def __init__(__self__, *,
@@ -180,6 +260,30 @@ class ContainerResourceMetricSourceArgs:
180
260
  pulumi.set(self, "target_average_value", value)
181
261
 
182
262
 
263
+ if not MYPY:
264
+ class ContainerResourceMetricStatusArgsDict(TypedDict):
265
+ """
266
+ ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
267
+ """
268
+ container: pulumi.Input[str]
269
+ """
270
+ container is the name of the container in the pods of the scaling target
271
+ """
272
+ current_average_value: pulumi.Input[str]
273
+ """
274
+ currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
275
+ """
276
+ name: pulumi.Input[str]
277
+ """
278
+ name is the name of the resource in question.
279
+ """
280
+ current_average_utilization: NotRequired[pulumi.Input[int]]
281
+ """
282
+ currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
283
+ """
284
+ elif False:
285
+ ContainerResourceMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
286
+
183
287
  @pulumi.input_type
184
288
  class ContainerResourceMetricStatusArgs:
185
289
  def __init__(__self__, *,
@@ -249,6 +353,26 @@ class ContainerResourceMetricStatusArgs:
249
353
  pulumi.set(self, "current_average_utilization", value)
250
354
 
251
355
 
356
+ if not MYPY:
357
+ class CrossVersionObjectReferencePatchArgsDict(TypedDict):
358
+ """
359
+ CrossVersionObjectReference contains enough information to let you identify the referred resource.
360
+ """
361
+ api_version: NotRequired[pulumi.Input[str]]
362
+ """
363
+ API version of the referent
364
+ """
365
+ kind: NotRequired[pulumi.Input[str]]
366
+ """
367
+ Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
368
+ """
369
+ name: NotRequired[pulumi.Input[str]]
370
+ """
371
+ Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
372
+ """
373
+ elif False:
374
+ CrossVersionObjectReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
375
+
252
376
  @pulumi.input_type
253
377
  class CrossVersionObjectReferencePatchArgs:
254
378
  def __init__(__self__, *,
@@ -305,6 +429,26 @@ class CrossVersionObjectReferencePatchArgs:
305
429
  pulumi.set(self, "name", value)
306
430
 
307
431
 
432
+ if not MYPY:
433
+ class CrossVersionObjectReferenceArgsDict(TypedDict):
434
+ """
435
+ CrossVersionObjectReference contains enough information to let you identify the referred resource.
436
+ """
437
+ kind: pulumi.Input[str]
438
+ """
439
+ Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
440
+ """
441
+ name: pulumi.Input[str]
442
+ """
443
+ Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
444
+ """
445
+ api_version: NotRequired[pulumi.Input[str]]
446
+ """
447
+ API version of the referent
448
+ """
449
+ elif False:
450
+ CrossVersionObjectReferenceArgsDict: TypeAlias = Mapping[str, Any]
451
+
308
452
  @pulumi.input_type
309
453
  class CrossVersionObjectReferenceArgs:
310
454
  def __init__(__self__, *,
@@ -359,6 +503,30 @@ class CrossVersionObjectReferenceArgs:
359
503
  pulumi.set(self, "api_version", value)
360
504
 
361
505
 
506
+ if not MYPY:
507
+ class ExternalMetricSourcePatchArgsDict(TypedDict):
508
+ """
509
+ ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
510
+ """
511
+ metric_name: NotRequired[pulumi.Input[str]]
512
+ """
513
+ metricName is the name of the metric in question.
514
+ """
515
+ metric_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
516
+ """
517
+ metricSelector is used to identify a specific time series within a given metric.
518
+ """
519
+ target_average_value: NotRequired[pulumi.Input[str]]
520
+ """
521
+ targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
522
+ """
523
+ target_value: NotRequired[pulumi.Input[str]]
524
+ """
525
+ targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
526
+ """
527
+ elif False:
528
+ ExternalMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
529
+
362
530
  @pulumi.input_type
363
531
  class ExternalMetricSourcePatchArgs:
364
532
  def __init__(__self__, *,
@@ -431,6 +599,30 @@ class ExternalMetricSourcePatchArgs:
431
599
  pulumi.set(self, "target_value", value)
432
600
 
433
601
 
602
+ if not MYPY:
603
+ class ExternalMetricSourceArgsDict(TypedDict):
604
+ """
605
+ ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
606
+ """
607
+ metric_name: pulumi.Input[str]
608
+ """
609
+ metricName is the name of the metric in question.
610
+ """
611
+ metric_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
612
+ """
613
+ metricSelector is used to identify a specific time series within a given metric.
614
+ """
615
+ target_average_value: NotRequired[pulumi.Input[str]]
616
+ """
617
+ targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
618
+ """
619
+ target_value: NotRequired[pulumi.Input[str]]
620
+ """
621
+ targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
622
+ """
623
+ elif False:
624
+ ExternalMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
625
+
434
626
  @pulumi.input_type
435
627
  class ExternalMetricSourceArgs:
436
628
  def __init__(__self__, *,
@@ -502,6 +694,30 @@ class ExternalMetricSourceArgs:
502
694
  pulumi.set(self, "target_value", value)
503
695
 
504
696
 
697
+ if not MYPY:
698
+ class ExternalMetricStatusArgsDict(TypedDict):
699
+ """
700
+ ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
701
+ """
702
+ current_value: pulumi.Input[str]
703
+ """
704
+ currentValue is the current value of the metric (as a quantity)
705
+ """
706
+ metric_name: pulumi.Input[str]
707
+ """
708
+ metricName is the name of a metric used for autoscaling in metric system.
709
+ """
710
+ current_average_value: NotRequired[pulumi.Input[str]]
711
+ """
712
+ currentAverageValue is the current value of metric averaged over autoscaled pods.
713
+ """
714
+ metric_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
715
+ """
716
+ metricSelector is used to identify a specific time series within a given metric.
717
+ """
718
+ elif False:
719
+ ExternalMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
720
+
505
721
  @pulumi.input_type
506
722
  class ExternalMetricStatusArgs:
507
723
  def __init__(__self__, *,
@@ -572,6 +788,34 @@ class ExternalMetricStatusArgs:
572
788
  pulumi.set(self, "metric_selector", value)
573
789
 
574
790
 
791
+ if not MYPY:
792
+ class HorizontalPodAutoscalerConditionArgsDict(TypedDict):
793
+ """
794
+ HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
795
+ """
796
+ status: pulumi.Input[str]
797
+ """
798
+ status is the status of the condition (True, False, Unknown)
799
+ """
800
+ type: pulumi.Input[str]
801
+ """
802
+ type describes the current condition
803
+ """
804
+ last_transition_time: NotRequired[pulumi.Input[str]]
805
+ """
806
+ lastTransitionTime is the last time the condition transitioned from one status to another
807
+ """
808
+ message: NotRequired[pulumi.Input[str]]
809
+ """
810
+ message is a human-readable explanation containing details about the transition
811
+ """
812
+ reason: NotRequired[pulumi.Input[str]]
813
+ """
814
+ reason is the reason for the condition's last transition.
815
+ """
816
+ elif False:
817
+ HorizontalPodAutoscalerConditionArgsDict: TypeAlias = Mapping[str, Any]
818
+
575
819
  @pulumi.input_type
576
820
  class HorizontalPodAutoscalerConditionArgs:
577
821
  def __init__(__self__, *,
@@ -658,6 +902,30 @@ class HorizontalPodAutoscalerConditionArgs:
658
902
  pulumi.set(self, "reason", value)
659
903
 
660
904
 
905
+ if not MYPY:
906
+ class HorizontalPodAutoscalerSpecPatchArgsDict(TypedDict):
907
+ """
908
+ HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
909
+ """
910
+ max_replicas: NotRequired[pulumi.Input[int]]
911
+ """
912
+ maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
913
+ """
914
+ metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgsDict']]]]
915
+ """
916
+ metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.
917
+ """
918
+ min_replicas: NotRequired[pulumi.Input[int]]
919
+ """
920
+ minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
921
+ """
922
+ scale_target_ref: NotRequired[pulumi.Input['CrossVersionObjectReferencePatchArgsDict']]
923
+ """
924
+ scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
925
+ """
926
+ elif False:
927
+ HorizontalPodAutoscalerSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
928
+
661
929
  @pulumi.input_type
662
930
  class HorizontalPodAutoscalerSpecPatchArgs:
663
931
  def __init__(__self__, *,
@@ -730,6 +998,30 @@ class HorizontalPodAutoscalerSpecPatchArgs:
730
998
  pulumi.set(self, "scale_target_ref", value)
731
999
 
732
1000
 
1001
+ if not MYPY:
1002
+ class HorizontalPodAutoscalerSpecArgsDict(TypedDict):
1003
+ """
1004
+ HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
1005
+ """
1006
+ max_replicas: pulumi.Input[int]
1007
+ """
1008
+ maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1009
+ """
1010
+ scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgsDict']
1011
+ """
1012
+ scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
1013
+ """
1014
+ metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgsDict']]]]
1015
+ """
1016
+ metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.
1017
+ """
1018
+ min_replicas: NotRequired[pulumi.Input[int]]
1019
+ """
1020
+ minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
1021
+ """
1022
+ elif False:
1023
+ HorizontalPodAutoscalerSpecArgsDict: TypeAlias = Mapping[str, Any]
1024
+
733
1025
  @pulumi.input_type
734
1026
  class HorizontalPodAutoscalerSpecArgs:
735
1027
  def __init__(__self__, *,
@@ -800,6 +1092,38 @@ class HorizontalPodAutoscalerSpecArgs:
800
1092
  pulumi.set(self, "min_replicas", value)
801
1093
 
802
1094
 
1095
+ if not MYPY:
1096
+ class HorizontalPodAutoscalerStatusArgsDict(TypedDict):
1097
+ """
1098
+ HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
1099
+ """
1100
+ conditions: pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgsDict']]]
1101
+ """
1102
+ conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
1103
+ """
1104
+ current_replicas: pulumi.Input[int]
1105
+ """
1106
+ currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
1107
+ """
1108
+ desired_replicas: pulumi.Input[int]
1109
+ """
1110
+ desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
1111
+ """
1112
+ current_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgsDict']]]]
1113
+ """
1114
+ currentMetrics is the last read state of the metrics used by this autoscaler.
1115
+ """
1116
+ last_scale_time: NotRequired[pulumi.Input[str]]
1117
+ """
1118
+ lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
1119
+ """
1120
+ observed_generation: NotRequired[pulumi.Input[int]]
1121
+ """
1122
+ observedGeneration is the most recent generation observed by this autoscaler.
1123
+ """
1124
+ elif False:
1125
+ HorizontalPodAutoscalerStatusArgsDict: TypeAlias = Mapping[str, Any]
1126
+
803
1127
  @pulumi.input_type
804
1128
  class HorizontalPodAutoscalerStatusArgs:
805
1129
  def __init__(__self__, *,
@@ -901,6 +1225,34 @@ class HorizontalPodAutoscalerStatusArgs:
901
1225
  pulumi.set(self, "observed_generation", value)
902
1226
 
903
1227
 
1228
+ if not MYPY:
1229
+ class HorizontalPodAutoscalerArgsDict(TypedDict):
1230
+ """
1231
+ HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
1232
+ """
1233
+ api_version: NotRequired[pulumi.Input[str]]
1234
+ """
1235
+ 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
1236
+ """
1237
+ kind: NotRequired[pulumi.Input[str]]
1238
+ """
1239
+ 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
1240
+ """
1241
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1242
+ """
1243
+ metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1244
+ """
1245
+ spec: NotRequired[pulumi.Input['HorizontalPodAutoscalerSpecArgsDict']]
1246
+ """
1247
+ spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
1248
+ """
1249
+ status: NotRequired[pulumi.Input['HorizontalPodAutoscalerStatusArgsDict']]
1250
+ """
1251
+ status is the current information about the autoscaler.
1252
+ """
1253
+ elif False:
1254
+ HorizontalPodAutoscalerArgsDict: TypeAlias = Mapping[str, Any]
1255
+
904
1256
  @pulumi.input_type
905
1257
  class HorizontalPodAutoscalerArgs:
906
1258
  def __init__(__self__, *,
@@ -989,6 +1341,38 @@ class HorizontalPodAutoscalerArgs:
989
1341
  pulumi.set(self, "status", value)
990
1342
 
991
1343
 
1344
+ if not MYPY:
1345
+ class MetricSpecPatchArgsDict(TypedDict):
1346
+ """
1347
+ MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1348
+ """
1349
+ container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourcePatchArgsDict']]
1350
+ """
1351
+ container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
1352
+ """
1353
+ external: NotRequired[pulumi.Input['ExternalMetricSourcePatchArgsDict']]
1354
+ """
1355
+ external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
1356
+ """
1357
+ object: NotRequired[pulumi.Input['ObjectMetricSourcePatchArgsDict']]
1358
+ """
1359
+ object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1360
+ """
1361
+ pods: NotRequired[pulumi.Input['PodsMetricSourcePatchArgsDict']]
1362
+ """
1363
+ pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
1364
+ """
1365
+ resource: NotRequired[pulumi.Input['ResourceMetricSourcePatchArgsDict']]
1366
+ """
1367
+ resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1368
+ """
1369
+ type: NotRequired[pulumi.Input[str]]
1370
+ """
1371
+ type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1372
+ """
1373
+ elif False:
1374
+ MetricSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1375
+
992
1376
  @pulumi.input_type
993
1377
  class MetricSpecPatchArgs:
994
1378
  def __init__(__self__, *,
@@ -1093,6 +1477,38 @@ class MetricSpecPatchArgs:
1093
1477
  pulumi.set(self, "type", value)
1094
1478
 
1095
1479
 
1480
+ if not MYPY:
1481
+ class MetricSpecArgsDict(TypedDict):
1482
+ """
1483
+ MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1484
+ """
1485
+ type: pulumi.Input[str]
1486
+ """
1487
+ type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1488
+ """
1489
+ container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourceArgsDict']]
1490
+ """
1491
+ container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
1492
+ """
1493
+ external: NotRequired[pulumi.Input['ExternalMetricSourceArgsDict']]
1494
+ """
1495
+ external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
1496
+ """
1497
+ object: NotRequired[pulumi.Input['ObjectMetricSourceArgsDict']]
1498
+ """
1499
+ object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1500
+ """
1501
+ pods: NotRequired[pulumi.Input['PodsMetricSourceArgsDict']]
1502
+ """
1503
+ pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
1504
+ """
1505
+ resource: NotRequired[pulumi.Input['ResourceMetricSourceArgsDict']]
1506
+ """
1507
+ resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1508
+ """
1509
+ elif False:
1510
+ MetricSpecArgsDict: TypeAlias = Mapping[str, Any]
1511
+
1096
1512
  @pulumi.input_type
1097
1513
  class MetricSpecArgs:
1098
1514
  def __init__(__self__, *,
@@ -1196,6 +1612,38 @@ class MetricSpecArgs:
1196
1612
  pulumi.set(self, "resource", value)
1197
1613
 
1198
1614
 
1615
+ if not MYPY:
1616
+ class MetricStatusArgsDict(TypedDict):
1617
+ """
1618
+ MetricStatus describes the last-read state of a single metric.
1619
+ """
1620
+ type: pulumi.Input[str]
1621
+ """
1622
+ type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
1623
+ """
1624
+ container_resource: NotRequired[pulumi.Input['ContainerResourceMetricStatusArgsDict']]
1625
+ """
1626
+ container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1627
+ """
1628
+ external: NotRequired[pulumi.Input['ExternalMetricStatusArgsDict']]
1629
+ """
1630
+ external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
1631
+ """
1632
+ object: NotRequired[pulumi.Input['ObjectMetricStatusArgsDict']]
1633
+ """
1634
+ object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1635
+ """
1636
+ pods: NotRequired[pulumi.Input['PodsMetricStatusArgsDict']]
1637
+ """
1638
+ pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
1639
+ """
1640
+ resource: NotRequired[pulumi.Input['ResourceMetricStatusArgsDict']]
1641
+ """
1642
+ resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
1643
+ """
1644
+ elif False:
1645
+ MetricStatusArgsDict: TypeAlias = Mapping[str, Any]
1646
+
1199
1647
  @pulumi.input_type
1200
1648
  class MetricStatusArgs:
1201
1649
  def __init__(__self__, *,
@@ -1299,6 +1747,34 @@ class MetricStatusArgs:
1299
1747
  pulumi.set(self, "resource", value)
1300
1748
 
1301
1749
 
1750
+ if not MYPY:
1751
+ class ObjectMetricSourcePatchArgsDict(TypedDict):
1752
+ """
1753
+ ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
1754
+ """
1755
+ average_value: NotRequired[pulumi.Input[str]]
1756
+ """
1757
+ averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
1758
+ """
1759
+ metric_name: NotRequired[pulumi.Input[str]]
1760
+ """
1761
+ metricName is the name of the metric in question.
1762
+ """
1763
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
1764
+ """
1765
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
1766
+ """
1767
+ target: NotRequired[pulumi.Input['CrossVersionObjectReferencePatchArgsDict']]
1768
+ """
1769
+ target is the described Kubernetes object.
1770
+ """
1771
+ target_value: NotRequired[pulumi.Input[str]]
1772
+ """
1773
+ targetValue is the target value of the metric (as a quantity).
1774
+ """
1775
+ elif False:
1776
+ ObjectMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
1777
+
1302
1778
  @pulumi.input_type
1303
1779
  class ObjectMetricSourcePatchArgs:
1304
1780
  def __init__(__self__, *,
@@ -1387,6 +1863,34 @@ class ObjectMetricSourcePatchArgs:
1387
1863
  pulumi.set(self, "target_value", value)
1388
1864
 
1389
1865
 
1866
+ if not MYPY:
1867
+ class ObjectMetricSourceArgsDict(TypedDict):
1868
+ """
1869
+ ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
1870
+ """
1871
+ metric_name: pulumi.Input[str]
1872
+ """
1873
+ metricName is the name of the metric in question.
1874
+ """
1875
+ target: pulumi.Input['CrossVersionObjectReferenceArgsDict']
1876
+ """
1877
+ target is the described Kubernetes object.
1878
+ """
1879
+ target_value: pulumi.Input[str]
1880
+ """
1881
+ targetValue is the target value of the metric (as a quantity).
1882
+ """
1883
+ average_value: NotRequired[pulumi.Input[str]]
1884
+ """
1885
+ averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
1886
+ """
1887
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
1888
+ """
1889
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
1890
+ """
1891
+ elif False:
1892
+ ObjectMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
1893
+
1390
1894
  @pulumi.input_type
1391
1895
  class ObjectMetricSourceArgs:
1392
1896
  def __init__(__self__, *,
@@ -1472,6 +1976,34 @@ class ObjectMetricSourceArgs:
1472
1976
  pulumi.set(self, "selector", value)
1473
1977
 
1474
1978
 
1979
+ if not MYPY:
1980
+ class ObjectMetricStatusArgsDict(TypedDict):
1981
+ """
1982
+ ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
1983
+ """
1984
+ current_value: pulumi.Input[str]
1985
+ """
1986
+ currentValue is the current value of the metric (as a quantity).
1987
+ """
1988
+ metric_name: pulumi.Input[str]
1989
+ """
1990
+ metricName is the name of the metric in question.
1991
+ """
1992
+ target: pulumi.Input['CrossVersionObjectReferenceArgsDict']
1993
+ """
1994
+ target is the described Kubernetes object.
1995
+ """
1996
+ average_value: NotRequired[pulumi.Input[str]]
1997
+ """
1998
+ averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
1999
+ """
2000
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
2001
+ """
2002
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
2003
+ """
2004
+ elif False:
2005
+ ObjectMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2006
+
1475
2007
  @pulumi.input_type
1476
2008
  class ObjectMetricStatusArgs:
1477
2009
  def __init__(__self__, *,
@@ -1557,6 +2089,26 @@ class ObjectMetricStatusArgs:
1557
2089
  pulumi.set(self, "selector", value)
1558
2090
 
1559
2091
 
2092
+ if not MYPY:
2093
+ class PodsMetricSourcePatchArgsDict(TypedDict):
2094
+ """
2095
+ PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
2096
+ """
2097
+ metric_name: NotRequired[pulumi.Input[str]]
2098
+ """
2099
+ metricName is the name of the metric in question
2100
+ """
2101
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
2102
+ """
2103
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
2104
+ """
2105
+ target_average_value: NotRequired[pulumi.Input[str]]
2106
+ """
2107
+ targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2108
+ """
2109
+ elif False:
2110
+ PodsMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
2111
+
1560
2112
  @pulumi.input_type
1561
2113
  class PodsMetricSourcePatchArgs:
1562
2114
  def __init__(__self__, *,
@@ -1613,6 +2165,26 @@ class PodsMetricSourcePatchArgs:
1613
2165
  pulumi.set(self, "target_average_value", value)
1614
2166
 
1615
2167
 
2168
+ if not MYPY:
2169
+ class PodsMetricSourceArgsDict(TypedDict):
2170
+ """
2171
+ PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
2172
+ """
2173
+ metric_name: pulumi.Input[str]
2174
+ """
2175
+ metricName is the name of the metric in question
2176
+ """
2177
+ target_average_value: pulumi.Input[str]
2178
+ """
2179
+ targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2180
+ """
2181
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
2182
+ """
2183
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
2184
+ """
2185
+ elif False:
2186
+ PodsMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
2187
+
1616
2188
  @pulumi.input_type
1617
2189
  class PodsMetricSourceArgs:
1618
2190
  def __init__(__self__, *,
@@ -1667,6 +2239,26 @@ class PodsMetricSourceArgs:
1667
2239
  pulumi.set(self, "selector", value)
1668
2240
 
1669
2241
 
2242
+ if not MYPY:
2243
+ class PodsMetricStatusArgsDict(TypedDict):
2244
+ """
2245
+ PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
2246
+ """
2247
+ current_average_value: pulumi.Input[str]
2248
+ """
2249
+ currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
2250
+ """
2251
+ metric_name: pulumi.Input[str]
2252
+ """
2253
+ metricName is the name of the metric in question
2254
+ """
2255
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
2256
+ """
2257
+ selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
2258
+ """
2259
+ elif False:
2260
+ PodsMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2261
+
1670
2262
  @pulumi.input_type
1671
2263
  class PodsMetricStatusArgs:
1672
2264
  def __init__(__self__, *,
@@ -1721,6 +2313,26 @@ class PodsMetricStatusArgs:
1721
2313
  pulumi.set(self, "selector", value)
1722
2314
 
1723
2315
 
2316
+ if not MYPY:
2317
+ class ResourceMetricSourcePatchArgsDict(TypedDict):
2318
+ """
2319
+ ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
2320
+ """
2321
+ name: NotRequired[pulumi.Input[str]]
2322
+ """
2323
+ name is the name of the resource in question.
2324
+ """
2325
+ target_average_utilization: NotRequired[pulumi.Input[int]]
2326
+ """
2327
+ targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
2328
+ """
2329
+ target_average_value: NotRequired[pulumi.Input[str]]
2330
+ """
2331
+ targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
2332
+ """
2333
+ elif False:
2334
+ ResourceMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
2335
+
1724
2336
  @pulumi.input_type
1725
2337
  class ResourceMetricSourcePatchArgs:
1726
2338
  def __init__(__self__, *,
@@ -1777,6 +2389,26 @@ class ResourceMetricSourcePatchArgs:
1777
2389
  pulumi.set(self, "target_average_value", value)
1778
2390
 
1779
2391
 
2392
+ if not MYPY:
2393
+ class ResourceMetricSourceArgsDict(TypedDict):
2394
+ """
2395
+ ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
2396
+ """
2397
+ name: pulumi.Input[str]
2398
+ """
2399
+ name is the name of the resource in question.
2400
+ """
2401
+ target_average_utilization: NotRequired[pulumi.Input[int]]
2402
+ """
2403
+ targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
2404
+ """
2405
+ target_average_value: NotRequired[pulumi.Input[str]]
2406
+ """
2407
+ targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
2408
+ """
2409
+ elif False:
2410
+ ResourceMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
2411
+
1780
2412
  @pulumi.input_type
1781
2413
  class ResourceMetricSourceArgs:
1782
2414
  def __init__(__self__, *,
@@ -1832,6 +2464,26 @@ class ResourceMetricSourceArgs:
1832
2464
  pulumi.set(self, "target_average_value", value)
1833
2465
 
1834
2466
 
2467
+ if not MYPY:
2468
+ class ResourceMetricStatusArgsDict(TypedDict):
2469
+ """
2470
+ ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
2471
+ """
2472
+ current_average_value: pulumi.Input[str]
2473
+ """
2474
+ currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
2475
+ """
2476
+ name: pulumi.Input[str]
2477
+ """
2478
+ name is the name of the resource in question.
2479
+ """
2480
+ current_average_utilization: NotRequired[pulumi.Input[int]]
2481
+ """
2482
+ currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
2483
+ """
2484
+ elif False:
2485
+ ResourceMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2486
+
1835
2487
  @pulumi.input_type
1836
2488
  class ResourceMetricStatusArgs:
1837
2489
  def __init__(__self__, *,