pulumi-kubernetes 4.17.0a1723576835__py3-none-any.whl → 4.26.0a1769215986__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (703) hide show
  1. pulumi_kubernetes/__init__.py +73 -2
  2. pulumi_kubernetes/_inputs.py +49 -49
  3. pulumi_kubernetes/_utilities.py +9 -5
  4. pulumi_kubernetes/admissionregistration/__init__.py +1 -0
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +26 -25
  6. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +26 -25
  7. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +26 -25
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +27 -26
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +26 -25
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +26 -25
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +26 -25
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +27 -26
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +26 -25
  15. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +26 -25
  16. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +26 -25
  17. pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
  18. pulumi_kubernetes/admissionregistration/v1/_inputs.py +721 -721
  19. pulumi_kubernetes/admissionregistration/v1/outputs.py +516 -516
  20. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +215 -0
  21. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +223 -0
  22. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +216 -0
  23. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +235 -0
  24. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +216 -0
  25. pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +227 -0
  26. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +27 -26
  27. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +26 -33
  28. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +26 -25
  29. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +26 -33
  30. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +26 -25
  31. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +27 -26
  32. pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +7 -0
  33. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2219 -716
  34. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1649 -530
  35. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +26 -25
  36. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +26 -25
  37. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +26 -25
  38. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +27 -26
  39. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +26 -25
  40. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +26 -25
  41. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +26 -25
  42. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +26 -25
  43. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +27 -26
  44. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +26 -25
  45. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +26 -25
  46. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +26 -25
  47. pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
  48. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +717 -717
  49. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +512 -512
  50. pulumi_kubernetes/apiextensions/__init__.py +1 -0
  51. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +27 -26
  52. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +26 -25
  53. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +27 -26
  54. pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
  55. pulumi_kubernetes/apiextensions/v1/_inputs.py +912 -912
  56. pulumi_kubernetes/apiextensions/v1/outputs.py +624 -624
  57. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +27 -26
  58. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +26 -25
  59. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +27 -26
  60. pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
  61. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -834
  62. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -572
  63. pulumi_kubernetes/apiregistration/__init__.py +1 -0
  64. pulumi_kubernetes/apiregistration/v1/APIService.py +27 -26
  65. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +26 -25
  66. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +27 -26
  67. pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
  68. pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -157
  69. pulumi_kubernetes/apiregistration/v1/outputs.py +128 -128
  70. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +27 -26
  71. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +26 -25
  72. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +27 -26
  73. pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
  74. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -157
  75. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -128
  76. pulumi_kubernetes/apps/__init__.py +1 -0
  77. pulumi_kubernetes/apps/v1/ControllerRevision.py +36 -35
  78. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +26 -25
  79. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +36 -35
  80. pulumi_kubernetes/apps/v1/DaemonSet.py +27 -26
  81. pulumi_kubernetes/apps/v1/DaemonSetList.py +26 -25
  82. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +27 -26
  83. pulumi_kubernetes/apps/v1/Deployment.py +27 -26
  84. pulumi_kubernetes/apps/v1/DeploymentList.py +26 -25
  85. pulumi_kubernetes/apps/v1/DeploymentPatch.py +27 -26
  86. pulumi_kubernetes/apps/v1/ReplicaSet.py +27 -26
  87. pulumi_kubernetes/apps/v1/ReplicaSetList.py +30 -29
  88. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +27 -26
  89. pulumi_kubernetes/apps/v1/StatefulSet.py +27 -26
  90. pulumi_kubernetes/apps/v1/StatefulSetList.py +26 -25
  91. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +27 -26
  92. pulumi_kubernetes/apps/v1/__init__.py +1 -0
  93. pulumi_kubernetes/apps/v1/_inputs.py +835 -782
  94. pulumi_kubernetes/apps/v1/outputs.py +806 -733
  95. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +36 -35
  96. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +26 -25
  97. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +36 -35
  98. pulumi_kubernetes/apps/v1beta1/Deployment.py +27 -26
  99. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +26 -25
  100. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +27 -26
  101. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +27 -26
  102. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +26 -25
  103. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +27 -26
  104. pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
  105. pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -409
  106. pulumi_kubernetes/apps/v1beta1/outputs.py +381 -381
  107. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +36 -35
  108. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +26 -25
  109. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +36 -35
  110. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +27 -26
  111. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +26 -25
  112. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +27 -26
  113. pulumi_kubernetes/apps/v1beta2/Deployment.py +27 -26
  114. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +26 -25
  115. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +27 -26
  116. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +27 -26
  117. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +26 -25
  118. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +27 -26
  119. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +27 -26
  120. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +26 -25
  121. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +27 -26
  122. pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
  123. pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -655
  124. pulumi_kubernetes/apps/v1beta2/outputs.py +645 -645
  125. pulumi_kubernetes/auditregistration/__init__.py +1 -0
  126. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +26 -25
  127. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +26 -25
  128. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +26 -25
  129. pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
  130. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -145
  131. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -101
  132. pulumi_kubernetes/autoscaling/__init__.py +1 -0
  133. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +27 -26
  134. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +26 -25
  135. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +27 -26
  136. pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
  137. pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -120
  138. pulumi_kubernetes/autoscaling/v1/outputs.py +102 -102
  139. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +27 -26
  140. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +26 -25
  141. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +27 -26
  142. pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
  143. pulumi_kubernetes/autoscaling/v2/_inputs.py +500 -420
  144. pulumi_kubernetes/autoscaling/v2/outputs.py +438 -382
  145. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +27 -26
  146. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +26 -25
  147. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +27 -26
  148. pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
  149. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -451
  150. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -424
  151. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +27 -26
  152. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +26 -25
  153. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +27 -26
  154. pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
  155. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -398
  156. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -366
  157. pulumi_kubernetes/batch/__init__.py +1 -0
  158. pulumi_kubernetes/batch/v1/CronJob.py +27 -26
  159. pulumi_kubernetes/batch/v1/CronJobList.py +26 -25
  160. pulumi_kubernetes/batch/v1/CronJobPatch.py +27 -26
  161. pulumi_kubernetes/batch/v1/Job.py +27 -26
  162. pulumi_kubernetes/batch/v1/JobList.py +26 -25
  163. pulumi_kubernetes/batch/v1/JobPatch.py +27 -26
  164. pulumi_kubernetes/batch/v1/__init__.py +1 -0
  165. pulumi_kubernetes/batch/v1/_inputs.py +508 -538
  166. pulumi_kubernetes/batch/v1/outputs.py +427 -451
  167. pulumi_kubernetes/batch/v1beta1/CronJob.py +27 -26
  168. pulumi_kubernetes/batch/v1beta1/CronJobList.py +26 -25
  169. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +27 -26
  170. pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
  171. pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -101
  172. pulumi_kubernetes/batch/v1beta1/outputs.py +76 -76
  173. pulumi_kubernetes/batch/v2alpha1/CronJob.py +27 -26
  174. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +26 -25
  175. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +27 -26
  176. pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
  177. pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -101
  178. pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -76
  179. pulumi_kubernetes/certificates/__init__.py +1 -0
  180. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +27 -26
  181. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +26 -25
  182. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +27 -26
  183. pulumi_kubernetes/certificates/v1/__init__.py +1 -0
  184. pulumi_kubernetes/certificates/v1/_inputs.py +155 -155
  185. pulumi_kubernetes/certificates/v1/outputs.py +134 -134
  186. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +28 -25
  187. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +26 -25
  188. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +28 -25
  189. pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
  190. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -39
  191. pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -27
  192. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +27 -26
  193. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +26 -25
  194. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +27 -26
  195. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +226 -0
  196. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +216 -0
  197. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +237 -0
  198. pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
  199. pulumi_kubernetes/certificates/v1beta1/_inputs.py +436 -144
  200. pulumi_kubernetes/certificates/v1beta1/outputs.py +369 -128
  201. pulumi_kubernetes/coordination/__init__.py +4 -0
  202. pulumi_kubernetes/coordination/v1/Lease.py +26 -25
  203. pulumi_kubernetes/coordination/v1/LeaseList.py +26 -25
  204. pulumi_kubernetes/coordination/v1/LeasePatch.py +26 -25
  205. pulumi_kubernetes/coordination/v1/__init__.py +1 -0
  206. pulumi_kubernetes/coordination/v1/_inputs.py +99 -99
  207. pulumi_kubernetes/coordination/v1/outputs.py +67 -67
  208. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +28 -25
  209. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +26 -25
  210. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +28 -25
  211. pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
  212. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -87
  213. pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -59
  214. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +217 -0
  215. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +216 -0
  216. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +229 -0
  217. pulumi_kubernetes/coordination/v1alpha2/__init__.py +13 -0
  218. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
  219. pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
  220. pulumi_kubernetes/coordination/v1beta1/Lease.py +26 -25
  221. pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +217 -0
  222. pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +216 -0
  223. pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +229 -0
  224. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +26 -25
  225. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +26 -25
  226. pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
  227. pulumi_kubernetes/coordination/v1beta1/_inputs.py +446 -75
  228. pulumi_kubernetes/coordination/v1beta1/outputs.py +343 -51
  229. pulumi_kubernetes/core/__init__.py +1 -0
  230. pulumi_kubernetes/core/v1/Binding.py +28 -27
  231. pulumi_kubernetes/core/v1/BindingPatch.py +28 -27
  232. pulumi_kubernetes/core/v1/ConfigMap.py +54 -53
  233. pulumi_kubernetes/core/v1/ConfigMapList.py +26 -25
  234. pulumi_kubernetes/core/v1/ConfigMapPatch.py +54 -53
  235. pulumi_kubernetes/core/v1/Endpoints.py +34 -25
  236. pulumi_kubernetes/core/v1/EndpointsList.py +28 -27
  237. pulumi_kubernetes/core/v1/EndpointsPatch.py +34 -25
  238. pulumi_kubernetes/core/v1/Event.py +132 -131
  239. pulumi_kubernetes/core/v1/EventList.py +26 -25
  240. pulumi_kubernetes/core/v1/EventPatch.py +132 -131
  241. pulumi_kubernetes/core/v1/LimitRange.py +26 -25
  242. pulumi_kubernetes/core/v1/LimitRangeList.py +26 -25
  243. pulumi_kubernetes/core/v1/LimitRangePatch.py +26 -25
  244. pulumi_kubernetes/core/v1/Namespace.py +27 -26
  245. pulumi_kubernetes/core/v1/NamespaceList.py +26 -25
  246. pulumi_kubernetes/core/v1/NamespacePatch.py +27 -26
  247. pulumi_kubernetes/core/v1/Node.py +27 -26
  248. pulumi_kubernetes/core/v1/NodeList.py +26 -25
  249. pulumi_kubernetes/core/v1/NodePatch.py +27 -26
  250. pulumi_kubernetes/core/v1/PersistentVolume.py +27 -26
  251. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +27 -26
  252. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +26 -25
  253. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +27 -26
  254. pulumi_kubernetes/core/v1/PersistentVolumeList.py +26 -25
  255. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +27 -26
  256. pulumi_kubernetes/core/v1/Pod.py +27 -26
  257. pulumi_kubernetes/core/v1/PodList.py +26 -25
  258. pulumi_kubernetes/core/v1/PodPatch.py +27 -26
  259. pulumi_kubernetes/core/v1/PodTemplate.py +26 -25
  260. pulumi_kubernetes/core/v1/PodTemplateList.py +26 -25
  261. pulumi_kubernetes/core/v1/PodTemplatePatch.py +26 -25
  262. pulumi_kubernetes/core/v1/ReplicationController.py +27 -26
  263. pulumi_kubernetes/core/v1/ReplicationControllerList.py +26 -25
  264. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +27 -26
  265. pulumi_kubernetes/core/v1/ResourceQuota.py +27 -26
  266. pulumi_kubernetes/core/v1/ResourceQuotaList.py +26 -25
  267. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +27 -26
  268. pulumi_kubernetes/core/v1/Secret.py +64 -63
  269. pulumi_kubernetes/core/v1/SecretList.py +26 -25
  270. pulumi_kubernetes/core/v1/SecretPatch.py +68 -65
  271. pulumi_kubernetes/core/v1/Service.py +33 -48
  272. pulumi_kubernetes/core/v1/ServiceAccount.py +42 -41
  273. pulumi_kubernetes/core/v1/ServiceAccountList.py +26 -25
  274. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +42 -41
  275. pulumi_kubernetes/core/v1/ServiceList.py +26 -25
  276. pulumi_kubernetes/core/v1/ServicePatch.py +33 -48
  277. pulumi_kubernetes/core/v1/__init__.py +1 -0
  278. pulumi_kubernetes/core/v1/_enums.py +4 -1
  279. pulumi_kubernetes/core/v1/_inputs.py +7862 -7453
  280. pulumi_kubernetes/core/v1/outputs.py +5980 -5608
  281. pulumi_kubernetes/discovery/__init__.py +1 -0
  282. pulumi_kubernetes/discovery/v1/EndpointSlice.py +46 -45
  283. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +26 -25
  284. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +46 -45
  285. pulumi_kubernetes/discovery/v1/__init__.py +1 -0
  286. pulumi_kubernetes/discovery/v1/_inputs.py +334 -219
  287. pulumi_kubernetes/discovery/v1/outputs.py +224 -149
  288. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +38 -37
  289. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +26 -25
  290. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +38 -37
  291. pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
  292. pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -158
  293. pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -108
  294. pulumi_kubernetes/events/__init__.py +1 -0
  295. pulumi_kubernetes/events/v1/Event.py +132 -131
  296. pulumi_kubernetes/events/v1/EventList.py +26 -25
  297. pulumi_kubernetes/events/v1/EventPatch.py +132 -131
  298. pulumi_kubernetes/events/v1/__init__.py +1 -0
  299. pulumi_kubernetes/events/v1/_inputs.py +102 -102
  300. pulumi_kubernetes/events/v1/outputs.py +70 -70
  301. pulumi_kubernetes/events/v1beta1/Event.py +132 -131
  302. pulumi_kubernetes/events/v1beta1/EventList.py +26 -25
  303. pulumi_kubernetes/events/v1beta1/EventPatch.py +132 -131
  304. pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
  305. pulumi_kubernetes/events/v1beta1/_inputs.py +114 -114
  306. pulumi_kubernetes/events/v1beta1/outputs.py +78 -78
  307. pulumi_kubernetes/extensions/__init__.py +1 -0
  308. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +27 -26
  309. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +26 -25
  310. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +27 -26
  311. pulumi_kubernetes/extensions/v1beta1/Deployment.py +27 -26
  312. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +26 -25
  313. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +27 -26
  314. pulumi_kubernetes/extensions/v1beta1/Ingress.py +27 -26
  315. pulumi_kubernetes/extensions/v1beta1/IngressList.py +26 -25
  316. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +27 -26
  317. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +26 -25
  318. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +26 -25
  319. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +26 -25
  320. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +26 -25
  321. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +26 -25
  322. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +26 -25
  323. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +27 -26
  324. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +26 -25
  325. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +27 -26
  326. pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
  327. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1097
  328. pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -899
  329. pulumi_kubernetes/flowcontrol/__init__.py +1 -0
  330. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +27 -26
  331. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +26 -25
  332. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +27 -26
  333. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +27 -26
  334. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +26 -25
  335. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +27 -26
  336. pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
  337. pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -419
  338. pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -333
  339. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +27 -26
  340. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +26 -25
  341. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +27 -26
  342. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +27 -26
  343. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +26 -25
  344. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +27 -26
  345. pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
  346. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -369
  347. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -299
  348. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +27 -26
  349. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +26 -25
  350. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +27 -26
  351. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +27 -26
  352. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +26 -25
  353. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +27 -26
  354. pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
  355. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -369
  356. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -299
  357. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +27 -26
  358. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +26 -25
  359. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +27 -26
  360. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +27 -26
  361. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +26 -25
  362. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +27 -26
  363. pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
  364. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -419
  365. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -333
  366. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +27 -26
  367. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +26 -25
  368. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +27 -26
  369. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +27 -26
  370. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +26 -25
  371. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +27 -26
  372. pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
  373. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +431 -431
  374. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +341 -341
  375. pulumi_kubernetes/helm/__init__.py +1 -0
  376. pulumi_kubernetes/helm/v3/Release.py +317 -316
  377. pulumi_kubernetes/helm/v3/__init__.py +1 -0
  378. pulumi_kubernetes/helm/v3/_inputs.py +39 -39
  379. pulumi_kubernetes/helm/v3/outputs.py +55 -55
  380. pulumi_kubernetes/helm/v4/Chart.py +114 -87
  381. pulumi_kubernetes/helm/v4/__init__.py +1 -0
  382. pulumi_kubernetes/helm/v4/_inputs.py +36 -36
  383. pulumi_kubernetes/kustomize/__init__.py +1 -0
  384. pulumi_kubernetes/kustomize/v2/Directory.py +36 -35
  385. pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
  386. pulumi_kubernetes/meta/__init__.py +1 -0
  387. pulumi_kubernetes/meta/v1/Status.py +58 -57
  388. pulumi_kubernetes/meta/v1/StatusPatch.py +58 -57
  389. pulumi_kubernetes/meta/v1/__init__.py +1 -0
  390. pulumi_kubernetes/meta/v1/_inputs.py +551 -551
  391. pulumi_kubernetes/meta/v1/outputs.py +395 -395
  392. pulumi_kubernetes/networking/__init__.py +1 -0
  393. pulumi_kubernetes/networking/v1/IPAddress.py +217 -0
  394. pulumi_kubernetes/networking/v1/IPAddressList.py +216 -0
  395. pulumi_kubernetes/networking/v1/IPAddressPatch.py +229 -0
  396. pulumi_kubernetes/networking/v1/Ingress.py +27 -26
  397. pulumi_kubernetes/networking/v1/IngressClass.py +26 -25
  398. pulumi_kubernetes/networking/v1/IngressClassList.py +26 -25
  399. pulumi_kubernetes/networking/v1/IngressClassPatch.py +26 -25
  400. pulumi_kubernetes/networking/v1/IngressList.py +26 -25
  401. pulumi_kubernetes/networking/v1/IngressPatch.py +27 -26
  402. pulumi_kubernetes/networking/v1/NetworkPolicy.py +27 -26
  403. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +26 -25
  404. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +27 -26
  405. pulumi_kubernetes/networking/v1/ServiceCIDR.py +227 -0
  406. pulumi_kubernetes/networking/v1/ServiceCIDRList.py +216 -0
  407. pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +239 -0
  408. pulumi_kubernetes/networking/v1/__init__.py +7 -0
  409. pulumi_kubernetes/networking/v1/_inputs.py +970 -371
  410. pulumi_kubernetes/networking/v1/outputs.py +746 -285
  411. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +26 -25
  412. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +26 -25
  413. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +26 -25
  414. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +27 -26
  415. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +26 -25
  416. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +27 -26
  417. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +28 -27
  418. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +26 -25
  419. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +28 -27
  420. pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
  421. pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -157
  422. pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -110
  423. pulumi_kubernetes/networking/v1beta1/IPAddress.py +27 -26
  424. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +26 -25
  425. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +27 -26
  426. pulumi_kubernetes/networking/v1beta1/Ingress.py +27 -26
  427. pulumi_kubernetes/networking/v1beta1/IngressClass.py +26 -25
  428. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +26 -25
  429. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +26 -25
  430. pulumi_kubernetes/networking/v1beta1/IngressList.py +26 -25
  431. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +27 -26
  432. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +28 -27
  433. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +26 -25
  434. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +28 -27
  435. pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
  436. pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -247
  437. pulumi_kubernetes/networking/v1beta1/outputs.py +173 -173
  438. pulumi_kubernetes/node/__init__.py +1 -0
  439. pulumi_kubernetes/node/v1/RuntimeClass.py +38 -37
  440. pulumi_kubernetes/node/v1/RuntimeClassList.py +26 -25
  441. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +38 -37
  442. pulumi_kubernetes/node/v1/__init__.py +1 -0
  443. pulumi_kubernetes/node/v1/_inputs.py +48 -48
  444. pulumi_kubernetes/node/v1/outputs.py +34 -34
  445. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +26 -25
  446. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +26 -25
  447. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +26 -25
  448. pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
  449. pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -57
  450. pulumi_kubernetes/node/v1alpha1/outputs.py +41 -41
  451. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +38 -37
  452. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +26 -25
  453. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +38 -37
  454. pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
  455. pulumi_kubernetes/node/v1beta1/_inputs.py +48 -48
  456. pulumi_kubernetes/node/v1beta1/outputs.py +34 -34
  457. pulumi_kubernetes/policy/__init__.py +1 -0
  458. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +27 -26
  459. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +26 -25
  460. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +27 -26
  461. pulumi_kubernetes/policy/v1/__init__.py +1 -0
  462. pulumi_kubernetes/policy/v1/_inputs.py +91 -103
  463. pulumi_kubernetes/policy/v1/outputs.py +80 -88
  464. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +27 -26
  465. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +26 -25
  466. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +27 -26
  467. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +26 -25
  468. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +26 -25
  469. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +26 -25
  470. pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
  471. pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -470
  472. pulumi_kubernetes/policy/v1beta1/outputs.py +342 -342
  473. pulumi_kubernetes/provider.py +139 -99
  474. pulumi_kubernetes/pulumi-plugin.json +1 -1
  475. pulumi_kubernetes/rbac/__init__.py +1 -0
  476. pulumi_kubernetes/rbac/v1/ClusterRole.py +28 -27
  477. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +28 -27
  478. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +26 -25
  479. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +28 -27
  480. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +26 -25
  481. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +28 -27
  482. pulumi_kubernetes/rbac/v1/Role.py +26 -25
  483. pulumi_kubernetes/rbac/v1/RoleBinding.py +28 -27
  484. pulumi_kubernetes/rbac/v1/RoleBindingList.py +26 -25
  485. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +28 -27
  486. pulumi_kubernetes/rbac/v1/RoleList.py +26 -25
  487. pulumi_kubernetes/rbac/v1/RolePatch.py +26 -25
  488. pulumi_kubernetes/rbac/v1/__init__.py +1 -0
  489. pulumi_kubernetes/rbac/v1/_inputs.py +206 -206
  490. pulumi_kubernetes/rbac/v1/outputs.py +142 -142
  491. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +28 -27
  492. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +28 -27
  493. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +26 -25
  494. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +28 -27
  495. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +26 -25
  496. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +28 -27
  497. pulumi_kubernetes/rbac/v1alpha1/Role.py +26 -25
  498. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +28 -27
  499. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +26 -25
  500. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +28 -27
  501. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +26 -25
  502. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +26 -25
  503. pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
  504. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -206
  505. pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -142
  506. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +28 -27
  507. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +28 -27
  508. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +26 -25
  509. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +28 -27
  510. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +26 -25
  511. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +28 -27
  512. pulumi_kubernetes/rbac/v1beta1/Role.py +26 -25
  513. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +28 -27
  514. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +26 -25
  515. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +28 -27
  516. pulumi_kubernetes/rbac/v1beta1/RoleList.py +26 -25
  517. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +26 -25
  518. pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
  519. pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -206
  520. pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -142
  521. pulumi_kubernetes/resource/__init__.py +7 -0
  522. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +27 -26
  523. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +26 -25
  524. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +27 -26
  525. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +28 -27
  526. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +26 -25
  527. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +28 -27
  528. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +27 -26
  529. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +26 -25
  530. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +27 -26
  531. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +38 -37
  532. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +26 -25
  533. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +38 -37
  534. pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
  535. pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -268
  536. pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -230
  537. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +27 -26
  538. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +26 -25
  539. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +27 -26
  540. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +28 -27
  541. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +26 -25
  542. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +38 -37
  543. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +26 -25
  544. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +38 -37
  545. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +28 -27
  546. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +27 -26
  547. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +26 -25
  548. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +27 -26
  549. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +48 -47
  550. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +26 -25
  551. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +30 -29
  552. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +26 -25
  553. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +30 -29
  554. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +48 -47
  555. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +47 -46
  556. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +26 -25
  557. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +47 -46
  558. pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
  559. pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -550
  560. pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -449
  561. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +28 -25
  562. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +26 -25
  563. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +28 -25
  564. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +224 -0
  565. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +216 -0
  566. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +235 -0
  567. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +27 -26
  568. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +26 -25
  569. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +27 -26
  570. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +28 -27
  571. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +26 -25
  572. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +28 -27
  573. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +27 -26
  574. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +26 -25
  575. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +27 -26
  576. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +34 -33
  577. pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +246 -0
  578. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +27 -26
  579. pulumi_kubernetes/resource/v1alpha3/__init__.py +5 -0
  580. pulumi_kubernetes/resource/v1alpha3/_inputs.py +3400 -606
  581. pulumi_kubernetes/resource/v1alpha3/outputs.py +2933 -565
  582. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +238 -0
  583. pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +216 -0
  584. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +249 -0
  585. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +233 -0
  586. pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +217 -0
  587. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +244 -0
  588. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +230 -0
  589. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +216 -0
  590. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +241 -0
  591. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +247 -0
  592. pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +217 -0
  593. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +258 -0
  594. pulumi_kubernetes/resource/v1beta1/__init__.py +22 -0
  595. pulumi_kubernetes/resource/v1beta1/_inputs.py +5735 -0
  596. pulumi_kubernetes/resource/v1beta1/outputs.py +4736 -0
  597. pulumi_kubernetes/resource/v1beta2/DeviceClass.py +238 -0
  598. pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +216 -0
  599. pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +249 -0
  600. pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +233 -0
  601. pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +217 -0
  602. pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +244 -0
  603. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +230 -0
  604. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +216 -0
  605. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +241 -0
  606. pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +247 -0
  607. pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +217 -0
  608. pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +258 -0
  609. pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
  610. pulumi_kubernetes/resource/v1beta2/_inputs.py +5680 -0
  611. pulumi_kubernetes/resource/v1beta2/outputs.py +4725 -0
  612. pulumi_kubernetes/scheduling/__init__.py +1 -0
  613. pulumi_kubernetes/scheduling/v1/PriorityClass.py +64 -63
  614. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +26 -25
  615. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +64 -63
  616. pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
  617. pulumi_kubernetes/scheduling/v1/_inputs.py +38 -38
  618. pulumi_kubernetes/scheduling/v1/outputs.py +26 -26
  619. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +64 -63
  620. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +26 -25
  621. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +64 -63
  622. pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
  623. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -38
  624. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -26
  625. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +64 -63
  626. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +26 -25
  627. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +64 -63
  628. pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
  629. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -38
  630. pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -26
  631. pulumi_kubernetes/settings/__init__.py +1 -0
  632. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +26 -25
  633. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +26 -25
  634. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +26 -25
  635. pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
  636. pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -25
  637. pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -21
  638. pulumi_kubernetes/storage/__init__.py +1 -0
  639. pulumi_kubernetes/storage/v1/CSIDriver.py +26 -25
  640. pulumi_kubernetes/storage/v1/CSIDriverList.py +26 -25
  641. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +26 -25
  642. pulumi_kubernetes/storage/v1/CSINode.py +26 -25
  643. pulumi_kubernetes/storage/v1/CSINodeList.py +26 -25
  644. pulumi_kubernetes/storage/v1/CSINodePatch.py +26 -25
  645. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +56 -55
  646. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +26 -25
  647. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +56 -55
  648. pulumi_kubernetes/storage/v1/StorageClass.py +86 -85
  649. pulumi_kubernetes/storage/v1/StorageClassList.py +26 -25
  650. pulumi_kubernetes/storage/v1/StorageClassPatch.py +86 -85
  651. pulumi_kubernetes/storage/v1/VolumeAttachment.py +27 -26
  652. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +26 -25
  653. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +27 -26
  654. pulumi_kubernetes/storage/v1/__init__.py +1 -0
  655. pulumi_kubernetes/storage/v1/_inputs.py +448 -358
  656. pulumi_kubernetes/storage/v1/outputs.py +376 -266
  657. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +27 -26
  658. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +26 -25
  659. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +27 -26
  660. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +44 -43
  661. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +26 -25
  662. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +44 -43
  663. pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
  664. pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -107
  665. pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -93
  666. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +26 -25
  667. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +26 -25
  668. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +26 -25
  669. pulumi_kubernetes/storage/v1beta1/CSINode.py +26 -25
  670. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +26 -25
  671. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +26 -25
  672. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +56 -55
  673. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +26 -25
  674. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +56 -55
  675. pulumi_kubernetes/storage/v1beta1/StorageClass.py +86 -85
  676. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +26 -25
  677. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +86 -85
  678. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +27 -26
  679. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +26 -25
  680. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +27 -26
  681. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +44 -43
  682. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +26 -25
  683. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +44 -43
  684. pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
  685. pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -367
  686. pulumi_kubernetes/storage/v1beta1/outputs.py +271 -271
  687. pulumi_kubernetes/storagemigration/__init__.py +1 -0
  688. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +27 -26
  689. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +26 -25
  690. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +27 -26
  691. pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
  692. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -103
  693. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -96
  694. pulumi_kubernetes/yaml/__init__.py +1 -0
  695. pulumi_kubernetes/yaml/v2/ConfigFile.py +31 -28
  696. pulumi_kubernetes/yaml/v2/ConfigGroup.py +36 -35
  697. pulumi_kubernetes/yaml/v2/__init__.py +1 -0
  698. pulumi_kubernetes/yaml/yaml.py +198 -0
  699. {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/METADATA +9 -9
  700. pulumi_kubernetes-4.26.0a1769215986.dist-info/RECORD +709 -0
  701. {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/WHEEL +1 -1
  702. pulumi_kubernetes-4.17.0a1723576835.dist-info/RECORD +0 -651
  703. {pulumi_kubernetes-4.17.0a1723576835.dist-info → pulumi_kubernetes-4.26.0a1769215986.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumigen. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import copy
5
+ import builtins as _builtins
6
6
  import warnings
7
7
  import sys
8
8
  import pulumi
@@ -99,7 +99,7 @@ if not MYPY:
99
99
  """
100
100
  AuditAnnotation describes how to produce an audit annotation for an API request.
101
101
  """
102
- key: NotRequired[pulumi.Input[str]]
102
+ key: NotRequired[pulumi.Input[_builtins.str]]
103
103
  """
104
104
  key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
105
105
 
@@ -109,7 +109,7 @@ if not MYPY:
109
109
 
110
110
  Required.
111
111
  """
112
- value_expression: NotRequired[pulumi.Input[str]]
112
+ value_expression: NotRequired[pulumi.Input[_builtins.str]]
113
113
  """
114
114
  valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
115
115
 
@@ -123,18 +123,18 @@ elif False:
123
123
  @pulumi.input_type
124
124
  class AuditAnnotationPatchArgs:
125
125
  def __init__(__self__, *,
126
- key: Optional[pulumi.Input[str]] = None,
127
- value_expression: Optional[pulumi.Input[str]] = None):
126
+ key: Optional[pulumi.Input[_builtins.str]] = None,
127
+ value_expression: Optional[pulumi.Input[_builtins.str]] = None):
128
128
  """
129
129
  AuditAnnotation describes how to produce an audit annotation for an API request.
130
- :param pulumi.Input[str] key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
130
+ :param pulumi.Input[_builtins.str] key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
131
131
 
132
132
  The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
133
133
 
134
134
  If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
135
135
 
136
136
  Required.
137
- :param pulumi.Input[str] value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
137
+ :param pulumi.Input[_builtins.str] value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
138
138
 
139
139
  If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
140
140
 
@@ -145,9 +145,9 @@ class AuditAnnotationPatchArgs:
145
145
  if value_expression is not None:
146
146
  pulumi.set(__self__, "value_expression", value_expression)
147
147
 
148
- @property
148
+ @_builtins.property
149
149
  @pulumi.getter
150
- def key(self) -> Optional[pulumi.Input[str]]:
150
+ def key(self) -> Optional[pulumi.Input[_builtins.str]]:
151
151
  """
152
152
  key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
153
153
 
@@ -160,12 +160,12 @@ class AuditAnnotationPatchArgs:
160
160
  return pulumi.get(self, "key")
161
161
 
162
162
  @key.setter
163
- def key(self, value: Optional[pulumi.Input[str]]):
163
+ def key(self, value: Optional[pulumi.Input[_builtins.str]]):
164
164
  pulumi.set(self, "key", value)
165
165
 
166
- @property
166
+ @_builtins.property
167
167
  @pulumi.getter(name="valueExpression")
168
- def value_expression(self) -> Optional[pulumi.Input[str]]:
168
+ def value_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
169
169
  """
170
170
  valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
171
171
 
@@ -176,7 +176,7 @@ class AuditAnnotationPatchArgs:
176
176
  return pulumi.get(self, "value_expression")
177
177
 
178
178
  @value_expression.setter
179
- def value_expression(self, value: Optional[pulumi.Input[str]]):
179
+ def value_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
180
180
  pulumi.set(self, "value_expression", value)
181
181
 
182
182
 
@@ -185,7 +185,7 @@ if not MYPY:
185
185
  """
186
186
  AuditAnnotation describes how to produce an audit annotation for an API request.
187
187
  """
188
- key: pulumi.Input[str]
188
+ key: pulumi.Input[_builtins.str]
189
189
  """
190
190
  key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
191
191
 
@@ -195,7 +195,7 @@ if not MYPY:
195
195
 
196
196
  Required.
197
197
  """
198
- value_expression: pulumi.Input[str]
198
+ value_expression: pulumi.Input[_builtins.str]
199
199
  """
200
200
  valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
201
201
 
@@ -209,18 +209,18 @@ elif False:
209
209
  @pulumi.input_type
210
210
  class AuditAnnotationArgs:
211
211
  def __init__(__self__, *,
212
- key: pulumi.Input[str],
213
- value_expression: pulumi.Input[str]):
212
+ key: pulumi.Input[_builtins.str],
213
+ value_expression: pulumi.Input[_builtins.str]):
214
214
  """
215
215
  AuditAnnotation describes how to produce an audit annotation for an API request.
216
- :param pulumi.Input[str] key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
216
+ :param pulumi.Input[_builtins.str] key: key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
217
217
 
218
218
  The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
219
219
 
220
220
  If an admission webhook uses the same resource name as this ValidatingAdmissionPolicy and the same audit annotation key, the annotation key will be identical. In this case, the first annotation written with the key will be included in the audit event and all subsequent annotations with the same key will be discarded.
221
221
 
222
222
  Required.
223
- :param pulumi.Input[str] value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
223
+ :param pulumi.Input[_builtins.str] value_expression: valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
224
224
 
225
225
  If multiple ValidatingAdmissionPolicyBinding resources match an API request, then the valueExpression will be evaluated for each binding. All unique values produced by the valueExpressions will be joined together in a comma-separated list.
226
226
 
@@ -229,9 +229,9 @@ class AuditAnnotationArgs:
229
229
  pulumi.set(__self__, "key", key)
230
230
  pulumi.set(__self__, "value_expression", value_expression)
231
231
 
232
- @property
232
+ @_builtins.property
233
233
  @pulumi.getter
234
- def key(self) -> pulumi.Input[str]:
234
+ def key(self) -> pulumi.Input[_builtins.str]:
235
235
  """
236
236
  key specifies the audit annotation key. The audit annotation keys of a ValidatingAdmissionPolicy must be unique. The key must be a qualified name ([A-Za-z0-9][-A-Za-z0-9_.]*) no more than 63 bytes in length.
237
237
 
@@ -244,12 +244,12 @@ class AuditAnnotationArgs:
244
244
  return pulumi.get(self, "key")
245
245
 
246
246
  @key.setter
247
- def key(self, value: pulumi.Input[str]):
247
+ def key(self, value: pulumi.Input[_builtins.str]):
248
248
  pulumi.set(self, "key", value)
249
249
 
250
- @property
250
+ @_builtins.property
251
251
  @pulumi.getter(name="valueExpression")
252
- def value_expression(self) -> pulumi.Input[str]:
252
+ def value_expression(self) -> pulumi.Input[_builtins.str]:
253
253
  """
254
254
  valueExpression represents the expression which is evaluated by CEL to produce an audit annotation value. The expression must evaluate to either a string or null value. If the expression evaluates to a string, the audit annotation is included with the string value. If the expression evaluates to null or empty string the audit annotation will be omitted. The valueExpression may be no longer than 5kb in length. If the result of the valueExpression is more than 10kb in length, it will be truncated to 10kb.
255
255
 
@@ -260,7 +260,7 @@ class AuditAnnotationArgs:
260
260
  return pulumi.get(self, "value_expression")
261
261
 
262
262
  @value_expression.setter
263
- def value_expression(self, value: pulumi.Input[str]):
263
+ def value_expression(self, value: pulumi.Input[_builtins.str]):
264
264
  pulumi.set(self, "value_expression", value)
265
265
 
266
266
 
@@ -269,11 +269,11 @@ if not MYPY:
269
269
  """
270
270
  ExpressionWarning is a warning information that targets a specific expression.
271
271
  """
272
- field_ref: pulumi.Input[str]
272
+ field_ref: pulumi.Input[_builtins.str]
273
273
  """
274
274
  The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
275
275
  """
276
- warning: pulumi.Input[str]
276
+ warning: pulumi.Input[_builtins.str]
277
277
  """
278
278
  The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
279
279
  """
@@ -283,38 +283,38 @@ elif False:
283
283
  @pulumi.input_type
284
284
  class ExpressionWarningArgs:
285
285
  def __init__(__self__, *,
286
- field_ref: pulumi.Input[str],
287
- warning: pulumi.Input[str]):
286
+ field_ref: pulumi.Input[_builtins.str],
287
+ warning: pulumi.Input[_builtins.str]):
288
288
  """
289
289
  ExpressionWarning is a warning information that targets a specific expression.
290
- :param pulumi.Input[str] field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
291
- :param pulumi.Input[str] warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
290
+ :param pulumi.Input[_builtins.str] field_ref: The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
291
+ :param pulumi.Input[_builtins.str] warning: The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
292
292
  """
293
293
  pulumi.set(__self__, "field_ref", field_ref)
294
294
  pulumi.set(__self__, "warning", warning)
295
295
 
296
- @property
296
+ @_builtins.property
297
297
  @pulumi.getter(name="fieldRef")
298
- def field_ref(self) -> pulumi.Input[str]:
298
+ def field_ref(self) -> pulumi.Input[_builtins.str]:
299
299
  """
300
300
  The path to the field that refers the expression. For example, the reference to the expression of the first item of validations is "spec.validations[0].expression"
301
301
  """
302
302
  return pulumi.get(self, "field_ref")
303
303
 
304
304
  @field_ref.setter
305
- def field_ref(self, value: pulumi.Input[str]):
305
+ def field_ref(self, value: pulumi.Input[_builtins.str]):
306
306
  pulumi.set(self, "field_ref", value)
307
307
 
308
- @property
308
+ @_builtins.property
309
309
  @pulumi.getter
310
- def warning(self) -> pulumi.Input[str]:
310
+ def warning(self) -> pulumi.Input[_builtins.str]:
311
311
  """
312
312
  The content of type checking information in a human-readable form. Each line of the warning contains the type that the expression is checked against, followed by the type check error from the compiler.
313
313
  """
314
314
  return pulumi.get(self, "warning")
315
315
 
316
316
  @warning.setter
317
- def warning(self, value: pulumi.Input[str]):
317
+ def warning(self, value: pulumi.Input[_builtins.str]):
318
318
  pulumi.set(self, "warning", value)
319
319
 
320
320
 
@@ -323,7 +323,7 @@ if not MYPY:
323
323
  """
324
324
  MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
325
325
  """
326
- expression: NotRequired[pulumi.Input[str]]
326
+ expression: NotRequired[pulumi.Input[_builtins.str]]
327
327
  """
328
328
  Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
329
329
 
@@ -335,7 +335,7 @@ if not MYPY:
335
335
 
336
336
  Required.
337
337
  """
338
- name: NotRequired[pulumi.Input[str]]
338
+ name: NotRequired[pulumi.Input[_builtins.str]]
339
339
  """
340
340
  Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
341
341
 
@@ -347,11 +347,11 @@ elif False:
347
347
  @pulumi.input_type
348
348
  class MatchConditionPatchArgs:
349
349
  def __init__(__self__, *,
350
- expression: Optional[pulumi.Input[str]] = None,
351
- name: Optional[pulumi.Input[str]] = None):
350
+ expression: Optional[pulumi.Input[_builtins.str]] = None,
351
+ name: Optional[pulumi.Input[_builtins.str]] = None):
352
352
  """
353
353
  MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
354
- :param pulumi.Input[str] expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
354
+ :param pulumi.Input[_builtins.str] expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
355
355
 
356
356
  'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
357
357
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
@@ -360,7 +360,7 @@ class MatchConditionPatchArgs:
360
360
  Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
361
361
 
362
362
  Required.
363
- :param pulumi.Input[str] name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
363
+ :param pulumi.Input[_builtins.str] name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
364
364
 
365
365
  Required.
366
366
  """
@@ -369,9 +369,9 @@ class MatchConditionPatchArgs:
369
369
  if name is not None:
370
370
  pulumi.set(__self__, "name", name)
371
371
 
372
- @property
372
+ @_builtins.property
373
373
  @pulumi.getter
374
- def expression(self) -> Optional[pulumi.Input[str]]:
374
+ def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
375
375
  """
376
376
  Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
377
377
 
@@ -386,12 +386,12 @@ class MatchConditionPatchArgs:
386
386
  return pulumi.get(self, "expression")
387
387
 
388
388
  @expression.setter
389
- def expression(self, value: Optional[pulumi.Input[str]]):
389
+ def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
390
390
  pulumi.set(self, "expression", value)
391
391
 
392
- @property
392
+ @_builtins.property
393
393
  @pulumi.getter
394
- def name(self) -> Optional[pulumi.Input[str]]:
394
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
395
395
  """
396
396
  Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
397
397
 
@@ -400,7 +400,7 @@ class MatchConditionPatchArgs:
400
400
  return pulumi.get(self, "name")
401
401
 
402
402
  @name.setter
403
- def name(self, value: Optional[pulumi.Input[str]]):
403
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
404
404
  pulumi.set(self, "name", value)
405
405
 
406
406
 
@@ -409,7 +409,7 @@ if not MYPY:
409
409
  """
410
410
  MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
411
411
  """
412
- expression: pulumi.Input[str]
412
+ expression: pulumi.Input[_builtins.str]
413
413
  """
414
414
  Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
415
415
 
@@ -421,7 +421,7 @@ if not MYPY:
421
421
 
422
422
  Required.
423
423
  """
424
- name: pulumi.Input[str]
424
+ name: pulumi.Input[_builtins.str]
425
425
  """
426
426
  Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
427
427
 
@@ -433,11 +433,11 @@ elif False:
433
433
  @pulumi.input_type
434
434
  class MatchConditionArgs:
435
435
  def __init__(__self__, *,
436
- expression: pulumi.Input[str],
437
- name: pulumi.Input[str]):
436
+ expression: pulumi.Input[_builtins.str],
437
+ name: pulumi.Input[_builtins.str]):
438
438
  """
439
439
  MatchCondition represents a condition which must by fulfilled for a request to be sent to a webhook.
440
- :param pulumi.Input[str] expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
440
+ :param pulumi.Input[_builtins.str] expression: Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
441
441
 
442
442
  'object' - The object from the incoming request. The value is null for DELETE requests. 'oldObject' - The existing object. The value is null for CREATE requests. 'request' - Attributes of the admission request(/pkg/apis/admission/types.go#AdmissionRequest). 'authorizer' - A CEL Authorizer. May be used to perform authorization checks for the principal (user or service account) of the request.
443
443
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
@@ -446,16 +446,16 @@ class MatchConditionArgs:
446
446
  Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
447
447
 
448
448
  Required.
449
- :param pulumi.Input[str] name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
449
+ :param pulumi.Input[_builtins.str] name: Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
450
450
 
451
451
  Required.
452
452
  """
453
453
  pulumi.set(__self__, "expression", expression)
454
454
  pulumi.set(__self__, "name", name)
455
455
 
456
- @property
456
+ @_builtins.property
457
457
  @pulumi.getter
458
- def expression(self) -> pulumi.Input[str]:
458
+ def expression(self) -> pulumi.Input[_builtins.str]:
459
459
  """
460
460
  Expression represents the expression which will be evaluated by CEL. Must evaluate to bool. CEL expressions have access to the contents of the AdmissionRequest and Authorizer, organized into CEL variables:
461
461
 
@@ -470,12 +470,12 @@ class MatchConditionArgs:
470
470
  return pulumi.get(self, "expression")
471
471
 
472
472
  @expression.setter
473
- def expression(self, value: pulumi.Input[str]):
473
+ def expression(self, value: pulumi.Input[_builtins.str]):
474
474
  pulumi.set(self, "expression", value)
475
475
 
476
- @property
476
+ @_builtins.property
477
477
  @pulumi.getter
478
- def name(self) -> pulumi.Input[str]:
478
+ def name(self) -> pulumi.Input[_builtins.str]:
479
479
  """
480
480
  Name is an identifier for this match condition, used for strategic merging of MatchConditions, as well as providing an identifier for logging purposes. A good name should be descriptive of the associated expression. Name must be a qualified name consisting of alphanumeric characters, '-', '_' or '.', and must start and end with an alphanumeric character (e.g. 'MyName', or 'my.name', or '123-abc', regex used for validation is '([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9]') with an optional DNS subdomain prefix and '/' (e.g. 'example.com/MyName')
481
481
 
@@ -484,7 +484,7 @@ class MatchConditionArgs:
484
484
  return pulumi.get(self, "name")
485
485
 
486
486
  @name.setter
487
- def name(self, value: pulumi.Input[str]):
487
+ def name(self, value: pulumi.Input[_builtins.str]):
488
488
  pulumi.set(self, "name", value)
489
489
 
490
490
 
@@ -497,7 +497,7 @@ if not MYPY:
497
497
  """
498
498
  ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
499
499
  """
500
- match_policy: NotRequired[pulumi.Input[str]]
500
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
501
501
  """
502
502
  matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
503
503
 
@@ -556,14 +556,14 @@ elif False:
556
556
  class MatchResourcesPatchArgs:
557
557
  def __init__(__self__, *,
558
558
  exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None,
559
- match_policy: Optional[pulumi.Input[str]] = None,
559
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
560
560
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
561
561
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
562
562
  resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]] = None):
563
563
  """
564
564
  MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
565
565
  :param pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
566
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
566
+ :param pulumi.Input[_builtins.str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
567
567
 
568
568
  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
569
569
 
@@ -615,7 +615,7 @@ class MatchResourcesPatchArgs:
615
615
  if resource_rules is not None:
616
616
  pulumi.set(__self__, "resource_rules", resource_rules)
617
617
 
618
- @property
618
+ @_builtins.property
619
619
  @pulumi.getter(name="excludeResourceRules")
620
620
  def exclude_resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]]:
621
621
  """
@@ -627,9 +627,9 @@ class MatchResourcesPatchArgs:
627
627
  def exclude_resource_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]]):
628
628
  pulumi.set(self, "exclude_resource_rules", value)
629
629
 
630
- @property
630
+ @_builtins.property
631
631
  @pulumi.getter(name="matchPolicy")
632
- def match_policy(self) -> Optional[pulumi.Input[str]]:
632
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
633
633
  """
634
634
  matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
635
635
 
@@ -642,10 +642,10 @@ class MatchResourcesPatchArgs:
642
642
  return pulumi.get(self, "match_policy")
643
643
 
644
644
  @match_policy.setter
645
- def match_policy(self, value: Optional[pulumi.Input[str]]):
645
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
646
646
  pulumi.set(self, "match_policy", value)
647
647
 
648
- @property
648
+ @_builtins.property
649
649
  @pulumi.getter(name="namespaceSelector")
650
650
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
651
651
  """
@@ -687,7 +687,7 @@ class MatchResourcesPatchArgs:
687
687
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
688
688
  pulumi.set(self, "namespace_selector", value)
689
689
 
690
- @property
690
+ @_builtins.property
691
691
  @pulumi.getter(name="objectSelector")
692
692
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
693
693
  """
@@ -699,7 +699,7 @@ class MatchResourcesPatchArgs:
699
699
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
700
700
  pulumi.set(self, "object_selector", value)
701
701
 
702
- @property
702
+ @_builtins.property
703
703
  @pulumi.getter(name="resourceRules")
704
704
  def resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsPatchArgs']]]]:
705
705
  """
@@ -721,7 +721,7 @@ if not MYPY:
721
721
  """
722
722
  ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
723
723
  """
724
- match_policy: NotRequired[pulumi.Input[str]]
724
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
725
725
  """
726
726
  matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
727
727
 
@@ -780,14 +780,14 @@ elif False:
780
780
  class MatchResourcesArgs:
781
781
  def __init__(__self__, *,
782
782
  exclude_resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None,
783
- match_policy: Optional[pulumi.Input[str]] = None,
783
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
784
784
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
785
785
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
786
786
  resource_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]] = None):
787
787
  """
788
788
  MatchResources decides whether to run the admission control policy on an object based on whether it meets the match criteria. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
789
789
  :param pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]] exclude_resource_rules: ExcludeResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy should not care about. The exclude rules take precedence over include rules (if a resource matches both, it is excluded)
790
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
790
+ :param pulumi.Input[_builtins.str] match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
791
791
 
792
792
  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the ValidatingAdmissionPolicy.
793
793
 
@@ -839,7 +839,7 @@ class MatchResourcesArgs:
839
839
  if resource_rules is not None:
840
840
  pulumi.set(__self__, "resource_rules", resource_rules)
841
841
 
842
- @property
842
+ @_builtins.property
843
843
  @pulumi.getter(name="excludeResourceRules")
844
844
  def exclude_resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]]:
845
845
  """
@@ -851,9 +851,9 @@ class MatchResourcesArgs:
851
851
  def exclude_resource_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]]):
852
852
  pulumi.set(self, "exclude_resource_rules", value)
853
853
 
854
- @property
854
+ @_builtins.property
855
855
  @pulumi.getter(name="matchPolicy")
856
- def match_policy(self) -> Optional[pulumi.Input[str]]:
856
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
857
857
  """
858
858
  matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
859
859
 
@@ -866,10 +866,10 @@ class MatchResourcesArgs:
866
866
  return pulumi.get(self, "match_policy")
867
867
 
868
868
  @match_policy.setter
869
- def match_policy(self, value: Optional[pulumi.Input[str]]):
869
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
870
870
  pulumi.set(self, "match_policy", value)
871
871
 
872
- @property
872
+ @_builtins.property
873
873
  @pulumi.getter(name="namespaceSelector")
874
874
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
875
875
  """
@@ -911,7 +911,7 @@ class MatchResourcesArgs:
911
911
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
912
912
  pulumi.set(self, "namespace_selector", value)
913
913
 
914
- @property
914
+ @_builtins.property
915
915
  @pulumi.getter(name="objectSelector")
916
916
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
917
917
  """
@@ -923,7 +923,7 @@ class MatchResourcesArgs:
923
923
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
924
924
  pulumi.set(self, "object_selector", value)
925
925
 
926
- @property
926
+ @_builtins.property
927
927
  @pulumi.getter(name="resourceRules")
928
928
  def resource_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NamedRuleWithOperationsArgs']]]]:
929
929
  """
@@ -941,11 +941,11 @@ if not MYPY:
941
941
  """
942
942
  MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
943
943
  """
944
- api_version: NotRequired[pulumi.Input[str]]
944
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
945
945
  """
946
946
  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
947
947
  """
948
- kind: NotRequired[pulumi.Input[str]]
948
+ kind: NotRequired[pulumi.Input[_builtins.str]]
949
949
  """
950
950
  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
951
951
  """
@@ -963,14 +963,14 @@ elif False:
963
963
  @pulumi.input_type
964
964
  class MutatingWebhookConfigurationArgs:
965
965
  def __init__(__self__, *,
966
- api_version: Optional[pulumi.Input[str]] = None,
967
- kind: Optional[pulumi.Input[str]] = None,
966
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
967
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
968
968
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
969
969
  webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['MutatingWebhookArgs']]]] = None):
970
970
  """
971
971
  MutatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and may change the object.
972
- :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
973
- :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
972
+ :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
973
+ :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
974
974
  :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
975
975
  :param pulumi.Input[Sequence[pulumi.Input['MutatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
976
976
  """
@@ -983,31 +983,31 @@ class MutatingWebhookConfigurationArgs:
983
983
  if webhooks is not None:
984
984
  pulumi.set(__self__, "webhooks", webhooks)
985
985
 
986
- @property
986
+ @_builtins.property
987
987
  @pulumi.getter(name="apiVersion")
988
- def api_version(self) -> Optional[pulumi.Input[str]]:
988
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
989
989
  """
990
990
  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
991
991
  """
992
992
  return pulumi.get(self, "api_version")
993
993
 
994
994
  @api_version.setter
995
- def api_version(self, value: Optional[pulumi.Input[str]]):
995
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
996
996
  pulumi.set(self, "api_version", value)
997
997
 
998
- @property
998
+ @_builtins.property
999
999
  @pulumi.getter
1000
- def kind(self) -> Optional[pulumi.Input[str]]:
1000
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
1001
1001
  """
1002
1002
  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
1003
1003
  """
1004
1004
  return pulumi.get(self, "kind")
1005
1005
 
1006
1006
  @kind.setter
1007
- def kind(self, value: Optional[pulumi.Input[str]]):
1007
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
1008
1008
  pulumi.set(self, "kind", value)
1009
1009
 
1010
- @property
1010
+ @_builtins.property
1011
1011
  @pulumi.getter
1012
1012
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
1013
1013
  """
@@ -1019,7 +1019,7 @@ class MutatingWebhookConfigurationArgs:
1019
1019
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
1020
1020
  pulumi.set(self, "metadata", value)
1021
1021
 
1022
- @property
1022
+ @_builtins.property
1023
1023
  @pulumi.getter
1024
1024
  def webhooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MutatingWebhookArgs']]]]:
1025
1025
  """
@@ -1037,7 +1037,7 @@ if not MYPY:
1037
1037
  """
1038
1038
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1039
1039
  """
1040
- admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1040
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1041
1041
  """
1042
1042
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1043
1043
  """
@@ -1045,7 +1045,7 @@ if not MYPY:
1045
1045
  """
1046
1046
  ClientConfig defines how to communicate with the hook. Required
1047
1047
  """
1048
- failure_policy: NotRequired[pulumi.Input[str]]
1048
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
1049
1049
  """
1050
1050
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1051
1051
  """
@@ -1060,7 +1060,7 @@ if not MYPY:
1060
1060
  - If failurePolicy=Fail, reject the request
1061
1061
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
1062
1062
  """
1063
- match_policy: NotRequired[pulumi.Input[str]]
1063
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
1064
1064
  """
1065
1065
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1066
1066
 
@@ -1070,7 +1070,7 @@ if not MYPY:
1070
1070
 
1071
1071
  Defaults to "Equivalent"
1072
1072
  """
1073
- name: NotRequired[pulumi.Input[str]]
1073
+ name: NotRequired[pulumi.Input[_builtins.str]]
1074
1074
  """
1075
1075
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1076
1076
  """
@@ -1112,7 +1112,7 @@ if not MYPY:
1112
1112
  """
1113
1113
  ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
1114
1114
  """
1115
- reinvocation_policy: NotRequired[pulumi.Input[str]]
1115
+ reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
1116
1116
  """
1117
1117
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1118
1118
 
@@ -1126,11 +1126,11 @@ if not MYPY:
1126
1126
  """
1127
1127
  Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
1128
1128
  """
1129
- side_effects: NotRequired[pulumi.Input[str]]
1129
+ side_effects: NotRequired[pulumi.Input[_builtins.str]]
1130
1130
  """
1131
1131
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1132
1132
  """
1133
- timeout_seconds: NotRequired[pulumi.Input[int]]
1133
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
1134
1134
  """
1135
1135
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1136
1136
  """
@@ -1140,23 +1140,23 @@ elif False:
1140
1140
  @pulumi.input_type
1141
1141
  class MutatingWebhookPatchArgs:
1142
1142
  def __init__(__self__, *,
1143
- admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1143
+ admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1144
1144
  client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
1145
- failure_policy: Optional[pulumi.Input[str]] = None,
1145
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
1146
1146
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
1147
- match_policy: Optional[pulumi.Input[str]] = None,
1148
- name: Optional[pulumi.Input[str]] = None,
1147
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
1148
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1149
1149
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
1150
1150
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
1151
- reinvocation_policy: Optional[pulumi.Input[str]] = None,
1151
+ reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
1152
1152
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
1153
- side_effects: Optional[pulumi.Input[str]] = None,
1154
- timeout_seconds: Optional[pulumi.Input[int]] = None):
1153
+ side_effects: Optional[pulumi.Input[_builtins.str]] = None,
1154
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
1155
1155
  """
1156
1156
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1157
- :param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1157
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1158
1158
  :param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
1159
- :param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1159
+ :param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1160
1160
  :param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
1161
1161
 
1162
1162
  The exact matching logic is (in order):
@@ -1165,14 +1165,14 @@ class MutatingWebhookPatchArgs:
1165
1165
  3. If any matchCondition evaluates to an error (but none are FALSE):
1166
1166
  - If failurePolicy=Fail, reject the request
1167
1167
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
1168
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1168
+ :param pulumi.Input[_builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1169
1169
 
1170
1170
  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
1171
1171
 
1172
1172
  - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
1173
1173
 
1174
1174
  Defaults to "Equivalent"
1175
- :param pulumi.Input[str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1175
+ :param pulumi.Input[_builtins.str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1176
1176
  :param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] namespace_selector: NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
1177
1177
 
1178
1178
  For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
@@ -1205,7 +1205,7 @@ class MutatingWebhookPatchArgs:
1205
1205
 
1206
1206
  Default to the empty LabelSelector, which matches everything.
1207
1207
  :param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
1208
- :param pulumi.Input[str] reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1208
+ :param pulumi.Input[_builtins.str] reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1209
1209
 
1210
1210
  Never: the webhook will not be called more than once in a single admission evaluation.
1211
1211
 
@@ -1213,8 +1213,8 @@ class MutatingWebhookPatchArgs:
1213
1213
 
1214
1214
  Defaults to "Never".
1215
1215
  :param pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
1216
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1217
- :param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1216
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1217
+ :param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1218
1218
  """
1219
1219
  if admission_review_versions is not None:
1220
1220
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
@@ -1241,19 +1241,19 @@ class MutatingWebhookPatchArgs:
1241
1241
  if timeout_seconds is not None:
1242
1242
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1243
1243
 
1244
- @property
1244
+ @_builtins.property
1245
1245
  @pulumi.getter(name="admissionReviewVersions")
1246
- def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1246
+ def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1247
1247
  """
1248
1248
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1249
1249
  """
1250
1250
  return pulumi.get(self, "admission_review_versions")
1251
1251
 
1252
1252
  @admission_review_versions.setter
1253
- def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1253
+ def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1254
1254
  pulumi.set(self, "admission_review_versions", value)
1255
1255
 
1256
- @property
1256
+ @_builtins.property
1257
1257
  @pulumi.getter(name="clientConfig")
1258
1258
  def client_config(self) -> Optional[pulumi.Input['WebhookClientConfigPatchArgs']]:
1259
1259
  """
@@ -1265,19 +1265,19 @@ class MutatingWebhookPatchArgs:
1265
1265
  def client_config(self, value: Optional[pulumi.Input['WebhookClientConfigPatchArgs']]):
1266
1266
  pulumi.set(self, "client_config", value)
1267
1267
 
1268
- @property
1268
+ @_builtins.property
1269
1269
  @pulumi.getter(name="failurePolicy")
1270
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
1270
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1271
1271
  """
1272
1272
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1273
1273
  """
1274
1274
  return pulumi.get(self, "failure_policy")
1275
1275
 
1276
1276
  @failure_policy.setter
1277
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
1277
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1278
1278
  pulumi.set(self, "failure_policy", value)
1279
1279
 
1280
- @property
1280
+ @_builtins.property
1281
1281
  @pulumi.getter(name="matchConditions")
1282
1282
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
1283
1283
  """
@@ -1296,9 +1296,9 @@ class MutatingWebhookPatchArgs:
1296
1296
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
1297
1297
  pulumi.set(self, "match_conditions", value)
1298
1298
 
1299
- @property
1299
+ @_builtins.property
1300
1300
  @pulumi.getter(name="matchPolicy")
1301
- def match_policy(self) -> Optional[pulumi.Input[str]]:
1301
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1302
1302
  """
1303
1303
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1304
1304
 
@@ -1311,22 +1311,22 @@ class MutatingWebhookPatchArgs:
1311
1311
  return pulumi.get(self, "match_policy")
1312
1312
 
1313
1313
  @match_policy.setter
1314
- def match_policy(self, value: Optional[pulumi.Input[str]]):
1314
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1315
1315
  pulumi.set(self, "match_policy", value)
1316
1316
 
1317
- @property
1317
+ @_builtins.property
1318
1318
  @pulumi.getter
1319
- def name(self) -> Optional[pulumi.Input[str]]:
1319
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
1320
1320
  """
1321
1321
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1322
1322
  """
1323
1323
  return pulumi.get(self, "name")
1324
1324
 
1325
1325
  @name.setter
1326
- def name(self, value: Optional[pulumi.Input[str]]):
1326
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
1327
1327
  pulumi.set(self, "name", value)
1328
1328
 
1329
- @property
1329
+ @_builtins.property
1330
1330
  @pulumi.getter(name="namespaceSelector")
1331
1331
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
1332
1332
  """
@@ -1368,7 +1368,7 @@ class MutatingWebhookPatchArgs:
1368
1368
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
1369
1369
  pulumi.set(self, "namespace_selector", value)
1370
1370
 
1371
- @property
1371
+ @_builtins.property
1372
1372
  @pulumi.getter(name="objectSelector")
1373
1373
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
1374
1374
  """
@@ -1380,9 +1380,9 @@ class MutatingWebhookPatchArgs:
1380
1380
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
1381
1381
  pulumi.set(self, "object_selector", value)
1382
1382
 
1383
- @property
1383
+ @_builtins.property
1384
1384
  @pulumi.getter(name="reinvocationPolicy")
1385
- def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
1385
+ def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1386
1386
  """
1387
1387
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1388
1388
 
@@ -1395,10 +1395,10 @@ class MutatingWebhookPatchArgs:
1395
1395
  return pulumi.get(self, "reinvocation_policy")
1396
1396
 
1397
1397
  @reinvocation_policy.setter
1398
- def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
1398
+ def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1399
1399
  pulumi.set(self, "reinvocation_policy", value)
1400
1400
 
1401
- @property
1401
+ @_builtins.property
1402
1402
  @pulumi.getter
1403
1403
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]:
1404
1404
  """
@@ -1410,28 +1410,28 @@ class MutatingWebhookPatchArgs:
1410
1410
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]):
1411
1411
  pulumi.set(self, "rules", value)
1412
1412
 
1413
- @property
1413
+ @_builtins.property
1414
1414
  @pulumi.getter(name="sideEffects")
1415
- def side_effects(self) -> Optional[pulumi.Input[str]]:
1415
+ def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
1416
1416
  """
1417
1417
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1418
1418
  """
1419
1419
  return pulumi.get(self, "side_effects")
1420
1420
 
1421
1421
  @side_effects.setter
1422
- def side_effects(self, value: Optional[pulumi.Input[str]]):
1422
+ def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
1423
1423
  pulumi.set(self, "side_effects", value)
1424
1424
 
1425
- @property
1425
+ @_builtins.property
1426
1426
  @pulumi.getter(name="timeoutSeconds")
1427
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
1427
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
1428
1428
  """
1429
1429
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1430
1430
  """
1431
1431
  return pulumi.get(self, "timeout_seconds")
1432
1432
 
1433
1433
  @timeout_seconds.setter
1434
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
1434
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
1435
1435
  pulumi.set(self, "timeout_seconds", value)
1436
1436
 
1437
1437
 
@@ -1440,7 +1440,7 @@ if not MYPY:
1440
1440
  """
1441
1441
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1442
1442
  """
1443
- admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]]
1443
+ admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
1444
1444
  """
1445
1445
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1446
1446
  """
@@ -1448,15 +1448,15 @@ if not MYPY:
1448
1448
  """
1449
1449
  ClientConfig defines how to communicate with the hook. Required
1450
1450
  """
1451
- name: pulumi.Input[str]
1451
+ name: pulumi.Input[_builtins.str]
1452
1452
  """
1453
1453
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1454
1454
  """
1455
- side_effects: pulumi.Input[str]
1455
+ side_effects: pulumi.Input[_builtins.str]
1456
1456
  """
1457
1457
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1458
1458
  """
1459
- failure_policy: NotRequired[pulumi.Input[str]]
1459
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
1460
1460
  """
1461
1461
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1462
1462
  """
@@ -1471,7 +1471,7 @@ if not MYPY:
1471
1471
  - If failurePolicy=Fail, reject the request
1472
1472
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
1473
1473
  """
1474
- match_policy: NotRequired[pulumi.Input[str]]
1474
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
1475
1475
  """
1476
1476
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1477
1477
 
@@ -1519,7 +1519,7 @@ if not MYPY:
1519
1519
  """
1520
1520
  ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
1521
1521
  """
1522
- reinvocation_policy: NotRequired[pulumi.Input[str]]
1522
+ reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
1523
1523
  """
1524
1524
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1525
1525
 
@@ -1533,7 +1533,7 @@ if not MYPY:
1533
1533
  """
1534
1534
  Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
1535
1535
  """
1536
- timeout_seconds: NotRequired[pulumi.Input[int]]
1536
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
1537
1537
  """
1538
1538
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1539
1539
  """
@@ -1543,25 +1543,25 @@ elif False:
1543
1543
  @pulumi.input_type
1544
1544
  class MutatingWebhookArgs:
1545
1545
  def __init__(__self__, *,
1546
- admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]],
1546
+ admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
1547
1547
  client_config: pulumi.Input['WebhookClientConfigArgs'],
1548
- name: pulumi.Input[str],
1549
- side_effects: pulumi.Input[str],
1550
- failure_policy: Optional[pulumi.Input[str]] = None,
1548
+ name: pulumi.Input[_builtins.str],
1549
+ side_effects: pulumi.Input[_builtins.str],
1550
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
1551
1551
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
1552
- match_policy: Optional[pulumi.Input[str]] = None,
1552
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
1553
1553
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
1554
1554
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
1555
- reinvocation_policy: Optional[pulumi.Input[str]] = None,
1555
+ reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
1556
1556
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
1557
- timeout_seconds: Optional[pulumi.Input[int]] = None):
1557
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
1558
1558
  """
1559
1559
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1560
- :param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1560
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1561
1561
  :param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
1562
- :param pulumi.Input[str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1563
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1564
- :param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1562
+ :param pulumi.Input[_builtins.str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1563
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1564
+ :param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1565
1565
  :param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
1566
1566
 
1567
1567
  The exact matching logic is (in order):
@@ -1570,7 +1570,7 @@ class MutatingWebhookArgs:
1570
1570
  3. If any matchCondition evaluates to an error (but none are FALSE):
1571
1571
  - If failurePolicy=Fail, reject the request
1572
1572
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
1573
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1573
+ :param pulumi.Input[_builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1574
1574
 
1575
1575
  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
1576
1576
 
@@ -1609,7 +1609,7 @@ class MutatingWebhookArgs:
1609
1609
 
1610
1610
  Default to the empty LabelSelector, which matches everything.
1611
1611
  :param pulumi.Input['_meta.v1.LabelSelectorArgs'] object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
1612
- :param pulumi.Input[str] reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1612
+ :param pulumi.Input[_builtins.str] reinvocation_policy: reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1613
1613
 
1614
1614
  Never: the webhook will not be called more than once in a single admission evaluation.
1615
1615
 
@@ -1617,7 +1617,7 @@ class MutatingWebhookArgs:
1617
1617
 
1618
1618
  Defaults to "Never".
1619
1619
  :param pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
1620
- :param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1620
+ :param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1621
1621
  """
1622
1622
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
1623
1623
  pulumi.set(__self__, "client_config", client_config)
@@ -1640,19 +1640,19 @@ class MutatingWebhookArgs:
1640
1640
  if timeout_seconds is not None:
1641
1641
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1642
1642
 
1643
- @property
1643
+ @_builtins.property
1644
1644
  @pulumi.getter(name="admissionReviewVersions")
1645
- def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
1645
+ def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
1646
1646
  """
1647
1647
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
1648
1648
  """
1649
1649
  return pulumi.get(self, "admission_review_versions")
1650
1650
 
1651
1651
  @admission_review_versions.setter
1652
- def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
1652
+ def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
1653
1653
  pulumi.set(self, "admission_review_versions", value)
1654
1654
 
1655
- @property
1655
+ @_builtins.property
1656
1656
  @pulumi.getter(name="clientConfig")
1657
1657
  def client_config(self) -> pulumi.Input['WebhookClientConfigArgs']:
1658
1658
  """
@@ -1664,43 +1664,43 @@ class MutatingWebhookArgs:
1664
1664
  def client_config(self, value: pulumi.Input['WebhookClientConfigArgs']):
1665
1665
  pulumi.set(self, "client_config", value)
1666
1666
 
1667
- @property
1667
+ @_builtins.property
1668
1668
  @pulumi.getter
1669
- def name(self) -> pulumi.Input[str]:
1669
+ def name(self) -> pulumi.Input[_builtins.str]:
1670
1670
  """
1671
1671
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
1672
1672
  """
1673
1673
  return pulumi.get(self, "name")
1674
1674
 
1675
1675
  @name.setter
1676
- def name(self, value: pulumi.Input[str]):
1676
+ def name(self, value: pulumi.Input[_builtins.str]):
1677
1677
  pulumi.set(self, "name", value)
1678
1678
 
1679
- @property
1679
+ @_builtins.property
1680
1680
  @pulumi.getter(name="sideEffects")
1681
- def side_effects(self) -> pulumi.Input[str]:
1681
+ def side_effects(self) -> pulumi.Input[_builtins.str]:
1682
1682
  """
1683
1683
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
1684
1684
  """
1685
1685
  return pulumi.get(self, "side_effects")
1686
1686
 
1687
1687
  @side_effects.setter
1688
- def side_effects(self, value: pulumi.Input[str]):
1688
+ def side_effects(self, value: pulumi.Input[_builtins.str]):
1689
1689
  pulumi.set(self, "side_effects", value)
1690
1690
 
1691
- @property
1691
+ @_builtins.property
1692
1692
  @pulumi.getter(name="failurePolicy")
1693
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
1693
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1694
1694
  """
1695
1695
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
1696
1696
  """
1697
1697
  return pulumi.get(self, "failure_policy")
1698
1698
 
1699
1699
  @failure_policy.setter
1700
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
1700
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1701
1701
  pulumi.set(self, "failure_policy", value)
1702
1702
 
1703
- @property
1703
+ @_builtins.property
1704
1704
  @pulumi.getter(name="matchConditions")
1705
1705
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
1706
1706
  """
@@ -1719,9 +1719,9 @@ class MutatingWebhookArgs:
1719
1719
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
1720
1720
  pulumi.set(self, "match_conditions", value)
1721
1721
 
1722
- @property
1722
+ @_builtins.property
1723
1723
  @pulumi.getter(name="matchPolicy")
1724
- def match_policy(self) -> Optional[pulumi.Input[str]]:
1724
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1725
1725
  """
1726
1726
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1727
1727
 
@@ -1734,10 +1734,10 @@ class MutatingWebhookArgs:
1734
1734
  return pulumi.get(self, "match_policy")
1735
1735
 
1736
1736
  @match_policy.setter
1737
- def match_policy(self, value: Optional[pulumi.Input[str]]):
1737
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1738
1738
  pulumi.set(self, "match_policy", value)
1739
1739
 
1740
- @property
1740
+ @_builtins.property
1741
1741
  @pulumi.getter(name="namespaceSelector")
1742
1742
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
1743
1743
  """
@@ -1779,7 +1779,7 @@ class MutatingWebhookArgs:
1779
1779
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
1780
1780
  pulumi.set(self, "namespace_selector", value)
1781
1781
 
1782
- @property
1782
+ @_builtins.property
1783
1783
  @pulumi.getter(name="objectSelector")
1784
1784
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
1785
1785
  """
@@ -1791,9 +1791,9 @@ class MutatingWebhookArgs:
1791
1791
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
1792
1792
  pulumi.set(self, "object_selector", value)
1793
1793
 
1794
- @property
1794
+ @_builtins.property
1795
1795
  @pulumi.getter(name="reinvocationPolicy")
1796
- def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
1796
+ def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1797
1797
  """
1798
1798
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1799
1799
 
@@ -1806,10 +1806,10 @@ class MutatingWebhookArgs:
1806
1806
  return pulumi.get(self, "reinvocation_policy")
1807
1807
 
1808
1808
  @reinvocation_policy.setter
1809
- def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
1809
+ def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1810
1810
  pulumi.set(self, "reinvocation_policy", value)
1811
1811
 
1812
- @property
1812
+ @_builtins.property
1813
1813
  @pulumi.getter
1814
1814
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]:
1815
1815
  """
@@ -1821,16 +1821,16 @@ class MutatingWebhookArgs:
1821
1821
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]):
1822
1822
  pulumi.set(self, "rules", value)
1823
1823
 
1824
- @property
1824
+ @_builtins.property
1825
1825
  @pulumi.getter(name="timeoutSeconds")
1826
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
1826
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
1827
1827
  """
1828
1828
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
1829
1829
  """
1830
1830
  return pulumi.get(self, "timeout_seconds")
1831
1831
 
1832
1832
  @timeout_seconds.setter
1833
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
1833
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
1834
1834
  pulumi.set(self, "timeout_seconds", value)
1835
1835
 
1836
1836
 
@@ -1839,23 +1839,23 @@ if not MYPY:
1839
1839
  """
1840
1840
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1841
1841
  """
1842
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1842
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1843
1843
  """
1844
1844
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1845
1845
  """
1846
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1846
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1847
1847
  """
1848
1848
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1849
1849
  """
1850
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1850
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1851
1851
  """
1852
1852
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
1853
1853
  """
1854
- resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1854
+ resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1855
1855
  """
1856
1856
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1857
1857
  """
1858
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1858
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1859
1859
  """
1860
1860
  Resources is a list of resources this rule applies to.
1861
1861
 
@@ -1865,7 +1865,7 @@ if not MYPY:
1865
1865
 
1866
1866
  Depending on the enclosing object, subresources might not be allowed. Required.
1867
1867
  """
1868
- scope: NotRequired[pulumi.Input[str]]
1868
+ scope: NotRequired[pulumi.Input[_builtins.str]]
1869
1869
  """
1870
1870
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
1871
1871
  """
@@ -1875,26 +1875,26 @@ elif False:
1875
1875
  @pulumi.input_type
1876
1876
  class NamedRuleWithOperationsPatchArgs:
1877
1877
  def __init__(__self__, *,
1878
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1879
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1880
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1881
- resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1882
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1883
- scope: Optional[pulumi.Input[str]] = None):
1878
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1879
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1880
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1881
+ resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1882
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1883
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
1884
1884
  """
1885
1885
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1886
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1887
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1888
- :param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
1889
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1890
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
1886
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1887
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1888
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
1889
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1890
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
1891
1891
 
1892
1892
  For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
1893
1893
 
1894
1894
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1895
1895
 
1896
1896
  Depending on the enclosing object, subresources might not be allowed. Required.
1897
- :param pulumi.Input[str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
1897
+ :param pulumi.Input[_builtins.str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
1898
1898
  """
1899
1899
  if api_groups is not None:
1900
1900
  pulumi.set(__self__, "api_groups", api_groups)
@@ -1909,57 +1909,57 @@ class NamedRuleWithOperationsPatchArgs:
1909
1909
  if scope is not None:
1910
1910
  pulumi.set(__self__, "scope", scope)
1911
1911
 
1912
- @property
1912
+ @_builtins.property
1913
1913
  @pulumi.getter(name="apiGroups")
1914
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1914
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1915
1915
  """
1916
1916
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1917
1917
  """
1918
1918
  return pulumi.get(self, "api_groups")
1919
1919
 
1920
1920
  @api_groups.setter
1921
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1921
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1922
1922
  pulumi.set(self, "api_groups", value)
1923
1923
 
1924
- @property
1924
+ @_builtins.property
1925
1925
  @pulumi.getter(name="apiVersions")
1926
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1926
+ def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1927
1927
  """
1928
1928
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1929
1929
  """
1930
1930
  return pulumi.get(self, "api_versions")
1931
1931
 
1932
1932
  @api_versions.setter
1933
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1933
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1934
1934
  pulumi.set(self, "api_versions", value)
1935
1935
 
1936
- @property
1936
+ @_builtins.property
1937
1937
  @pulumi.getter
1938
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1938
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1939
1939
  """
1940
1940
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
1941
1941
  """
1942
1942
  return pulumi.get(self, "operations")
1943
1943
 
1944
1944
  @operations.setter
1945
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1945
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1946
1946
  pulumi.set(self, "operations", value)
1947
1947
 
1948
- @property
1948
+ @_builtins.property
1949
1949
  @pulumi.getter(name="resourceNames")
1950
- def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1950
+ def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1951
1951
  """
1952
1952
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1953
1953
  """
1954
1954
  return pulumi.get(self, "resource_names")
1955
1955
 
1956
1956
  @resource_names.setter
1957
- def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1957
+ def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1958
1958
  pulumi.set(self, "resource_names", value)
1959
1959
 
1960
- @property
1960
+ @_builtins.property
1961
1961
  @pulumi.getter
1962
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1962
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1963
1963
  """
1964
1964
  Resources is a list of resources this rule applies to.
1965
1965
 
@@ -1972,19 +1972,19 @@ class NamedRuleWithOperationsPatchArgs:
1972
1972
  return pulumi.get(self, "resources")
1973
1973
 
1974
1974
  @resources.setter
1975
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1975
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1976
1976
  pulumi.set(self, "resources", value)
1977
1977
 
1978
- @property
1978
+ @_builtins.property
1979
1979
  @pulumi.getter
1980
- def scope(self) -> Optional[pulumi.Input[str]]:
1980
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
1981
1981
  """
1982
1982
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
1983
1983
  """
1984
1984
  return pulumi.get(self, "scope")
1985
1985
 
1986
1986
  @scope.setter
1987
- def scope(self, value: Optional[pulumi.Input[str]]):
1987
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
1988
1988
  pulumi.set(self, "scope", value)
1989
1989
 
1990
1990
 
@@ -1993,23 +1993,23 @@ if not MYPY:
1993
1993
  """
1994
1994
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1995
1995
  """
1996
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1996
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1997
1997
  """
1998
1998
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1999
1999
  """
2000
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2000
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2001
2001
  """
2002
2002
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2003
2003
  """
2004
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2004
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2005
2005
  """
2006
2006
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2007
2007
  """
2008
- resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2008
+ resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2009
2009
  """
2010
2010
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
2011
2011
  """
2012
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2012
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2013
2013
  """
2014
2014
  Resources is a list of resources this rule applies to.
2015
2015
 
@@ -2019,7 +2019,7 @@ if not MYPY:
2019
2019
 
2020
2020
  Depending on the enclosing object, subresources might not be allowed. Required.
2021
2021
  """
2022
- scope: NotRequired[pulumi.Input[str]]
2022
+ scope: NotRequired[pulumi.Input[_builtins.str]]
2023
2023
  """
2024
2024
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2025
2025
  """
@@ -2029,26 +2029,26 @@ elif False:
2029
2029
  @pulumi.input_type
2030
2030
  class NamedRuleWithOperationsArgs:
2031
2031
  def __init__(__self__, *,
2032
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2033
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2034
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2035
- resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2036
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2037
- scope: Optional[pulumi.Input[str]] = None):
2032
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2033
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2034
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2035
+ resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2036
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2037
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
2038
2038
  """
2039
2039
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
2040
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2041
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2042
- :param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2043
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
2044
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
2040
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2041
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2042
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2043
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
2044
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
2045
2045
 
2046
2046
  For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
2047
2047
 
2048
2048
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2049
2049
 
2050
2050
  Depending on the enclosing object, subresources might not be allowed. Required.
2051
- :param pulumi.Input[str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2051
+ :param pulumi.Input[_builtins.str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2052
2052
  """
2053
2053
  if api_groups is not None:
2054
2054
  pulumi.set(__self__, "api_groups", api_groups)
@@ -2063,57 +2063,57 @@ class NamedRuleWithOperationsArgs:
2063
2063
  if scope is not None:
2064
2064
  pulumi.set(__self__, "scope", scope)
2065
2065
 
2066
- @property
2066
+ @_builtins.property
2067
2067
  @pulumi.getter(name="apiGroups")
2068
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2068
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2069
2069
  """
2070
2070
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2071
2071
  """
2072
2072
  return pulumi.get(self, "api_groups")
2073
2073
 
2074
2074
  @api_groups.setter
2075
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2075
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2076
2076
  pulumi.set(self, "api_groups", value)
2077
2077
 
2078
- @property
2078
+ @_builtins.property
2079
2079
  @pulumi.getter(name="apiVersions")
2080
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2080
+ def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2081
2081
  """
2082
2082
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2083
2083
  """
2084
2084
  return pulumi.get(self, "api_versions")
2085
2085
 
2086
2086
  @api_versions.setter
2087
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2087
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2088
2088
  pulumi.set(self, "api_versions", value)
2089
2089
 
2090
- @property
2090
+ @_builtins.property
2091
2091
  @pulumi.getter
2092
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2092
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2093
2093
  """
2094
2094
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2095
2095
  """
2096
2096
  return pulumi.get(self, "operations")
2097
2097
 
2098
2098
  @operations.setter
2099
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2099
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2100
2100
  pulumi.set(self, "operations", value)
2101
2101
 
2102
- @property
2102
+ @_builtins.property
2103
2103
  @pulumi.getter(name="resourceNames")
2104
- def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2104
+ def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2105
2105
  """
2106
2106
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
2107
2107
  """
2108
2108
  return pulumi.get(self, "resource_names")
2109
2109
 
2110
2110
  @resource_names.setter
2111
- def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2111
+ def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2112
2112
  pulumi.set(self, "resource_names", value)
2113
2113
 
2114
- @property
2114
+ @_builtins.property
2115
2115
  @pulumi.getter
2116
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2116
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2117
2117
  """
2118
2118
  Resources is a list of resources this rule applies to.
2119
2119
 
@@ -2126,19 +2126,19 @@ class NamedRuleWithOperationsArgs:
2126
2126
  return pulumi.get(self, "resources")
2127
2127
 
2128
2128
  @resources.setter
2129
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2129
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2130
2130
  pulumi.set(self, "resources", value)
2131
2131
 
2132
- @property
2132
+ @_builtins.property
2133
2133
  @pulumi.getter
2134
- def scope(self) -> Optional[pulumi.Input[str]]:
2134
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
2135
2135
  """
2136
2136
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2137
2137
  """
2138
2138
  return pulumi.get(self, "scope")
2139
2139
 
2140
2140
  @scope.setter
2141
- def scope(self, value: Optional[pulumi.Input[str]]):
2141
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
2142
2142
  pulumi.set(self, "scope", value)
2143
2143
 
2144
2144
 
@@ -2147,11 +2147,11 @@ if not MYPY:
2147
2147
  """
2148
2148
  ParamKind is a tuple of Group Kind and Version.
2149
2149
  """
2150
- api_version: NotRequired[pulumi.Input[str]]
2150
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
2151
2151
  """
2152
2152
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2153
2153
  """
2154
- kind: NotRequired[pulumi.Input[str]]
2154
+ kind: NotRequired[pulumi.Input[_builtins.str]]
2155
2155
  """
2156
2156
  Kind is the API kind the resources belong to. Required.
2157
2157
  """
@@ -2161,40 +2161,40 @@ elif False:
2161
2161
  @pulumi.input_type
2162
2162
  class ParamKindPatchArgs:
2163
2163
  def __init__(__self__, *,
2164
- api_version: Optional[pulumi.Input[str]] = None,
2165
- kind: Optional[pulumi.Input[str]] = None):
2164
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
2165
+ kind: Optional[pulumi.Input[_builtins.str]] = None):
2166
2166
  """
2167
2167
  ParamKind is a tuple of Group Kind and Version.
2168
- :param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2169
- :param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
2168
+ :param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2169
+ :param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
2170
2170
  """
2171
2171
  if api_version is not None:
2172
2172
  pulumi.set(__self__, "api_version", api_version)
2173
2173
  if kind is not None:
2174
2174
  pulumi.set(__self__, "kind", kind)
2175
2175
 
2176
- @property
2176
+ @_builtins.property
2177
2177
  @pulumi.getter(name="apiVersion")
2178
- def api_version(self) -> Optional[pulumi.Input[str]]:
2178
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
2179
2179
  """
2180
2180
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2181
2181
  """
2182
2182
  return pulumi.get(self, "api_version")
2183
2183
 
2184
2184
  @api_version.setter
2185
- def api_version(self, value: Optional[pulumi.Input[str]]):
2185
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
2186
2186
  pulumi.set(self, "api_version", value)
2187
2187
 
2188
- @property
2188
+ @_builtins.property
2189
2189
  @pulumi.getter
2190
- def kind(self) -> Optional[pulumi.Input[str]]:
2190
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
2191
2191
  """
2192
2192
  Kind is the API kind the resources belong to. Required.
2193
2193
  """
2194
2194
  return pulumi.get(self, "kind")
2195
2195
 
2196
2196
  @kind.setter
2197
- def kind(self, value: Optional[pulumi.Input[str]]):
2197
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
2198
2198
  pulumi.set(self, "kind", value)
2199
2199
 
2200
2200
 
@@ -2203,11 +2203,11 @@ if not MYPY:
2203
2203
  """
2204
2204
  ParamKind is a tuple of Group Kind and Version.
2205
2205
  """
2206
- api_version: NotRequired[pulumi.Input[str]]
2206
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
2207
2207
  """
2208
2208
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2209
2209
  """
2210
- kind: NotRequired[pulumi.Input[str]]
2210
+ kind: NotRequired[pulumi.Input[_builtins.str]]
2211
2211
  """
2212
2212
  Kind is the API kind the resources belong to. Required.
2213
2213
  """
@@ -2217,40 +2217,40 @@ elif False:
2217
2217
  @pulumi.input_type
2218
2218
  class ParamKindArgs:
2219
2219
  def __init__(__self__, *,
2220
- api_version: Optional[pulumi.Input[str]] = None,
2221
- kind: Optional[pulumi.Input[str]] = None):
2220
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
2221
+ kind: Optional[pulumi.Input[_builtins.str]] = None):
2222
2222
  """
2223
2223
  ParamKind is a tuple of Group Kind and Version.
2224
- :param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2225
- :param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
2224
+ :param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2225
+ :param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
2226
2226
  """
2227
2227
  if api_version is not None:
2228
2228
  pulumi.set(__self__, "api_version", api_version)
2229
2229
  if kind is not None:
2230
2230
  pulumi.set(__self__, "kind", kind)
2231
2231
 
2232
- @property
2232
+ @_builtins.property
2233
2233
  @pulumi.getter(name="apiVersion")
2234
- def api_version(self) -> Optional[pulumi.Input[str]]:
2234
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
2235
2235
  """
2236
2236
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2237
2237
  """
2238
2238
  return pulumi.get(self, "api_version")
2239
2239
 
2240
2240
  @api_version.setter
2241
- def api_version(self, value: Optional[pulumi.Input[str]]):
2241
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
2242
2242
  pulumi.set(self, "api_version", value)
2243
2243
 
2244
- @property
2244
+ @_builtins.property
2245
2245
  @pulumi.getter
2246
- def kind(self) -> Optional[pulumi.Input[str]]:
2246
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
2247
2247
  """
2248
2248
  Kind is the API kind the resources belong to. Required.
2249
2249
  """
2250
2250
  return pulumi.get(self, "kind")
2251
2251
 
2252
2252
  @kind.setter
2253
- def kind(self, value: Optional[pulumi.Input[str]]):
2253
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
2254
2254
  pulumi.set(self, "kind", value)
2255
2255
 
2256
2256
 
@@ -2259,7 +2259,7 @@ if not MYPY:
2259
2259
  """
2260
2260
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2261
2261
  """
2262
- name: NotRequired[pulumi.Input[str]]
2262
+ name: NotRequired[pulumi.Input[_builtins.str]]
2263
2263
  """
2264
2264
  name is the name of the resource being referenced.
2265
2265
 
@@ -2267,7 +2267,7 @@ if not MYPY:
2267
2267
 
2268
2268
  A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
2269
2269
  """
2270
- namespace: NotRequired[pulumi.Input[str]]
2270
+ namespace: NotRequired[pulumi.Input[_builtins.str]]
2271
2271
  """
2272
2272
  namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2273
2273
 
@@ -2277,7 +2277,7 @@ if not MYPY:
2277
2277
 
2278
2278
  - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
2279
2279
  """
2280
- parameter_not_found_action: NotRequired[pulumi.Input[str]]
2280
+ parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
2281
2281
  """
2282
2282
  `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2283
2283
 
@@ -2299,25 +2299,25 @@ elif False:
2299
2299
  @pulumi.input_type
2300
2300
  class ParamRefPatchArgs:
2301
2301
  def __init__(__self__, *,
2302
- name: Optional[pulumi.Input[str]] = None,
2303
- namespace: Optional[pulumi.Input[str]] = None,
2304
- parameter_not_found_action: Optional[pulumi.Input[str]] = None,
2302
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2303
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
2304
+ parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
2305
2305
  selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
2306
2306
  """
2307
2307
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2308
- :param pulumi.Input[str] name: name is the name of the resource being referenced.
2308
+ :param pulumi.Input[_builtins.str] name: name is the name of the resource being referenced.
2309
2309
 
2310
2310
  One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
2311
2311
 
2312
2312
  A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
2313
- :param pulumi.Input[str] namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2313
+ :param pulumi.Input[_builtins.str] namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2314
2314
 
2315
2315
  A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
2316
2316
 
2317
2317
  - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
2318
2318
 
2319
2319
  - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
2320
- :param pulumi.Input[str] parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2320
+ :param pulumi.Input[_builtins.str] parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2321
2321
 
2322
2322
  Allowed values are `Allow` or `Deny`
2323
2323
 
@@ -2337,9 +2337,9 @@ class ParamRefPatchArgs:
2337
2337
  if selector is not None:
2338
2338
  pulumi.set(__self__, "selector", selector)
2339
2339
 
2340
- @property
2340
+ @_builtins.property
2341
2341
  @pulumi.getter
2342
- def name(self) -> Optional[pulumi.Input[str]]:
2342
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
2343
2343
  """
2344
2344
  name is the name of the resource being referenced.
2345
2345
 
@@ -2350,12 +2350,12 @@ class ParamRefPatchArgs:
2350
2350
  return pulumi.get(self, "name")
2351
2351
 
2352
2352
  @name.setter
2353
- def name(self, value: Optional[pulumi.Input[str]]):
2353
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
2354
2354
  pulumi.set(self, "name", value)
2355
2355
 
2356
- @property
2356
+ @_builtins.property
2357
2357
  @pulumi.getter
2358
- def namespace(self) -> Optional[pulumi.Input[str]]:
2358
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
2359
2359
  """
2360
2360
  namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2361
2361
 
@@ -2368,12 +2368,12 @@ class ParamRefPatchArgs:
2368
2368
  return pulumi.get(self, "namespace")
2369
2369
 
2370
2370
  @namespace.setter
2371
- def namespace(self, value: Optional[pulumi.Input[str]]):
2371
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
2372
2372
  pulumi.set(self, "namespace", value)
2373
2373
 
2374
- @property
2374
+ @_builtins.property
2375
2375
  @pulumi.getter(name="parameterNotFoundAction")
2376
- def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
2376
+ def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
2377
2377
  """
2378
2378
  `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2379
2379
 
@@ -2384,10 +2384,10 @@ class ParamRefPatchArgs:
2384
2384
  return pulumi.get(self, "parameter_not_found_action")
2385
2385
 
2386
2386
  @parameter_not_found_action.setter
2387
- def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
2387
+ def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
2388
2388
  pulumi.set(self, "parameter_not_found_action", value)
2389
2389
 
2390
- @property
2390
+ @_builtins.property
2391
2391
  @pulumi.getter
2392
2392
  def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
2393
2393
  """
@@ -2409,7 +2409,7 @@ if not MYPY:
2409
2409
  """
2410
2410
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2411
2411
  """
2412
- name: NotRequired[pulumi.Input[str]]
2412
+ name: NotRequired[pulumi.Input[_builtins.str]]
2413
2413
  """
2414
2414
  name is the name of the resource being referenced.
2415
2415
 
@@ -2417,7 +2417,7 @@ if not MYPY:
2417
2417
 
2418
2418
  A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
2419
2419
  """
2420
- namespace: NotRequired[pulumi.Input[str]]
2420
+ namespace: NotRequired[pulumi.Input[_builtins.str]]
2421
2421
  """
2422
2422
  namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2423
2423
 
@@ -2427,7 +2427,7 @@ if not MYPY:
2427
2427
 
2428
2428
  - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
2429
2429
  """
2430
- parameter_not_found_action: NotRequired[pulumi.Input[str]]
2430
+ parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
2431
2431
  """
2432
2432
  `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2433
2433
 
@@ -2449,25 +2449,25 @@ elif False:
2449
2449
  @pulumi.input_type
2450
2450
  class ParamRefArgs:
2451
2451
  def __init__(__self__, *,
2452
- name: Optional[pulumi.Input[str]] = None,
2453
- namespace: Optional[pulumi.Input[str]] = None,
2454
- parameter_not_found_action: Optional[pulumi.Input[str]] = None,
2452
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2453
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
2454
+ parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
2455
2455
  selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
2456
2456
  """
2457
2457
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2458
- :param pulumi.Input[str] name: name is the name of the resource being referenced.
2458
+ :param pulumi.Input[_builtins.str] name: name is the name of the resource being referenced.
2459
2459
 
2460
2460
  One of `name` or `selector` must be set, but `name` and `selector` are mutually exclusive properties. If one is set, the other must be unset.
2461
2461
 
2462
2462
  A single parameter used for all admission requests can be configured by setting the `name` field, leaving `selector` blank, and setting namespace if `paramKind` is namespace-scoped.
2463
- :param pulumi.Input[str] namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2463
+ :param pulumi.Input[_builtins.str] namespace: namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2464
2464
 
2465
2465
  A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
2466
2466
 
2467
2467
  - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
2468
2468
 
2469
2469
  - If `paramKind` is namespace-scoped, the namespace of the object being evaluated for admission will be used when this field is left unset. Take care that if this is left empty the binding must not match any cluster-scoped resources, which will result in an error.
2470
- :param pulumi.Input[str] parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2470
+ :param pulumi.Input[_builtins.str] parameter_not_found_action: `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2471
2471
 
2472
2472
  Allowed values are `Allow` or `Deny`
2473
2473
 
@@ -2487,9 +2487,9 @@ class ParamRefArgs:
2487
2487
  if selector is not None:
2488
2488
  pulumi.set(__self__, "selector", selector)
2489
2489
 
2490
- @property
2490
+ @_builtins.property
2491
2491
  @pulumi.getter
2492
- def name(self) -> Optional[pulumi.Input[str]]:
2492
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
2493
2493
  """
2494
2494
  name is the name of the resource being referenced.
2495
2495
 
@@ -2500,12 +2500,12 @@ class ParamRefArgs:
2500
2500
  return pulumi.get(self, "name")
2501
2501
 
2502
2502
  @name.setter
2503
- def name(self, value: Optional[pulumi.Input[str]]):
2503
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
2504
2504
  pulumi.set(self, "name", value)
2505
2505
 
2506
- @property
2506
+ @_builtins.property
2507
2507
  @pulumi.getter
2508
- def namespace(self) -> Optional[pulumi.Input[str]]:
2508
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
2509
2509
  """
2510
2510
  namespace is the namespace of the referenced resource. Allows limiting the search for params to a specific namespace. Applies to both `name` and `selector` fields.
2511
2511
 
@@ -2518,12 +2518,12 @@ class ParamRefArgs:
2518
2518
  return pulumi.get(self, "namespace")
2519
2519
 
2520
2520
  @namespace.setter
2521
- def namespace(self, value: Optional[pulumi.Input[str]]):
2521
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
2522
2522
  pulumi.set(self, "namespace", value)
2523
2523
 
2524
- @property
2524
+ @_builtins.property
2525
2525
  @pulumi.getter(name="parameterNotFoundAction")
2526
- def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
2526
+ def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
2527
2527
  """
2528
2528
  `parameterNotFoundAction` controls the behavior of the binding when the resource exists, and name or selector is valid, but there are no parameters matched by the binding. If the value is set to `Allow`, then no matched parameters will be treated as successful validation by the binding. If set to `Deny`, then no matched parameters will be subject to the `failurePolicy` of the policy.
2529
2529
 
@@ -2534,10 +2534,10 @@ class ParamRefArgs:
2534
2534
  return pulumi.get(self, "parameter_not_found_action")
2535
2535
 
2536
2536
  @parameter_not_found_action.setter
2537
- def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
2537
+ def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
2538
2538
  pulumi.set(self, "parameter_not_found_action", value)
2539
2539
 
2540
- @property
2540
+ @_builtins.property
2541
2541
  @pulumi.getter
2542
2542
  def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
2543
2543
  """
@@ -2559,19 +2559,19 @@ if not MYPY:
2559
2559
  """
2560
2560
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2561
2561
  """
2562
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2562
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2563
2563
  """
2564
2564
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2565
2565
  """
2566
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2566
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2567
2567
  """
2568
2568
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2569
2569
  """
2570
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2570
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2571
2571
  """
2572
2572
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2573
2573
  """
2574
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2574
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2575
2575
  """
2576
2576
  Resources is a list of resources this rule applies to.
2577
2577
 
@@ -2581,7 +2581,7 @@ if not MYPY:
2581
2581
 
2582
2582
  Depending on the enclosing object, subresources might not be allowed. Required.
2583
2583
  """
2584
- scope: NotRequired[pulumi.Input[str]]
2584
+ scope: NotRequired[pulumi.Input[_builtins.str]]
2585
2585
  """
2586
2586
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2587
2587
  """
@@ -2591,24 +2591,24 @@ elif False:
2591
2591
  @pulumi.input_type
2592
2592
  class RuleWithOperationsPatchArgs:
2593
2593
  def __init__(__self__, *,
2594
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2595
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2596
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2597
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2598
- scope: Optional[pulumi.Input[str]] = None):
2594
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2595
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2596
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2597
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2598
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
2599
2599
  """
2600
2600
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2601
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2602
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2603
- :param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2604
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
2601
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2602
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2603
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2604
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
2605
2605
 
2606
2606
  For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
2607
2607
 
2608
2608
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2609
2609
 
2610
2610
  Depending on the enclosing object, subresources might not be allowed. Required.
2611
- :param pulumi.Input[str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2611
+ :param pulumi.Input[_builtins.str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2612
2612
  """
2613
2613
  if api_groups is not None:
2614
2614
  pulumi.set(__self__, "api_groups", api_groups)
@@ -2621,45 +2621,45 @@ class RuleWithOperationsPatchArgs:
2621
2621
  if scope is not None:
2622
2622
  pulumi.set(__self__, "scope", scope)
2623
2623
 
2624
- @property
2624
+ @_builtins.property
2625
2625
  @pulumi.getter(name="apiGroups")
2626
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2626
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2627
2627
  """
2628
2628
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2629
2629
  """
2630
2630
  return pulumi.get(self, "api_groups")
2631
2631
 
2632
2632
  @api_groups.setter
2633
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2633
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2634
2634
  pulumi.set(self, "api_groups", value)
2635
2635
 
2636
- @property
2636
+ @_builtins.property
2637
2637
  @pulumi.getter(name="apiVersions")
2638
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2638
+ def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2639
2639
  """
2640
2640
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2641
2641
  """
2642
2642
  return pulumi.get(self, "api_versions")
2643
2643
 
2644
2644
  @api_versions.setter
2645
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2645
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2646
2646
  pulumi.set(self, "api_versions", value)
2647
2647
 
2648
- @property
2648
+ @_builtins.property
2649
2649
  @pulumi.getter
2650
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2650
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2651
2651
  """
2652
2652
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2653
2653
  """
2654
2654
  return pulumi.get(self, "operations")
2655
2655
 
2656
2656
  @operations.setter
2657
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2657
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2658
2658
  pulumi.set(self, "operations", value)
2659
2659
 
2660
- @property
2660
+ @_builtins.property
2661
2661
  @pulumi.getter
2662
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2662
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2663
2663
  """
2664
2664
  Resources is a list of resources this rule applies to.
2665
2665
 
@@ -2672,19 +2672,19 @@ class RuleWithOperationsPatchArgs:
2672
2672
  return pulumi.get(self, "resources")
2673
2673
 
2674
2674
  @resources.setter
2675
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2675
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2676
2676
  pulumi.set(self, "resources", value)
2677
2677
 
2678
- @property
2678
+ @_builtins.property
2679
2679
  @pulumi.getter
2680
- def scope(self) -> Optional[pulumi.Input[str]]:
2680
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
2681
2681
  """
2682
2682
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2683
2683
  """
2684
2684
  return pulumi.get(self, "scope")
2685
2685
 
2686
2686
  @scope.setter
2687
- def scope(self, value: Optional[pulumi.Input[str]]):
2687
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
2688
2688
  pulumi.set(self, "scope", value)
2689
2689
 
2690
2690
 
@@ -2693,19 +2693,19 @@ if not MYPY:
2693
2693
  """
2694
2694
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2695
2695
  """
2696
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2696
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2697
2697
  """
2698
2698
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2699
2699
  """
2700
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2700
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2701
2701
  """
2702
2702
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2703
2703
  """
2704
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2704
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2705
2705
  """
2706
2706
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2707
2707
  """
2708
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2708
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2709
2709
  """
2710
2710
  Resources is a list of resources this rule applies to.
2711
2711
 
@@ -2715,7 +2715,7 @@ if not MYPY:
2715
2715
 
2716
2716
  Depending on the enclosing object, subresources might not be allowed. Required.
2717
2717
  """
2718
- scope: NotRequired[pulumi.Input[str]]
2718
+ scope: NotRequired[pulumi.Input[_builtins.str]]
2719
2719
  """
2720
2720
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2721
2721
  """
@@ -2725,24 +2725,24 @@ elif False:
2725
2725
  @pulumi.input_type
2726
2726
  class RuleWithOperationsArgs:
2727
2727
  def __init__(__self__, *,
2728
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2729
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2730
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2731
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2732
- scope: Optional[pulumi.Input[str]] = None):
2728
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2729
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2730
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2731
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2732
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
2733
2733
  """
2734
2734
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2735
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2736
- :param pulumi.Input[Sequence[pulumi.Input[str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2737
- :param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2738
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
2735
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_groups: APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2736
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] api_versions: APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2737
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2738
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
2739
2739
 
2740
2740
  For example: 'pods' means pods. 'pods/log' means the log subresource of pods. '*' means all resources, but not subresources. 'pods/*' means all subresources of pods. '*/scale' means all scale subresources. '*/*' means all resources and their subresources.
2741
2741
 
2742
2742
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2743
2743
 
2744
2744
  Depending on the enclosing object, subresources might not be allowed. Required.
2745
- :param pulumi.Input[str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2745
+ :param pulumi.Input[_builtins.str] scope: scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2746
2746
  """
2747
2747
  if api_groups is not None:
2748
2748
  pulumi.set(__self__, "api_groups", api_groups)
@@ -2755,45 +2755,45 @@ class RuleWithOperationsArgs:
2755
2755
  if scope is not None:
2756
2756
  pulumi.set(__self__, "scope", scope)
2757
2757
 
2758
- @property
2758
+ @_builtins.property
2759
2759
  @pulumi.getter(name="apiGroups")
2760
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2760
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2761
2761
  """
2762
2762
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2763
2763
  """
2764
2764
  return pulumi.get(self, "api_groups")
2765
2765
 
2766
2766
  @api_groups.setter
2767
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2767
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2768
2768
  pulumi.set(self, "api_groups", value)
2769
2769
 
2770
- @property
2770
+ @_builtins.property
2771
2771
  @pulumi.getter(name="apiVersions")
2772
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2772
+ def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2773
2773
  """
2774
2774
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2775
2775
  """
2776
2776
  return pulumi.get(self, "api_versions")
2777
2777
 
2778
2778
  @api_versions.setter
2779
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2779
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2780
2780
  pulumi.set(self, "api_versions", value)
2781
2781
 
2782
- @property
2782
+ @_builtins.property
2783
2783
  @pulumi.getter
2784
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2784
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2785
2785
  """
2786
2786
  Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
2787
2787
  """
2788
2788
  return pulumi.get(self, "operations")
2789
2789
 
2790
2790
  @operations.setter
2791
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2791
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2792
2792
  pulumi.set(self, "operations", value)
2793
2793
 
2794
- @property
2794
+ @_builtins.property
2795
2795
  @pulumi.getter
2796
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2796
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2797
2797
  """
2798
2798
  Resources is a list of resources this rule applies to.
2799
2799
 
@@ -2806,19 +2806,19 @@ class RuleWithOperationsArgs:
2806
2806
  return pulumi.get(self, "resources")
2807
2807
 
2808
2808
  @resources.setter
2809
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2809
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2810
2810
  pulumi.set(self, "resources", value)
2811
2811
 
2812
- @property
2812
+ @_builtins.property
2813
2813
  @pulumi.getter
2814
- def scope(self) -> Optional[pulumi.Input[str]]:
2814
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
2815
2815
  """
2816
2816
  scope specifies the scope of this rule. Valid values are "Cluster", "Namespaced", and "*" "Cluster" means that only cluster-scoped resources will match this rule. Namespace API objects are cluster-scoped. "Namespaced" means that only namespaced resources will match this rule. "*" means that there are no scope restrictions. Subresources match the scope of their parent resource. Default is "*".
2817
2817
  """
2818
2818
  return pulumi.get(self, "scope")
2819
2819
 
2820
2820
  @scope.setter
2821
- def scope(self, value: Optional[pulumi.Input[str]]):
2821
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
2822
2822
  pulumi.set(self, "scope", value)
2823
2823
 
2824
2824
 
@@ -2827,19 +2827,19 @@ if not MYPY:
2827
2827
  """
2828
2828
  ServiceReference holds a reference to Service.legacy.k8s.io
2829
2829
  """
2830
- name: NotRequired[pulumi.Input[str]]
2830
+ name: NotRequired[pulumi.Input[_builtins.str]]
2831
2831
  """
2832
2832
  `name` is the name of the service. Required
2833
2833
  """
2834
- namespace: NotRequired[pulumi.Input[str]]
2834
+ namespace: NotRequired[pulumi.Input[_builtins.str]]
2835
2835
  """
2836
2836
  `namespace` is the namespace of the service. Required
2837
2837
  """
2838
- path: NotRequired[pulumi.Input[str]]
2838
+ path: NotRequired[pulumi.Input[_builtins.str]]
2839
2839
  """
2840
2840
  `path` is an optional URL path which will be sent in any request to this service.
2841
2841
  """
2842
- port: NotRequired[pulumi.Input[int]]
2842
+ port: NotRequired[pulumi.Input[_builtins.int]]
2843
2843
  """
2844
2844
  If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2845
2845
  """
@@ -2849,16 +2849,16 @@ elif False:
2849
2849
  @pulumi.input_type
2850
2850
  class ServiceReferencePatchArgs:
2851
2851
  def __init__(__self__, *,
2852
- name: Optional[pulumi.Input[str]] = None,
2853
- namespace: Optional[pulumi.Input[str]] = None,
2854
- path: Optional[pulumi.Input[str]] = None,
2855
- port: Optional[pulumi.Input[int]] = None):
2852
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2853
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
2854
+ path: Optional[pulumi.Input[_builtins.str]] = None,
2855
+ port: Optional[pulumi.Input[_builtins.int]] = None):
2856
2856
  """
2857
2857
  ServiceReference holds a reference to Service.legacy.k8s.io
2858
- :param pulumi.Input[str] name: `name` is the name of the service. Required
2859
- :param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
2860
- :param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
2861
- :param pulumi.Input[int] port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2858
+ :param pulumi.Input[_builtins.str] name: `name` is the name of the service. Required
2859
+ :param pulumi.Input[_builtins.str] namespace: `namespace` is the namespace of the service. Required
2860
+ :param pulumi.Input[_builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
2861
+ :param pulumi.Input[_builtins.int] port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2862
2862
  """
2863
2863
  if name is not None:
2864
2864
  pulumi.set(__self__, "name", name)
@@ -2869,52 +2869,52 @@ class ServiceReferencePatchArgs:
2869
2869
  if port is not None:
2870
2870
  pulumi.set(__self__, "port", port)
2871
2871
 
2872
- @property
2872
+ @_builtins.property
2873
2873
  @pulumi.getter
2874
- def name(self) -> Optional[pulumi.Input[str]]:
2874
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
2875
2875
  """
2876
2876
  `name` is the name of the service. Required
2877
2877
  """
2878
2878
  return pulumi.get(self, "name")
2879
2879
 
2880
2880
  @name.setter
2881
- def name(self, value: Optional[pulumi.Input[str]]):
2881
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
2882
2882
  pulumi.set(self, "name", value)
2883
2883
 
2884
- @property
2884
+ @_builtins.property
2885
2885
  @pulumi.getter
2886
- def namespace(self) -> Optional[pulumi.Input[str]]:
2886
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
2887
2887
  """
2888
2888
  `namespace` is the namespace of the service. Required
2889
2889
  """
2890
2890
  return pulumi.get(self, "namespace")
2891
2891
 
2892
2892
  @namespace.setter
2893
- def namespace(self, value: Optional[pulumi.Input[str]]):
2893
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
2894
2894
  pulumi.set(self, "namespace", value)
2895
2895
 
2896
- @property
2896
+ @_builtins.property
2897
2897
  @pulumi.getter
2898
- def path(self) -> Optional[pulumi.Input[str]]:
2898
+ def path(self) -> Optional[pulumi.Input[_builtins.str]]:
2899
2899
  """
2900
2900
  `path` is an optional URL path which will be sent in any request to this service.
2901
2901
  """
2902
2902
  return pulumi.get(self, "path")
2903
2903
 
2904
2904
  @path.setter
2905
- def path(self, value: Optional[pulumi.Input[str]]):
2905
+ def path(self, value: Optional[pulumi.Input[_builtins.str]]):
2906
2906
  pulumi.set(self, "path", value)
2907
2907
 
2908
- @property
2908
+ @_builtins.property
2909
2909
  @pulumi.getter
2910
- def port(self) -> Optional[pulumi.Input[int]]:
2910
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
2911
2911
  """
2912
2912
  If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2913
2913
  """
2914
2914
  return pulumi.get(self, "port")
2915
2915
 
2916
2916
  @port.setter
2917
- def port(self, value: Optional[pulumi.Input[int]]):
2917
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
2918
2918
  pulumi.set(self, "port", value)
2919
2919
 
2920
2920
 
@@ -2923,19 +2923,19 @@ if not MYPY:
2923
2923
  """
2924
2924
  ServiceReference holds a reference to Service.legacy.k8s.io
2925
2925
  """
2926
- name: pulumi.Input[str]
2926
+ name: pulumi.Input[_builtins.str]
2927
2927
  """
2928
2928
  `name` is the name of the service. Required
2929
2929
  """
2930
- namespace: pulumi.Input[str]
2930
+ namespace: pulumi.Input[_builtins.str]
2931
2931
  """
2932
2932
  `namespace` is the namespace of the service. Required
2933
2933
  """
2934
- path: NotRequired[pulumi.Input[str]]
2934
+ path: NotRequired[pulumi.Input[_builtins.str]]
2935
2935
  """
2936
2936
  `path` is an optional URL path which will be sent in any request to this service.
2937
2937
  """
2938
- port: NotRequired[pulumi.Input[int]]
2938
+ port: NotRequired[pulumi.Input[_builtins.int]]
2939
2939
  """
2940
2940
  If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2941
2941
  """
@@ -2945,16 +2945,16 @@ elif False:
2945
2945
  @pulumi.input_type
2946
2946
  class ServiceReferenceArgs:
2947
2947
  def __init__(__self__, *,
2948
- name: pulumi.Input[str],
2949
- namespace: pulumi.Input[str],
2950
- path: Optional[pulumi.Input[str]] = None,
2951
- port: Optional[pulumi.Input[int]] = None):
2948
+ name: pulumi.Input[_builtins.str],
2949
+ namespace: pulumi.Input[_builtins.str],
2950
+ path: Optional[pulumi.Input[_builtins.str]] = None,
2951
+ port: Optional[pulumi.Input[_builtins.int]] = None):
2952
2952
  """
2953
2953
  ServiceReference holds a reference to Service.legacy.k8s.io
2954
- :param pulumi.Input[str] name: `name` is the name of the service. Required
2955
- :param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
2956
- :param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
2957
- :param pulumi.Input[int] port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2954
+ :param pulumi.Input[_builtins.str] name: `name` is the name of the service. Required
2955
+ :param pulumi.Input[_builtins.str] namespace: `namespace` is the namespace of the service. Required
2956
+ :param pulumi.Input[_builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
2957
+ :param pulumi.Input[_builtins.int] port: If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
2958
2958
  """
2959
2959
  pulumi.set(__self__, "name", name)
2960
2960
  pulumi.set(__self__, "namespace", namespace)
@@ -2963,52 +2963,52 @@ class ServiceReferenceArgs:
2963
2963
  if port is not None:
2964
2964
  pulumi.set(__self__, "port", port)
2965
2965
 
2966
- @property
2966
+ @_builtins.property
2967
2967
  @pulumi.getter
2968
- def name(self) -> pulumi.Input[str]:
2968
+ def name(self) -> pulumi.Input[_builtins.str]:
2969
2969
  """
2970
2970
  `name` is the name of the service. Required
2971
2971
  """
2972
2972
  return pulumi.get(self, "name")
2973
2973
 
2974
2974
  @name.setter
2975
- def name(self, value: pulumi.Input[str]):
2975
+ def name(self, value: pulumi.Input[_builtins.str]):
2976
2976
  pulumi.set(self, "name", value)
2977
2977
 
2978
- @property
2978
+ @_builtins.property
2979
2979
  @pulumi.getter
2980
- def namespace(self) -> pulumi.Input[str]:
2980
+ def namespace(self) -> pulumi.Input[_builtins.str]:
2981
2981
  """
2982
2982
  `namespace` is the namespace of the service. Required
2983
2983
  """
2984
2984
  return pulumi.get(self, "namespace")
2985
2985
 
2986
2986
  @namespace.setter
2987
- def namespace(self, value: pulumi.Input[str]):
2987
+ def namespace(self, value: pulumi.Input[_builtins.str]):
2988
2988
  pulumi.set(self, "namespace", value)
2989
2989
 
2990
- @property
2990
+ @_builtins.property
2991
2991
  @pulumi.getter
2992
- def path(self) -> Optional[pulumi.Input[str]]:
2992
+ def path(self) -> Optional[pulumi.Input[_builtins.str]]:
2993
2993
  """
2994
2994
  `path` is an optional URL path which will be sent in any request to this service.
2995
2995
  """
2996
2996
  return pulumi.get(self, "path")
2997
2997
 
2998
2998
  @path.setter
2999
- def path(self, value: Optional[pulumi.Input[str]]):
2999
+ def path(self, value: Optional[pulumi.Input[_builtins.str]]):
3000
3000
  pulumi.set(self, "path", value)
3001
3001
 
3002
- @property
3002
+ @_builtins.property
3003
3003
  @pulumi.getter
3004
- def port(self) -> Optional[pulumi.Input[int]]:
3004
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
3005
3005
  """
3006
3006
  If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
3007
3007
  """
3008
3008
  return pulumi.get(self, "port")
3009
3009
 
3010
3010
  @port.setter
3011
- def port(self, value: Optional[pulumi.Input[int]]):
3011
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
3012
3012
  pulumi.set(self, "port", value)
3013
3013
 
3014
3014
 
@@ -3035,7 +3035,7 @@ class TypeCheckingArgs:
3035
3035
  if expression_warnings is not None:
3036
3036
  pulumi.set(__self__, "expression_warnings", expression_warnings)
3037
3037
 
3038
- @property
3038
+ @_builtins.property
3039
3039
  @pulumi.getter(name="expressionWarnings")
3040
3040
  def expression_warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExpressionWarningArgs']]]]:
3041
3041
  """
@@ -3061,11 +3061,11 @@ if not MYPY:
3061
3061
  """
3062
3062
  paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
3063
3063
  """
3064
- policy_name: NotRequired[pulumi.Input[str]]
3064
+ policy_name: NotRequired[pulumi.Input[_builtins.str]]
3065
3065
  """
3066
3066
  PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3067
3067
  """
3068
- validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
3068
+ validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
3069
3069
  """
3070
3070
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3071
3071
 
@@ -3079,7 +3079,7 @@ if not MYPY:
3079
3079
 
3080
3080
  "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3081
3081
 
3082
- "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3082
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\\"message\\": \\"Invalid value\\", {\\"policy\\": \\"policy.example.com\\", {\\"binding\\": \\"policybinding.example.com\\", {\\"expressionIndex\\": \\"1\\", {\\"validationActions\\": [\\"Audit\\"]}]"`
3083
3083
 
3084
3084
  Clients should expect to handle additional values by ignoring any values not recognized.
3085
3085
 
@@ -3095,14 +3095,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3095
3095
  def __init__(__self__, *,
3096
3096
  match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
3097
3097
  param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
3098
- policy_name: Optional[pulumi.Input[str]] = None,
3099
- validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
3098
+ policy_name: Optional[pulumi.Input[_builtins.str]] = None,
3099
+ validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
3100
3100
  """
3101
3101
  ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
3102
3102
  :param pulumi.Input['MatchResourcesPatchArgs'] match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
3103
3103
  :param pulumi.Input['ParamRefPatchArgs'] param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
3104
- :param pulumi.Input[str] policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3105
- :param pulumi.Input[Sequence[pulumi.Input[str]]] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3104
+ :param pulumi.Input[_builtins.str] policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3105
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3106
3106
 
3107
3107
  Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
3108
3108
 
@@ -3114,7 +3114,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3114
3114
 
3115
3115
  "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3116
3116
 
3117
- "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3117
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\\"message\\": \\"Invalid value\\", {\\"policy\\": \\"policy.example.com\\", {\\"binding\\": \\"policybinding.example.com\\", {\\"expressionIndex\\": \\"1\\", {\\"validationActions\\": [\\"Audit\\"]}]"`
3118
3118
 
3119
3119
  Clients should expect to handle additional values by ignoring any values not recognized.
3120
3120
 
@@ -3131,7 +3131,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3131
3131
  if validation_actions is not None:
3132
3132
  pulumi.set(__self__, "validation_actions", validation_actions)
3133
3133
 
3134
- @property
3134
+ @_builtins.property
3135
3135
  @pulumi.getter(name="matchResources")
3136
3136
  def match_resources(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
3137
3137
  """
@@ -3143,7 +3143,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3143
3143
  def match_resources(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
3144
3144
  pulumi.set(self, "match_resources", value)
3145
3145
 
3146
- @property
3146
+ @_builtins.property
3147
3147
  @pulumi.getter(name="paramRef")
3148
3148
  def param_ref(self) -> Optional[pulumi.Input['ParamRefPatchArgs']]:
3149
3149
  """
@@ -3155,21 +3155,21 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3155
3155
  def param_ref(self, value: Optional[pulumi.Input['ParamRefPatchArgs']]):
3156
3156
  pulumi.set(self, "param_ref", value)
3157
3157
 
3158
- @property
3158
+ @_builtins.property
3159
3159
  @pulumi.getter(name="policyName")
3160
- def policy_name(self) -> Optional[pulumi.Input[str]]:
3160
+ def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
3161
3161
  """
3162
3162
  PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3163
3163
  """
3164
3164
  return pulumi.get(self, "policy_name")
3165
3165
 
3166
3166
  @policy_name.setter
3167
- def policy_name(self, value: Optional[pulumi.Input[str]]):
3167
+ def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
3168
3168
  pulumi.set(self, "policy_name", value)
3169
3169
 
3170
- @property
3170
+ @_builtins.property
3171
3171
  @pulumi.getter(name="validationActions")
3172
- def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
3172
+ def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
3173
3173
  """
3174
3174
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3175
3175
 
@@ -3183,7 +3183,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3183
3183
 
3184
3184
  "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3185
3185
 
3186
- "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3186
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\\"message\\": \\"Invalid value\\", {\\"policy\\": \\"policy.example.com\\", {\\"binding\\": \\"policybinding.example.com\\", {\\"expressionIndex\\": \\"1\\", {\\"validationActions\\": [\\"Audit\\"]}]"`
3187
3187
 
3188
3188
  Clients should expect to handle additional values by ignoring any values not recognized.
3189
3189
 
@@ -3194,7 +3194,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3194
3194
  return pulumi.get(self, "validation_actions")
3195
3195
 
3196
3196
  @validation_actions.setter
3197
- def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
3197
+ def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
3198
3198
  pulumi.set(self, "validation_actions", value)
3199
3199
 
3200
3200
 
@@ -3211,11 +3211,11 @@ if not MYPY:
3211
3211
  """
3212
3212
  paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
3213
3213
  """
3214
- policy_name: NotRequired[pulumi.Input[str]]
3214
+ policy_name: NotRequired[pulumi.Input[_builtins.str]]
3215
3215
  """
3216
3216
  PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3217
3217
  """
3218
- validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
3218
+ validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
3219
3219
  """
3220
3220
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3221
3221
 
@@ -3229,7 +3229,7 @@ if not MYPY:
3229
3229
 
3230
3230
  "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3231
3231
 
3232
- "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3232
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\\"message\\": \\"Invalid value\\", {\\"policy\\": \\"policy.example.com\\", {\\"binding\\": \\"policybinding.example.com\\", {\\"expressionIndex\\": \\"1\\", {\\"validationActions\\": [\\"Audit\\"]}]"`
3233
3233
 
3234
3234
  Clients should expect to handle additional values by ignoring any values not recognized.
3235
3235
 
@@ -3245,14 +3245,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3245
3245
  def __init__(__self__, *,
3246
3246
  match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
3247
3247
  param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
3248
- policy_name: Optional[pulumi.Input[str]] = None,
3249
- validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
3248
+ policy_name: Optional[pulumi.Input[_builtins.str]] = None,
3249
+ validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
3250
3250
  """
3251
3251
  ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
3252
3252
  :param pulumi.Input['MatchResourcesArgs'] match_resources: MatchResources declares what resources match this binding and will be validated by it. Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this. If this is unset, all resources matched by the policy are validated by this binding When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated. Note that this is differs from ValidatingAdmissionPolicy matchConstraints, where resourceRules are required.
3253
3253
  :param pulumi.Input['ParamRefArgs'] param_ref: paramRef specifies the parameter resource used to configure the admission control policy. It should point to a resource of the type specified in ParamKind of the bound ValidatingAdmissionPolicy. If the policy specifies a ParamKind and the resource referred to by ParamRef does not exist, this binding is considered mis-configured and the FailurePolicy of the ValidatingAdmissionPolicy applied. If the policy does not specify a ParamKind then this field is ignored, and the rules are evaluated without a param.
3254
- :param pulumi.Input[str] policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3255
- :param pulumi.Input[Sequence[pulumi.Input[str]]] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3254
+ :param pulumi.Input[_builtins.str] policy_name: PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3255
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] validation_actions: validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3256
3256
 
3257
3257
  Failures defined by the ValidatingAdmissionPolicy's FailurePolicy are enforced according to these actions only if the FailurePolicy is set to Fail, otherwise the failures are ignored. This includes compilation errors, runtime errors and misconfigurations of the policy.
3258
3258
 
@@ -3264,7 +3264,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3264
3264
 
3265
3265
  "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3266
3266
 
3267
- "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3267
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\\"message\\": \\"Invalid value\\", {\\"policy\\": \\"policy.example.com\\", {\\"binding\\": \\"policybinding.example.com\\", {\\"expressionIndex\\": \\"1\\", {\\"validationActions\\": [\\"Audit\\"]}]"`
3268
3268
 
3269
3269
  Clients should expect to handle additional values by ignoring any values not recognized.
3270
3270
 
@@ -3281,7 +3281,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3281
3281
  if validation_actions is not None:
3282
3282
  pulumi.set(__self__, "validation_actions", validation_actions)
3283
3283
 
3284
- @property
3284
+ @_builtins.property
3285
3285
  @pulumi.getter(name="matchResources")
3286
3286
  def match_resources(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
3287
3287
  """
@@ -3293,7 +3293,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3293
3293
  def match_resources(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
3294
3294
  pulumi.set(self, "match_resources", value)
3295
3295
 
3296
- @property
3296
+ @_builtins.property
3297
3297
  @pulumi.getter(name="paramRef")
3298
3298
  def param_ref(self) -> Optional[pulumi.Input['ParamRefArgs']]:
3299
3299
  """
@@ -3305,21 +3305,21 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3305
3305
  def param_ref(self, value: Optional[pulumi.Input['ParamRefArgs']]):
3306
3306
  pulumi.set(self, "param_ref", value)
3307
3307
 
3308
- @property
3308
+ @_builtins.property
3309
3309
  @pulumi.getter(name="policyName")
3310
- def policy_name(self) -> Optional[pulumi.Input[str]]:
3310
+ def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
3311
3311
  """
3312
3312
  PolicyName references a ValidatingAdmissionPolicy name which the ValidatingAdmissionPolicyBinding binds to. If the referenced resource does not exist, this binding is considered invalid and will be ignored Required.
3313
3313
  """
3314
3314
  return pulumi.get(self, "policy_name")
3315
3315
 
3316
3316
  @policy_name.setter
3317
- def policy_name(self, value: Optional[pulumi.Input[str]]):
3317
+ def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
3318
3318
  pulumi.set(self, "policy_name", value)
3319
3319
 
3320
- @property
3320
+ @_builtins.property
3321
3321
  @pulumi.getter(name="validationActions")
3322
- def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
3322
+ def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
3323
3323
  """
3324
3324
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3325
3325
 
@@ -3333,7 +3333,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3333
3333
 
3334
3334
  "Warn" specifies that a validation failure is reported to the request client in HTTP Warning headers, with a warning code of 299. Warnings can be sent both for allowed or denied admission responses.
3335
3335
 
3336
- "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{"message": "Invalid value", {"policy": "policy.example.com", {"binding": "policybinding.example.com", {"expressionIndex": "1", {"validationActions": ["Audit"]}]"`
3336
+ "Audit" specifies that a validation failure is included in the published audit event for the request. The audit event will contain a `validation.policy.admission.k8s.io/validation_failure` audit annotation with a value containing the details of the validation failures, formatted as a JSON list of objects, each with the following fields: - message: The validation failure message string - policy: The resource name of the ValidatingAdmissionPolicy - binding: The resource name of the ValidatingAdmissionPolicyBinding - expressionIndex: The index of the failed validations in the ValidatingAdmissionPolicy - validationActions: The enforcement actions enacted for the validation failure Example audit annotation: `"validation.policy.admission.k8s.io/validation_failure": "[{\\"message\\": \\"Invalid value\\", {\\"policy\\": \\"policy.example.com\\", {\\"binding\\": \\"policybinding.example.com\\", {\\"expressionIndex\\": \\"1\\", {\\"validationActions\\": [\\"Audit\\"]}]"`
3337
3337
 
3338
3338
  Clients should expect to handle additional values by ignoring any values not recognized.
3339
3339
 
@@ -3344,7 +3344,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3344
3344
  return pulumi.get(self, "validation_actions")
3345
3345
 
3346
3346
  @validation_actions.setter
3347
- def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
3347
+ def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
3348
3348
  pulumi.set(self, "validation_actions", value)
3349
3349
 
3350
3350
 
@@ -3357,11 +3357,11 @@ if not MYPY:
3357
3357
 
3358
3358
  The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
3359
3359
  """
3360
- api_version: NotRequired[pulumi.Input[str]]
3360
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
3361
3361
  """
3362
3362
  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
3363
3363
  """
3364
- kind: NotRequired[pulumi.Input[str]]
3364
+ kind: NotRequired[pulumi.Input[_builtins.str]]
3365
3365
  """
3366
3366
  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
3367
3367
  """
@@ -3379,8 +3379,8 @@ elif False:
3379
3379
  @pulumi.input_type
3380
3380
  class ValidatingAdmissionPolicyBindingArgs:
3381
3381
  def __init__(__self__, *,
3382
- api_version: Optional[pulumi.Input[str]] = None,
3383
- kind: Optional[pulumi.Input[str]] = None,
3382
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
3383
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
3384
3384
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
3385
3385
  spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
3386
3386
  """
@@ -3389,8 +3389,8 @@ class ValidatingAdmissionPolicyBindingArgs:
3389
3389
  For a given admission request, each binding will cause its policy to be evaluated N times, where N is 1 for policies/bindings that don't use params, otherwise N is the number of parameters selected by the binding.
3390
3390
 
3391
3391
  The CEL expressions of a policy must have a computed CEL cost below the maximum CEL budget. Each evaluation of the policy is given an independent CEL cost budget. Adding/removing policies, bindings, or params can not affect whether a given (policy, binding, param) combination is within its own CEL budget.
3392
- :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
3393
- :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
3392
+ :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
3393
+ :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
3394
3394
  :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
3395
3395
  :param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
3396
3396
  """
@@ -3403,31 +3403,31 @@ class ValidatingAdmissionPolicyBindingArgs:
3403
3403
  if spec is not None:
3404
3404
  pulumi.set(__self__, "spec", spec)
3405
3405
 
3406
- @property
3406
+ @_builtins.property
3407
3407
  @pulumi.getter(name="apiVersion")
3408
- def api_version(self) -> Optional[pulumi.Input[str]]:
3408
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
3409
3409
  """
3410
3410
  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
3411
3411
  """
3412
3412
  return pulumi.get(self, "api_version")
3413
3413
 
3414
3414
  @api_version.setter
3415
- def api_version(self, value: Optional[pulumi.Input[str]]):
3415
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
3416
3416
  pulumi.set(self, "api_version", value)
3417
3417
 
3418
- @property
3418
+ @_builtins.property
3419
3419
  @pulumi.getter
3420
- def kind(self) -> Optional[pulumi.Input[str]]:
3420
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
3421
3421
  """
3422
3422
  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
3423
3423
  """
3424
3424
  return pulumi.get(self, "kind")
3425
3425
 
3426
3426
  @kind.setter
3427
- def kind(self, value: Optional[pulumi.Input[str]]):
3427
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
3428
3428
  pulumi.set(self, "kind", value)
3429
3429
 
3430
- @property
3430
+ @_builtins.property
3431
3431
  @pulumi.getter
3432
3432
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
3433
3433
  """
@@ -3439,7 +3439,7 @@ class ValidatingAdmissionPolicyBindingArgs:
3439
3439
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
3440
3440
  pulumi.set(self, "metadata", value)
3441
3441
 
3442
- @property
3442
+ @_builtins.property
3443
3443
  @pulumi.getter
3444
3444
  def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']]:
3445
3445
  """
@@ -3461,7 +3461,7 @@ if not MYPY:
3461
3461
  """
3462
3462
  auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
3463
3463
  """
3464
- failure_policy: NotRequired[pulumi.Input[str]]
3464
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
3465
3465
  """
3466
3466
  failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3467
3467
 
@@ -3511,7 +3511,7 @@ elif False:
3511
3511
  class ValidatingAdmissionPolicySpecPatchArgs:
3512
3512
  def __init__(__self__, *,
3513
3513
  audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
3514
- failure_policy: Optional[pulumi.Input[str]] = None,
3514
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
3515
3515
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
3516
3516
  match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
3517
3517
  param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
@@ -3520,7 +3520,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3520
3520
  """
3521
3521
  ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
3522
3522
  :param pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
3523
- :param pulumi.Input[str] failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3523
+ :param pulumi.Input[_builtins.str] failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3524
3524
 
3525
3525
  A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
3526
3526
 
@@ -3561,7 +3561,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3561
3561
  if variables is not None:
3562
3562
  pulumi.set(__self__, "variables", variables)
3563
3563
 
3564
- @property
3564
+ @_builtins.property
3565
3565
  @pulumi.getter(name="auditAnnotations")
3566
3566
  def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]:
3567
3567
  """
@@ -3573,9 +3573,9 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3573
3573
  def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]):
3574
3574
  pulumi.set(self, "audit_annotations", value)
3575
3575
 
3576
- @property
3576
+ @_builtins.property
3577
3577
  @pulumi.getter(name="failurePolicy")
3578
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
3578
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
3579
3579
  """
3580
3580
  failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3581
3581
 
@@ -3590,10 +3590,10 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3590
3590
  return pulumi.get(self, "failure_policy")
3591
3591
 
3592
3592
  @failure_policy.setter
3593
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
3593
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
3594
3594
  pulumi.set(self, "failure_policy", value)
3595
3595
 
3596
- @property
3596
+ @_builtins.property
3597
3597
  @pulumi.getter(name="matchConditions")
3598
3598
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
3599
3599
  """
@@ -3614,7 +3614,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3614
3614
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
3615
3615
  pulumi.set(self, "match_conditions", value)
3616
3616
 
3617
- @property
3617
+ @_builtins.property
3618
3618
  @pulumi.getter(name="matchConstraints")
3619
3619
  def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
3620
3620
  """
@@ -3626,7 +3626,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3626
3626
  def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
3627
3627
  pulumi.set(self, "match_constraints", value)
3628
3628
 
3629
- @property
3629
+ @_builtins.property
3630
3630
  @pulumi.getter(name="paramKind")
3631
3631
  def param_kind(self) -> Optional[pulumi.Input['ParamKindPatchArgs']]:
3632
3632
  """
@@ -3638,7 +3638,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3638
3638
  def param_kind(self, value: Optional[pulumi.Input['ParamKindPatchArgs']]):
3639
3639
  pulumi.set(self, "param_kind", value)
3640
3640
 
3641
- @property
3641
+ @_builtins.property
3642
3642
  @pulumi.getter
3643
3643
  def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]:
3644
3644
  """
@@ -3650,7 +3650,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3650
3650
  def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]):
3651
3651
  pulumi.set(self, "validations", value)
3652
3652
 
3653
- @property
3653
+ @_builtins.property
3654
3654
  @pulumi.getter
3655
3655
  def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]]:
3656
3656
  """
@@ -3674,7 +3674,7 @@ if not MYPY:
3674
3674
  """
3675
3675
  auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
3676
3676
  """
3677
- failure_policy: NotRequired[pulumi.Input[str]]
3677
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
3678
3678
  """
3679
3679
  failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3680
3680
 
@@ -3724,7 +3724,7 @@ elif False:
3724
3724
  class ValidatingAdmissionPolicySpecArgs:
3725
3725
  def __init__(__self__, *,
3726
3726
  audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
3727
- failure_policy: Optional[pulumi.Input[str]] = None,
3727
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
3728
3728
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
3729
3729
  match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
3730
3730
  param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
@@ -3733,7 +3733,7 @@ class ValidatingAdmissionPolicySpecArgs:
3733
3733
  """
3734
3734
  ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
3735
3735
  :param pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]] audit_annotations: auditAnnotations contains CEL expressions which are used to produce audit annotations for the audit event of the API request. validations and auditAnnotations may not both be empty; a least one of validations or auditAnnotations is required.
3736
- :param pulumi.Input[str] failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3736
+ :param pulumi.Input[_builtins.str] failure_policy: failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3737
3737
 
3738
3738
  A policy is invalid if spec.paramKind refers to a non-existent Kind. A binding is invalid if spec.paramRef.name refers to a non-existent resource.
3739
3739
 
@@ -3774,7 +3774,7 @@ class ValidatingAdmissionPolicySpecArgs:
3774
3774
  if variables is not None:
3775
3775
  pulumi.set(__self__, "variables", variables)
3776
3776
 
3777
- @property
3777
+ @_builtins.property
3778
3778
  @pulumi.getter(name="auditAnnotations")
3779
3779
  def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]:
3780
3780
  """
@@ -3786,9 +3786,9 @@ class ValidatingAdmissionPolicySpecArgs:
3786
3786
  def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]):
3787
3787
  pulumi.set(self, "audit_annotations", value)
3788
3788
 
3789
- @property
3789
+ @_builtins.property
3790
3790
  @pulumi.getter(name="failurePolicy")
3791
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
3791
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
3792
3792
  """
3793
3793
  failurePolicy defines how to handle failures for the admission policy. Failures can occur from CEL expression parse errors, type check errors, runtime errors and invalid or mis-configured policy definitions or bindings.
3794
3794
 
@@ -3803,10 +3803,10 @@ class ValidatingAdmissionPolicySpecArgs:
3803
3803
  return pulumi.get(self, "failure_policy")
3804
3804
 
3805
3805
  @failure_policy.setter
3806
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
3806
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
3807
3807
  pulumi.set(self, "failure_policy", value)
3808
3808
 
3809
- @property
3809
+ @_builtins.property
3810
3810
  @pulumi.getter(name="matchConditions")
3811
3811
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
3812
3812
  """
@@ -3827,7 +3827,7 @@ class ValidatingAdmissionPolicySpecArgs:
3827
3827
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
3828
3828
  pulumi.set(self, "match_conditions", value)
3829
3829
 
3830
- @property
3830
+ @_builtins.property
3831
3831
  @pulumi.getter(name="matchConstraints")
3832
3832
  def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
3833
3833
  """
@@ -3839,7 +3839,7 @@ class ValidatingAdmissionPolicySpecArgs:
3839
3839
  def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
3840
3840
  pulumi.set(self, "match_constraints", value)
3841
3841
 
3842
- @property
3842
+ @_builtins.property
3843
3843
  @pulumi.getter(name="paramKind")
3844
3844
  def param_kind(self) -> Optional[pulumi.Input['ParamKindArgs']]:
3845
3845
  """
@@ -3851,7 +3851,7 @@ class ValidatingAdmissionPolicySpecArgs:
3851
3851
  def param_kind(self, value: Optional[pulumi.Input['ParamKindArgs']]):
3852
3852
  pulumi.set(self, "param_kind", value)
3853
3853
 
3854
- @property
3854
+ @_builtins.property
3855
3855
  @pulumi.getter
3856
3856
  def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]]:
3857
3857
  """
@@ -3863,7 +3863,7 @@ class ValidatingAdmissionPolicySpecArgs:
3863
3863
  def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]]):
3864
3864
  pulumi.set(self, "validations", value)
3865
3865
 
3866
- @property
3866
+ @_builtins.property
3867
3867
  @pulumi.getter
3868
3868
  def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]]:
3869
3869
  """
@@ -3887,7 +3887,7 @@ if not MYPY:
3887
3887
  """
3888
3888
  The conditions represent the latest available observations of a policy's current state.
3889
3889
  """
3890
- observed_generation: NotRequired[pulumi.Input[int]]
3890
+ observed_generation: NotRequired[pulumi.Input[_builtins.int]]
3891
3891
  """
3892
3892
  The generation observed by the controller.
3893
3893
  """
@@ -3902,12 +3902,12 @@ elif False:
3902
3902
  class ValidatingAdmissionPolicyStatusArgs:
3903
3903
  def __init__(__self__, *,
3904
3904
  conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
3905
- observed_generation: Optional[pulumi.Input[int]] = None,
3905
+ observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
3906
3906
  type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
3907
3907
  """
3908
3908
  ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
3909
3909
  :param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
3910
- :param pulumi.Input[int] observed_generation: The generation observed by the controller.
3910
+ :param pulumi.Input[_builtins.int] observed_generation: The generation observed by the controller.
3911
3911
  :param pulumi.Input['TypeCheckingArgs'] type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
3912
3912
  """
3913
3913
  if conditions is not None:
@@ -3917,7 +3917,7 @@ class ValidatingAdmissionPolicyStatusArgs:
3917
3917
  if type_checking is not None:
3918
3918
  pulumi.set(__self__, "type_checking", type_checking)
3919
3919
 
3920
- @property
3920
+ @_builtins.property
3921
3921
  @pulumi.getter
3922
3922
  def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]:
3923
3923
  """
@@ -3929,19 +3929,19 @@ class ValidatingAdmissionPolicyStatusArgs:
3929
3929
  def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]):
3930
3930
  pulumi.set(self, "conditions", value)
3931
3931
 
3932
- @property
3932
+ @_builtins.property
3933
3933
  @pulumi.getter(name="observedGeneration")
3934
- def observed_generation(self) -> Optional[pulumi.Input[int]]:
3934
+ def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
3935
3935
  """
3936
3936
  The generation observed by the controller.
3937
3937
  """
3938
3938
  return pulumi.get(self, "observed_generation")
3939
3939
 
3940
3940
  @observed_generation.setter
3941
- def observed_generation(self, value: Optional[pulumi.Input[int]]):
3941
+ def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
3942
3942
  pulumi.set(self, "observed_generation", value)
3943
3943
 
3944
- @property
3944
+ @_builtins.property
3945
3945
  @pulumi.getter(name="typeChecking")
3946
3946
  def type_checking(self) -> Optional[pulumi.Input['TypeCheckingArgs']]:
3947
3947
  """
@@ -3959,11 +3959,11 @@ if not MYPY:
3959
3959
  """
3960
3960
  ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
3961
3961
  """
3962
- api_version: NotRequired[pulumi.Input[str]]
3962
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
3963
3963
  """
3964
3964
  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
3965
3965
  """
3966
- kind: NotRequired[pulumi.Input[str]]
3966
+ kind: NotRequired[pulumi.Input[_builtins.str]]
3967
3967
  """
3968
3968
  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
3969
3969
  """
@@ -3985,15 +3985,15 @@ elif False:
3985
3985
  @pulumi.input_type
3986
3986
  class ValidatingAdmissionPolicyArgs:
3987
3987
  def __init__(__self__, *,
3988
- api_version: Optional[pulumi.Input[str]] = None,
3989
- kind: Optional[pulumi.Input[str]] = None,
3988
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
3989
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
3990
3990
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
3991
3991
  spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
3992
3992
  status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
3993
3993
  """
3994
3994
  ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
3995
- :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
3996
- :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
3995
+ :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
3996
+ :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
3997
3997
  :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
3998
3998
  :param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
3999
3999
  :param pulumi.Input['ValidatingAdmissionPolicyStatusArgs'] status: The status of the ValidatingAdmissionPolicy, including warnings that are useful to determine if the policy behaves in the expected way. Populated by the system. Read-only.
@@ -4009,31 +4009,31 @@ class ValidatingAdmissionPolicyArgs:
4009
4009
  if status is not None:
4010
4010
  pulumi.set(__self__, "status", status)
4011
4011
 
4012
- @property
4012
+ @_builtins.property
4013
4013
  @pulumi.getter(name="apiVersion")
4014
- def api_version(self) -> Optional[pulumi.Input[str]]:
4014
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
4015
4015
  """
4016
4016
  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
4017
4017
  """
4018
4018
  return pulumi.get(self, "api_version")
4019
4019
 
4020
4020
  @api_version.setter
4021
- def api_version(self, value: Optional[pulumi.Input[str]]):
4021
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
4022
4022
  pulumi.set(self, "api_version", value)
4023
4023
 
4024
- @property
4024
+ @_builtins.property
4025
4025
  @pulumi.getter
4026
- def kind(self) -> Optional[pulumi.Input[str]]:
4026
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
4027
4027
  """
4028
4028
  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
4029
4029
  """
4030
4030
  return pulumi.get(self, "kind")
4031
4031
 
4032
4032
  @kind.setter
4033
- def kind(self, value: Optional[pulumi.Input[str]]):
4033
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
4034
4034
  pulumi.set(self, "kind", value)
4035
4035
 
4036
- @property
4036
+ @_builtins.property
4037
4037
  @pulumi.getter
4038
4038
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
4039
4039
  """
@@ -4045,7 +4045,7 @@ class ValidatingAdmissionPolicyArgs:
4045
4045
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
4046
4046
  pulumi.set(self, "metadata", value)
4047
4047
 
4048
- @property
4048
+ @_builtins.property
4049
4049
  @pulumi.getter
4050
4050
  def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]:
4051
4051
  """
@@ -4057,7 +4057,7 @@ class ValidatingAdmissionPolicyArgs:
4057
4057
  def spec(self, value: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]):
4058
4058
  pulumi.set(self, "spec", value)
4059
4059
 
4060
- @property
4060
+ @_builtins.property
4061
4061
  @pulumi.getter
4062
4062
  def status(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']]:
4063
4063
  """
@@ -4075,11 +4075,11 @@ if not MYPY:
4075
4075
  """
4076
4076
  ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
4077
4077
  """
4078
- api_version: NotRequired[pulumi.Input[str]]
4078
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
4079
4079
  """
4080
4080
  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
4081
4081
  """
4082
- kind: NotRequired[pulumi.Input[str]]
4082
+ kind: NotRequired[pulumi.Input[_builtins.str]]
4083
4083
  """
4084
4084
  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
4085
4085
  """
@@ -4097,14 +4097,14 @@ elif False:
4097
4097
  @pulumi.input_type
4098
4098
  class ValidatingWebhookConfigurationArgs:
4099
4099
  def __init__(__self__, *,
4100
- api_version: Optional[pulumi.Input[str]] = None,
4101
- kind: Optional[pulumi.Input[str]] = None,
4100
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
4101
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
4102
4102
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
4103
4103
  webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]] = None):
4104
4104
  """
4105
4105
  ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it.
4106
- :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
4107
- :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
4106
+ :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
4107
+ :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
4108
4108
  :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
4109
4109
  :param pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
4110
4110
  """
@@ -4117,31 +4117,31 @@ class ValidatingWebhookConfigurationArgs:
4117
4117
  if webhooks is not None:
4118
4118
  pulumi.set(__self__, "webhooks", webhooks)
4119
4119
 
4120
- @property
4120
+ @_builtins.property
4121
4121
  @pulumi.getter(name="apiVersion")
4122
- def api_version(self) -> Optional[pulumi.Input[str]]:
4122
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
4123
4123
  """
4124
4124
  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
4125
4125
  """
4126
4126
  return pulumi.get(self, "api_version")
4127
4127
 
4128
4128
  @api_version.setter
4129
- def api_version(self, value: Optional[pulumi.Input[str]]):
4129
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
4130
4130
  pulumi.set(self, "api_version", value)
4131
4131
 
4132
- @property
4132
+ @_builtins.property
4133
4133
  @pulumi.getter
4134
- def kind(self) -> Optional[pulumi.Input[str]]:
4134
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
4135
4135
  """
4136
4136
  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
4137
4137
  """
4138
4138
  return pulumi.get(self, "kind")
4139
4139
 
4140
4140
  @kind.setter
4141
- def kind(self, value: Optional[pulumi.Input[str]]):
4141
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
4142
4142
  pulumi.set(self, "kind", value)
4143
4143
 
4144
- @property
4144
+ @_builtins.property
4145
4145
  @pulumi.getter
4146
4146
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
4147
4147
  """
@@ -4153,7 +4153,7 @@ class ValidatingWebhookConfigurationArgs:
4153
4153
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
4154
4154
  pulumi.set(self, "metadata", value)
4155
4155
 
4156
- @property
4156
+ @_builtins.property
4157
4157
  @pulumi.getter
4158
4158
  def webhooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]:
4159
4159
  """
@@ -4171,7 +4171,7 @@ if not MYPY:
4171
4171
  """
4172
4172
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4173
4173
  """
4174
- admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
4174
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
4175
4175
  """
4176
4176
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4177
4177
  """
@@ -4179,7 +4179,7 @@ if not MYPY:
4179
4179
  """
4180
4180
  ClientConfig defines how to communicate with the hook. Required
4181
4181
  """
4182
- failure_policy: NotRequired[pulumi.Input[str]]
4182
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
4183
4183
  """
4184
4184
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4185
4185
  """
@@ -4194,7 +4194,7 @@ if not MYPY:
4194
4194
  - If failurePolicy=Fail, reject the request
4195
4195
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
4196
4196
  """
4197
- match_policy: NotRequired[pulumi.Input[str]]
4197
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
4198
4198
  """
4199
4199
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4200
4200
 
@@ -4204,7 +4204,7 @@ if not MYPY:
4204
4204
 
4205
4205
  Defaults to "Equivalent"
4206
4206
  """
4207
- name: NotRequired[pulumi.Input[str]]
4207
+ name: NotRequired[pulumi.Input[_builtins.str]]
4208
4208
  """
4209
4209
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4210
4210
  """
@@ -4250,11 +4250,11 @@ if not MYPY:
4250
4250
  """
4251
4251
  Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
4252
4252
  """
4253
- side_effects: NotRequired[pulumi.Input[str]]
4253
+ side_effects: NotRequired[pulumi.Input[_builtins.str]]
4254
4254
  """
4255
4255
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4256
4256
  """
4257
- timeout_seconds: NotRequired[pulumi.Input[int]]
4257
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
4258
4258
  """
4259
4259
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4260
4260
  """
@@ -4264,22 +4264,22 @@ elif False:
4264
4264
  @pulumi.input_type
4265
4265
  class ValidatingWebhookPatchArgs:
4266
4266
  def __init__(__self__, *,
4267
- admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
4267
+ admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
4268
4268
  client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
4269
- failure_policy: Optional[pulumi.Input[str]] = None,
4269
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
4270
4270
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
4271
- match_policy: Optional[pulumi.Input[str]] = None,
4272
- name: Optional[pulumi.Input[str]] = None,
4271
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
4272
+ name: Optional[pulumi.Input[_builtins.str]] = None,
4273
4273
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
4274
4274
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
4275
4275
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
4276
- side_effects: Optional[pulumi.Input[str]] = None,
4277
- timeout_seconds: Optional[pulumi.Input[int]] = None):
4276
+ side_effects: Optional[pulumi.Input[_builtins.str]] = None,
4277
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
4278
4278
  """
4279
4279
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4280
- :param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4280
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4281
4281
  :param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
4282
- :param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4282
+ :param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4283
4283
  :param pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
4284
4284
 
4285
4285
  The exact matching logic is (in order):
@@ -4288,14 +4288,14 @@ class ValidatingWebhookPatchArgs:
4288
4288
  3. If any matchCondition evaluates to an error (but none are FALSE):
4289
4289
  - If failurePolicy=Fail, reject the request
4290
4290
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
4291
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4291
+ :param pulumi.Input[_builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4292
4292
 
4293
4293
  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
4294
4294
 
4295
4295
  - Equivalent: match a request if modifies a resource listed in rules, even via another API group or version. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, and "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would be converted to apps/v1 and sent to the webhook.
4296
4296
 
4297
4297
  Defaults to "Equivalent"
4298
- :param pulumi.Input[str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4298
+ :param pulumi.Input[_builtins.str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4299
4299
  :param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] namespace_selector: NamespaceSelector decides whether to run the webhook on an object based on whether the namespace for that object matches the selector. If the object itself is a namespace, the matching is performed on object.metadata.labels. If the object is another cluster scoped resource, it never skips the webhook.
4300
4300
 
4301
4301
  For example, to run the webhook on any objects whose namespace is not associated with "runlevel" of "0" or "1"; you will set the selector as follows: "namespaceSelector": {
@@ -4329,8 +4329,8 @@ class ValidatingWebhookPatchArgs:
4329
4329
  Default to the empty LabelSelector, which matches everything.
4330
4330
  :param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
4331
4331
  :param pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
4332
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4333
- :param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4332
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4333
+ :param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4334
4334
  """
4335
4335
  if admission_review_versions is not None:
4336
4336
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
@@ -4355,19 +4355,19 @@ class ValidatingWebhookPatchArgs:
4355
4355
  if timeout_seconds is not None:
4356
4356
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
4357
4357
 
4358
- @property
4358
+ @_builtins.property
4359
4359
  @pulumi.getter(name="admissionReviewVersions")
4360
- def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
4360
+ def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
4361
4361
  """
4362
4362
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4363
4363
  """
4364
4364
  return pulumi.get(self, "admission_review_versions")
4365
4365
 
4366
4366
  @admission_review_versions.setter
4367
- def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
4367
+ def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
4368
4368
  pulumi.set(self, "admission_review_versions", value)
4369
4369
 
4370
- @property
4370
+ @_builtins.property
4371
4371
  @pulumi.getter(name="clientConfig")
4372
4372
  def client_config(self) -> Optional[pulumi.Input['WebhookClientConfigPatchArgs']]:
4373
4373
  """
@@ -4379,19 +4379,19 @@ class ValidatingWebhookPatchArgs:
4379
4379
  def client_config(self, value: Optional[pulumi.Input['WebhookClientConfigPatchArgs']]):
4380
4380
  pulumi.set(self, "client_config", value)
4381
4381
 
4382
- @property
4382
+ @_builtins.property
4383
4383
  @pulumi.getter(name="failurePolicy")
4384
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
4384
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4385
4385
  """
4386
4386
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4387
4387
  """
4388
4388
  return pulumi.get(self, "failure_policy")
4389
4389
 
4390
4390
  @failure_policy.setter
4391
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
4391
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4392
4392
  pulumi.set(self, "failure_policy", value)
4393
4393
 
4394
- @property
4394
+ @_builtins.property
4395
4395
  @pulumi.getter(name="matchConditions")
4396
4396
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
4397
4397
  """
@@ -4410,9 +4410,9 @@ class ValidatingWebhookPatchArgs:
4410
4410
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
4411
4411
  pulumi.set(self, "match_conditions", value)
4412
4412
 
4413
- @property
4413
+ @_builtins.property
4414
4414
  @pulumi.getter(name="matchPolicy")
4415
- def match_policy(self) -> Optional[pulumi.Input[str]]:
4415
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4416
4416
  """
4417
4417
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4418
4418
 
@@ -4425,22 +4425,22 @@ class ValidatingWebhookPatchArgs:
4425
4425
  return pulumi.get(self, "match_policy")
4426
4426
 
4427
4427
  @match_policy.setter
4428
- def match_policy(self, value: Optional[pulumi.Input[str]]):
4428
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4429
4429
  pulumi.set(self, "match_policy", value)
4430
4430
 
4431
- @property
4431
+ @_builtins.property
4432
4432
  @pulumi.getter
4433
- def name(self) -> Optional[pulumi.Input[str]]:
4433
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
4434
4434
  """
4435
4435
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4436
4436
  """
4437
4437
  return pulumi.get(self, "name")
4438
4438
 
4439
4439
  @name.setter
4440
- def name(self, value: Optional[pulumi.Input[str]]):
4440
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
4441
4441
  pulumi.set(self, "name", value)
4442
4442
 
4443
- @property
4443
+ @_builtins.property
4444
4444
  @pulumi.getter(name="namespaceSelector")
4445
4445
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
4446
4446
  """
@@ -4482,7 +4482,7 @@ class ValidatingWebhookPatchArgs:
4482
4482
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
4483
4483
  pulumi.set(self, "namespace_selector", value)
4484
4484
 
4485
- @property
4485
+ @_builtins.property
4486
4486
  @pulumi.getter(name="objectSelector")
4487
4487
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
4488
4488
  """
@@ -4494,7 +4494,7 @@ class ValidatingWebhookPatchArgs:
4494
4494
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
4495
4495
  pulumi.set(self, "object_selector", value)
4496
4496
 
4497
- @property
4497
+ @_builtins.property
4498
4498
  @pulumi.getter
4499
4499
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]:
4500
4500
  """
@@ -4506,28 +4506,28 @@ class ValidatingWebhookPatchArgs:
4506
4506
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]):
4507
4507
  pulumi.set(self, "rules", value)
4508
4508
 
4509
- @property
4509
+ @_builtins.property
4510
4510
  @pulumi.getter(name="sideEffects")
4511
- def side_effects(self) -> Optional[pulumi.Input[str]]:
4511
+ def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
4512
4512
  """
4513
4513
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4514
4514
  """
4515
4515
  return pulumi.get(self, "side_effects")
4516
4516
 
4517
4517
  @side_effects.setter
4518
- def side_effects(self, value: Optional[pulumi.Input[str]]):
4518
+ def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
4519
4519
  pulumi.set(self, "side_effects", value)
4520
4520
 
4521
- @property
4521
+ @_builtins.property
4522
4522
  @pulumi.getter(name="timeoutSeconds")
4523
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
4523
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
4524
4524
  """
4525
4525
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4526
4526
  """
4527
4527
  return pulumi.get(self, "timeout_seconds")
4528
4528
 
4529
4529
  @timeout_seconds.setter
4530
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
4530
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
4531
4531
  pulumi.set(self, "timeout_seconds", value)
4532
4532
 
4533
4533
 
@@ -4536,7 +4536,7 @@ if not MYPY:
4536
4536
  """
4537
4537
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4538
4538
  """
4539
- admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]]
4539
+ admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]
4540
4540
  """
4541
4541
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4542
4542
  """
@@ -4544,15 +4544,15 @@ if not MYPY:
4544
4544
  """
4545
4545
  ClientConfig defines how to communicate with the hook. Required
4546
4546
  """
4547
- name: pulumi.Input[str]
4547
+ name: pulumi.Input[_builtins.str]
4548
4548
  """
4549
4549
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4550
4550
  """
4551
- side_effects: pulumi.Input[str]
4551
+ side_effects: pulumi.Input[_builtins.str]
4552
4552
  """
4553
4553
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4554
4554
  """
4555
- failure_policy: NotRequired[pulumi.Input[str]]
4555
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
4556
4556
  """
4557
4557
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4558
4558
  """
@@ -4567,7 +4567,7 @@ if not MYPY:
4567
4567
  - If failurePolicy=Fail, reject the request
4568
4568
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
4569
4569
  """
4570
- match_policy: NotRequired[pulumi.Input[str]]
4570
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
4571
4571
  """
4572
4572
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4573
4573
 
@@ -4619,7 +4619,7 @@ if not MYPY:
4619
4619
  """
4620
4620
  Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
4621
4621
  """
4622
- timeout_seconds: NotRequired[pulumi.Input[int]]
4622
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
4623
4623
  """
4624
4624
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4625
4625
  """
@@ -4629,24 +4629,24 @@ elif False:
4629
4629
  @pulumi.input_type
4630
4630
  class ValidatingWebhookArgs:
4631
4631
  def __init__(__self__, *,
4632
- admission_review_versions: pulumi.Input[Sequence[pulumi.Input[str]]],
4632
+ admission_review_versions: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]],
4633
4633
  client_config: pulumi.Input['WebhookClientConfigArgs'],
4634
- name: pulumi.Input[str],
4635
- side_effects: pulumi.Input[str],
4636
- failure_policy: Optional[pulumi.Input[str]] = None,
4634
+ name: pulumi.Input[_builtins.str],
4635
+ side_effects: pulumi.Input[_builtins.str],
4636
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
4637
4637
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
4638
- match_policy: Optional[pulumi.Input[str]] = None,
4638
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
4639
4639
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
4640
4640
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
4641
4641
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
4642
- timeout_seconds: Optional[pulumi.Input[int]] = None):
4642
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
4643
4643
  """
4644
4644
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4645
- :param pulumi.Input[Sequence[pulumi.Input[str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4645
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] admission_review_versions: AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4646
4646
  :param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
4647
- :param pulumi.Input[str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4648
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4649
- :param pulumi.Input[str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4647
+ :param pulumi.Input[_builtins.str] name: The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4648
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4649
+ :param pulumi.Input[_builtins.str] failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4650
4650
  :param pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]] match_conditions: MatchConditions is a list of conditions that must be met for a request to be sent to this webhook. Match conditions filter requests that have already been matched by the rules, namespaceSelector, and objectSelector. An empty list of matchConditions matches all requests. There are a maximum of 64 match conditions allowed.
4651
4651
 
4652
4652
  The exact matching logic is (in order):
@@ -4655,7 +4655,7 @@ class ValidatingWebhookArgs:
4655
4655
  3. If any matchCondition evaluates to an error (but none are FALSE):
4656
4656
  - If failurePolicy=Fail, reject the request
4657
4657
  - If failurePolicy=Ignore, the error is ignored and the webhook is skipped
4658
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4658
+ :param pulumi.Input[_builtins.str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4659
4659
 
4660
4660
  - Exact: match a request only if it exactly matches a specified rule. For example, if deployments can be modified via apps/v1, apps/v1beta1, and extensions/v1beta1, but "rules" only included `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]`, a request to apps/v1beta1 or extensions/v1beta1 would not be sent to the webhook.
4661
4661
 
@@ -4695,7 +4695,7 @@ class ValidatingWebhookArgs:
4695
4695
  Default to the empty LabelSelector, which matches everything.
4696
4696
  :param pulumi.Input['_meta.v1.LabelSelectorArgs'] object_selector: ObjectSelector decides whether to run the webhook based on if the object has matching labels. objectSelector is evaluated against both the oldObject and newObject that would be sent to the webhook, and is considered to match if either object matches the selector. A null object (oldObject in the case of create, or newObject in the case of delete) or an object that cannot have labels (like a DeploymentRollback or a PodProxyOptions object) is not considered to match. Use the object selector only if the webhook is opt-in, because end users may skip the admission webhook by setting the labels. Default to the empty LabelSelector, which matches everything.
4697
4697
  :param pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]] rules: Rules describes what operations on what resources/subresources the webhook cares about. The webhook cares about an operation if it matches _any_ Rule. However, in order to prevent ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks from putting the cluster in a state which cannot be recovered from without completely disabling the plugin, ValidatingAdmissionWebhooks and MutatingAdmissionWebhooks are never called on admission requests for ValidatingWebhookConfiguration and MutatingWebhookConfiguration objects.
4698
- :param pulumi.Input[int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4698
+ :param pulumi.Input[_builtins.int] timeout_seconds: TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4699
4699
  """
4700
4700
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
4701
4701
  pulumi.set(__self__, "client_config", client_config)
@@ -4716,19 +4716,19 @@ class ValidatingWebhookArgs:
4716
4716
  if timeout_seconds is not None:
4717
4717
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
4718
4718
 
4719
- @property
4719
+ @_builtins.property
4720
4720
  @pulumi.getter(name="admissionReviewVersions")
4721
- def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
4721
+ def admission_review_versions(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]:
4722
4722
  """
4723
4723
  AdmissionReviewVersions is an ordered list of preferred `AdmissionReview` versions the Webhook expects. API server will try to use first version in the list which it supports. If none of the versions specified in this list supported by API server, validation will fail for this object. If a persisted webhook configuration specifies allowed versions and does not include any versions known to the API Server, calls to the webhook will fail and be subject to the failure policy.
4724
4724
  """
4725
4725
  return pulumi.get(self, "admission_review_versions")
4726
4726
 
4727
4727
  @admission_review_versions.setter
4728
- def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
4728
+ def admission_review_versions(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]):
4729
4729
  pulumi.set(self, "admission_review_versions", value)
4730
4730
 
4731
- @property
4731
+ @_builtins.property
4732
4732
  @pulumi.getter(name="clientConfig")
4733
4733
  def client_config(self) -> pulumi.Input['WebhookClientConfigArgs']:
4734
4734
  """
@@ -4740,43 +4740,43 @@ class ValidatingWebhookArgs:
4740
4740
  def client_config(self, value: pulumi.Input['WebhookClientConfigArgs']):
4741
4741
  pulumi.set(self, "client_config", value)
4742
4742
 
4743
- @property
4743
+ @_builtins.property
4744
4744
  @pulumi.getter
4745
- def name(self) -> pulumi.Input[str]:
4745
+ def name(self) -> pulumi.Input[_builtins.str]:
4746
4746
  """
4747
4747
  The name of the admission webhook. Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where "imagepolicy" is the name of the webhook, and kubernetes.io is the name of the organization. Required.
4748
4748
  """
4749
4749
  return pulumi.get(self, "name")
4750
4750
 
4751
4751
  @name.setter
4752
- def name(self, value: pulumi.Input[str]):
4752
+ def name(self, value: pulumi.Input[_builtins.str]):
4753
4753
  pulumi.set(self, "name", value)
4754
4754
 
4755
- @property
4755
+ @_builtins.property
4756
4756
  @pulumi.getter(name="sideEffects")
4757
- def side_effects(self) -> pulumi.Input[str]:
4757
+ def side_effects(self) -> pulumi.Input[_builtins.str]:
4758
4758
  """
4759
4759
  SideEffects states whether this webhook has side effects. Acceptable values are: None, NoneOnDryRun (webhooks created via v1beta1 may also specify Some or Unknown). Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission chain and the side effects therefore need to be undone. Requests with the dryRun attribute will be auto-rejected if they match a webhook with sideEffects == Unknown or Some.
4760
4760
  """
4761
4761
  return pulumi.get(self, "side_effects")
4762
4762
 
4763
4763
  @side_effects.setter
4764
- def side_effects(self, value: pulumi.Input[str]):
4764
+ def side_effects(self, value: pulumi.Input[_builtins.str]):
4765
4765
  pulumi.set(self, "side_effects", value)
4766
4766
 
4767
- @property
4767
+ @_builtins.property
4768
4768
  @pulumi.getter(name="failurePolicy")
4769
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
4769
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4770
4770
  """
4771
4771
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Fail.
4772
4772
  """
4773
4773
  return pulumi.get(self, "failure_policy")
4774
4774
 
4775
4775
  @failure_policy.setter
4776
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
4776
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4777
4777
  pulumi.set(self, "failure_policy", value)
4778
4778
 
4779
- @property
4779
+ @_builtins.property
4780
4780
  @pulumi.getter(name="matchConditions")
4781
4781
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
4782
4782
  """
@@ -4795,9 +4795,9 @@ class ValidatingWebhookArgs:
4795
4795
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
4796
4796
  pulumi.set(self, "match_conditions", value)
4797
4797
 
4798
- @property
4798
+ @_builtins.property
4799
4799
  @pulumi.getter(name="matchPolicy")
4800
- def match_policy(self) -> Optional[pulumi.Input[str]]:
4800
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4801
4801
  """
4802
4802
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4803
4803
 
@@ -4810,10 +4810,10 @@ class ValidatingWebhookArgs:
4810
4810
  return pulumi.get(self, "match_policy")
4811
4811
 
4812
4812
  @match_policy.setter
4813
- def match_policy(self, value: Optional[pulumi.Input[str]]):
4813
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4814
4814
  pulumi.set(self, "match_policy", value)
4815
4815
 
4816
- @property
4816
+ @_builtins.property
4817
4817
  @pulumi.getter(name="namespaceSelector")
4818
4818
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
4819
4819
  """
@@ -4855,7 +4855,7 @@ class ValidatingWebhookArgs:
4855
4855
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
4856
4856
  pulumi.set(self, "namespace_selector", value)
4857
4857
 
4858
- @property
4858
+ @_builtins.property
4859
4859
  @pulumi.getter(name="objectSelector")
4860
4860
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
4861
4861
  """
@@ -4867,7 +4867,7 @@ class ValidatingWebhookArgs:
4867
4867
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
4868
4868
  pulumi.set(self, "object_selector", value)
4869
4869
 
4870
- @property
4870
+ @_builtins.property
4871
4871
  @pulumi.getter
4872
4872
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]:
4873
4873
  """
@@ -4879,16 +4879,16 @@ class ValidatingWebhookArgs:
4879
4879
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]):
4880
4880
  pulumi.set(self, "rules", value)
4881
4881
 
4882
- @property
4882
+ @_builtins.property
4883
4883
  @pulumi.getter(name="timeoutSeconds")
4884
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
4884
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
4885
4885
  """
4886
4886
  TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 10 seconds.
4887
4887
  """
4888
4888
  return pulumi.get(self, "timeout_seconds")
4889
4889
 
4890
4890
  @timeout_seconds.setter
4891
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
4891
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
4892
4892
  pulumi.set(self, "timeout_seconds", value)
4893
4893
 
4894
4894
 
@@ -4897,7 +4897,7 @@ if not MYPY:
4897
4897
  """
4898
4898
  Validation specifies the CEL expression which is used to apply the validation.
4899
4899
  """
4900
- expression: NotRequired[pulumi.Input[str]]
4900
+ expression: NotRequired[pulumi.Input[_builtins.str]]
4901
4901
  """
4902
4902
  Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
4903
4903
 
@@ -4926,15 +4926,15 @@ if not MYPY:
4926
4926
  non-intersecting keys are appended, retaining their partial order.
4927
4927
  Required.
4928
4928
  """
4929
- message: NotRequired[pulumi.Input[str]]
4929
+ message: NotRequired[pulumi.Input[_builtins.str]]
4930
4930
  """
4931
4931
  Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
4932
4932
  """
4933
- message_expression: NotRequired[pulumi.Input[str]]
4933
+ message_expression: NotRequired[pulumi.Input[_builtins.str]]
4934
4934
  """
4935
4935
  messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
4936
4936
  """
4937
- reason: NotRequired[pulumi.Input[str]]
4937
+ reason: NotRequired[pulumi.Input[_builtins.str]]
4938
4938
  """
4939
4939
  Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
4940
4940
  """
@@ -4944,13 +4944,13 @@ elif False:
4944
4944
  @pulumi.input_type
4945
4945
  class ValidationPatchArgs:
4946
4946
  def __init__(__self__, *,
4947
- expression: Optional[pulumi.Input[str]] = None,
4948
- message: Optional[pulumi.Input[str]] = None,
4949
- message_expression: Optional[pulumi.Input[str]] = None,
4950
- reason: Optional[pulumi.Input[str]] = None):
4947
+ expression: Optional[pulumi.Input[_builtins.str]] = None,
4948
+ message: Optional[pulumi.Input[_builtins.str]] = None,
4949
+ message_expression: Optional[pulumi.Input[_builtins.str]] = None,
4950
+ reason: Optional[pulumi.Input[_builtins.str]] = None):
4951
4951
  """
4952
4952
  Validation specifies the CEL expression which is used to apply the validation.
4953
- :param pulumi.Input[str] expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
4953
+ :param pulumi.Input[_builtins.str] expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
4954
4954
 
4955
4955
  - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
4956
4956
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
@@ -4976,9 +4976,9 @@ class ValidationPatchArgs:
4976
4976
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
4977
4977
  non-intersecting keys are appended, retaining their partial order.
4978
4978
  Required.
4979
- :param pulumi.Input[str] message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
4980
- :param pulumi.Input[str] message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
4981
- :param pulumi.Input[str] reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
4979
+ :param pulumi.Input[_builtins.str] message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
4980
+ :param pulumi.Input[_builtins.str] message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
4981
+ :param pulumi.Input[_builtins.str] reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
4982
4982
  """
4983
4983
  if expression is not None:
4984
4984
  pulumi.set(__self__, "expression", expression)
@@ -4989,9 +4989,9 @@ class ValidationPatchArgs:
4989
4989
  if reason is not None:
4990
4990
  pulumi.set(__self__, "reason", reason)
4991
4991
 
4992
- @property
4992
+ @_builtins.property
4993
4993
  @pulumi.getter
4994
- def expression(self) -> Optional[pulumi.Input[str]]:
4994
+ def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
4995
4995
  """
4996
4996
  Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
4997
4997
 
@@ -5023,43 +5023,43 @@ class ValidationPatchArgs:
5023
5023
  return pulumi.get(self, "expression")
5024
5024
 
5025
5025
  @expression.setter
5026
- def expression(self, value: Optional[pulumi.Input[str]]):
5026
+ def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
5027
5027
  pulumi.set(self, "expression", value)
5028
5028
 
5029
- @property
5029
+ @_builtins.property
5030
5030
  @pulumi.getter
5031
- def message(self) -> Optional[pulumi.Input[str]]:
5031
+ def message(self) -> Optional[pulumi.Input[_builtins.str]]:
5032
5032
  """
5033
5033
  Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
5034
5034
  """
5035
5035
  return pulumi.get(self, "message")
5036
5036
 
5037
5037
  @message.setter
5038
- def message(self, value: Optional[pulumi.Input[str]]):
5038
+ def message(self, value: Optional[pulumi.Input[_builtins.str]]):
5039
5039
  pulumi.set(self, "message", value)
5040
5040
 
5041
- @property
5041
+ @_builtins.property
5042
5042
  @pulumi.getter(name="messageExpression")
5043
- def message_expression(self) -> Optional[pulumi.Input[str]]:
5043
+ def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
5044
5044
  """
5045
5045
  messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
5046
5046
  """
5047
5047
  return pulumi.get(self, "message_expression")
5048
5048
 
5049
5049
  @message_expression.setter
5050
- def message_expression(self, value: Optional[pulumi.Input[str]]):
5050
+ def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
5051
5051
  pulumi.set(self, "message_expression", value)
5052
5052
 
5053
- @property
5053
+ @_builtins.property
5054
5054
  @pulumi.getter
5055
- def reason(self) -> Optional[pulumi.Input[str]]:
5055
+ def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
5056
5056
  """
5057
5057
  Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
5058
5058
  """
5059
5059
  return pulumi.get(self, "reason")
5060
5060
 
5061
5061
  @reason.setter
5062
- def reason(self, value: Optional[pulumi.Input[str]]):
5062
+ def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
5063
5063
  pulumi.set(self, "reason", value)
5064
5064
 
5065
5065
 
@@ -5068,7 +5068,7 @@ if not MYPY:
5068
5068
  """
5069
5069
  Validation specifies the CEL expression which is used to apply the validation.
5070
5070
  """
5071
- expression: pulumi.Input[str]
5071
+ expression: pulumi.Input[_builtins.str]
5072
5072
  """
5073
5073
  Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
5074
5074
 
@@ -5097,15 +5097,15 @@ if not MYPY:
5097
5097
  non-intersecting keys are appended, retaining their partial order.
5098
5098
  Required.
5099
5099
  """
5100
- message: NotRequired[pulumi.Input[str]]
5100
+ message: NotRequired[pulumi.Input[_builtins.str]]
5101
5101
  """
5102
5102
  Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
5103
5103
  """
5104
- message_expression: NotRequired[pulumi.Input[str]]
5104
+ message_expression: NotRequired[pulumi.Input[_builtins.str]]
5105
5105
  """
5106
5106
  messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
5107
5107
  """
5108
- reason: NotRequired[pulumi.Input[str]]
5108
+ reason: NotRequired[pulumi.Input[_builtins.str]]
5109
5109
  """
5110
5110
  Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
5111
5111
  """
@@ -5115,13 +5115,13 @@ elif False:
5115
5115
  @pulumi.input_type
5116
5116
  class ValidationArgs:
5117
5117
  def __init__(__self__, *,
5118
- expression: pulumi.Input[str],
5119
- message: Optional[pulumi.Input[str]] = None,
5120
- message_expression: Optional[pulumi.Input[str]] = None,
5121
- reason: Optional[pulumi.Input[str]] = None):
5118
+ expression: pulumi.Input[_builtins.str],
5119
+ message: Optional[pulumi.Input[_builtins.str]] = None,
5120
+ message_expression: Optional[pulumi.Input[_builtins.str]] = None,
5121
+ reason: Optional[pulumi.Input[_builtins.str]] = None):
5122
5122
  """
5123
5123
  Validation specifies the CEL expression which is used to apply the validation.
5124
- :param pulumi.Input[str] expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
5124
+ :param pulumi.Input[_builtins.str] expression: Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
5125
5125
 
5126
5126
  - 'object' - The object from the incoming request. The value is null for DELETE requests. - 'oldObject' - The existing object. The value is null for CREATE requests. - 'request' - Attributes of the API request([ref](/pkg/apis/admission/types.go#AdmissionRequest)). - 'params' - Parameter resource referred to by the policy binding being evaluated. Only populated if the policy has a ParamKind. - 'namespaceObject' - The namespace object that the incoming object belongs to. The value is null for cluster-scoped resources. - 'variables' - Map of composited variables, from its name to its lazily evaluated value.
5127
5127
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
@@ -5147,9 +5147,9 @@ class ValidationArgs:
5147
5147
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
5148
5148
  non-intersecting keys are appended, retaining their partial order.
5149
5149
  Required.
5150
- :param pulumi.Input[str] message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
5151
- :param pulumi.Input[str] message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
5152
- :param pulumi.Input[str] reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
5150
+ :param pulumi.Input[_builtins.str] message: Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
5151
+ :param pulumi.Input[_builtins.str] message_expression: messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
5152
+ :param pulumi.Input[_builtins.str] reason: Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
5153
5153
  """
5154
5154
  pulumi.set(__self__, "expression", expression)
5155
5155
  if message is not None:
@@ -5159,9 +5159,9 @@ class ValidationArgs:
5159
5159
  if reason is not None:
5160
5160
  pulumi.set(__self__, "reason", reason)
5161
5161
 
5162
- @property
5162
+ @_builtins.property
5163
5163
  @pulumi.getter
5164
- def expression(self) -> pulumi.Input[str]:
5164
+ def expression(self) -> pulumi.Input[_builtins.str]:
5165
5165
  """
5166
5166
  Expression represents the expression which will be evaluated by CEL. ref: https://github.com/google/cel-spec CEL expressions have access to the contents of the API request/response, organized into CEL variables as well as some other useful variables:
5167
5167
 
@@ -5193,43 +5193,43 @@ class ValidationArgs:
5193
5193
  return pulumi.get(self, "expression")
5194
5194
 
5195
5195
  @expression.setter
5196
- def expression(self, value: pulumi.Input[str]):
5196
+ def expression(self, value: pulumi.Input[_builtins.str]):
5197
5197
  pulumi.set(self, "expression", value)
5198
5198
 
5199
- @property
5199
+ @_builtins.property
5200
5200
  @pulumi.getter
5201
- def message(self) -> Optional[pulumi.Input[str]]:
5201
+ def message(self) -> Optional[pulumi.Input[_builtins.str]]:
5202
5202
  """
5203
5203
  Message represents the message displayed when validation fails. The message is required if the Expression contains line breaks. The message must not contain line breaks. If unset, the message is "failed rule: {Rule}". e.g. "must be a URL with the host matching spec.host" If the Expression contains line breaks. Message is required. The message must not contain line breaks. If unset, the message is "failed Expression: {Expression}".
5204
5204
  """
5205
5205
  return pulumi.get(self, "message")
5206
5206
 
5207
5207
  @message.setter
5208
- def message(self, value: Optional[pulumi.Input[str]]):
5208
+ def message(self, value: Optional[pulumi.Input[_builtins.str]]):
5209
5209
  pulumi.set(self, "message", value)
5210
5210
 
5211
- @property
5211
+ @_builtins.property
5212
5212
  @pulumi.getter(name="messageExpression")
5213
- def message_expression(self) -> Optional[pulumi.Input[str]]:
5213
+ def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
5214
5214
  """
5215
5215
  messageExpression declares a CEL expression that evaluates to the validation failure message that is returned when this rule fails. Since messageExpression is used as a failure message, it must evaluate to a string. If both message and messageExpression are present on a validation, then messageExpression will be used if validation fails. If messageExpression results in a runtime error, the runtime error is logged, and the validation failure message is produced as if the messageExpression field were unset. If messageExpression evaluates to an empty string, a string with only spaces, or a string that contains line breaks, then the validation failure message will also be produced as if the messageExpression field were unset, and the fact that messageExpression produced an empty string/string with only spaces/string with line breaks will be logged. messageExpression has access to all the same variables as the `expression` except for 'authorizer' and 'authorizer.requestResource'. Example: "object.x must be less than max ("+string(params.max)+")"
5216
5216
  """
5217
5217
  return pulumi.get(self, "message_expression")
5218
5218
 
5219
5219
  @message_expression.setter
5220
- def message_expression(self, value: Optional[pulumi.Input[str]]):
5220
+ def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
5221
5221
  pulumi.set(self, "message_expression", value)
5222
5222
 
5223
- @property
5223
+ @_builtins.property
5224
5224
  @pulumi.getter
5225
- def reason(self) -> Optional[pulumi.Input[str]]:
5225
+ def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
5226
5226
  """
5227
5227
  Reason represents a machine-readable description of why this validation failed. If this is the first validation in the list to fail, this reason, as well as the corresponding HTTP response code, are used in the HTTP response to the client. The currently supported reasons are: "Unauthorized", "Forbidden", "Invalid", "RequestEntityTooLarge". If not set, StatusReasonInvalid is used in the response to the client.
5228
5228
  """
5229
5229
  return pulumi.get(self, "reason")
5230
5230
 
5231
5231
  @reason.setter
5232
- def reason(self, value: Optional[pulumi.Input[str]]):
5232
+ def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
5233
5233
  pulumi.set(self, "reason", value)
5234
5234
 
5235
5235
 
@@ -5238,11 +5238,11 @@ if not MYPY:
5238
5238
  """
5239
5239
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5240
5240
  """
5241
- expression: NotRequired[pulumi.Input[str]]
5241
+ expression: NotRequired[pulumi.Input[_builtins.str]]
5242
5242
  """
5243
5243
  Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5244
5244
  """
5245
- name: NotRequired[pulumi.Input[str]]
5245
+ name: NotRequired[pulumi.Input[_builtins.str]]
5246
5246
  """
5247
5247
  Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5248
5248
  """
@@ -5252,40 +5252,40 @@ elif False:
5252
5252
  @pulumi.input_type
5253
5253
  class VariablePatchArgs:
5254
5254
  def __init__(__self__, *,
5255
- expression: Optional[pulumi.Input[str]] = None,
5256
- name: Optional[pulumi.Input[str]] = None):
5255
+ expression: Optional[pulumi.Input[_builtins.str]] = None,
5256
+ name: Optional[pulumi.Input[_builtins.str]] = None):
5257
5257
  """
5258
5258
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5259
- :param pulumi.Input[str] expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5260
- :param pulumi.Input[str] name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5259
+ :param pulumi.Input[_builtins.str] expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5260
+ :param pulumi.Input[_builtins.str] name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5261
5261
  """
5262
5262
  if expression is not None:
5263
5263
  pulumi.set(__self__, "expression", expression)
5264
5264
  if name is not None:
5265
5265
  pulumi.set(__self__, "name", name)
5266
5266
 
5267
- @property
5267
+ @_builtins.property
5268
5268
  @pulumi.getter
5269
- def expression(self) -> Optional[pulumi.Input[str]]:
5269
+ def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
5270
5270
  """
5271
5271
  Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5272
5272
  """
5273
5273
  return pulumi.get(self, "expression")
5274
5274
 
5275
5275
  @expression.setter
5276
- def expression(self, value: Optional[pulumi.Input[str]]):
5276
+ def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
5277
5277
  pulumi.set(self, "expression", value)
5278
5278
 
5279
- @property
5279
+ @_builtins.property
5280
5280
  @pulumi.getter
5281
- def name(self) -> Optional[pulumi.Input[str]]:
5281
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
5282
5282
  """
5283
5283
  Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5284
5284
  """
5285
5285
  return pulumi.get(self, "name")
5286
5286
 
5287
5287
  @name.setter
5288
- def name(self, value: Optional[pulumi.Input[str]]):
5288
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
5289
5289
  pulumi.set(self, "name", value)
5290
5290
 
5291
5291
 
@@ -5294,11 +5294,11 @@ if not MYPY:
5294
5294
  """
5295
5295
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5296
5296
  """
5297
- expression: pulumi.Input[str]
5297
+ expression: pulumi.Input[_builtins.str]
5298
5298
  """
5299
5299
  Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5300
5300
  """
5301
- name: pulumi.Input[str]
5301
+ name: pulumi.Input[_builtins.str]
5302
5302
  """
5303
5303
  Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5304
5304
  """
@@ -5308,38 +5308,38 @@ elif False:
5308
5308
  @pulumi.input_type
5309
5309
  class VariableArgs:
5310
5310
  def __init__(__self__, *,
5311
- expression: pulumi.Input[str],
5312
- name: pulumi.Input[str]):
5311
+ expression: pulumi.Input[_builtins.str],
5312
+ name: pulumi.Input[_builtins.str]):
5313
5313
  """
5314
5314
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5315
- :param pulumi.Input[str] expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5316
- :param pulumi.Input[str] name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5315
+ :param pulumi.Input[_builtins.str] expression: Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5316
+ :param pulumi.Input[_builtins.str] name: Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5317
5317
  """
5318
5318
  pulumi.set(__self__, "expression", expression)
5319
5319
  pulumi.set(__self__, "name", name)
5320
5320
 
5321
- @property
5321
+ @_builtins.property
5322
5322
  @pulumi.getter
5323
- def expression(self) -> pulumi.Input[str]:
5323
+ def expression(self) -> pulumi.Input[_builtins.str]:
5324
5324
  """
5325
5325
  Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
5326
5326
  """
5327
5327
  return pulumi.get(self, "expression")
5328
5328
 
5329
5329
  @expression.setter
5330
- def expression(self, value: pulumi.Input[str]):
5330
+ def expression(self, value: pulumi.Input[_builtins.str]):
5331
5331
  pulumi.set(self, "expression", value)
5332
5332
 
5333
- @property
5333
+ @_builtins.property
5334
5334
  @pulumi.getter
5335
- def name(self) -> pulumi.Input[str]:
5335
+ def name(self) -> pulumi.Input[_builtins.str]:
5336
5336
  """
5337
5337
  Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is "foo", the variable will be available as `variables.foo`
5338
5338
  """
5339
5339
  return pulumi.get(self, "name")
5340
5340
 
5341
5341
  @name.setter
5342
- def name(self, value: pulumi.Input[str]):
5342
+ def name(self, value: pulumi.Input[_builtins.str]):
5343
5343
  pulumi.set(self, "name", value)
5344
5344
 
5345
5345
 
@@ -5348,7 +5348,7 @@ if not MYPY:
5348
5348
  """
5349
5349
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5350
5350
  """
5351
- ca_bundle: NotRequired[pulumi.Input[str]]
5351
+ ca_bundle: NotRequired[pulumi.Input[_builtins.str]]
5352
5352
  """
5353
5353
  `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5354
5354
  """
@@ -5358,7 +5358,7 @@ if not MYPY:
5358
5358
 
5359
5359
  If the webhook is running within the cluster, then you should use `service`.
5360
5360
  """
5361
- url: NotRequired[pulumi.Input[str]]
5361
+ url: NotRequired[pulumi.Input[_builtins.str]]
5362
5362
  """
5363
5363
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5364
5364
 
@@ -5378,16 +5378,16 @@ elif False:
5378
5378
  @pulumi.input_type
5379
5379
  class WebhookClientConfigPatchArgs:
5380
5380
  def __init__(__self__, *,
5381
- ca_bundle: Optional[pulumi.Input[str]] = None,
5381
+ ca_bundle: Optional[pulumi.Input[_builtins.str]] = None,
5382
5382
  service: Optional[pulumi.Input['ServiceReferencePatchArgs']] = None,
5383
- url: Optional[pulumi.Input[str]] = None):
5383
+ url: Optional[pulumi.Input[_builtins.str]] = None):
5384
5384
  """
5385
5385
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5386
- :param pulumi.Input[str] ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5386
+ :param pulumi.Input[_builtins.str] ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5387
5387
  :param pulumi.Input['ServiceReferencePatchArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
5388
5388
 
5389
5389
  If the webhook is running within the cluster, then you should use `service`.
5390
- :param pulumi.Input[str] url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5390
+ :param pulumi.Input[_builtins.str] url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5391
5391
 
5392
5392
  The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
5393
5393
 
@@ -5406,19 +5406,19 @@ class WebhookClientConfigPatchArgs:
5406
5406
  if url is not None:
5407
5407
  pulumi.set(__self__, "url", url)
5408
5408
 
5409
- @property
5409
+ @_builtins.property
5410
5410
  @pulumi.getter(name="caBundle")
5411
- def ca_bundle(self) -> Optional[pulumi.Input[str]]:
5411
+ def ca_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
5412
5412
  """
5413
5413
  `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5414
5414
  """
5415
5415
  return pulumi.get(self, "ca_bundle")
5416
5416
 
5417
5417
  @ca_bundle.setter
5418
- def ca_bundle(self, value: Optional[pulumi.Input[str]]):
5418
+ def ca_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
5419
5419
  pulumi.set(self, "ca_bundle", value)
5420
5420
 
5421
- @property
5421
+ @_builtins.property
5422
5422
  @pulumi.getter
5423
5423
  def service(self) -> Optional[pulumi.Input['ServiceReferencePatchArgs']]:
5424
5424
  """
@@ -5432,9 +5432,9 @@ class WebhookClientConfigPatchArgs:
5432
5432
  def service(self, value: Optional[pulumi.Input['ServiceReferencePatchArgs']]):
5433
5433
  pulumi.set(self, "service", value)
5434
5434
 
5435
- @property
5435
+ @_builtins.property
5436
5436
  @pulumi.getter
5437
- def url(self) -> Optional[pulumi.Input[str]]:
5437
+ def url(self) -> Optional[pulumi.Input[_builtins.str]]:
5438
5438
  """
5439
5439
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5440
5440
 
@@ -5451,7 +5451,7 @@ class WebhookClientConfigPatchArgs:
5451
5451
  return pulumi.get(self, "url")
5452
5452
 
5453
5453
  @url.setter
5454
- def url(self, value: Optional[pulumi.Input[str]]):
5454
+ def url(self, value: Optional[pulumi.Input[_builtins.str]]):
5455
5455
  pulumi.set(self, "url", value)
5456
5456
 
5457
5457
 
@@ -5460,7 +5460,7 @@ if not MYPY:
5460
5460
  """
5461
5461
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5462
5462
  """
5463
- ca_bundle: NotRequired[pulumi.Input[str]]
5463
+ ca_bundle: NotRequired[pulumi.Input[_builtins.str]]
5464
5464
  """
5465
5465
  `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5466
5466
  """
@@ -5470,7 +5470,7 @@ if not MYPY:
5470
5470
 
5471
5471
  If the webhook is running within the cluster, then you should use `service`.
5472
5472
  """
5473
- url: NotRequired[pulumi.Input[str]]
5473
+ url: NotRequired[pulumi.Input[_builtins.str]]
5474
5474
  """
5475
5475
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5476
5476
 
@@ -5490,16 +5490,16 @@ elif False:
5490
5490
  @pulumi.input_type
5491
5491
  class WebhookClientConfigArgs:
5492
5492
  def __init__(__self__, *,
5493
- ca_bundle: Optional[pulumi.Input[str]] = None,
5493
+ ca_bundle: Optional[pulumi.Input[_builtins.str]] = None,
5494
5494
  service: Optional[pulumi.Input['ServiceReferenceArgs']] = None,
5495
- url: Optional[pulumi.Input[str]] = None):
5495
+ url: Optional[pulumi.Input[_builtins.str]] = None):
5496
5496
  """
5497
5497
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5498
- :param pulumi.Input[str] ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5498
+ :param pulumi.Input[_builtins.str] ca_bundle: `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5499
5499
  :param pulumi.Input['ServiceReferenceArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
5500
5500
 
5501
5501
  If the webhook is running within the cluster, then you should use `service`.
5502
- :param pulumi.Input[str] url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5502
+ :param pulumi.Input[_builtins.str] url: `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5503
5503
 
5504
5504
  The `host` should not refer to a service running in the cluster; use the `service` field instead. The host might be resolved via external DNS in some apiservers (e.g., `kube-apiserver` cannot resolve in-cluster DNS as that would be a layering violation). `host` may also be an IP address.
5505
5505
 
@@ -5518,19 +5518,19 @@ class WebhookClientConfigArgs:
5518
5518
  if url is not None:
5519
5519
  pulumi.set(__self__, "url", url)
5520
5520
 
5521
- @property
5521
+ @_builtins.property
5522
5522
  @pulumi.getter(name="caBundle")
5523
- def ca_bundle(self) -> Optional[pulumi.Input[str]]:
5523
+ def ca_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
5524
5524
  """
5525
5525
  `caBundle` is a PEM encoded CA bundle which will be used to validate the webhook's server certificate. If unspecified, system trust roots on the apiserver are used.
5526
5526
  """
5527
5527
  return pulumi.get(self, "ca_bundle")
5528
5528
 
5529
5529
  @ca_bundle.setter
5530
- def ca_bundle(self, value: Optional[pulumi.Input[str]]):
5530
+ def ca_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
5531
5531
  pulumi.set(self, "ca_bundle", value)
5532
5532
 
5533
- @property
5533
+ @_builtins.property
5534
5534
  @pulumi.getter
5535
5535
  def service(self) -> Optional[pulumi.Input['ServiceReferenceArgs']]:
5536
5536
  """
@@ -5544,9 +5544,9 @@ class WebhookClientConfigArgs:
5544
5544
  def service(self, value: Optional[pulumi.Input['ServiceReferenceArgs']]):
5545
5545
  pulumi.set(self, "service", value)
5546
5546
 
5547
- @property
5547
+ @_builtins.property
5548
5548
  @pulumi.getter
5549
- def url(self) -> Optional[pulumi.Input[str]]:
5549
+ def url(self) -> Optional[pulumi.Input[_builtins.str]]:
5550
5550
  """
5551
5551
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5552
5552
 
@@ -5563,7 +5563,7 @@ class WebhookClientConfigArgs:
5563
5563
  return pulumi.get(self, "url")
5564
5564
 
5565
5565
  @url.setter
5566
- def url(self, value: Optional[pulumi.Input[str]]):
5566
+ def url(self, value: Optional[pulumi.Input[_builtins.str]]):
5567
5567
  pulumi.set(self, "url", value)
5568
5568
 
5569
5569