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
@@ -82,18 +82,18 @@ class AuditAnnotation(dict):
82
82
  return super().get(key, default)
83
83
 
84
84
  def __init__(__self__, *,
85
- key: str,
86
- value_expression: str):
85
+ key: _builtins.str,
86
+ value_expression: _builtins.str):
87
87
  """
88
88
  AuditAnnotation describes how to produce an audit annotation for an API request.
89
- :param 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.
89
+ :param _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.
90
90
 
91
91
  The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
92
92
 
93
93
  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.
94
94
 
95
95
  Required.
96
- :param 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.
96
+ :param _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.
97
97
 
98
98
  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.
99
99
 
@@ -102,9 +102,9 @@ class AuditAnnotation(dict):
102
102
  pulumi.set(__self__, "key", key)
103
103
  pulumi.set(__self__, "value_expression", value_expression)
104
104
 
105
- @property
105
+ @_builtins.property
106
106
  @pulumi.getter
107
- def key(self) -> str:
107
+ def key(self) -> _builtins.str:
108
108
  """
109
109
  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.
110
110
 
@@ -116,9 +116,9 @@ class AuditAnnotation(dict):
116
116
  """
117
117
  return pulumi.get(self, "key")
118
118
 
119
- @property
119
+ @_builtins.property
120
120
  @pulumi.getter(name="valueExpression")
121
- def value_expression(self) -> str:
121
+ def value_expression(self) -> _builtins.str:
122
122
  """
123
123
  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.
124
124
 
@@ -152,18 +152,18 @@ class AuditAnnotationPatch(dict):
152
152
  return super().get(key, default)
153
153
 
154
154
  def __init__(__self__, *,
155
- key: Optional[str] = None,
156
- value_expression: Optional[str] = None):
155
+ key: Optional[_builtins.str] = None,
156
+ value_expression: Optional[_builtins.str] = None):
157
157
  """
158
158
  AuditAnnotation describes how to produce an audit annotation for an API request.
159
- :param 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.
159
+ :param _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.
160
160
 
161
161
  The key is combined with the resource name of the ValidatingAdmissionPolicy to construct an audit annotation key: "{ValidatingAdmissionPolicy name}/{key}".
162
162
 
163
163
  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.
164
164
 
165
165
  Required.
166
- :param 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.
166
+ :param _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.
167
167
 
168
168
  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.
169
169
 
@@ -174,9 +174,9 @@ class AuditAnnotationPatch(dict):
174
174
  if value_expression is not None:
175
175
  pulumi.set(__self__, "value_expression", value_expression)
176
176
 
177
- @property
177
+ @_builtins.property
178
178
  @pulumi.getter
179
- def key(self) -> Optional[str]:
179
+ def key(self) -> Optional[_builtins.str]:
180
180
  """
181
181
  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.
182
182
 
@@ -188,9 +188,9 @@ class AuditAnnotationPatch(dict):
188
188
  """
189
189
  return pulumi.get(self, "key")
190
190
 
191
- @property
191
+ @_builtins.property
192
192
  @pulumi.getter(name="valueExpression")
193
- def value_expression(self) -> Optional[str]:
193
+ def value_expression(self) -> Optional[_builtins.str]:
194
194
  """
195
195
  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.
196
196
 
@@ -224,27 +224,27 @@ class ExpressionWarning(dict):
224
224
  return super().get(key, default)
225
225
 
226
226
  def __init__(__self__, *,
227
- field_ref: str,
228
- warning: str):
227
+ field_ref: _builtins.str,
228
+ warning: _builtins.str):
229
229
  """
230
230
  ExpressionWarning is a warning information that targets a specific expression.
231
- :param 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"
232
- :param 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.
231
+ :param _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"
232
+ :param _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.
233
233
  """
234
234
  pulumi.set(__self__, "field_ref", field_ref)
235
235
  pulumi.set(__self__, "warning", warning)
236
236
 
237
- @property
237
+ @_builtins.property
238
238
  @pulumi.getter(name="fieldRef")
239
- def field_ref(self) -> str:
239
+ def field_ref(self) -> _builtins.str:
240
240
  """
241
241
  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"
242
242
  """
243
243
  return pulumi.get(self, "field_ref")
244
244
 
245
- @property
245
+ @_builtins.property
246
246
  @pulumi.getter
247
- def warning(self) -> str:
247
+ def warning(self) -> _builtins.str:
248
248
  """
249
249
  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.
250
250
  """
@@ -274,29 +274,29 @@ class ExpressionWarningPatch(dict):
274
274
  return super().get(key, default)
275
275
 
276
276
  def __init__(__self__, *,
277
- field_ref: Optional[str] = None,
278
- warning: Optional[str] = None):
277
+ field_ref: Optional[_builtins.str] = None,
278
+ warning: Optional[_builtins.str] = None):
279
279
  """
280
280
  ExpressionWarning is a warning information that targets a specific expression.
281
- :param 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"
282
- :param 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.
281
+ :param _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"
282
+ :param _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.
283
283
  """
284
284
  if field_ref is not None:
285
285
  pulumi.set(__self__, "field_ref", field_ref)
286
286
  if warning is not None:
287
287
  pulumi.set(__self__, "warning", warning)
288
288
 
289
- @property
289
+ @_builtins.property
290
290
  @pulumi.getter(name="fieldRef")
291
- def field_ref(self) -> Optional[str]:
291
+ def field_ref(self) -> Optional[_builtins.str]:
292
292
  """
293
293
  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"
294
294
  """
295
295
  return pulumi.get(self, "field_ref")
296
296
 
297
- @property
297
+ @_builtins.property
298
298
  @pulumi.getter
299
- def warning(self) -> Optional[str]:
299
+ def warning(self) -> Optional[_builtins.str]:
300
300
  """
301
301
  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.
302
302
  """
@@ -309,11 +309,11 @@ class MatchCondition(dict):
309
309
  MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
310
310
  """
311
311
  def __init__(__self__, *,
312
- expression: str,
313
- name: str):
312
+ expression: _builtins.str,
313
+ name: _builtins.str):
314
314
  """
315
315
  MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
316
- :param 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:
316
+ :param _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:
317
317
 
318
318
  '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.
319
319
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
@@ -322,16 +322,16 @@ class MatchCondition(dict):
322
322
  Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
323
323
 
324
324
  Required.
325
- :param 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')
325
+ :param _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')
326
326
 
327
327
  Required.
328
328
  """
329
329
  pulumi.set(__self__, "expression", expression)
330
330
  pulumi.set(__self__, "name", name)
331
331
 
332
- @property
332
+ @_builtins.property
333
333
  @pulumi.getter
334
- def expression(self) -> str:
334
+ def expression(self) -> _builtins.str:
335
335
  """
336
336
  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:
337
337
 
@@ -345,9 +345,9 @@ class MatchCondition(dict):
345
345
  """
346
346
  return pulumi.get(self, "expression")
347
347
 
348
- @property
348
+ @_builtins.property
349
349
  @pulumi.getter
350
- def name(self) -> str:
350
+ def name(self) -> _builtins.str:
351
351
  """
352
352
  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')
353
353
 
@@ -362,11 +362,11 @@ class MatchConditionPatch(dict):
362
362
  MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
363
363
  """
364
364
  def __init__(__self__, *,
365
- expression: Optional[str] = None,
366
- name: Optional[str] = None):
365
+ expression: Optional[_builtins.str] = None,
366
+ name: Optional[_builtins.str] = None):
367
367
  """
368
368
  MatchCondition represents a condition which must be fulfilled for a request to be sent to a webhook.
369
- :param 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:
369
+ :param _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:
370
370
 
371
371
  '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.
372
372
  See https://pkg.go.dev/k8s.io/apiserver/pkg/cel/library#Authz
@@ -375,7 +375,7 @@ class MatchConditionPatch(dict):
375
375
  Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
376
376
 
377
377
  Required.
378
- :param 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')
378
+ :param _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')
379
379
 
380
380
  Required.
381
381
  """
@@ -384,9 +384,9 @@ class MatchConditionPatch(dict):
384
384
  if name is not None:
385
385
  pulumi.set(__self__, "name", name)
386
386
 
387
- @property
387
+ @_builtins.property
388
388
  @pulumi.getter
389
- def expression(self) -> Optional[str]:
389
+ def expression(self) -> Optional[_builtins.str]:
390
390
  """
391
391
  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:
392
392
 
@@ -400,9 +400,9 @@ class MatchConditionPatch(dict):
400
400
  """
401
401
  return pulumi.get(self, "expression")
402
402
 
403
- @property
403
+ @_builtins.property
404
404
  @pulumi.getter
405
- def name(self) -> Optional[str]:
405
+ def name(self) -> Optional[_builtins.str]:
406
406
  """
407
407
  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')
408
408
 
@@ -443,14 +443,14 @@ class MatchResources(dict):
443
443
 
444
444
  def __init__(__self__, *,
445
445
  exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None,
446
- match_policy: Optional[str] = None,
446
+ match_policy: Optional[_builtins.str] = None,
447
447
  namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
448
448
  object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
449
449
  resource_rules: Optional[Sequence['outputs.NamedRuleWithOperations']] = None):
450
450
  """
451
451
  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)
452
452
  :param Sequence['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)
453
- :param str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
453
+ :param _builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
454
454
 
455
455
  - 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.
456
456
 
@@ -502,7 +502,7 @@ class MatchResources(dict):
502
502
  if resource_rules is not None:
503
503
  pulumi.set(__self__, "resource_rules", resource_rules)
504
504
 
505
- @property
505
+ @_builtins.property
506
506
  @pulumi.getter(name="excludeResourceRules")
507
507
  def exclude_resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperations']]:
508
508
  """
@@ -510,9 +510,9 @@ class MatchResources(dict):
510
510
  """
511
511
  return pulumi.get(self, "exclude_resource_rules")
512
512
 
513
- @property
513
+ @_builtins.property
514
514
  @pulumi.getter(name="matchPolicy")
515
- def match_policy(self) -> Optional[str]:
515
+ def match_policy(self) -> Optional[_builtins.str]:
516
516
  """
517
517
  matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
518
518
 
@@ -524,7 +524,7 @@ class MatchResources(dict):
524
524
  """
525
525
  return pulumi.get(self, "match_policy")
526
526
 
527
- @property
527
+ @_builtins.property
528
528
  @pulumi.getter(name="namespaceSelector")
529
529
  def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
530
530
  """
@@ -562,7 +562,7 @@ class MatchResources(dict):
562
562
  """
563
563
  return pulumi.get(self, "namespace_selector")
564
564
 
565
- @property
565
+ @_builtins.property
566
566
  @pulumi.getter(name="objectSelector")
567
567
  def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
568
568
  """
@@ -570,7 +570,7 @@ class MatchResources(dict):
570
570
  """
571
571
  return pulumi.get(self, "object_selector")
572
572
 
573
- @property
573
+ @_builtins.property
574
574
  @pulumi.getter(name="resourceRules")
575
575
  def resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperations']]:
576
576
  """
@@ -611,14 +611,14 @@ class MatchResourcesPatch(dict):
611
611
 
612
612
  def __init__(__self__, *,
613
613
  exclude_resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None,
614
- match_policy: Optional[str] = None,
614
+ match_policy: Optional[_builtins.str] = None,
615
615
  namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
616
616
  object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
617
617
  resource_rules: Optional[Sequence['outputs.NamedRuleWithOperationsPatch']] = None):
618
618
  """
619
619
  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)
620
620
  :param Sequence['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)
621
- :param str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
621
+ :param _builtins.str match_policy: matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
622
622
 
623
623
  - 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.
624
624
 
@@ -670,7 +670,7 @@ class MatchResourcesPatch(dict):
670
670
  if resource_rules is not None:
671
671
  pulumi.set(__self__, "resource_rules", resource_rules)
672
672
 
673
- @property
673
+ @_builtins.property
674
674
  @pulumi.getter(name="excludeResourceRules")
675
675
  def exclude_resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperationsPatch']]:
676
676
  """
@@ -678,9 +678,9 @@ class MatchResourcesPatch(dict):
678
678
  """
679
679
  return pulumi.get(self, "exclude_resource_rules")
680
680
 
681
- @property
681
+ @_builtins.property
682
682
  @pulumi.getter(name="matchPolicy")
683
- def match_policy(self) -> Optional[str]:
683
+ def match_policy(self) -> Optional[_builtins.str]:
684
684
  """
685
685
  matchPolicy defines how the "MatchResources" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
686
686
 
@@ -692,7 +692,7 @@ class MatchResourcesPatch(dict):
692
692
  """
693
693
  return pulumi.get(self, "match_policy")
694
694
 
695
- @property
695
+ @_builtins.property
696
696
  @pulumi.getter(name="namespaceSelector")
697
697
  def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
698
698
  """
@@ -730,7 +730,7 @@ class MatchResourcesPatch(dict):
730
730
  """
731
731
  return pulumi.get(self, "namespace_selector")
732
732
 
733
- @property
733
+ @_builtins.property
734
734
  @pulumi.getter(name="objectSelector")
735
735
  def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
736
736
  """
@@ -738,7 +738,7 @@ class MatchResourcesPatch(dict):
738
738
  """
739
739
  return pulumi.get(self, "object_selector")
740
740
 
741
- @property
741
+ @_builtins.property
742
742
  @pulumi.getter(name="resourceRules")
743
743
  def resource_rules(self) -> Optional[Sequence['outputs.NamedRuleWithOperationsPatch']]:
744
744
  """
@@ -787,23 +787,23 @@ class MutatingWebhook(dict):
787
787
 
788
788
  def __init__(__self__, *,
789
789
  client_config: 'outputs.WebhookClientConfig',
790
- name: str,
791
- admission_review_versions: Optional[Sequence[str]] = None,
792
- failure_policy: Optional[str] = None,
793
- match_policy: Optional[str] = None,
790
+ name: _builtins.str,
791
+ admission_review_versions: Optional[Sequence[_builtins.str]] = None,
792
+ failure_policy: Optional[_builtins.str] = None,
793
+ match_policy: Optional[_builtins.str] = None,
794
794
  namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
795
795
  object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
796
- reinvocation_policy: Optional[str] = None,
796
+ reinvocation_policy: Optional[_builtins.str] = None,
797
797
  rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
798
- side_effects: Optional[str] = None,
799
- timeout_seconds: Optional[int] = None):
798
+ side_effects: Optional[_builtins.str] = None,
799
+ timeout_seconds: Optional[_builtins.int] = None):
800
800
  """
801
801
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
802
802
  :param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
803
- :param 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.
804
- :param Sequence[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']`.
805
- :param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
806
- :param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
803
+ :param _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.
804
+ :param Sequence[_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']`.
805
+ :param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
806
+ :param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
807
807
 
808
808
  - 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.
809
809
 
@@ -842,7 +842,7 @@ class MutatingWebhook(dict):
842
842
 
843
843
  Default to the empty LabelSelector, which matches everything.
844
844
  :param '_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.
845
- :param 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".
845
+ :param _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".
846
846
 
847
847
  Never: the webhook will not be called more than once in a single admission evaluation.
848
848
 
@@ -850,8 +850,8 @@ class MutatingWebhook(dict):
850
850
 
851
851
  Defaults to "Never".
852
852
  :param Sequence['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.
853
- :param 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.
854
- :param 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.
853
+ :param _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.
854
+ :param _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.
855
855
  """
856
856
  pulumi.set(__self__, "client_config", client_config)
857
857
  pulumi.set(__self__, "name", name)
@@ -874,7 +874,7 @@ class MutatingWebhook(dict):
874
874
  if timeout_seconds is not None:
875
875
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
876
876
 
877
- @property
877
+ @_builtins.property
878
878
  @pulumi.getter(name="clientConfig")
879
879
  def client_config(self) -> 'outputs.WebhookClientConfig':
880
880
  """
@@ -882,33 +882,33 @@ class MutatingWebhook(dict):
882
882
  """
883
883
  return pulumi.get(self, "client_config")
884
884
 
885
- @property
885
+ @_builtins.property
886
886
  @pulumi.getter
887
- def name(self) -> str:
887
+ def name(self) -> _builtins.str:
888
888
  """
889
889
  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.
890
890
  """
891
891
  return pulumi.get(self, "name")
892
892
 
893
- @property
893
+ @_builtins.property
894
894
  @pulumi.getter(name="admissionReviewVersions")
895
- def admission_review_versions(self) -> Optional[Sequence[str]]:
895
+ def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
896
896
  """
897
897
  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']`.
898
898
  """
899
899
  return pulumi.get(self, "admission_review_versions")
900
900
 
901
- @property
901
+ @_builtins.property
902
902
  @pulumi.getter(name="failurePolicy")
903
- def failure_policy(self) -> Optional[str]:
903
+ def failure_policy(self) -> Optional[_builtins.str]:
904
904
  """
905
905
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
906
906
  """
907
907
  return pulumi.get(self, "failure_policy")
908
908
 
909
- @property
909
+ @_builtins.property
910
910
  @pulumi.getter(name="matchPolicy")
911
- def match_policy(self) -> Optional[str]:
911
+ def match_policy(self) -> Optional[_builtins.str]:
912
912
  """
913
913
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
914
914
 
@@ -920,7 +920,7 @@ class MutatingWebhook(dict):
920
920
  """
921
921
  return pulumi.get(self, "match_policy")
922
922
 
923
- @property
923
+ @_builtins.property
924
924
  @pulumi.getter(name="namespaceSelector")
925
925
  def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
926
926
  """
@@ -958,7 +958,7 @@ class MutatingWebhook(dict):
958
958
  """
959
959
  return pulumi.get(self, "namespace_selector")
960
960
 
961
- @property
961
+ @_builtins.property
962
962
  @pulumi.getter(name="objectSelector")
963
963
  def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
964
964
  """
@@ -966,9 +966,9 @@ class MutatingWebhook(dict):
966
966
  """
967
967
  return pulumi.get(self, "object_selector")
968
968
 
969
- @property
969
+ @_builtins.property
970
970
  @pulumi.getter(name="reinvocationPolicy")
971
- def reinvocation_policy(self) -> Optional[str]:
971
+ def reinvocation_policy(self) -> Optional[_builtins.str]:
972
972
  """
973
973
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
974
974
 
@@ -980,7 +980,7 @@ class MutatingWebhook(dict):
980
980
  """
981
981
  return pulumi.get(self, "reinvocation_policy")
982
982
 
983
- @property
983
+ @_builtins.property
984
984
  @pulumi.getter
985
985
  def rules(self) -> Optional[Sequence['outputs.RuleWithOperations']]:
986
986
  """
@@ -988,17 +988,17 @@ class MutatingWebhook(dict):
988
988
  """
989
989
  return pulumi.get(self, "rules")
990
990
 
991
- @property
991
+ @_builtins.property
992
992
  @pulumi.getter(name="sideEffects")
993
- def side_effects(self) -> Optional[str]:
993
+ def side_effects(self) -> Optional[_builtins.str]:
994
994
  """
995
995
  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.
996
996
  """
997
997
  return pulumi.get(self, "side_effects")
998
998
 
999
- @property
999
+ @_builtins.property
1000
1000
  @pulumi.getter(name="timeoutSeconds")
1001
- def timeout_seconds(self) -> Optional[int]:
1001
+ def timeout_seconds(self) -> Optional[_builtins.int]:
1002
1002
  """
1003
1003
  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.
1004
1004
  """
@@ -1028,14 +1028,14 @@ class MutatingWebhookConfiguration(dict):
1028
1028
  return super().get(key, default)
1029
1029
 
1030
1030
  def __init__(__self__, *,
1031
- api_version: Optional[str] = None,
1032
- kind: Optional[str] = None,
1031
+ api_version: Optional[_builtins.str] = None,
1032
+ kind: Optional[_builtins.str] = None,
1033
1033
  metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
1034
1034
  webhooks: Optional[Sequence['outputs.MutatingWebhook']] = None):
1035
1035
  """
1036
1036
  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.
1037
- :param 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
1038
- :param 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
1037
+ :param _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
1038
+ :param _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
1039
1039
  :param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
1040
1040
  :param Sequence['MutatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
1041
1041
  """
@@ -1048,23 +1048,23 @@ class MutatingWebhookConfiguration(dict):
1048
1048
  if webhooks is not None:
1049
1049
  pulumi.set(__self__, "webhooks", webhooks)
1050
1050
 
1051
- @property
1051
+ @_builtins.property
1052
1052
  @pulumi.getter(name="apiVersion")
1053
- def api_version(self) -> Optional[str]:
1053
+ def api_version(self) -> Optional[_builtins.str]:
1054
1054
  """
1055
1055
  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
1056
1056
  """
1057
1057
  return pulumi.get(self, "api_version")
1058
1058
 
1059
- @property
1059
+ @_builtins.property
1060
1060
  @pulumi.getter
1061
- def kind(self) -> Optional[str]:
1061
+ def kind(self) -> Optional[_builtins.str]:
1062
1062
  """
1063
1063
  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
1064
1064
  """
1065
1065
  return pulumi.get(self, "kind")
1066
1066
 
1067
- @property
1067
+ @_builtins.property
1068
1068
  @pulumi.getter
1069
1069
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
1070
1070
  """
@@ -1072,7 +1072,7 @@ class MutatingWebhookConfiguration(dict):
1072
1072
  """
1073
1073
  return pulumi.get(self, "metadata")
1074
1074
 
1075
- @property
1075
+ @_builtins.property
1076
1076
  @pulumi.getter
1077
1077
  def webhooks(self) -> Optional[Sequence['outputs.MutatingWebhook']]:
1078
1078
  """
@@ -1120,30 +1120,30 @@ class MutatingWebhookPatch(dict):
1120
1120
  return super().get(key, default)
1121
1121
 
1122
1122
  def __init__(__self__, *,
1123
- admission_review_versions: Optional[Sequence[str]] = None,
1123
+ admission_review_versions: Optional[Sequence[_builtins.str]] = None,
1124
1124
  client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
1125
- failure_policy: Optional[str] = None,
1126
- match_policy: Optional[str] = None,
1127
- name: Optional[str] = None,
1125
+ failure_policy: Optional[_builtins.str] = None,
1126
+ match_policy: Optional[_builtins.str] = None,
1127
+ name: Optional[_builtins.str] = None,
1128
1128
  namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
1129
1129
  object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
1130
- reinvocation_policy: Optional[str] = None,
1130
+ reinvocation_policy: Optional[_builtins.str] = None,
1131
1131
  rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
1132
- side_effects: Optional[str] = None,
1133
- timeout_seconds: Optional[int] = None):
1132
+ side_effects: Optional[_builtins.str] = None,
1133
+ timeout_seconds: Optional[_builtins.int] = None):
1134
1134
  """
1135
1135
  MutatingWebhook describes an admission webhook and the resources and operations it applies to.
1136
- :param Sequence[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']`.
1136
+ :param Sequence[_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']`.
1137
1137
  :param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
1138
- :param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
1139
- :param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1138
+ :param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
1139
+ :param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1140
1140
 
1141
1141
  - 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.
1142
1142
 
1143
1143
  - 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.
1144
1144
 
1145
1145
  Defaults to "Exact"
1146
- :param 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.
1146
+ :param _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.
1147
1147
  :param '_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.
1148
1148
 
1149
1149
  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": {
@@ -1176,7 +1176,7 @@ class MutatingWebhookPatch(dict):
1176
1176
 
1177
1177
  Default to the empty LabelSelector, which matches everything.
1178
1178
  :param '_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.
1179
- :param 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".
1179
+ :param _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".
1180
1180
 
1181
1181
  Never: the webhook will not be called more than once in a single admission evaluation.
1182
1182
 
@@ -1184,8 +1184,8 @@ class MutatingWebhookPatch(dict):
1184
1184
 
1185
1185
  Defaults to "Never".
1186
1186
  :param Sequence['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.
1187
- :param 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.
1188
- :param 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.
1187
+ :param _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.
1188
+ :param _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.
1189
1189
  """
1190
1190
  if admission_review_versions is not None:
1191
1191
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
@@ -1210,15 +1210,15 @@ class MutatingWebhookPatch(dict):
1210
1210
  if timeout_seconds is not None:
1211
1211
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
1212
1212
 
1213
- @property
1213
+ @_builtins.property
1214
1214
  @pulumi.getter(name="admissionReviewVersions")
1215
- def admission_review_versions(self) -> Optional[Sequence[str]]:
1215
+ def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
1216
1216
  """
1217
1217
  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']`.
1218
1218
  """
1219
1219
  return pulumi.get(self, "admission_review_versions")
1220
1220
 
1221
- @property
1221
+ @_builtins.property
1222
1222
  @pulumi.getter(name="clientConfig")
1223
1223
  def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
1224
1224
  """
@@ -1226,17 +1226,17 @@ class MutatingWebhookPatch(dict):
1226
1226
  """
1227
1227
  return pulumi.get(self, "client_config")
1228
1228
 
1229
- @property
1229
+ @_builtins.property
1230
1230
  @pulumi.getter(name="failurePolicy")
1231
- def failure_policy(self) -> Optional[str]:
1231
+ def failure_policy(self) -> Optional[_builtins.str]:
1232
1232
  """
1233
1233
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
1234
1234
  """
1235
1235
  return pulumi.get(self, "failure_policy")
1236
1236
 
1237
- @property
1237
+ @_builtins.property
1238
1238
  @pulumi.getter(name="matchPolicy")
1239
- def match_policy(self) -> Optional[str]:
1239
+ def match_policy(self) -> Optional[_builtins.str]:
1240
1240
  """
1241
1241
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
1242
1242
 
@@ -1248,15 +1248,15 @@ class MutatingWebhookPatch(dict):
1248
1248
  """
1249
1249
  return pulumi.get(self, "match_policy")
1250
1250
 
1251
- @property
1251
+ @_builtins.property
1252
1252
  @pulumi.getter
1253
- def name(self) -> Optional[str]:
1253
+ def name(self) -> Optional[_builtins.str]:
1254
1254
  """
1255
1255
  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.
1256
1256
  """
1257
1257
  return pulumi.get(self, "name")
1258
1258
 
1259
- @property
1259
+ @_builtins.property
1260
1260
  @pulumi.getter(name="namespaceSelector")
1261
1261
  def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
1262
1262
  """
@@ -1294,7 +1294,7 @@ class MutatingWebhookPatch(dict):
1294
1294
  """
1295
1295
  return pulumi.get(self, "namespace_selector")
1296
1296
 
1297
- @property
1297
+ @_builtins.property
1298
1298
  @pulumi.getter(name="objectSelector")
1299
1299
  def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
1300
1300
  """
@@ -1302,9 +1302,9 @@ class MutatingWebhookPatch(dict):
1302
1302
  """
1303
1303
  return pulumi.get(self, "object_selector")
1304
1304
 
1305
- @property
1305
+ @_builtins.property
1306
1306
  @pulumi.getter(name="reinvocationPolicy")
1307
- def reinvocation_policy(self) -> Optional[str]:
1307
+ def reinvocation_policy(self) -> Optional[_builtins.str]:
1308
1308
  """
1309
1309
  reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are "Never" and "IfNeeded".
1310
1310
 
@@ -1316,7 +1316,7 @@ class MutatingWebhookPatch(dict):
1316
1316
  """
1317
1317
  return pulumi.get(self, "reinvocation_policy")
1318
1318
 
1319
- @property
1319
+ @_builtins.property
1320
1320
  @pulumi.getter
1321
1321
  def rules(self) -> Optional[Sequence['outputs.RuleWithOperationsPatch']]:
1322
1322
  """
@@ -1324,17 +1324,17 @@ class MutatingWebhookPatch(dict):
1324
1324
  """
1325
1325
  return pulumi.get(self, "rules")
1326
1326
 
1327
- @property
1327
+ @_builtins.property
1328
1328
  @pulumi.getter(name="sideEffects")
1329
- def side_effects(self) -> Optional[str]:
1329
+ def side_effects(self) -> Optional[_builtins.str]:
1330
1330
  """
1331
1331
  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.
1332
1332
  """
1333
1333
  return pulumi.get(self, "side_effects")
1334
1334
 
1335
- @property
1335
+ @_builtins.property
1336
1336
  @pulumi.getter(name="timeoutSeconds")
1337
- def timeout_seconds(self) -> Optional[int]:
1337
+ def timeout_seconds(self) -> Optional[_builtins.int]:
1338
1338
  """
1339
1339
  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.
1340
1340
  """
@@ -1368,26 +1368,26 @@ class NamedRuleWithOperations(dict):
1368
1368
  return super().get(key, default)
1369
1369
 
1370
1370
  def __init__(__self__, *,
1371
- api_groups: Optional[Sequence[str]] = None,
1372
- api_versions: Optional[Sequence[str]] = None,
1373
- operations: Optional[Sequence[str]] = None,
1374
- resource_names: Optional[Sequence[str]] = None,
1375
- resources: Optional[Sequence[str]] = None,
1376
- scope: Optional[str] = None):
1371
+ api_groups: Optional[Sequence[_builtins.str]] = None,
1372
+ api_versions: Optional[Sequence[_builtins.str]] = None,
1373
+ operations: Optional[Sequence[_builtins.str]] = None,
1374
+ resource_names: Optional[Sequence[_builtins.str]] = None,
1375
+ resources: Optional[Sequence[_builtins.str]] = None,
1376
+ scope: Optional[_builtins.str] = None):
1377
1377
  """
1378
1378
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1379
- :param Sequence[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.
1380
- :param Sequence[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.
1381
- :param Sequence[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.
1382
- :param Sequence[str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1383
- :param Sequence[str] resources: Resources is a list of resources this rule applies to.
1379
+ :param Sequence[_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.
1380
+ :param Sequence[_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.
1381
+ :param Sequence[_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.
1382
+ :param Sequence[_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.
1383
+ :param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
1384
1384
 
1385
1385
  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.
1386
1386
 
1387
1387
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1388
1388
 
1389
1389
  Depending on the enclosing object, subresources might not be allowed. Required.
1390
- :param 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 "*".
1390
+ :param _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 "*".
1391
1391
  """
1392
1392
  if api_groups is not None:
1393
1393
  pulumi.set(__self__, "api_groups", api_groups)
@@ -1402,41 +1402,41 @@ class NamedRuleWithOperations(dict):
1402
1402
  if scope is not None:
1403
1403
  pulumi.set(__self__, "scope", scope)
1404
1404
 
1405
- @property
1405
+ @_builtins.property
1406
1406
  @pulumi.getter(name="apiGroups")
1407
- def api_groups(self) -> Optional[Sequence[str]]:
1407
+ def api_groups(self) -> Optional[Sequence[_builtins.str]]:
1408
1408
  """
1409
1409
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1410
1410
  """
1411
1411
  return pulumi.get(self, "api_groups")
1412
1412
 
1413
- @property
1413
+ @_builtins.property
1414
1414
  @pulumi.getter(name="apiVersions")
1415
- def api_versions(self) -> Optional[Sequence[str]]:
1415
+ def api_versions(self) -> Optional[Sequence[_builtins.str]]:
1416
1416
  """
1417
1417
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1418
1418
  """
1419
1419
  return pulumi.get(self, "api_versions")
1420
1420
 
1421
- @property
1421
+ @_builtins.property
1422
1422
  @pulumi.getter
1423
- def operations(self) -> Optional[Sequence[str]]:
1423
+ def operations(self) -> Optional[Sequence[_builtins.str]]:
1424
1424
  """
1425
1425
  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.
1426
1426
  """
1427
1427
  return pulumi.get(self, "operations")
1428
1428
 
1429
- @property
1429
+ @_builtins.property
1430
1430
  @pulumi.getter(name="resourceNames")
1431
- def resource_names(self) -> Optional[Sequence[str]]:
1431
+ def resource_names(self) -> Optional[Sequence[_builtins.str]]:
1432
1432
  """
1433
1433
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1434
1434
  """
1435
1435
  return pulumi.get(self, "resource_names")
1436
1436
 
1437
- @property
1437
+ @_builtins.property
1438
1438
  @pulumi.getter
1439
- def resources(self) -> Optional[Sequence[str]]:
1439
+ def resources(self) -> Optional[Sequence[_builtins.str]]:
1440
1440
  """
1441
1441
  Resources is a list of resources this rule applies to.
1442
1442
 
@@ -1448,9 +1448,9 @@ class NamedRuleWithOperations(dict):
1448
1448
  """
1449
1449
  return pulumi.get(self, "resources")
1450
1450
 
1451
- @property
1451
+ @_builtins.property
1452
1452
  @pulumi.getter
1453
- def scope(self) -> Optional[str]:
1453
+ def scope(self) -> Optional[_builtins.str]:
1454
1454
  """
1455
1455
  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 "*".
1456
1456
  """
@@ -1484,26 +1484,26 @@ class NamedRuleWithOperationsPatch(dict):
1484
1484
  return super().get(key, default)
1485
1485
 
1486
1486
  def __init__(__self__, *,
1487
- api_groups: Optional[Sequence[str]] = None,
1488
- api_versions: Optional[Sequence[str]] = None,
1489
- operations: Optional[Sequence[str]] = None,
1490
- resource_names: Optional[Sequence[str]] = None,
1491
- resources: Optional[Sequence[str]] = None,
1492
- scope: Optional[str] = None):
1487
+ api_groups: Optional[Sequence[_builtins.str]] = None,
1488
+ api_versions: Optional[Sequence[_builtins.str]] = None,
1489
+ operations: Optional[Sequence[_builtins.str]] = None,
1490
+ resource_names: Optional[Sequence[_builtins.str]] = None,
1491
+ resources: Optional[Sequence[_builtins.str]] = None,
1492
+ scope: Optional[_builtins.str] = None):
1493
1493
  """
1494
1494
  NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
1495
- :param Sequence[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.
1496
- :param Sequence[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.
1497
- :param Sequence[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.
1498
- :param Sequence[str] resource_names: ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1499
- :param Sequence[str] resources: Resources is a list of resources this rule applies to.
1495
+ :param Sequence[_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.
1496
+ :param Sequence[_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.
1497
+ :param Sequence[_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.
1498
+ :param Sequence[_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.
1499
+ :param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
1500
1500
 
1501
1501
  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.
1502
1502
 
1503
1503
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1504
1504
 
1505
1505
  Depending on the enclosing object, subresources might not be allowed. Required.
1506
- :param 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 "*".
1506
+ :param _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 "*".
1507
1507
  """
1508
1508
  if api_groups is not None:
1509
1509
  pulumi.set(__self__, "api_groups", api_groups)
@@ -1518,41 +1518,41 @@ class NamedRuleWithOperationsPatch(dict):
1518
1518
  if scope is not None:
1519
1519
  pulumi.set(__self__, "scope", scope)
1520
1520
 
1521
- @property
1521
+ @_builtins.property
1522
1522
  @pulumi.getter(name="apiGroups")
1523
- def api_groups(self) -> Optional[Sequence[str]]:
1523
+ def api_groups(self) -> Optional[Sequence[_builtins.str]]:
1524
1524
  """
1525
1525
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1526
1526
  """
1527
1527
  return pulumi.get(self, "api_groups")
1528
1528
 
1529
- @property
1529
+ @_builtins.property
1530
1530
  @pulumi.getter(name="apiVersions")
1531
- def api_versions(self) -> Optional[Sequence[str]]:
1531
+ def api_versions(self) -> Optional[Sequence[_builtins.str]]:
1532
1532
  """
1533
1533
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1534
1534
  """
1535
1535
  return pulumi.get(self, "api_versions")
1536
1536
 
1537
- @property
1537
+ @_builtins.property
1538
1538
  @pulumi.getter
1539
- def operations(self) -> Optional[Sequence[str]]:
1539
+ def operations(self) -> Optional[Sequence[_builtins.str]]:
1540
1540
  """
1541
1541
  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.
1542
1542
  """
1543
1543
  return pulumi.get(self, "operations")
1544
1544
 
1545
- @property
1545
+ @_builtins.property
1546
1546
  @pulumi.getter(name="resourceNames")
1547
- def resource_names(self) -> Optional[Sequence[str]]:
1547
+ def resource_names(self) -> Optional[Sequence[_builtins.str]]:
1548
1548
  """
1549
1549
  ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed.
1550
1550
  """
1551
1551
  return pulumi.get(self, "resource_names")
1552
1552
 
1553
- @property
1553
+ @_builtins.property
1554
1554
  @pulumi.getter
1555
- def resources(self) -> Optional[Sequence[str]]:
1555
+ def resources(self) -> Optional[Sequence[_builtins.str]]:
1556
1556
  """
1557
1557
  Resources is a list of resources this rule applies to.
1558
1558
 
@@ -1564,9 +1564,9 @@ class NamedRuleWithOperationsPatch(dict):
1564
1564
  """
1565
1565
  return pulumi.get(self, "resources")
1566
1566
 
1567
- @property
1567
+ @_builtins.property
1568
1568
  @pulumi.getter
1569
- def scope(self) -> Optional[str]:
1569
+ def scope(self) -> Optional[_builtins.str]:
1570
1570
  """
1571
1571
  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 "*".
1572
1572
  """
@@ -1596,29 +1596,29 @@ class ParamKind(dict):
1596
1596
  return super().get(key, default)
1597
1597
 
1598
1598
  def __init__(__self__, *,
1599
- api_version: Optional[str] = None,
1600
- kind: Optional[str] = None):
1599
+ api_version: Optional[_builtins.str] = None,
1600
+ kind: Optional[_builtins.str] = None):
1601
1601
  """
1602
1602
  ParamKind is a tuple of Group Kind and Version.
1603
- :param str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
1604
- :param str kind: Kind is the API kind the resources belong to. Required.
1603
+ :param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
1604
+ :param _builtins.str kind: Kind is the API kind the resources belong to. Required.
1605
1605
  """
1606
1606
  if api_version is not None:
1607
1607
  pulumi.set(__self__, "api_version", api_version)
1608
1608
  if kind is not None:
1609
1609
  pulumi.set(__self__, "kind", kind)
1610
1610
 
1611
- @property
1611
+ @_builtins.property
1612
1612
  @pulumi.getter(name="apiVersion")
1613
- def api_version(self) -> Optional[str]:
1613
+ def api_version(self) -> Optional[_builtins.str]:
1614
1614
  """
1615
1615
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
1616
1616
  """
1617
1617
  return pulumi.get(self, "api_version")
1618
1618
 
1619
- @property
1619
+ @_builtins.property
1620
1620
  @pulumi.getter
1621
- def kind(self) -> Optional[str]:
1621
+ def kind(self) -> Optional[_builtins.str]:
1622
1622
  """
1623
1623
  Kind is the API kind the resources belong to. Required.
1624
1624
  """
@@ -1648,29 +1648,29 @@ class ParamKindPatch(dict):
1648
1648
  return super().get(key, default)
1649
1649
 
1650
1650
  def __init__(__self__, *,
1651
- api_version: Optional[str] = None,
1652
- kind: Optional[str] = None):
1651
+ api_version: Optional[_builtins.str] = None,
1652
+ kind: Optional[_builtins.str] = None):
1653
1653
  """
1654
1654
  ParamKind is a tuple of Group Kind and Version.
1655
- :param str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
1656
- :param str kind: Kind is the API kind the resources belong to. Required.
1655
+ :param _builtins.str api_version: APIVersion is the API group version the resources belong to. In format of "group/version". Required.
1656
+ :param _builtins.str kind: Kind is the API kind the resources belong to. Required.
1657
1657
  """
1658
1658
  if api_version is not None:
1659
1659
  pulumi.set(__self__, "api_version", api_version)
1660
1660
  if kind is not None:
1661
1661
  pulumi.set(__self__, "kind", kind)
1662
1662
 
1663
- @property
1663
+ @_builtins.property
1664
1664
  @pulumi.getter(name="apiVersion")
1665
- def api_version(self) -> Optional[str]:
1665
+ def api_version(self) -> Optional[_builtins.str]:
1666
1666
  """
1667
1667
  APIVersion is the API group version the resources belong to. In format of "group/version". Required.
1668
1668
  """
1669
1669
  return pulumi.get(self, "api_version")
1670
1670
 
1671
- @property
1671
+ @_builtins.property
1672
1672
  @pulumi.getter
1673
- def kind(self) -> Optional[str]:
1673
+ def kind(self) -> Optional[_builtins.str]:
1674
1674
  """
1675
1675
  Kind is the API kind the resources belong to. Required.
1676
1676
  """
@@ -1700,25 +1700,25 @@ class ParamRef(dict):
1700
1700
  return super().get(key, default)
1701
1701
 
1702
1702
  def __init__(__self__, *,
1703
- name: Optional[str] = None,
1704
- namespace: Optional[str] = None,
1705
- parameter_not_found_action: Optional[str] = None,
1703
+ name: Optional[_builtins.str] = None,
1704
+ namespace: Optional[_builtins.str] = None,
1705
+ parameter_not_found_action: Optional[_builtins.str] = None,
1706
1706
  selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
1707
1707
  """
1708
1708
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
1709
- :param str name: name is the name of the resource being referenced.
1709
+ :param _builtins.str name: name is the name of the resource being referenced.
1710
1710
 
1711
1711
  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.
1712
1712
 
1713
1713
  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.
1714
- :param 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.
1714
+ :param _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.
1715
1715
 
1716
1716
  A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
1717
1717
 
1718
1718
  - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
1719
1719
 
1720
1720
  - 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.
1721
- :param 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.
1721
+ :param _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.
1722
1722
 
1723
1723
  Allowed values are `Allow` or `Deny`
1724
1724
 
@@ -1738,9 +1738,9 @@ class ParamRef(dict):
1738
1738
  if selector is not None:
1739
1739
  pulumi.set(__self__, "selector", selector)
1740
1740
 
1741
- @property
1741
+ @_builtins.property
1742
1742
  @pulumi.getter
1743
- def name(self) -> Optional[str]:
1743
+ def name(self) -> Optional[_builtins.str]:
1744
1744
  """
1745
1745
  name is the name of the resource being referenced.
1746
1746
 
@@ -1750,9 +1750,9 @@ class ParamRef(dict):
1750
1750
  """
1751
1751
  return pulumi.get(self, "name")
1752
1752
 
1753
- @property
1753
+ @_builtins.property
1754
1754
  @pulumi.getter
1755
- def namespace(self) -> Optional[str]:
1755
+ def namespace(self) -> Optional[_builtins.str]:
1756
1756
  """
1757
1757
  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.
1758
1758
 
@@ -1764,9 +1764,9 @@ class ParamRef(dict):
1764
1764
  """
1765
1765
  return pulumi.get(self, "namespace")
1766
1766
 
1767
- @property
1767
+ @_builtins.property
1768
1768
  @pulumi.getter(name="parameterNotFoundAction")
1769
- def parameter_not_found_action(self) -> Optional[str]:
1769
+ def parameter_not_found_action(self) -> Optional[_builtins.str]:
1770
1770
  """
1771
1771
  `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.
1772
1772
 
@@ -1776,7 +1776,7 @@ class ParamRef(dict):
1776
1776
  """
1777
1777
  return pulumi.get(self, "parameter_not_found_action")
1778
1778
 
1779
- @property
1779
+ @_builtins.property
1780
1780
  @pulumi.getter
1781
1781
  def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
1782
1782
  """
@@ -1812,25 +1812,25 @@ class ParamRefPatch(dict):
1812
1812
  return super().get(key, default)
1813
1813
 
1814
1814
  def __init__(__self__, *,
1815
- name: Optional[str] = None,
1816
- namespace: Optional[str] = None,
1817
- parameter_not_found_action: Optional[str] = None,
1815
+ name: Optional[_builtins.str] = None,
1816
+ namespace: Optional[_builtins.str] = None,
1817
+ parameter_not_found_action: Optional[_builtins.str] = None,
1818
1818
  selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
1819
1819
  """
1820
1820
  ParamRef describes how to locate the params to be used as input to expressions of rules applied by a policy binding.
1821
- :param str name: name is the name of the resource being referenced.
1821
+ :param _builtins.str name: name is the name of the resource being referenced.
1822
1822
 
1823
1823
  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.
1824
1824
 
1825
1825
  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.
1826
- :param 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.
1826
+ :param _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.
1827
1827
 
1828
1828
  A per-namespace parameter may be used by specifying a namespace-scoped `paramKind` in the policy and leaving this field empty.
1829
1829
 
1830
1830
  - If `paramKind` is cluster-scoped, this field MUST be unset. Setting this field results in a configuration error.
1831
1831
 
1832
1832
  - 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.
1833
- :param 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.
1833
+ :param _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.
1834
1834
 
1835
1835
  Allowed values are `Allow` or `Deny`
1836
1836
 
@@ -1850,9 +1850,9 @@ class ParamRefPatch(dict):
1850
1850
  if selector is not None:
1851
1851
  pulumi.set(__self__, "selector", selector)
1852
1852
 
1853
- @property
1853
+ @_builtins.property
1854
1854
  @pulumi.getter
1855
- def name(self) -> Optional[str]:
1855
+ def name(self) -> Optional[_builtins.str]:
1856
1856
  """
1857
1857
  name is the name of the resource being referenced.
1858
1858
 
@@ -1862,9 +1862,9 @@ class ParamRefPatch(dict):
1862
1862
  """
1863
1863
  return pulumi.get(self, "name")
1864
1864
 
1865
- @property
1865
+ @_builtins.property
1866
1866
  @pulumi.getter
1867
- def namespace(self) -> Optional[str]:
1867
+ def namespace(self) -> Optional[_builtins.str]:
1868
1868
  """
1869
1869
  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.
1870
1870
 
@@ -1876,9 +1876,9 @@ class ParamRefPatch(dict):
1876
1876
  """
1877
1877
  return pulumi.get(self, "namespace")
1878
1878
 
1879
- @property
1879
+ @_builtins.property
1880
1880
  @pulumi.getter(name="parameterNotFoundAction")
1881
- def parameter_not_found_action(self) -> Optional[str]:
1881
+ def parameter_not_found_action(self) -> Optional[_builtins.str]:
1882
1882
  """
1883
1883
  `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.
1884
1884
 
@@ -1888,7 +1888,7 @@ class ParamRefPatch(dict):
1888
1888
  """
1889
1889
  return pulumi.get(self, "parameter_not_found_action")
1890
1890
 
1891
- @property
1891
+ @_builtins.property
1892
1892
  @pulumi.getter
1893
1893
  def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
1894
1894
  """
@@ -1926,24 +1926,24 @@ class RuleWithOperations(dict):
1926
1926
  return super().get(key, default)
1927
1927
 
1928
1928
  def __init__(__self__, *,
1929
- api_groups: Optional[Sequence[str]] = None,
1930
- api_versions: Optional[Sequence[str]] = None,
1931
- operations: Optional[Sequence[str]] = None,
1932
- resources: Optional[Sequence[str]] = None,
1933
- scope: Optional[str] = None):
1929
+ api_groups: Optional[Sequence[_builtins.str]] = None,
1930
+ api_versions: Optional[Sequence[_builtins.str]] = None,
1931
+ operations: Optional[Sequence[_builtins.str]] = None,
1932
+ resources: Optional[Sequence[_builtins.str]] = None,
1933
+ scope: Optional[_builtins.str] = None):
1934
1934
  """
1935
1935
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
1936
- :param Sequence[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.
1937
- :param Sequence[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.
1938
- :param Sequence[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.
1939
- :param Sequence[str] resources: Resources is a list of resources this rule applies to.
1936
+ :param Sequence[_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.
1937
+ :param Sequence[_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.
1938
+ :param Sequence[_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.
1939
+ :param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
1940
1940
 
1941
1941
  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.
1942
1942
 
1943
1943
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
1944
1944
 
1945
1945
  Depending on the enclosing object, subresources might not be allowed. Required.
1946
- :param 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 "*".
1946
+ :param _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 "*".
1947
1947
  """
1948
1948
  if api_groups is not None:
1949
1949
  pulumi.set(__self__, "api_groups", api_groups)
@@ -1956,33 +1956,33 @@ class RuleWithOperations(dict):
1956
1956
  if scope is not None:
1957
1957
  pulumi.set(__self__, "scope", scope)
1958
1958
 
1959
- @property
1959
+ @_builtins.property
1960
1960
  @pulumi.getter(name="apiGroups")
1961
- def api_groups(self) -> Optional[Sequence[str]]:
1961
+ def api_groups(self) -> Optional[Sequence[_builtins.str]]:
1962
1962
  """
1963
1963
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
1964
1964
  """
1965
1965
  return pulumi.get(self, "api_groups")
1966
1966
 
1967
- @property
1967
+ @_builtins.property
1968
1968
  @pulumi.getter(name="apiVersions")
1969
- def api_versions(self) -> Optional[Sequence[str]]:
1969
+ def api_versions(self) -> Optional[Sequence[_builtins.str]]:
1970
1970
  """
1971
1971
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
1972
1972
  """
1973
1973
  return pulumi.get(self, "api_versions")
1974
1974
 
1975
- @property
1975
+ @_builtins.property
1976
1976
  @pulumi.getter
1977
- def operations(self) -> Optional[Sequence[str]]:
1977
+ def operations(self) -> Optional[Sequence[_builtins.str]]:
1978
1978
  """
1979
1979
  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.
1980
1980
  """
1981
1981
  return pulumi.get(self, "operations")
1982
1982
 
1983
- @property
1983
+ @_builtins.property
1984
1984
  @pulumi.getter
1985
- def resources(self) -> Optional[Sequence[str]]:
1985
+ def resources(self) -> Optional[Sequence[_builtins.str]]:
1986
1986
  """
1987
1987
  Resources is a list of resources this rule applies to.
1988
1988
 
@@ -1994,9 +1994,9 @@ class RuleWithOperations(dict):
1994
1994
  """
1995
1995
  return pulumi.get(self, "resources")
1996
1996
 
1997
- @property
1997
+ @_builtins.property
1998
1998
  @pulumi.getter
1999
- def scope(self) -> Optional[str]:
1999
+ def scope(self) -> Optional[_builtins.str]:
2000
2000
  """
2001
2001
  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 "*".
2002
2002
  """
@@ -2028,24 +2028,24 @@ class RuleWithOperationsPatch(dict):
2028
2028
  return super().get(key, default)
2029
2029
 
2030
2030
  def __init__(__self__, *,
2031
- api_groups: Optional[Sequence[str]] = None,
2032
- api_versions: Optional[Sequence[str]] = None,
2033
- operations: Optional[Sequence[str]] = None,
2034
- resources: Optional[Sequence[str]] = None,
2035
- scope: Optional[str] = None):
2031
+ api_groups: Optional[Sequence[_builtins.str]] = None,
2032
+ api_versions: Optional[Sequence[_builtins.str]] = None,
2033
+ operations: Optional[Sequence[_builtins.str]] = None,
2034
+ resources: Optional[Sequence[_builtins.str]] = None,
2035
+ scope: Optional[_builtins.str] = None):
2036
2036
  """
2037
2037
  RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.
2038
- :param Sequence[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.
2039
- :param Sequence[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.
2040
- :param Sequence[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.
2041
- :param Sequence[str] resources: Resources is a list of resources this rule applies to.
2038
+ :param Sequence[_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.
2039
+ :param Sequence[_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.
2040
+ :param Sequence[_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.
2041
+ :param Sequence[_builtins.str] resources: Resources is a list of resources this rule applies to.
2042
2042
 
2043
2043
  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.
2044
2044
 
2045
2045
  If wildcard is present, the validation rule will ensure resources do not overlap with each other.
2046
2046
 
2047
2047
  Depending on the enclosing object, subresources might not be allowed. Required.
2048
- :param 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 "*".
2048
+ :param _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 "*".
2049
2049
  """
2050
2050
  if api_groups is not None:
2051
2051
  pulumi.set(__self__, "api_groups", api_groups)
@@ -2058,33 +2058,33 @@ class RuleWithOperationsPatch(dict):
2058
2058
  if scope is not None:
2059
2059
  pulumi.set(__self__, "scope", scope)
2060
2060
 
2061
- @property
2061
+ @_builtins.property
2062
2062
  @pulumi.getter(name="apiGroups")
2063
- def api_groups(self) -> Optional[Sequence[str]]:
2063
+ def api_groups(self) -> Optional[Sequence[_builtins.str]]:
2064
2064
  """
2065
2065
  APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
2066
2066
  """
2067
2067
  return pulumi.get(self, "api_groups")
2068
2068
 
2069
- @property
2069
+ @_builtins.property
2070
2070
  @pulumi.getter(name="apiVersions")
2071
- def api_versions(self) -> Optional[Sequence[str]]:
2071
+ def api_versions(self) -> Optional[Sequence[_builtins.str]]:
2072
2072
  """
2073
2073
  APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
2074
2074
  """
2075
2075
  return pulumi.get(self, "api_versions")
2076
2076
 
2077
- @property
2077
+ @_builtins.property
2078
2078
  @pulumi.getter
2079
- def operations(self) -> Optional[Sequence[str]]:
2079
+ def operations(self) -> Optional[Sequence[_builtins.str]]:
2080
2080
  """
2081
2081
  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.
2082
2082
  """
2083
2083
  return pulumi.get(self, "operations")
2084
2084
 
2085
- @property
2085
+ @_builtins.property
2086
2086
  @pulumi.getter
2087
- def resources(self) -> Optional[Sequence[str]]:
2087
+ def resources(self) -> Optional[Sequence[_builtins.str]]:
2088
2088
  """
2089
2089
  Resources is a list of resources this rule applies to.
2090
2090
 
@@ -2096,9 +2096,9 @@ class RuleWithOperationsPatch(dict):
2096
2096
  """
2097
2097
  return pulumi.get(self, "resources")
2098
2098
 
2099
- @property
2099
+ @_builtins.property
2100
2100
  @pulumi.getter
2101
- def scope(self) -> Optional[str]:
2101
+ def scope(self) -> Optional[_builtins.str]:
2102
2102
  """
2103
2103
  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 "*".
2104
2104
  """
@@ -2111,16 +2111,16 @@ class ServiceReference(dict):
2111
2111
  ServiceReference holds a reference to Service.legacy.k8s.io
2112
2112
  """
2113
2113
  def __init__(__self__, *,
2114
- name: str,
2115
- namespace: str,
2116
- path: Optional[str] = None,
2117
- port: Optional[int] = None):
2114
+ name: _builtins.str,
2115
+ namespace: _builtins.str,
2116
+ path: Optional[_builtins.str] = None,
2117
+ port: Optional[_builtins.int] = None):
2118
2118
  """
2119
2119
  ServiceReference holds a reference to Service.legacy.k8s.io
2120
- :param str name: `name` is the name of the service. Required
2121
- :param str namespace: `namespace` is the namespace of the service. Required
2122
- :param str path: `path` is an optional URL path which will be sent in any request to this service.
2123
- :param 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).
2120
+ :param _builtins.str name: `name` is the name of the service. Required
2121
+ :param _builtins.str namespace: `namespace` is the namespace of the service. Required
2122
+ :param _builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
2123
+ :param _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).
2124
2124
  """
2125
2125
  pulumi.set(__self__, "name", name)
2126
2126
  pulumi.set(__self__, "namespace", namespace)
@@ -2129,33 +2129,33 @@ class ServiceReference(dict):
2129
2129
  if port is not None:
2130
2130
  pulumi.set(__self__, "port", port)
2131
2131
 
2132
- @property
2132
+ @_builtins.property
2133
2133
  @pulumi.getter
2134
- def name(self) -> str:
2134
+ def name(self) -> _builtins.str:
2135
2135
  """
2136
2136
  `name` is the name of the service. Required
2137
2137
  """
2138
2138
  return pulumi.get(self, "name")
2139
2139
 
2140
- @property
2140
+ @_builtins.property
2141
2141
  @pulumi.getter
2142
- def namespace(self) -> str:
2142
+ def namespace(self) -> _builtins.str:
2143
2143
  """
2144
2144
  `namespace` is the namespace of the service. Required
2145
2145
  """
2146
2146
  return pulumi.get(self, "namespace")
2147
2147
 
2148
- @property
2148
+ @_builtins.property
2149
2149
  @pulumi.getter
2150
- def path(self) -> Optional[str]:
2150
+ def path(self) -> Optional[_builtins.str]:
2151
2151
  """
2152
2152
  `path` is an optional URL path which will be sent in any request to this service.
2153
2153
  """
2154
2154
  return pulumi.get(self, "path")
2155
2155
 
2156
- @property
2156
+ @_builtins.property
2157
2157
  @pulumi.getter
2158
- def port(self) -> Optional[int]:
2158
+ def port(self) -> Optional[_builtins.int]:
2159
2159
  """
2160
2160
  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).
2161
2161
  """
@@ -2168,16 +2168,16 @@ class ServiceReferencePatch(dict):
2168
2168
  ServiceReference holds a reference to Service.legacy.k8s.io
2169
2169
  """
2170
2170
  def __init__(__self__, *,
2171
- name: Optional[str] = None,
2172
- namespace: Optional[str] = None,
2173
- path: Optional[str] = None,
2174
- port: Optional[int] = None):
2171
+ name: Optional[_builtins.str] = None,
2172
+ namespace: Optional[_builtins.str] = None,
2173
+ path: Optional[_builtins.str] = None,
2174
+ port: Optional[_builtins.int] = None):
2175
2175
  """
2176
2176
  ServiceReference holds a reference to Service.legacy.k8s.io
2177
- :param str name: `name` is the name of the service. Required
2178
- :param str namespace: `namespace` is the namespace of the service. Required
2179
- :param str path: `path` is an optional URL path which will be sent in any request to this service.
2180
- :param 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).
2177
+ :param _builtins.str name: `name` is the name of the service. Required
2178
+ :param _builtins.str namespace: `namespace` is the namespace of the service. Required
2179
+ :param _builtins.str path: `path` is an optional URL path which will be sent in any request to this service.
2180
+ :param _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).
2181
2181
  """
2182
2182
  if name is not None:
2183
2183
  pulumi.set(__self__, "name", name)
@@ -2188,33 +2188,33 @@ class ServiceReferencePatch(dict):
2188
2188
  if port is not None:
2189
2189
  pulumi.set(__self__, "port", port)
2190
2190
 
2191
- @property
2191
+ @_builtins.property
2192
2192
  @pulumi.getter
2193
- def name(self) -> Optional[str]:
2193
+ def name(self) -> Optional[_builtins.str]:
2194
2194
  """
2195
2195
  `name` is the name of the service. Required
2196
2196
  """
2197
2197
  return pulumi.get(self, "name")
2198
2198
 
2199
- @property
2199
+ @_builtins.property
2200
2200
  @pulumi.getter
2201
- def namespace(self) -> Optional[str]:
2201
+ def namespace(self) -> Optional[_builtins.str]:
2202
2202
  """
2203
2203
  `namespace` is the namespace of the service. Required
2204
2204
  """
2205
2205
  return pulumi.get(self, "namespace")
2206
2206
 
2207
- @property
2207
+ @_builtins.property
2208
2208
  @pulumi.getter
2209
- def path(self) -> Optional[str]:
2209
+ def path(self) -> Optional[_builtins.str]:
2210
2210
  """
2211
2211
  `path` is an optional URL path which will be sent in any request to this service.
2212
2212
  """
2213
2213
  return pulumi.get(self, "path")
2214
2214
 
2215
- @property
2215
+ @_builtins.property
2216
2216
  @pulumi.getter
2217
- def port(self) -> Optional[int]:
2217
+ def port(self) -> Optional[_builtins.int]:
2218
2218
  """
2219
2219
  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).
2220
2220
  """
@@ -2252,7 +2252,7 @@ class TypeChecking(dict):
2252
2252
  if expression_warnings is not None:
2253
2253
  pulumi.set(__self__, "expression_warnings", expression_warnings)
2254
2254
 
2255
- @property
2255
+ @_builtins.property
2256
2256
  @pulumi.getter(name="expressionWarnings")
2257
2257
  def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarning']]:
2258
2258
  """
@@ -2292,7 +2292,7 @@ class TypeCheckingPatch(dict):
2292
2292
  if expression_warnings is not None:
2293
2293
  pulumi.set(__self__, "expression_warnings", expression_warnings)
2294
2294
 
2295
- @property
2295
+ @_builtins.property
2296
2296
  @pulumi.getter(name="expressionWarnings")
2297
2297
  def expression_warnings(self) -> Optional[Sequence['outputs.ExpressionWarningPatch']]:
2298
2298
  """
@@ -2324,15 +2324,15 @@ class ValidatingAdmissionPolicy(dict):
2324
2324
  return super().get(key, default)
2325
2325
 
2326
2326
  def __init__(__self__, *,
2327
- api_version: Optional[str] = None,
2328
- kind: Optional[str] = None,
2327
+ api_version: Optional[_builtins.str] = None,
2328
+ kind: Optional[_builtins.str] = None,
2329
2329
  metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
2330
2330
  spec: Optional['outputs.ValidatingAdmissionPolicySpec'] = None,
2331
2331
  status: Optional['outputs.ValidatingAdmissionPolicyStatus'] = None):
2332
2332
  """
2333
2333
  ValidatingAdmissionPolicy describes the definition of an admission validation policy that accepts or rejects an object without changing it.
2334
- :param 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
2335
- :param 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
2334
+ :param _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
2335
+ :param _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
2336
2336
  :param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
2337
2337
  :param 'ValidatingAdmissionPolicySpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicy.
2338
2338
  :param '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.
@@ -2348,23 +2348,23 @@ class ValidatingAdmissionPolicy(dict):
2348
2348
  if status is not None:
2349
2349
  pulumi.set(__self__, "status", status)
2350
2350
 
2351
- @property
2351
+ @_builtins.property
2352
2352
  @pulumi.getter(name="apiVersion")
2353
- def api_version(self) -> Optional[str]:
2353
+ def api_version(self) -> Optional[_builtins.str]:
2354
2354
  """
2355
2355
  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
2356
2356
  """
2357
2357
  return pulumi.get(self, "api_version")
2358
2358
 
2359
- @property
2359
+ @_builtins.property
2360
2360
  @pulumi.getter
2361
- def kind(self) -> Optional[str]:
2361
+ def kind(self) -> Optional[_builtins.str]:
2362
2362
  """
2363
2363
  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
2364
2364
  """
2365
2365
  return pulumi.get(self, "kind")
2366
2366
 
2367
- @property
2367
+ @_builtins.property
2368
2368
  @pulumi.getter
2369
2369
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
2370
2370
  """
@@ -2372,7 +2372,7 @@ class ValidatingAdmissionPolicy(dict):
2372
2372
  """
2373
2373
  return pulumi.get(self, "metadata")
2374
2374
 
2375
- @property
2375
+ @_builtins.property
2376
2376
  @pulumi.getter
2377
2377
  def spec(self) -> Optional['outputs.ValidatingAdmissionPolicySpec']:
2378
2378
  """
@@ -2380,7 +2380,7 @@ class ValidatingAdmissionPolicy(dict):
2380
2380
  """
2381
2381
  return pulumi.get(self, "spec")
2382
2382
 
2383
- @property
2383
+ @_builtins.property
2384
2384
  @pulumi.getter
2385
2385
  def status(self) -> Optional['outputs.ValidatingAdmissionPolicyStatus']:
2386
2386
  """
@@ -2416,8 +2416,8 @@ class ValidatingAdmissionPolicyBinding(dict):
2416
2416
  return super().get(key, default)
2417
2417
 
2418
2418
  def __init__(__self__, *,
2419
- api_version: Optional[str] = None,
2420
- kind: Optional[str] = None,
2419
+ api_version: Optional[_builtins.str] = None,
2420
+ kind: Optional[_builtins.str] = None,
2421
2421
  metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
2422
2422
  spec: Optional['outputs.ValidatingAdmissionPolicyBindingSpec'] = None):
2423
2423
  """
@@ -2426,8 +2426,8 @@ class ValidatingAdmissionPolicyBinding(dict):
2426
2426
  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.
2427
2427
 
2428
2428
  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.
2429
- :param 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
2430
- :param 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
2429
+ :param _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
2430
+ :param _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
2431
2431
  :param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
2432
2432
  :param 'ValidatingAdmissionPolicyBindingSpecArgs' spec: Specification of the desired behavior of the ValidatingAdmissionPolicyBinding.
2433
2433
  """
@@ -2440,23 +2440,23 @@ class ValidatingAdmissionPolicyBinding(dict):
2440
2440
  if spec is not None:
2441
2441
  pulumi.set(__self__, "spec", spec)
2442
2442
 
2443
- @property
2443
+ @_builtins.property
2444
2444
  @pulumi.getter(name="apiVersion")
2445
- def api_version(self) -> Optional[str]:
2445
+ def api_version(self) -> Optional[_builtins.str]:
2446
2446
  """
2447
2447
  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
2448
2448
  """
2449
2449
  return pulumi.get(self, "api_version")
2450
2450
 
2451
- @property
2451
+ @_builtins.property
2452
2452
  @pulumi.getter
2453
- def kind(self) -> Optional[str]:
2453
+ def kind(self) -> Optional[_builtins.str]:
2454
2454
  """
2455
2455
  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
2456
2456
  """
2457
2457
  return pulumi.get(self, "kind")
2458
2458
 
2459
- @property
2459
+ @_builtins.property
2460
2460
  @pulumi.getter
2461
2461
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
2462
2462
  """
@@ -2464,7 +2464,7 @@ class ValidatingAdmissionPolicyBinding(dict):
2464
2464
  """
2465
2465
  return pulumi.get(self, "metadata")
2466
2466
 
2467
- @property
2467
+ @_builtins.property
2468
2468
  @pulumi.getter
2469
2469
  def spec(self) -> Optional['outputs.ValidatingAdmissionPolicyBindingSpec']:
2470
2470
  """
@@ -2504,14 +2504,14 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
2504
2504
  def __init__(__self__, *,
2505
2505
  match_resources: Optional['outputs.MatchResources'] = None,
2506
2506
  param_ref: Optional['outputs.ParamRef'] = None,
2507
- policy_name: Optional[str] = None,
2508
- validation_actions: Optional[Sequence[str]] = None):
2507
+ policy_name: Optional[_builtins.str] = None,
2508
+ validation_actions: Optional[Sequence[_builtins.str]] = None):
2509
2509
  """
2510
2510
  ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
2511
2511
  :param '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.
2512
2512
  :param '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.
2513
- :param 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.
2514
- :param Sequence[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.
2513
+ :param _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.
2514
+ :param Sequence[_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.
2515
2515
 
2516
2516
  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.
2517
2517
 
@@ -2523,7 +2523,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
2523
2523
 
2524
2524
  "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.
2525
2525
 
2526
- "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"]}]"`
2526
+ "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\\"]}]"`
2527
2527
 
2528
2528
  Clients should expect to handle additional values by ignoring any values not recognized.
2529
2529
 
@@ -2540,7 +2540,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
2540
2540
  if validation_actions is not None:
2541
2541
  pulumi.set(__self__, "validation_actions", validation_actions)
2542
2542
 
2543
- @property
2543
+ @_builtins.property
2544
2544
  @pulumi.getter(name="matchResources")
2545
2545
  def match_resources(self) -> Optional['outputs.MatchResources']:
2546
2546
  """
@@ -2548,7 +2548,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
2548
2548
  """
2549
2549
  return pulumi.get(self, "match_resources")
2550
2550
 
2551
- @property
2551
+ @_builtins.property
2552
2552
  @pulumi.getter(name="paramRef")
2553
2553
  def param_ref(self) -> Optional['outputs.ParamRef']:
2554
2554
  """
@@ -2556,17 +2556,17 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
2556
2556
  """
2557
2557
  return pulumi.get(self, "param_ref")
2558
2558
 
2559
- @property
2559
+ @_builtins.property
2560
2560
  @pulumi.getter(name="policyName")
2561
- def policy_name(self) -> Optional[str]:
2561
+ def policy_name(self) -> Optional[_builtins.str]:
2562
2562
  """
2563
2563
  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.
2564
2564
  """
2565
2565
  return pulumi.get(self, "policy_name")
2566
2566
 
2567
- @property
2567
+ @_builtins.property
2568
2568
  @pulumi.getter(name="validationActions")
2569
- def validation_actions(self) -> Optional[Sequence[str]]:
2569
+ def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
2570
2570
  """
2571
2571
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
2572
2572
 
@@ -2580,7 +2580,7 @@ class ValidatingAdmissionPolicyBindingSpec(dict):
2580
2580
 
2581
2581
  "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.
2582
2582
 
2583
- "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"]}]"`
2583
+ "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\\"]}]"`
2584
2584
 
2585
2585
  Clients should expect to handle additional values by ignoring any values not recognized.
2586
2586
 
@@ -2622,14 +2622,14 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
2622
2622
  def __init__(__self__, *,
2623
2623
  match_resources: Optional['outputs.MatchResourcesPatch'] = None,
2624
2624
  param_ref: Optional['outputs.ParamRefPatch'] = None,
2625
- policy_name: Optional[str] = None,
2626
- validation_actions: Optional[Sequence[str]] = None):
2625
+ policy_name: Optional[_builtins.str] = None,
2626
+ validation_actions: Optional[Sequence[_builtins.str]] = None):
2627
2627
  """
2628
2628
  ValidatingAdmissionPolicyBindingSpec is the specification of the ValidatingAdmissionPolicyBinding.
2629
2629
  :param '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.
2630
2630
  :param '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.
2631
- :param 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.
2632
- :param Sequence[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.
2631
+ :param _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.
2632
+ :param Sequence[_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.
2633
2633
 
2634
2634
  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.
2635
2635
 
@@ -2641,7 +2641,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
2641
2641
 
2642
2642
  "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.
2643
2643
 
2644
- "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"]}]"`
2644
+ "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\\"]}]"`
2645
2645
 
2646
2646
  Clients should expect to handle additional values by ignoring any values not recognized.
2647
2647
 
@@ -2658,7 +2658,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
2658
2658
  if validation_actions is not None:
2659
2659
  pulumi.set(__self__, "validation_actions", validation_actions)
2660
2660
 
2661
- @property
2661
+ @_builtins.property
2662
2662
  @pulumi.getter(name="matchResources")
2663
2663
  def match_resources(self) -> Optional['outputs.MatchResourcesPatch']:
2664
2664
  """
@@ -2666,7 +2666,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
2666
2666
  """
2667
2667
  return pulumi.get(self, "match_resources")
2668
2668
 
2669
- @property
2669
+ @_builtins.property
2670
2670
  @pulumi.getter(name="paramRef")
2671
2671
  def param_ref(self) -> Optional['outputs.ParamRefPatch']:
2672
2672
  """
@@ -2674,17 +2674,17 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
2674
2674
  """
2675
2675
  return pulumi.get(self, "param_ref")
2676
2676
 
2677
- @property
2677
+ @_builtins.property
2678
2678
  @pulumi.getter(name="policyName")
2679
- def policy_name(self) -> Optional[str]:
2679
+ def policy_name(self) -> Optional[_builtins.str]:
2680
2680
  """
2681
2681
  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.
2682
2682
  """
2683
2683
  return pulumi.get(self, "policy_name")
2684
2684
 
2685
- @property
2685
+ @_builtins.property
2686
2686
  @pulumi.getter(name="validationActions")
2687
- def validation_actions(self) -> Optional[Sequence[str]]:
2687
+ def validation_actions(self) -> Optional[Sequence[_builtins.str]]:
2688
2688
  """
2689
2689
  validationActions declares how Validations of the referenced ValidatingAdmissionPolicy are enforced. If a validation evaluates to false it is always enforced according to these actions.
2690
2690
 
@@ -2698,7 +2698,7 @@ class ValidatingAdmissionPolicyBindingSpecPatch(dict):
2698
2698
 
2699
2699
  "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.
2700
2700
 
2701
- "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"]}]"`
2701
+ "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\\"]}]"`
2702
2702
 
2703
2703
  Clients should expect to handle additional values by ignoring any values not recognized.
2704
2704
 
@@ -2741,7 +2741,7 @@ class ValidatingAdmissionPolicySpec(dict):
2741
2741
 
2742
2742
  def __init__(__self__, *,
2743
2743
  audit_annotations: Optional[Sequence['outputs.AuditAnnotation']] = None,
2744
- failure_policy: Optional[str] = None,
2744
+ failure_policy: Optional[_builtins.str] = None,
2745
2745
  match_conditions: Optional[Sequence['outputs.MatchCondition']] = None,
2746
2746
  match_constraints: Optional['outputs.MatchResources'] = None,
2747
2747
  param_kind: Optional['outputs.ParamKind'] = None,
@@ -2750,7 +2750,7 @@ class ValidatingAdmissionPolicySpec(dict):
2750
2750
  """
2751
2751
  ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
2752
2752
  :param Sequence['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.
2753
- :param 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.
2753
+ :param _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.
2754
2754
 
2755
2755
  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.
2756
2756
 
@@ -2791,7 +2791,7 @@ class ValidatingAdmissionPolicySpec(dict):
2791
2791
  if variables is not None:
2792
2792
  pulumi.set(__self__, "variables", variables)
2793
2793
 
2794
- @property
2794
+ @_builtins.property
2795
2795
  @pulumi.getter(name="auditAnnotations")
2796
2796
  def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotation']]:
2797
2797
  """
@@ -2799,9 +2799,9 @@ class ValidatingAdmissionPolicySpec(dict):
2799
2799
  """
2800
2800
  return pulumi.get(self, "audit_annotations")
2801
2801
 
2802
- @property
2802
+ @_builtins.property
2803
2803
  @pulumi.getter(name="failurePolicy")
2804
- def failure_policy(self) -> Optional[str]:
2804
+ def failure_policy(self) -> Optional[_builtins.str]:
2805
2805
  """
2806
2806
  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.
2807
2807
 
@@ -2815,7 +2815,7 @@ class ValidatingAdmissionPolicySpec(dict):
2815
2815
  """
2816
2816
  return pulumi.get(self, "failure_policy")
2817
2817
 
2818
- @property
2818
+ @_builtins.property
2819
2819
  @pulumi.getter(name="matchConditions")
2820
2820
  def match_conditions(self) -> Optional[Sequence['outputs.MatchCondition']]:
2821
2821
  """
@@ -2832,7 +2832,7 @@ class ValidatingAdmissionPolicySpec(dict):
2832
2832
  """
2833
2833
  return pulumi.get(self, "match_conditions")
2834
2834
 
2835
- @property
2835
+ @_builtins.property
2836
2836
  @pulumi.getter(name="matchConstraints")
2837
2837
  def match_constraints(self) -> Optional['outputs.MatchResources']:
2838
2838
  """
@@ -2840,7 +2840,7 @@ class ValidatingAdmissionPolicySpec(dict):
2840
2840
  """
2841
2841
  return pulumi.get(self, "match_constraints")
2842
2842
 
2843
- @property
2843
+ @_builtins.property
2844
2844
  @pulumi.getter(name="paramKind")
2845
2845
  def param_kind(self) -> Optional['outputs.ParamKind']:
2846
2846
  """
@@ -2848,7 +2848,7 @@ class ValidatingAdmissionPolicySpec(dict):
2848
2848
  """
2849
2849
  return pulumi.get(self, "param_kind")
2850
2850
 
2851
- @property
2851
+ @_builtins.property
2852
2852
  @pulumi.getter
2853
2853
  def validations(self) -> Optional[Sequence['outputs.Validation']]:
2854
2854
  """
@@ -2856,7 +2856,7 @@ class ValidatingAdmissionPolicySpec(dict):
2856
2856
  """
2857
2857
  return pulumi.get(self, "validations")
2858
2858
 
2859
- @property
2859
+ @_builtins.property
2860
2860
  @pulumi.getter
2861
2861
  def variables(self) -> Optional[Sequence['outputs.Variable']]:
2862
2862
  """
@@ -2899,7 +2899,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2899
2899
 
2900
2900
  def __init__(__self__, *,
2901
2901
  audit_annotations: Optional[Sequence['outputs.AuditAnnotationPatch']] = None,
2902
- failure_policy: Optional[str] = None,
2902
+ failure_policy: Optional[_builtins.str] = None,
2903
2903
  match_conditions: Optional[Sequence['outputs.MatchConditionPatch']] = None,
2904
2904
  match_constraints: Optional['outputs.MatchResourcesPatch'] = None,
2905
2905
  param_kind: Optional['outputs.ParamKindPatch'] = None,
@@ -2908,7 +2908,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2908
2908
  """
2909
2909
  ValidatingAdmissionPolicySpec is the specification of the desired behavior of the AdmissionPolicy.
2910
2910
  :param Sequence['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.
2911
- :param 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.
2911
+ :param _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.
2912
2912
 
2913
2913
  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.
2914
2914
 
@@ -2949,7 +2949,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2949
2949
  if variables is not None:
2950
2950
  pulumi.set(__self__, "variables", variables)
2951
2951
 
2952
- @property
2952
+ @_builtins.property
2953
2953
  @pulumi.getter(name="auditAnnotations")
2954
2954
  def audit_annotations(self) -> Optional[Sequence['outputs.AuditAnnotationPatch']]:
2955
2955
  """
@@ -2957,9 +2957,9 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2957
2957
  """
2958
2958
  return pulumi.get(self, "audit_annotations")
2959
2959
 
2960
- @property
2960
+ @_builtins.property
2961
2961
  @pulumi.getter(name="failurePolicy")
2962
- def failure_policy(self) -> Optional[str]:
2962
+ def failure_policy(self) -> Optional[_builtins.str]:
2963
2963
  """
2964
2964
  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.
2965
2965
 
@@ -2973,7 +2973,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2973
2973
  """
2974
2974
  return pulumi.get(self, "failure_policy")
2975
2975
 
2976
- @property
2976
+ @_builtins.property
2977
2977
  @pulumi.getter(name="matchConditions")
2978
2978
  def match_conditions(self) -> Optional[Sequence['outputs.MatchConditionPatch']]:
2979
2979
  """
@@ -2990,7 +2990,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2990
2990
  """
2991
2991
  return pulumi.get(self, "match_conditions")
2992
2992
 
2993
- @property
2993
+ @_builtins.property
2994
2994
  @pulumi.getter(name="matchConstraints")
2995
2995
  def match_constraints(self) -> Optional['outputs.MatchResourcesPatch']:
2996
2996
  """
@@ -2998,7 +2998,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
2998
2998
  """
2999
2999
  return pulumi.get(self, "match_constraints")
3000
3000
 
3001
- @property
3001
+ @_builtins.property
3002
3002
  @pulumi.getter(name="paramKind")
3003
3003
  def param_kind(self) -> Optional['outputs.ParamKindPatch']:
3004
3004
  """
@@ -3006,7 +3006,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
3006
3006
  """
3007
3007
  return pulumi.get(self, "param_kind")
3008
3008
 
3009
- @property
3009
+ @_builtins.property
3010
3010
  @pulumi.getter
3011
3011
  def validations(self) -> Optional[Sequence['outputs.ValidationPatch']]:
3012
3012
  """
@@ -3014,7 +3014,7 @@ class ValidatingAdmissionPolicySpecPatch(dict):
3014
3014
  """
3015
3015
  return pulumi.get(self, "validations")
3016
3016
 
3017
- @property
3017
+ @_builtins.property
3018
3018
  @pulumi.getter
3019
3019
  def variables(self) -> Optional[Sequence['outputs.VariablePatch']]:
3020
3020
  """
@@ -3051,12 +3051,12 @@ class ValidatingAdmissionPolicyStatus(dict):
3051
3051
 
3052
3052
  def __init__(__self__, *,
3053
3053
  conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None,
3054
- observed_generation: Optional[int] = None,
3054
+ observed_generation: Optional[_builtins.int] = None,
3055
3055
  type_checking: Optional['outputs.TypeChecking'] = None):
3056
3056
  """
3057
3057
  ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
3058
3058
  :param Sequence['_meta.v1.ConditionArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
3059
- :param int observed_generation: The generation observed by the controller.
3059
+ :param _builtins.int observed_generation: The generation observed by the controller.
3060
3060
  :param 'TypeCheckingArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
3061
3061
  """
3062
3062
  if conditions is not None:
@@ -3066,7 +3066,7 @@ class ValidatingAdmissionPolicyStatus(dict):
3066
3066
  if type_checking is not None:
3067
3067
  pulumi.set(__self__, "type_checking", type_checking)
3068
3068
 
3069
- @property
3069
+ @_builtins.property
3070
3070
  @pulumi.getter
3071
3071
  def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
3072
3072
  """
@@ -3074,15 +3074,15 @@ class ValidatingAdmissionPolicyStatus(dict):
3074
3074
  """
3075
3075
  return pulumi.get(self, "conditions")
3076
3076
 
3077
- @property
3077
+ @_builtins.property
3078
3078
  @pulumi.getter(name="observedGeneration")
3079
- def observed_generation(self) -> Optional[int]:
3079
+ def observed_generation(self) -> Optional[_builtins.int]:
3080
3080
  """
3081
3081
  The generation observed by the controller.
3082
3082
  """
3083
3083
  return pulumi.get(self, "observed_generation")
3084
3084
 
3085
- @property
3085
+ @_builtins.property
3086
3086
  @pulumi.getter(name="typeChecking")
3087
3087
  def type_checking(self) -> Optional['outputs.TypeChecking']:
3088
3088
  """
@@ -3117,12 +3117,12 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
3117
3117
 
3118
3118
  def __init__(__self__, *,
3119
3119
  conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None,
3120
- observed_generation: Optional[int] = None,
3120
+ observed_generation: Optional[_builtins.int] = None,
3121
3121
  type_checking: Optional['outputs.TypeCheckingPatch'] = None):
3122
3122
  """
3123
3123
  ValidatingAdmissionPolicyStatus represents the status of an admission validation policy.
3124
3124
  :param Sequence['_meta.v1.ConditionPatchArgs'] conditions: The conditions represent the latest available observations of a policy's current state.
3125
- :param int observed_generation: The generation observed by the controller.
3125
+ :param _builtins.int observed_generation: The generation observed by the controller.
3126
3126
  :param 'TypeCheckingPatchArgs' type_checking: The results of type checking for each expression. Presence of this field indicates the completion of the type checking.
3127
3127
  """
3128
3128
  if conditions is not None:
@@ -3132,7 +3132,7 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
3132
3132
  if type_checking is not None:
3133
3133
  pulumi.set(__self__, "type_checking", type_checking)
3134
3134
 
3135
- @property
3135
+ @_builtins.property
3136
3136
  @pulumi.getter
3137
3137
  def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
3138
3138
  """
@@ -3140,15 +3140,15 @@ class ValidatingAdmissionPolicyStatusPatch(dict):
3140
3140
  """
3141
3141
  return pulumi.get(self, "conditions")
3142
3142
 
3143
- @property
3143
+ @_builtins.property
3144
3144
  @pulumi.getter(name="observedGeneration")
3145
- def observed_generation(self) -> Optional[int]:
3145
+ def observed_generation(self) -> Optional[_builtins.int]:
3146
3146
  """
3147
3147
  The generation observed by the controller.
3148
3148
  """
3149
3149
  return pulumi.get(self, "observed_generation")
3150
3150
 
3151
- @property
3151
+ @_builtins.property
3152
3152
  @pulumi.getter(name="typeChecking")
3153
3153
  def type_checking(self) -> Optional['outputs.TypeCheckingPatch']:
3154
3154
  """
@@ -3195,22 +3195,22 @@ class ValidatingWebhook(dict):
3195
3195
 
3196
3196
  def __init__(__self__, *,
3197
3197
  client_config: 'outputs.WebhookClientConfig',
3198
- name: str,
3199
- admission_review_versions: Optional[Sequence[str]] = None,
3200
- failure_policy: Optional[str] = None,
3201
- match_policy: Optional[str] = None,
3198
+ name: _builtins.str,
3199
+ admission_review_versions: Optional[Sequence[_builtins.str]] = None,
3200
+ failure_policy: Optional[_builtins.str] = None,
3201
+ match_policy: Optional[_builtins.str] = None,
3202
3202
  namespace_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
3203
3203
  object_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
3204
3204
  rules: Optional[Sequence['outputs.RuleWithOperations']] = None,
3205
- side_effects: Optional[str] = None,
3206
- timeout_seconds: Optional[int] = None):
3205
+ side_effects: Optional[_builtins.str] = None,
3206
+ timeout_seconds: Optional[_builtins.int] = None):
3207
3207
  """
3208
3208
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
3209
3209
  :param 'WebhookClientConfigArgs' client_config: ClientConfig defines how to communicate with the hook. Required
3210
- :param 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.
3211
- :param Sequence[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']`.
3212
- :param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
3213
- :param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
3210
+ :param _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.
3211
+ :param Sequence[_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']`.
3212
+ :param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
3213
+ :param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
3214
3214
 
3215
3215
  - 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.
3216
3216
 
@@ -3250,8 +3250,8 @@ class ValidatingWebhook(dict):
3250
3250
  Default to the empty LabelSelector, which matches everything.
3251
3251
  :param '_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.
3252
3252
  :param Sequence['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.
3253
- :param 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.
3254
- :param 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.
3253
+ :param _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.
3254
+ :param _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.
3255
3255
  """
3256
3256
  pulumi.set(__self__, "client_config", client_config)
3257
3257
  pulumi.set(__self__, "name", name)
@@ -3272,7 +3272,7 @@ class ValidatingWebhook(dict):
3272
3272
  if timeout_seconds is not None:
3273
3273
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
3274
3274
 
3275
- @property
3275
+ @_builtins.property
3276
3276
  @pulumi.getter(name="clientConfig")
3277
3277
  def client_config(self) -> 'outputs.WebhookClientConfig':
3278
3278
  """
@@ -3280,33 +3280,33 @@ class ValidatingWebhook(dict):
3280
3280
  """
3281
3281
  return pulumi.get(self, "client_config")
3282
3282
 
3283
- @property
3283
+ @_builtins.property
3284
3284
  @pulumi.getter
3285
- def name(self) -> str:
3285
+ def name(self) -> _builtins.str:
3286
3286
  """
3287
3287
  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.
3288
3288
  """
3289
3289
  return pulumi.get(self, "name")
3290
3290
 
3291
- @property
3291
+ @_builtins.property
3292
3292
  @pulumi.getter(name="admissionReviewVersions")
3293
- def admission_review_versions(self) -> Optional[Sequence[str]]:
3293
+ def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
3294
3294
  """
3295
3295
  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']`.
3296
3296
  """
3297
3297
  return pulumi.get(self, "admission_review_versions")
3298
3298
 
3299
- @property
3299
+ @_builtins.property
3300
3300
  @pulumi.getter(name="failurePolicy")
3301
- def failure_policy(self) -> Optional[str]:
3301
+ def failure_policy(self) -> Optional[_builtins.str]:
3302
3302
  """
3303
3303
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
3304
3304
  """
3305
3305
  return pulumi.get(self, "failure_policy")
3306
3306
 
3307
- @property
3307
+ @_builtins.property
3308
3308
  @pulumi.getter(name="matchPolicy")
3309
- def match_policy(self) -> Optional[str]:
3309
+ def match_policy(self) -> Optional[_builtins.str]:
3310
3310
  """
3311
3311
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
3312
3312
 
@@ -3318,7 +3318,7 @@ class ValidatingWebhook(dict):
3318
3318
  """
3319
3319
  return pulumi.get(self, "match_policy")
3320
3320
 
3321
- @property
3321
+ @_builtins.property
3322
3322
  @pulumi.getter(name="namespaceSelector")
3323
3323
  def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
3324
3324
  """
@@ -3356,7 +3356,7 @@ class ValidatingWebhook(dict):
3356
3356
  """
3357
3357
  return pulumi.get(self, "namespace_selector")
3358
3358
 
3359
- @property
3359
+ @_builtins.property
3360
3360
  @pulumi.getter(name="objectSelector")
3361
3361
  def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
3362
3362
  """
@@ -3364,7 +3364,7 @@ class ValidatingWebhook(dict):
3364
3364
  """
3365
3365
  return pulumi.get(self, "object_selector")
3366
3366
 
3367
- @property
3367
+ @_builtins.property
3368
3368
  @pulumi.getter
3369
3369
  def rules(self) -> Optional[Sequence['outputs.RuleWithOperations']]:
3370
3370
  """
@@ -3372,17 +3372,17 @@ class ValidatingWebhook(dict):
3372
3372
  """
3373
3373
  return pulumi.get(self, "rules")
3374
3374
 
3375
- @property
3375
+ @_builtins.property
3376
3376
  @pulumi.getter(name="sideEffects")
3377
- def side_effects(self) -> Optional[str]:
3377
+ def side_effects(self) -> Optional[_builtins.str]:
3378
3378
  """
3379
3379
  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.
3380
3380
  """
3381
3381
  return pulumi.get(self, "side_effects")
3382
3382
 
3383
- @property
3383
+ @_builtins.property
3384
3384
  @pulumi.getter(name="timeoutSeconds")
3385
- def timeout_seconds(self) -> Optional[int]:
3385
+ def timeout_seconds(self) -> Optional[_builtins.int]:
3386
3386
  """
3387
3387
  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.
3388
3388
  """
@@ -3412,14 +3412,14 @@ class ValidatingWebhookConfiguration(dict):
3412
3412
  return super().get(key, default)
3413
3413
 
3414
3414
  def __init__(__self__, *,
3415
- api_version: Optional[str] = None,
3416
- kind: Optional[str] = None,
3415
+ api_version: Optional[_builtins.str] = None,
3416
+ kind: Optional[_builtins.str] = None,
3417
3417
  metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
3418
3418
  webhooks: Optional[Sequence['outputs.ValidatingWebhook']] = None):
3419
3419
  """
3420
3420
  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.
3421
- :param 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
3422
- :param 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
3421
+ :param _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
3422
+ :param _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
3423
3423
  :param '_meta.v1.ObjectMetaArgs' metadata: Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
3424
3424
  :param Sequence['ValidatingWebhookArgs'] webhooks: Webhooks is a list of webhooks and the affected resources and operations.
3425
3425
  """
@@ -3432,23 +3432,23 @@ class ValidatingWebhookConfiguration(dict):
3432
3432
  if webhooks is not None:
3433
3433
  pulumi.set(__self__, "webhooks", webhooks)
3434
3434
 
3435
- @property
3435
+ @_builtins.property
3436
3436
  @pulumi.getter(name="apiVersion")
3437
- def api_version(self) -> Optional[str]:
3437
+ def api_version(self) -> Optional[_builtins.str]:
3438
3438
  """
3439
3439
  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
3440
3440
  """
3441
3441
  return pulumi.get(self, "api_version")
3442
3442
 
3443
- @property
3443
+ @_builtins.property
3444
3444
  @pulumi.getter
3445
- def kind(self) -> Optional[str]:
3445
+ def kind(self) -> Optional[_builtins.str]:
3446
3446
  """
3447
3447
  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
3448
3448
  """
3449
3449
  return pulumi.get(self, "kind")
3450
3450
 
3451
- @property
3451
+ @_builtins.property
3452
3452
  @pulumi.getter
3453
3453
  def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
3454
3454
  """
@@ -3456,7 +3456,7 @@ class ValidatingWebhookConfiguration(dict):
3456
3456
  """
3457
3457
  return pulumi.get(self, "metadata")
3458
3458
 
3459
- @property
3459
+ @_builtins.property
3460
3460
  @pulumi.getter
3461
3461
  def webhooks(self) -> Optional[Sequence['outputs.ValidatingWebhook']]:
3462
3462
  """
@@ -3502,29 +3502,29 @@ class ValidatingWebhookPatch(dict):
3502
3502
  return super().get(key, default)
3503
3503
 
3504
3504
  def __init__(__self__, *,
3505
- admission_review_versions: Optional[Sequence[str]] = None,
3505
+ admission_review_versions: Optional[Sequence[_builtins.str]] = None,
3506
3506
  client_config: Optional['outputs.WebhookClientConfigPatch'] = None,
3507
- failure_policy: Optional[str] = None,
3508
- match_policy: Optional[str] = None,
3509
- name: Optional[str] = None,
3507
+ failure_policy: Optional[_builtins.str] = None,
3508
+ match_policy: Optional[_builtins.str] = None,
3509
+ name: Optional[_builtins.str] = None,
3510
3510
  namespace_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
3511
3511
  object_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
3512
3512
  rules: Optional[Sequence['outputs.RuleWithOperationsPatch']] = None,
3513
- side_effects: Optional[str] = None,
3514
- timeout_seconds: Optional[int] = None):
3513
+ side_effects: Optional[_builtins.str] = None,
3514
+ timeout_seconds: Optional[_builtins.int] = None):
3515
3515
  """
3516
3516
  ValidatingWebhook describes an admission webhook and the resources and operations it applies to.
3517
- :param Sequence[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']`.
3517
+ :param Sequence[_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']`.
3518
3518
  :param 'WebhookClientConfigPatchArgs' client_config: ClientConfig defines how to communicate with the hook. Required
3519
- :param str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
3520
- :param str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
3519
+ :param _builtins.str failure_policy: FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
3520
+ :param _builtins.str match_policy: matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
3521
3521
 
3522
3522
  - 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.
3523
3523
 
3524
3524
  - 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.
3525
3525
 
3526
3526
  Defaults to "Exact"
3527
- :param 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.
3527
+ :param _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.
3528
3528
  :param '_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.
3529
3529
 
3530
3530
  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": {
@@ -3558,8 +3558,8 @@ class ValidatingWebhookPatch(dict):
3558
3558
  Default to the empty LabelSelector, which matches everything.
3559
3559
  :param '_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.
3560
3560
  :param Sequence['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.
3561
- :param 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.
3562
- :param 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.
3561
+ :param _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.
3562
+ :param _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.
3563
3563
  """
3564
3564
  if admission_review_versions is not None:
3565
3565
  pulumi.set(__self__, "admission_review_versions", admission_review_versions)
@@ -3582,15 +3582,15 @@ class ValidatingWebhookPatch(dict):
3582
3582
  if timeout_seconds is not None:
3583
3583
  pulumi.set(__self__, "timeout_seconds", timeout_seconds)
3584
3584
 
3585
- @property
3585
+ @_builtins.property
3586
3586
  @pulumi.getter(name="admissionReviewVersions")
3587
- def admission_review_versions(self) -> Optional[Sequence[str]]:
3587
+ def admission_review_versions(self) -> Optional[Sequence[_builtins.str]]:
3588
3588
  """
3589
3589
  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']`.
3590
3590
  """
3591
3591
  return pulumi.get(self, "admission_review_versions")
3592
3592
 
3593
- @property
3593
+ @_builtins.property
3594
3594
  @pulumi.getter(name="clientConfig")
3595
3595
  def client_config(self) -> Optional['outputs.WebhookClientConfigPatch']:
3596
3596
  """
@@ -3598,17 +3598,17 @@ class ValidatingWebhookPatch(dict):
3598
3598
  """
3599
3599
  return pulumi.get(self, "client_config")
3600
3600
 
3601
- @property
3601
+ @_builtins.property
3602
3602
  @pulumi.getter(name="failurePolicy")
3603
- def failure_policy(self) -> Optional[str]:
3603
+ def failure_policy(self) -> Optional[_builtins.str]:
3604
3604
  """
3605
3605
  FailurePolicy defines how unrecognized errors from the admission endpoint are handled - allowed values are Ignore or Fail. Defaults to Ignore.
3606
3606
  """
3607
3607
  return pulumi.get(self, "failure_policy")
3608
3608
 
3609
- @property
3609
+ @_builtins.property
3610
3610
  @pulumi.getter(name="matchPolicy")
3611
- def match_policy(self) -> Optional[str]:
3611
+ def match_policy(self) -> Optional[_builtins.str]:
3612
3612
  """
3613
3613
  matchPolicy defines how the "rules" list is used to match incoming requests. Allowed values are "Exact" or "Equivalent".
3614
3614
 
@@ -3620,15 +3620,15 @@ class ValidatingWebhookPatch(dict):
3620
3620
  """
3621
3621
  return pulumi.get(self, "match_policy")
3622
3622
 
3623
- @property
3623
+ @_builtins.property
3624
3624
  @pulumi.getter
3625
- def name(self) -> Optional[str]:
3625
+ def name(self) -> Optional[_builtins.str]:
3626
3626
  """
3627
3627
  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.
3628
3628
  """
3629
3629
  return pulumi.get(self, "name")
3630
3630
 
3631
- @property
3631
+ @_builtins.property
3632
3632
  @pulumi.getter(name="namespaceSelector")
3633
3633
  def namespace_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
3634
3634
  """
@@ -3666,7 +3666,7 @@ class ValidatingWebhookPatch(dict):
3666
3666
  """
3667
3667
  return pulumi.get(self, "namespace_selector")
3668
3668
 
3669
- @property
3669
+ @_builtins.property
3670
3670
  @pulumi.getter(name="objectSelector")
3671
3671
  def object_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
3672
3672
  """
@@ -3674,7 +3674,7 @@ class ValidatingWebhookPatch(dict):
3674
3674
  """
3675
3675
  return pulumi.get(self, "object_selector")
3676
3676
 
3677
- @property
3677
+ @_builtins.property
3678
3678
  @pulumi.getter
3679
3679
  def rules(self) -> Optional[Sequence['outputs.RuleWithOperationsPatch']]:
3680
3680
  """
@@ -3682,17 +3682,17 @@ class ValidatingWebhookPatch(dict):
3682
3682
  """
3683
3683
  return pulumi.get(self, "rules")
3684
3684
 
3685
- @property
3685
+ @_builtins.property
3686
3686
  @pulumi.getter(name="sideEffects")
3687
- def side_effects(self) -> Optional[str]:
3687
+ def side_effects(self) -> Optional[_builtins.str]:
3688
3688
  """
3689
3689
  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.
3690
3690
  """
3691
3691
  return pulumi.get(self, "side_effects")
3692
3692
 
3693
- @property
3693
+ @_builtins.property
3694
3694
  @pulumi.getter(name="timeoutSeconds")
3695
- def timeout_seconds(self) -> Optional[int]:
3695
+ def timeout_seconds(self) -> Optional[_builtins.int]:
3696
3696
  """
3697
3697
  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.
3698
3698
  """
@@ -3722,13 +3722,13 @@ class Validation(dict):
3722
3722
  return super().get(key, default)
3723
3723
 
3724
3724
  def __init__(__self__, *,
3725
- expression: str,
3726
- message: Optional[str] = None,
3727
- message_expression: Optional[str] = None,
3728
- reason: Optional[str] = None):
3725
+ expression: _builtins.str,
3726
+ message: Optional[_builtins.str] = None,
3727
+ message_expression: Optional[_builtins.str] = None,
3728
+ reason: Optional[_builtins.str] = None):
3729
3729
  """
3730
3730
  Validation specifies the CEL expression which is used to apply the validation.
3731
- :param 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:
3731
+ :param _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:
3732
3732
 
3733
3733
  - '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.
3734
3734
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
@@ -3754,9 +3754,9 @@ class Validation(dict):
3754
3754
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
3755
3755
  non-intersecting keys are appended, retaining their partial order.
3756
3756
  Required.
3757
- :param 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}".
3758
- :param 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)+")"
3759
- :param 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.
3757
+ :param _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}".
3758
+ :param _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)+")"
3759
+ :param _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.
3760
3760
  """
3761
3761
  pulumi.set(__self__, "expression", expression)
3762
3762
  if message is not None:
@@ -3766,9 +3766,9 @@ class Validation(dict):
3766
3766
  if reason is not None:
3767
3767
  pulumi.set(__self__, "reason", reason)
3768
3768
 
3769
- @property
3769
+ @_builtins.property
3770
3770
  @pulumi.getter
3771
- def expression(self) -> str:
3771
+ def expression(self) -> _builtins.str:
3772
3772
  """
3773
3773
  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:
3774
3774
 
@@ -3799,25 +3799,25 @@ class Validation(dict):
3799
3799
  """
3800
3800
  return pulumi.get(self, "expression")
3801
3801
 
3802
- @property
3802
+ @_builtins.property
3803
3803
  @pulumi.getter
3804
- def message(self) -> Optional[str]:
3804
+ def message(self) -> Optional[_builtins.str]:
3805
3805
  """
3806
3806
  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}".
3807
3807
  """
3808
3808
  return pulumi.get(self, "message")
3809
3809
 
3810
- @property
3810
+ @_builtins.property
3811
3811
  @pulumi.getter(name="messageExpression")
3812
- def message_expression(self) -> Optional[str]:
3812
+ def message_expression(self) -> Optional[_builtins.str]:
3813
3813
  """
3814
3814
  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)+")"
3815
3815
  """
3816
3816
  return pulumi.get(self, "message_expression")
3817
3817
 
3818
- @property
3818
+ @_builtins.property
3819
3819
  @pulumi.getter
3820
- def reason(self) -> Optional[str]:
3820
+ def reason(self) -> Optional[_builtins.str]:
3821
3821
  """
3822
3822
  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.
3823
3823
  """
@@ -3847,13 +3847,13 @@ class ValidationPatch(dict):
3847
3847
  return super().get(key, default)
3848
3848
 
3849
3849
  def __init__(__self__, *,
3850
- expression: Optional[str] = None,
3851
- message: Optional[str] = None,
3852
- message_expression: Optional[str] = None,
3853
- reason: Optional[str] = None):
3850
+ expression: Optional[_builtins.str] = None,
3851
+ message: Optional[_builtins.str] = None,
3852
+ message_expression: Optional[_builtins.str] = None,
3853
+ reason: Optional[_builtins.str] = None):
3854
3854
  """
3855
3855
  Validation specifies the CEL expression which is used to apply the validation.
3856
- :param 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:
3856
+ :param _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:
3857
3857
 
3858
3858
  - '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.
3859
3859
  For example, a variable named 'foo' can be accessed as 'variables.foo'.
@@ -3879,9 +3879,9 @@ class ValidationPatch(dict):
3879
3879
  are overwritten by values in `Y` when the key sets of `X` and `Y` intersect. Elements in `Y` with
3880
3880
  non-intersecting keys are appended, retaining their partial order.
3881
3881
  Required.
3882
- :param 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}".
3883
- :param 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)+")"
3884
- :param 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.
3882
+ :param _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}".
3883
+ :param _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)+")"
3884
+ :param _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.
3885
3885
  """
3886
3886
  if expression is not None:
3887
3887
  pulumi.set(__self__, "expression", expression)
@@ -3892,9 +3892,9 @@ class ValidationPatch(dict):
3892
3892
  if reason is not None:
3893
3893
  pulumi.set(__self__, "reason", reason)
3894
3894
 
3895
- @property
3895
+ @_builtins.property
3896
3896
  @pulumi.getter
3897
- def expression(self) -> Optional[str]:
3897
+ def expression(self) -> Optional[_builtins.str]:
3898
3898
  """
3899
3899
  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:
3900
3900
 
@@ -3925,25 +3925,25 @@ class ValidationPatch(dict):
3925
3925
  """
3926
3926
  return pulumi.get(self, "expression")
3927
3927
 
3928
- @property
3928
+ @_builtins.property
3929
3929
  @pulumi.getter
3930
- def message(self) -> Optional[str]:
3930
+ def message(self) -> Optional[_builtins.str]:
3931
3931
  """
3932
3932
  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}".
3933
3933
  """
3934
3934
  return pulumi.get(self, "message")
3935
3935
 
3936
- @property
3936
+ @_builtins.property
3937
3937
  @pulumi.getter(name="messageExpression")
3938
- def message_expression(self) -> Optional[str]:
3938
+ def message_expression(self) -> Optional[_builtins.str]:
3939
3939
  """
3940
3940
  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)+")"
3941
3941
  """
3942
3942
  return pulumi.get(self, "message_expression")
3943
3943
 
3944
- @property
3944
+ @_builtins.property
3945
3945
  @pulumi.getter
3946
- def reason(self) -> Optional[str]:
3946
+ def reason(self) -> Optional[_builtins.str]:
3947
3947
  """
3948
3948
  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.
3949
3949
  """
@@ -3956,27 +3956,27 @@ class Variable(dict):
3956
3956
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
3957
3957
  """
3958
3958
  def __init__(__self__, *,
3959
- expression: str,
3960
- name: str):
3959
+ expression: _builtins.str,
3960
+ name: _builtins.str):
3961
3961
  """
3962
3962
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
3963
- :param 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.
3964
- :param 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`
3963
+ :param _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.
3964
+ :param _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`
3965
3965
  """
3966
3966
  pulumi.set(__self__, "expression", expression)
3967
3967
  pulumi.set(__self__, "name", name)
3968
3968
 
3969
- @property
3969
+ @_builtins.property
3970
3970
  @pulumi.getter
3971
- def expression(self) -> str:
3971
+ def expression(self) -> _builtins.str:
3972
3972
  """
3973
3973
  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.
3974
3974
  """
3975
3975
  return pulumi.get(self, "expression")
3976
3976
 
3977
- @property
3977
+ @_builtins.property
3978
3978
  @pulumi.getter
3979
- def name(self) -> str:
3979
+ def name(self) -> _builtins.str:
3980
3980
  """
3981
3981
  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`
3982
3982
  """
@@ -3989,29 +3989,29 @@ class VariablePatch(dict):
3989
3989
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
3990
3990
  """
3991
3991
  def __init__(__self__, *,
3992
- expression: Optional[str] = None,
3993
- name: Optional[str] = None):
3992
+ expression: Optional[_builtins.str] = None,
3993
+ name: Optional[_builtins.str] = None):
3994
3994
  """
3995
3995
  Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
3996
- :param 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.
3997
- :param 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`
3996
+ :param _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.
3997
+ :param _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`
3998
3998
  """
3999
3999
  if expression is not None:
4000
4000
  pulumi.set(__self__, "expression", expression)
4001
4001
  if name is not None:
4002
4002
  pulumi.set(__self__, "name", name)
4003
4003
 
4004
- @property
4004
+ @_builtins.property
4005
4005
  @pulumi.getter
4006
- def expression(self) -> Optional[str]:
4006
+ def expression(self) -> Optional[_builtins.str]:
4007
4007
  """
4008
4008
  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.
4009
4009
  """
4010
4010
  return pulumi.get(self, "expression")
4011
4011
 
4012
- @property
4012
+ @_builtins.property
4013
4013
  @pulumi.getter
4014
- def name(self) -> Optional[str]:
4014
+ def name(self) -> Optional[_builtins.str]:
4015
4015
  """
4016
4016
  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`
4017
4017
  """
@@ -4041,16 +4041,16 @@ class WebhookClientConfig(dict):
4041
4041
  return super().get(key, default)
4042
4042
 
4043
4043
  def __init__(__self__, *,
4044
- ca_bundle: Optional[str] = None,
4044
+ ca_bundle: Optional[_builtins.str] = None,
4045
4045
  service: Optional['outputs.ServiceReference'] = None,
4046
- url: Optional[str] = None):
4046
+ url: Optional[_builtins.str] = None):
4047
4047
  """
4048
4048
  WebhookClientConfig contains the information to make a TLS connection with the webhook
4049
- :param 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.
4049
+ :param _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.
4050
4050
  :param 'ServiceReferenceArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
4051
4051
 
4052
4052
  If the webhook is running within the cluster, then you should use `service`.
4053
- :param 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.
4053
+ :param _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.
4054
4054
 
4055
4055
  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.
4056
4056
 
@@ -4069,15 +4069,15 @@ class WebhookClientConfig(dict):
4069
4069
  if url is not None:
4070
4070
  pulumi.set(__self__, "url", url)
4071
4071
 
4072
- @property
4072
+ @_builtins.property
4073
4073
  @pulumi.getter(name="caBundle")
4074
- def ca_bundle(self) -> Optional[str]:
4074
+ def ca_bundle(self) -> Optional[_builtins.str]:
4075
4075
  """
4076
4076
  `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.
4077
4077
  """
4078
4078
  return pulumi.get(self, "ca_bundle")
4079
4079
 
4080
- @property
4080
+ @_builtins.property
4081
4081
  @pulumi.getter
4082
4082
  def service(self) -> Optional['outputs.ServiceReference']:
4083
4083
  """
@@ -4087,9 +4087,9 @@ class WebhookClientConfig(dict):
4087
4087
  """
4088
4088
  return pulumi.get(self, "service")
4089
4089
 
4090
- @property
4090
+ @_builtins.property
4091
4091
  @pulumi.getter
4092
- def url(self) -> Optional[str]:
4092
+ def url(self) -> Optional[_builtins.str]:
4093
4093
  """
4094
4094
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
4095
4095
 
@@ -4129,16 +4129,16 @@ class WebhookClientConfigPatch(dict):
4129
4129
  return super().get(key, default)
4130
4130
 
4131
4131
  def __init__(__self__, *,
4132
- ca_bundle: Optional[str] = None,
4132
+ ca_bundle: Optional[_builtins.str] = None,
4133
4133
  service: Optional['outputs.ServiceReferencePatch'] = None,
4134
- url: Optional[str] = None):
4134
+ url: Optional[_builtins.str] = None):
4135
4135
  """
4136
4136
  WebhookClientConfig contains the information to make a TLS connection with the webhook
4137
- :param 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.
4137
+ :param _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.
4138
4138
  :param 'ServiceReferencePatchArgs' service: `service` is a reference to the service for this webhook. Either `service` or `url` must be specified.
4139
4139
 
4140
4140
  If the webhook is running within the cluster, then you should use `service`.
4141
- :param 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.
4141
+ :param _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.
4142
4142
 
4143
4143
  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.
4144
4144
 
@@ -4157,15 +4157,15 @@ class WebhookClientConfigPatch(dict):
4157
4157
  if url is not None:
4158
4158
  pulumi.set(__self__, "url", url)
4159
4159
 
4160
- @property
4160
+ @_builtins.property
4161
4161
  @pulumi.getter(name="caBundle")
4162
- def ca_bundle(self) -> Optional[str]:
4162
+ def ca_bundle(self) -> Optional[_builtins.str]:
4163
4163
  """
4164
4164
  `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.
4165
4165
  """
4166
4166
  return pulumi.get(self, "ca_bundle")
4167
4167
 
4168
- @property
4168
+ @_builtins.property
4169
4169
  @pulumi.getter
4170
4170
  def service(self) -> Optional['outputs.ServiceReferencePatch']:
4171
4171
  """
@@ -4175,9 +4175,9 @@ class WebhookClientConfigPatch(dict):
4175
4175
  """
4176
4176
  return pulumi.get(self, "service")
4177
4177
 
4178
- @property
4178
+ @_builtins.property
4179
4179
  @pulumi.getter
4180
- def url(self) -> Optional[str]:
4180
+ def url(self) -> Optional[_builtins.str]:
4181
4181
  """
4182
4182
  `url` gives the location of the webhook, in standard URL form (`scheme://host:port/path`). Exactly one of `url` or `service` must be specified.
4183
4183