pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.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 (702) hide show
  1. pulumi_kubernetes/__init__.py +37 -2
  2. pulumi_kubernetes/_inputs.py +41 -40
  3. pulumi_kubernetes/admissionregistration/__init__.py +1 -0
  4. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
  6. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
  7. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
  15. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -16
  16. pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
  17. pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
  18. pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
  19. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +18 -16
  20. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
  21. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
  22. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
  23. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
  24. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
  25. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
  26. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
  27. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
  28. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
  29. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
  30. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
  31. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
  32. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
  33. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
  34. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
  35. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
  36. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
  37. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
  38. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
  39. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
  40. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
  41. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
  42. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
  43. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
  44. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
  45. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -16
  46. pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
  47. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
  48. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
  49. pulumi_kubernetes/apiextensions/__init__.py +1 -0
  50. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +18 -16
  51. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
  52. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -16
  53. pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
  54. pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
  55. pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
  56. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +18 -16
  57. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
  58. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -16
  59. pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
  60. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
  61. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
  62. pulumi_kubernetes/apiregistration/__init__.py +1 -0
  63. pulumi_kubernetes/apiregistration/v1/APIService.py +18 -16
  64. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
  65. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -16
  66. pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
  67. pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
  68. pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
  69. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +18 -16
  70. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
  71. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -16
  72. pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
  73. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
  74. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
  75. pulumi_kubernetes/apps/__init__.py +1 -0
  76. pulumi_kubernetes/apps/v1/ControllerRevision.py +26 -24
  77. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
  78. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
  79. pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
  80. pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
  81. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
  82. pulumi_kubernetes/apps/v1/Deployment.py +18 -16
  83. pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
  84. pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
  85. pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
  86. pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
  87. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
  88. pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
  89. pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
  90. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
  91. pulumi_kubernetes/apps/v1/__init__.py +1 -0
  92. pulumi_kubernetes/apps/v1/_inputs.py +664 -610
  93. pulumi_kubernetes/apps/v1/outputs.py +582 -508
  94. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
  95. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
  96. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
  97. pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
  98. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
  99. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
  100. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
  101. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
  102. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -16
  103. pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
  104. pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
  105. pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
  106. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +26 -24
  107. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
  108. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
  109. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
  110. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
  111. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
  112. pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
  113. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
  114. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
  115. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
  116. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
  117. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
  118. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
  119. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
  120. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -16
  121. pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
  122. pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
  123. pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
  124. pulumi_kubernetes/auditregistration/__init__.py +1 -0
  125. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +18 -16
  126. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
  127. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -16
  128. pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
  129. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
  130. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
  131. pulumi_kubernetes/autoscaling/__init__.py +1 -0
  132. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +18 -16
  133. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
  134. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -16
  135. pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
  136. pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
  137. pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
  138. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +18 -16
  139. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
  140. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
  141. pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
  142. pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
  143. pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
  144. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
  145. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
  146. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -16
  147. pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
  148. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
  149. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
  150. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +18 -16
  151. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
  152. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -16
  153. pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
  154. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
  155. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
  156. pulumi_kubernetes/batch/__init__.py +1 -0
  157. pulumi_kubernetes/batch/v1/CronJob.py +18 -16
  158. pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
  159. pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
  160. pulumi_kubernetes/batch/v1/Job.py +18 -16
  161. pulumi_kubernetes/batch/v1/JobList.py +18 -16
  162. pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
  163. pulumi_kubernetes/batch/v1/__init__.py +1 -0
  164. pulumi_kubernetes/batch/v1/_inputs.py +394 -423
  165. pulumi_kubernetes/batch/v1/outputs.py +293 -316
  166. pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
  167. pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
  168. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -16
  169. pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
  170. pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
  171. pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
  172. pulumi_kubernetes/batch/v2alpha1/CronJob.py +18 -16
  173. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
  174. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -16
  175. pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
  176. pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
  177. pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
  178. pulumi_kubernetes/certificates/__init__.py +1 -0
  179. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +18 -16
  180. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
  181. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -16
  182. pulumi_kubernetes/certificates/v1/__init__.py +1 -0
  183. pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
  184. pulumi_kubernetes/certificates/v1/outputs.py +97 -96
  185. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +20 -16
  186. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
  187. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -16
  188. pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
  189. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
  190. pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
  191. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +18 -16
  192. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
  193. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
  194. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
  195. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
  196. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
  197. pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
  198. pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
  199. pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
  200. pulumi_kubernetes/coordination/__init__.py +1 -0
  201. pulumi_kubernetes/coordination/v1/Lease.py +18 -16
  202. pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
  203. pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -16
  204. pulumi_kubernetes/coordination/v1/__init__.py +1 -0
  205. pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
  206. pulumi_kubernetes/coordination/v1/outputs.py +49 -48
  207. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +19 -17
  208. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
  209. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
  210. pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
  211. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
  212. pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
  213. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +19 -17
  214. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
  215. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
  216. pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
  217. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
  218. pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
  219. pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
  220. pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
  221. pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
  222. pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
  223. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
  224. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
  225. pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
  226. pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
  227. pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
  228. pulumi_kubernetes/core/__init__.py +1 -0
  229. pulumi_kubernetes/core/v1/Binding.py +18 -16
  230. pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
  231. pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
  232. pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
  233. pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
  234. pulumi_kubernetes/core/v1/Endpoints.py +26 -16
  235. pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
  236. pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
  237. pulumi_kubernetes/core/v1/Event.py +98 -96
  238. pulumi_kubernetes/core/v1/EventList.py +18 -16
  239. pulumi_kubernetes/core/v1/EventPatch.py +98 -96
  240. pulumi_kubernetes/core/v1/LimitRange.py +18 -16
  241. pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
  242. pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
  243. pulumi_kubernetes/core/v1/Namespace.py +18 -16
  244. pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
  245. pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
  246. pulumi_kubernetes/core/v1/Node.py +18 -16
  247. pulumi_kubernetes/core/v1/NodeList.py +18 -16
  248. pulumi_kubernetes/core/v1/NodePatch.py +18 -16
  249. pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
  250. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
  251. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
  252. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
  253. pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
  254. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
  255. pulumi_kubernetes/core/v1/Pod.py +18 -16
  256. pulumi_kubernetes/core/v1/PodList.py +18 -16
  257. pulumi_kubernetes/core/v1/PodPatch.py +18 -16
  258. pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
  259. pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
  260. pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
  261. pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
  262. pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
  263. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
  264. pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
  265. pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
  266. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
  267. pulumi_kubernetes/core/v1/Secret.py +50 -48
  268. pulumi_kubernetes/core/v1/SecretList.py +18 -16
  269. pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
  270. pulumi_kubernetes/core/v1/Service.py +18 -16
  271. pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
  272. pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
  273. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
  274. pulumi_kubernetes/core/v1/ServiceList.py +18 -16
  275. pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
  276. pulumi_kubernetes/core/v1/__init__.py +1 -0
  277. pulumi_kubernetes/core/v1/_enums.py +4 -1
  278. pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
  279. pulumi_kubernetes/core/v1/outputs.py +3853 -3652
  280. pulumi_kubernetes/discovery/__init__.py +1 -0
  281. pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
  282. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
  283. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
  284. pulumi_kubernetes/discovery/v1/__init__.py +1 -0
  285. pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
  286. pulumi_kubernetes/discovery/v1/outputs.py +184 -108
  287. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
  288. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
  289. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -24
  290. pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
  291. pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
  292. pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
  293. pulumi_kubernetes/events/__init__.py +1 -0
  294. pulumi_kubernetes/events/v1/Event.py +98 -96
  295. pulumi_kubernetes/events/v1/EventList.py +18 -16
  296. pulumi_kubernetes/events/v1/EventPatch.py +98 -96
  297. pulumi_kubernetes/events/v1/__init__.py +1 -0
  298. pulumi_kubernetes/events/v1/_inputs.py +81 -80
  299. pulumi_kubernetes/events/v1/outputs.py +49 -48
  300. pulumi_kubernetes/events/v1beta1/Event.py +98 -96
  301. pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
  302. pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -96
  303. pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
  304. pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
  305. pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
  306. pulumi_kubernetes/extensions/__init__.py +1 -0
  307. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +18 -16
  308. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
  309. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
  310. pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
  311. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
  312. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
  313. pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
  314. pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
  315. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
  316. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
  317. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
  318. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
  319. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
  320. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
  321. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
  322. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
  323. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
  324. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -16
  325. pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
  326. pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
  327. pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
  328. pulumi_kubernetes/flowcontrol/__init__.py +1 -0
  329. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +18 -16
  330. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
  331. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
  332. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
  333. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
  334. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -16
  335. pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
  336. pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
  337. pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
  338. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +18 -16
  339. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
  340. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
  341. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
  342. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
  343. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -16
  344. pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
  345. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
  346. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
  347. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +18 -16
  348. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
  349. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
  350. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
  351. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
  352. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -16
  353. pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
  354. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
  355. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
  356. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +18 -16
  357. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
  358. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
  359. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
  360. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
  361. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -16
  362. pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
  363. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
  364. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
  365. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +18 -16
  366. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
  367. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
  368. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
  369. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
  370. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -16
  371. pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
  372. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
  373. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
  374. pulumi_kubernetes/helm/__init__.py +1 -0
  375. pulumi_kubernetes/helm/v3/Release.py +247 -245
  376. pulumi_kubernetes/helm/v3/__init__.py +1 -0
  377. pulumi_kubernetes/helm/v3/_inputs.py +31 -30
  378. pulumi_kubernetes/helm/v3/outputs.py +41 -40
  379. pulumi_kubernetes/helm/v4/Chart.py +72 -70
  380. pulumi_kubernetes/helm/v4/__init__.py +1 -0
  381. pulumi_kubernetes/helm/v4/_inputs.py +26 -25
  382. pulumi_kubernetes/kustomize/__init__.py +1 -0
  383. pulumi_kubernetes/kustomize/v2/Directory.py +31 -29
  384. pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
  385. pulumi_kubernetes/meta/__init__.py +1 -0
  386. pulumi_kubernetes/meta/v1/Status.py +43 -41
  387. pulumi_kubernetes/meta/v1/StatusPatch.py +43 -41
  388. pulumi_kubernetes/meta/v1/__init__.py +1 -0
  389. pulumi_kubernetes/meta/v1/_inputs.py +451 -450
  390. pulumi_kubernetes/meta/v1/outputs.py +289 -288
  391. pulumi_kubernetes/networking/__init__.py +1 -0
  392. pulumi_kubernetes/networking/v1/IPAddress.py +218 -0
  393. pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
  394. pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
  395. pulumi_kubernetes/networking/v1/Ingress.py +18 -16
  396. pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
  397. pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
  398. pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
  399. pulumi_kubernetes/networking/v1/IngressList.py +18 -16
  400. pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
  401. pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
  402. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
  403. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
  404. pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
  405. pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
  406. pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
  407. pulumi_kubernetes/networking/v1/__init__.py +7 -0
  408. pulumi_kubernetes/networking/v1/_inputs.py +865 -265
  409. pulumi_kubernetes/networking/v1/outputs.py +632 -170
  410. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
  411. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
  412. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
  413. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
  414. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
  415. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
  416. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
  417. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
  418. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
  419. pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
  420. pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
  421. pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
  422. pulumi_kubernetes/networking/v1beta1/IPAddress.py +19 -17
  423. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
  424. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
  425. pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
  426. pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
  427. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
  428. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
  429. pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
  430. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
  431. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
  432. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
  433. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
  434. pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
  435. pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
  436. pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
  437. pulumi_kubernetes/node/__init__.py +1 -0
  438. pulumi_kubernetes/node/v1/RuntimeClass.py +26 -24
  439. pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
  440. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -24
  441. pulumi_kubernetes/node/v1/__init__.py +1 -0
  442. pulumi_kubernetes/node/v1/_inputs.py +36 -35
  443. pulumi_kubernetes/node/v1/outputs.py +22 -21
  444. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +18 -16
  445. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
  446. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -16
  447. pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
  448. pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
  449. pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
  450. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +26 -24
  451. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
  452. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -24
  453. pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
  454. pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
  455. pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
  456. pulumi_kubernetes/policy/__init__.py +1 -0
  457. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +18 -16
  458. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
  459. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
  460. pulumi_kubernetes/policy/v1/__init__.py +1 -0
  461. pulumi_kubernetes/policy/v1/_inputs.py +71 -82
  462. pulumi_kubernetes/policy/v1/outputs.py +53 -60
  463. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
  464. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
  465. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
  466. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
  467. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
  468. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -16
  469. pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
  470. pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
  471. pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
  472. pulumi_kubernetes/provider.py +93 -91
  473. pulumi_kubernetes/pulumi-plugin.json +1 -1
  474. pulumi_kubernetes/rbac/__init__.py +1 -0
  475. pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
  476. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
  477. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
  478. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
  479. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
  480. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
  481. pulumi_kubernetes/rbac/v1/Role.py +18 -16
  482. pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
  483. pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
  484. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
  485. pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
  486. pulumi_kubernetes/rbac/v1/RolePatch.py +18 -16
  487. pulumi_kubernetes/rbac/v1/__init__.py +1 -0
  488. pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
  489. pulumi_kubernetes/rbac/v1/outputs.py +97 -96
  490. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +18 -16
  491. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
  492. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
  493. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
  494. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
  495. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
  496. pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
  497. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
  498. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
  499. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
  500. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
  501. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -16
  502. pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
  503. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
  504. pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
  505. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +18 -16
  506. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
  507. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
  508. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
  509. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
  510. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
  511. pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
  512. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
  513. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
  514. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
  515. pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
  516. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -16
  517. pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
  518. pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
  519. pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
  520. pulumi_kubernetes/resource/__init__.py +4 -0
  521. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
  522. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
  523. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
  524. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
  525. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
  526. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
  527. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
  528. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
  529. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
  530. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
  531. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
  532. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -24
  533. pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
  534. pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
  535. pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
  536. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +18 -16
  537. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
  538. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
  539. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
  540. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
  541. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
  542. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
  543. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
  544. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
  545. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
  546. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
  547. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
  548. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
  549. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
  550. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
  551. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
  552. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
  553. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
  554. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
  555. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
  556. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
  557. pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
  558. pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
  559. pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
  560. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +19 -17
  561. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
  562. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
  563. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
  564. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
  565. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
  566. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
  567. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
  568. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
  569. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
  570. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
  571. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
  572. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
  573. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
  574. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
  575. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
  576. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
  577. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
  578. pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
  579. pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
  580. pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
  581. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
  582. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
  583. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
  584. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
  585. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
  586. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
  587. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
  588. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
  589. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
  590. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
  591. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
  592. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
  593. pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
  594. pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
  595. pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
  596. pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
  597. pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
  598. pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
  599. pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
  600. pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
  601. pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
  602. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
  603. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
  604. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
  605. pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
  606. pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
  607. pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
  608. pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
  609. pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
  610. pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
  611. pulumi_kubernetes/scheduling/__init__.py +1 -0
  612. pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
  613. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
  614. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -48
  615. pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
  616. pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
  617. pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
  618. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +50 -48
  619. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
  620. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -48
  621. pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
  622. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
  623. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
  624. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +50 -48
  625. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
  626. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -48
  627. pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
  628. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
  629. pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
  630. pulumi_kubernetes/settings/__init__.py +1 -0
  631. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +18 -16
  632. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
  633. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -16
  634. pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
  635. pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
  636. pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
  637. pulumi_kubernetes/storage/__init__.py +1 -0
  638. pulumi_kubernetes/storage/v1/CSIDriver.py +18 -16
  639. pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
  640. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
  641. pulumi_kubernetes/storage/v1/CSINode.py +18 -16
  642. pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
  643. pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
  644. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
  645. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
  646. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
  647. pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
  648. pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
  649. pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
  650. pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
  651. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
  652. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
  653. pulumi_kubernetes/storage/v1/__init__.py +1 -0
  654. pulumi_kubernetes/storage/v1/_inputs.py +366 -275
  655. pulumi_kubernetes/storage/v1/outputs.py +288 -177
  656. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
  657. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
  658. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
  659. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
  660. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
  661. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -32
  662. pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
  663. pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
  664. pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
  665. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +18 -16
  666. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
  667. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
  668. pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
  669. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
  670. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
  671. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
  672. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
  673. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
  674. pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
  675. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
  676. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
  677. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
  678. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
  679. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
  680. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
  681. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
  682. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -32
  683. pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
  684. pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
  685. pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
  686. pulumi_kubernetes/storagemigration/__init__.py +1 -0
  687. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +18 -16
  688. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
  689. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -16
  690. pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
  691. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
  692. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
  693. pulumi_kubernetes/yaml/__init__.py +1 -0
  694. pulumi_kubernetes/yaml/v2/ConfigFile.py +23 -21
  695. pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
  696. pulumi_kubernetes/yaml/v2/__init__.py +1 -0
  697. pulumi_kubernetes/yaml/yaml.py +108 -0
  698. {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
  699. pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
  700. {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
  701. pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
  702. {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumigen. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -97,11 +98,11 @@ if not MYPY:
97
98
  """
98
99
  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
  """
100
- container: NotRequired[pulumi.Input[str]]
101
+ container: NotRequired[pulumi.Input[builtins.str]]
101
102
  """
102
103
  container is the name of the container in the pods of the scaling target
103
104
  """
104
- name: NotRequired[pulumi.Input[str]]
105
+ name: NotRequired[pulumi.Input[builtins.str]]
105
106
  """
106
107
  name is the name of the resource in question.
107
108
  """
@@ -115,13 +116,13 @@ elif False:
115
116
  @pulumi.input_type
116
117
  class ContainerResourceMetricSourcePatchArgs:
117
118
  def __init__(__self__, *,
118
- container: Optional[pulumi.Input[str]] = None,
119
- name: Optional[pulumi.Input[str]] = None,
119
+ container: Optional[pulumi.Input[builtins.str]] = None,
120
+ name: Optional[pulumi.Input[builtins.str]] = None,
120
121
  target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
121
122
  """
122
123
  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.
123
- :param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
124
- :param pulumi.Input[str] name: name is the name of the resource in question.
124
+ :param pulumi.Input[builtins.str] container: container is the name of the container in the pods of the scaling target
125
+ :param pulumi.Input[builtins.str] name: name is the name of the resource in question.
125
126
  :param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
126
127
  """
127
128
  if container is not None:
@@ -133,26 +134,26 @@ class ContainerResourceMetricSourcePatchArgs:
133
134
 
134
135
  @property
135
136
  @pulumi.getter
136
- def container(self) -> Optional[pulumi.Input[str]]:
137
+ def container(self) -> Optional[pulumi.Input[builtins.str]]:
137
138
  """
138
139
  container is the name of the container in the pods of the scaling target
139
140
  """
140
141
  return pulumi.get(self, "container")
141
142
 
142
143
  @container.setter
143
- def container(self, value: Optional[pulumi.Input[str]]):
144
+ def container(self, value: Optional[pulumi.Input[builtins.str]]):
144
145
  pulumi.set(self, "container", value)
145
146
 
146
147
  @property
147
148
  @pulumi.getter
148
- def name(self) -> Optional[pulumi.Input[str]]:
149
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
149
150
  """
150
151
  name is the name of the resource in question.
151
152
  """
152
153
  return pulumi.get(self, "name")
153
154
 
154
155
  @name.setter
155
- def name(self, value: Optional[pulumi.Input[str]]):
156
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
156
157
  pulumi.set(self, "name", value)
157
158
 
158
159
  @property
@@ -173,11 +174,11 @@ if not MYPY:
173
174
  """
174
175
  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
  """
176
- container: pulumi.Input[str]
177
+ container: pulumi.Input[builtins.str]
177
178
  """
178
179
  container is the name of the container in the pods of the scaling target
179
180
  """
180
- name: pulumi.Input[str]
181
+ name: pulumi.Input[builtins.str]
181
182
  """
182
183
  name is the name of the resource in question.
183
184
  """
@@ -191,13 +192,13 @@ elif False:
191
192
  @pulumi.input_type
192
193
  class ContainerResourceMetricSourceArgs:
193
194
  def __init__(__self__, *,
194
- container: pulumi.Input[str],
195
- name: pulumi.Input[str],
195
+ container: pulumi.Input[builtins.str],
196
+ name: pulumi.Input[builtins.str],
196
197
  target: pulumi.Input['MetricTargetArgs']):
197
198
  """
198
199
  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.
199
- :param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
200
- :param pulumi.Input[str] name: name is the name of the resource in question.
200
+ :param pulumi.Input[builtins.str] container: container is the name of the container in the pods of the scaling target
201
+ :param pulumi.Input[builtins.str] name: name is the name of the resource in question.
201
202
  :param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
202
203
  """
203
204
  pulumi.set(__self__, "container", container)
@@ -206,26 +207,26 @@ class ContainerResourceMetricSourceArgs:
206
207
 
207
208
  @property
208
209
  @pulumi.getter
209
- def container(self) -> pulumi.Input[str]:
210
+ def container(self) -> pulumi.Input[builtins.str]:
210
211
  """
211
212
  container is the name of the container in the pods of the scaling target
212
213
  """
213
214
  return pulumi.get(self, "container")
214
215
 
215
216
  @container.setter
216
- def container(self, value: pulumi.Input[str]):
217
+ def container(self, value: pulumi.Input[builtins.str]):
217
218
  pulumi.set(self, "container", value)
218
219
 
219
220
  @property
220
221
  @pulumi.getter
221
- def name(self) -> pulumi.Input[str]:
222
+ def name(self) -> pulumi.Input[builtins.str]:
222
223
  """
223
224
  name is the name of the resource in question.
224
225
  """
225
226
  return pulumi.get(self, "name")
226
227
 
227
228
  @name.setter
228
- def name(self, value: pulumi.Input[str]):
229
+ def name(self, value: pulumi.Input[builtins.str]):
229
230
  pulumi.set(self, "name", value)
230
231
 
231
232
  @property
@@ -246,7 +247,7 @@ if not MYPY:
246
247
  """
247
248
  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
  """
249
- container: pulumi.Input[str]
250
+ container: pulumi.Input[builtins.str]
250
251
  """
251
252
  container is the name of the container in the pods of the scaling target
252
253
  """
@@ -254,7 +255,7 @@ if not MYPY:
254
255
  """
255
256
  current contains the current value for the given metric
256
257
  """
257
- name: pulumi.Input[str]
258
+ name: pulumi.Input[builtins.str]
258
259
  """
259
260
  name is the name of the resource in question.
260
261
  """
@@ -264,14 +265,14 @@ elif False:
264
265
  @pulumi.input_type
265
266
  class ContainerResourceMetricStatusArgs:
266
267
  def __init__(__self__, *,
267
- container: pulumi.Input[str],
268
+ container: pulumi.Input[builtins.str],
268
269
  current: pulumi.Input['MetricValueStatusArgs'],
269
- name: pulumi.Input[str]):
270
+ name: pulumi.Input[builtins.str]):
270
271
  """
271
272
  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.
272
- :param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
273
+ :param pulumi.Input[builtins.str] container: container is the name of the container in the pods of the scaling target
273
274
  :param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
274
- :param pulumi.Input[str] name: name is the name of the resource in question.
275
+ :param pulumi.Input[builtins.str] name: name is the name of the resource in question.
275
276
  """
276
277
  pulumi.set(__self__, "container", container)
277
278
  pulumi.set(__self__, "current", current)
@@ -279,14 +280,14 @@ class ContainerResourceMetricStatusArgs:
279
280
 
280
281
  @property
281
282
  @pulumi.getter
282
- def container(self) -> pulumi.Input[str]:
283
+ def container(self) -> pulumi.Input[builtins.str]:
283
284
  """
284
285
  container is the name of the container in the pods of the scaling target
285
286
  """
286
287
  return pulumi.get(self, "container")
287
288
 
288
289
  @container.setter
289
- def container(self, value: pulumi.Input[str]):
290
+ def container(self, value: pulumi.Input[builtins.str]):
290
291
  pulumi.set(self, "container", value)
291
292
 
292
293
  @property
@@ -303,14 +304,14 @@ class ContainerResourceMetricStatusArgs:
303
304
 
304
305
  @property
305
306
  @pulumi.getter
306
- def name(self) -> pulumi.Input[str]:
307
+ def name(self) -> pulumi.Input[builtins.str]:
307
308
  """
308
309
  name is the name of the resource in question.
309
310
  """
310
311
  return pulumi.get(self, "name")
311
312
 
312
313
  @name.setter
313
- def name(self, value: pulumi.Input[str]):
314
+ def name(self, value: pulumi.Input[builtins.str]):
314
315
  pulumi.set(self, "name", value)
315
316
 
316
317
 
@@ -319,15 +320,15 @@ if not MYPY:
319
320
  """
320
321
  CrossVersionObjectReference contains enough information to let you identify the referred resource.
321
322
  """
322
- api_version: NotRequired[pulumi.Input[str]]
323
+ api_version: NotRequired[pulumi.Input[builtins.str]]
323
324
  """
324
325
  apiVersion is the API version of the referent
325
326
  """
326
- kind: NotRequired[pulumi.Input[str]]
327
+ kind: NotRequired[pulumi.Input[builtins.str]]
327
328
  """
328
329
  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
  """
330
- name: NotRequired[pulumi.Input[str]]
331
+ name: NotRequired[pulumi.Input[builtins.str]]
331
332
  """
332
333
  name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
333
334
  """
@@ -337,14 +338,14 @@ elif False:
337
338
  @pulumi.input_type
338
339
  class CrossVersionObjectReferencePatchArgs:
339
340
  def __init__(__self__, *,
340
- api_version: Optional[pulumi.Input[str]] = None,
341
- kind: Optional[pulumi.Input[str]] = None,
342
- name: Optional[pulumi.Input[str]] = None):
341
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
342
+ kind: Optional[pulumi.Input[builtins.str]] = None,
343
+ name: Optional[pulumi.Input[builtins.str]] = None):
343
344
  """
344
345
  CrossVersionObjectReference contains enough information to let you identify the referred resource.
345
- :param pulumi.Input[str] api_version: apiVersion is the API version of the referent
346
- :param pulumi.Input[str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
347
- :param pulumi.Input[str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
346
+ :param pulumi.Input[builtins.str] api_version: apiVersion is the API version of the referent
347
+ :param pulumi.Input[builtins.str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
348
+ :param pulumi.Input[builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
348
349
  """
349
350
  if api_version is not None:
350
351
  pulumi.set(__self__, "api_version", api_version)
@@ -355,38 +356,38 @@ class CrossVersionObjectReferencePatchArgs:
355
356
 
356
357
  @property
357
358
  @pulumi.getter(name="apiVersion")
358
- def api_version(self) -> Optional[pulumi.Input[str]]:
359
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
359
360
  """
360
361
  apiVersion is the API version of the referent
361
362
  """
362
363
  return pulumi.get(self, "api_version")
363
364
 
364
365
  @api_version.setter
365
- def api_version(self, value: Optional[pulumi.Input[str]]):
366
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
366
367
  pulumi.set(self, "api_version", value)
367
368
 
368
369
  @property
369
370
  @pulumi.getter
370
- def kind(self) -> Optional[pulumi.Input[str]]:
371
+ def kind(self) -> Optional[pulumi.Input[builtins.str]]:
371
372
  """
372
373
  kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
373
374
  """
374
375
  return pulumi.get(self, "kind")
375
376
 
376
377
  @kind.setter
377
- def kind(self, value: Optional[pulumi.Input[str]]):
378
+ def kind(self, value: Optional[pulumi.Input[builtins.str]]):
378
379
  pulumi.set(self, "kind", value)
379
380
 
380
381
  @property
381
382
  @pulumi.getter
382
- def name(self) -> Optional[pulumi.Input[str]]:
383
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
383
384
  """
384
385
  name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
385
386
  """
386
387
  return pulumi.get(self, "name")
387
388
 
388
389
  @name.setter
389
- def name(self, value: Optional[pulumi.Input[str]]):
390
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
390
391
  pulumi.set(self, "name", value)
391
392
 
392
393
 
@@ -395,15 +396,15 @@ if not MYPY:
395
396
  """
396
397
  CrossVersionObjectReference contains enough information to let you identify the referred resource.
397
398
  """
398
- kind: pulumi.Input[str]
399
+ kind: pulumi.Input[builtins.str]
399
400
  """
400
401
  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
  """
402
- name: pulumi.Input[str]
403
+ name: pulumi.Input[builtins.str]
403
404
  """
404
405
  name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
405
406
  """
406
- api_version: NotRequired[pulumi.Input[str]]
407
+ api_version: NotRequired[pulumi.Input[builtins.str]]
407
408
  """
408
409
  apiVersion is the API version of the referent
409
410
  """
@@ -413,14 +414,14 @@ elif False:
413
414
  @pulumi.input_type
414
415
  class CrossVersionObjectReferenceArgs:
415
416
  def __init__(__self__, *,
416
- kind: pulumi.Input[str],
417
- name: pulumi.Input[str],
418
- api_version: Optional[pulumi.Input[str]] = None):
417
+ kind: pulumi.Input[builtins.str],
418
+ name: pulumi.Input[builtins.str],
419
+ api_version: Optional[pulumi.Input[builtins.str]] = None):
419
420
  """
420
421
  CrossVersionObjectReference contains enough information to let you identify the referred resource.
421
- :param pulumi.Input[str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
422
- :param pulumi.Input[str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
423
- :param pulumi.Input[str] api_version: apiVersion is the API version of the referent
422
+ :param pulumi.Input[builtins.str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
423
+ :param pulumi.Input[builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
424
+ :param pulumi.Input[builtins.str] api_version: apiVersion is the API version of the referent
424
425
  """
425
426
  pulumi.set(__self__, "kind", kind)
426
427
  pulumi.set(__self__, "name", name)
@@ -429,38 +430,38 @@ class CrossVersionObjectReferenceArgs:
429
430
 
430
431
  @property
431
432
  @pulumi.getter
432
- def kind(self) -> pulumi.Input[str]:
433
+ def kind(self) -> pulumi.Input[builtins.str]:
433
434
  """
434
435
  kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
435
436
  """
436
437
  return pulumi.get(self, "kind")
437
438
 
438
439
  @kind.setter
439
- def kind(self, value: pulumi.Input[str]):
440
+ def kind(self, value: pulumi.Input[builtins.str]):
440
441
  pulumi.set(self, "kind", value)
441
442
 
442
443
  @property
443
444
  @pulumi.getter
444
- def name(self) -> pulumi.Input[str]:
445
+ def name(self) -> pulumi.Input[builtins.str]:
445
446
  """
446
447
  name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
447
448
  """
448
449
  return pulumi.get(self, "name")
449
450
 
450
451
  @name.setter
451
- def name(self, value: pulumi.Input[str]):
452
+ def name(self, value: pulumi.Input[builtins.str]):
452
453
  pulumi.set(self, "name", value)
453
454
 
454
455
  @property
455
456
  @pulumi.getter(name="apiVersion")
456
- def api_version(self) -> Optional[pulumi.Input[str]]:
457
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
457
458
  """
458
459
  apiVersion is the API version of the referent
459
460
  """
460
461
  return pulumi.get(self, "api_version")
461
462
 
462
463
  @api_version.setter
463
- def api_version(self, value: Optional[pulumi.Input[str]]):
464
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
464
465
  pulumi.set(self, "api_version", value)
465
466
 
466
467
 
@@ -633,15 +634,15 @@ if not MYPY:
633
634
  """
634
635
  HPAScalingPolicy is a single policy which must hold true for a specified past interval.
635
636
  """
636
- period_seconds: NotRequired[pulumi.Input[int]]
637
+ period_seconds: NotRequired[pulumi.Input[builtins.int]]
637
638
  """
638
639
  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
  """
640
- type: NotRequired[pulumi.Input[str]]
641
+ type: NotRequired[pulumi.Input[builtins.str]]
641
642
  """
642
643
  type is used to specify the scaling policy.
643
644
  """
644
- value: NotRequired[pulumi.Input[int]]
645
+ value: NotRequired[pulumi.Input[builtins.int]]
645
646
  """
646
647
  value contains the amount of change which is permitted by the policy. It must be greater than zero
647
648
  """
@@ -651,14 +652,14 @@ elif False:
651
652
  @pulumi.input_type
652
653
  class HPAScalingPolicyPatchArgs:
653
654
  def __init__(__self__, *,
654
- period_seconds: Optional[pulumi.Input[int]] = None,
655
- type: Optional[pulumi.Input[str]] = None,
656
- value: Optional[pulumi.Input[int]] = None):
655
+ period_seconds: Optional[pulumi.Input[builtins.int]] = None,
656
+ type: Optional[pulumi.Input[builtins.str]] = None,
657
+ value: Optional[pulumi.Input[builtins.int]] = None):
657
658
  """
658
659
  HPAScalingPolicy is a single policy which must hold true for a specified past interval.
659
- :param pulumi.Input[int] period_seconds: 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).
660
- :param pulumi.Input[str] type: type is used to specify the scaling policy.
661
- :param pulumi.Input[int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
660
+ :param pulumi.Input[builtins.int] period_seconds: 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).
661
+ :param pulumi.Input[builtins.str] type: type is used to specify the scaling policy.
662
+ :param pulumi.Input[builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
662
663
  """
663
664
  if period_seconds is not None:
664
665
  pulumi.set(__self__, "period_seconds", period_seconds)
@@ -669,38 +670,38 @@ class HPAScalingPolicyPatchArgs:
669
670
 
670
671
  @property
671
672
  @pulumi.getter(name="periodSeconds")
672
- def period_seconds(self) -> Optional[pulumi.Input[int]]:
673
+ def period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
673
674
  """
674
675
  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).
675
676
  """
676
677
  return pulumi.get(self, "period_seconds")
677
678
 
678
679
  @period_seconds.setter
679
- def period_seconds(self, value: Optional[pulumi.Input[int]]):
680
+ def period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
680
681
  pulumi.set(self, "period_seconds", value)
681
682
 
682
683
  @property
683
684
  @pulumi.getter
684
- def type(self) -> Optional[pulumi.Input[str]]:
685
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
685
686
  """
686
687
  type is used to specify the scaling policy.
687
688
  """
688
689
  return pulumi.get(self, "type")
689
690
 
690
691
  @type.setter
691
- def type(self, value: Optional[pulumi.Input[str]]):
692
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
692
693
  pulumi.set(self, "type", value)
693
694
 
694
695
  @property
695
696
  @pulumi.getter
696
- def value(self) -> Optional[pulumi.Input[int]]:
697
+ def value(self) -> Optional[pulumi.Input[builtins.int]]:
697
698
  """
698
699
  value contains the amount of change which is permitted by the policy. It must be greater than zero
699
700
  """
700
701
  return pulumi.get(self, "value")
701
702
 
702
703
  @value.setter
703
- def value(self, value: Optional[pulumi.Input[int]]):
704
+ def value(self, value: Optional[pulumi.Input[builtins.int]]):
704
705
  pulumi.set(self, "value", value)
705
706
 
706
707
 
@@ -709,15 +710,15 @@ if not MYPY:
709
710
  """
710
711
  HPAScalingPolicy is a single policy which must hold true for a specified past interval.
711
712
  """
712
- period_seconds: pulumi.Input[int]
713
+ period_seconds: pulumi.Input[builtins.int]
713
714
  """
714
715
  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
  """
716
- type: pulumi.Input[str]
717
+ type: pulumi.Input[builtins.str]
717
718
  """
718
719
  type is used to specify the scaling policy.
719
720
  """
720
- value: pulumi.Input[int]
721
+ value: pulumi.Input[builtins.int]
721
722
  """
722
723
  value contains the amount of change which is permitted by the policy. It must be greater than zero
723
724
  """
@@ -727,14 +728,14 @@ elif False:
727
728
  @pulumi.input_type
728
729
  class HPAScalingPolicyArgs:
729
730
  def __init__(__self__, *,
730
- period_seconds: pulumi.Input[int],
731
- type: pulumi.Input[str],
732
- value: pulumi.Input[int]):
731
+ period_seconds: pulumi.Input[builtins.int],
732
+ type: pulumi.Input[builtins.str],
733
+ value: pulumi.Input[builtins.int]):
733
734
  """
734
735
  HPAScalingPolicy is a single policy which must hold true for a specified past interval.
735
- :param pulumi.Input[int] period_seconds: 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).
736
- :param pulumi.Input[str] type: type is used to specify the scaling policy.
737
- :param pulumi.Input[int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
736
+ :param pulumi.Input[builtins.int] period_seconds: 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).
737
+ :param pulumi.Input[builtins.str] type: type is used to specify the scaling policy.
738
+ :param pulumi.Input[builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
738
739
  """
739
740
  pulumi.set(__self__, "period_seconds", period_seconds)
740
741
  pulumi.set(__self__, "type", type)
@@ -742,58 +743,70 @@ class HPAScalingPolicyArgs:
742
743
 
743
744
  @property
744
745
  @pulumi.getter(name="periodSeconds")
745
- def period_seconds(self) -> pulumi.Input[int]:
746
+ def period_seconds(self) -> pulumi.Input[builtins.int]:
746
747
  """
747
748
  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).
748
749
  """
749
750
  return pulumi.get(self, "period_seconds")
750
751
 
751
752
  @period_seconds.setter
752
- def period_seconds(self, value: pulumi.Input[int]):
753
+ def period_seconds(self, value: pulumi.Input[builtins.int]):
753
754
  pulumi.set(self, "period_seconds", value)
754
755
 
755
756
  @property
756
757
  @pulumi.getter
757
- def type(self) -> pulumi.Input[str]:
758
+ def type(self) -> pulumi.Input[builtins.str]:
758
759
  """
759
760
  type is used to specify the scaling policy.
760
761
  """
761
762
  return pulumi.get(self, "type")
762
763
 
763
764
  @type.setter
764
- def type(self, value: pulumi.Input[str]):
765
+ def type(self, value: pulumi.Input[builtins.str]):
765
766
  pulumi.set(self, "type", value)
766
767
 
767
768
  @property
768
769
  @pulumi.getter
769
- def value(self) -> pulumi.Input[int]:
770
+ def value(self) -> pulumi.Input[builtins.int]:
770
771
  """
771
772
  value contains the amount of change which is permitted by the policy. It must be greater than zero
772
773
  """
773
774
  return pulumi.get(self, "value")
774
775
 
775
776
  @value.setter
776
- def value(self, value: pulumi.Input[int]):
777
+ def value(self, value: pulumi.Input[builtins.int]):
777
778
  pulumi.set(self, "value", value)
778
779
 
779
780
 
780
781
  if not MYPY:
781
782
  class HPAScalingRulesPatchArgsDict(TypedDict):
782
783
  """
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
+ HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
785
+
786
+ Scaling Policy 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.
787
+
788
+ The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
784
789
  """
785
790
  policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgsDict']]]]
786
791
  """
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
792
+ policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
788
793
  """
789
- select_policy: NotRequired[pulumi.Input[str]]
794
+ select_policy: NotRequired[pulumi.Input[builtins.str]]
790
795
  """
791
796
  selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
792
797
  """
793
- stabilization_window_seconds: NotRequired[pulumi.Input[int]]
798
+ stabilization_window_seconds: NotRequired[pulumi.Input[builtins.int]]
794
799
  """
795
800
  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
801
  """
802
+ tolerance: NotRequired[pulumi.Input[builtins.str]]
803
+ """
804
+ tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
805
+
806
+ For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
807
+
808
+ This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
809
+ """
797
810
  elif False:
798
811
  HPAScalingRulesPatchArgsDict: TypeAlias = Mapping[str, Any]
799
812
 
@@ -801,13 +814,23 @@ elif False:
801
814
  class HPAScalingRulesPatchArgs:
802
815
  def __init__(__self__, *,
803
816
  policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]] = None,
804
- select_policy: Optional[pulumi.Input[str]] = None,
805
- stabilization_window_seconds: Optional[pulumi.Input[int]] = None):
817
+ select_policy: Optional[pulumi.Input[builtins.str]] = None,
818
+ stabilization_window_seconds: Optional[pulumi.Input[builtins.int]] = None,
819
+ tolerance: Optional[pulumi.Input[builtins.str]] = None):
806
820
  """
807
- 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.
808
- :param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]] policies: 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
809
- :param pulumi.Input[str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
810
- :param pulumi.Input[int] stabilization_window_seconds: 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).
821
+ HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
822
+
823
+ Scaling Policy 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.
824
+
825
+ The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
826
+ :param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
827
+ :param pulumi.Input[builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
828
+ :param pulumi.Input[builtins.int] stabilization_window_seconds: 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).
829
+ :param pulumi.Input[builtins.str] tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
830
+
831
+ For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
832
+
833
+ This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
811
834
  """
812
835
  if policies is not None:
813
836
  pulumi.set(__self__, "policies", policies)
@@ -815,12 +838,14 @@ class HPAScalingRulesPatchArgs:
815
838
  pulumi.set(__self__, "select_policy", select_policy)
816
839
  if stabilization_window_seconds is not None:
817
840
  pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
841
+ if tolerance is not None:
842
+ pulumi.set(__self__, "tolerance", tolerance)
818
843
 
819
844
  @property
820
845
  @pulumi.getter
821
846
  def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]:
822
847
  """
823
- 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
848
+ policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
824
849
  """
825
850
  return pulumi.get(self, "policies")
826
851
 
@@ -830,46 +855,74 @@ class HPAScalingRulesPatchArgs:
830
855
 
831
856
  @property
832
857
  @pulumi.getter(name="selectPolicy")
833
- def select_policy(self) -> Optional[pulumi.Input[str]]:
858
+ def select_policy(self) -> Optional[pulumi.Input[builtins.str]]:
834
859
  """
835
860
  selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
836
861
  """
837
862
  return pulumi.get(self, "select_policy")
838
863
 
839
864
  @select_policy.setter
840
- def select_policy(self, value: Optional[pulumi.Input[str]]):
865
+ def select_policy(self, value: Optional[pulumi.Input[builtins.str]]):
841
866
  pulumi.set(self, "select_policy", value)
842
867
 
843
868
  @property
844
869
  @pulumi.getter(name="stabilizationWindowSeconds")
845
- def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
870
+ def stabilization_window_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
846
871
  """
847
872
  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).
848
873
  """
849
874
  return pulumi.get(self, "stabilization_window_seconds")
850
875
 
851
876
  @stabilization_window_seconds.setter
852
- def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
877
+ def stabilization_window_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
853
878
  pulumi.set(self, "stabilization_window_seconds", value)
854
879
 
880
+ @property
881
+ @pulumi.getter
882
+ def tolerance(self) -> Optional[pulumi.Input[builtins.str]]:
883
+ """
884
+ tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
885
+
886
+ For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
887
+
888
+ This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
889
+ """
890
+ return pulumi.get(self, "tolerance")
891
+
892
+ @tolerance.setter
893
+ def tolerance(self, value: Optional[pulumi.Input[builtins.str]]):
894
+ pulumi.set(self, "tolerance", value)
895
+
855
896
 
856
897
  if not MYPY:
857
898
  class HPAScalingRulesArgsDict(TypedDict):
858
899
  """
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.
900
+ HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
901
+
902
+ Scaling Policy 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.
903
+
904
+ The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
860
905
  """
861
906
  policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgsDict']]]]
862
907
  """
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
908
+ policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
864
909
  """
865
- select_policy: NotRequired[pulumi.Input[str]]
910
+ select_policy: NotRequired[pulumi.Input[builtins.str]]
866
911
  """
867
912
  selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
868
913
  """
869
- stabilization_window_seconds: NotRequired[pulumi.Input[int]]
914
+ stabilization_window_seconds: NotRequired[pulumi.Input[builtins.int]]
870
915
  """
871
916
  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
917
  """
918
+ tolerance: NotRequired[pulumi.Input[builtins.str]]
919
+ """
920
+ tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
921
+
922
+ For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
923
+
924
+ This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
925
+ """
873
926
  elif False:
874
927
  HPAScalingRulesArgsDict: TypeAlias = Mapping[str, Any]
875
928
 
@@ -877,13 +930,23 @@ elif False:
877
930
  class HPAScalingRulesArgs:
878
931
  def __init__(__self__, *,
879
932
  policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]] = None,
880
- select_policy: Optional[pulumi.Input[str]] = None,
881
- stabilization_window_seconds: Optional[pulumi.Input[int]] = None):
933
+ select_policy: Optional[pulumi.Input[builtins.str]] = None,
934
+ stabilization_window_seconds: Optional[pulumi.Input[builtins.int]] = None,
935
+ tolerance: Optional[pulumi.Input[builtins.str]] = None):
882
936
  """
883
- 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.
884
- :param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]] policies: 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
885
- :param pulumi.Input[str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
886
- :param pulumi.Input[int] stabilization_window_seconds: 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).
937
+ HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
938
+
939
+ Scaling Policy 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.
940
+
941
+ The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
942
+ :param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
943
+ :param pulumi.Input[builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
944
+ :param pulumi.Input[builtins.int] stabilization_window_seconds: 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).
945
+ :param pulumi.Input[builtins.str] tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
946
+
947
+ For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
948
+
949
+ This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
887
950
  """
888
951
  if policies is not None:
889
952
  pulumi.set(__self__, "policies", policies)
@@ -891,12 +954,14 @@ class HPAScalingRulesArgs:
891
954
  pulumi.set(__self__, "select_policy", select_policy)
892
955
  if stabilization_window_seconds is not None:
893
956
  pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
957
+ if tolerance is not None:
958
+ pulumi.set(__self__, "tolerance", tolerance)
894
959
 
895
960
  @property
896
961
  @pulumi.getter
897
962
  def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]:
898
963
  """
899
- 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
964
+ policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
900
965
  """
901
966
  return pulumi.get(self, "policies")
902
967
 
@@ -906,28 +971,44 @@ class HPAScalingRulesArgs:
906
971
 
907
972
  @property
908
973
  @pulumi.getter(name="selectPolicy")
909
- def select_policy(self) -> Optional[pulumi.Input[str]]:
974
+ def select_policy(self) -> Optional[pulumi.Input[builtins.str]]:
910
975
  """
911
976
  selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
912
977
  """
913
978
  return pulumi.get(self, "select_policy")
914
979
 
915
980
  @select_policy.setter
916
- def select_policy(self, value: Optional[pulumi.Input[str]]):
981
+ def select_policy(self, value: Optional[pulumi.Input[builtins.str]]):
917
982
  pulumi.set(self, "select_policy", value)
918
983
 
919
984
  @property
920
985
  @pulumi.getter(name="stabilizationWindowSeconds")
921
- def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
986
+ def stabilization_window_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
922
987
  """
923
988
  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).
924
989
  """
925
990
  return pulumi.get(self, "stabilization_window_seconds")
926
991
 
927
992
  @stabilization_window_seconds.setter
928
- def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
993
+ def stabilization_window_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
929
994
  pulumi.set(self, "stabilization_window_seconds", value)
930
995
 
996
+ @property
997
+ @pulumi.getter
998
+ def tolerance(self) -> Optional[pulumi.Input[builtins.str]]:
999
+ """
1000
+ tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
1001
+
1002
+ For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
1003
+
1004
+ This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
1005
+ """
1006
+ return pulumi.get(self, "tolerance")
1007
+
1008
+ @tolerance.setter
1009
+ def tolerance(self, value: Optional[pulumi.Input[builtins.str]]):
1010
+ pulumi.set(self, "tolerance", value)
1011
+
931
1012
 
932
1013
  if not MYPY:
933
1014
  class HorizontalPodAutoscalerBehaviorPatchArgsDict(TypedDict):
@@ -1064,23 +1145,23 @@ if not MYPY:
1064
1145
  """
1065
1146
  HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
1066
1147
  """
1067
- status: pulumi.Input[str]
1148
+ status: pulumi.Input[builtins.str]
1068
1149
  """
1069
1150
  status is the status of the condition (True, False, Unknown)
1070
1151
  """
1071
- type: pulumi.Input[str]
1152
+ type: pulumi.Input[builtins.str]
1072
1153
  """
1073
1154
  type describes the current condition
1074
1155
  """
1075
- last_transition_time: NotRequired[pulumi.Input[str]]
1156
+ last_transition_time: NotRequired[pulumi.Input[builtins.str]]
1076
1157
  """
1077
1158
  lastTransitionTime is the last time the condition transitioned from one status to another
1078
1159
  """
1079
- message: NotRequired[pulumi.Input[str]]
1160
+ message: NotRequired[pulumi.Input[builtins.str]]
1080
1161
  """
1081
1162
  message is a human-readable explanation containing details about the transition
1082
1163
  """
1083
- reason: NotRequired[pulumi.Input[str]]
1164
+ reason: NotRequired[pulumi.Input[builtins.str]]
1084
1165
  """
1085
1166
  reason is the reason for the condition's last transition.
1086
1167
  """
@@ -1090,18 +1171,18 @@ elif False:
1090
1171
  @pulumi.input_type
1091
1172
  class HorizontalPodAutoscalerConditionArgs:
1092
1173
  def __init__(__self__, *,
1093
- status: pulumi.Input[str],
1094
- type: pulumi.Input[str],
1095
- last_transition_time: Optional[pulumi.Input[str]] = None,
1096
- message: Optional[pulumi.Input[str]] = None,
1097
- reason: Optional[pulumi.Input[str]] = None):
1174
+ status: pulumi.Input[builtins.str],
1175
+ type: pulumi.Input[builtins.str],
1176
+ last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
1177
+ message: Optional[pulumi.Input[builtins.str]] = None,
1178
+ reason: Optional[pulumi.Input[builtins.str]] = None):
1098
1179
  """
1099
1180
  HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
1100
- :param pulumi.Input[str] status: status is the status of the condition (True, False, Unknown)
1101
- :param pulumi.Input[str] type: type describes the current condition
1102
- :param pulumi.Input[str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
1103
- :param pulumi.Input[str] message: message is a human-readable explanation containing details about the transition
1104
- :param pulumi.Input[str] reason: reason is the reason for the condition's last transition.
1181
+ :param pulumi.Input[builtins.str] status: status is the status of the condition (True, False, Unknown)
1182
+ :param pulumi.Input[builtins.str] type: type describes the current condition
1183
+ :param pulumi.Input[builtins.str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
1184
+ :param pulumi.Input[builtins.str] message: message is a human-readable explanation containing details about the transition
1185
+ :param pulumi.Input[builtins.str] reason: reason is the reason for the condition's last transition.
1105
1186
  """
1106
1187
  pulumi.set(__self__, "status", status)
1107
1188
  pulumi.set(__self__, "type", type)
@@ -1114,62 +1195,62 @@ class HorizontalPodAutoscalerConditionArgs:
1114
1195
 
1115
1196
  @property
1116
1197
  @pulumi.getter
1117
- def status(self) -> pulumi.Input[str]:
1198
+ def status(self) -> pulumi.Input[builtins.str]:
1118
1199
  """
1119
1200
  status is the status of the condition (True, False, Unknown)
1120
1201
  """
1121
1202
  return pulumi.get(self, "status")
1122
1203
 
1123
1204
  @status.setter
1124
- def status(self, value: pulumi.Input[str]):
1205
+ def status(self, value: pulumi.Input[builtins.str]):
1125
1206
  pulumi.set(self, "status", value)
1126
1207
 
1127
1208
  @property
1128
1209
  @pulumi.getter
1129
- def type(self) -> pulumi.Input[str]:
1210
+ def type(self) -> pulumi.Input[builtins.str]:
1130
1211
  """
1131
1212
  type describes the current condition
1132
1213
  """
1133
1214
  return pulumi.get(self, "type")
1134
1215
 
1135
1216
  @type.setter
1136
- def type(self, value: pulumi.Input[str]):
1217
+ def type(self, value: pulumi.Input[builtins.str]):
1137
1218
  pulumi.set(self, "type", value)
1138
1219
 
1139
1220
  @property
1140
1221
  @pulumi.getter(name="lastTransitionTime")
1141
- def last_transition_time(self) -> Optional[pulumi.Input[str]]:
1222
+ def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
1142
1223
  """
1143
1224
  lastTransitionTime is the last time the condition transitioned from one status to another
1144
1225
  """
1145
1226
  return pulumi.get(self, "last_transition_time")
1146
1227
 
1147
1228
  @last_transition_time.setter
1148
- def last_transition_time(self, value: Optional[pulumi.Input[str]]):
1229
+ def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
1149
1230
  pulumi.set(self, "last_transition_time", value)
1150
1231
 
1151
1232
  @property
1152
1233
  @pulumi.getter
1153
- def message(self) -> Optional[pulumi.Input[str]]:
1234
+ def message(self) -> Optional[pulumi.Input[builtins.str]]:
1154
1235
  """
1155
1236
  message is a human-readable explanation containing details about the transition
1156
1237
  """
1157
1238
  return pulumi.get(self, "message")
1158
1239
 
1159
1240
  @message.setter
1160
- def message(self, value: Optional[pulumi.Input[str]]):
1241
+ def message(self, value: Optional[pulumi.Input[builtins.str]]):
1161
1242
  pulumi.set(self, "message", value)
1162
1243
 
1163
1244
  @property
1164
1245
  @pulumi.getter
1165
- def reason(self) -> Optional[pulumi.Input[str]]:
1246
+ def reason(self) -> Optional[pulumi.Input[builtins.str]]:
1166
1247
  """
1167
1248
  reason is the reason for the condition's last transition.
1168
1249
  """
1169
1250
  return pulumi.get(self, "reason")
1170
1251
 
1171
1252
  @reason.setter
1172
- def reason(self, value: Optional[pulumi.Input[str]]):
1253
+ def reason(self, value: Optional[pulumi.Input[builtins.str]]):
1173
1254
  pulumi.set(self, "reason", value)
1174
1255
 
1175
1256
 
@@ -1182,7 +1263,7 @@ if not MYPY:
1182
1263
  """
1183
1264
  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
1265
  """
1185
- max_replicas: NotRequired[pulumi.Input[int]]
1266
+ max_replicas: NotRequired[pulumi.Input[builtins.int]]
1186
1267
  """
1187
1268
  maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1188
1269
  """
@@ -1190,7 +1271,7 @@ if not MYPY:
1190
1271
  """
1191
1272
  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
1273
  """
1193
- min_replicas: NotRequired[pulumi.Input[int]]
1274
+ min_replicas: NotRequired[pulumi.Input[builtins.int]]
1194
1275
  """
1195
1276
  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
1277
  """
@@ -1205,16 +1286,16 @@ elif False:
1205
1286
  class HorizontalPodAutoscalerSpecPatchArgs:
1206
1287
  def __init__(__self__, *,
1207
1288
  behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']] = None,
1208
- max_replicas: Optional[pulumi.Input[int]] = None,
1289
+ max_replicas: Optional[pulumi.Input[builtins.int]] = None,
1209
1290
  metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]] = None,
1210
- min_replicas: Optional[pulumi.Input[int]] = None,
1291
+ min_replicas: Optional[pulumi.Input[builtins.int]] = None,
1211
1292
  scale_target_ref: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None):
1212
1293
  """
1213
1294
  HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
1214
1295
  :param pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs'] behavior: 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.
1215
- :param pulumi.Input[int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1296
+ :param pulumi.Input[builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1216
1297
  :param pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]] metrics: 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.
1217
- :param pulumi.Input[int] min_replicas: 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.
1298
+ :param pulumi.Input[builtins.int] min_replicas: 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.
1218
1299
  :param pulumi.Input['CrossVersionObjectReferencePatchArgs'] scale_target_ref: 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.
1219
1300
  """
1220
1301
  if behavior is not None:
@@ -1242,14 +1323,14 @@ class HorizontalPodAutoscalerSpecPatchArgs:
1242
1323
 
1243
1324
  @property
1244
1325
  @pulumi.getter(name="maxReplicas")
1245
- def max_replicas(self) -> Optional[pulumi.Input[int]]:
1326
+ def max_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
1246
1327
  """
1247
1328
  maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1248
1329
  """
1249
1330
  return pulumi.get(self, "max_replicas")
1250
1331
 
1251
1332
  @max_replicas.setter
1252
- def max_replicas(self, value: Optional[pulumi.Input[int]]):
1333
+ def max_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
1253
1334
  pulumi.set(self, "max_replicas", value)
1254
1335
 
1255
1336
  @property
@@ -1266,14 +1347,14 @@ class HorizontalPodAutoscalerSpecPatchArgs:
1266
1347
 
1267
1348
  @property
1268
1349
  @pulumi.getter(name="minReplicas")
1269
- def min_replicas(self) -> Optional[pulumi.Input[int]]:
1350
+ def min_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
1270
1351
  """
1271
1352
  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.
1272
1353
  """
1273
1354
  return pulumi.get(self, "min_replicas")
1274
1355
 
1275
1356
  @min_replicas.setter
1276
- def min_replicas(self, value: Optional[pulumi.Input[int]]):
1357
+ def min_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
1277
1358
  pulumi.set(self, "min_replicas", value)
1278
1359
 
1279
1360
  @property
@@ -1294,7 +1375,7 @@ if not MYPY:
1294
1375
  """
1295
1376
  HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
1296
1377
  """
1297
- max_replicas: pulumi.Input[int]
1378
+ max_replicas: pulumi.Input[builtins.int]
1298
1379
  """
1299
1380
  maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1300
1381
  """
@@ -1310,7 +1391,7 @@ if not MYPY:
1310
1391
  """
1311
1392
  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
1393
  """
1313
- min_replicas: NotRequired[pulumi.Input[int]]
1394
+ min_replicas: NotRequired[pulumi.Input[builtins.int]]
1314
1395
  """
1315
1396
  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
1397
  """
@@ -1320,18 +1401,18 @@ elif False:
1320
1401
  @pulumi.input_type
1321
1402
  class HorizontalPodAutoscalerSpecArgs:
1322
1403
  def __init__(__self__, *,
1323
- max_replicas: pulumi.Input[int],
1404
+ max_replicas: pulumi.Input[builtins.int],
1324
1405
  scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgs'],
1325
1406
  behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']] = None,
1326
1407
  metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]] = None,
1327
- min_replicas: Optional[pulumi.Input[int]] = None):
1408
+ min_replicas: Optional[pulumi.Input[builtins.int]] = None):
1328
1409
  """
1329
1410
  HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
1330
- :param pulumi.Input[int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1411
+ :param pulumi.Input[builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1331
1412
  :param pulumi.Input['CrossVersionObjectReferenceArgs'] scale_target_ref: 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.
1332
1413
  :param pulumi.Input['HorizontalPodAutoscalerBehaviorArgs'] behavior: 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.
1333
1414
  :param pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]] metrics: 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.
1334
- :param pulumi.Input[int] min_replicas: 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.
1415
+ :param pulumi.Input[builtins.int] min_replicas: 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.
1335
1416
  """
1336
1417
  pulumi.set(__self__, "max_replicas", max_replicas)
1337
1418
  pulumi.set(__self__, "scale_target_ref", scale_target_ref)
@@ -1344,14 +1425,14 @@ class HorizontalPodAutoscalerSpecArgs:
1344
1425
 
1345
1426
  @property
1346
1427
  @pulumi.getter(name="maxReplicas")
1347
- def max_replicas(self) -> pulumi.Input[int]:
1428
+ def max_replicas(self) -> pulumi.Input[builtins.int]:
1348
1429
  """
1349
1430
  maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
1350
1431
  """
1351
1432
  return pulumi.get(self, "max_replicas")
1352
1433
 
1353
1434
  @max_replicas.setter
1354
- def max_replicas(self, value: pulumi.Input[int]):
1435
+ def max_replicas(self, value: pulumi.Input[builtins.int]):
1355
1436
  pulumi.set(self, "max_replicas", value)
1356
1437
 
1357
1438
  @property
@@ -1392,14 +1473,14 @@ class HorizontalPodAutoscalerSpecArgs:
1392
1473
 
1393
1474
  @property
1394
1475
  @pulumi.getter(name="minReplicas")
1395
- def min_replicas(self) -> Optional[pulumi.Input[int]]:
1476
+ def min_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
1396
1477
  """
1397
1478
  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.
1398
1479
  """
1399
1480
  return pulumi.get(self, "min_replicas")
1400
1481
 
1401
1482
  @min_replicas.setter
1402
- def min_replicas(self, value: Optional[pulumi.Input[int]]):
1483
+ def min_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
1403
1484
  pulumi.set(self, "min_replicas", value)
1404
1485
 
1405
1486
 
@@ -1408,7 +1489,7 @@ if not MYPY:
1408
1489
  """
1409
1490
  HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
1410
1491
  """
1411
- desired_replicas: pulumi.Input[int]
1492
+ desired_replicas: pulumi.Input[builtins.int]
1412
1493
  """
1413
1494
  desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
1414
1495
  """
@@ -1420,15 +1501,15 @@ if not MYPY:
1420
1501
  """
1421
1502
  currentMetrics is the last read state of the metrics used by this autoscaler.
1422
1503
  """
1423
- current_replicas: NotRequired[pulumi.Input[int]]
1504
+ current_replicas: NotRequired[pulumi.Input[builtins.int]]
1424
1505
  """
1425
1506
  currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
1426
1507
  """
1427
- last_scale_time: NotRequired[pulumi.Input[str]]
1508
+ last_scale_time: NotRequired[pulumi.Input[builtins.str]]
1428
1509
  """
1429
1510
  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
1511
  """
1431
- observed_generation: NotRequired[pulumi.Input[int]]
1512
+ observed_generation: NotRequired[pulumi.Input[builtins.int]]
1432
1513
  """
1433
1514
  observedGeneration is the most recent generation observed by this autoscaler.
1434
1515
  """
@@ -1438,20 +1519,20 @@ elif False:
1438
1519
  @pulumi.input_type
1439
1520
  class HorizontalPodAutoscalerStatusArgs:
1440
1521
  def __init__(__self__, *,
1441
- desired_replicas: pulumi.Input[int],
1522
+ desired_replicas: pulumi.Input[builtins.int],
1442
1523
  conditions: Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]] = None,
1443
1524
  current_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]] = None,
1444
- current_replicas: Optional[pulumi.Input[int]] = None,
1445
- last_scale_time: Optional[pulumi.Input[str]] = None,
1446
- observed_generation: Optional[pulumi.Input[int]] = None):
1525
+ current_replicas: Optional[pulumi.Input[builtins.int]] = None,
1526
+ last_scale_time: Optional[pulumi.Input[builtins.str]] = None,
1527
+ observed_generation: Optional[pulumi.Input[builtins.int]] = None):
1447
1528
  """
1448
1529
  HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
1449
- :param pulumi.Input[int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
1530
+ :param pulumi.Input[builtins.int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
1450
1531
  :param pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
1451
1532
  :param pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
1452
- :param pulumi.Input[int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
1453
- :param pulumi.Input[str] last_scale_time: 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.
1454
- :param pulumi.Input[int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
1533
+ :param pulumi.Input[builtins.int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
1534
+ :param pulumi.Input[builtins.str] last_scale_time: 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.
1535
+ :param pulumi.Input[builtins.int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
1455
1536
  """
1456
1537
  pulumi.set(__self__, "desired_replicas", desired_replicas)
1457
1538
  if conditions is not None:
@@ -1467,14 +1548,14 @@ class HorizontalPodAutoscalerStatusArgs:
1467
1548
 
1468
1549
  @property
1469
1550
  @pulumi.getter(name="desiredReplicas")
1470
- def desired_replicas(self) -> pulumi.Input[int]:
1551
+ def desired_replicas(self) -> pulumi.Input[builtins.int]:
1471
1552
  """
1472
1553
  desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
1473
1554
  """
1474
1555
  return pulumi.get(self, "desired_replicas")
1475
1556
 
1476
1557
  @desired_replicas.setter
1477
- def desired_replicas(self, value: pulumi.Input[int]):
1558
+ def desired_replicas(self, value: pulumi.Input[builtins.int]):
1478
1559
  pulumi.set(self, "desired_replicas", value)
1479
1560
 
1480
1561
  @property
@@ -1503,38 +1584,38 @@ class HorizontalPodAutoscalerStatusArgs:
1503
1584
 
1504
1585
  @property
1505
1586
  @pulumi.getter(name="currentReplicas")
1506
- def current_replicas(self) -> Optional[pulumi.Input[int]]:
1587
+ def current_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
1507
1588
  """
1508
1589
  currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
1509
1590
  """
1510
1591
  return pulumi.get(self, "current_replicas")
1511
1592
 
1512
1593
  @current_replicas.setter
1513
- def current_replicas(self, value: Optional[pulumi.Input[int]]):
1594
+ def current_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
1514
1595
  pulumi.set(self, "current_replicas", value)
1515
1596
 
1516
1597
  @property
1517
1598
  @pulumi.getter(name="lastScaleTime")
1518
- def last_scale_time(self) -> Optional[pulumi.Input[str]]:
1599
+ def last_scale_time(self) -> Optional[pulumi.Input[builtins.str]]:
1519
1600
  """
1520
1601
  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.
1521
1602
  """
1522
1603
  return pulumi.get(self, "last_scale_time")
1523
1604
 
1524
1605
  @last_scale_time.setter
1525
- def last_scale_time(self, value: Optional[pulumi.Input[str]]):
1606
+ def last_scale_time(self, value: Optional[pulumi.Input[builtins.str]]):
1526
1607
  pulumi.set(self, "last_scale_time", value)
1527
1608
 
1528
1609
  @property
1529
1610
  @pulumi.getter(name="observedGeneration")
1530
- def observed_generation(self) -> Optional[pulumi.Input[int]]:
1611
+ def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
1531
1612
  """
1532
1613
  observedGeneration is the most recent generation observed by this autoscaler.
1533
1614
  """
1534
1615
  return pulumi.get(self, "observed_generation")
1535
1616
 
1536
1617
  @observed_generation.setter
1537
- def observed_generation(self, value: Optional[pulumi.Input[int]]):
1618
+ def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
1538
1619
  pulumi.set(self, "observed_generation", value)
1539
1620
 
1540
1621
 
@@ -1543,11 +1624,11 @@ if not MYPY:
1543
1624
  """
1544
1625
  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
1626
  """
1546
- api_version: NotRequired[pulumi.Input[str]]
1627
+ api_version: NotRequired[pulumi.Input[builtins.str]]
1547
1628
  """
1548
1629
  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
1630
  """
1550
- kind: NotRequired[pulumi.Input[str]]
1631
+ kind: NotRequired[pulumi.Input[builtins.str]]
1551
1632
  """
1552
1633
  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
1634
  """
@@ -1569,15 +1650,15 @@ elif False:
1569
1650
  @pulumi.input_type
1570
1651
  class HorizontalPodAutoscalerArgs:
1571
1652
  def __init__(__self__, *,
1572
- api_version: Optional[pulumi.Input[str]] = None,
1573
- kind: Optional[pulumi.Input[str]] = None,
1653
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
1654
+ kind: Optional[pulumi.Input[builtins.str]] = None,
1574
1655
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
1575
1656
  spec: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']] = None,
1576
1657
  status: Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']] = None):
1577
1658
  """
1578
1659
  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.
1579
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1580
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1660
+ :param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1661
+ :param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1581
1662
  :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1582
1663
  :param pulumi.Input['HorizontalPodAutoscalerSpecArgs'] spec: 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.
1583
1664
  :param pulumi.Input['HorizontalPodAutoscalerStatusArgs'] status: status is the current information about the autoscaler.
@@ -1595,26 +1676,26 @@ class HorizontalPodAutoscalerArgs:
1595
1676
 
1596
1677
  @property
1597
1678
  @pulumi.getter(name="apiVersion")
1598
- def api_version(self) -> Optional[pulumi.Input[str]]:
1679
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
1599
1680
  """
1600
1681
  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
1601
1682
  """
1602
1683
  return pulumi.get(self, "api_version")
1603
1684
 
1604
1685
  @api_version.setter
1605
- def api_version(self, value: Optional[pulumi.Input[str]]):
1686
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
1606
1687
  pulumi.set(self, "api_version", value)
1607
1688
 
1608
1689
  @property
1609
1690
  @pulumi.getter
1610
- def kind(self) -> Optional[pulumi.Input[str]]:
1691
+ def kind(self) -> Optional[pulumi.Input[builtins.str]]:
1611
1692
  """
1612
1693
  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
1613
1694
  """
1614
1695
  return pulumi.get(self, "kind")
1615
1696
 
1616
1697
  @kind.setter
1617
- def kind(self, value: Optional[pulumi.Input[str]]):
1698
+ def kind(self, value: Optional[pulumi.Input[builtins.str]]):
1618
1699
  pulumi.set(self, "kind", value)
1619
1700
 
1620
1701
  @property
@@ -1659,7 +1740,7 @@ if not MYPY:
1659
1740
  """
1660
1741
  MetricIdentifier defines the name and optionally selector for a metric
1661
1742
  """
1662
- name: NotRequired[pulumi.Input[str]]
1743
+ name: NotRequired[pulumi.Input[builtins.str]]
1663
1744
  """
1664
1745
  name is the name of the given metric
1665
1746
  """
@@ -1673,11 +1754,11 @@ elif False:
1673
1754
  @pulumi.input_type
1674
1755
  class MetricIdentifierPatchArgs:
1675
1756
  def __init__(__self__, *,
1676
- name: Optional[pulumi.Input[str]] = None,
1757
+ name: Optional[pulumi.Input[builtins.str]] = None,
1677
1758
  selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
1678
1759
  """
1679
1760
  MetricIdentifier defines the name and optionally selector for a metric
1680
- :param pulumi.Input[str] name: name is the name of the given metric
1761
+ :param pulumi.Input[builtins.str] name: name is the name of the given metric
1681
1762
  :param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: 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.
1682
1763
  """
1683
1764
  if name is not None:
@@ -1687,14 +1768,14 @@ class MetricIdentifierPatchArgs:
1687
1768
 
1688
1769
  @property
1689
1770
  @pulumi.getter
1690
- def name(self) -> Optional[pulumi.Input[str]]:
1771
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
1691
1772
  """
1692
1773
  name is the name of the given metric
1693
1774
  """
1694
1775
  return pulumi.get(self, "name")
1695
1776
 
1696
1777
  @name.setter
1697
- def name(self, value: Optional[pulumi.Input[str]]):
1778
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
1698
1779
  pulumi.set(self, "name", value)
1699
1780
 
1700
1781
  @property
@@ -1715,7 +1796,7 @@ if not MYPY:
1715
1796
  """
1716
1797
  MetricIdentifier defines the name and optionally selector for a metric
1717
1798
  """
1718
- name: pulumi.Input[str]
1799
+ name: pulumi.Input[builtins.str]
1719
1800
  """
1720
1801
  name is the name of the given metric
1721
1802
  """
@@ -1729,11 +1810,11 @@ elif False:
1729
1810
  @pulumi.input_type
1730
1811
  class MetricIdentifierArgs:
1731
1812
  def __init__(__self__, *,
1732
- name: pulumi.Input[str],
1813
+ name: pulumi.Input[builtins.str],
1733
1814
  selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
1734
1815
  """
1735
1816
  MetricIdentifier defines the name and optionally selector for a metric
1736
- :param pulumi.Input[str] name: name is the name of the given metric
1817
+ :param pulumi.Input[builtins.str] name: name is the name of the given metric
1737
1818
  :param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: 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.
1738
1819
  """
1739
1820
  pulumi.set(__self__, "name", name)
@@ -1742,14 +1823,14 @@ class MetricIdentifierArgs:
1742
1823
 
1743
1824
  @property
1744
1825
  @pulumi.getter
1745
- def name(self) -> pulumi.Input[str]:
1826
+ def name(self) -> pulumi.Input[builtins.str]:
1746
1827
  """
1747
1828
  name is the name of the given metric
1748
1829
  """
1749
1830
  return pulumi.get(self, "name")
1750
1831
 
1751
1832
  @name.setter
1752
- def name(self, value: pulumi.Input[str]):
1833
+ def name(self, value: pulumi.Input[builtins.str]):
1753
1834
  pulumi.set(self, "name", value)
1754
1835
 
1755
1836
  @property
@@ -1790,7 +1871,7 @@ if not MYPY:
1790
1871
  """
1791
1872
  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
1873
  """
1793
- type: NotRequired[pulumi.Input[str]]
1874
+ type: NotRequired[pulumi.Input[builtins.str]]
1794
1875
  """
1795
1876
  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
1877
  """
@@ -1805,7 +1886,7 @@ class MetricSpecPatchArgs:
1805
1886
  object: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']] = None,
1806
1887
  pods: Optional[pulumi.Input['PodsMetricSourcePatchArgs']] = None,
1807
1888
  resource: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']] = None,
1808
- type: Optional[pulumi.Input[str]] = None):
1889
+ type: Optional[pulumi.Input[builtins.str]] = None):
1809
1890
  """
1810
1891
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1811
1892
  :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.
@@ -1813,7 +1894,7 @@ class MetricSpecPatchArgs:
1813
1894
  :param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
1814
1895
  :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.
1815
1896
  :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.
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.
1897
+ :param pulumi.Input[builtins.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.
1817
1898
  """
1818
1899
  if container_resource is not None:
1819
1900
  pulumi.set(__self__, "container_resource", container_resource)
@@ -1890,14 +1971,14 @@ class MetricSpecPatchArgs:
1890
1971
 
1891
1972
  @property
1892
1973
  @pulumi.getter
1893
- def type(self) -> Optional[pulumi.Input[str]]:
1974
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
1894
1975
  """
1895
1976
  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.
1896
1977
  """
1897
1978
  return pulumi.get(self, "type")
1898
1979
 
1899
1980
  @type.setter
1900
- def type(self, value: Optional[pulumi.Input[str]]):
1981
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
1901
1982
  pulumi.set(self, "type", value)
1902
1983
 
1903
1984
 
@@ -1906,7 +1987,7 @@ if not MYPY:
1906
1987
  """
1907
1988
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
1908
1989
  """
1909
- type: pulumi.Input[str]
1990
+ type: pulumi.Input[builtins.str]
1910
1991
  """
1911
1992
  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
1993
  """
@@ -1936,7 +2017,7 @@ elif False:
1936
2017
  @pulumi.input_type
1937
2018
  class MetricSpecArgs:
1938
2019
  def __init__(__self__, *,
1939
- type: pulumi.Input[str],
2020
+ type: pulumi.Input[builtins.str],
1940
2021
  container_resource: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']] = None,
1941
2022
  external: Optional[pulumi.Input['ExternalMetricSourceArgs']] = None,
1942
2023
  object: Optional[pulumi.Input['ObjectMetricSourceArgs']] = None,
@@ -1944,7 +2025,7 @@ class MetricSpecArgs:
1944
2025
  resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
1945
2026
  """
1946
2027
  MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
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.
2028
+ :param pulumi.Input[builtins.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
2029
  :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.
1949
2030
  :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).
1950
2031
  :param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
@@ -1965,14 +2046,14 @@ class MetricSpecArgs:
1965
2046
 
1966
2047
  @property
1967
2048
  @pulumi.getter
1968
- def type(self) -> pulumi.Input[str]:
2049
+ def type(self) -> pulumi.Input[builtins.str]:
1969
2050
  """
1970
2051
  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.
1971
2052
  """
1972
2053
  return pulumi.get(self, "type")
1973
2054
 
1974
2055
  @type.setter
1975
- def type(self, value: pulumi.Input[str]):
2056
+ def type(self, value: pulumi.Input[builtins.str]):
1976
2057
  pulumi.set(self, "type", value)
1977
2058
 
1978
2059
  @property
@@ -2041,7 +2122,7 @@ if not MYPY:
2041
2122
  """
2042
2123
  MetricStatus describes the last-read state of a single metric.
2043
2124
  """
2044
- type: pulumi.Input[str]
2125
+ type: pulumi.Input[builtins.str]
2045
2126
  """
2046
2127
  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
2128
  """
@@ -2071,7 +2152,7 @@ elif False:
2071
2152
  @pulumi.input_type
2072
2153
  class MetricStatusArgs:
2073
2154
  def __init__(__self__, *,
2074
- type: pulumi.Input[str],
2155
+ type: pulumi.Input[builtins.str],
2075
2156
  container_resource: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']] = None,
2076
2157
  external: Optional[pulumi.Input['ExternalMetricStatusArgs']] = None,
2077
2158
  object: Optional[pulumi.Input['ObjectMetricStatusArgs']] = None,
@@ -2079,7 +2160,7 @@ class MetricStatusArgs:
2079
2160
  resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
2080
2161
  """
2081
2162
  MetricStatus describes the last-read state of a single metric.
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.
2163
+ :param pulumi.Input[builtins.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.
2083
2164
  :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.
2084
2165
  :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).
2085
2166
  :param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
@@ -2100,14 +2181,14 @@ class MetricStatusArgs:
2100
2181
 
2101
2182
  @property
2102
2183
  @pulumi.getter
2103
- def type(self) -> pulumi.Input[str]:
2184
+ def type(self) -> pulumi.Input[builtins.str]:
2104
2185
  """
2105
2186
  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.
2106
2187
  """
2107
2188
  return pulumi.get(self, "type")
2108
2189
 
2109
2190
  @type.setter
2110
- def type(self, value: pulumi.Input[str]):
2191
+ def type(self, value: pulumi.Input[builtins.str]):
2111
2192
  pulumi.set(self, "type", value)
2112
2193
 
2113
2194
  @property
@@ -2176,19 +2257,19 @@ if not MYPY:
2176
2257
  """
2177
2258
  MetricTarget defines the target value, average value, or average utilization of a specific metric
2178
2259
  """
2179
- average_utilization: NotRequired[pulumi.Input[int]]
2260
+ average_utilization: NotRequired[pulumi.Input[builtins.int]]
2180
2261
  """
2181
2262
  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
2263
  """
2183
- average_value: NotRequired[pulumi.Input[str]]
2264
+ average_value: NotRequired[pulumi.Input[builtins.str]]
2184
2265
  """
2185
2266
  averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2186
2267
  """
2187
- type: NotRequired[pulumi.Input[str]]
2268
+ type: NotRequired[pulumi.Input[builtins.str]]
2188
2269
  """
2189
2270
  type represents whether the metric type is Utilization, Value, or AverageValue
2190
2271
  """
2191
- value: NotRequired[pulumi.Input[str]]
2272
+ value: NotRequired[pulumi.Input[builtins.str]]
2192
2273
  """
2193
2274
  value is the target value of the metric (as a quantity).
2194
2275
  """
@@ -2198,16 +2279,16 @@ elif False:
2198
2279
  @pulumi.input_type
2199
2280
  class MetricTargetPatchArgs:
2200
2281
  def __init__(__self__, *,
2201
- average_utilization: Optional[pulumi.Input[int]] = None,
2202
- average_value: Optional[pulumi.Input[str]] = None,
2203
- type: Optional[pulumi.Input[str]] = None,
2204
- value: Optional[pulumi.Input[str]] = None):
2282
+ average_utilization: Optional[pulumi.Input[builtins.int]] = None,
2283
+ average_value: Optional[pulumi.Input[builtins.str]] = None,
2284
+ type: Optional[pulumi.Input[builtins.str]] = None,
2285
+ value: Optional[pulumi.Input[builtins.str]] = None):
2205
2286
  """
2206
2287
  MetricTarget defines the target value, average value, or average utilization of a specific metric
2207
- :param pulumi.Input[int] average_utilization: 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
2208
- :param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2209
- :param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
2210
- :param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
2288
+ :param pulumi.Input[builtins.int] average_utilization: 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
2289
+ :param pulumi.Input[builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2290
+ :param pulumi.Input[builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
2291
+ :param pulumi.Input[builtins.str] value: value is the target value of the metric (as a quantity).
2211
2292
  """
2212
2293
  if average_utilization is not None:
2213
2294
  pulumi.set(__self__, "average_utilization", average_utilization)
@@ -2220,50 +2301,50 @@ class MetricTargetPatchArgs:
2220
2301
 
2221
2302
  @property
2222
2303
  @pulumi.getter(name="averageUtilization")
2223
- def average_utilization(self) -> Optional[pulumi.Input[int]]:
2304
+ def average_utilization(self) -> Optional[pulumi.Input[builtins.int]]:
2224
2305
  """
2225
2306
  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
2226
2307
  """
2227
2308
  return pulumi.get(self, "average_utilization")
2228
2309
 
2229
2310
  @average_utilization.setter
2230
- def average_utilization(self, value: Optional[pulumi.Input[int]]):
2311
+ def average_utilization(self, value: Optional[pulumi.Input[builtins.int]]):
2231
2312
  pulumi.set(self, "average_utilization", value)
2232
2313
 
2233
2314
  @property
2234
2315
  @pulumi.getter(name="averageValue")
2235
- def average_value(self) -> Optional[pulumi.Input[str]]:
2316
+ def average_value(self) -> Optional[pulumi.Input[builtins.str]]:
2236
2317
  """
2237
2318
  averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2238
2319
  """
2239
2320
  return pulumi.get(self, "average_value")
2240
2321
 
2241
2322
  @average_value.setter
2242
- def average_value(self, value: Optional[pulumi.Input[str]]):
2323
+ def average_value(self, value: Optional[pulumi.Input[builtins.str]]):
2243
2324
  pulumi.set(self, "average_value", value)
2244
2325
 
2245
2326
  @property
2246
2327
  @pulumi.getter
2247
- def type(self) -> Optional[pulumi.Input[str]]:
2328
+ def type(self) -> Optional[pulumi.Input[builtins.str]]:
2248
2329
  """
2249
2330
  type represents whether the metric type is Utilization, Value, or AverageValue
2250
2331
  """
2251
2332
  return pulumi.get(self, "type")
2252
2333
 
2253
2334
  @type.setter
2254
- def type(self, value: Optional[pulumi.Input[str]]):
2335
+ def type(self, value: Optional[pulumi.Input[builtins.str]]):
2255
2336
  pulumi.set(self, "type", value)
2256
2337
 
2257
2338
  @property
2258
2339
  @pulumi.getter
2259
- def value(self) -> Optional[pulumi.Input[str]]:
2340
+ def value(self) -> Optional[pulumi.Input[builtins.str]]:
2260
2341
  """
2261
2342
  value is the target value of the metric (as a quantity).
2262
2343
  """
2263
2344
  return pulumi.get(self, "value")
2264
2345
 
2265
2346
  @value.setter
2266
- def value(self, value: Optional[pulumi.Input[str]]):
2347
+ def value(self, value: Optional[pulumi.Input[builtins.str]]):
2267
2348
  pulumi.set(self, "value", value)
2268
2349
 
2269
2350
 
@@ -2272,19 +2353,19 @@ if not MYPY:
2272
2353
  """
2273
2354
  MetricTarget defines the target value, average value, or average utilization of a specific metric
2274
2355
  """
2275
- type: pulumi.Input[str]
2356
+ type: pulumi.Input[builtins.str]
2276
2357
  """
2277
2358
  type represents whether the metric type is Utilization, Value, or AverageValue
2278
2359
  """
2279
- average_utilization: NotRequired[pulumi.Input[int]]
2360
+ average_utilization: NotRequired[pulumi.Input[builtins.int]]
2280
2361
  """
2281
2362
  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
2363
  """
2283
- average_value: NotRequired[pulumi.Input[str]]
2364
+ average_value: NotRequired[pulumi.Input[builtins.str]]
2284
2365
  """
2285
2366
  averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2286
2367
  """
2287
- value: NotRequired[pulumi.Input[str]]
2368
+ value: NotRequired[pulumi.Input[builtins.str]]
2288
2369
  """
2289
2370
  value is the target value of the metric (as a quantity).
2290
2371
  """
@@ -2294,16 +2375,16 @@ elif False:
2294
2375
  @pulumi.input_type
2295
2376
  class MetricTargetArgs:
2296
2377
  def __init__(__self__, *,
2297
- type: pulumi.Input[str],
2298
- average_utilization: Optional[pulumi.Input[int]] = None,
2299
- average_value: Optional[pulumi.Input[str]] = None,
2300
- value: Optional[pulumi.Input[str]] = None):
2378
+ type: pulumi.Input[builtins.str],
2379
+ average_utilization: Optional[pulumi.Input[builtins.int]] = None,
2380
+ average_value: Optional[pulumi.Input[builtins.str]] = None,
2381
+ value: Optional[pulumi.Input[builtins.str]] = None):
2301
2382
  """
2302
2383
  MetricTarget defines the target value, average value, or average utilization of a specific metric
2303
- :param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
2304
- :param pulumi.Input[int] average_utilization: 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
2305
- :param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2306
- :param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
2384
+ :param pulumi.Input[builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
2385
+ :param pulumi.Input[builtins.int] average_utilization: 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
2386
+ :param pulumi.Input[builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2387
+ :param pulumi.Input[builtins.str] value: value is the target value of the metric (as a quantity).
2307
2388
  """
2308
2389
  pulumi.set(__self__, "type", type)
2309
2390
  if average_utilization is not None:
@@ -2315,50 +2396,50 @@ class MetricTargetArgs:
2315
2396
 
2316
2397
  @property
2317
2398
  @pulumi.getter
2318
- def type(self) -> pulumi.Input[str]:
2399
+ def type(self) -> pulumi.Input[builtins.str]:
2319
2400
  """
2320
2401
  type represents whether the metric type is Utilization, Value, or AverageValue
2321
2402
  """
2322
2403
  return pulumi.get(self, "type")
2323
2404
 
2324
2405
  @type.setter
2325
- def type(self, value: pulumi.Input[str]):
2406
+ def type(self, value: pulumi.Input[builtins.str]):
2326
2407
  pulumi.set(self, "type", value)
2327
2408
 
2328
2409
  @property
2329
2410
  @pulumi.getter(name="averageUtilization")
2330
- def average_utilization(self) -> Optional[pulumi.Input[int]]:
2411
+ def average_utilization(self) -> Optional[pulumi.Input[builtins.int]]:
2331
2412
  """
2332
2413
  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
2333
2414
  """
2334
2415
  return pulumi.get(self, "average_utilization")
2335
2416
 
2336
2417
  @average_utilization.setter
2337
- def average_utilization(self, value: Optional[pulumi.Input[int]]):
2418
+ def average_utilization(self, value: Optional[pulumi.Input[builtins.int]]):
2338
2419
  pulumi.set(self, "average_utilization", value)
2339
2420
 
2340
2421
  @property
2341
2422
  @pulumi.getter(name="averageValue")
2342
- def average_value(self) -> Optional[pulumi.Input[str]]:
2423
+ def average_value(self) -> Optional[pulumi.Input[builtins.str]]:
2343
2424
  """
2344
2425
  averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
2345
2426
  """
2346
2427
  return pulumi.get(self, "average_value")
2347
2428
 
2348
2429
  @average_value.setter
2349
- def average_value(self, value: Optional[pulumi.Input[str]]):
2430
+ def average_value(self, value: Optional[pulumi.Input[builtins.str]]):
2350
2431
  pulumi.set(self, "average_value", value)
2351
2432
 
2352
2433
  @property
2353
2434
  @pulumi.getter
2354
- def value(self) -> Optional[pulumi.Input[str]]:
2435
+ def value(self) -> Optional[pulumi.Input[builtins.str]]:
2355
2436
  """
2356
2437
  value is the target value of the metric (as a quantity).
2357
2438
  """
2358
2439
  return pulumi.get(self, "value")
2359
2440
 
2360
2441
  @value.setter
2361
- def value(self, value: Optional[pulumi.Input[str]]):
2442
+ def value(self, value: Optional[pulumi.Input[builtins.str]]):
2362
2443
  pulumi.set(self, "value", value)
2363
2444
 
2364
2445
 
@@ -2367,15 +2448,15 @@ if not MYPY:
2367
2448
  """
2368
2449
  MetricValueStatus holds the current value for a metric
2369
2450
  """
2370
- average_utilization: NotRequired[pulumi.Input[int]]
2451
+ average_utilization: NotRequired[pulumi.Input[builtins.int]]
2371
2452
  """
2372
2453
  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
2454
  """
2374
- average_value: NotRequired[pulumi.Input[str]]
2455
+ average_value: NotRequired[pulumi.Input[builtins.str]]
2375
2456
  """
2376
2457
  averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
2377
2458
  """
2378
- value: NotRequired[pulumi.Input[str]]
2459
+ value: NotRequired[pulumi.Input[builtins.str]]
2379
2460
  """
2380
2461
  value is the current value of the metric (as a quantity).
2381
2462
  """
@@ -2385,14 +2466,14 @@ elif False:
2385
2466
  @pulumi.input_type
2386
2467
  class MetricValueStatusArgs:
2387
2468
  def __init__(__self__, *,
2388
- average_utilization: Optional[pulumi.Input[int]] = None,
2389
- average_value: Optional[pulumi.Input[str]] = None,
2390
- value: Optional[pulumi.Input[str]] = None):
2469
+ average_utilization: Optional[pulumi.Input[builtins.int]] = None,
2470
+ average_value: Optional[pulumi.Input[builtins.str]] = None,
2471
+ value: Optional[pulumi.Input[builtins.str]] = None):
2391
2472
  """
2392
2473
  MetricValueStatus holds the current value for a metric
2393
- :param pulumi.Input[int] average_utilization: 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.
2394
- :param pulumi.Input[str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
2395
- :param pulumi.Input[str] value: value is the current value of the metric (as a quantity).
2474
+ :param pulumi.Input[builtins.int] average_utilization: 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.
2475
+ :param pulumi.Input[builtins.str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
2476
+ :param pulumi.Input[builtins.str] value: value is the current value of the metric (as a quantity).
2396
2477
  """
2397
2478
  if average_utilization is not None:
2398
2479
  pulumi.set(__self__, "average_utilization", average_utilization)
@@ -2403,38 +2484,38 @@ class MetricValueStatusArgs:
2403
2484
 
2404
2485
  @property
2405
2486
  @pulumi.getter(name="averageUtilization")
2406
- def average_utilization(self) -> Optional[pulumi.Input[int]]:
2487
+ def average_utilization(self) -> Optional[pulumi.Input[builtins.int]]:
2407
2488
  """
2408
2489
  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.
2409
2490
  """
2410
2491
  return pulumi.get(self, "average_utilization")
2411
2492
 
2412
2493
  @average_utilization.setter
2413
- def average_utilization(self, value: Optional[pulumi.Input[int]]):
2494
+ def average_utilization(self, value: Optional[pulumi.Input[builtins.int]]):
2414
2495
  pulumi.set(self, "average_utilization", value)
2415
2496
 
2416
2497
  @property
2417
2498
  @pulumi.getter(name="averageValue")
2418
- def average_value(self) -> Optional[pulumi.Input[str]]:
2499
+ def average_value(self) -> Optional[pulumi.Input[builtins.str]]:
2419
2500
  """
2420
2501
  averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
2421
2502
  """
2422
2503
  return pulumi.get(self, "average_value")
2423
2504
 
2424
2505
  @average_value.setter
2425
- def average_value(self, value: Optional[pulumi.Input[str]]):
2506
+ def average_value(self, value: Optional[pulumi.Input[builtins.str]]):
2426
2507
  pulumi.set(self, "average_value", value)
2427
2508
 
2428
2509
  @property
2429
2510
  @pulumi.getter
2430
- def value(self) -> Optional[pulumi.Input[str]]:
2511
+ def value(self) -> Optional[pulumi.Input[builtins.str]]:
2431
2512
  """
2432
2513
  value is the current value of the metric (as a quantity).
2433
2514
  """
2434
2515
  return pulumi.get(self, "value")
2435
2516
 
2436
2517
  @value.setter
2437
- def value(self, value: Optional[pulumi.Input[str]]):
2518
+ def value(self, value: Optional[pulumi.Input[builtins.str]]):
2438
2519
  pulumi.set(self, "value", value)
2439
2520
 
2440
2521
 
@@ -2829,7 +2910,7 @@ if not MYPY:
2829
2910
  """
2830
2911
  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
2912
  """
2832
- name: NotRequired[pulumi.Input[str]]
2913
+ name: NotRequired[pulumi.Input[builtins.str]]
2833
2914
  """
2834
2915
  name is the name of the resource in question.
2835
2916
  """
@@ -2843,11 +2924,11 @@ elif False:
2843
2924
  @pulumi.input_type
2844
2925
  class ResourceMetricSourcePatchArgs:
2845
2926
  def __init__(__self__, *,
2846
- name: Optional[pulumi.Input[str]] = None,
2927
+ name: Optional[pulumi.Input[builtins.str]] = None,
2847
2928
  target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
2848
2929
  """
2849
2930
  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.
2850
- :param pulumi.Input[str] name: name is the name of the resource in question.
2931
+ :param pulumi.Input[builtins.str] name: name is the name of the resource in question.
2851
2932
  :param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
2852
2933
  """
2853
2934
  if name is not None:
@@ -2857,14 +2938,14 @@ class ResourceMetricSourcePatchArgs:
2857
2938
 
2858
2939
  @property
2859
2940
  @pulumi.getter
2860
- def name(self) -> Optional[pulumi.Input[str]]:
2941
+ def name(self) -> Optional[pulumi.Input[builtins.str]]:
2861
2942
  """
2862
2943
  name is the name of the resource in question.
2863
2944
  """
2864
2945
  return pulumi.get(self, "name")
2865
2946
 
2866
2947
  @name.setter
2867
- def name(self, value: Optional[pulumi.Input[str]]):
2948
+ def name(self, value: Optional[pulumi.Input[builtins.str]]):
2868
2949
  pulumi.set(self, "name", value)
2869
2950
 
2870
2951
  @property
@@ -2885,7 +2966,7 @@ if not MYPY:
2885
2966
  """
2886
2967
  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
2968
  """
2888
- name: pulumi.Input[str]
2969
+ name: pulumi.Input[builtins.str]
2889
2970
  """
2890
2971
  name is the name of the resource in question.
2891
2972
  """
@@ -2899,11 +2980,11 @@ elif False:
2899
2980
  @pulumi.input_type
2900
2981
  class ResourceMetricSourceArgs:
2901
2982
  def __init__(__self__, *,
2902
- name: pulumi.Input[str],
2983
+ name: pulumi.Input[builtins.str],
2903
2984
  target: pulumi.Input['MetricTargetArgs']):
2904
2985
  """
2905
2986
  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.
2906
- :param pulumi.Input[str] name: name is the name of the resource in question.
2987
+ :param pulumi.Input[builtins.str] name: name is the name of the resource in question.
2907
2988
  :param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
2908
2989
  """
2909
2990
  pulumi.set(__self__, "name", name)
@@ -2911,14 +2992,14 @@ class ResourceMetricSourceArgs:
2911
2992
 
2912
2993
  @property
2913
2994
  @pulumi.getter
2914
- def name(self) -> pulumi.Input[str]:
2995
+ def name(self) -> pulumi.Input[builtins.str]:
2915
2996
  """
2916
2997
  name is the name of the resource in question.
2917
2998
  """
2918
2999
  return pulumi.get(self, "name")
2919
3000
 
2920
3001
  @name.setter
2921
- def name(self, value: pulumi.Input[str]):
3002
+ def name(self, value: pulumi.Input[builtins.str]):
2922
3003
  pulumi.set(self, "name", value)
2923
3004
 
2924
3005
  @property
@@ -2943,7 +3024,7 @@ if not MYPY:
2943
3024
  """
2944
3025
  current contains the current value for the given metric
2945
3026
  """
2946
- name: pulumi.Input[str]
3027
+ name: pulumi.Input[builtins.str]
2947
3028
  """
2948
3029
  name is the name of the resource in question.
2949
3030
  """
@@ -2954,11 +3035,11 @@ elif False:
2954
3035
  class ResourceMetricStatusArgs:
2955
3036
  def __init__(__self__, *,
2956
3037
  current: pulumi.Input['MetricValueStatusArgs'],
2957
- name: pulumi.Input[str]):
3038
+ name: pulumi.Input[builtins.str]):
2958
3039
  """
2959
3040
  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.
2960
3041
  :param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
2961
- :param pulumi.Input[str] name: name is the name of the resource in question.
3042
+ :param pulumi.Input[builtins.str] name: name is the name of the resource in question.
2962
3043
  """
2963
3044
  pulumi.set(__self__, "current", current)
2964
3045
  pulumi.set(__self__, "name", name)
@@ -2977,14 +3058,14 @@ class ResourceMetricStatusArgs:
2977
3058
 
2978
3059
  @property
2979
3060
  @pulumi.getter
2980
- def name(self) -> pulumi.Input[str]:
3061
+ def name(self) -> pulumi.Input[builtins.str]:
2981
3062
  """
2982
3063
  name is the name of the resource in question.
2983
3064
  """
2984
3065
  return pulumi.get(self, "name")
2985
3066
 
2986
3067
  @name.setter
2987
- def name(self, value: pulumi.Input[str]):
3068
+ def name(self, value: pulumi.Input[builtins.str]):
2988
3069
  pulumi.set(self, "name", value)
2989
3070
 
2990
3071