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 be 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 be 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 be 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 be 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. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
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. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration instead.
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. Default to `['v1beta1']`.
1043
1043
  """
@@ -1045,11 +1045,11 @@ 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 Ignore.
1051
1051
  """
1052
- match_policy: NotRequired[pulumi.Input[str]]
1052
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
1053
1053
  """
1054
1054
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1055
1055
 
@@ -1059,7 +1059,7 @@ if not MYPY:
1059
1059
 
1060
1060
  Defaults to "Exact"
1061
1061
  """
1062
- name: NotRequired[pulumi.Input[str]]
1062
+ name: NotRequired[pulumi.Input[_builtins.str]]
1063
1063
  """
1064
1064
  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.
1065
1065
  """
@@ -1101,7 +1101,7 @@ if not MYPY:
1101
1101
  """
1102
1102
  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.
1103
1103
  """
1104
- reinvocation_policy: NotRequired[pulumi.Input[str]]
1104
+ reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
1105
1105
  """
1106
1106
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1107
1107
 
@@ -1115,11 +1115,11 @@ if not MYPY:
1115
1115
  """
1116
1116
  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.
1117
1117
  """
1118
- side_effects: NotRequired[pulumi.Input[str]]
1118
+ side_effects: NotRequired[pulumi.Input[_builtins.str]]
1119
1119
  """
1120
1120
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1121
1121
  """
1122
- timeout_seconds: NotRequired[pulumi.Input[int]]
1122
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
1123
1123
  """
1124
1124
  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 30 seconds.
1125
1125
  """
@@ -1129,30 +1129,30 @@ elif False:
1129
1129
  @pulumi.input_type
1130
1130
  class MutatingWebhookPatchArgs:
1131
1131
  def __init__(__self__, *,
1132
- admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1132
+ admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1133
1133
  client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
1134
- failure_policy: Optional[pulumi.Input[str]] = None,
1135
- match_policy: Optional[pulumi.Input[str]] = None,
1136
- name: Optional[pulumi.Input[str]] = None,
1134
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
1135
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
1136
+ name: Optional[pulumi.Input[_builtins.str]] = None,
1137
1137
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
1138
1138
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
1139
- reinvocation_policy: Optional[pulumi.Input[str]] = None,
1139
+ reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
1140
1140
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
1141
- side_effects: Optional[pulumi.Input[str]] = None,
1142
- timeout_seconds: Optional[pulumi.Input[int]] = None):
1141
+ side_effects: Optional[pulumi.Input[_builtins.str]] = None,
1142
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
1143
1143
  """
1144
1144
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1145
- :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. Default to `['v1beta1']`.
1145
+ :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. Default to `['v1beta1']`.
1146
1146
  :param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
1147
- :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 Ignore.
1148
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1147
+ :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 Ignore.
1148
+ :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".
1149
1149
 
1150
1150
  - 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.
1151
1151
 
1152
1152
  - 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.
1153
1153
 
1154
1154
  Defaults to "Exact"
1155
- :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.
1155
+ :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.
1156
1156
  :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.
1157
1157
 
1158
1158
  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": {
@@ -1185,7 +1185,7 @@ class MutatingWebhookPatchArgs:
1185
1185
 
1186
1186
  Default to the empty LabelSelector, which matches everything.
1187
1187
  :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.
1188
- :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".
1188
+ :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".
1189
1189
 
1190
1190
  Never: the webhook will not be called more than once in a single admission evaluation.
1191
1191
 
@@ -1193,8 +1193,8 @@ class MutatingWebhookPatchArgs:
1193
1193
 
1194
1194
  Defaults to "Never".
1195
1195
  :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.
1196
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1197
- :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 30 seconds.
1196
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1197
+ :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 30 seconds.
1198
1198
  """
1199
1199
  if admission_review_versions is not None:
1200
1200
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
@@ -1219,19 +1219,19 @@ class MutatingWebhookPatchArgs:
1219
1219
  if timeout_seconds is not None:
1220
1220
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1221
1221
 
1222
- @property
1222
+ @_builtins.property
1223
1223
  @pulumi.getter(name="admissionReviewVersions")
1224
- def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1224
+ def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1225
1225
  """
1226
1226
  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. Default to `['v1beta1']`.
1227
1227
  """
1228
1228
  return pulumi.get(self, "admission_review_versions")
1229
1229
 
1230
1230
  @admission_review_versions.setter
1231
- def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1231
+ def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1232
1232
  pulumi.set(self, "admission_review_versions", value)
1233
1233
 
1234
- @property
1234
+ @_builtins.property
1235
1235
  @pulumi.getter(name="clientConfig")
1236
1236
  def client_config(self) -> Optional[pulumi.Input['WebhookClientConfigPatchArgs']]:
1237
1237
  """
@@ -1243,21 +1243,21 @@ class MutatingWebhookPatchArgs:
1243
1243
  def client_config(self, value: Optional[pulumi.Input['WebhookClientConfigPatchArgs']]):
1244
1244
  pulumi.set(self, "client_config", value)
1245
1245
 
1246
- @property
1246
+ @_builtins.property
1247
1247
  @pulumi.getter(name="failurePolicy")
1248
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
1248
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1249
1249
  """
1250
1250
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
1251
1251
  """
1252
1252
  return pulumi.get(self, "failure_policy")
1253
1253
 
1254
1254
  @failure_policy.setter
1255
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
1255
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1256
1256
  pulumi.set(self, "failure_policy", value)
1257
1257
 
1258
- @property
1258
+ @_builtins.property
1259
1259
  @pulumi.getter(name="matchPolicy")
1260
- def match_policy(self) -> Optional[pulumi.Input[str]]:
1260
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1261
1261
  """
1262
1262
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1263
1263
 
@@ -1270,22 +1270,22 @@ class MutatingWebhookPatchArgs:
1270
1270
  return pulumi.get(self, "match_policy")
1271
1271
 
1272
1272
  @match_policy.setter
1273
- def match_policy(self, value: Optional[pulumi.Input[str]]):
1273
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1274
1274
  pulumi.set(self, "match_policy", value)
1275
1275
 
1276
- @property
1276
+ @_builtins.property
1277
1277
  @pulumi.getter
1278
- def name(self) -> Optional[pulumi.Input[str]]:
1278
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
1279
1279
  """
1280
1280
  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.
1281
1281
  """
1282
1282
  return pulumi.get(self, "name")
1283
1283
 
1284
1284
  @name.setter
1285
- def name(self, value: Optional[pulumi.Input[str]]):
1285
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
1286
1286
  pulumi.set(self, "name", value)
1287
1287
 
1288
- @property
1288
+ @_builtins.property
1289
1289
  @pulumi.getter(name="namespaceSelector")
1290
1290
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
1291
1291
  """
@@ -1327,7 +1327,7 @@ class MutatingWebhookPatchArgs:
1327
1327
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
1328
1328
  pulumi.set(self, "namespace_selector", value)
1329
1329
 
1330
- @property
1330
+ @_builtins.property
1331
1331
  @pulumi.getter(name="objectSelector")
1332
1332
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
1333
1333
  """
@@ -1339,9 +1339,9 @@ class MutatingWebhookPatchArgs:
1339
1339
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
1340
1340
  pulumi.set(self, "object_selector", value)
1341
1341
 
1342
- @property
1342
+ @_builtins.property
1343
1343
  @pulumi.getter(name="reinvocationPolicy")
1344
- def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
1344
+ def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1345
1345
  """
1346
1346
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1347
1347
 
@@ -1354,10 +1354,10 @@ class MutatingWebhookPatchArgs:
1354
1354
  return pulumi.get(self, "reinvocation_policy")
1355
1355
 
1356
1356
  @reinvocation_policy.setter
1357
- def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
1357
+ def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1358
1358
  pulumi.set(self, "reinvocation_policy", value)
1359
1359
 
1360
- @property
1360
+ @_builtins.property
1361
1361
  @pulumi.getter
1362
1362
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]:
1363
1363
  """
@@ -1369,28 +1369,28 @@ class MutatingWebhookPatchArgs:
1369
1369
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]):
1370
1370
  pulumi.set(self, "rules", value)
1371
1371
 
1372
- @property
1372
+ @_builtins.property
1373
1373
  @pulumi.getter(name="sideEffects")
1374
- def side_effects(self) -> Optional[pulumi.Input[str]]:
1374
+ def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
1375
1375
  """
1376
1376
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1377
1377
  """
1378
1378
  return pulumi.get(self, "side_effects")
1379
1379
 
1380
1380
  @side_effects.setter
1381
- def side_effects(self, value: Optional[pulumi.Input[str]]):
1381
+ def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
1382
1382
  pulumi.set(self, "side_effects", value)
1383
1383
 
1384
- @property
1384
+ @_builtins.property
1385
1385
  @pulumi.getter(name="timeoutSeconds")
1386
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
1386
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
1387
1387
  """
1388
1388
  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 30 seconds.
1389
1389
  """
1390
1390
  return pulumi.get(self, "timeout_seconds")
1391
1391
 
1392
1392
  @timeout_seconds.setter
1393
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
1393
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
1394
1394
  pulumi.set(self, "timeout_seconds", value)
1395
1395
 
1396
1396
 
@@ -1403,19 +1403,19 @@ if not MYPY:
1403
1403
  """
1404
1404
  ClientConfig defines how to communicate with the hook. Required
1405
1405
  """
1406
- name: pulumi.Input[str]
1406
+ name: pulumi.Input[_builtins.str]
1407
1407
  """
1408
1408
  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.
1409
1409
  """
1410
- admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1410
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1411
1411
  """
1412
1412
  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. Default to `['v1beta1']`.
1413
1413
  """
1414
- failure_policy: NotRequired[pulumi.Input[str]]
1414
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
1415
1415
  """
1416
1416
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
1417
1417
  """
1418
- match_policy: NotRequired[pulumi.Input[str]]
1418
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
1419
1419
  """
1420
1420
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1421
1421
 
@@ -1463,7 +1463,7 @@ if not MYPY:
1463
1463
  """
1464
1464
  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.
1465
1465
  """
1466
- reinvocation_policy: NotRequired[pulumi.Input[str]]
1466
+ reinvocation_policy: NotRequired[pulumi.Input[_builtins.str]]
1467
1467
  """
1468
1468
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1469
1469
 
@@ -1477,11 +1477,11 @@ if not MYPY:
1477
1477
  """
1478
1478
  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.
1479
1479
  """
1480
- side_effects: NotRequired[pulumi.Input[str]]
1480
+ side_effects: NotRequired[pulumi.Input[_builtins.str]]
1481
1481
  """
1482
1482
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1483
1483
  """
1484
- timeout_seconds: NotRequired[pulumi.Input[int]]
1484
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
1485
1485
  """
1486
1486
  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 30 seconds.
1487
1487
  """
@@ -1492,23 +1492,23 @@ elif False:
1492
1492
  class MutatingWebhookArgs:
1493
1493
  def __init__(__self__, *,
1494
1494
  client_config: pulumi.Input['WebhookClientConfigArgs'],
1495
- name: pulumi.Input[str],
1496
- admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1497
- failure_policy: Optional[pulumi.Input[str]] = None,
1498
- match_policy: Optional[pulumi.Input[str]] = None,
1495
+ name: pulumi.Input[_builtins.str],
1496
+ admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1497
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
1498
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
1499
1499
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
1500
1500
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
1501
- reinvocation_policy: Optional[pulumi.Input[str]] = None,
1501
+ reinvocation_policy: Optional[pulumi.Input[_builtins.str]] = None,
1502
1502
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
1503
- side_effects: Optional[pulumi.Input[str]] = None,
1504
- timeout_seconds: Optional[pulumi.Input[int]] = None):
1503
+ side_effects: Optional[pulumi.Input[_builtins.str]] = None,
1504
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
1505
1505
  """
1506
1506
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1507
1507
  :param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
1508
- :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.
1509
- :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. Default to `['v1beta1']`.
1510
- :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 Ignore.
1511
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1508
+ :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.
1509
+ :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. Default to `['v1beta1']`.
1510
+ :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 Ignore.
1511
+ :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".
1512
1512
 
1513
1513
  - 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.
1514
1514
 
@@ -1547,7 +1547,7 @@ class MutatingWebhookArgs:
1547
1547
 
1548
1548
  Default to the empty LabelSelector, which matches everything.
1549
1549
  :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.
1550
- :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".
1550
+ :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".
1551
1551
 
1552
1552
  Never: the webhook will not be called more than once in a single admission evaluation.
1553
1553
 
@@ -1555,8 +1555,8 @@ class MutatingWebhookArgs:
1555
1555
 
1556
1556
  Defaults to "Never".
1557
1557
  :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.
1558
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1559
- :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 30 seconds.
1558
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1559
+ :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 30 seconds.
1560
1560
  """
1561
1561
  pulumi.set(__self__, "client_config", client_config)
1562
1562
  pulumi.set(__self__, "name", name)
@@ -1579,7 +1579,7 @@ class MutatingWebhookArgs:
1579
1579
  if timeout_seconds is not None:
1580
1580
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1581
1581
 
1582
- @property
1582
+ @_builtins.property
1583
1583
  @pulumi.getter(name="clientConfig")
1584
1584
  def client_config(self) -> pulumi.Input['WebhookClientConfigArgs']:
1585
1585
  """
@@ -1591,45 +1591,45 @@ class MutatingWebhookArgs:
1591
1591
  def client_config(self, value: pulumi.Input['WebhookClientConfigArgs']):
1592
1592
  pulumi.set(self, "client_config", value)
1593
1593
 
1594
- @property
1594
+ @_builtins.property
1595
1595
  @pulumi.getter
1596
- def name(self) -> pulumi.Input[str]:
1596
+ def name(self) -> pulumi.Input[_builtins.str]:
1597
1597
  """
1598
1598
  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.
1599
1599
  """
1600
1600
  return pulumi.get(self, "name")
1601
1601
 
1602
1602
  @name.setter
1603
- def name(self, value: pulumi.Input[str]):
1603
+ def name(self, value: pulumi.Input[_builtins.str]):
1604
1604
  pulumi.set(self, "name", value)
1605
1605
 
1606
- @property
1606
+ @_builtins.property
1607
1607
  @pulumi.getter(name="admissionReviewVersions")
1608
- def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1608
+ def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1609
1609
  """
1610
1610
  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. Default to `['v1beta1']`.
1611
1611
  """
1612
1612
  return pulumi.get(self, "admission_review_versions")
1613
1613
 
1614
1614
  @admission_review_versions.setter
1615
- def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1615
+ def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1616
1616
  pulumi.set(self, "admission_review_versions", value)
1617
1617
 
1618
- @property
1618
+ @_builtins.property
1619
1619
  @pulumi.getter(name="failurePolicy")
1620
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
1620
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1621
1621
  """
1622
1622
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
1623
1623
  """
1624
1624
  return pulumi.get(self, "failure_policy")
1625
1625
 
1626
1626
  @failure_policy.setter
1627
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
1627
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1628
1628
  pulumi.set(self, "failure_policy", value)
1629
1629
 
1630
- @property
1630
+ @_builtins.property
1631
1631
  @pulumi.getter(name="matchPolicy")
1632
- def match_policy(self) -> Optional[pulumi.Input[str]]:
1632
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1633
1633
  """
1634
1634
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1635
1635
 
@@ -1642,10 +1642,10 @@ class MutatingWebhookArgs:
1642
1642
  return pulumi.get(self, "match_policy")
1643
1643
 
1644
1644
  @match_policy.setter
1645
- def match_policy(self, value: Optional[pulumi.Input[str]]):
1645
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1646
1646
  pulumi.set(self, "match_policy", value)
1647
1647
 
1648
- @property
1648
+ @_builtins.property
1649
1649
  @pulumi.getter(name="namespaceSelector")
1650
1650
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
1651
1651
  """
@@ -1687,7 +1687,7 @@ class MutatingWebhookArgs:
1687
1687
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
1688
1688
  pulumi.set(self, "namespace_selector", value)
1689
1689
 
1690
- @property
1690
+ @_builtins.property
1691
1691
  @pulumi.getter(name="objectSelector")
1692
1692
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
1693
1693
  """
@@ -1699,9 +1699,9 @@ class MutatingWebhookArgs:
1699
1699
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
1700
1700
  pulumi.set(self, "object_selector", value)
1701
1701
 
1702
- @property
1702
+ @_builtins.property
1703
1703
  @pulumi.getter(name="reinvocationPolicy")
1704
- def reinvocation_policy(self) -> Optional[pulumi.Input[str]]:
1704
+ def reinvocation_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
1705
1705
  """
1706
1706
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1707
1707
 
@@ -1714,10 +1714,10 @@ class MutatingWebhookArgs:
1714
1714
  return pulumi.get(self, "reinvocation_policy")
1715
1715
 
1716
1716
  @reinvocation_policy.setter
1717
- def reinvocation_policy(self, value: Optional[pulumi.Input[str]]):
1717
+ def reinvocation_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
1718
1718
  pulumi.set(self, "reinvocation_policy", value)
1719
1719
 
1720
- @property
1720
+ @_builtins.property
1721
1721
  @pulumi.getter
1722
1722
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]:
1723
1723
  """
@@ -1729,28 +1729,28 @@ class MutatingWebhookArgs:
1729
1729
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]):
1730
1730
  pulumi.set(self, "rules", value)
1731
1731
 
1732
- @property
1732
+ @_builtins.property
1733
1733
  @pulumi.getter(name="sideEffects")
1734
- def side_effects(self) -> Optional[pulumi.Input[str]]:
1734
+ def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
1735
1735
  """
1736
1736
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
1737
1737
  """
1738
1738
  return pulumi.get(self, "side_effects")
1739
1739
 
1740
1740
  @side_effects.setter
1741
- def side_effects(self, value: Optional[pulumi.Input[str]]):
1741
+ def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
1742
1742
  pulumi.set(self, "side_effects", value)
1743
1743
 
1744
- @property
1744
+ @_builtins.property
1745
1745
  @pulumi.getter(name="timeoutSeconds")
1746
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
1746
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
1747
1747
  """
1748
1748
  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 30 seconds.
1749
1749
  """
1750
1750
  return pulumi.get(self, "timeout_seconds")
1751
1751
 
1752
1752
  @timeout_seconds.setter
1753
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
1753
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
1754
1754
  pulumi.set(self, "timeout_seconds", value)
1755
1755
 
1756
1756
 
@@ -1759,23 +1759,23 @@ if not MYPY:
1759
1759
  """
1760
1760
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1761
1761
  """
1762
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1762
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1763
1763
  """
1764
1764
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1765
1765
  """
1766
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1766
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1767
1767
  """
1768
1768
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1769
1769
  """
1770
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1770
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1771
1771
  """
1772
1772
  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.
1773
1773
  """
1774
- resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1774
+ resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1775
1775
  """
1776
1776
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1777
1777
  """
1778
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1778
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1779
1779
  """
1780
1780
  Resources is a list of resources this rule applies to.
1781
1781
 
@@ -1785,7 +1785,7 @@ if not MYPY:
1785
1785
 
1786
1786
  Depending on the enclosing object, subresources might not be allowed. Required.
1787
1787
  """
1788
- scope: NotRequired[pulumi.Input[str]]
1788
+ scope: NotRequired[pulumi.Input[_builtins.str]]
1789
1789
  """
1790
1790
  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 "*".
1791
1791
  """
@@ -1795,26 +1795,26 @@ elif False:
1795
1795
  @pulumi.input_type
1796
1796
  class NamedRuleWithOperationsPatchArgs:
1797
1797
  def __init__(__self__, *,
1798
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1799
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1800
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1801
- resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1802
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1803
- scope: Optional[pulumi.Input[str]] = None):
1798
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1799
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1800
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1801
+ resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1802
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1803
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
1804
1804
  """
1805
1805
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1806
- :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.
1807
- :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.
1808
- :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.
1809
- :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.
1810
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
1806
+ :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.
1807
+ :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.
1808
+ :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.
1809
+ :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.
1810
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
1811
1811
 
1812
1812
  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.
1813
1813
 
1814
1814
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1815
1815
 
1816
1816
  Depending on the enclosing object, subresources might not be allowed. Required.
1817
- :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 "*".
1817
+ :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 "*".
1818
1818
  """
1819
1819
  if api_groups is not None:
1820
1820
  pulumi.set(__self__, "api_groups", api_groups)
@@ -1829,57 +1829,57 @@ class NamedRuleWithOperationsPatchArgs:
1829
1829
  if scope is not None:
1830
1830
  pulumi.set(__self__, "scope", scope)
1831
1831
 
1832
- @property
1832
+ @_builtins.property
1833
1833
  @pulumi.getter(name="apiGroups")
1834
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1834
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1835
1835
  """
1836
1836
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1837
1837
  """
1838
1838
  return pulumi.get(self, "api_groups")
1839
1839
 
1840
1840
  @api_groups.setter
1841
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1841
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1842
1842
  pulumi.set(self, "api_groups", value)
1843
1843
 
1844
- @property
1844
+ @_builtins.property
1845
1845
  @pulumi.getter(name="apiVersions")
1846
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1846
+ def api_versions(self) -> Optional[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
1850
  return pulumi.get(self, "api_versions")
1851
1851
 
1852
1852
  @api_versions.setter
1853
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1853
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1854
1854
  pulumi.set(self, "api_versions", value)
1855
1855
 
1856
- @property
1856
+ @_builtins.property
1857
1857
  @pulumi.getter
1858
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1858
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1859
1859
  """
1860
1860
  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.
1861
1861
  """
1862
1862
  return pulumi.get(self, "operations")
1863
1863
 
1864
1864
  @operations.setter
1865
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1865
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1866
1866
  pulumi.set(self, "operations", value)
1867
1867
 
1868
- @property
1868
+ @_builtins.property
1869
1869
  @pulumi.getter(name="resourceNames")
1870
- def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1870
+ def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1871
1871
  """
1872
1872
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1873
1873
  """
1874
1874
  return pulumi.get(self, "resource_names")
1875
1875
 
1876
1876
  @resource_names.setter
1877
- def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1877
+ def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1878
1878
  pulumi.set(self, "resource_names", value)
1879
1879
 
1880
- @property
1880
+ @_builtins.property
1881
1881
  @pulumi.getter
1882
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1882
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1883
1883
  """
1884
1884
  Resources is a list of resources this rule applies to.
1885
1885
 
@@ -1892,19 +1892,19 @@ class NamedRuleWithOperationsPatchArgs:
1892
1892
  return pulumi.get(self, "resources")
1893
1893
 
1894
1894
  @resources.setter
1895
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1895
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1896
1896
  pulumi.set(self, "resources", value)
1897
1897
 
1898
- @property
1898
+ @_builtins.property
1899
1899
  @pulumi.getter
1900
- def scope(self) -> Optional[pulumi.Input[str]]:
1900
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
1901
1901
  """
1902
1902
  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 "*".
1903
1903
  """
1904
1904
  return pulumi.get(self, "scope")
1905
1905
 
1906
1906
  @scope.setter
1907
- def scope(self, value: Optional[pulumi.Input[str]]):
1907
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
1908
1908
  pulumi.set(self, "scope", value)
1909
1909
 
1910
1910
 
@@ -1913,23 +1913,23 @@ if not MYPY:
1913
1913
  """
1914
1914
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1915
1915
  """
1916
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1916
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1917
1917
  """
1918
1918
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1919
1919
  """
1920
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1920
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1921
1921
  """
1922
1922
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1923
1923
  """
1924
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1924
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1925
1925
  """
1926
1926
  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.
1927
1927
  """
1928
- resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1928
+ resource_names: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1929
1929
  """
1930
1930
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1931
1931
  """
1932
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1932
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
1933
1933
  """
1934
1934
  Resources is a list of resources this rule applies to.
1935
1935
 
@@ -1939,7 +1939,7 @@ if not MYPY:
1939
1939
 
1940
1940
  Depending on the enclosing object, subresources might not be allowed. Required.
1941
1941
  """
1942
- scope: NotRequired[pulumi.Input[str]]
1942
+ scope: NotRequired[pulumi.Input[_builtins.str]]
1943
1943
  """
1944
1944
  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 "*".
1945
1945
  """
@@ -1949,26 +1949,26 @@ elif False:
1949
1949
  @pulumi.input_type
1950
1950
  class NamedRuleWithOperationsArgs:
1951
1951
  def __init__(__self__, *,
1952
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1953
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1954
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1955
- resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1956
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
1957
- scope: Optional[pulumi.Input[str]] = None):
1952
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1953
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1954
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1955
+ resource_names: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1956
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
1957
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
1958
1958
  """
1959
1959
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1960
- :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.
1961
- :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.
1962
- :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.
1963
- :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.
1964
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
1960
+ :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.
1961
+ :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.
1962
+ :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.
1963
+ :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.
1964
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
1965
1965
 
1966
1966
  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.
1967
1967
 
1968
1968
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1969
1969
 
1970
1970
  Depending on the enclosing object, subresources might not be allowed. Required.
1971
- :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 "*".
1971
+ :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 "*".
1972
1972
  """
1973
1973
  if api_groups is not None:
1974
1974
  pulumi.set(__self__, "api_groups", api_groups)
@@ -1983,57 +1983,57 @@ class NamedRuleWithOperationsArgs:
1983
1983
  if scope is not None:
1984
1984
  pulumi.set(__self__, "scope", scope)
1985
1985
 
1986
- @property
1986
+ @_builtins.property
1987
1987
  @pulumi.getter(name="apiGroups")
1988
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
1988
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
1989
1989
  """
1990
1990
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1991
1991
  """
1992
1992
  return pulumi.get(self, "api_groups")
1993
1993
 
1994
1994
  @api_groups.setter
1995
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
1995
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
1996
1996
  pulumi.set(self, "api_groups", value)
1997
1997
 
1998
- @property
1998
+ @_builtins.property
1999
1999
  @pulumi.getter(name="apiVersions")
2000
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2000
+ def api_versions(self) -> Optional[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
2004
  return pulumi.get(self, "api_versions")
2005
2005
 
2006
2006
  @api_versions.setter
2007
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2007
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2008
2008
  pulumi.set(self, "api_versions", value)
2009
2009
 
2010
- @property
2010
+ @_builtins.property
2011
2011
  @pulumi.getter
2012
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2012
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2013
2013
  """
2014
2014
  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.
2015
2015
  """
2016
2016
  return pulumi.get(self, "operations")
2017
2017
 
2018
2018
  @operations.setter
2019
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2019
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2020
2020
  pulumi.set(self, "operations", value)
2021
2021
 
2022
- @property
2022
+ @_builtins.property
2023
2023
  @pulumi.getter(name="resourceNames")
2024
- def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2024
+ def resource_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2025
2025
  """
2026
2026
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
2027
2027
  """
2028
2028
  return pulumi.get(self, "resource_names")
2029
2029
 
2030
2030
  @resource_names.setter
2031
- def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2031
+ def resource_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2032
2032
  pulumi.set(self, "resource_names", value)
2033
2033
 
2034
- @property
2034
+ @_builtins.property
2035
2035
  @pulumi.getter
2036
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2036
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2037
2037
  """
2038
2038
  Resources is a list of resources this rule applies to.
2039
2039
 
@@ -2046,19 +2046,19 @@ class NamedRuleWithOperationsArgs:
2046
2046
  return pulumi.get(self, "resources")
2047
2047
 
2048
2048
  @resources.setter
2049
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2049
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2050
2050
  pulumi.set(self, "resources", value)
2051
2051
 
2052
- @property
2052
+ @_builtins.property
2053
2053
  @pulumi.getter
2054
- def scope(self) -> Optional[pulumi.Input[str]]:
2054
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
2055
2055
  """
2056
2056
  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 "*".
2057
2057
  """
2058
2058
  return pulumi.get(self, "scope")
2059
2059
 
2060
2060
  @scope.setter
2061
- def scope(self, value: Optional[pulumi.Input[str]]):
2061
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
2062
2062
  pulumi.set(self, "scope", value)
2063
2063
 
2064
2064
 
@@ -2067,11 +2067,11 @@ if not MYPY:
2067
2067
  """
2068
2068
  ParamKind is a tuple of Group Kind and Version.
2069
2069
  """
2070
- api_version: NotRequired[pulumi.Input[str]]
2070
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
2071
2071
  """
2072
2072
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2073
2073
  """
2074
- kind: NotRequired[pulumi.Input[str]]
2074
+ kind: NotRequired[pulumi.Input[_builtins.str]]
2075
2075
  """
2076
2076
  Kind is the API kind the resources belong to. Required.
2077
2077
  """
@@ -2081,40 +2081,40 @@ elif False:
2081
2081
  @pulumi.input_type
2082
2082
  class ParamKindPatchArgs:
2083
2083
  def __init__(__self__, *,
2084
- api_version: Optional[pulumi.Input[str]] = None,
2085
- kind: Optional[pulumi.Input[str]] = None):
2084
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
2085
+ kind: Optional[pulumi.Input[_builtins.str]] = None):
2086
2086
  """
2087
2087
  ParamKind is a tuple of Group Kind and Version.
2088
- :param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2089
- :param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
2088
+ :param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2089
+ :param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
2090
2090
  """
2091
2091
  if api_version is not None:
2092
2092
  pulumi.set(__self__, "api_version", api_version)
2093
2093
  if kind is not None:
2094
2094
  pulumi.set(__self__, "kind", kind)
2095
2095
 
2096
- @property
2096
+ @_builtins.property
2097
2097
  @pulumi.getter(name="apiVersion")
2098
- def api_version(self) -> Optional[pulumi.Input[str]]:
2098
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
2099
2099
  """
2100
2100
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2101
2101
  """
2102
2102
  return pulumi.get(self, "api_version")
2103
2103
 
2104
2104
  @api_version.setter
2105
- def api_version(self, value: Optional[pulumi.Input[str]]):
2105
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
2106
2106
  pulumi.set(self, "api_version", value)
2107
2107
 
2108
- @property
2108
+ @_builtins.property
2109
2109
  @pulumi.getter
2110
- def kind(self) -> Optional[pulumi.Input[str]]:
2110
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
2111
2111
  """
2112
2112
  Kind is the API kind the resources belong to. Required.
2113
2113
  """
2114
2114
  return pulumi.get(self, "kind")
2115
2115
 
2116
2116
  @kind.setter
2117
- def kind(self, value: Optional[pulumi.Input[str]]):
2117
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
2118
2118
  pulumi.set(self, "kind", value)
2119
2119
 
2120
2120
 
@@ -2123,11 +2123,11 @@ if not MYPY:
2123
2123
  """
2124
2124
  ParamKind is a tuple of Group Kind and Version.
2125
2125
  """
2126
- api_version: NotRequired[pulumi.Input[str]]
2126
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
2127
2127
  """
2128
2128
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2129
2129
  """
2130
- kind: NotRequired[pulumi.Input[str]]
2130
+ kind: NotRequired[pulumi.Input[_builtins.str]]
2131
2131
  """
2132
2132
  Kind is the API kind the resources belong to. Required.
2133
2133
  """
@@ -2137,40 +2137,40 @@ elif False:
2137
2137
  @pulumi.input_type
2138
2138
  class ParamKindArgs:
2139
2139
  def __init__(__self__, *,
2140
- api_version: Optional[pulumi.Input[str]] = None,
2141
- kind: Optional[pulumi.Input[str]] = None):
2140
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
2141
+ kind: Optional[pulumi.Input[_builtins.str]] = None):
2142
2142
  """
2143
2143
  ParamKind is a tuple of Group Kind and Version.
2144
- :param pulumi.Input[str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2145
- :param pulumi.Input[str] kind: Kind is the API kind the resources belong to. Required.
2144
+ :param pulumi.Input[_builtins.str] api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2145
+ :param pulumi.Input[_builtins.str] kind: Kind is the API kind the resources belong to. Required.
2146
2146
  """
2147
2147
  if api_version is not None:
2148
2148
  pulumi.set(__self__, "api_version", api_version)
2149
2149
  if kind is not None:
2150
2150
  pulumi.set(__self__, "kind", kind)
2151
2151
 
2152
- @property
2152
+ @_builtins.property
2153
2153
  @pulumi.getter(name="apiVersion")
2154
- def api_version(self) -> Optional[pulumi.Input[str]]:
2154
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
2155
2155
  """
2156
2156
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
2157
2157
  """
2158
2158
  return pulumi.get(self, "api_version")
2159
2159
 
2160
2160
  @api_version.setter
2161
- def api_version(self, value: Optional[pulumi.Input[str]]):
2161
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
2162
2162
  pulumi.set(self, "api_version", value)
2163
2163
 
2164
- @property
2164
+ @_builtins.property
2165
2165
  @pulumi.getter
2166
- def kind(self) -> Optional[pulumi.Input[str]]:
2166
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
2167
2167
  """
2168
2168
  Kind is the API kind the resources belong to. Required.
2169
2169
  """
2170
2170
  return pulumi.get(self, "kind")
2171
2171
 
2172
2172
  @kind.setter
2173
- def kind(self, value: Optional[pulumi.Input[str]]):
2173
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
2174
2174
  pulumi.set(self, "kind", value)
2175
2175
 
2176
2176
 
@@ -2179,7 +2179,7 @@ if not MYPY:
2179
2179
  """
2180
2180
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2181
2181
  """
2182
- name: NotRequired[pulumi.Input[str]]
2182
+ name: NotRequired[pulumi.Input[_builtins.str]]
2183
2183
  """
2184
2184
  name is the name of the resource being referenced.
2185
2185
 
@@ -2187,7 +2187,7 @@ if not MYPY:
2187
2187
 
2188
2188
  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.
2189
2189
  """
2190
- namespace: NotRequired[pulumi.Input[str]]
2190
+ namespace: NotRequired[pulumi.Input[_builtins.str]]
2191
2191
  """
2192
2192
  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.
2193
2193
 
@@ -2197,7 +2197,7 @@ if not MYPY:
2197
2197
 
2198
2198
  - 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.
2199
2199
  """
2200
- parameter_not_found_action: NotRequired[pulumi.Input[str]]
2200
+ parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
2201
2201
  """
2202
2202
  `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.
2203
2203
 
@@ -2219,25 +2219,25 @@ elif False:
2219
2219
  @pulumi.input_type
2220
2220
  class ParamRefPatchArgs:
2221
2221
  def __init__(__self__, *,
2222
- name: Optional[pulumi.Input[str]] = None,
2223
- namespace: Optional[pulumi.Input[str]] = None,
2224
- parameter_not_found_action: Optional[pulumi.Input[str]] = None,
2222
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2223
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
2224
+ parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
2225
2225
  selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
2226
2226
  """
2227
2227
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2228
- :param pulumi.Input[str] name: name is the name of the resource being referenced.
2228
+ :param pulumi.Input[_builtins.str] name: name is the name of the resource being referenced.
2229
2229
 
2230
2230
  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.
2231
2231
 
2232
2232
  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.
2233
- :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.
2233
+ :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.
2234
2234
 
2235
2235
  A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
2236
2236
 
2237
2237
  - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
2238
2238
 
2239
2239
  - 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.
2240
- :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.
2240
+ :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.
2241
2241
 
2242
2242
  Allowed values are `Allow` or `Deny`
2243
2243
 
@@ -2257,9 +2257,9 @@ class ParamRefPatchArgs:
2257
2257
  if selector is not None:
2258
2258
  pulumi.set(__self__, "selector", selector)
2259
2259
 
2260
- @property
2260
+ @_builtins.property
2261
2261
  @pulumi.getter
2262
- def name(self) -> Optional[pulumi.Input[str]]:
2262
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
2263
2263
  """
2264
2264
  name is the name of the resource being referenced.
2265
2265
 
@@ -2270,12 +2270,12 @@ class ParamRefPatchArgs:
2270
2270
  return pulumi.get(self, "name")
2271
2271
 
2272
2272
  @name.setter
2273
- def name(self, value: Optional[pulumi.Input[str]]):
2273
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
2274
2274
  pulumi.set(self, "name", value)
2275
2275
 
2276
- @property
2276
+ @_builtins.property
2277
2277
  @pulumi.getter
2278
- def namespace(self) -> Optional[pulumi.Input[str]]:
2278
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
2279
2279
  """
2280
2280
  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.
2281
2281
 
@@ -2288,12 +2288,12 @@ class ParamRefPatchArgs:
2288
2288
  return pulumi.get(self, "namespace")
2289
2289
 
2290
2290
  @namespace.setter
2291
- def namespace(self, value: Optional[pulumi.Input[str]]):
2291
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
2292
2292
  pulumi.set(self, "namespace", value)
2293
2293
 
2294
- @property
2294
+ @_builtins.property
2295
2295
  @pulumi.getter(name="parameterNotFoundAction")
2296
- def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
2296
+ def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
2297
2297
  """
2298
2298
  `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.
2299
2299
 
@@ -2304,10 +2304,10 @@ class ParamRefPatchArgs:
2304
2304
  return pulumi.get(self, "parameter_not_found_action")
2305
2305
 
2306
2306
  @parameter_not_found_action.setter
2307
- def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
2307
+ def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
2308
2308
  pulumi.set(self, "parameter_not_found_action", value)
2309
2309
 
2310
- @property
2310
+ @_builtins.property
2311
2311
  @pulumi.getter
2312
2312
  def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
2313
2313
  """
@@ -2329,7 +2329,7 @@ if not MYPY:
2329
2329
  """
2330
2330
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2331
2331
  """
2332
- name: NotRequired[pulumi.Input[str]]
2332
+ name: NotRequired[pulumi.Input[_builtins.str]]
2333
2333
  """
2334
2334
  name is the name of the resource being referenced.
2335
2335
 
@@ -2337,7 +2337,7 @@ if not MYPY:
2337
2337
 
2338
2338
  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.
2339
2339
  """
2340
- namespace: NotRequired[pulumi.Input[str]]
2340
+ namespace: NotRequired[pulumi.Input[_builtins.str]]
2341
2341
  """
2342
2342
  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.
2343
2343
 
@@ -2347,7 +2347,7 @@ if not MYPY:
2347
2347
 
2348
2348
  - 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.
2349
2349
  """
2350
- parameter_not_found_action: NotRequired[pulumi.Input[str]]
2350
+ parameter_not_found_action: NotRequired[pulumi.Input[_builtins.str]]
2351
2351
  """
2352
2352
  `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.
2353
2353
 
@@ -2369,25 +2369,25 @@ elif False:
2369
2369
  @pulumi.input_type
2370
2370
  class ParamRefArgs:
2371
2371
  def __init__(__self__, *,
2372
- name: Optional[pulumi.Input[str]] = None,
2373
- namespace: Optional[pulumi.Input[str]] = None,
2374
- parameter_not_found_action: Optional[pulumi.Input[str]] = None,
2372
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2373
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
2374
+ parameter_not_found_action: Optional[pulumi.Input[_builtins.str]] = None,
2375
2375
  selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
2376
2376
  """
2377
2377
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
2378
- :param pulumi.Input[str] name: name is the name of the resource being referenced.
2378
+ :param pulumi.Input[_builtins.str] name: name is the name of the resource being referenced.
2379
2379
 
2380
2380
  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.
2381
2381
 
2382
2382
  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.
2383
- :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.
2383
+ :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.
2384
2384
 
2385
2385
  A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
2386
2386
 
2387
2387
  - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
2388
2388
 
2389
2389
  - 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.
2390
- :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.
2390
+ :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.
2391
2391
 
2392
2392
  Allowed values are `Allow` or `Deny`
2393
2393
 
@@ -2407,9 +2407,9 @@ class ParamRefArgs:
2407
2407
  if selector is not None:
2408
2408
  pulumi.set(__self__, "selector", selector)
2409
2409
 
2410
- @property
2410
+ @_builtins.property
2411
2411
  @pulumi.getter
2412
- def name(self) -> Optional[pulumi.Input[str]]:
2412
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
2413
2413
  """
2414
2414
  name is the name of the resource being referenced.
2415
2415
 
@@ -2420,12 +2420,12 @@ class ParamRefArgs:
2420
2420
  return pulumi.get(self, "name")
2421
2421
 
2422
2422
  @name.setter
2423
- def name(self, value: Optional[pulumi.Input[str]]):
2423
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
2424
2424
  pulumi.set(self, "name", value)
2425
2425
 
2426
- @property
2426
+ @_builtins.property
2427
2427
  @pulumi.getter
2428
- def namespace(self) -> Optional[pulumi.Input[str]]:
2428
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
2429
2429
  """
2430
2430
  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.
2431
2431
 
@@ -2438,12 +2438,12 @@ class ParamRefArgs:
2438
2438
  return pulumi.get(self, "namespace")
2439
2439
 
2440
2440
  @namespace.setter
2441
- def namespace(self, value: Optional[pulumi.Input[str]]):
2441
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
2442
2442
  pulumi.set(self, "namespace", value)
2443
2443
 
2444
- @property
2444
+ @_builtins.property
2445
2445
  @pulumi.getter(name="parameterNotFoundAction")
2446
- def parameter_not_found_action(self) -> Optional[pulumi.Input[str]]:
2446
+ def parameter_not_found_action(self) -> Optional[pulumi.Input[_builtins.str]]:
2447
2447
  """
2448
2448
  `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.
2449
2449
 
@@ -2454,10 +2454,10 @@ class ParamRefArgs:
2454
2454
  return pulumi.get(self, "parameter_not_found_action")
2455
2455
 
2456
2456
  @parameter_not_found_action.setter
2457
- def parameter_not_found_action(self, value: Optional[pulumi.Input[str]]):
2457
+ def parameter_not_found_action(self, value: Optional[pulumi.Input[_builtins.str]]):
2458
2458
  pulumi.set(self, "parameter_not_found_action", value)
2459
2459
 
2460
- @property
2460
+ @_builtins.property
2461
2461
  @pulumi.getter
2462
2462
  def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
2463
2463
  """
@@ -2479,19 +2479,19 @@ if not MYPY:
2479
2479
  """
2480
2480
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2481
2481
  """
2482
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2482
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2483
2483
  """
2484
2484
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2485
2485
  """
2486
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2486
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2487
2487
  """
2488
2488
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2489
2489
  """
2490
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2490
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2491
2491
  """
2492
2492
  Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2493
2493
  """
2494
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2494
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2495
2495
  """
2496
2496
  Resources is a list of resources this rule applies to.
2497
2497
 
@@ -2501,7 +2501,7 @@ if not MYPY:
2501
2501
 
2502
2502
  Depending on the enclosing object, subresources might not be allowed. Required.
2503
2503
  """
2504
- scope: NotRequired[pulumi.Input[str]]
2504
+ scope: NotRequired[pulumi.Input[_builtins.str]]
2505
2505
  """
2506
2506
  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 "*".
2507
2507
  """
@@ -2511,24 +2511,24 @@ elif False:
2511
2511
  @pulumi.input_type
2512
2512
  class RuleWithOperationsPatchArgs:
2513
2513
  def __init__(__self__, *,
2514
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2515
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2516
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2517
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2518
- scope: Optional[pulumi.Input[str]] = None):
2514
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2515
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2516
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2517
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2518
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
2519
2519
  """
2520
2520
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2521
- :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.
2522
- :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.
2523
- :param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2524
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
2521
+ :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.
2522
+ :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.
2523
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2524
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
2525
2525
 
2526
2526
  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.
2527
2527
 
2528
2528
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2529
2529
 
2530
2530
  Depending on the enclosing object, subresources might not be allowed. Required.
2531
- :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 "*".
2531
+ :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 "*".
2532
2532
  """
2533
2533
  if api_groups is not None:
2534
2534
  pulumi.set(__self__, "api_groups", api_groups)
@@ -2541,45 +2541,45 @@ class RuleWithOperationsPatchArgs:
2541
2541
  if scope is not None:
2542
2542
  pulumi.set(__self__, "scope", scope)
2543
2543
 
2544
- @property
2544
+ @_builtins.property
2545
2545
  @pulumi.getter(name="apiGroups")
2546
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2546
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2547
2547
  """
2548
2548
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2549
2549
  """
2550
2550
  return pulumi.get(self, "api_groups")
2551
2551
 
2552
2552
  @api_groups.setter
2553
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2553
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2554
2554
  pulumi.set(self, "api_groups", value)
2555
2555
 
2556
- @property
2556
+ @_builtins.property
2557
2557
  @pulumi.getter(name="apiVersions")
2558
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2558
+ def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2559
2559
  """
2560
2560
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2561
2561
  """
2562
2562
  return pulumi.get(self, "api_versions")
2563
2563
 
2564
2564
  @api_versions.setter
2565
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2565
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2566
2566
  pulumi.set(self, "api_versions", value)
2567
2567
 
2568
- @property
2568
+ @_builtins.property
2569
2569
  @pulumi.getter
2570
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2570
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2571
2571
  """
2572
2572
  Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2573
2573
  """
2574
2574
  return pulumi.get(self, "operations")
2575
2575
 
2576
2576
  @operations.setter
2577
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2577
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2578
2578
  pulumi.set(self, "operations", value)
2579
2579
 
2580
- @property
2580
+ @_builtins.property
2581
2581
  @pulumi.getter
2582
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2582
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2583
2583
  """
2584
2584
  Resources is a list of resources this rule applies to.
2585
2585
 
@@ -2592,19 +2592,19 @@ class RuleWithOperationsPatchArgs:
2592
2592
  return pulumi.get(self, "resources")
2593
2593
 
2594
2594
  @resources.setter
2595
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2595
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2596
2596
  pulumi.set(self, "resources", value)
2597
2597
 
2598
- @property
2598
+ @_builtins.property
2599
2599
  @pulumi.getter
2600
- def scope(self) -> Optional[pulumi.Input[str]]:
2600
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
2601
2601
  """
2602
2602
  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 "*".
2603
2603
  """
2604
2604
  return pulumi.get(self, "scope")
2605
2605
 
2606
2606
  @scope.setter
2607
- def scope(self, value: Optional[pulumi.Input[str]]):
2607
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
2608
2608
  pulumi.set(self, "scope", value)
2609
2609
 
2610
2610
 
@@ -2613,19 +2613,19 @@ if not MYPY:
2613
2613
  """
2614
2614
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2615
2615
  """
2616
- api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2616
+ api_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2617
2617
  """
2618
2618
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2619
2619
  """
2620
- api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2620
+ api_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2621
2621
  """
2622
2622
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2623
2623
  """
2624
- operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2624
+ operations: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2625
2625
  """
2626
2626
  Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2627
2627
  """
2628
- resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2628
+ resources: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2629
2629
  """
2630
2630
  Resources is a list of resources this rule applies to.
2631
2631
 
@@ -2635,7 +2635,7 @@ if not MYPY:
2635
2635
 
2636
2636
  Depending on the enclosing object, subresources might not be allowed. Required.
2637
2637
  """
2638
- scope: NotRequired[pulumi.Input[str]]
2638
+ scope: NotRequired[pulumi.Input[_builtins.str]]
2639
2639
  """
2640
2640
  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 "*".
2641
2641
  """
@@ -2645,24 +2645,24 @@ elif False:
2645
2645
  @pulumi.input_type
2646
2646
  class RuleWithOperationsArgs:
2647
2647
  def __init__(__self__, *,
2648
- api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2649
- api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2650
- operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2651
- resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
2652
- scope: Optional[pulumi.Input[str]] = None):
2648
+ api_groups: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2649
+ api_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2650
+ operations: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2651
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
2652
+ scope: Optional[pulumi.Input[_builtins.str]] = None):
2653
2653
  """
2654
2654
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2655
- :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.
2656
- :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.
2657
- :param pulumi.Input[Sequence[pulumi.Input[str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2658
- :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: Resources is a list of resources this rule applies to.
2655
+ :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.
2656
+ :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.
2657
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] operations: Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2658
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] resources: Resources is a list of resources this rule applies to.
2659
2659
 
2660
2660
  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.
2661
2661
 
2662
2662
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2663
2663
 
2664
2664
  Depending on the enclosing object, subresources might not be allowed. Required.
2665
- :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 "*".
2665
+ :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 "*".
2666
2666
  """
2667
2667
  if api_groups is not None:
2668
2668
  pulumi.set(__self__, "api_groups", api_groups)
@@ -2675,45 +2675,45 @@ class RuleWithOperationsArgs:
2675
2675
  if scope is not None:
2676
2676
  pulumi.set(__self__, "scope", scope)
2677
2677
 
2678
- @property
2678
+ @_builtins.property
2679
2679
  @pulumi.getter(name="apiGroups")
2680
- def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2680
+ def api_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2681
2681
  """
2682
2682
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2683
2683
  """
2684
2684
  return pulumi.get(self, "api_groups")
2685
2685
 
2686
2686
  @api_groups.setter
2687
- def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2687
+ def api_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2688
2688
  pulumi.set(self, "api_groups", value)
2689
2689
 
2690
- @property
2690
+ @_builtins.property
2691
2691
  @pulumi.getter(name="apiVersions")
2692
- def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2692
+ def api_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2693
2693
  """
2694
2694
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2695
2695
  """
2696
2696
  return pulumi.get(self, "api_versions")
2697
2697
 
2698
2698
  @api_versions.setter
2699
- def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2699
+ def api_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2700
2700
  pulumi.set(self, "api_versions", value)
2701
2701
 
2702
- @property
2702
+ @_builtins.property
2703
2703
  @pulumi.getter
2704
- def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2704
+ def operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2705
2705
  """
2706
2706
  Operations is the operations the admission hook cares about - CREATE, UPDATE, or * for all operations. If '*' is present, the length of the slice must be one. Required.
2707
2707
  """
2708
2708
  return pulumi.get(self, "operations")
2709
2709
 
2710
2710
  @operations.setter
2711
- def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2711
+ def operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2712
2712
  pulumi.set(self, "operations", value)
2713
2713
 
2714
- @property
2714
+ @_builtins.property
2715
2715
  @pulumi.getter
2716
- def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
2716
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
2717
2717
  """
2718
2718
  Resources is a list of resources this rule applies to.
2719
2719
 
@@ -2726,19 +2726,19 @@ class RuleWithOperationsArgs:
2726
2726
  return pulumi.get(self, "resources")
2727
2727
 
2728
2728
  @resources.setter
2729
- def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
2729
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
2730
2730
  pulumi.set(self, "resources", value)
2731
2731
 
2732
- @property
2732
+ @_builtins.property
2733
2733
  @pulumi.getter
2734
- def scope(self) -> Optional[pulumi.Input[str]]:
2734
+ def scope(self) -> Optional[pulumi.Input[_builtins.str]]:
2735
2735
  """
2736
2736
  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 "*".
2737
2737
  """
2738
2738
  return pulumi.get(self, "scope")
2739
2739
 
2740
2740
  @scope.setter
2741
- def scope(self, value: Optional[pulumi.Input[str]]):
2741
+ def scope(self, value: Optional[pulumi.Input[_builtins.str]]):
2742
2742
  pulumi.set(self, "scope", value)
2743
2743
 
2744
2744
 
@@ -2747,19 +2747,19 @@ if not MYPY:
2747
2747
  """
2748
2748
  ServiceReference holds a reference to Service.legacy.k8s.io
2749
2749
  """
2750
- name: NotRequired[pulumi.Input[str]]
2750
+ name: NotRequired[pulumi.Input[_builtins.str]]
2751
2751
  """
2752
2752
  `name` is the name of the service. Required
2753
2753
  """
2754
- namespace: NotRequired[pulumi.Input[str]]
2754
+ namespace: NotRequired[pulumi.Input[_builtins.str]]
2755
2755
  """
2756
2756
  `namespace` is the namespace of the service. Required
2757
2757
  """
2758
- path: NotRequired[pulumi.Input[str]]
2758
+ path: NotRequired[pulumi.Input[_builtins.str]]
2759
2759
  """
2760
2760
  `path` is an optional URL path which will be sent in any request to this service.
2761
2761
  """
2762
- port: NotRequired[pulumi.Input[int]]
2762
+ port: NotRequired[pulumi.Input[_builtins.int]]
2763
2763
  """
2764
2764
  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).
2765
2765
  """
@@ -2769,16 +2769,16 @@ elif False:
2769
2769
  @pulumi.input_type
2770
2770
  class ServiceReferencePatchArgs:
2771
2771
  def __init__(__self__, *,
2772
- name: Optional[pulumi.Input[str]] = None,
2773
- namespace: Optional[pulumi.Input[str]] = None,
2774
- path: Optional[pulumi.Input[str]] = None,
2775
- port: Optional[pulumi.Input[int]] = None):
2772
+ name: Optional[pulumi.Input[_builtins.str]] = None,
2773
+ namespace: Optional[pulumi.Input[_builtins.str]] = None,
2774
+ path: Optional[pulumi.Input[_builtins.str]] = None,
2775
+ port: Optional[pulumi.Input[_builtins.int]] = None):
2776
2776
  """
2777
2777
  ServiceReference holds a reference to Service.legacy.k8s.io
2778
- :param pulumi.Input[str] name: `name` is the name of the service. Required
2779
- :param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
2780
- :param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
2781
- :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).
2778
+ :param pulumi.Input[_builtins.str] name: `name` is the name of the service. Required
2779
+ :param pulumi.Input[_builtins.str] namespace: `namespace` is the namespace of the service. Required
2780
+ :param pulumi.Input[_builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
2781
+ :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).
2782
2782
  """
2783
2783
  if name is not None:
2784
2784
  pulumi.set(__self__, "name", name)
@@ -2789,52 +2789,52 @@ class ServiceReferencePatchArgs:
2789
2789
  if port is not None:
2790
2790
  pulumi.set(__self__, "port", port)
2791
2791
 
2792
- @property
2792
+ @_builtins.property
2793
2793
  @pulumi.getter
2794
- def name(self) -> Optional[pulumi.Input[str]]:
2794
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
2795
2795
  """
2796
2796
  `name` is the name of the service. Required
2797
2797
  """
2798
2798
  return pulumi.get(self, "name")
2799
2799
 
2800
2800
  @name.setter
2801
- def name(self, value: Optional[pulumi.Input[str]]):
2801
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
2802
2802
  pulumi.set(self, "name", value)
2803
2803
 
2804
- @property
2804
+ @_builtins.property
2805
2805
  @pulumi.getter
2806
- def namespace(self) -> Optional[pulumi.Input[str]]:
2806
+ def namespace(self) -> Optional[pulumi.Input[_builtins.str]]:
2807
2807
  """
2808
2808
  `namespace` is the namespace of the service. Required
2809
2809
  """
2810
2810
  return pulumi.get(self, "namespace")
2811
2811
 
2812
2812
  @namespace.setter
2813
- def namespace(self, value: Optional[pulumi.Input[str]]):
2813
+ def namespace(self, value: Optional[pulumi.Input[_builtins.str]]):
2814
2814
  pulumi.set(self, "namespace", value)
2815
2815
 
2816
- @property
2816
+ @_builtins.property
2817
2817
  @pulumi.getter
2818
- def path(self) -> Optional[pulumi.Input[str]]:
2818
+ def path(self) -> Optional[pulumi.Input[_builtins.str]]:
2819
2819
  """
2820
2820
  `path` is an optional URL path which will be sent in any request to this service.
2821
2821
  """
2822
2822
  return pulumi.get(self, "path")
2823
2823
 
2824
2824
  @path.setter
2825
- def path(self, value: Optional[pulumi.Input[str]]):
2825
+ def path(self, value: Optional[pulumi.Input[_builtins.str]]):
2826
2826
  pulumi.set(self, "path", value)
2827
2827
 
2828
- @property
2828
+ @_builtins.property
2829
2829
  @pulumi.getter
2830
- def port(self) -> Optional[pulumi.Input[int]]:
2830
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
2831
2831
  """
2832
2832
  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).
2833
2833
  """
2834
2834
  return pulumi.get(self, "port")
2835
2835
 
2836
2836
  @port.setter
2837
- def port(self, value: Optional[pulumi.Input[int]]):
2837
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
2838
2838
  pulumi.set(self, "port", value)
2839
2839
 
2840
2840
 
@@ -2843,19 +2843,19 @@ if not MYPY:
2843
2843
  """
2844
2844
  ServiceReference holds a reference to Service.legacy.k8s.io
2845
2845
  """
2846
- name: pulumi.Input[str]
2846
+ name: pulumi.Input[_builtins.str]
2847
2847
  """
2848
2848
  `name` is the name of the service. Required
2849
2849
  """
2850
- namespace: pulumi.Input[str]
2850
+ namespace: pulumi.Input[_builtins.str]
2851
2851
  """
2852
2852
  `namespace` is the namespace of the service. Required
2853
2853
  """
2854
- path: NotRequired[pulumi.Input[str]]
2854
+ path: NotRequired[pulumi.Input[_builtins.str]]
2855
2855
  """
2856
2856
  `path` is an optional URL path which will be sent in any request to this service.
2857
2857
  """
2858
- port: NotRequired[pulumi.Input[int]]
2858
+ port: NotRequired[pulumi.Input[_builtins.int]]
2859
2859
  """
2860
2860
  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).
2861
2861
  """
@@ -2865,16 +2865,16 @@ elif False:
2865
2865
  @pulumi.input_type
2866
2866
  class ServiceReferenceArgs:
2867
2867
  def __init__(__self__, *,
2868
- name: pulumi.Input[str],
2869
- namespace: pulumi.Input[str],
2870
- path: Optional[pulumi.Input[str]] = None,
2871
- port: Optional[pulumi.Input[int]] = None):
2868
+ name: pulumi.Input[_builtins.str],
2869
+ namespace: pulumi.Input[_builtins.str],
2870
+ path: Optional[pulumi.Input[_builtins.str]] = None,
2871
+ port: Optional[pulumi.Input[_builtins.int]] = None):
2872
2872
  """
2873
2873
  ServiceReference holds a reference to Service.legacy.k8s.io
2874
- :param pulumi.Input[str] name: `name` is the name of the service. Required
2875
- :param pulumi.Input[str] namespace: `namespace` is the namespace of the service. Required
2876
- :param pulumi.Input[str] path: `path` is an optional URL path which will be sent in any request to this service.
2877
- :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).
2874
+ :param pulumi.Input[_builtins.str] name: `name` is the name of the service. Required
2875
+ :param pulumi.Input[_builtins.str] namespace: `namespace` is the namespace of the service. Required
2876
+ :param pulumi.Input[_builtins.str] path: `path` is an optional URL path which will be sent in any request to this service.
2877
+ :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).
2878
2878
  """
2879
2879
  pulumi.set(__self__, "name", name)
2880
2880
  pulumi.set(__self__, "namespace", namespace)
@@ -2883,52 +2883,52 @@ class ServiceReferenceArgs:
2883
2883
  if port is not None:
2884
2884
  pulumi.set(__self__, "port", port)
2885
2885
 
2886
- @property
2886
+ @_builtins.property
2887
2887
  @pulumi.getter
2888
- def name(self) -> pulumi.Input[str]:
2888
+ def name(self) -> pulumi.Input[_builtins.str]:
2889
2889
  """
2890
2890
  `name` is the name of the service. Required
2891
2891
  """
2892
2892
  return pulumi.get(self, "name")
2893
2893
 
2894
2894
  @name.setter
2895
- def name(self, value: pulumi.Input[str]):
2895
+ def name(self, value: pulumi.Input[_builtins.str]):
2896
2896
  pulumi.set(self, "name", value)
2897
2897
 
2898
- @property
2898
+ @_builtins.property
2899
2899
  @pulumi.getter
2900
- def namespace(self) -> pulumi.Input[str]:
2900
+ def namespace(self) -> pulumi.Input[_builtins.str]:
2901
2901
  """
2902
2902
  `namespace` is the namespace of the service. Required
2903
2903
  """
2904
2904
  return pulumi.get(self, "namespace")
2905
2905
 
2906
2906
  @namespace.setter
2907
- def namespace(self, value: pulumi.Input[str]):
2907
+ def namespace(self, value: pulumi.Input[_builtins.str]):
2908
2908
  pulumi.set(self, "namespace", value)
2909
2909
 
2910
- @property
2910
+ @_builtins.property
2911
2911
  @pulumi.getter
2912
- def path(self) -> Optional[pulumi.Input[str]]:
2912
+ def path(self) -> Optional[pulumi.Input[_builtins.str]]:
2913
2913
  """
2914
2914
  `path` is an optional URL path which will be sent in any request to this service.
2915
2915
  """
2916
2916
  return pulumi.get(self, "path")
2917
2917
 
2918
2918
  @path.setter
2919
- def path(self, value: Optional[pulumi.Input[str]]):
2919
+ def path(self, value: Optional[pulumi.Input[_builtins.str]]):
2920
2920
  pulumi.set(self, "path", value)
2921
2921
 
2922
- @property
2922
+ @_builtins.property
2923
2923
  @pulumi.getter
2924
- def port(self) -> Optional[pulumi.Input[int]]:
2924
+ def port(self) -> Optional[pulumi.Input[_builtins.int]]:
2925
2925
  """
2926
2926
  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).
2927
2927
  """
2928
2928
  return pulumi.get(self, "port")
2929
2929
 
2930
2930
  @port.setter
2931
- def port(self, value: Optional[pulumi.Input[int]]):
2931
+ def port(self, value: Optional[pulumi.Input[_builtins.int]]):
2932
2932
  pulumi.set(self, "port", value)
2933
2933
 
2934
2934
 
@@ -2955,7 +2955,7 @@ class TypeCheckingArgs:
2955
2955
  if expression_warnings is not None:
2956
2956
  pulumi.set(__self__, "expression_warnings", expression_warnings)
2957
2957
 
2958
- @property
2958
+ @_builtins.property
2959
2959
  @pulumi.getter(name="expressionWarnings")
2960
2960
  def expression_warnings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ExpressionWarningArgs']]]]:
2961
2961
  """
@@ -2981,11 +2981,11 @@ if not MYPY:
2981
2981
  """
2982
2982
  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.
2983
2983
  """
2984
- policy_name: NotRequired[pulumi.Input[str]]
2984
+ policy_name: NotRequired[pulumi.Input[_builtins.str]]
2985
2985
  """
2986
2986
  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.
2987
2987
  """
2988
- validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2988
+ validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
2989
2989
  """
2990
2990
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
2991
2991
 
@@ -2999,7 +2999,7 @@ if not MYPY:
2999
2999
 
3000
3000
  "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.
3001
3001
 
3002
- "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"]}]"`
3002
+ "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\\"]}]"`
3003
3003
 
3004
3004
  Clients should expect to handle additional values by ignoring any values not recognized.
3005
3005
 
@@ -3015,14 +3015,14 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3015
3015
  def __init__(__self__, *,
3016
3016
  match_resources: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
3017
3017
  param_ref: Optional[pulumi.Input['ParamRefPatchArgs']] = None,
3018
- policy_name: Optional[pulumi.Input[str]] = None,
3019
- validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
3018
+ policy_name: Optional[pulumi.Input[_builtins.str]] = None,
3019
+ validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
3020
3020
  """
3021
3021
  ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
3022
3022
  :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.
3023
3023
  :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.
3024
- :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.
3025
- :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.
3024
+ :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.
3025
+ :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.
3026
3026
 
3027
3027
  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.
3028
3028
 
@@ -3034,7 +3034,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3034
3034
 
3035
3035
  "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.
3036
3036
 
3037
- "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"]}]"`
3037
+ "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\\"]}]"`
3038
3038
 
3039
3039
  Clients should expect to handle additional values by ignoring any values not recognized.
3040
3040
 
@@ -3051,7 +3051,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3051
3051
  if validation_actions is not None:
3052
3052
  pulumi.set(__self__, "validation_actions", validation_actions)
3053
3053
 
3054
- @property
3054
+ @_builtins.property
3055
3055
  @pulumi.getter(name="matchResources")
3056
3056
  def match_resources(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
3057
3057
  """
@@ -3063,7 +3063,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3063
3063
  def match_resources(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
3064
3064
  pulumi.set(self, "match_resources", value)
3065
3065
 
3066
- @property
3066
+ @_builtins.property
3067
3067
  @pulumi.getter(name="paramRef")
3068
3068
  def param_ref(self) -> Optional[pulumi.Input['ParamRefPatchArgs']]:
3069
3069
  """
@@ -3075,21 +3075,21 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3075
3075
  def param_ref(self, value: Optional[pulumi.Input['ParamRefPatchArgs']]):
3076
3076
  pulumi.set(self, "param_ref", value)
3077
3077
 
3078
- @property
3078
+ @_builtins.property
3079
3079
  @pulumi.getter(name="policyName")
3080
- def policy_name(self) -> Optional[pulumi.Input[str]]:
3080
+ def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
3081
3081
  """
3082
3082
  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.
3083
3083
  """
3084
3084
  return pulumi.get(self, "policy_name")
3085
3085
 
3086
3086
  @policy_name.setter
3087
- def policy_name(self, value: Optional[pulumi.Input[str]]):
3087
+ def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
3088
3088
  pulumi.set(self, "policy_name", value)
3089
3089
 
3090
- @property
3090
+ @_builtins.property
3091
3091
  @pulumi.getter(name="validationActions")
3092
- def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
3092
+ def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
3093
3093
  """
3094
3094
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3095
3095
 
@@ -3103,7 +3103,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3103
3103
 
3104
3104
  "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.
3105
3105
 
3106
- "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"]}]"`
3106
+ "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\\"]}]"`
3107
3107
 
3108
3108
  Clients should expect to handle additional values by ignoring any values not recognized.
3109
3109
 
@@ -3114,7 +3114,7 @@ class ValidatingAdmissionPolicyBindingSpecPatchArgs:
3114
3114
  return pulumi.get(self, "validation_actions")
3115
3115
 
3116
3116
  @validation_actions.setter
3117
- def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
3117
+ def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
3118
3118
  pulumi.set(self, "validation_actions", value)
3119
3119
 
3120
3120
 
@@ -3131,11 +3131,11 @@ if not MYPY:
3131
3131
  """
3132
3132
  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.
3133
3133
  """
3134
- policy_name: NotRequired[pulumi.Input[str]]
3134
+ policy_name: NotRequired[pulumi.Input[_builtins.str]]
3135
3135
  """
3136
3136
  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.
3137
3137
  """
3138
- validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
3138
+ validation_actions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
3139
3139
  """
3140
3140
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3141
3141
 
@@ -3149,7 +3149,7 @@ if not MYPY:
3149
3149
 
3150
3150
  "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.
3151
3151
 
3152
- "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"]}]"`
3152
+ "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\\"]}]"`
3153
3153
 
3154
3154
  Clients should expect to handle additional values by ignoring any values not recognized.
3155
3155
 
@@ -3165,14 +3165,14 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3165
3165
  def __init__(__self__, *,
3166
3166
  match_resources: Optional[pulumi.Input['MatchResourcesArgs']] = None,
3167
3167
  param_ref: Optional[pulumi.Input['ParamRefArgs']] = None,
3168
- policy_name: Optional[pulumi.Input[str]] = None,
3169
- validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
3168
+ policy_name: Optional[pulumi.Input[_builtins.str]] = None,
3169
+ validation_actions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
3170
3170
  """
3171
3171
  ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
3172
3172
  :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.
3173
3173
  :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.
3174
- :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.
3175
- :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.
3174
+ :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.
3175
+ :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.
3176
3176
 
3177
3177
  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.
3178
3178
 
@@ -3184,7 +3184,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3184
3184
 
3185
3185
  "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.
3186
3186
 
3187
- "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
+ "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\\"]}]"`
3188
3188
 
3189
3189
  Clients should expect to handle additional values by ignoring any values not recognized.
3190
3190
 
@@ -3201,7 +3201,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3201
3201
  if validation_actions is not None:
3202
3202
  pulumi.set(__self__, "validation_actions", validation_actions)
3203
3203
 
3204
- @property
3204
+ @_builtins.property
3205
3205
  @pulumi.getter(name="matchResources")
3206
3206
  def match_resources(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
3207
3207
  """
@@ -3213,7 +3213,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3213
3213
  def match_resources(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
3214
3214
  pulumi.set(self, "match_resources", value)
3215
3215
 
3216
- @property
3216
+ @_builtins.property
3217
3217
  @pulumi.getter(name="paramRef")
3218
3218
  def param_ref(self) -> Optional[pulumi.Input['ParamRefArgs']]:
3219
3219
  """
@@ -3225,21 +3225,21 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3225
3225
  def param_ref(self, value: Optional[pulumi.Input['ParamRefArgs']]):
3226
3226
  pulumi.set(self, "param_ref", value)
3227
3227
 
3228
- @property
3228
+ @_builtins.property
3229
3229
  @pulumi.getter(name="policyName")
3230
- def policy_name(self) -> Optional[pulumi.Input[str]]:
3230
+ def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
3231
3231
  """
3232
3232
  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.
3233
3233
  """
3234
3234
  return pulumi.get(self, "policy_name")
3235
3235
 
3236
3236
  @policy_name.setter
3237
- def policy_name(self, value: Optional[pulumi.Input[str]]):
3237
+ def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
3238
3238
  pulumi.set(self, "policy_name", value)
3239
3239
 
3240
- @property
3240
+ @_builtins.property
3241
3241
  @pulumi.getter(name="validationActions")
3242
- def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
3242
+ def validation_actions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
3243
3243
  """
3244
3244
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
3245
3245
 
@@ -3253,7 +3253,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3253
3253
 
3254
3254
  "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.
3255
3255
 
3256
- "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"]}]"`
3256
+ "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\\"]}]"`
3257
3257
 
3258
3258
  Clients should expect to handle additional values by ignoring any values not recognized.
3259
3259
 
@@ -3264,7 +3264,7 @@ class ValidatingAdmissionPolicyBindingSpecArgs:
3264
3264
  return pulumi.get(self, "validation_actions")
3265
3265
 
3266
3266
  @validation_actions.setter
3267
- def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
3267
+ def validation_actions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
3268
3268
  pulumi.set(self, "validation_actions", value)
3269
3269
 
3270
3270
 
@@ -3277,11 +3277,11 @@ if not MYPY:
3277
3277
 
3278
3278
  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.
3279
3279
  """
3280
- api_version: NotRequired[pulumi.Input[str]]
3280
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
3281
3281
  """
3282
3282
  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
3283
3283
  """
3284
- kind: NotRequired[pulumi.Input[str]]
3284
+ kind: NotRequired[pulumi.Input[_builtins.str]]
3285
3285
  """
3286
3286
  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
3287
3287
  """
@@ -3299,8 +3299,8 @@ elif False:
3299
3299
  @pulumi.input_type
3300
3300
  class ValidatingAdmissionPolicyBindingArgs:
3301
3301
  def __init__(__self__, *,
3302
- api_version: Optional[pulumi.Input[str]] = None,
3303
- kind: Optional[pulumi.Input[str]] = None,
3302
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
3303
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
3304
3304
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
3305
3305
  spec: Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']] = None):
3306
3306
  """
@@ -3309,8 +3309,8 @@ class ValidatingAdmissionPolicyBindingArgs:
3309
3309
  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.
3310
3310
 
3311
3311
  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.
3312
- :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
3313
- :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
3312
+ :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
3313
+ :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
3314
3314
  :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.
3315
3315
  :param pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
3316
3316
  """
@@ -3323,31 +3323,31 @@ class ValidatingAdmissionPolicyBindingArgs:
3323
3323
  if spec is not None:
3324
3324
  pulumi.set(__self__, "spec", spec)
3325
3325
 
3326
- @property
3326
+ @_builtins.property
3327
3327
  @pulumi.getter(name="apiVersion")
3328
- def api_version(self) -> Optional[pulumi.Input[str]]:
3328
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
3329
3329
  """
3330
3330
  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
3331
3331
  """
3332
3332
  return pulumi.get(self, "api_version")
3333
3333
 
3334
3334
  @api_version.setter
3335
- def api_version(self, value: Optional[pulumi.Input[str]]):
3335
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
3336
3336
  pulumi.set(self, "api_version", value)
3337
3337
 
3338
- @property
3338
+ @_builtins.property
3339
3339
  @pulumi.getter
3340
- def kind(self) -> Optional[pulumi.Input[str]]:
3340
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
3341
3341
  """
3342
3342
  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
3343
3343
  """
3344
3344
  return pulumi.get(self, "kind")
3345
3345
 
3346
3346
  @kind.setter
3347
- def kind(self, value: Optional[pulumi.Input[str]]):
3347
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
3348
3348
  pulumi.set(self, "kind", value)
3349
3349
 
3350
- @property
3350
+ @_builtins.property
3351
3351
  @pulumi.getter
3352
3352
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
3353
3353
  """
@@ -3359,7 +3359,7 @@ class ValidatingAdmissionPolicyBindingArgs:
3359
3359
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
3360
3360
  pulumi.set(self, "metadata", value)
3361
3361
 
3362
- @property
3362
+ @_builtins.property
3363
3363
  @pulumi.getter
3364
3364
  def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyBindingSpecArgs']]:
3365
3365
  """
@@ -3381,7 +3381,7 @@ if not MYPY:
3381
3381
  """
3382
3382
  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.
3383
3383
  """
3384
- failure_policy: NotRequired[pulumi.Input[str]]
3384
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
3385
3385
  """
3386
3386
  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.
3387
3387
 
@@ -3431,7 +3431,7 @@ elif False:
3431
3431
  class ValidatingAdmissionPolicySpecPatchArgs:
3432
3432
  def __init__(__self__, *,
3433
3433
  audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]] = None,
3434
- failure_policy: Optional[pulumi.Input[str]] = None,
3434
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
3435
3435
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]] = None,
3436
3436
  match_constraints: Optional[pulumi.Input['MatchResourcesPatchArgs']] = None,
3437
3437
  param_kind: Optional[pulumi.Input['ParamKindPatchArgs']] = None,
@@ -3440,7 +3440,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3440
3440
  """
3441
3441
  ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
3442
3442
  :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.
3443
- :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.
3443
+ :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.
3444
3444
 
3445
3445
  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.
3446
3446
 
@@ -3481,7 +3481,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3481
3481
  if variables is not None:
3482
3482
  pulumi.set(__self__, "variables", variables)
3483
3483
 
3484
- @property
3484
+ @_builtins.property
3485
3485
  @pulumi.getter(name="auditAnnotations")
3486
3486
  def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]:
3487
3487
  """
@@ -3493,9 +3493,9 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3493
3493
  def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationPatchArgs']]]]):
3494
3494
  pulumi.set(self, "audit_annotations", value)
3495
3495
 
3496
- @property
3496
+ @_builtins.property
3497
3497
  @pulumi.getter(name="failurePolicy")
3498
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
3498
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
3499
3499
  """
3500
3500
  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.
3501
3501
 
@@ -3510,10 +3510,10 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3510
3510
  return pulumi.get(self, "failure_policy")
3511
3511
 
3512
3512
  @failure_policy.setter
3513
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
3513
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
3514
3514
  pulumi.set(self, "failure_policy", value)
3515
3515
 
3516
- @property
3516
+ @_builtins.property
3517
3517
  @pulumi.getter(name="matchConditions")
3518
3518
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]:
3519
3519
  """
@@ -3534,7 +3534,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3534
3534
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionPatchArgs']]]]):
3535
3535
  pulumi.set(self, "match_conditions", value)
3536
3536
 
3537
- @property
3537
+ @_builtins.property
3538
3538
  @pulumi.getter(name="matchConstraints")
3539
3539
  def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesPatchArgs']]:
3540
3540
  """
@@ -3546,7 +3546,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3546
3546
  def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesPatchArgs']]):
3547
3547
  pulumi.set(self, "match_constraints", value)
3548
3548
 
3549
- @property
3549
+ @_builtins.property
3550
3550
  @pulumi.getter(name="paramKind")
3551
3551
  def param_kind(self) -> Optional[pulumi.Input['ParamKindPatchArgs']]:
3552
3552
  """
@@ -3558,7 +3558,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3558
3558
  def param_kind(self, value: Optional[pulumi.Input['ParamKindPatchArgs']]):
3559
3559
  pulumi.set(self, "param_kind", value)
3560
3560
 
3561
- @property
3561
+ @_builtins.property
3562
3562
  @pulumi.getter
3563
3563
  def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]:
3564
3564
  """
@@ -3570,7 +3570,7 @@ class ValidatingAdmissionPolicySpecPatchArgs:
3570
3570
  def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationPatchArgs']]]]):
3571
3571
  pulumi.set(self, "validations", value)
3572
3572
 
3573
- @property
3573
+ @_builtins.property
3574
3574
  @pulumi.getter
3575
3575
  def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariablePatchArgs']]]]:
3576
3576
  """
@@ -3594,7 +3594,7 @@ if not MYPY:
3594
3594
  """
3595
3595
  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.
3596
3596
  """
3597
- failure_policy: NotRequired[pulumi.Input[str]]
3597
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
3598
3598
  """
3599
3599
  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.
3600
3600
 
@@ -3644,7 +3644,7 @@ elif False:
3644
3644
  class ValidatingAdmissionPolicySpecArgs:
3645
3645
  def __init__(__self__, *,
3646
3646
  audit_annotations: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]] = None,
3647
- failure_policy: Optional[pulumi.Input[str]] = None,
3647
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
3648
3648
  match_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]] = None,
3649
3649
  match_constraints: Optional[pulumi.Input['MatchResourcesArgs']] = None,
3650
3650
  param_kind: Optional[pulumi.Input['ParamKindArgs']] = None,
@@ -3653,7 +3653,7 @@ class ValidatingAdmissionPolicySpecArgs:
3653
3653
  """
3654
3654
  ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
3655
3655
  :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.
3656
- :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.
3656
+ :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.
3657
3657
 
3658
3658
  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.
3659
3659
 
@@ -3694,7 +3694,7 @@ class ValidatingAdmissionPolicySpecArgs:
3694
3694
  if variables is not None:
3695
3695
  pulumi.set(__self__, "variables", variables)
3696
3696
 
3697
- @property
3697
+ @_builtins.property
3698
3698
  @pulumi.getter(name="auditAnnotations")
3699
3699
  def audit_annotations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]:
3700
3700
  """
@@ -3706,9 +3706,9 @@ class ValidatingAdmissionPolicySpecArgs:
3706
3706
  def audit_annotations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AuditAnnotationArgs']]]]):
3707
3707
  pulumi.set(self, "audit_annotations", value)
3708
3708
 
3709
- @property
3709
+ @_builtins.property
3710
3710
  @pulumi.getter(name="failurePolicy")
3711
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
3711
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
3712
3712
  """
3713
3713
  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.
3714
3714
 
@@ -3723,10 +3723,10 @@ class ValidatingAdmissionPolicySpecArgs:
3723
3723
  return pulumi.get(self, "failure_policy")
3724
3724
 
3725
3725
  @failure_policy.setter
3726
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
3726
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
3727
3727
  pulumi.set(self, "failure_policy", value)
3728
3728
 
3729
- @property
3729
+ @_builtins.property
3730
3730
  @pulumi.getter(name="matchConditions")
3731
3731
  def match_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]:
3732
3732
  """
@@ -3747,7 +3747,7 @@ class ValidatingAdmissionPolicySpecArgs:
3747
3747
  def match_conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MatchConditionArgs']]]]):
3748
3748
  pulumi.set(self, "match_conditions", value)
3749
3749
 
3750
- @property
3750
+ @_builtins.property
3751
3751
  @pulumi.getter(name="matchConstraints")
3752
3752
  def match_constraints(self) -> Optional[pulumi.Input['MatchResourcesArgs']]:
3753
3753
  """
@@ -3759,7 +3759,7 @@ class ValidatingAdmissionPolicySpecArgs:
3759
3759
  def match_constraints(self, value: Optional[pulumi.Input['MatchResourcesArgs']]):
3760
3760
  pulumi.set(self, "match_constraints", value)
3761
3761
 
3762
- @property
3762
+ @_builtins.property
3763
3763
  @pulumi.getter(name="paramKind")
3764
3764
  def param_kind(self) -> Optional[pulumi.Input['ParamKindArgs']]:
3765
3765
  """
@@ -3771,7 +3771,7 @@ class ValidatingAdmissionPolicySpecArgs:
3771
3771
  def param_kind(self, value: Optional[pulumi.Input['ParamKindArgs']]):
3772
3772
  pulumi.set(self, "param_kind", value)
3773
3773
 
3774
- @property
3774
+ @_builtins.property
3775
3775
  @pulumi.getter
3776
3776
  def validations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]]:
3777
3777
  """
@@ -3783,7 +3783,7 @@ class ValidatingAdmissionPolicySpecArgs:
3783
3783
  def validations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ValidationArgs']]]]):
3784
3784
  pulumi.set(self, "validations", value)
3785
3785
 
3786
- @property
3786
+ @_builtins.property
3787
3787
  @pulumi.getter
3788
3788
  def variables(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VariableArgs']]]]:
3789
3789
  """
@@ -3807,7 +3807,7 @@ if not MYPY:
3807
3807
  """
3808
3808
  The conditions represent the latest available observations of a policy's current state.
3809
3809
  """
3810
- observed_generation: NotRequired[pulumi.Input[int]]
3810
+ observed_generation: NotRequired[pulumi.Input[_builtins.int]]
3811
3811
  """
3812
3812
  The generation observed by the controller.
3813
3813
  """
@@ -3822,12 +3822,12 @@ elif False:
3822
3822
  class ValidatingAdmissionPolicyStatusArgs:
3823
3823
  def __init__(__self__, *,
3824
3824
  conditions: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]] = None,
3825
- observed_generation: Optional[pulumi.Input[int]] = None,
3825
+ observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
3826
3826
  type_checking: Optional[pulumi.Input['TypeCheckingArgs']] = None):
3827
3827
  """
3828
3828
  ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
3829
3829
  :param pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]] conditions: The conditions represent the latest available observations of a policy's current state.
3830
- :param pulumi.Input[int] observed_generation: The generation observed by the controller.
3830
+ :param pulumi.Input[_builtins.int] observed_generation: The generation observed by the controller.
3831
3831
  :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.
3832
3832
  """
3833
3833
  if conditions is not None:
@@ -3837,7 +3837,7 @@ class ValidatingAdmissionPolicyStatusArgs:
3837
3837
  if type_checking is not None:
3838
3838
  pulumi.set(__self__, "type_checking", type_checking)
3839
3839
 
3840
- @property
3840
+ @_builtins.property
3841
3841
  @pulumi.getter
3842
3842
  def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]:
3843
3843
  """
@@ -3849,19 +3849,19 @@ class ValidatingAdmissionPolicyStatusArgs:
3849
3849
  def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_meta.v1.ConditionArgs']]]]):
3850
3850
  pulumi.set(self, "conditions", value)
3851
3851
 
3852
- @property
3852
+ @_builtins.property
3853
3853
  @pulumi.getter(name="observedGeneration")
3854
- def observed_generation(self) -> Optional[pulumi.Input[int]]:
3854
+ def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
3855
3855
  """
3856
3856
  The generation observed by the controller.
3857
3857
  """
3858
3858
  return pulumi.get(self, "observed_generation")
3859
3859
 
3860
3860
  @observed_generation.setter
3861
- def observed_generation(self, value: Optional[pulumi.Input[int]]):
3861
+ def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
3862
3862
  pulumi.set(self, "observed_generation", value)
3863
3863
 
3864
- @property
3864
+ @_builtins.property
3865
3865
  @pulumi.getter(name="typeChecking")
3866
3866
  def type_checking(self) -> Optional[pulumi.Input['TypeCheckingArgs']]:
3867
3867
  """
@@ -3879,11 +3879,11 @@ if not MYPY:
3879
3879
  """
3880
3880
  ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
3881
3881
  """
3882
- api_version: NotRequired[pulumi.Input[str]]
3882
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
3883
3883
  """
3884
3884
  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
3885
3885
  """
3886
- kind: NotRequired[pulumi.Input[str]]
3886
+ kind: NotRequired[pulumi.Input[_builtins.str]]
3887
3887
  """
3888
3888
  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
3889
3889
  """
@@ -3905,15 +3905,15 @@ elif False:
3905
3905
  @pulumi.input_type
3906
3906
  class ValidatingAdmissionPolicyArgs:
3907
3907
  def __init__(__self__, *,
3908
- api_version: Optional[pulumi.Input[str]] = None,
3909
- kind: Optional[pulumi.Input[str]] = None,
3908
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
3909
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
3910
3910
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
3911
3911
  spec: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']] = None,
3912
3912
  status: Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']] = None):
3913
3913
  """
3914
3914
  ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
3915
- :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
3916
- :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
3915
+ :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
3916
+ :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
3917
3917
  :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.
3918
3918
  :param pulumi.Input['ValidatingAdmissionPolicySpecArgs'] spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
3919
3919
  :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.
@@ -3929,31 +3929,31 @@ class ValidatingAdmissionPolicyArgs:
3929
3929
  if status is not None:
3930
3930
  pulumi.set(__self__, "status", status)
3931
3931
 
3932
- @property
3932
+ @_builtins.property
3933
3933
  @pulumi.getter(name="apiVersion")
3934
- def api_version(self) -> Optional[pulumi.Input[str]]:
3934
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
3935
3935
  """
3936
3936
  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
3937
3937
  """
3938
3938
  return pulumi.get(self, "api_version")
3939
3939
 
3940
3940
  @api_version.setter
3941
- def api_version(self, value: Optional[pulumi.Input[str]]):
3941
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
3942
3942
  pulumi.set(self, "api_version", value)
3943
3943
 
3944
- @property
3944
+ @_builtins.property
3945
3945
  @pulumi.getter
3946
- def kind(self) -> Optional[pulumi.Input[str]]:
3946
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
3947
3947
  """
3948
3948
  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
3949
3949
  """
3950
3950
  return pulumi.get(self, "kind")
3951
3951
 
3952
3952
  @kind.setter
3953
- def kind(self, value: Optional[pulumi.Input[str]]):
3953
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
3954
3954
  pulumi.set(self, "kind", value)
3955
3955
 
3956
- @property
3956
+ @_builtins.property
3957
3957
  @pulumi.getter
3958
3958
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
3959
3959
  """
@@ -3965,7 +3965,7 @@ class ValidatingAdmissionPolicyArgs:
3965
3965
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
3966
3966
  pulumi.set(self, "metadata", value)
3967
3967
 
3968
- @property
3968
+ @_builtins.property
3969
3969
  @pulumi.getter
3970
3970
  def spec(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]:
3971
3971
  """
@@ -3977,7 +3977,7 @@ class ValidatingAdmissionPolicyArgs:
3977
3977
  def spec(self, value: Optional[pulumi.Input['ValidatingAdmissionPolicySpecArgs']]):
3978
3978
  pulumi.set(self, "spec", value)
3979
3979
 
3980
- @property
3980
+ @_builtins.property
3981
3981
  @pulumi.getter
3982
3982
  def status(self) -> Optional[pulumi.Input['ValidatingAdmissionPolicyStatusArgs']]:
3983
3983
  """
@@ -3995,11 +3995,11 @@ if not MYPY:
3995
3995
  """
3996
3996
  ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
3997
3997
  """
3998
- api_version: NotRequired[pulumi.Input[str]]
3998
+ api_version: NotRequired[pulumi.Input[_builtins.str]]
3999
3999
  """
4000
4000
  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
4001
4001
  """
4002
- kind: NotRequired[pulumi.Input[str]]
4002
+ kind: NotRequired[pulumi.Input[_builtins.str]]
4003
4003
  """
4004
4004
  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
4005
4005
  """
@@ -4017,14 +4017,14 @@ elif False:
4017
4017
  @pulumi.input_type
4018
4018
  class ValidatingWebhookConfigurationArgs:
4019
4019
  def __init__(__self__, *,
4020
- api_version: Optional[pulumi.Input[str]] = None,
4021
- kind: Optional[pulumi.Input[str]] = None,
4020
+ api_version: Optional[pulumi.Input[_builtins.str]] = None,
4021
+ kind: Optional[pulumi.Input[_builtins.str]] = None,
4022
4022
  metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
4023
4023
  webhooks: Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]] = None):
4024
4024
  """
4025
4025
  ValidatingWebhookConfiguration describes the configuration of and admission webhook that accept or reject and object without changing it. Deprecated in v1.16, planned for removal in v1.19. Use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration instead.
4026
- :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
4027
- :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
4026
+ :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
4027
+ :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
4028
4028
  :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.
4029
4029
  :param pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
4030
4030
  """
@@ -4037,31 +4037,31 @@ class ValidatingWebhookConfigurationArgs:
4037
4037
  if webhooks is not None:
4038
4038
  pulumi.set(__self__, "webhooks", webhooks)
4039
4039
 
4040
- @property
4040
+ @_builtins.property
4041
4041
  @pulumi.getter(name="apiVersion")
4042
- def api_version(self) -> Optional[pulumi.Input[str]]:
4042
+ def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
4043
4043
  """
4044
4044
  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
4045
4045
  """
4046
4046
  return pulumi.get(self, "api_version")
4047
4047
 
4048
4048
  @api_version.setter
4049
- def api_version(self, value: Optional[pulumi.Input[str]]):
4049
+ def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
4050
4050
  pulumi.set(self, "api_version", value)
4051
4051
 
4052
- @property
4052
+ @_builtins.property
4053
4053
  @pulumi.getter
4054
- def kind(self) -> Optional[pulumi.Input[str]]:
4054
+ def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
4055
4055
  """
4056
4056
  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
4057
4057
  """
4058
4058
  return pulumi.get(self, "kind")
4059
4059
 
4060
4060
  @kind.setter
4061
- def kind(self, value: Optional[pulumi.Input[str]]):
4061
+ def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
4062
4062
  pulumi.set(self, "kind", value)
4063
4063
 
4064
- @property
4064
+ @_builtins.property
4065
4065
  @pulumi.getter
4066
4066
  def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
4067
4067
  """
@@ -4073,7 +4073,7 @@ class ValidatingWebhookConfigurationArgs:
4073
4073
  def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
4074
4074
  pulumi.set(self, "metadata", value)
4075
4075
 
4076
- @property
4076
+ @_builtins.property
4077
4077
  @pulumi.getter
4078
4078
  def webhooks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ValidatingWebhookArgs']]]]:
4079
4079
  """
@@ -4091,7 +4091,7 @@ if not MYPY:
4091
4091
  """
4092
4092
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4093
4093
  """
4094
- admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
4094
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
4095
4095
  """
4096
4096
  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. Default to `['v1beta1']`.
4097
4097
  """
@@ -4099,11 +4099,11 @@ if not MYPY:
4099
4099
  """
4100
4100
  ClientConfig defines how to communicate with the hook. Required
4101
4101
  """
4102
- failure_policy: NotRequired[pulumi.Input[str]]
4102
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
4103
4103
  """
4104
4104
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
4105
4105
  """
4106
- match_policy: NotRequired[pulumi.Input[str]]
4106
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
4107
4107
  """
4108
4108
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4109
4109
 
@@ -4113,7 +4113,7 @@ if not MYPY:
4113
4113
 
4114
4114
  Defaults to "Exact"
4115
4115
  """
4116
- name: NotRequired[pulumi.Input[str]]
4116
+ name: NotRequired[pulumi.Input[_builtins.str]]
4117
4117
  """
4118
4118
  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.
4119
4119
  """
@@ -4159,11 +4159,11 @@ if not MYPY:
4159
4159
  """
4160
4160
  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.
4161
4161
  """
4162
- side_effects: NotRequired[pulumi.Input[str]]
4162
+ side_effects: NotRequired[pulumi.Input[_builtins.str]]
4163
4163
  """
4164
4164
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4165
4165
  """
4166
- timeout_seconds: NotRequired[pulumi.Input[int]]
4166
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
4167
4167
  """
4168
4168
  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 30 seconds.
4169
4169
  """
@@ -4173,29 +4173,29 @@ elif False:
4173
4173
  @pulumi.input_type
4174
4174
  class ValidatingWebhookPatchArgs:
4175
4175
  def __init__(__self__, *,
4176
- admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
4176
+ admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
4177
4177
  client_config: Optional[pulumi.Input['WebhookClientConfigPatchArgs']] = None,
4178
- failure_policy: Optional[pulumi.Input[str]] = None,
4179
- match_policy: Optional[pulumi.Input[str]] = None,
4180
- name: Optional[pulumi.Input[str]] = None,
4178
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
4179
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
4180
+ name: Optional[pulumi.Input[_builtins.str]] = None,
4181
4181
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
4182
4182
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
4183
4183
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]] = None,
4184
- side_effects: Optional[pulumi.Input[str]] = None,
4185
- timeout_seconds: Optional[pulumi.Input[int]] = None):
4184
+ side_effects: Optional[pulumi.Input[_builtins.str]] = None,
4185
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
4186
4186
  """
4187
4187
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4188
- :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. Default to `['v1beta1']`.
4188
+ :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. Default to `['v1beta1']`.
4189
4189
  :param pulumi.Input['WebhookClientConfigPatchArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
4190
- :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 Ignore.
4191
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4190
+ :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 Ignore.
4191
+ :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".
4192
4192
 
4193
4193
  - 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.
4194
4194
 
4195
4195
  - 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.
4196
4196
 
4197
4197
  Defaults to "Exact"
4198
- :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.
4198
+ :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.
4199
4199
  :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.
4200
4200
 
4201
4201
  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": {
@@ -4229,8 +4229,8 @@ class ValidatingWebhookPatchArgs:
4229
4229
  Default to the empty LabelSelector, which matches everything.
4230
4230
  :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.
4231
4231
  :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.
4232
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4233
- :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 30 seconds.
4232
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4233
+ :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 30 seconds.
4234
4234
  """
4235
4235
  if admission_review_versions is not None:
4236
4236
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
@@ -4253,19 +4253,19 @@ class ValidatingWebhookPatchArgs:
4253
4253
  if timeout_seconds is not None:
4254
4254
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
4255
4255
 
4256
- @property
4256
+ @_builtins.property
4257
4257
  @pulumi.getter(name="admissionReviewVersions")
4258
- def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
4258
+ def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
4259
4259
  """
4260
4260
  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. Default to `['v1beta1']`.
4261
4261
  """
4262
4262
  return pulumi.get(self, "admission_review_versions")
4263
4263
 
4264
4264
  @admission_review_versions.setter
4265
- def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
4265
+ def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
4266
4266
  pulumi.set(self, "admission_review_versions", value)
4267
4267
 
4268
- @property
4268
+ @_builtins.property
4269
4269
  @pulumi.getter(name="clientConfig")
4270
4270
  def client_config(self) -> Optional[pulumi.Input['WebhookClientConfigPatchArgs']]:
4271
4271
  """
@@ -4277,21 +4277,21 @@ class ValidatingWebhookPatchArgs:
4277
4277
  def client_config(self, value: Optional[pulumi.Input['WebhookClientConfigPatchArgs']]):
4278
4278
  pulumi.set(self, "client_config", value)
4279
4279
 
4280
- @property
4280
+ @_builtins.property
4281
4281
  @pulumi.getter(name="failurePolicy")
4282
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
4282
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4283
4283
  """
4284
4284
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
4285
4285
  """
4286
4286
  return pulumi.get(self, "failure_policy")
4287
4287
 
4288
4288
  @failure_policy.setter
4289
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
4289
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4290
4290
  pulumi.set(self, "failure_policy", value)
4291
4291
 
4292
- @property
4292
+ @_builtins.property
4293
4293
  @pulumi.getter(name="matchPolicy")
4294
- def match_policy(self) -> Optional[pulumi.Input[str]]:
4294
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4295
4295
  """
4296
4296
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4297
4297
 
@@ -4304,22 +4304,22 @@ class ValidatingWebhookPatchArgs:
4304
4304
  return pulumi.get(self, "match_policy")
4305
4305
 
4306
4306
  @match_policy.setter
4307
- def match_policy(self, value: Optional[pulumi.Input[str]]):
4307
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4308
4308
  pulumi.set(self, "match_policy", value)
4309
4309
 
4310
- @property
4310
+ @_builtins.property
4311
4311
  @pulumi.getter
4312
- def name(self) -> Optional[pulumi.Input[str]]:
4312
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
4313
4313
  """
4314
4314
  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.
4315
4315
  """
4316
4316
  return pulumi.get(self, "name")
4317
4317
 
4318
4318
  @name.setter
4319
- def name(self, value: Optional[pulumi.Input[str]]):
4319
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
4320
4320
  pulumi.set(self, "name", value)
4321
4321
 
4322
- @property
4322
+ @_builtins.property
4323
4323
  @pulumi.getter(name="namespaceSelector")
4324
4324
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
4325
4325
  """
@@ -4361,7 +4361,7 @@ class ValidatingWebhookPatchArgs:
4361
4361
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
4362
4362
  pulumi.set(self, "namespace_selector", value)
4363
4363
 
4364
- @property
4364
+ @_builtins.property
4365
4365
  @pulumi.getter(name="objectSelector")
4366
4366
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
4367
4367
  """
@@ -4373,7 +4373,7 @@ class ValidatingWebhookPatchArgs:
4373
4373
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
4374
4374
  pulumi.set(self, "object_selector", value)
4375
4375
 
4376
- @property
4376
+ @_builtins.property
4377
4377
  @pulumi.getter
4378
4378
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]:
4379
4379
  """
@@ -4385,28 +4385,28 @@ class ValidatingWebhookPatchArgs:
4385
4385
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsPatchArgs']]]]):
4386
4386
  pulumi.set(self, "rules", value)
4387
4387
 
4388
- @property
4388
+ @_builtins.property
4389
4389
  @pulumi.getter(name="sideEffects")
4390
- def side_effects(self) -> Optional[pulumi.Input[str]]:
4390
+ def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
4391
4391
  """
4392
4392
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4393
4393
  """
4394
4394
  return pulumi.get(self, "side_effects")
4395
4395
 
4396
4396
  @side_effects.setter
4397
- def side_effects(self, value: Optional[pulumi.Input[str]]):
4397
+ def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
4398
4398
  pulumi.set(self, "side_effects", value)
4399
4399
 
4400
- @property
4400
+ @_builtins.property
4401
4401
  @pulumi.getter(name="timeoutSeconds")
4402
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
4402
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
4403
4403
  """
4404
4404
  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 30 seconds.
4405
4405
  """
4406
4406
  return pulumi.get(self, "timeout_seconds")
4407
4407
 
4408
4408
  @timeout_seconds.setter
4409
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
4409
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
4410
4410
  pulumi.set(self, "timeout_seconds", value)
4411
4411
 
4412
4412
 
@@ -4419,19 +4419,19 @@ if not MYPY:
4419
4419
  """
4420
4420
  ClientConfig defines how to communicate with the hook. Required
4421
4421
  """
4422
- name: pulumi.Input[str]
4422
+ name: pulumi.Input[_builtins.str]
4423
4423
  """
4424
4424
  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.
4425
4425
  """
4426
- admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
4426
+ admission_review_versions: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
4427
4427
  """
4428
4428
  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. Default to `['v1beta1']`.
4429
4429
  """
4430
- failure_policy: NotRequired[pulumi.Input[str]]
4430
+ failure_policy: NotRequired[pulumi.Input[_builtins.str]]
4431
4431
  """
4432
4432
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
4433
4433
  """
4434
- match_policy: NotRequired[pulumi.Input[str]]
4434
+ match_policy: NotRequired[pulumi.Input[_builtins.str]]
4435
4435
  """
4436
4436
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4437
4437
 
@@ -4483,11 +4483,11 @@ if not MYPY:
4483
4483
  """
4484
4484
  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.
4485
4485
  """
4486
- side_effects: NotRequired[pulumi.Input[str]]
4486
+ side_effects: NotRequired[pulumi.Input[_builtins.str]]
4487
4487
  """
4488
4488
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4489
4489
  """
4490
- timeout_seconds: NotRequired[pulumi.Input[int]]
4490
+ timeout_seconds: NotRequired[pulumi.Input[_builtins.int]]
4491
4491
  """
4492
4492
  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 30 seconds.
4493
4493
  """
@@ -4498,22 +4498,22 @@ elif False:
4498
4498
  class ValidatingWebhookArgs:
4499
4499
  def __init__(__self__, *,
4500
4500
  client_config: pulumi.Input['WebhookClientConfigArgs'],
4501
- name: pulumi.Input[str],
4502
- admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
4503
- failure_policy: Optional[pulumi.Input[str]] = None,
4504
- match_policy: Optional[pulumi.Input[str]] = None,
4501
+ name: pulumi.Input[_builtins.str],
4502
+ admission_review_versions: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
4503
+ failure_policy: Optional[pulumi.Input[_builtins.str]] = None,
4504
+ match_policy: Optional[pulumi.Input[_builtins.str]] = None,
4505
4505
  namespace_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
4506
4506
  object_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
4507
4507
  rules: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]] = None,
4508
- side_effects: Optional[pulumi.Input[str]] = None,
4509
- timeout_seconds: Optional[pulumi.Input[int]] = None):
4508
+ side_effects: Optional[pulumi.Input[_builtins.str]] = None,
4509
+ timeout_seconds: Optional[pulumi.Input[_builtins.int]] = None):
4510
4510
  """
4511
4511
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
4512
4512
  :param pulumi.Input['WebhookClientConfigArgs'] client_config: ClientConfig defines how to communicate with the hook. Required
4513
- :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.
4514
- :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. Default to `['v1beta1']`.
4515
- :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 Ignore.
4516
- :param pulumi.Input[str] match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4513
+ :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.
4514
+ :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. Default to `['v1beta1']`.
4515
+ :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 Ignore.
4516
+ :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".
4517
4517
 
4518
4518
  - 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.
4519
4519
 
@@ -4553,8 +4553,8 @@ class ValidatingWebhookArgs:
4553
4553
  Default to the empty LabelSelector, which matches everything.
4554
4554
  :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.
4555
4555
  :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.
4556
- :param pulumi.Input[str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4557
- :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 30 seconds.
4556
+ :param pulumi.Input[_builtins.str] side_effects: SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4557
+ :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 30 seconds.
4558
4558
  """
4559
4559
  pulumi.set(__self__, "client_config", client_config)
4560
4560
  pulumi.set(__self__, "name", name)
@@ -4575,7 +4575,7 @@ class ValidatingWebhookArgs:
4575
4575
  if timeout_seconds is not None:
4576
4576
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
4577
4577
 
4578
- @property
4578
+ @_builtins.property
4579
4579
  @pulumi.getter(name="clientConfig")
4580
4580
  def client_config(self) -> pulumi.Input['WebhookClientConfigArgs']:
4581
4581
  """
@@ -4587,45 +4587,45 @@ class ValidatingWebhookArgs:
4587
4587
  def client_config(self, value: pulumi.Input['WebhookClientConfigArgs']):
4588
4588
  pulumi.set(self, "client_config", value)
4589
4589
 
4590
- @property
4590
+ @_builtins.property
4591
4591
  @pulumi.getter
4592
- def name(self) -> pulumi.Input[str]:
4592
+ def name(self) -> pulumi.Input[_builtins.str]:
4593
4593
  """
4594
4594
  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.
4595
4595
  """
4596
4596
  return pulumi.get(self, "name")
4597
4597
 
4598
4598
  @name.setter
4599
- def name(self, value: pulumi.Input[str]):
4599
+ def name(self, value: pulumi.Input[_builtins.str]):
4600
4600
  pulumi.set(self, "name", value)
4601
4601
 
4602
- @property
4602
+ @_builtins.property
4603
4603
  @pulumi.getter(name="admissionReviewVersions")
4604
- def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
4604
+ def admission_review_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
4605
4605
  """
4606
4606
  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. Default to `['v1beta1']`.
4607
4607
  """
4608
4608
  return pulumi.get(self, "admission_review_versions")
4609
4609
 
4610
4610
  @admission_review_versions.setter
4611
- def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
4611
+ def admission_review_versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
4612
4612
  pulumi.set(self, "admission_review_versions", value)
4613
4613
 
4614
- @property
4614
+ @_builtins.property
4615
4615
  @pulumi.getter(name="failurePolicy")
4616
- def failure_policy(self) -> Optional[pulumi.Input[str]]:
4616
+ def failure_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4617
4617
  """
4618
4618
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
4619
4619
  """
4620
4620
  return pulumi.get(self, "failure_policy")
4621
4621
 
4622
4622
  @failure_policy.setter
4623
- def failure_policy(self, value: Optional[pulumi.Input[str]]):
4623
+ def failure_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4624
4624
  pulumi.set(self, "failure_policy", value)
4625
4625
 
4626
- @property
4626
+ @_builtins.property
4627
4627
  @pulumi.getter(name="matchPolicy")
4628
- def match_policy(self) -> Optional[pulumi.Input[str]]:
4628
+ def match_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
4629
4629
  """
4630
4630
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
4631
4631
 
@@ -4638,10 +4638,10 @@ class ValidatingWebhookArgs:
4638
4638
  return pulumi.get(self, "match_policy")
4639
4639
 
4640
4640
  @match_policy.setter
4641
- def match_policy(self, value: Optional[pulumi.Input[str]]):
4641
+ def match_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
4642
4642
  pulumi.set(self, "match_policy", value)
4643
4643
 
4644
- @property
4644
+ @_builtins.property
4645
4645
  @pulumi.getter(name="namespaceSelector")
4646
4646
  def namespace_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
4647
4647
  """
@@ -4683,7 +4683,7 @@ class ValidatingWebhookArgs:
4683
4683
  def namespace_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
4684
4684
  pulumi.set(self, "namespace_selector", value)
4685
4685
 
4686
- @property
4686
+ @_builtins.property
4687
4687
  @pulumi.getter(name="objectSelector")
4688
4688
  def object_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
4689
4689
  """
@@ -4695,7 +4695,7 @@ class ValidatingWebhookArgs:
4695
4695
  def object_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
4696
4696
  pulumi.set(self, "object_selector", value)
4697
4697
 
4698
- @property
4698
+ @_builtins.property
4699
4699
  @pulumi.getter
4700
4700
  def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]:
4701
4701
  """
@@ -4707,28 +4707,28 @@ class ValidatingWebhookArgs:
4707
4707
  def rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RuleWithOperationsArgs']]]]):
4708
4708
  pulumi.set(self, "rules", value)
4709
4709
 
4710
- @property
4710
+ @_builtins.property
4711
4711
  @pulumi.getter(name="sideEffects")
4712
- def side_effects(self) -> Optional[pulumi.Input[str]]:
4712
+ def side_effects(self) -> Optional[pulumi.Input[_builtins.str]]:
4713
4713
  """
4714
4714
  SideEffects states whether this webhook has side effects. Acceptable values are: Unknown, None, Some, NoneOnDryRun Webhooks with side effects MUST implement a reconciliation system, since a request may be rejected by a future step in the admission change 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. Defaults to Unknown.
4715
4715
  """
4716
4716
  return pulumi.get(self, "side_effects")
4717
4717
 
4718
4718
  @side_effects.setter
4719
- def side_effects(self, value: Optional[pulumi.Input[str]]):
4719
+ def side_effects(self, value: Optional[pulumi.Input[_builtins.str]]):
4720
4720
  pulumi.set(self, "side_effects", value)
4721
4721
 
4722
- @property
4722
+ @_builtins.property
4723
4723
  @pulumi.getter(name="timeoutSeconds")
4724
- def timeout_seconds(self) -> Optional[pulumi.Input[int]]:
4724
+ def timeout_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
4725
4725
  """
4726
4726
  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 30 seconds.
4727
4727
  """
4728
4728
  return pulumi.get(self, "timeout_seconds")
4729
4729
 
4730
4730
  @timeout_seconds.setter
4731
- def timeout_seconds(self, value: Optional[pulumi.Input[int]]):
4731
+ def timeout_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
4732
4732
  pulumi.set(self, "timeout_seconds", value)
4733
4733
 
4734
4734
 
@@ -4737,7 +4737,7 @@ if not MYPY:
4737
4737
  """
4738
4738
  Validation specifies the CEL expression which is used to apply the validation.
4739
4739
  """
4740
- expression: NotRequired[pulumi.Input[str]]
4740
+ expression: NotRequired[pulumi.Input[_builtins.str]]
4741
4741
  """
4742
4742
  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:
4743
4743
 
@@ -4766,15 +4766,15 @@ if not MYPY:
4766
4766
  non-intersecting keys are appended, retaining their partial order.
4767
4767
  Required.
4768
4768
  """
4769
- message: NotRequired[pulumi.Input[str]]
4769
+ message: NotRequired[pulumi.Input[_builtins.str]]
4770
4770
  """
4771
4771
  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}".
4772
4772
  """
4773
- message_expression: NotRequired[pulumi.Input[str]]
4773
+ message_expression: NotRequired[pulumi.Input[_builtins.str]]
4774
4774
  """
4775
4775
  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)+")"
4776
4776
  """
4777
- reason: NotRequired[pulumi.Input[str]]
4777
+ reason: NotRequired[pulumi.Input[_builtins.str]]
4778
4778
  """
4779
4779
  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.
4780
4780
  """
@@ -4784,13 +4784,13 @@ elif False:
4784
4784
  @pulumi.input_type
4785
4785
  class ValidationPatchArgs:
4786
4786
  def __init__(__self__, *,
4787
- expression: Optional[pulumi.Input[str]] = None,
4788
- message: Optional[pulumi.Input[str]] = None,
4789
- message_expression: Optional[pulumi.Input[str]] = None,
4790
- reason: Optional[pulumi.Input[str]] = None):
4787
+ expression: Optional[pulumi.Input[_builtins.str]] = None,
4788
+ message: Optional[pulumi.Input[_builtins.str]] = None,
4789
+ message_expression: Optional[pulumi.Input[_builtins.str]] = None,
4790
+ reason: Optional[pulumi.Input[_builtins.str]] = None):
4791
4791
  """
4792
4792
  Validation specifies the CEL expression which is used to apply the validation.
4793
- :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:
4793
+ :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:
4794
4794
 
4795
4795
  - '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.
4796
4796
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
@@ -4816,9 +4816,9 @@ class ValidationPatchArgs:
4816
4816
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
4817
4817
  non-intersecting keys are appended, retaining their partial order.
4818
4818
  Required.
4819
- :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}".
4820
- :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)+")"
4821
- :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.
4819
+ :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}".
4820
+ :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)+")"
4821
+ :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.
4822
4822
  """
4823
4823
  if expression is not None:
4824
4824
  pulumi.set(__self__, "expression", expression)
@@ -4829,9 +4829,9 @@ class ValidationPatchArgs:
4829
4829
  if reason is not None:
4830
4830
  pulumi.set(__self__, "reason", reason)
4831
4831
 
4832
- @property
4832
+ @_builtins.property
4833
4833
  @pulumi.getter
4834
- def expression(self) -> Optional[pulumi.Input[str]]:
4834
+ def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
4835
4835
  """
4836
4836
  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:
4837
4837
 
@@ -4863,43 +4863,43 @@ class ValidationPatchArgs:
4863
4863
  return pulumi.get(self, "expression")
4864
4864
 
4865
4865
  @expression.setter
4866
- def expression(self, value: Optional[pulumi.Input[str]]):
4866
+ def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
4867
4867
  pulumi.set(self, "expression", value)
4868
4868
 
4869
- @property
4869
+ @_builtins.property
4870
4870
  @pulumi.getter
4871
- def message(self) -> Optional[pulumi.Input[str]]:
4871
+ def message(self) -> Optional[pulumi.Input[_builtins.str]]:
4872
4872
  """
4873
4873
  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}".
4874
4874
  """
4875
4875
  return pulumi.get(self, "message")
4876
4876
 
4877
4877
  @message.setter
4878
- def message(self, value: Optional[pulumi.Input[str]]):
4878
+ def message(self, value: Optional[pulumi.Input[_builtins.str]]):
4879
4879
  pulumi.set(self, "message", value)
4880
4880
 
4881
- @property
4881
+ @_builtins.property
4882
4882
  @pulumi.getter(name="messageExpression")
4883
- def message_expression(self) -> Optional[pulumi.Input[str]]:
4883
+ def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
4884
4884
  """
4885
4885
  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)+")"
4886
4886
  """
4887
4887
  return pulumi.get(self, "message_expression")
4888
4888
 
4889
4889
  @message_expression.setter
4890
- def message_expression(self, value: Optional[pulumi.Input[str]]):
4890
+ def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
4891
4891
  pulumi.set(self, "message_expression", value)
4892
4892
 
4893
- @property
4893
+ @_builtins.property
4894
4894
  @pulumi.getter
4895
- def reason(self) -> Optional[pulumi.Input[str]]:
4895
+ def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
4896
4896
  """
4897
4897
  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.
4898
4898
  """
4899
4899
  return pulumi.get(self, "reason")
4900
4900
 
4901
4901
  @reason.setter
4902
- def reason(self, value: Optional[pulumi.Input[str]]):
4902
+ def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
4903
4903
  pulumi.set(self, "reason", value)
4904
4904
 
4905
4905
 
@@ -4908,7 +4908,7 @@ if not MYPY:
4908
4908
  """
4909
4909
  Validation specifies the CEL expression which is used to apply the validation.
4910
4910
  """
4911
- expression: pulumi.Input[str]
4911
+ expression: pulumi.Input[_builtins.str]
4912
4912
  """
4913
4913
  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:
4914
4914
 
@@ -4937,15 +4937,15 @@ if not MYPY:
4937
4937
  non-intersecting keys are appended, retaining their partial order.
4938
4938
  Required.
4939
4939
  """
4940
- message: NotRequired[pulumi.Input[str]]
4940
+ message: NotRequired[pulumi.Input[_builtins.str]]
4941
4941
  """
4942
4942
  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}".
4943
4943
  """
4944
- message_expression: NotRequired[pulumi.Input[str]]
4944
+ message_expression: NotRequired[pulumi.Input[_builtins.str]]
4945
4945
  """
4946
4946
  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)+")"
4947
4947
  """
4948
- reason: NotRequired[pulumi.Input[str]]
4948
+ reason: NotRequired[pulumi.Input[_builtins.str]]
4949
4949
  """
4950
4950
  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.
4951
4951
  """
@@ -4955,13 +4955,13 @@ elif False:
4955
4955
  @pulumi.input_type
4956
4956
  class ValidationArgs:
4957
4957
  def __init__(__self__, *,
4958
- expression: pulumi.Input[str],
4959
- message: Optional[pulumi.Input[str]] = None,
4960
- message_expression: Optional[pulumi.Input[str]] = None,
4961
- reason: Optional[pulumi.Input[str]] = None):
4958
+ expression: pulumi.Input[_builtins.str],
4959
+ message: Optional[pulumi.Input[_builtins.str]] = None,
4960
+ message_expression: Optional[pulumi.Input[_builtins.str]] = None,
4961
+ reason: Optional[pulumi.Input[_builtins.str]] = None):
4962
4962
  """
4963
4963
  Validation specifies the CEL expression which is used to apply the validation.
4964
- :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:
4964
+ :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:
4965
4965
 
4966
4966
  - '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.
4967
4967
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
@@ -4987,9 +4987,9 @@ class ValidationArgs:
4987
4987
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
4988
4988
  non-intersecting keys are appended, retaining their partial order.
4989
4989
  Required.
4990
- :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}".
4991
- :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)+")"
4992
- :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.
4990
+ :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}".
4991
+ :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)+")"
4992
+ :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.
4993
4993
  """
4994
4994
  pulumi.set(__self__, "expression", expression)
4995
4995
  if message is not None:
@@ -4999,9 +4999,9 @@ class ValidationArgs:
4999
4999
  if reason is not None:
5000
5000
  pulumi.set(__self__, "reason", reason)
5001
5001
 
5002
- @property
5002
+ @_builtins.property
5003
5003
  @pulumi.getter
5004
- def expression(self) -> pulumi.Input[str]:
5004
+ def expression(self) -> pulumi.Input[_builtins.str]:
5005
5005
  """
5006
5006
  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:
5007
5007
 
@@ -5033,43 +5033,43 @@ class ValidationArgs:
5033
5033
  return pulumi.get(self, "expression")
5034
5034
 
5035
5035
  @expression.setter
5036
- def expression(self, value: pulumi.Input[str]):
5036
+ def expression(self, value: pulumi.Input[_builtins.str]):
5037
5037
  pulumi.set(self, "expression", value)
5038
5038
 
5039
- @property
5039
+ @_builtins.property
5040
5040
  @pulumi.getter
5041
- def message(self) -> Optional[pulumi.Input[str]]:
5041
+ def message(self) -> Optional[pulumi.Input[_builtins.str]]:
5042
5042
  """
5043
5043
  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}".
5044
5044
  """
5045
5045
  return pulumi.get(self, "message")
5046
5046
 
5047
5047
  @message.setter
5048
- def message(self, value: Optional[pulumi.Input[str]]):
5048
+ def message(self, value: Optional[pulumi.Input[_builtins.str]]):
5049
5049
  pulumi.set(self, "message", value)
5050
5050
 
5051
- @property
5051
+ @_builtins.property
5052
5052
  @pulumi.getter(name="messageExpression")
5053
- def message_expression(self) -> Optional[pulumi.Input[str]]:
5053
+ def message_expression(self) -> Optional[pulumi.Input[_builtins.str]]:
5054
5054
  """
5055
5055
  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)+")"
5056
5056
  """
5057
5057
  return pulumi.get(self, "message_expression")
5058
5058
 
5059
5059
  @message_expression.setter
5060
- def message_expression(self, value: Optional[pulumi.Input[str]]):
5060
+ def message_expression(self, value: Optional[pulumi.Input[_builtins.str]]):
5061
5061
  pulumi.set(self, "message_expression", value)
5062
5062
 
5063
- @property
5063
+ @_builtins.property
5064
5064
  @pulumi.getter
5065
- def reason(self) -> Optional[pulumi.Input[str]]:
5065
+ def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
5066
5066
  """
5067
5067
  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.
5068
5068
  """
5069
5069
  return pulumi.get(self, "reason")
5070
5070
 
5071
5071
  @reason.setter
5072
- def reason(self, value: Optional[pulumi.Input[str]]):
5072
+ def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
5073
5073
  pulumi.set(self, "reason", value)
5074
5074
 
5075
5075
 
@@ -5078,11 +5078,11 @@ if not MYPY:
5078
5078
  """
5079
5079
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5080
5080
  """
5081
- expression: NotRequired[pulumi.Input[str]]
5081
+ expression: NotRequired[pulumi.Input[_builtins.str]]
5082
5082
  """
5083
5083
  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.
5084
5084
  """
5085
- name: NotRequired[pulumi.Input[str]]
5085
+ name: NotRequired[pulumi.Input[_builtins.str]]
5086
5086
  """
5087
5087
  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`
5088
5088
  """
@@ -5092,40 +5092,40 @@ elif False:
5092
5092
  @pulumi.input_type
5093
5093
  class VariablePatchArgs:
5094
5094
  def __init__(__self__, *,
5095
- expression: Optional[pulumi.Input[str]] = None,
5096
- name: Optional[pulumi.Input[str]] = None):
5095
+ expression: Optional[pulumi.Input[_builtins.str]] = None,
5096
+ name: Optional[pulumi.Input[_builtins.str]] = None):
5097
5097
  """
5098
5098
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5099
- :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.
5100
- :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`
5099
+ :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.
5100
+ :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`
5101
5101
  """
5102
5102
  if expression is not None:
5103
5103
  pulumi.set(__self__, "expression", expression)
5104
5104
  if name is not None:
5105
5105
  pulumi.set(__self__, "name", name)
5106
5106
 
5107
- @property
5107
+ @_builtins.property
5108
5108
  @pulumi.getter
5109
- def expression(self) -> Optional[pulumi.Input[str]]:
5109
+ def expression(self) -> Optional[pulumi.Input[_builtins.str]]:
5110
5110
  """
5111
5111
  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.
5112
5112
  """
5113
5113
  return pulumi.get(self, "expression")
5114
5114
 
5115
5115
  @expression.setter
5116
- def expression(self, value: Optional[pulumi.Input[str]]):
5116
+ def expression(self, value: Optional[pulumi.Input[_builtins.str]]):
5117
5117
  pulumi.set(self, "expression", value)
5118
5118
 
5119
- @property
5119
+ @_builtins.property
5120
5120
  @pulumi.getter
5121
- def name(self) -> Optional[pulumi.Input[str]]:
5121
+ def name(self) -> Optional[pulumi.Input[_builtins.str]]:
5122
5122
  """
5123
5123
  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`
5124
5124
  """
5125
5125
  return pulumi.get(self, "name")
5126
5126
 
5127
5127
  @name.setter
5128
- def name(self, value: Optional[pulumi.Input[str]]):
5128
+ def name(self, value: Optional[pulumi.Input[_builtins.str]]):
5129
5129
  pulumi.set(self, "name", value)
5130
5130
 
5131
5131
 
@@ -5134,11 +5134,11 @@ if not MYPY:
5134
5134
  """
5135
5135
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5136
5136
  """
5137
- expression: pulumi.Input[str]
5137
+ expression: pulumi.Input[_builtins.str]
5138
5138
  """
5139
5139
  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.
5140
5140
  """
5141
- name: pulumi.Input[str]
5141
+ name: pulumi.Input[_builtins.str]
5142
5142
  """
5143
5143
  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`
5144
5144
  """
@@ -5148,38 +5148,38 @@ elif False:
5148
5148
  @pulumi.input_type
5149
5149
  class VariableArgs:
5150
5150
  def __init__(__self__, *,
5151
- expression: pulumi.Input[str],
5152
- name: pulumi.Input[str]):
5151
+ expression: pulumi.Input[_builtins.str],
5152
+ name: pulumi.Input[_builtins.str]):
5153
5153
  """
5154
5154
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
5155
- :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.
5156
- :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`
5155
+ :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.
5156
+ :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`
5157
5157
  """
5158
5158
  pulumi.set(__self__, "expression", expression)
5159
5159
  pulumi.set(__self__, "name", name)
5160
5160
 
5161
- @property
5161
+ @_builtins.property
5162
5162
  @pulumi.getter
5163
- def expression(self) -> pulumi.Input[str]:
5163
+ def expression(self) -> pulumi.Input[_builtins.str]:
5164
5164
  """
5165
5165
  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.
5166
5166
  """
5167
5167
  return pulumi.get(self, "expression")
5168
5168
 
5169
5169
  @expression.setter
5170
- def expression(self, value: pulumi.Input[str]):
5170
+ def expression(self, value: pulumi.Input[_builtins.str]):
5171
5171
  pulumi.set(self, "expression", value)
5172
5172
 
5173
- @property
5173
+ @_builtins.property
5174
5174
  @pulumi.getter
5175
- def name(self) -> pulumi.Input[str]:
5175
+ def name(self) -> pulumi.Input[_builtins.str]:
5176
5176
  """
5177
5177
  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`
5178
5178
  """
5179
5179
  return pulumi.get(self, "name")
5180
5180
 
5181
5181
  @name.setter
5182
- def name(self, value: pulumi.Input[str]):
5182
+ def name(self, value: pulumi.Input[_builtins.str]):
5183
5183
  pulumi.set(self, "name", value)
5184
5184
 
5185
5185
 
@@ -5188,7 +5188,7 @@ if not MYPY:
5188
5188
  """
5189
5189
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5190
5190
  """
5191
- ca_bundle: NotRequired[pulumi.Input[str]]
5191
+ ca_bundle: NotRequired[pulumi.Input[_builtins.str]]
5192
5192
  """
5193
5193
  `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.
5194
5194
  """
@@ -5198,7 +5198,7 @@ if not MYPY:
5198
5198
 
5199
5199
  If the webhook is running within the cluster, then you should use `service`.
5200
5200
  """
5201
- url: NotRequired[pulumi.Input[str]]
5201
+ url: NotRequired[pulumi.Input[_builtins.str]]
5202
5202
  """
5203
5203
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5204
5204
 
@@ -5218,16 +5218,16 @@ elif False:
5218
5218
  @pulumi.input_type
5219
5219
  class WebhookClientConfigPatchArgs:
5220
5220
  def __init__(__self__, *,
5221
- ca_bundle: Optional[pulumi.Input[str]] = None,
5221
+ ca_bundle: Optional[pulumi.Input[_builtins.str]] = None,
5222
5222
  service: Optional[pulumi.Input['ServiceReferencePatchArgs']] = None,
5223
- url: Optional[pulumi.Input[str]] = None):
5223
+ url: Optional[pulumi.Input[_builtins.str]] = None):
5224
5224
  """
5225
5225
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5226
- :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.
5226
+ :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.
5227
5227
  :param pulumi.Input['ServiceReferencePatchArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
5228
5228
 
5229
5229
  If the webhook is running within the cluster, then you should use `service`.
5230
- :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.
5230
+ :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.
5231
5231
 
5232
5232
  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.
5233
5233
 
@@ -5246,19 +5246,19 @@ class WebhookClientConfigPatchArgs:
5246
5246
  if url is not None:
5247
5247
  pulumi.set(__self__, "url", url)
5248
5248
 
5249
- @property
5249
+ @_builtins.property
5250
5250
  @pulumi.getter(name="caBundle")
5251
- def ca_bundle(self) -> Optional[pulumi.Input[str]]:
5251
+ def ca_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
5252
5252
  """
5253
5253
  `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.
5254
5254
  """
5255
5255
  return pulumi.get(self, "ca_bundle")
5256
5256
 
5257
5257
  @ca_bundle.setter
5258
- def ca_bundle(self, value: Optional[pulumi.Input[str]]):
5258
+ def ca_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
5259
5259
  pulumi.set(self, "ca_bundle", value)
5260
5260
 
5261
- @property
5261
+ @_builtins.property
5262
5262
  @pulumi.getter
5263
5263
  def service(self) -> Optional[pulumi.Input['ServiceReferencePatchArgs']]:
5264
5264
  """
@@ -5272,9 +5272,9 @@ class WebhookClientConfigPatchArgs:
5272
5272
  def service(self, value: Optional[pulumi.Input['ServiceReferencePatchArgs']]):
5273
5273
  pulumi.set(self, "service", value)
5274
5274
 
5275
- @property
5275
+ @_builtins.property
5276
5276
  @pulumi.getter
5277
- def url(self) -> Optional[pulumi.Input[str]]:
5277
+ def url(self) -> Optional[pulumi.Input[_builtins.str]]:
5278
5278
  """
5279
5279
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5280
5280
 
@@ -5291,7 +5291,7 @@ class WebhookClientConfigPatchArgs:
5291
5291
  return pulumi.get(self, "url")
5292
5292
 
5293
5293
  @url.setter
5294
- def url(self, value: Optional[pulumi.Input[str]]):
5294
+ def url(self, value: Optional[pulumi.Input[_builtins.str]]):
5295
5295
  pulumi.set(self, "url", value)
5296
5296
 
5297
5297
 
@@ -5300,7 +5300,7 @@ if not MYPY:
5300
5300
  """
5301
5301
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5302
5302
  """
5303
- ca_bundle: NotRequired[pulumi.Input[str]]
5303
+ ca_bundle: NotRequired[pulumi.Input[_builtins.str]]
5304
5304
  """
5305
5305
  `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.
5306
5306
  """
@@ -5310,7 +5310,7 @@ if not MYPY:
5310
5310
 
5311
5311
  If the webhook is running within the cluster, then you should use `service`.
5312
5312
  """
5313
- url: NotRequired[pulumi.Input[str]]
5313
+ url: NotRequired[pulumi.Input[_builtins.str]]
5314
5314
  """
5315
5315
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5316
5316
 
@@ -5330,16 +5330,16 @@ elif False:
5330
5330
  @pulumi.input_type
5331
5331
  class WebhookClientConfigArgs:
5332
5332
  def __init__(__self__, *,
5333
- ca_bundle: Optional[pulumi.Input[str]] = None,
5333
+ ca_bundle: Optional[pulumi.Input[_builtins.str]] = None,
5334
5334
  service: Optional[pulumi.Input['ServiceReferenceArgs']] = None,
5335
- url: Optional[pulumi.Input[str]] = None):
5335
+ url: Optional[pulumi.Input[_builtins.str]] = None):
5336
5336
  """
5337
5337
  WebhookClientConfig contains the information to make a TLS connection with the webhook
5338
- :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.
5338
+ :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.
5339
5339
  :param pulumi.Input['ServiceReferenceArgs'] service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
5340
5340
 
5341
5341
  If the webhook is running within the cluster, then you should use `service`.
5342
- :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.
5342
+ :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.
5343
5343
 
5344
5344
  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.
5345
5345
 
@@ -5358,19 +5358,19 @@ class WebhookClientConfigArgs:
5358
5358
  if url is not None:
5359
5359
  pulumi.set(__self__, "url", url)
5360
5360
 
5361
- @property
5361
+ @_builtins.property
5362
5362
  @pulumi.getter(name="caBundle")
5363
- def ca_bundle(self) -> Optional[pulumi.Input[str]]:
5363
+ def ca_bundle(self) -> Optional[pulumi.Input[_builtins.str]]:
5364
5364
  """
5365
5365
  `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.
5366
5366
  """
5367
5367
  return pulumi.get(self, "ca_bundle")
5368
5368
 
5369
5369
  @ca_bundle.setter
5370
- def ca_bundle(self, value: Optional[pulumi.Input[str]]):
5370
+ def ca_bundle(self, value: Optional[pulumi.Input[_builtins.str]]):
5371
5371
  pulumi.set(self, "ca_bundle", value)
5372
5372
 
5373
- @property
5373
+ @_builtins.property
5374
5374
  @pulumi.getter
5375
5375
  def service(self) -> Optional[pulumi.Input['ServiceReferenceArgs']]:
5376
5376
  """
@@ -5384,9 +5384,9 @@ class WebhookClientConfigArgs:
5384
5384
  def service(self, value: Optional[pulumi.Input['ServiceReferenceArgs']]):
5385
5385
  pulumi.set(self, "service", value)
5386
5386
 
5387
- @property
5387
+ @_builtins.property
5388
5388
  @pulumi.getter
5389
- def url(self) -> Optional[pulumi.Input[str]]:
5389
+ def url(self) -> Optional[pulumi.Input[_builtins.str]]:
5390
5390
  """
5391
5391
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
5392
5392
 
@@ -5403,7 +5403,7 @@ class WebhookClientConfigArgs:
5403
5403
  return pulumi.get(self, "url")
5404
5404
 
5405
5405
  @url.setter
5406
- def url(self, value: Optional[pulumi.Input[str]]):
5406
+ def url(self, value: Optional[pulumi.Input[_builtins.str]]):
5407
5407
  pulumi.set(self, "url", value)
5408
5408
 
5409
5409