pulumi-kubernetes 4.13.1__py3-none-any.whl → 4.14.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (523) hide show
  1. pulumi_kubernetes/_inputs.py +57 -0
  2. pulumi_kubernetes/_utilities.py +35 -0
  3. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
  4. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
  5. pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
  6. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +11 -6
  7. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +11 -6
  8. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +11 -6
  9. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  10. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +11 -6
  11. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +11 -6
  12. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
  13. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
  14. pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
  15. pulumi_kubernetes/admissionregistration/v1/_inputs.py +1553 -29
  16. pulumi_kubernetes/admissionregistration/v1/outputs.py +5 -0
  17. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +11 -6
  18. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +11 -6
  19. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +11 -6
  20. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  21. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +11 -6
  22. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +11 -6
  23. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +876 -6
  24. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +5 -0
  25. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
  26. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
  27. pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
  28. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +11 -6
  29. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +11 -6
  30. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +11 -6
  31. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +11 -6
  32. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +11 -6
  33. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +11 -6
  34. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
  35. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
  36. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
  37. pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1525 -45
  38. pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +5 -0
  39. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
  40. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
  41. pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
  42. pulumi_kubernetes/apiextensions/v1/_inputs.py +1097 -15
  43. pulumi_kubernetes/apiextensions/v1/outputs.py +5 -0
  44. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
  45. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
  46. pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
  47. pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
  48. pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
  49. pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
  50. pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
  51. pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
  52. pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
  53. pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
  54. pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
  55. pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
  56. pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
  57. pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
  58. pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
  59. pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
  60. pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
  61. pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
  62. pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
  63. pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
  64. pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
  65. pulumi_kubernetes/apps/v1/Deployment.py +11 -6
  66. pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
  67. pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
  68. pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
  69. pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
  70. pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
  71. pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
  72. pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
  73. pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
  74. pulumi_kubernetes/apps/v1/_inputs.py +1049 -0
  75. pulumi_kubernetes/apps/v1/outputs.py +5 -0
  76. pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
  77. pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
  78. pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
  79. pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
  80. pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
  81. pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
  82. pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
  83. pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
  84. pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
  85. pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
  86. pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
  87. pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
  88. pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
  89. pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
  90. pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
  91. pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
  92. pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
  93. pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
  94. pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
  95. pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
  96. pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
  97. pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
  98. pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
  99. pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
  100. pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
  101. pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
  102. pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
  103. pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
  104. pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
  105. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
  106. pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
  107. pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
  108. pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
  109. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
  110. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
  111. pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
  112. pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
  113. pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
  114. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
  115. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
  116. pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
  117. pulumi_kubernetes/autoscaling/v2/_inputs.py +805 -0
  118. pulumi_kubernetes/autoscaling/v2/outputs.py +5 -0
  119. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
  120. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
  121. pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
  122. pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
  123. pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
  124. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
  125. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
  126. pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
  127. pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
  128. pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
  129. pulumi_kubernetes/batch/v1/CronJob.py +11 -6
  130. pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
  131. pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
  132. pulumi_kubernetes/batch/v1/Job.py +11 -6
  133. pulumi_kubernetes/batch/v1/JobList.py +11 -6
  134. pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
  135. pulumi_kubernetes/batch/v1/_inputs.py +773 -3
  136. pulumi_kubernetes/batch/v1/outputs.py +5 -0
  137. pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
  138. pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
  139. pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
  140. pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
  141. pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
  142. pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
  143. pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
  144. pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
  145. pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
  146. pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
  147. pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
  148. pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
  149. pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
  150. pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
  151. pulumi_kubernetes/certificates/v1/outputs.py +5 -0
  152. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
  153. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
  154. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
  155. pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
  156. pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
  157. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
  158. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
  159. pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
  160. pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
  161. pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
  162. pulumi_kubernetes/coordination/v1/Lease.py +11 -6
  163. pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
  164. pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
  165. pulumi_kubernetes/coordination/v1/_inputs.py +90 -0
  166. pulumi_kubernetes/coordination/v1/outputs.py +5 -0
  167. pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
  168. pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
  169. pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
  170. pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
  171. pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
  172. pulumi_kubernetes/core/v1/Binding.py +11 -6
  173. pulumi_kubernetes/core/v1/BindingPatch.py +11 -6
  174. pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
  175. pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
  176. pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
  177. pulumi_kubernetes/core/v1/Endpoints.py +11 -6
  178. pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
  179. pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
  180. pulumi_kubernetes/core/v1/Event.py +20 -15
  181. pulumi_kubernetes/core/v1/EventList.py +11 -6
  182. pulumi_kubernetes/core/v1/EventPatch.py +20 -15
  183. pulumi_kubernetes/core/v1/LimitRange.py +11 -6
  184. pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
  185. pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
  186. pulumi_kubernetes/core/v1/Namespace.py +11 -6
  187. pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
  188. pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
  189. pulumi_kubernetes/core/v1/Node.py +11 -6
  190. pulumi_kubernetes/core/v1/NodeList.py +11 -6
  191. pulumi_kubernetes/core/v1/NodePatch.py +11 -6
  192. pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
  193. pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
  194. pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
  195. pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
  196. pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
  197. pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
  198. pulumi_kubernetes/core/v1/Pod.py +11 -6
  199. pulumi_kubernetes/core/v1/PodList.py +11 -6
  200. pulumi_kubernetes/core/v1/PodPatch.py +11 -6
  201. pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
  202. pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
  203. pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
  204. pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
  205. pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
  206. pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
  207. pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
  208. pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
  209. pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
  210. pulumi_kubernetes/core/v1/Secret.py +8 -3
  211. pulumi_kubernetes/core/v1/SecretList.py +11 -6
  212. pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
  213. pulumi_kubernetes/core/v1/Service.py +11 -6
  214. pulumi_kubernetes/core/v1/ServiceAccount.py +14 -9
  215. pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
  216. pulumi_kubernetes/core/v1/ServiceAccountPatch.py +14 -9
  217. pulumi_kubernetes/core/v1/ServiceList.py +11 -6
  218. pulumi_kubernetes/core/v1/ServicePatch.py +11 -6
  219. pulumi_kubernetes/core/v1/_inputs.py +10070 -478
  220. pulumi_kubernetes/core/v1/outputs.py +5 -0
  221. pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
  222. pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
  223. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
  224. pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
  225. pulumi_kubernetes/discovery/v1/outputs.py +5 -0
  226. pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
  227. pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
  228. pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
  229. pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
  230. pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
  231. pulumi_kubernetes/events/v1/Event.py +20 -15
  232. pulumi_kubernetes/events/v1/EventList.py +11 -6
  233. pulumi_kubernetes/events/v1/EventPatch.py +20 -15
  234. pulumi_kubernetes/events/v1/_inputs.py +118 -0
  235. pulumi_kubernetes/events/v1/outputs.py +5 -0
  236. pulumi_kubernetes/events/v1beta1/Event.py +19 -14
  237. pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
  238. pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
  239. pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
  240. pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
  241. pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
  242. pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
  243. pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
  244. pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
  245. pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
  246. pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
  247. pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
  248. pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
  249. pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
  250. pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
  251. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
  252. pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
  253. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
  254. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
  255. pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
  256. pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
  257. pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
  258. pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
  259. pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
  260. pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
  261. pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
  262. pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
  263. pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
  264. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
  265. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
  266. pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
  267. pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
  268. pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
  269. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
  270. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
  271. pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
  272. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
  273. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
  274. pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
  275. pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
  276. pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
  277. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
  278. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
  279. pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
  280. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
  281. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
  282. pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
  283. pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
  284. pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
  285. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
  286. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
  287. pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
  288. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
  289. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
  290. pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
  291. pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
  292. pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
  293. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
  294. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
  295. pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
  296. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
  297. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
  298. pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
  299. pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +771 -0
  300. pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +5 -0
  301. pulumi_kubernetes/helm/v3/Release.py +8 -3
  302. pulumi_kubernetes/helm/v3/_inputs.py +40 -0
  303. pulumi_kubernetes/helm/v3/outputs.py +5 -0
  304. pulumi_kubernetes/helm/v4/Chart.py +15 -6
  305. pulumi_kubernetes/helm/v4/_inputs.py +57 -0
  306. pulumi_kubernetes/kustomize/v2/Directory.py +5 -0
  307. pulumi_kubernetes/meta/v1/Status.py +11 -6
  308. pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
  309. pulumi_kubernetes/meta/v1/_inputs.py +596 -0
  310. pulumi_kubernetes/meta/v1/outputs.py +5 -0
  311. pulumi_kubernetes/networking/v1/Ingress.py +11 -6
  312. pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
  313. pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
  314. pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
  315. pulumi_kubernetes/networking/v1/IngressList.py +11 -6
  316. pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
  317. pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
  318. pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
  319. pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
  320. pulumi_kubernetes/networking/v1/_inputs.py +840 -0
  321. pulumi_kubernetes/networking/v1/outputs.py +5 -0
  322. pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
  323. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
  324. pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
  325. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +11 -6
  326. pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
  327. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +11 -6
  328. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +11 -6
  329. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
  330. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +11 -6
  331. pulumi_kubernetes/networking/v1alpha1/_inputs.py +259 -0
  332. pulumi_kubernetes/networking/v1alpha1/outputs.py +5 -0
  333. pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
  334. pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
  335. pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
  336. pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
  337. pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
  338. pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
  339. pulumi_kubernetes/networking/v1beta1/_inputs.py +374 -0
  340. pulumi_kubernetes/networking/v1beta1/outputs.py +5 -0
  341. pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
  342. pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
  343. pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
  344. pulumi_kubernetes/node/v1/_inputs.py +101 -0
  345. pulumi_kubernetes/node/v1/outputs.py +5 -0
  346. pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
  347. pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
  348. pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
  349. pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
  350. pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
  351. pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
  352. pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
  353. pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
  354. pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
  355. pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
  356. pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
  357. pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
  358. pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
  359. pulumi_kubernetes/policy/v1/_inputs.py +151 -0
  360. pulumi_kubernetes/policy/v1/outputs.py +5 -0
  361. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
  362. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
  363. pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
  364. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
  365. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
  366. pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
  367. pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
  368. pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
  369. pulumi_kubernetes/provider.py +11 -6
  370. pulumi_kubernetes/pulumi-plugin.json +1 -1
  371. pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
  372. pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
  373. pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
  374. pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
  375. pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
  376. pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
  377. pulumi_kubernetes/rbac/v1/Role.py +11 -6
  378. pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
  379. pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
  380. pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
  381. pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
  382. pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
  383. pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
  384. pulumi_kubernetes/rbac/v1/outputs.py +5 -0
  385. pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
  386. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
  387. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
  388. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
  389. pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
  390. pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
  391. pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
  392. pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
  393. pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
  394. pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
  395. pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
  396. pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
  397. pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
  398. pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
  399. pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
  400. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
  401. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
  402. pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
  403. pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
  404. pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
  405. pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
  406. pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
  407. pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
  408. pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
  409. pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
  410. pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
  411. pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
  412. pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
  413. pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
  414. pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
  415. pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
  416. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +11 -6
  417. pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
  418. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +11 -6
  419. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +11 -6
  420. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
  421. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +11 -6
  422. pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
  423. pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
  424. pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
  425. pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
  426. pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
  427. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +11 -6
  428. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
  429. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +11 -6
  430. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +11 -6
  431. pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
  432. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +14 -9
  433. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +11 -6
  434. pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +14 -9
  435. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +11 -6
  436. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +11 -6
  437. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
  438. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +11 -6
  439. pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +14 -9
  440. pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
  441. pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +17 -12
  442. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +11 -6
  443. pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +17 -12
  444. pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +14 -9
  445. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +11 -6
  446. pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +11 -6
  447. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +11 -6
  448. pulumi_kubernetes/resource/v1alpha2/_inputs.py +1059 -6
  449. pulumi_kubernetes/resource/v1alpha2/outputs.py +5 -0
  450. pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
  451. pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
  452. pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
  453. pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
  454. pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
  455. pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
  456. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
  457. pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
  458. pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
  459. pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
  460. pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
  461. pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
  462. pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
  463. pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
  464. pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
  465. pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
  466. pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
  467. pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
  468. pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
  469. pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
  470. pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
  471. pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
  472. pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
  473. pulumi_kubernetes/storage/v1/CSINode.py +11 -6
  474. pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
  475. pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
  476. pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
  477. pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
  478. pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
  479. pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
  480. pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
  481. pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
  482. pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
  483. pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
  484. pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
  485. pulumi_kubernetes/storage/v1/_inputs.py +614 -0
  486. pulumi_kubernetes/storage/v1/outputs.py +5 -0
  487. pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
  488. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
  489. pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
  490. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +8 -3
  491. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
  492. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +8 -3
  493. pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
  494. pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
  495. pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
  496. pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
  497. pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
  498. pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
  499. pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
  500. pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
  501. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
  502. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
  503. pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
  504. pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
  505. pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
  506. pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
  507. pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
  508. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
  509. pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
  510. pulumi_kubernetes/storage/v1beta1/_inputs.py +566 -0
  511. pulumi_kubernetes/storage/v1beta1/outputs.py +5 -0
  512. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +11 -6
  513. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +11 -6
  514. pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +11 -6
  515. pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +158 -0
  516. pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +5 -0
  517. pulumi_kubernetes/yaml/v2/ConfigFile.py +5 -0
  518. pulumi_kubernetes/yaml/v2/ConfigGroup.py +5 -0
  519. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/METADATA +2 -1
  520. pulumi_kubernetes-4.14.0.dist-info/RECORD +619 -0
  521. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/WHEEL +1 -1
  522. pulumi_kubernetes-4.13.1.dist-info/RECORD +0 -619
  523. {pulumi_kubernetes-4.13.1.dist-info → pulumi_kubernetes-4.14.0.dist-info}/top_level.txt +0 -0
@@ -4,64 +4,143 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from ... import _utilities
11
16
  from ... import core as _core
12
17
  from ... import meta as _meta
13
18
 
14
19
  __all__ = [
15
20
  'AllocationResultArgs',
21
+ 'AllocationResultArgsDict',
16
22
  'DriverAllocationResultArgs',
23
+ 'DriverAllocationResultArgsDict',
17
24
  'DriverRequestsPatchArgs',
25
+ 'DriverRequestsPatchArgsDict',
18
26
  'DriverRequestsArgs',
27
+ 'DriverRequestsArgsDict',
19
28
  'NamedResourcesAllocationResultArgs',
29
+ 'NamedResourcesAllocationResultArgsDict',
20
30
  'NamedResourcesAttributePatchArgs',
31
+ 'NamedResourcesAttributePatchArgsDict',
21
32
  'NamedResourcesAttributeArgs',
33
+ 'NamedResourcesAttributeArgsDict',
22
34
  'NamedResourcesFilterPatchArgs',
35
+ 'NamedResourcesFilterPatchArgsDict',
23
36
  'NamedResourcesFilterArgs',
37
+ 'NamedResourcesFilterArgsDict',
24
38
  'NamedResourcesInstancePatchArgs',
39
+ 'NamedResourcesInstancePatchArgsDict',
25
40
  'NamedResourcesInstanceArgs',
41
+ 'NamedResourcesInstanceArgsDict',
26
42
  'NamedResourcesIntSlicePatchArgs',
43
+ 'NamedResourcesIntSlicePatchArgsDict',
27
44
  'NamedResourcesIntSliceArgs',
45
+ 'NamedResourcesIntSliceArgsDict',
28
46
  'NamedResourcesRequestPatchArgs',
47
+ 'NamedResourcesRequestPatchArgsDict',
29
48
  'NamedResourcesRequestArgs',
49
+ 'NamedResourcesRequestArgsDict',
30
50
  'NamedResourcesResourcesPatchArgs',
51
+ 'NamedResourcesResourcesPatchArgsDict',
31
52
  'NamedResourcesResourcesArgs',
53
+ 'NamedResourcesResourcesArgsDict',
32
54
  'NamedResourcesStringSlicePatchArgs',
55
+ 'NamedResourcesStringSlicePatchArgsDict',
33
56
  'NamedResourcesStringSliceArgs',
57
+ 'NamedResourcesStringSliceArgsDict',
34
58
  'PodSchedulingContextSpecPatchArgs',
59
+ 'PodSchedulingContextSpecPatchArgsDict',
35
60
  'PodSchedulingContextSpecArgs',
61
+ 'PodSchedulingContextSpecArgsDict',
36
62
  'PodSchedulingContextStatusArgs',
63
+ 'PodSchedulingContextStatusArgsDict',
37
64
  'PodSchedulingContextArgs',
65
+ 'PodSchedulingContextArgsDict',
38
66
  'ResourceClaimConsumerReferenceArgs',
67
+ 'ResourceClaimConsumerReferenceArgsDict',
39
68
  'ResourceClaimParametersReferencePatchArgs',
69
+ 'ResourceClaimParametersReferencePatchArgsDict',
40
70
  'ResourceClaimParametersReferenceArgs',
71
+ 'ResourceClaimParametersReferenceArgsDict',
41
72
  'ResourceClaimParametersArgs',
73
+ 'ResourceClaimParametersArgsDict',
42
74
  'ResourceClaimSchedulingStatusArgs',
75
+ 'ResourceClaimSchedulingStatusArgsDict',
43
76
  'ResourceClaimSpecPatchArgs',
77
+ 'ResourceClaimSpecPatchArgsDict',
44
78
  'ResourceClaimSpecArgs',
79
+ 'ResourceClaimSpecArgsDict',
45
80
  'ResourceClaimStatusArgs',
81
+ 'ResourceClaimStatusArgsDict',
46
82
  'ResourceClaimTemplateSpecPatchArgs',
83
+ 'ResourceClaimTemplateSpecPatchArgsDict',
47
84
  'ResourceClaimTemplateSpecArgs',
85
+ 'ResourceClaimTemplateSpecArgsDict',
48
86
  'ResourceClaimTemplateArgs',
87
+ 'ResourceClaimTemplateArgsDict',
49
88
  'ResourceClaimArgs',
89
+ 'ResourceClaimArgsDict',
50
90
  'ResourceClassParametersReferencePatchArgs',
91
+ 'ResourceClassParametersReferencePatchArgsDict',
51
92
  'ResourceClassParametersReferenceArgs',
93
+ 'ResourceClassParametersReferenceArgsDict',
52
94
  'ResourceClassParametersArgs',
95
+ 'ResourceClassParametersArgsDict',
53
96
  'ResourceClassArgs',
97
+ 'ResourceClassArgsDict',
54
98
  'ResourceFilterPatchArgs',
99
+ 'ResourceFilterPatchArgsDict',
55
100
  'ResourceFilterArgs',
101
+ 'ResourceFilterArgsDict',
56
102
  'ResourceHandleArgs',
103
+ 'ResourceHandleArgsDict',
57
104
  'ResourceRequestPatchArgs',
105
+ 'ResourceRequestPatchArgsDict',
58
106
  'ResourceRequestArgs',
107
+ 'ResourceRequestArgsDict',
59
108
  'ResourceSliceArgs',
109
+ 'ResourceSliceArgsDict',
60
110
  'StructuredResourceHandleArgs',
111
+ 'StructuredResourceHandleArgsDict',
61
112
  'VendorParametersPatchArgs',
113
+ 'VendorParametersPatchArgsDict',
62
114
  'VendorParametersArgs',
115
+ 'VendorParametersArgsDict',
63
116
  ]
64
117
 
118
+ MYPY = False
119
+
120
+ if not MYPY:
121
+ class AllocationResultArgsDict(TypedDict):
122
+ """
123
+ AllocationResult contains attributes of an allocated resource.
124
+ """
125
+ available_on_nodes: NotRequired[pulumi.Input['_core.v1.NodeSelectorArgsDict']]
126
+ """
127
+ This field will get set by the resource driver after it has allocated the resource to inform the scheduler where it can schedule Pods using the ResourceClaim.
128
+
129
+ Setting this field is optional. If null, the resource is available everywhere.
130
+ """
131
+ resource_handles: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceHandleArgsDict']]]]
132
+ """
133
+ ResourceHandles contain the state associated with an allocation that should be maintained throughout the lifetime of a claim. Each ResourceHandle contains data that should be passed to a specific kubelet plugin once it lands on a node. This data is returned by the driver after a successful allocation and is opaque to Kubernetes. Driver documentation may explain to users how to interpret this data if needed.
134
+
135
+ Setting this field is optional. It has a maximum size of 32 entries. If null (or empty), it is assumed this allocation will be processed by a single kubelet plugin with no ResourceHandle data attached. The name of the kubelet plugin invoked will match the DriverName set in the ResourceClaimStatus this AllocationResult is embedded in.
136
+ """
137
+ shareable: NotRequired[pulumi.Input[bool]]
138
+ """
139
+ Shareable determines whether the resource supports more than one consumer at a time.
140
+ """
141
+ elif False:
142
+ AllocationResultArgsDict: TypeAlias = Mapping[str, Any]
143
+
65
144
  @pulumi.input_type
66
145
  class AllocationResultArgs:
67
146
  def __init__(__self__, *,
@@ -126,6 +205,22 @@ class AllocationResultArgs:
126
205
  pulumi.set(self, "shareable", value)
127
206
 
128
207
 
208
+ if not MYPY:
209
+ class DriverAllocationResultArgsDict(TypedDict):
210
+ """
211
+ DriverAllocationResult contains vendor parameters and the allocation result for one request.
212
+ """
213
+ named_resources: NotRequired[pulumi.Input['NamedResourcesAllocationResultArgsDict']]
214
+ """
215
+ NamedResources describes the allocation result when using the named resources model.
216
+ """
217
+ vendor_request_parameters: NotRequired[Any]
218
+ """
219
+ VendorRequestParameters are the per-request configuration parameters from the time that the claim was allocated.
220
+ """
221
+ elif False:
222
+ DriverAllocationResultArgsDict: TypeAlias = Mapping[str, Any]
223
+
129
224
  @pulumi.input_type
130
225
  class DriverAllocationResultArgs:
131
226
  def __init__(__self__, *,
@@ -166,6 +261,26 @@ class DriverAllocationResultArgs:
166
261
  pulumi.set(self, "vendor_request_parameters", value)
167
262
 
168
263
 
264
+ if not MYPY:
265
+ class DriverRequestsPatchArgsDict(TypedDict):
266
+ """
267
+ DriverRequests describes all resources that are needed from one particular driver.
268
+ """
269
+ driver_name: NotRequired[pulumi.Input[str]]
270
+ """
271
+ DriverName is the name used by the DRA driver kubelet plugin.
272
+ """
273
+ requests: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceRequestPatchArgsDict']]]]
274
+ """
275
+ Requests describes all resources that are needed from the driver.
276
+ """
277
+ vendor_parameters: NotRequired[Any]
278
+ """
279
+ VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim.
280
+ """
281
+ elif False:
282
+ DriverRequestsPatchArgsDict: TypeAlias = Mapping[str, Any]
283
+
169
284
  @pulumi.input_type
170
285
  class DriverRequestsPatchArgs:
171
286
  def __init__(__self__, *,
@@ -222,6 +337,26 @@ class DriverRequestsPatchArgs:
222
337
  pulumi.set(self, "vendor_parameters", value)
223
338
 
224
339
 
340
+ if not MYPY:
341
+ class DriverRequestsArgsDict(TypedDict):
342
+ """
343
+ DriverRequests describes all resources that are needed from one particular driver.
344
+ """
345
+ driver_name: NotRequired[pulumi.Input[str]]
346
+ """
347
+ DriverName is the name used by the DRA driver kubelet plugin.
348
+ """
349
+ requests: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceRequestArgsDict']]]]
350
+ """
351
+ Requests describes all resources that are needed from the driver.
352
+ """
353
+ vendor_parameters: NotRequired[Any]
354
+ """
355
+ VendorParameters are arbitrary setup parameters for all requests of the claim. They are ignored while allocating the claim.
356
+ """
357
+ elif False:
358
+ DriverRequestsArgsDict: TypeAlias = Mapping[str, Any]
359
+
225
360
  @pulumi.input_type
226
361
  class DriverRequestsArgs:
227
362
  def __init__(__self__, *,
@@ -278,6 +413,18 @@ class DriverRequestsArgs:
278
413
  pulumi.set(self, "vendor_parameters", value)
279
414
 
280
415
 
416
+ if not MYPY:
417
+ class NamedResourcesAllocationResultArgsDict(TypedDict):
418
+ """
419
+ NamedResourcesAllocationResult is used in AllocationResultModel.
420
+ """
421
+ name: pulumi.Input[str]
422
+ """
423
+ Name is the name of the selected resource instance.
424
+ """
425
+ elif False:
426
+ NamedResourcesAllocationResultArgsDict: TypeAlias = Mapping[str, Any]
427
+
281
428
  @pulumi.input_type
282
429
  class NamedResourcesAllocationResultArgs:
283
430
  def __init__(__self__, *,
@@ -301,6 +448,46 @@ class NamedResourcesAllocationResultArgs:
301
448
  pulumi.set(self, "name", value)
302
449
 
303
450
 
451
+ if not MYPY:
452
+ class NamedResourcesAttributePatchArgsDict(TypedDict):
453
+ """
454
+ NamedResourcesAttribute is a combination of an attribute name and its value.
455
+ """
456
+ bool: NotRequired[pulumi.Input[bool]]
457
+ """
458
+ BoolValue is a true/false value.
459
+ """
460
+ int: NotRequired[pulumi.Input[int]]
461
+ """
462
+ IntValue is a 64-bit integer.
463
+ """
464
+ int_slice: NotRequired[pulumi.Input['NamedResourcesIntSlicePatchArgsDict']]
465
+ """
466
+ IntSliceValue is an array of 64-bit integers.
467
+ """
468
+ name: NotRequired[pulumi.Input[str]]
469
+ """
470
+ Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
471
+ """
472
+ quantity: NotRequired[pulumi.Input[str]]
473
+ """
474
+ QuantityValue is a quantity.
475
+ """
476
+ string: NotRequired[pulumi.Input[str]]
477
+ """
478
+ StringValue is a string.
479
+ """
480
+ string_slice: NotRequired[pulumi.Input['NamedResourcesStringSlicePatchArgsDict']]
481
+ """
482
+ StringSliceValue is an array of strings.
483
+ """
484
+ version: NotRequired[pulumi.Input[str]]
485
+ """
486
+ VersionValue is a semantic version according to semver.org spec 2.0.0.
487
+ """
488
+ elif False:
489
+ NamedResourcesAttributePatchArgsDict: TypeAlias = Mapping[str, Any]
490
+
304
491
  @pulumi.input_type
305
492
  class NamedResourcesAttributePatchArgs:
306
493
  def __init__(__self__, *,
@@ -437,6 +624,46 @@ class NamedResourcesAttributePatchArgs:
437
624
  pulumi.set(self, "version", value)
438
625
 
439
626
 
627
+ if not MYPY:
628
+ class NamedResourcesAttributeArgsDict(TypedDict):
629
+ """
630
+ NamedResourcesAttribute is a combination of an attribute name and its value.
631
+ """
632
+ name: pulumi.Input[str]
633
+ """
634
+ Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
635
+ """
636
+ bool: NotRequired[pulumi.Input[bool]]
637
+ """
638
+ BoolValue is a true/false value.
639
+ """
640
+ int: NotRequired[pulumi.Input[int]]
641
+ """
642
+ IntValue is a 64-bit integer.
643
+ """
644
+ int_slice: NotRequired[pulumi.Input['NamedResourcesIntSliceArgsDict']]
645
+ """
646
+ IntSliceValue is an array of 64-bit integers.
647
+ """
648
+ quantity: NotRequired[pulumi.Input[str]]
649
+ """
650
+ QuantityValue is a quantity.
651
+ """
652
+ string: NotRequired[pulumi.Input[str]]
653
+ """
654
+ StringValue is a string.
655
+ """
656
+ string_slice: NotRequired[pulumi.Input['NamedResourcesStringSliceArgsDict']]
657
+ """
658
+ StringSliceValue is an array of strings.
659
+ """
660
+ version: NotRequired[pulumi.Input[str]]
661
+ """
662
+ VersionValue is a semantic version according to semver.org spec 2.0.0.
663
+ """
664
+ elif False:
665
+ NamedResourcesAttributeArgsDict: TypeAlias = Mapping[str, Any]
666
+
440
667
  @pulumi.input_type
441
668
  class NamedResourcesAttributeArgs:
442
669
  def __init__(__self__, *,
@@ -572,6 +799,23 @@ class NamedResourcesAttributeArgs:
572
799
  pulumi.set(self, "version", value)
573
800
 
574
801
 
802
+ if not MYPY:
803
+ class NamedResourcesFilterPatchArgsDict(TypedDict):
804
+ """
805
+ NamedResourcesFilter is used in ResourceFilterModel.
806
+ """
807
+ selector: NotRequired[pulumi.Input[str]]
808
+ """
809
+ Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/
810
+
811
+ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:
812
+
813
+ attributes.quantity["a"].isGreaterThan(quantity("0")) &&
814
+ attributes.stringslice["b"].isSorted()
815
+ """
816
+ elif False:
817
+ NamedResourcesFilterPatchArgsDict: TypeAlias = Mapping[str, Any]
818
+
575
819
  @pulumi.input_type
576
820
  class NamedResourcesFilterPatchArgs:
577
821
  def __init__(__self__, *,
@@ -606,6 +850,23 @@ class NamedResourcesFilterPatchArgs:
606
850
  pulumi.set(self, "selector", value)
607
851
 
608
852
 
853
+ if not MYPY:
854
+ class NamedResourcesFilterArgsDict(TypedDict):
855
+ """
856
+ NamedResourcesFilter is used in ResourceFilterModel.
857
+ """
858
+ selector: pulumi.Input[str]
859
+ """
860
+ Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/
861
+
862
+ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:
863
+
864
+ attributes.quantity["a"].isGreaterThan(quantity("0")) &&
865
+ attributes.stringslice["b"].isSorted()
866
+ """
867
+ elif False:
868
+ NamedResourcesFilterArgsDict: TypeAlias = Mapping[str, Any]
869
+
609
870
  @pulumi.input_type
610
871
  class NamedResourcesFilterArgs:
611
872
  def __init__(__self__, *,
@@ -639,6 +900,22 @@ class NamedResourcesFilterArgs:
639
900
  pulumi.set(self, "selector", value)
640
901
 
641
902
 
903
+ if not MYPY:
904
+ class NamedResourcesInstancePatchArgsDict(TypedDict):
905
+ """
906
+ NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.
907
+ """
908
+ attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedResourcesAttributePatchArgsDict']]]]
909
+ """
910
+ Attributes defines the attributes of this resource instance. The name of each attribute must be unique.
911
+ """
912
+ name: NotRequired[pulumi.Input[str]]
913
+ """
914
+ Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
915
+ """
916
+ elif False:
917
+ NamedResourcesInstancePatchArgsDict: TypeAlias = Mapping[str, Any]
918
+
642
919
  @pulumi.input_type
643
920
  class NamedResourcesInstancePatchArgs:
644
921
  def __init__(__self__, *,
@@ -679,6 +956,22 @@ class NamedResourcesInstancePatchArgs:
679
956
  pulumi.set(self, "name", value)
680
957
 
681
958
 
959
+ if not MYPY:
960
+ class NamedResourcesInstanceArgsDict(TypedDict):
961
+ """
962
+ NamedResourcesInstance represents one individual hardware instance that can be selected based on its attributes.
963
+ """
964
+ name: pulumi.Input[str]
965
+ """
966
+ Name is unique identifier among all resource instances managed by the driver on the node. It must be a DNS subdomain.
967
+ """
968
+ attributes: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedResourcesAttributeArgsDict']]]]
969
+ """
970
+ Attributes defines the attributes of this resource instance. The name of each attribute must be unique.
971
+ """
972
+ elif False:
973
+ NamedResourcesInstanceArgsDict: TypeAlias = Mapping[str, Any]
974
+
682
975
  @pulumi.input_type
683
976
  class NamedResourcesInstanceArgs:
684
977
  def __init__(__self__, *,
@@ -718,6 +1011,18 @@ class NamedResourcesInstanceArgs:
718
1011
  pulumi.set(self, "attributes", value)
719
1012
 
720
1013
 
1014
+ if not MYPY:
1015
+ class NamedResourcesIntSlicePatchArgsDict(TypedDict):
1016
+ """
1017
+ NamedResourcesIntSlice contains a slice of 64-bit integers.
1018
+ """
1019
+ ints: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
1020
+ """
1021
+ Ints is the slice of 64-bit integers.
1022
+ """
1023
+ elif False:
1024
+ NamedResourcesIntSlicePatchArgsDict: TypeAlias = Mapping[str, Any]
1025
+
721
1026
  @pulumi.input_type
722
1027
  class NamedResourcesIntSlicePatchArgs:
723
1028
  def __init__(__self__, *,
@@ -742,6 +1047,18 @@ class NamedResourcesIntSlicePatchArgs:
742
1047
  pulumi.set(self, "ints", value)
743
1048
 
744
1049
 
1050
+ if not MYPY:
1051
+ class NamedResourcesIntSliceArgsDict(TypedDict):
1052
+ """
1053
+ NamedResourcesIntSlice contains a slice of 64-bit integers.
1054
+ """
1055
+ ints: pulumi.Input[Sequence[pulumi.Input[int]]]
1056
+ """
1057
+ Ints is the slice of 64-bit integers.
1058
+ """
1059
+ elif False:
1060
+ NamedResourcesIntSliceArgsDict: TypeAlias = Mapping[str, Any]
1061
+
745
1062
  @pulumi.input_type
746
1063
  class NamedResourcesIntSliceArgs:
747
1064
  def __init__(__self__, *,
@@ -765,6 +1082,23 @@ class NamedResourcesIntSliceArgs:
765
1082
  pulumi.set(self, "ints", value)
766
1083
 
767
1084
 
1085
+ if not MYPY:
1086
+ class NamedResourcesRequestPatchArgsDict(TypedDict):
1087
+ """
1088
+ NamedResourcesRequest is used in ResourceRequestModel.
1089
+ """
1090
+ selector: NotRequired[pulumi.Input[str]]
1091
+ """
1092
+ Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/
1093
+
1094
+ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:
1095
+
1096
+ attributes.quantity["a"].isGreaterThan(quantity("0")) &&
1097
+ attributes.stringslice["b"].isSorted()
1098
+ """
1099
+ elif False:
1100
+ NamedResourcesRequestPatchArgsDict: TypeAlias = Mapping[str, Any]
1101
+
768
1102
  @pulumi.input_type
769
1103
  class NamedResourcesRequestPatchArgs:
770
1104
  def __init__(__self__, *,
@@ -799,6 +1133,23 @@ class NamedResourcesRequestPatchArgs:
799
1133
  pulumi.set(self, "selector", value)
800
1134
 
801
1135
 
1136
+ if not MYPY:
1137
+ class NamedResourcesRequestArgsDict(TypedDict):
1138
+ """
1139
+ NamedResourcesRequest is used in ResourceRequestModel.
1140
+ """
1141
+ selector: pulumi.Input[str]
1142
+ """
1143
+ Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/
1144
+
1145
+ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example:
1146
+
1147
+ attributes.quantity["a"].isGreaterThan(quantity("0")) &&
1148
+ attributes.stringslice["b"].isSorted()
1149
+ """
1150
+ elif False:
1151
+ NamedResourcesRequestArgsDict: TypeAlias = Mapping[str, Any]
1152
+
802
1153
  @pulumi.input_type
803
1154
  class NamedResourcesRequestArgs:
804
1155
  def __init__(__self__, *,
@@ -832,6 +1183,18 @@ class NamedResourcesRequestArgs:
832
1183
  pulumi.set(self, "selector", value)
833
1184
 
834
1185
 
1186
+ if not MYPY:
1187
+ class NamedResourcesResourcesPatchArgsDict(TypedDict):
1188
+ """
1189
+ NamedResourcesResources is used in ResourceModel.
1190
+ """
1191
+ instances: NotRequired[pulumi.Input[Sequence[pulumi.Input['NamedResourcesInstancePatchArgsDict']]]]
1192
+ """
1193
+ The list of all individual resources instances currently available.
1194
+ """
1195
+ elif False:
1196
+ NamedResourcesResourcesPatchArgsDict: TypeAlias = Mapping[str, Any]
1197
+
835
1198
  @pulumi.input_type
836
1199
  class NamedResourcesResourcesPatchArgs:
837
1200
  def __init__(__self__, *,
@@ -856,6 +1219,18 @@ class NamedResourcesResourcesPatchArgs:
856
1219
  pulumi.set(self, "instances", value)
857
1220
 
858
1221
 
1222
+ if not MYPY:
1223
+ class NamedResourcesResourcesArgsDict(TypedDict):
1224
+ """
1225
+ NamedResourcesResources is used in ResourceModel.
1226
+ """
1227
+ instances: pulumi.Input[Sequence[pulumi.Input['NamedResourcesInstanceArgsDict']]]
1228
+ """
1229
+ The list of all individual resources instances currently available.
1230
+ """
1231
+ elif False:
1232
+ NamedResourcesResourcesArgsDict: TypeAlias = Mapping[str, Any]
1233
+
859
1234
  @pulumi.input_type
860
1235
  class NamedResourcesResourcesArgs:
861
1236
  def __init__(__self__, *,
@@ -879,6 +1254,18 @@ class NamedResourcesResourcesArgs:
879
1254
  pulumi.set(self, "instances", value)
880
1255
 
881
1256
 
1257
+ if not MYPY:
1258
+ class NamedResourcesStringSlicePatchArgsDict(TypedDict):
1259
+ """
1260
+ NamedResourcesStringSlice contains a slice of strings.
1261
+ """
1262
+ strings: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1263
+ """
1264
+ Strings is the slice of strings.
1265
+ """
1266
+ elif False:
1267
+ NamedResourcesStringSlicePatchArgsDict: TypeAlias = Mapping[str, Any]
1268
+
882
1269
  @pulumi.input_type
883
1270
  class NamedResourcesStringSlicePatchArgs:
884
1271
  def __init__(__self__, *,
@@ -903,6 +1290,18 @@ class NamedResourcesStringSlicePatchArgs:
903
1290
  pulumi.set(self, "strings", value)
904
1291
 
905
1292
 
1293
+ if not MYPY:
1294
+ class NamedResourcesStringSliceArgsDict(TypedDict):
1295
+ """
1296
+ NamedResourcesStringSlice contains a slice of strings.
1297
+ """
1298
+ strings: pulumi.Input[Sequence[pulumi.Input[str]]]
1299
+ """
1300
+ Strings is the slice of strings.
1301
+ """
1302
+ elif False:
1303
+ NamedResourcesStringSliceArgsDict: TypeAlias = Mapping[str, Any]
1304
+
906
1305
  @pulumi.input_type
907
1306
  class NamedResourcesStringSliceArgs:
908
1307
  def __init__(__self__, *,
@@ -926,6 +1325,24 @@ class NamedResourcesStringSliceArgs:
926
1325
  pulumi.set(self, "strings", value)
927
1326
 
928
1327
 
1328
+ if not MYPY:
1329
+ class PodSchedulingContextSpecPatchArgsDict(TypedDict):
1330
+ """
1331
+ PodSchedulingContextSpec describes where resources for the Pod are needed.
1332
+ """
1333
+ potential_nodes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1334
+ """
1335
+ PotentialNodes lists nodes where the Pod might be able to run.
1336
+
1337
+ The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
1338
+ """
1339
+ selected_node: NotRequired[pulumi.Input[str]]
1340
+ """
1341
+ SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
1342
+ """
1343
+ elif False:
1344
+ PodSchedulingContextSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1345
+
929
1346
  @pulumi.input_type
930
1347
  class PodSchedulingContextSpecPatchArgs:
931
1348
  def __init__(__self__, *,
@@ -970,6 +1387,24 @@ class PodSchedulingContextSpecPatchArgs:
970
1387
  pulumi.set(self, "selected_node", value)
971
1388
 
972
1389
 
1390
+ if not MYPY:
1391
+ class PodSchedulingContextSpecArgsDict(TypedDict):
1392
+ """
1393
+ PodSchedulingContextSpec describes where resources for the Pod are needed.
1394
+ """
1395
+ potential_nodes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
1396
+ """
1397
+ PotentialNodes lists nodes where the Pod might be able to run.
1398
+
1399
+ The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
1400
+ """
1401
+ selected_node: NotRequired[pulumi.Input[str]]
1402
+ """
1403
+ SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
1404
+ """
1405
+ elif False:
1406
+ PodSchedulingContextSpecArgsDict: TypeAlias = Mapping[str, Any]
1407
+
973
1408
  @pulumi.input_type
974
1409
  class PodSchedulingContextSpecArgs:
975
1410
  def __init__(__self__, *,
@@ -1014,6 +1449,18 @@ class PodSchedulingContextSpecArgs:
1014
1449
  pulumi.set(self, "selected_node", value)
1015
1450
 
1016
1451
 
1452
+ if not MYPY:
1453
+ class PodSchedulingContextStatusArgsDict(TypedDict):
1454
+ """
1455
+ PodSchedulingContextStatus describes where resources for the Pod can be allocated.
1456
+ """
1457
+ resource_claims: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceClaimSchedulingStatusArgsDict']]]]
1458
+ """
1459
+ ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses "WaitForFirstConsumer" allocation mode.
1460
+ """
1461
+ elif False:
1462
+ PodSchedulingContextStatusArgsDict: TypeAlias = Mapping[str, Any]
1463
+
1017
1464
  @pulumi.input_type
1018
1465
  class PodSchedulingContextStatusArgs:
1019
1466
  def __init__(__self__, *,
@@ -1038,6 +1485,36 @@ class PodSchedulingContextStatusArgs:
1038
1485
  pulumi.set(self, "resource_claims", value)
1039
1486
 
1040
1487
 
1488
+ if not MYPY:
1489
+ class PodSchedulingContextArgsDict(TypedDict):
1490
+ """
1491
+ PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
1492
+
1493
+ This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
1494
+ """
1495
+ spec: pulumi.Input['PodSchedulingContextSpecArgsDict']
1496
+ """
1497
+ Spec describes where resources for the Pod are needed.
1498
+ """
1499
+ api_version: NotRequired[pulumi.Input[str]]
1500
+ """
1501
+ 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
1502
+ """
1503
+ kind: NotRequired[pulumi.Input[str]]
1504
+ """
1505
+ 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
1506
+ """
1507
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1508
+ """
1509
+ Standard object metadata
1510
+ """
1511
+ status: NotRequired[pulumi.Input['PodSchedulingContextStatusArgsDict']]
1512
+ """
1513
+ Status describes where resources for the Pod can be allocated.
1514
+ """
1515
+ elif False:
1516
+ PodSchedulingContextArgsDict: TypeAlias = Mapping[str, Any]
1517
+
1041
1518
  @pulumi.input_type
1042
1519
  class PodSchedulingContextArgs:
1043
1520
  def __init__(__self__, *,
@@ -1127,6 +1604,30 @@ class PodSchedulingContextArgs:
1127
1604
  pulumi.set(self, "status", value)
1128
1605
 
1129
1606
 
1607
+ if not MYPY:
1608
+ class ResourceClaimConsumerReferenceArgsDict(TypedDict):
1609
+ """
1610
+ ResourceClaimConsumerReference contains enough information to let you locate the consumer of a ResourceClaim. The user must be a resource in the same namespace as the ResourceClaim.
1611
+ """
1612
+ name: pulumi.Input[str]
1613
+ """
1614
+ Name is the name of resource being referenced.
1615
+ """
1616
+ resource: pulumi.Input[str]
1617
+ """
1618
+ Resource is the type of resource being referenced, for example "pods".
1619
+ """
1620
+ uid: pulumi.Input[str]
1621
+ """
1622
+ UID identifies exactly one incarnation of the resource.
1623
+ """
1624
+ api_group: NotRequired[pulumi.Input[str]]
1625
+ """
1626
+ APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
1627
+ """
1628
+ elif False:
1629
+ ResourceClaimConsumerReferenceArgsDict: TypeAlias = Mapping[str, Any]
1630
+
1130
1631
  @pulumi.input_type
1131
1632
  class ResourceClaimConsumerReferenceArgs:
1132
1633
  def __init__(__self__, *,
@@ -1196,6 +1697,26 @@ class ResourceClaimConsumerReferenceArgs:
1196
1697
  pulumi.set(self, "api_group", value)
1197
1698
 
1198
1699
 
1700
+ if not MYPY:
1701
+ class ResourceClaimParametersReferencePatchArgsDict(TypedDict):
1702
+ """
1703
+ ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.
1704
+ """
1705
+ api_group: NotRequired[pulumi.Input[str]]
1706
+ """
1707
+ APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
1708
+ """
1709
+ kind: NotRequired[pulumi.Input[str]]
1710
+ """
1711
+ Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example "ConfigMap".
1712
+ """
1713
+ name: NotRequired[pulumi.Input[str]]
1714
+ """
1715
+ Name is the name of resource being referenced.
1716
+ """
1717
+ elif False:
1718
+ ResourceClaimParametersReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
1719
+
1199
1720
  @pulumi.input_type
1200
1721
  class ResourceClaimParametersReferencePatchArgs:
1201
1722
  def __init__(__self__, *,
@@ -1252,6 +1773,26 @@ class ResourceClaimParametersReferencePatchArgs:
1252
1773
  pulumi.set(self, "name", value)
1253
1774
 
1254
1775
 
1776
+ if not MYPY:
1777
+ class ResourceClaimParametersReferenceArgsDict(TypedDict):
1778
+ """
1779
+ ResourceClaimParametersReference contains enough information to let you locate the parameters for a ResourceClaim. The object must be in the same namespace as the ResourceClaim.
1780
+ """
1781
+ kind: pulumi.Input[str]
1782
+ """
1783
+ Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata, for example "ConfigMap".
1784
+ """
1785
+ name: pulumi.Input[str]
1786
+ """
1787
+ Name is the name of resource being referenced.
1788
+ """
1789
+ api_group: NotRequired[pulumi.Input[str]]
1790
+ """
1791
+ APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
1792
+ """
1793
+ elif False:
1794
+ ResourceClaimParametersReferenceArgsDict: TypeAlias = Mapping[str, Any]
1795
+
1255
1796
  @pulumi.input_type
1256
1797
  class ResourceClaimParametersReferenceArgs:
1257
1798
  def __init__(__self__, *,
@@ -1306,6 +1847,40 @@ class ResourceClaimParametersReferenceArgs:
1306
1847
  pulumi.set(self, "api_group", value)
1307
1848
 
1308
1849
 
1850
+ if not MYPY:
1851
+ class ResourceClaimParametersArgsDict(TypedDict):
1852
+ """
1853
+ ResourceClaimParameters defines resource requests for a ResourceClaim in an in-tree format understood by Kubernetes.
1854
+ """
1855
+ api_version: NotRequired[pulumi.Input[str]]
1856
+ """
1857
+ 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
1858
+ """
1859
+ driver_requests: NotRequired[pulumi.Input[Sequence[pulumi.Input['DriverRequestsArgsDict']]]]
1860
+ """
1861
+ DriverRequests describes all resources that are needed for the allocated claim. A single claim may use resources coming from different drivers. For each driver, this array has at most one entry which then may have one or more per-driver requests.
1862
+
1863
+ May be empty, in which case the claim can always be allocated.
1864
+ """
1865
+ generated_from: NotRequired[pulumi.Input['ResourceClaimParametersReferenceArgsDict']]
1866
+ """
1867
+ If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the claim parameters when the parameter reference of the claim refers to some unknown type.
1868
+ """
1869
+ kind: NotRequired[pulumi.Input[str]]
1870
+ """
1871
+ 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
1872
+ """
1873
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
1874
+ """
1875
+ Standard object metadata
1876
+ """
1877
+ shareable: NotRequired[pulumi.Input[bool]]
1878
+ """
1879
+ Shareable indicates whether the allocated claim is meant to be shareable by multiple consumers at the same time.
1880
+ """
1881
+ elif False:
1882
+ ResourceClaimParametersArgsDict: TypeAlias = Mapping[str, Any]
1883
+
1309
1884
  @pulumi.input_type
1310
1885
  class ResourceClaimParametersArgs:
1311
1886
  def __init__(__self__, *,
@@ -1414,6 +1989,24 @@ class ResourceClaimParametersArgs:
1414
1989
  pulumi.set(self, "shareable", value)
1415
1990
 
1416
1991
 
1992
+ if not MYPY:
1993
+ class ResourceClaimSchedulingStatusArgsDict(TypedDict):
1994
+ """
1995
+ ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
1996
+ """
1997
+ name: NotRequired[pulumi.Input[str]]
1998
+ """
1999
+ Name matches the pod.spec.resourceClaims[*].Name field.
2000
+ """
2001
+ unsuitable_nodes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
2002
+ """
2003
+ UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
2004
+
2005
+ The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
2006
+ """
2007
+ elif False:
2008
+ ResourceClaimSchedulingStatusArgsDict: TypeAlias = Mapping[str, Any]
2009
+
1417
2010
  @pulumi.input_type
1418
2011
  class ResourceClaimSchedulingStatusArgs:
1419
2012
  def __init__(__self__, *,
@@ -1458,6 +2051,28 @@ class ResourceClaimSchedulingStatusArgs:
1458
2051
  pulumi.set(self, "unsuitable_nodes", value)
1459
2052
 
1460
2053
 
2054
+ if not MYPY:
2055
+ class ResourceClaimSpecPatchArgsDict(TypedDict):
2056
+ """
2057
+ ResourceClaimSpec defines how a resource is to be allocated.
2058
+ """
2059
+ allocation_mode: NotRequired[pulumi.Input[str]]
2060
+ """
2061
+ Allocation can start immediately or when a Pod wants to use the resource. "WaitForFirstConsumer" is the default.
2062
+ """
2063
+ parameters_ref: NotRequired[pulumi.Input['ResourceClaimParametersReferencePatchArgsDict']]
2064
+ """
2065
+ ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.
2066
+
2067
+ The object must be in the same namespace as the ResourceClaim.
2068
+ """
2069
+ resource_class_name: NotRequired[pulumi.Input[str]]
2070
+ """
2071
+ ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
2072
+ """
2073
+ elif False:
2074
+ ResourceClaimSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
2075
+
1461
2076
  @pulumi.input_type
1462
2077
  class ResourceClaimSpecPatchArgs:
1463
2078
  def __init__(__self__, *,
@@ -1518,6 +2133,28 @@ class ResourceClaimSpecPatchArgs:
1518
2133
  pulumi.set(self, "resource_class_name", value)
1519
2134
 
1520
2135
 
2136
+ if not MYPY:
2137
+ class ResourceClaimSpecArgsDict(TypedDict):
2138
+ """
2139
+ ResourceClaimSpec defines how a resource is to be allocated.
2140
+ """
2141
+ resource_class_name: pulumi.Input[str]
2142
+ """
2143
+ ResourceClassName references the driver and additional parameters via the name of a ResourceClass that was created as part of the driver deployment.
2144
+ """
2145
+ allocation_mode: NotRequired[pulumi.Input[str]]
2146
+ """
2147
+ Allocation can start immediately or when a Pod wants to use the resource. "WaitForFirstConsumer" is the default.
2148
+ """
2149
+ parameters_ref: NotRequired[pulumi.Input['ResourceClaimParametersReferenceArgsDict']]
2150
+ """
2151
+ ParametersRef references a separate object with arbitrary parameters that will be used by the driver when allocating a resource for the claim.
2152
+
2153
+ The object must be in the same namespace as the ResourceClaim.
2154
+ """
2155
+ elif False:
2156
+ ResourceClaimSpecArgsDict: TypeAlias = Mapping[str, Any]
2157
+
1521
2158
  @pulumi.input_type
1522
2159
  class ResourceClaimSpecArgs:
1523
2160
  def __init__(__self__, *,
@@ -1577,6 +2214,36 @@ class ResourceClaimSpecArgs:
1577
2214
  pulumi.set(self, "parameters_ref", value)
1578
2215
 
1579
2216
 
2217
+ if not MYPY:
2218
+ class ResourceClaimStatusArgsDict(TypedDict):
2219
+ """
2220
+ ResourceClaimStatus tracks whether the resource has been allocated and what the resulting attributes are.
2221
+ """
2222
+ allocation: NotRequired[pulumi.Input['AllocationResultArgsDict']]
2223
+ """
2224
+ Allocation is set by the resource driver once a resource or set of resources has been allocated successfully. If this is not specified, the resources have not been allocated yet.
2225
+ """
2226
+ deallocation_requested: NotRequired[pulumi.Input[bool]]
2227
+ """
2228
+ DeallocationRequested indicates that a ResourceClaim is to be deallocated.
2229
+
2230
+ The driver then must deallocate this claim and reset the field together with clearing the Allocation field.
2231
+
2232
+ While DeallocationRequested is set, no new consumers may be added to ReservedFor.
2233
+ """
2234
+ driver_name: NotRequired[pulumi.Input[str]]
2235
+ """
2236
+ DriverName is a copy of the driver name from the ResourceClass at the time when allocation started.
2237
+ """
2238
+ reserved_for: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceClaimConsumerReferenceArgsDict']]]]
2239
+ """
2240
+ ReservedFor indicates which entities are currently allowed to use the claim. A Pod which references a ResourceClaim which is not reserved for that Pod will not be started.
2241
+
2242
+ There can be at most 32 such reservations. This may get increased in the future, but not reduced.
2243
+ """
2244
+ elif False:
2245
+ ResourceClaimStatusArgsDict: TypeAlias = Mapping[str, Any]
2246
+
1580
2247
  @pulumi.input_type
1581
2248
  class ResourceClaimStatusArgs:
1582
2249
  def __init__(__self__, *,
@@ -1654,12 +2321,28 @@ class ResourceClaimStatusArgs:
1654
2321
 
1655
2322
  There can be at most 32 such reservations. This may get increased in the future, but not reduced.
1656
2323
  """
1657
- return pulumi.get(self, "reserved_for")
1658
-
1659
- @reserved_for.setter
1660
- def reserved_for(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceClaimConsumerReferenceArgs']]]]):
1661
- pulumi.set(self, "reserved_for", value)
1662
-
2324
+ return pulumi.get(self, "reserved_for")
2325
+
2326
+ @reserved_for.setter
2327
+ def reserved_for(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceClaimConsumerReferenceArgs']]]]):
2328
+ pulumi.set(self, "reserved_for", value)
2329
+
2330
+
2331
+ if not MYPY:
2332
+ class ResourceClaimTemplateSpecPatchArgsDict(TypedDict):
2333
+ """
2334
+ ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
2335
+ """
2336
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaPatchArgsDict']]
2337
+ """
2338
+ ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
2339
+ """
2340
+ spec: NotRequired[pulumi.Input['ResourceClaimSpecPatchArgsDict']]
2341
+ """
2342
+ Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
2343
+ """
2344
+ elif False:
2345
+ ResourceClaimTemplateSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
1663
2346
 
1664
2347
  @pulumi.input_type
1665
2348
  class ResourceClaimTemplateSpecPatchArgs:
@@ -1701,6 +2384,22 @@ class ResourceClaimTemplateSpecPatchArgs:
1701
2384
  pulumi.set(self, "spec", value)
1702
2385
 
1703
2386
 
2387
+ if not MYPY:
2388
+ class ResourceClaimTemplateSpecArgsDict(TypedDict):
2389
+ """
2390
+ ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
2391
+ """
2392
+ spec: pulumi.Input['ResourceClaimSpecArgsDict']
2393
+ """
2394
+ Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
2395
+ """
2396
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
2397
+ """
2398
+ ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
2399
+ """
2400
+ elif False:
2401
+ ResourceClaimTemplateSpecArgsDict: TypeAlias = Mapping[str, Any]
2402
+
1704
2403
  @pulumi.input_type
1705
2404
  class ResourceClaimTemplateSpecArgs:
1706
2405
  def __init__(__self__, *,
@@ -1740,6 +2439,32 @@ class ResourceClaimTemplateSpecArgs:
1740
2439
  pulumi.set(self, "metadata", value)
1741
2440
 
1742
2441
 
2442
+ if not MYPY:
2443
+ class ResourceClaimTemplateArgsDict(TypedDict):
2444
+ """
2445
+ ResourceClaimTemplate is used to produce ResourceClaim objects.
2446
+ """
2447
+ spec: pulumi.Input['ResourceClaimTemplateSpecArgsDict']
2448
+ """
2449
+ Describes the ResourceClaim that is to be generated.
2450
+
2451
+ This field is immutable. A ResourceClaim will get created by the control plane for a Pod when needed and then not get updated anymore.
2452
+ """
2453
+ api_version: NotRequired[pulumi.Input[str]]
2454
+ """
2455
+ 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
2456
+ """
2457
+ kind: NotRequired[pulumi.Input[str]]
2458
+ """
2459
+ 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
2460
+ """
2461
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
2462
+ """
2463
+ Standard object metadata
2464
+ """
2465
+ elif False:
2466
+ ResourceClaimTemplateArgsDict: TypeAlias = Mapping[str, Any]
2467
+
1743
2468
  @pulumi.input_type
1744
2469
  class ResourceClaimTemplateArgs:
1745
2470
  def __init__(__self__, *,
@@ -1815,6 +2540,36 @@ class ResourceClaimTemplateArgs:
1815
2540
  pulumi.set(self, "metadata", value)
1816
2541
 
1817
2542
 
2543
+ if not MYPY:
2544
+ class ResourceClaimArgsDict(TypedDict):
2545
+ """
2546
+ ResourceClaim describes which resources are needed by a resource consumer. Its status tracks whether the resource has been allocated and what the resulting attributes are.
2547
+
2548
+ This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
2549
+ """
2550
+ spec: pulumi.Input['ResourceClaimSpecArgsDict']
2551
+ """
2552
+ Spec describes the desired attributes of a resource that then needs to be allocated. It can only be set once when creating the ResourceClaim.
2553
+ """
2554
+ api_version: NotRequired[pulumi.Input[str]]
2555
+ """
2556
+ 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
2557
+ """
2558
+ kind: NotRequired[pulumi.Input[str]]
2559
+ """
2560
+ 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
2561
+ """
2562
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
2563
+ """
2564
+ Standard object metadata
2565
+ """
2566
+ status: NotRequired[pulumi.Input['ResourceClaimStatusArgsDict']]
2567
+ """
2568
+ Status describes whether the resource is available and with which attributes.
2569
+ """
2570
+ elif False:
2571
+ ResourceClaimArgsDict: TypeAlias = Mapping[str, Any]
2572
+
1818
2573
  @pulumi.input_type
1819
2574
  class ResourceClaimArgs:
1820
2575
  def __init__(__self__, *,
@@ -1904,6 +2659,30 @@ class ResourceClaimArgs:
1904
2659
  pulumi.set(self, "status", value)
1905
2660
 
1906
2661
 
2662
+ if not MYPY:
2663
+ class ResourceClassParametersReferencePatchArgsDict(TypedDict):
2664
+ """
2665
+ ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
2666
+ """
2667
+ api_group: NotRequired[pulumi.Input[str]]
2668
+ """
2669
+ APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
2670
+ """
2671
+ kind: NotRequired[pulumi.Input[str]]
2672
+ """
2673
+ Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.
2674
+ """
2675
+ name: NotRequired[pulumi.Input[str]]
2676
+ """
2677
+ Name is the name of resource being referenced.
2678
+ """
2679
+ namespace: NotRequired[pulumi.Input[str]]
2680
+ """
2681
+ Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.
2682
+ """
2683
+ elif False:
2684
+ ResourceClassParametersReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
2685
+
1907
2686
  @pulumi.input_type
1908
2687
  class ResourceClassParametersReferencePatchArgs:
1909
2688
  def __init__(__self__, *,
@@ -1976,6 +2755,30 @@ class ResourceClassParametersReferencePatchArgs:
1976
2755
  pulumi.set(self, "namespace", value)
1977
2756
 
1978
2757
 
2758
+ if not MYPY:
2759
+ class ResourceClassParametersReferenceArgsDict(TypedDict):
2760
+ """
2761
+ ResourceClassParametersReference contains enough information to let you locate the parameters for a ResourceClass.
2762
+ """
2763
+ kind: pulumi.Input[str]
2764
+ """
2765
+ Kind is the type of resource being referenced. This is the same value as in the parameter object's metadata.
2766
+ """
2767
+ name: pulumi.Input[str]
2768
+ """
2769
+ Name is the name of resource being referenced.
2770
+ """
2771
+ api_group: NotRequired[pulumi.Input[str]]
2772
+ """
2773
+ APIGroup is the group for the resource being referenced. It is empty for the core API. This matches the group in the APIVersion that is used when creating the resources.
2774
+ """
2775
+ namespace: NotRequired[pulumi.Input[str]]
2776
+ """
2777
+ Namespace that contains the referenced resource. Must be empty for cluster-scoped resources and non-empty for namespaced resources.
2778
+ """
2779
+ elif False:
2780
+ ResourceClassParametersReferenceArgsDict: TypeAlias = Mapping[str, Any]
2781
+
1979
2782
  @pulumi.input_type
1980
2783
  class ResourceClassParametersReferenceArgs:
1981
2784
  def __init__(__self__, *,
@@ -2046,6 +2849,38 @@ class ResourceClassParametersReferenceArgs:
2046
2849
  pulumi.set(self, "namespace", value)
2047
2850
 
2048
2851
 
2852
+ if not MYPY:
2853
+ class ResourceClassParametersArgsDict(TypedDict):
2854
+ """
2855
+ ResourceClassParameters defines resource requests for a ResourceClass in an in-tree format understood by Kubernetes.
2856
+ """
2857
+ api_version: NotRequired[pulumi.Input[str]]
2858
+ """
2859
+ 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
2860
+ """
2861
+ filters: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceFilterArgsDict']]]]
2862
+ """
2863
+ Filters describes additional contraints that must be met when using the class.
2864
+ """
2865
+ generated_from: NotRequired[pulumi.Input['ResourceClassParametersReferenceArgsDict']]
2866
+ """
2867
+ If this object was created from some other resource, then this links back to that resource. This field is used to find the in-tree representation of the class parameters when the parameter reference of the class refers to some unknown type.
2868
+ """
2869
+ kind: NotRequired[pulumi.Input[str]]
2870
+ """
2871
+ 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
2872
+ """
2873
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
2874
+ """
2875
+ Standard object metadata
2876
+ """
2877
+ vendor_parameters: NotRequired[pulumi.Input[Sequence[pulumi.Input['VendorParametersArgsDict']]]]
2878
+ """
2879
+ VendorParameters are arbitrary setup parameters for all claims using this class. They are ignored while allocating the claim. There must not be more than one entry per driver.
2880
+ """
2881
+ elif False:
2882
+ ResourceClassParametersArgsDict: TypeAlias = Mapping[str, Any]
2883
+
2049
2884
  @pulumi.input_type
2050
2885
  class ResourceClassParametersArgs:
2051
2886
  def __init__(__self__, *,
@@ -2150,6 +2985,48 @@ class ResourceClassParametersArgs:
2150
2985
  pulumi.set(self, "vendor_parameters", value)
2151
2986
 
2152
2987
 
2988
+ if not MYPY:
2989
+ class ResourceClassArgsDict(TypedDict):
2990
+ """
2991
+ ResourceClass is used by administrators to influence how resources are allocated.
2992
+
2993
+ This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
2994
+ """
2995
+ driver_name: pulumi.Input[str]
2996
+ """
2997
+ DriverName defines the name of the dynamic resource driver that is used for allocation of a ResourceClaim that uses this class.
2998
+
2999
+ Resource drivers have a unique name in forward domain order (acme.example.com).
3000
+ """
3001
+ api_version: NotRequired[pulumi.Input[str]]
3002
+ """
3003
+ 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
3004
+ """
3005
+ kind: NotRequired[pulumi.Input[str]]
3006
+ """
3007
+ 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
3008
+ """
3009
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
3010
+ """
3011
+ Standard object metadata
3012
+ """
3013
+ parameters_ref: NotRequired[pulumi.Input['ResourceClassParametersReferenceArgsDict']]
3014
+ """
3015
+ ParametersRef references an arbitrary separate object that may hold parameters that will be used by the driver when allocating a resource that uses this class. A dynamic resource driver can distinguish between parameters stored here and and those stored in ResourceClaimSpec.
3016
+ """
3017
+ structured_parameters: NotRequired[pulumi.Input[bool]]
3018
+ """
3019
+ If and only if allocation of claims using this class is handled via structured parameters, then StructuredParameters must be set to true.
3020
+ """
3021
+ suitable_nodes: NotRequired[pulumi.Input['_core.v1.NodeSelectorArgsDict']]
3022
+ """
3023
+ Only nodes matching the selector will be considered by the scheduler when trying to find a Node that fits a Pod when that Pod uses a ResourceClaim that has not been allocated yet.
3024
+
3025
+ Setting this field is optional. If null, all nodes are candidates.
3026
+ """
3027
+ elif False:
3028
+ ResourceClassArgsDict: TypeAlias = Mapping[str, Any]
3029
+
2153
3030
  @pulumi.input_type
2154
3031
  class ResourceClassArgs:
2155
3032
  def __init__(__self__, *,
@@ -2279,6 +3156,22 @@ class ResourceClassArgs:
2279
3156
  pulumi.set(self, "suitable_nodes", value)
2280
3157
 
2281
3158
 
3159
+ if not MYPY:
3160
+ class ResourceFilterPatchArgsDict(TypedDict):
3161
+ """
3162
+ ResourceFilter is a filter for resources from one particular driver.
3163
+ """
3164
+ driver_name: NotRequired[pulumi.Input[str]]
3165
+ """
3166
+ DriverName is the name used by the DRA driver kubelet plugin.
3167
+ """
3168
+ named_resources: NotRequired[pulumi.Input['NamedResourcesFilterPatchArgsDict']]
3169
+ """
3170
+ NamedResources describes a resource filter using the named resources model.
3171
+ """
3172
+ elif False:
3173
+ ResourceFilterPatchArgsDict: TypeAlias = Mapping[str, Any]
3174
+
2282
3175
  @pulumi.input_type
2283
3176
  class ResourceFilterPatchArgs:
2284
3177
  def __init__(__self__, *,
@@ -2319,6 +3212,22 @@ class ResourceFilterPatchArgs:
2319
3212
  pulumi.set(self, "named_resources", value)
2320
3213
 
2321
3214
 
3215
+ if not MYPY:
3216
+ class ResourceFilterArgsDict(TypedDict):
3217
+ """
3218
+ ResourceFilter is a filter for resources from one particular driver.
3219
+ """
3220
+ driver_name: NotRequired[pulumi.Input[str]]
3221
+ """
3222
+ DriverName is the name used by the DRA driver kubelet plugin.
3223
+ """
3224
+ named_resources: NotRequired[pulumi.Input['NamedResourcesFilterArgsDict']]
3225
+ """
3226
+ NamedResources describes a resource filter using the named resources model.
3227
+ """
3228
+ elif False:
3229
+ ResourceFilterArgsDict: TypeAlias = Mapping[str, Any]
3230
+
2322
3231
  @pulumi.input_type
2323
3232
  class ResourceFilterArgs:
2324
3233
  def __init__(__self__, *,
@@ -2359,6 +3268,28 @@ class ResourceFilterArgs:
2359
3268
  pulumi.set(self, "named_resources", value)
2360
3269
 
2361
3270
 
3271
+ if not MYPY:
3272
+ class ResourceHandleArgsDict(TypedDict):
3273
+ """
3274
+ ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
3275
+ """
3276
+ data: NotRequired[pulumi.Input[str]]
3277
+ """
3278
+ Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle.
3279
+
3280
+ The maximum size of this field is 16KiB. This may get increased in the future, but not reduced.
3281
+ """
3282
+ driver_name: NotRequired[pulumi.Input[str]]
3283
+ """
3284
+ DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.
3285
+ """
3286
+ structured_data: NotRequired[pulumi.Input['StructuredResourceHandleArgsDict']]
3287
+ """
3288
+ If StructuredData is set, then it needs to be used instead of Data.
3289
+ """
3290
+ elif False:
3291
+ ResourceHandleArgsDict: TypeAlias = Mapping[str, Any]
3292
+
2362
3293
  @pulumi.input_type
2363
3294
  class ResourceHandleArgs:
2364
3295
  def __init__(__self__, *,
@@ -2419,6 +3350,22 @@ class ResourceHandleArgs:
2419
3350
  pulumi.set(self, "structured_data", value)
2420
3351
 
2421
3352
 
3353
+ if not MYPY:
3354
+ class ResourceRequestPatchArgsDict(TypedDict):
3355
+ """
3356
+ ResourceRequest is a request for resources from one particular driver.
3357
+ """
3358
+ named_resources: NotRequired[pulumi.Input['NamedResourcesRequestPatchArgsDict']]
3359
+ """
3360
+ NamedResources describes a request for resources with the named resources model.
3361
+ """
3362
+ vendor_parameters: NotRequired[Any]
3363
+ """
3364
+ VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.
3365
+ """
3366
+ elif False:
3367
+ ResourceRequestPatchArgsDict: TypeAlias = Mapping[str, Any]
3368
+
2422
3369
  @pulumi.input_type
2423
3370
  class ResourceRequestPatchArgs:
2424
3371
  def __init__(__self__, *,
@@ -2459,6 +3406,22 @@ class ResourceRequestPatchArgs:
2459
3406
  pulumi.set(self, "vendor_parameters", value)
2460
3407
 
2461
3408
 
3409
+ if not MYPY:
3410
+ class ResourceRequestArgsDict(TypedDict):
3411
+ """
3412
+ ResourceRequest is a request for resources from one particular driver.
3413
+ """
3414
+ named_resources: NotRequired[pulumi.Input['NamedResourcesRequestArgsDict']]
3415
+ """
3416
+ NamedResources describes a request for resources with the named resources model.
3417
+ """
3418
+ vendor_parameters: NotRequired[Any]
3419
+ """
3420
+ VendorParameters are arbitrary setup parameters for the requested resource. They are ignored while allocating a claim.
3421
+ """
3422
+ elif False:
3423
+ ResourceRequestArgsDict: TypeAlias = Mapping[str, Any]
3424
+
2462
3425
  @pulumi.input_type
2463
3426
  class ResourceRequestArgs:
2464
3427
  def __init__(__self__, *,
@@ -2499,6 +3462,40 @@ class ResourceRequestArgs:
2499
3462
  pulumi.set(self, "vendor_parameters", value)
2500
3463
 
2501
3464
 
3465
+ if not MYPY:
3466
+ class ResourceSliceArgsDict(TypedDict):
3467
+ """
3468
+ ResourceSlice provides information about available resources on individual nodes.
3469
+ """
3470
+ driver_name: pulumi.Input[str]
3471
+ """
3472
+ DriverName identifies the DRA driver providing the capacity information. A field selector can be used to list only ResourceSlice objects with a certain driver name.
3473
+ """
3474
+ api_version: NotRequired[pulumi.Input[str]]
3475
+ """
3476
+ 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
3477
+ """
3478
+ kind: NotRequired[pulumi.Input[str]]
3479
+ """
3480
+ 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
3481
+ """
3482
+ metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
3483
+ """
3484
+ Standard object metadata
3485
+ """
3486
+ named_resources: NotRequired[pulumi.Input['NamedResourcesResourcesArgsDict']]
3487
+ """
3488
+ NamedResources describes available resources using the named resources model.
3489
+ """
3490
+ node_name: NotRequired[pulumi.Input[str]]
3491
+ """
3492
+ NodeName identifies the node which provides the resources if they are local to a node.
3493
+
3494
+ A field selector can be used to list only ResourceSlice objects with a certain node name.
3495
+ """
3496
+ elif False:
3497
+ ResourceSliceArgsDict: TypeAlias = Mapping[str, Any]
3498
+
2502
3499
  @pulumi.input_type
2503
3500
  class ResourceSliceArgs:
2504
3501
  def __init__(__self__, *,
@@ -2606,6 +3603,30 @@ class ResourceSliceArgs:
2606
3603
  pulumi.set(self, "node_name", value)
2607
3604
 
2608
3605
 
3606
+ if not MYPY:
3607
+ class StructuredResourceHandleArgsDict(TypedDict):
3608
+ """
3609
+ StructuredResourceHandle is the in-tree representation of the allocation result.
3610
+ """
3611
+ results: pulumi.Input[Sequence[pulumi.Input['DriverAllocationResultArgsDict']]]
3612
+ """
3613
+ Results lists all allocated driver resources.
3614
+ """
3615
+ node_name: NotRequired[pulumi.Input[str]]
3616
+ """
3617
+ NodeName is the name of the node providing the necessary resources if the resources are local to a node.
3618
+ """
3619
+ vendor_claim_parameters: NotRequired[Any]
3620
+ """
3621
+ VendorClaimParameters are the per-claim configuration parameters from the resource claim parameters at the time that the claim was allocated.
3622
+ """
3623
+ vendor_class_parameters: NotRequired[Any]
3624
+ """
3625
+ VendorClassParameters are the per-claim configuration parameters from the resource class at the time that the claim was allocated.
3626
+ """
3627
+ elif False:
3628
+ StructuredResourceHandleArgsDict: TypeAlias = Mapping[str, Any]
3629
+
2609
3630
  @pulumi.input_type
2610
3631
  class StructuredResourceHandleArgs:
2611
3632
  def __init__(__self__, *,
@@ -2677,6 +3698,22 @@ class StructuredResourceHandleArgs:
2677
3698
  pulumi.set(self, "vendor_class_parameters", value)
2678
3699
 
2679
3700
 
3701
+ if not MYPY:
3702
+ class VendorParametersPatchArgsDict(TypedDict):
3703
+ """
3704
+ VendorParameters are opaque parameters for one particular driver.
3705
+ """
3706
+ driver_name: NotRequired[pulumi.Input[str]]
3707
+ """
3708
+ DriverName is the name used by the DRA driver kubelet plugin.
3709
+ """
3710
+ parameters: NotRequired[Any]
3711
+ """
3712
+ Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
3713
+ """
3714
+ elif False:
3715
+ VendorParametersPatchArgsDict: TypeAlias = Mapping[str, Any]
3716
+
2680
3717
  @pulumi.input_type
2681
3718
  class VendorParametersPatchArgs:
2682
3719
  def __init__(__self__, *,
@@ -2717,6 +3754,22 @@ class VendorParametersPatchArgs:
2717
3754
  pulumi.set(self, "parameters", value)
2718
3755
 
2719
3756
 
3757
+ if not MYPY:
3758
+ class VendorParametersArgsDict(TypedDict):
3759
+ """
3760
+ VendorParameters are opaque parameters for one particular driver.
3761
+ """
3762
+ driver_name: NotRequired[pulumi.Input[str]]
3763
+ """
3764
+ DriverName is the name used by the DRA driver kubelet plugin.
3765
+ """
3766
+ parameters: NotRequired[Any]
3767
+ """
3768
+ Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
3769
+ """
3770
+ elif False:
3771
+ VendorParametersArgsDict: TypeAlias = Mapping[str, Any]
3772
+
2720
3773
  @pulumi.input_type
2721
3774
  class VendorParametersArgs:
2722
3775
  def __init__(__self__, *,