pulumi-kubernetes 4.10.0a1710288589__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.0a1710288589.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.0a1710288589.dist-info → pulumi_kubernetes-4.20.0.dist-info}/WHEEL +1 -1
  597. pulumi_kubernetes-4.10.0a1710288589.dist-info/RECORD +0 -592
  598. {pulumi_kubernetes-4.10.0a1710288589.dist-info → pulumi_kubernetes-4.20.0.dist-info}/top_level.txt +0 -0
@@ -4,51 +4,114 @@
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
  'HPAScalingPolicyPatchArgs',
36
+ 'HPAScalingPolicyPatchArgsDict',
23
37
  'HPAScalingPolicyArgs',
38
+ 'HPAScalingPolicyArgsDict',
24
39
  'HPAScalingRulesPatchArgs',
40
+ 'HPAScalingRulesPatchArgsDict',
25
41
  'HPAScalingRulesArgs',
42
+ 'HPAScalingRulesArgsDict',
26
43
  'HorizontalPodAutoscalerBehaviorPatchArgs',
44
+ 'HorizontalPodAutoscalerBehaviorPatchArgsDict',
27
45
  'HorizontalPodAutoscalerBehaviorArgs',
46
+ 'HorizontalPodAutoscalerBehaviorArgsDict',
28
47
  'HorizontalPodAutoscalerConditionArgs',
48
+ 'HorizontalPodAutoscalerConditionArgsDict',
29
49
  'HorizontalPodAutoscalerSpecPatchArgs',
50
+ 'HorizontalPodAutoscalerSpecPatchArgsDict',
30
51
  'HorizontalPodAutoscalerSpecArgs',
52
+ 'HorizontalPodAutoscalerSpecArgsDict',
31
53
  'HorizontalPodAutoscalerStatusArgs',
54
+ 'HorizontalPodAutoscalerStatusArgsDict',
32
55
  'HorizontalPodAutoscalerArgs',
56
+ 'HorizontalPodAutoscalerArgsDict',
33
57
  'MetricIdentifierPatchArgs',
58
+ 'MetricIdentifierPatchArgsDict',
34
59
  'MetricIdentifierArgs',
60
+ 'MetricIdentifierArgsDict',
35
61
  'MetricSpecPatchArgs',
62
+ 'MetricSpecPatchArgsDict',
36
63
  'MetricSpecArgs',
64
+ 'MetricSpecArgsDict',
37
65
  'MetricStatusArgs',
66
+ 'MetricStatusArgsDict',
38
67
  'MetricTargetPatchArgs',
68
+ 'MetricTargetPatchArgsDict',
39
69
  'MetricTargetArgs',
70
+ 'MetricTargetArgsDict',
40
71
  'MetricValueStatusArgs',
72
+ 'MetricValueStatusArgsDict',
41
73
  'ObjectMetricSourcePatchArgs',
74
+ 'ObjectMetricSourcePatchArgsDict',
42
75
  'ObjectMetricSourceArgs',
76
+ 'ObjectMetricSourceArgsDict',
43
77
  'ObjectMetricStatusArgs',
78
+ 'ObjectMetricStatusArgsDict',
44
79
  'PodsMetricSourcePatchArgs',
80
+ 'PodsMetricSourcePatchArgsDict',
45
81
  'PodsMetricSourceArgs',
82
+ 'PodsMetricSourceArgsDict',
46
83
  'PodsMetricStatusArgs',
84
+ 'PodsMetricStatusArgsDict',
47
85
  'ResourceMetricSourcePatchArgs',
86
+ 'ResourceMetricSourcePatchArgsDict',
48
87
  'ResourceMetricSourceArgs',
88
+ 'ResourceMetricSourceArgsDict',
49
89
  'ResourceMetricStatusArgs',
90
+ 'ResourceMetricStatusArgsDict',
50
91
  ]
51
92
 
93
+ MYPY = False
94
+
95
+ if not MYPY:
96
+ class ContainerResourceMetricSourcePatchArgsDict(TypedDict):
97
+ """
98
+ 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.
99
+ """
100
+ container: NotRequired[pulumi.Input[str]]
101
+ """
102
+ container is the name of the container in the pods of the scaling target
103
+ """
104
+ name: NotRequired[pulumi.Input[str]]
105
+ """
106
+ name is the name of the resource in question.
107
+ """
108
+ target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
109
+ """
110
+ target specifies the target value for the given metric
111
+ """
112
+ elif False:
113
+ ContainerResourceMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
114
+
52
115
  @pulumi.input_type
53
116
  class ContainerResourceMetricSourcePatchArgs:
54
117
  def __init__(__self__, *,
@@ -105,6 +168,26 @@ class ContainerResourceMetricSourcePatchArgs:
105
168
  pulumi.set(self, "target", value)
106
169
 
107
170
 
171
+ if not MYPY:
172
+ class ContainerResourceMetricSourceArgsDict(TypedDict):
173
+ """
174
+ 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.
175
+ """
176
+ container: pulumi.Input[str]
177
+ """
178
+ container is the name of the container in the pods of the scaling target
179
+ """
180
+ name: pulumi.Input[str]
181
+ """
182
+ name is the name of the resource in question.
183
+ """
184
+ target: pulumi.Input['MetricTargetArgsDict']
185
+ """
186
+ target specifies the target value for the given metric
187
+ """
188
+ elif False:
189
+ ContainerResourceMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
190
+
108
191
  @pulumi.input_type
109
192
  class ContainerResourceMetricSourceArgs:
110
193
  def __init__(__self__, *,
@@ -158,6 +241,26 @@ class ContainerResourceMetricSourceArgs:
158
241
  pulumi.set(self, "target", value)
159
242
 
160
243
 
244
+ if not MYPY:
245
+ class ContainerResourceMetricStatusArgsDict(TypedDict):
246
+ """
247
+ 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.
248
+ """
249
+ container: pulumi.Input[str]
250
+ """
251
+ container is the name of the container in the pods of the scaling target
252
+ """
253
+ current: pulumi.Input['MetricValueStatusArgsDict']
254
+ """
255
+ current contains the current value for the given metric
256
+ """
257
+ name: pulumi.Input[str]
258
+ """
259
+ name is the name of the resource in question.
260
+ """
261
+ elif False:
262
+ ContainerResourceMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
263
+
161
264
  @pulumi.input_type
162
265
  class ContainerResourceMetricStatusArgs:
163
266
  def __init__(__self__, *,
@@ -211,6 +314,26 @@ class ContainerResourceMetricStatusArgs:
211
314
  pulumi.set(self, "name", value)
212
315
 
213
316
 
317
+ if not MYPY:
318
+ class CrossVersionObjectReferencePatchArgsDict(TypedDict):
319
+ """
320
+ CrossVersionObjectReference contains enough information to let you identify the referred resource.
321
+ """
322
+ api_version: NotRequired[pulumi.Input[str]]
323
+ """
324
+ apiVersion is the API version of the referent
325
+ """
326
+ kind: NotRequired[pulumi.Input[str]]
327
+ """
328
+ kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
329
+ """
330
+ name: NotRequired[pulumi.Input[str]]
331
+ """
332
+ name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
333
+ """
334
+ elif False:
335
+ CrossVersionObjectReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
336
+
214
337
  @pulumi.input_type
215
338
  class CrossVersionObjectReferencePatchArgs:
216
339
  def __init__(__self__, *,
@@ -267,6 +390,26 @@ class CrossVersionObjectReferencePatchArgs:
267
390
  pulumi.set(self, "name", value)
268
391
 
269
392
 
393
+ if not MYPY:
394
+ class CrossVersionObjectReferenceArgsDict(TypedDict):
395
+ """
396
+ CrossVersionObjectReference contains enough information to let you identify the referred resource.
397
+ """
398
+ kind: pulumi.Input[str]
399
+ """
400
+ kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
401
+ """
402
+ name: pulumi.Input[str]
403
+ """
404
+ name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
405
+ """
406
+ api_version: NotRequired[pulumi.Input[str]]
407
+ """
408
+ apiVersion is the API version of the referent
409
+ """
410
+ elif False:
411
+ CrossVersionObjectReferenceArgsDict: TypeAlias = Mapping[str, Any]
412
+
270
413
  @pulumi.input_type
271
414
  class CrossVersionObjectReferenceArgs:
272
415
  def __init__(__self__, *,
@@ -321,6 +464,22 @@ class CrossVersionObjectReferenceArgs:
321
464
  pulumi.set(self, "api_version", value)
322
465
 
323
466
 
467
+ if not MYPY:
468
+ class ExternalMetricSourcePatchArgsDict(TypedDict):
469
+ """
470
+ 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).
471
+ """
472
+ metric: NotRequired[pulumi.Input['MetricIdentifierPatchArgsDict']]
473
+ """
474
+ metric identifies the target metric by name and selector
475
+ """
476
+ target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
477
+ """
478
+ target specifies the target value for the given metric
479
+ """
480
+ elif False:
481
+ ExternalMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
482
+
324
483
  @pulumi.input_type
325
484
  class ExternalMetricSourcePatchArgs:
326
485
  def __init__(__self__, *,
@@ -361,6 +520,22 @@ class ExternalMetricSourcePatchArgs:
361
520
  pulumi.set(self, "target", value)
362
521
 
363
522
 
523
+ if not MYPY:
524
+ class ExternalMetricSourceArgsDict(TypedDict):
525
+ """
526
+ 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).
527
+ """
528
+ metric: pulumi.Input['MetricIdentifierArgsDict']
529
+ """
530
+ metric identifies the target metric by name and selector
531
+ """
532
+ target: pulumi.Input['MetricTargetArgsDict']
533
+ """
534
+ target specifies the target value for the given metric
535
+ """
536
+ elif False:
537
+ ExternalMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
538
+
364
539
  @pulumi.input_type
365
540
  class ExternalMetricSourceArgs:
366
541
  def __init__(__self__, *,
@@ -399,6 +574,22 @@ class ExternalMetricSourceArgs:
399
574
  pulumi.set(self, "target", value)
400
575
 
401
576
 
577
+ if not MYPY:
578
+ class ExternalMetricStatusArgsDict(TypedDict):
579
+ """
580
+ ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
581
+ """
582
+ current: pulumi.Input['MetricValueStatusArgsDict']
583
+ """
584
+ current contains the current value for the given metric
585
+ """
586
+ metric: pulumi.Input['MetricIdentifierArgsDict']
587
+ """
588
+ metric identifies the target metric by name and selector
589
+ """
590
+ elif False:
591
+ ExternalMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
592
+
402
593
  @pulumi.input_type
403
594
  class ExternalMetricStatusArgs:
404
595
  def __init__(__self__, *,
@@ -437,6 +628,26 @@ class ExternalMetricStatusArgs:
437
628
  pulumi.set(self, "metric", value)
438
629
 
439
630
 
631
+ if not MYPY:
632
+ class HPAScalingPolicyPatchArgsDict(TypedDict):
633
+ """
634
+ HPAScalingPolicy is a single policy which must hold true for a specified past interval.
635
+ """
636
+ period_seconds: NotRequired[pulumi.Input[int]]
637
+ """
638
+ periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
639
+ """
640
+ type: NotRequired[pulumi.Input[str]]
641
+ """
642
+ type is used to specify the scaling policy.
643
+ """
644
+ value: NotRequired[pulumi.Input[int]]
645
+ """
646
+ value contains the amount of change which is permitted by the policy. It must be greater than zero
647
+ """
648
+ elif False:
649
+ HPAScalingPolicyPatchArgsDict: TypeAlias = Mapping[str, Any]
650
+
440
651
  @pulumi.input_type
441
652
  class HPAScalingPolicyPatchArgs:
442
653
  def __init__(__self__, *,
@@ -493,6 +704,26 @@ class HPAScalingPolicyPatchArgs:
493
704
  pulumi.set(self, "value", value)
494
705
 
495
706
 
707
+ if not MYPY:
708
+ class HPAScalingPolicyArgsDict(TypedDict):
709
+ """
710
+ HPAScalingPolicy is a single policy which must hold true for a specified past interval.
711
+ """
712
+ period_seconds: pulumi.Input[int]
713
+ """
714
+ periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
715
+ """
716
+ type: pulumi.Input[str]
717
+ """
718
+ type is used to specify the scaling policy.
719
+ """
720
+ value: pulumi.Input[int]
721
+ """
722
+ value contains the amount of change which is permitted by the policy. It must be greater than zero
723
+ """
724
+ elif False:
725
+ HPAScalingPolicyArgsDict: TypeAlias = Mapping[str, Any]
726
+
496
727
  @pulumi.input_type
497
728
  class HPAScalingPolicyArgs:
498
729
  def __init__(__self__, *,
@@ -546,6 +777,26 @@ class HPAScalingPolicyArgs:
546
777
  pulumi.set(self, "value", value)
547
778
 
548
779
 
780
+ if not MYPY:
781
+ class HPAScalingRulesPatchArgsDict(TypedDict):
782
+ """
783
+ HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
784
+ """
785
+ policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgsDict']]]]
786
+ """
787
+ policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
788
+ """
789
+ select_policy: NotRequired[pulumi.Input[str]]
790
+ """
791
+ selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
792
+ """
793
+ stabilization_window_seconds: NotRequired[pulumi.Input[int]]
794
+ """
795
+ stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
796
+ """
797
+ elif False:
798
+ HPAScalingRulesPatchArgsDict: TypeAlias = Mapping[str, Any]
799
+
549
800
  @pulumi.input_type
550
801
  class HPAScalingRulesPatchArgs:
551
802
  def __init__(__self__, *,
@@ -602,6 +853,26 @@ class HPAScalingRulesPatchArgs:
602
853
  pulumi.set(self, "stabilization_window_seconds", value)
603
854
 
604
855
 
856
+ if not MYPY:
857
+ class HPAScalingRulesArgsDict(TypedDict):
858
+ """
859
+ HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
860
+ """
861
+ policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgsDict']]]]
862
+ """
863
+ policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
864
+ """
865
+ select_policy: NotRequired[pulumi.Input[str]]
866
+ """
867
+ selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
868
+ """
869
+ stabilization_window_seconds: NotRequired[pulumi.Input[int]]
870
+ """
871
+ stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
872
+ """
873
+ elif False:
874
+ HPAScalingRulesArgsDict: TypeAlias = Mapping[str, Any]
875
+
605
876
  @pulumi.input_type
606
877
  class HPAScalingRulesArgs:
607
878
  def __init__(__self__, *,
@@ -658,6 +929,25 @@ class HPAScalingRulesArgs:
658
929
  pulumi.set(self, "stabilization_window_seconds", value)
659
930
 
660
931
 
932
+ if not MYPY:
933
+ class HorizontalPodAutoscalerBehaviorPatchArgsDict(TypedDict):
934
+ """
935
+ HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
936
+ """
937
+ scale_down: NotRequired[pulumi.Input['HPAScalingRulesPatchArgsDict']]
938
+ """
939
+ scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
940
+ """
941
+ scale_up: NotRequired[pulumi.Input['HPAScalingRulesPatchArgsDict']]
942
+ """
943
+ scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
944
+ * increase no more than 4 pods per 60 seconds
945
+ * double the number of pods per 60 seconds
946
+ No stabilization is used.
947
+ """
948
+ elif False:
949
+ HorizontalPodAutoscalerBehaviorPatchArgsDict: TypeAlias = Mapping[str, Any]
950
+
661
951
  @pulumi.input_type
662
952
  class HorizontalPodAutoscalerBehaviorPatchArgs:
663
953
  def __init__(__self__, *,
@@ -704,6 +994,25 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
704
994
  pulumi.set(self, "scale_up", value)
705
995
 
706
996
 
997
+ if not MYPY:
998
+ class HorizontalPodAutoscalerBehaviorArgsDict(TypedDict):
999
+ """
1000
+ HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
1001
+ """
1002
+ scale_down: NotRequired[pulumi.Input['HPAScalingRulesArgsDict']]
1003
+ """
1004
+ scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
1005
+ """
1006
+ scale_up: NotRequired[pulumi.Input['HPAScalingRulesArgsDict']]
1007
+ """
1008
+ scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
1009
+ * increase no more than 4 pods per 60 seconds
1010
+ * double the number of pods per 60 seconds
1011
+ No stabilization is used.
1012
+ """
1013
+ elif False:
1014
+ HorizontalPodAutoscalerBehaviorArgsDict: TypeAlias = Mapping[str, Any]
1015
+
707
1016
  @pulumi.input_type
708
1017
  class HorizontalPodAutoscalerBehaviorArgs:
709
1018
  def __init__(__self__, *,
@@ -750,6 +1059,34 @@ class HorizontalPodAutoscalerBehaviorArgs:
750
1059
  pulumi.set(self, "scale_up", value)
751
1060
 
752
1061
 
1062
+ if not MYPY:
1063
+ class HorizontalPodAutoscalerConditionArgsDict(TypedDict):
1064
+ """
1065
+ HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
1066
+ """
1067
+ status: pulumi.Input[str]
1068
+ """
1069
+ status is the status of the condition (True, False, Unknown)
1070
+ """
1071
+ type: pulumi.Input[str]
1072
+ """
1073
+ type describes the current condition
1074
+ """
1075
+ last_transition_time: NotRequired[pulumi.Input[str]]
1076
+ """
1077
+ lastTransitionTime is the last time the condition transitioned from one status to another
1078
+ """
1079
+ message: NotRequired[pulumi.Input[str]]
1080
+ """
1081
+ message is a human-readable explanation containing details about the transition
1082
+ """
1083
+ reason: NotRequired[pulumi.Input[str]]
1084
+ """
1085
+ reason is the reason for the condition's last transition.
1086
+ """
1087
+ elif False:
1088
+ HorizontalPodAutoscalerConditionArgsDict: TypeAlias = Mapping[str, Any]
1089
+
753
1090
  @pulumi.input_type
754
1091
  class HorizontalPodAutoscalerConditionArgs:
755
1092
  def __init__(__self__, *,
@@ -836,6 +1173,34 @@ class HorizontalPodAutoscalerConditionArgs:
836
1173
  pulumi.set(self, "reason", value)
837
1174
 
838
1175
 
1176
+ if not MYPY:
1177
+ class HorizontalPodAutoscalerSpecPatchArgsDict(TypedDict):
1178
+ """
1179
+ HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
1180
+ """
1181
+ behavior: NotRequired[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgsDict']]
1182
+ """
1183
+ behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
1184
+ """
1185
+ max_replicas: NotRequired[pulumi.Input[int]]
1186
+ """
1187
+ maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1188
+ """
1189
+ metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgsDict']]]]
1190
+ """
1191
+ 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. If not set, the default metric will be set to 80% average CPU utilization.
1192
+ """
1193
+ min_replicas: NotRequired[pulumi.Input[int]]
1194
+ """
1195
+ 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.
1196
+ """
1197
+ scale_target_ref: NotRequired[pulumi.Input['CrossVersionObjectReferencePatchArgsDict']]
1198
+ """
1199
+ 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.
1200
+ """
1201
+ elif False:
1202
+ HorizontalPodAutoscalerSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1203
+
839
1204
  @pulumi.input_type
840
1205
  class HorizontalPodAutoscalerSpecPatchArgs:
841
1206
  def __init__(__self__, *,
@@ -924,6 +1289,34 @@ class HorizontalPodAutoscalerSpecPatchArgs:
924
1289
  pulumi.set(self, "scale_target_ref", value)
925
1290
 
926
1291
 
1292
+ if not MYPY:
1293
+ class HorizontalPodAutoscalerSpecArgsDict(TypedDict):
1294
+ """
1295
+ HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
1296
+ """
1297
+ max_replicas: pulumi.Input[int]
1298
+ """
1299
+ maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1300
+ """
1301
+ scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgsDict']
1302
+ """
1303
+ 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.
1304
+ """
1305
+ behavior: NotRequired[pulumi.Input['HorizontalPodAutoscalerBehaviorArgsDict']]
1306
+ """
1307
+ behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
1308
+ """
1309
+ metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgsDict']]]]
1310
+ """
1311
+ 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. If not set, the default metric will be set to 80% average CPU utilization.
1312
+ """
1313
+ min_replicas: NotRequired[pulumi.Input[int]]
1314
+ """
1315
+ 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.
1316
+ """
1317
+ elif False:
1318
+ HorizontalPodAutoscalerSpecArgsDict: TypeAlias = Mapping[str, Any]
1319
+
927
1320
  @pulumi.input_type
928
1321
  class HorizontalPodAutoscalerSpecArgs:
929
1322
  def __init__(__self__, *,
@@ -1010,6 +1403,38 @@ class HorizontalPodAutoscalerSpecArgs:
1010
1403
  pulumi.set(self, "min_replicas", value)
1011
1404
 
1012
1405
 
1406
+ if not MYPY:
1407
+ class HorizontalPodAutoscalerStatusArgsDict(TypedDict):
1408
+ """
1409
+ HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
1410
+ """
1411
+ desired_replicas: pulumi.Input[int]
1412
+ """
1413
+ desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
1414
+ """
1415
+ conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgsDict']]]]
1416
+ """
1417
+ conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
1418
+ """
1419
+ current_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgsDict']]]]
1420
+ """
1421
+ currentMetrics is the last read state of the metrics used by this autoscaler.
1422
+ """
1423
+ current_replicas: NotRequired[pulumi.Input[int]]
1424
+ """
1425
+ currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
1426
+ """
1427
+ last_scale_time: NotRequired[pulumi.Input[str]]
1428
+ """
1429
+ 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.
1430
+ """
1431
+ observed_generation: NotRequired[pulumi.Input[int]]
1432
+ """
1433
+ observedGeneration is the most recent generation observed by this autoscaler.
1434
+ """
1435
+ elif False:
1436
+ HorizontalPodAutoscalerStatusArgsDict: TypeAlias = Mapping[str, Any]
1437
+
1013
1438
  @pulumi.input_type
1014
1439
  class HorizontalPodAutoscalerStatusArgs:
1015
1440
  def __init__(__self__, *,
@@ -1113,6 +1538,34 @@ class HorizontalPodAutoscalerStatusArgs:
1113
1538
  pulumi.set(self, "observed_generation", value)
1114
1539
 
1115
1540
 
1541
+ if not MYPY:
1542
+ class HorizontalPodAutoscalerArgsDict(TypedDict):
1543
+ """
1544
+ 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.
1545
+ """
1546
+ api_version: NotRequired[pulumi.Input[str]]
1547
+ """
1548
+ 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
1549
+ """
1550
+ kind: NotRequired[pulumi.Input[str]]
1551
+ """
1552
+ 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
1553
+ """
1554
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1555
+ """
1556
+ metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1557
+ """
1558
+ spec: NotRequired[pulumi.Input['HorizontalPodAutoscalerSpecArgsDict']]
1559
+ """
1560
+ 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.
1561
+ """
1562
+ status: NotRequired[pulumi.Input['HorizontalPodAutoscalerStatusArgsDict']]
1563
+ """
1564
+ status is the current information about the autoscaler.
1565
+ """
1566
+ elif False:
1567
+ HorizontalPodAutoscalerArgsDict: TypeAlias = Mapping[str, Any]
1568
+
1116
1569
  @pulumi.input_type
1117
1570
  class HorizontalPodAutoscalerArgs:
1118
1571
  def __init__(__self__, *,
@@ -1201,6 +1654,22 @@ class HorizontalPodAutoscalerArgs:
1201
1654
  pulumi.set(self, "status", value)
1202
1655
 
1203
1656
 
1657
+ if not MYPY:
1658
+ class MetricIdentifierPatchArgsDict(TypedDict):
1659
+ """
1660
+ MetricIdentifier defines the name and optionally selector for a metric
1661
+ """
1662
+ name: NotRequired[pulumi.Input[str]]
1663
+ """
1664
+ name is the name of the given metric
1665
+ """
1666
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
1667
+ """
1668
+ 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.
1669
+ """
1670
+ elif False:
1671
+ MetricIdentifierPatchArgsDict: TypeAlias = Mapping[str, Any]
1672
+
1204
1673
  @pulumi.input_type
1205
1674
  class MetricIdentifierPatchArgs:
1206
1675
  def __init__(__self__, *,
@@ -1241,6 +1710,22 @@ class MetricIdentifierPatchArgs:
1241
1710
  pulumi.set(self, "selector", value)
1242
1711
 
1243
1712
 
1713
+ if not MYPY:
1714
+ class MetricIdentifierArgsDict(TypedDict):
1715
+ """
1716
+ MetricIdentifier defines the name and optionally selector for a metric
1717
+ """
1718
+ name: pulumi.Input[str]
1719
+ """
1720
+ name is the name of the given metric
1721
+ """
1722
+ selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
1723
+ """
1724
+ 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.
1725
+ """
1726
+ elif False:
1727
+ MetricIdentifierArgsDict: TypeAlias = Mapping[str, Any]
1728
+
1244
1729
  @pulumi.input_type
1245
1730
  class MetricIdentifierArgs:
1246
1731
  def __init__(__self__, *,
@@ -1280,6 +1765,38 @@ class MetricIdentifierArgs:
1280
1765
  pulumi.set(self, "selector", value)
1281
1766
 
1282
1767
 
1768
+ if not MYPY:
1769
+ class MetricSpecPatchArgsDict(TypedDict):
1770
+ """
1771
+ MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1772
+ """
1773
+ container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourcePatchArgsDict']]
1774
+ """
1775
+ containerResource 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.
1776
+ """
1777
+ external: NotRequired[pulumi.Input['ExternalMetricSourcePatchArgsDict']]
1778
+ """
1779
+ 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).
1780
+ """
1781
+ object: NotRequired[pulumi.Input['ObjectMetricSourcePatchArgsDict']]
1782
+ """
1783
+ object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1784
+ """
1785
+ pods: NotRequired[pulumi.Input['PodsMetricSourcePatchArgsDict']]
1786
+ """
1787
+ 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.
1788
+ """
1789
+ resource: NotRequired[pulumi.Input['ResourceMetricSourcePatchArgsDict']]
1790
+ """
1791
+ 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.
1792
+ """
1793
+ type: NotRequired[pulumi.Input[str]]
1794
+ """
1795
+ type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1796
+ """
1797
+ elif False:
1798
+ MetricSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1799
+
1283
1800
  @pulumi.input_type
1284
1801
  class MetricSpecPatchArgs:
1285
1802
  def __init__(__self__, *,
@@ -1291,12 +1808,12 @@ class MetricSpecPatchArgs:
1291
1808
  type: Optional[pulumi.Input[str]] = None):
1292
1809
  """
1293
1810
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1294
- :param pulumi.Input['ContainerResourceMetricSourcePatchArgs'] container_resource: containerResource 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.
1811
+ :param pulumi.Input['ContainerResourceMetricSourcePatchArgs'] container_resource: containerResource 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.
1295
1812
  :param pulumi.Input['ExternalMetricSourcePatchArgs'] external: 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).
1296
1813
  :param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1297
1814
  :param pulumi.Input['PodsMetricSourcePatchArgs'] pods: 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.
1298
1815
  :param pulumi.Input['ResourceMetricSourcePatchArgs'] resource: 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.
1299
- :param pulumi.Input[str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1816
+ :param pulumi.Input[str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1300
1817
  """
1301
1818
  if container_resource is not None:
1302
1819
  pulumi.set(__self__, "container_resource", container_resource)
@@ -1315,7 +1832,7 @@ class MetricSpecPatchArgs:
1315
1832
  @pulumi.getter(name="containerResource")
1316
1833
  def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]:
1317
1834
  """
1318
- containerResource 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.
1835
+ containerResource 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.
1319
1836
  """
1320
1837
  return pulumi.get(self, "container_resource")
1321
1838
 
@@ -1375,7 +1892,7 @@ class MetricSpecPatchArgs:
1375
1892
  @pulumi.getter
1376
1893
  def type(self) -> Optional[pulumi.Input[str]]:
1377
1894
  """
1378
- type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1895
+ type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1379
1896
  """
1380
1897
  return pulumi.get(self, "type")
1381
1898
 
@@ -1384,6 +1901,38 @@ class MetricSpecPatchArgs:
1384
1901
  pulumi.set(self, "type", value)
1385
1902
 
1386
1903
 
1904
+ if not MYPY:
1905
+ class MetricSpecArgsDict(TypedDict):
1906
+ """
1907
+ MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1908
+ """
1909
+ type: pulumi.Input[str]
1910
+ """
1911
+ type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1912
+ """
1913
+ container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourceArgsDict']]
1914
+ """
1915
+ containerResource 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.
1916
+ """
1917
+ external: NotRequired[pulumi.Input['ExternalMetricSourceArgsDict']]
1918
+ """
1919
+ 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).
1920
+ """
1921
+ object: NotRequired[pulumi.Input['ObjectMetricSourceArgsDict']]
1922
+ """
1923
+ object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1924
+ """
1925
+ pods: NotRequired[pulumi.Input['PodsMetricSourceArgsDict']]
1926
+ """
1927
+ 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.
1928
+ """
1929
+ resource: NotRequired[pulumi.Input['ResourceMetricSourceArgsDict']]
1930
+ """
1931
+ 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.
1932
+ """
1933
+ elif False:
1934
+ MetricSpecArgsDict: TypeAlias = Mapping[str, Any]
1935
+
1387
1936
  @pulumi.input_type
1388
1937
  class MetricSpecArgs:
1389
1938
  def __init__(__self__, *,
@@ -1395,8 +1944,8 @@ class MetricSpecArgs:
1395
1944
  resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
1396
1945
  """
1397
1946
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1398
- :param pulumi.Input[str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1399
- :param pulumi.Input['ContainerResourceMetricSourceArgs'] container_resource: containerResource 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.
1947
+ :param pulumi.Input[str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1948
+ :param pulumi.Input['ContainerResourceMetricSourceArgs'] container_resource: containerResource 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.
1400
1949
  :param pulumi.Input['ExternalMetricSourceArgs'] external: 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).
1401
1950
  :param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1402
1951
  :param pulumi.Input['PodsMetricSourceArgs'] pods: 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.
@@ -1418,7 +1967,7 @@ class MetricSpecArgs:
1418
1967
  @pulumi.getter
1419
1968
  def type(self) -> pulumi.Input[str]:
1420
1969
  """
1421
- type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
1970
+ type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
1422
1971
  """
1423
1972
  return pulumi.get(self, "type")
1424
1973
 
@@ -1430,7 +1979,7 @@ class MetricSpecArgs:
1430
1979
  @pulumi.getter(name="containerResource")
1431
1980
  def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]:
1432
1981
  """
1433
- containerResource 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.
1982
+ containerResource 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.
1434
1983
  """
1435
1984
  return pulumi.get(self, "container_resource")
1436
1985
 
@@ -1487,6 +2036,38 @@ class MetricSpecArgs:
1487
2036
  pulumi.set(self, "resource", value)
1488
2037
 
1489
2038
 
2039
+ if not MYPY:
2040
+ class MetricStatusArgsDict(TypedDict):
2041
+ """
2042
+ MetricStatus describes the last-read state of a single metric.
2043
+ """
2044
+ type: pulumi.Input[str]
2045
+ """
2046
+ type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
2047
+ """
2048
+ container_resource: NotRequired[pulumi.Input['ContainerResourceMetricStatusArgsDict']]
2049
+ """
2050
+ 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.
2051
+ """
2052
+ external: NotRequired[pulumi.Input['ExternalMetricStatusArgsDict']]
2053
+ """
2054
+ 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).
2055
+ """
2056
+ object: NotRequired[pulumi.Input['ObjectMetricStatusArgsDict']]
2057
+ """
2058
+ object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
2059
+ """
2060
+ pods: NotRequired[pulumi.Input['PodsMetricStatusArgsDict']]
2061
+ """
2062
+ 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.
2063
+ """
2064
+ resource: NotRequired[pulumi.Input['ResourceMetricStatusArgsDict']]
2065
+ """
2066
+ 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.
2067
+ """
2068
+ elif False:
2069
+ MetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2070
+
1490
2071
  @pulumi.input_type
1491
2072
  class MetricStatusArgs:
1492
2073
  def __init__(__self__, *,
@@ -1498,7 +2079,7 @@ class MetricStatusArgs:
1498
2079
  resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
1499
2080
  """
1500
2081
  MetricStatus describes the last-read state of a single metric.
1501
- :param pulumi.Input[str] type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
2082
+ :param pulumi.Input[str] type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
1502
2083
  :param pulumi.Input['ContainerResourceMetricStatusArgs'] container_resource: 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.
1503
2084
  :param pulumi.Input['ExternalMetricStatusArgs'] external: 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).
1504
2085
  :param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
@@ -1521,7 +2102,7 @@ class MetricStatusArgs:
1521
2102
  @pulumi.getter
1522
2103
  def type(self) -> pulumi.Input[str]:
1523
2104
  """
1524
- type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
2105
+ type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
1525
2106
  """
1526
2107
  return pulumi.get(self, "type")
1527
2108
 
@@ -1590,6 +2171,30 @@ class MetricStatusArgs:
1590
2171
  pulumi.set(self, "resource", value)
1591
2172
 
1592
2173
 
2174
+ if not MYPY:
2175
+ class MetricTargetPatchArgsDict(TypedDict):
2176
+ """
2177
+ MetricTarget defines the target value, average value, or average utilization of a specific metric
2178
+ """
2179
+ average_utilization: NotRequired[pulumi.Input[int]]
2180
+ """
2181
+ averageUtilization 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. Currently only valid for Resource metric source type
2182
+ """
2183
+ average_value: NotRequired[pulumi.Input[str]]
2184
+ """
2185
+ averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2186
+ """
2187
+ type: NotRequired[pulumi.Input[str]]
2188
+ """
2189
+ type represents whether the metric type is Utilization, Value, or AverageValue
2190
+ """
2191
+ value: NotRequired[pulumi.Input[str]]
2192
+ """
2193
+ value is the target value of the metric (as a quantity).
2194
+ """
2195
+ elif False:
2196
+ MetricTargetPatchArgsDict: TypeAlias = Mapping[str, Any]
2197
+
1593
2198
  @pulumi.input_type
1594
2199
  class MetricTargetPatchArgs:
1595
2200
  def __init__(__self__, *,
@@ -1662,6 +2267,30 @@ class MetricTargetPatchArgs:
1662
2267
  pulumi.set(self, "value", value)
1663
2268
 
1664
2269
 
2270
+ if not MYPY:
2271
+ class MetricTargetArgsDict(TypedDict):
2272
+ """
2273
+ MetricTarget defines the target value, average value, or average utilization of a specific metric
2274
+ """
2275
+ type: pulumi.Input[str]
2276
+ """
2277
+ type represents whether the metric type is Utilization, Value, or AverageValue
2278
+ """
2279
+ average_utilization: NotRequired[pulumi.Input[int]]
2280
+ """
2281
+ averageUtilization 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. Currently only valid for Resource metric source type
2282
+ """
2283
+ average_value: NotRequired[pulumi.Input[str]]
2284
+ """
2285
+ averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2286
+ """
2287
+ value: NotRequired[pulumi.Input[str]]
2288
+ """
2289
+ value is the target value of the metric (as a quantity).
2290
+ """
2291
+ elif False:
2292
+ MetricTargetArgsDict: TypeAlias = Mapping[str, Any]
2293
+
1665
2294
  @pulumi.input_type
1666
2295
  class MetricTargetArgs:
1667
2296
  def __init__(__self__, *,
@@ -1733,6 +2362,26 @@ class MetricTargetArgs:
1733
2362
  pulumi.set(self, "value", value)
1734
2363
 
1735
2364
 
2365
+ if not MYPY:
2366
+ class MetricValueStatusArgsDict(TypedDict):
2367
+ """
2368
+ MetricValueStatus holds the current value for a metric
2369
+ """
2370
+ average_utilization: NotRequired[pulumi.Input[int]]
2371
+ """
2372
+ 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.
2373
+ """
2374
+ average_value: NotRequired[pulumi.Input[str]]
2375
+ """
2376
+ averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
2377
+ """
2378
+ value: NotRequired[pulumi.Input[str]]
2379
+ """
2380
+ value is the current value of the metric (as a quantity).
2381
+ """
2382
+ elif False:
2383
+ MetricValueStatusArgsDict: TypeAlias = Mapping[str, Any]
2384
+
1736
2385
  @pulumi.input_type
1737
2386
  class MetricValueStatusArgs:
1738
2387
  def __init__(__self__, *,
@@ -1789,6 +2438,26 @@ class MetricValueStatusArgs:
1789
2438
  pulumi.set(self, "value", value)
1790
2439
 
1791
2440
 
2441
+ if not MYPY:
2442
+ class ObjectMetricSourcePatchArgsDict(TypedDict):
2443
+ """
2444
+ ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
2445
+ """
2446
+ described_object: NotRequired[pulumi.Input['CrossVersionObjectReferencePatchArgsDict']]
2447
+ """
2448
+ describedObject specifies the descriptions of a object,such as kind,name apiVersion
2449
+ """
2450
+ metric: NotRequired[pulumi.Input['MetricIdentifierPatchArgsDict']]
2451
+ """
2452
+ metric identifies the target metric by name and selector
2453
+ """
2454
+ target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
2455
+ """
2456
+ target specifies the target value for the given metric
2457
+ """
2458
+ elif False:
2459
+ ObjectMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
2460
+
1792
2461
  @pulumi.input_type
1793
2462
  class ObjectMetricSourcePatchArgs:
1794
2463
  def __init__(__self__, *,
@@ -1845,6 +2514,26 @@ class ObjectMetricSourcePatchArgs:
1845
2514
  pulumi.set(self, "target", value)
1846
2515
 
1847
2516
 
2517
+ if not MYPY:
2518
+ class ObjectMetricSourceArgsDict(TypedDict):
2519
+ """
2520
+ ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
2521
+ """
2522
+ described_object: pulumi.Input['CrossVersionObjectReferenceArgsDict']
2523
+ """
2524
+ describedObject specifies the descriptions of a object,such as kind,name apiVersion
2525
+ """
2526
+ metric: pulumi.Input['MetricIdentifierArgsDict']
2527
+ """
2528
+ metric identifies the target metric by name and selector
2529
+ """
2530
+ target: pulumi.Input['MetricTargetArgsDict']
2531
+ """
2532
+ target specifies the target value for the given metric
2533
+ """
2534
+ elif False:
2535
+ ObjectMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
2536
+
1848
2537
  @pulumi.input_type
1849
2538
  class ObjectMetricSourceArgs:
1850
2539
  def __init__(__self__, *,
@@ -1898,6 +2587,26 @@ class ObjectMetricSourceArgs:
1898
2587
  pulumi.set(self, "target", value)
1899
2588
 
1900
2589
 
2590
+ if not MYPY:
2591
+ class ObjectMetricStatusArgsDict(TypedDict):
2592
+ """
2593
+ ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
2594
+ """
2595
+ current: pulumi.Input['MetricValueStatusArgsDict']
2596
+ """
2597
+ current contains the current value for the given metric
2598
+ """
2599
+ described_object: pulumi.Input['CrossVersionObjectReferenceArgsDict']
2600
+ """
2601
+ DescribedObject specifies the descriptions of a object,such as kind,name apiVersion
2602
+ """
2603
+ metric: pulumi.Input['MetricIdentifierArgsDict']
2604
+ """
2605
+ metric identifies the target metric by name and selector
2606
+ """
2607
+ elif False:
2608
+ ObjectMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2609
+
1901
2610
  @pulumi.input_type
1902
2611
  class ObjectMetricStatusArgs:
1903
2612
  def __init__(__self__, *,
@@ -1951,6 +2660,22 @@ class ObjectMetricStatusArgs:
1951
2660
  pulumi.set(self, "metric", value)
1952
2661
 
1953
2662
 
2663
+ if not MYPY:
2664
+ class PodsMetricSourcePatchArgsDict(TypedDict):
2665
+ """
2666
+ 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.
2667
+ """
2668
+ metric: NotRequired[pulumi.Input['MetricIdentifierPatchArgsDict']]
2669
+ """
2670
+ metric identifies the target metric by name and selector
2671
+ """
2672
+ target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
2673
+ """
2674
+ target specifies the target value for the given metric
2675
+ """
2676
+ elif False:
2677
+ PodsMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
2678
+
1954
2679
  @pulumi.input_type
1955
2680
  class PodsMetricSourcePatchArgs:
1956
2681
  def __init__(__self__, *,
@@ -1991,6 +2716,22 @@ class PodsMetricSourcePatchArgs:
1991
2716
  pulumi.set(self, "target", value)
1992
2717
 
1993
2718
 
2719
+ if not MYPY:
2720
+ class PodsMetricSourceArgsDict(TypedDict):
2721
+ """
2722
+ 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.
2723
+ """
2724
+ metric: pulumi.Input['MetricIdentifierArgsDict']
2725
+ """
2726
+ metric identifies the target metric by name and selector
2727
+ """
2728
+ target: pulumi.Input['MetricTargetArgsDict']
2729
+ """
2730
+ target specifies the target value for the given metric
2731
+ """
2732
+ elif False:
2733
+ PodsMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
2734
+
1994
2735
  @pulumi.input_type
1995
2736
  class PodsMetricSourceArgs:
1996
2737
  def __init__(__self__, *,
@@ -2029,6 +2770,22 @@ class PodsMetricSourceArgs:
2029
2770
  pulumi.set(self, "target", value)
2030
2771
 
2031
2772
 
2773
+ if not MYPY:
2774
+ class PodsMetricStatusArgsDict(TypedDict):
2775
+ """
2776
+ PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
2777
+ """
2778
+ current: pulumi.Input['MetricValueStatusArgsDict']
2779
+ """
2780
+ current contains the current value for the given metric
2781
+ """
2782
+ metric: pulumi.Input['MetricIdentifierArgsDict']
2783
+ """
2784
+ metric identifies the target metric by name and selector
2785
+ """
2786
+ elif False:
2787
+ PodsMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2788
+
2032
2789
  @pulumi.input_type
2033
2790
  class PodsMetricStatusArgs:
2034
2791
  def __init__(__self__, *,
@@ -2067,6 +2824,22 @@ class PodsMetricStatusArgs:
2067
2824
  pulumi.set(self, "metric", value)
2068
2825
 
2069
2826
 
2827
+ if not MYPY:
2828
+ class ResourceMetricSourcePatchArgsDict(TypedDict):
2829
+ """
2830
+ 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.
2831
+ """
2832
+ name: NotRequired[pulumi.Input[str]]
2833
+ """
2834
+ name is the name of the resource in question.
2835
+ """
2836
+ target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
2837
+ """
2838
+ target specifies the target value for the given metric
2839
+ """
2840
+ elif False:
2841
+ ResourceMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
2842
+
2070
2843
  @pulumi.input_type
2071
2844
  class ResourceMetricSourcePatchArgs:
2072
2845
  def __init__(__self__, *,
@@ -2107,6 +2880,22 @@ class ResourceMetricSourcePatchArgs:
2107
2880
  pulumi.set(self, "target", value)
2108
2881
 
2109
2882
 
2883
+ if not MYPY:
2884
+ class ResourceMetricSourceArgsDict(TypedDict):
2885
+ """
2886
+ 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.
2887
+ """
2888
+ name: pulumi.Input[str]
2889
+ """
2890
+ name is the name of the resource in question.
2891
+ """
2892
+ target: pulumi.Input['MetricTargetArgsDict']
2893
+ """
2894
+ target specifies the target value for the given metric
2895
+ """
2896
+ elif False:
2897
+ ResourceMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
2898
+
2110
2899
  @pulumi.input_type
2111
2900
  class ResourceMetricSourceArgs:
2112
2901
  def __init__(__self__, *,
@@ -2145,6 +2934,22 @@ class ResourceMetricSourceArgs:
2145
2934
  pulumi.set(self, "target", value)
2146
2935
 
2147
2936
 
2937
+ if not MYPY:
2938
+ class ResourceMetricStatusArgsDict(TypedDict):
2939
+ """
2940
+ 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.
2941
+ """
2942
+ current: pulumi.Input['MetricValueStatusArgsDict']
2943
+ """
2944
+ current contains the current value for the given metric
2945
+ """
2946
+ name: pulumi.Input[str]
2947
+ """
2948
+ name is the name of the resource in question.
2949
+ """
2950
+ elif False:
2951
+ ResourceMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
2952
+
2148
2953
  @pulumi.input_type
2149
2954
  class ResourceMetricStatusArgs:
2150
2955
  def __init__(__self__, *,