pulumi-kubernetes 4.23.0a1746129859__py3-none-any.whl → 4.23.0a1746138483__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-kubernetes might be problematic. Click here for more details.

Files changed (116) hide show
  1. pulumi_kubernetes/__init__.py +36 -2
  2. pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +30 -30
  3. pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +20 -20
  4. pulumi_kubernetes/apps/v1/ReplicaSetList.py +4 -4
  5. pulumi_kubernetes/apps/v1/_inputs.py +109 -56
  6. pulumi_kubernetes/apps/v1/outputs.py +129 -56
  7. pulumi_kubernetes/autoscaling/v2/_inputs.py +92 -12
  8. pulumi_kubernetes/autoscaling/v2/outputs.py +66 -10
  9. pulumi_kubernetes/batch/v1/_inputs.py +12 -42
  10. pulumi_kubernetes/batch/v1/outputs.py +8 -32
  11. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +2 -0
  12. pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +2 -0
  13. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +229 -0
  14. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +219 -0
  15. pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +240 -0
  16. pulumi_kubernetes/certificates/v1beta1/__init__.py +3 -0
  17. pulumi_kubernetes/certificates/v1beta1/_inputs.py +292 -0
  18. pulumi_kubernetes/certificates/v1beta1/outputs.py +241 -0
  19. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +1 -1
  20. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +1 -1
  21. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +1 -1
  22. pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +1 -1
  23. pulumi_kubernetes/coordination/v1alpha2/_inputs.py +6 -6
  24. pulumi_kubernetes/coordination/v1alpha2/outputs.py +4 -4
  25. pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +220 -0
  26. pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +219 -0
  27. pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +232 -0
  28. pulumi_kubernetes/coordination/v1beta1/__init__.py +3 -0
  29. pulumi_kubernetes/coordination/v1beta1/_inputs.py +371 -0
  30. pulumi_kubernetes/coordination/v1beta1/outputs.py +292 -0
  31. pulumi_kubernetes/core/v1/Endpoints.py +8 -0
  32. pulumi_kubernetes/core/v1/EndpointsList.py +2 -2
  33. pulumi_kubernetes/core/v1/EndpointsPatch.py +8 -0
  34. pulumi_kubernetes/core/v1/_inputs.py +240 -66
  35. pulumi_kubernetes/core/v1/outputs.py +251 -51
  36. pulumi_kubernetes/discovery/v1/EndpointSlice.py +10 -10
  37. pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +10 -10
  38. pulumi_kubernetes/discovery/v1/_inputs.py +159 -44
  39. pulumi_kubernetes/discovery/v1/outputs.py +107 -32
  40. pulumi_kubernetes/networking/v1/IPAddress.py +220 -0
  41. pulumi_kubernetes/networking/v1/IPAddressList.py +219 -0
  42. pulumi_kubernetes/networking/v1/IPAddressPatch.py +232 -0
  43. pulumi_kubernetes/networking/v1/ServiceCIDR.py +230 -0
  44. pulumi_kubernetes/networking/v1/ServiceCIDRList.py +219 -0
  45. pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +242 -0
  46. pulumi_kubernetes/networking/v1/__init__.py +6 -0
  47. pulumi_kubernetes/networking/v1/_inputs.py +599 -0
  48. pulumi_kubernetes/networking/v1/outputs.py +461 -0
  49. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +1 -1
  50. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +1 -1
  51. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +1 -1
  52. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +1 -1
  53. pulumi_kubernetes/networking/v1beta1/IPAddress.py +1 -1
  54. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +1 -1
  55. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +1 -1
  56. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +1 -1
  57. pulumi_kubernetes/policy/v1/_inputs.py +0 -12
  58. pulumi_kubernetes/policy/v1/outputs.py +0 -8
  59. pulumi_kubernetes/pulumi-plugin.json +1 -1
  60. pulumi_kubernetes/resource/__init__.py +3 -0
  61. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  62. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  63. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  64. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  65. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  66. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  67. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  68. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  69. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +1 -1
  70. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +1 -1
  71. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +1 -1
  72. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +1 -1
  73. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +227 -0
  74. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +219 -0
  75. pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +238 -0
  76. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +1 -1
  77. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +1 -1
  78. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +1 -1
  79. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +1 -1
  80. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +1 -1
  81. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +1 -1
  82. pulumi_kubernetes/resource/v1alpha3/__init__.py +3 -0
  83. pulumi_kubernetes/resource/v1alpha3/_inputs.py +2559 -213
  84. pulumi_kubernetes/resource/v1alpha3/outputs.py +2037 -256
  85. pulumi_kubernetes/resource/v1beta1/DeviceClass.py +1 -1
  86. pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +1 -1
  87. pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +1 -1
  88. pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +1 -1
  89. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +1 -1
  90. pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +1 -1
  91. pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +1 -1
  92. pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +1 -1
  93. pulumi_kubernetes/resource/v1beta1/_inputs.py +2044 -176
  94. pulumi_kubernetes/resource/v1beta1/outputs.py +1536 -134
  95. pulumi_kubernetes/resource/v1beta2/DeviceClass.py +241 -0
  96. pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +219 -0
  97. pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +252 -0
  98. pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +236 -0
  99. pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +220 -0
  100. pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +247 -0
  101. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +233 -0
  102. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +219 -0
  103. pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +244 -0
  104. pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +250 -0
  105. pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +220 -0
  106. pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +261 -0
  107. pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
  108. pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
  109. pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
  110. pulumi_kubernetes/storage/v1/_inputs.py +90 -0
  111. pulumi_kubernetes/storage/v1/outputs.py +110 -0
  112. pulumi_kubernetes/yaml/yaml.py +108 -0
  113. {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/METADATA +1 -1
  114. {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/RECORD +116 -86
  115. {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/WHEEL +0 -0
  116. {pulumi_kubernetes-4.23.0a1746129859.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/top_level.txt +0 -0
@@ -19,6 +19,9 @@ from ... import meta as _meta
19
19
 
20
20
  __all__ = [
21
21
  'Lease',
22
+ 'LeaseCandidate',
23
+ 'LeaseCandidateSpec',
24
+ 'LeaseCandidateSpecPatch',
22
25
  'LeaseSpec',
23
26
  'LeaseSpecPatch',
24
27
  ]
@@ -99,6 +102,295 @@ class Lease(dict):
99
102
  return pulumi.get(self, "spec")
100
103
 
101
104
 
105
+ @pulumi.output_type
106
+ class LeaseCandidate(dict):
107
+ """
108
+ LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
109
+ """
110
+ @staticmethod
111
+ def __key_warning(key: str):
112
+ suggest = None
113
+ if key == "apiVersion":
114
+ suggest = "api_version"
115
+
116
+ if suggest:
117
+ pulumi.log.warn(f"Key '{key}' not found in LeaseCandidate. Access the value via the '{suggest}' property getter instead.")
118
+
119
+ def __getitem__(self, key: str) -> Any:
120
+ LeaseCandidate.__key_warning(key)
121
+ return super().__getitem__(key)
122
+
123
+ def get(self, key: str, default = None) -> Any:
124
+ LeaseCandidate.__key_warning(key)
125
+ return super().get(key, default)
126
+
127
+ def __init__(__self__, *,
128
+ api_version: Optional[builtins.str] = None,
129
+ kind: Optional[builtins.str] = None,
130
+ metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
131
+ spec: Optional['outputs.LeaseCandidateSpec'] = None):
132
+ """
133
+ LeaseCandidate defines a candidate for a Lease object. Candidates are created such that coordinated leader election will pick the best leader from the list of candidates.
134
+ :param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
135
+ :param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
136
+ :param '_meta.v1.ObjectMetaArgs' metadata: More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
137
+ :param 'LeaseCandidateSpecArgs' spec: spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
138
+ """
139
+ if api_version is not None:
140
+ pulumi.set(__self__, "api_version", 'coordination.k8s.io/v1beta1')
141
+ if kind is not None:
142
+ pulumi.set(__self__, "kind", 'LeaseCandidate')
143
+ if metadata is not None:
144
+ pulumi.set(__self__, "metadata", metadata)
145
+ if spec is not None:
146
+ pulumi.set(__self__, "spec", spec)
147
+
148
+ @property
149
+ @pulumi.getter(name="apiVersion")
150
+ def api_version(self) -> Optional[builtins.str]:
151
+ """
152
+ 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
153
+ """
154
+ return pulumi.get(self, "api_version")
155
+
156
+ @property
157
+ @pulumi.getter
158
+ def kind(self) -> Optional[builtins.str]:
159
+ """
160
+ 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
161
+ """
162
+ return pulumi.get(self, "kind")
163
+
164
+ @property
165
+ @pulumi.getter
166
+ def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
167
+ """
168
+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
169
+ """
170
+ return pulumi.get(self, "metadata")
171
+
172
+ @property
173
+ @pulumi.getter
174
+ def spec(self) -> Optional['outputs.LeaseCandidateSpec']:
175
+ """
176
+ spec contains the specification of the Lease. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
177
+ """
178
+ return pulumi.get(self, "spec")
179
+
180
+
181
+ @pulumi.output_type
182
+ class LeaseCandidateSpec(dict):
183
+ """
184
+ LeaseCandidateSpec is a specification of a Lease.
185
+ """
186
+ @staticmethod
187
+ def __key_warning(key: str):
188
+ suggest = None
189
+ if key == "binaryVersion":
190
+ suggest = "binary_version"
191
+ elif key == "leaseName":
192
+ suggest = "lease_name"
193
+ elif key == "emulationVersion":
194
+ suggest = "emulation_version"
195
+ elif key == "pingTime":
196
+ suggest = "ping_time"
197
+ elif key == "renewTime":
198
+ suggest = "renew_time"
199
+
200
+ if suggest:
201
+ pulumi.log.warn(f"Key '{key}' not found in LeaseCandidateSpec. Access the value via the '{suggest}' property getter instead.")
202
+
203
+ def __getitem__(self, key: str) -> Any:
204
+ LeaseCandidateSpec.__key_warning(key)
205
+ return super().__getitem__(key)
206
+
207
+ def get(self, key: str, default = None) -> Any:
208
+ LeaseCandidateSpec.__key_warning(key)
209
+ return super().get(key, default)
210
+
211
+ def __init__(__self__, *,
212
+ binary_version: builtins.str,
213
+ lease_name: builtins.str,
214
+ strategy: builtins.str,
215
+ emulation_version: Optional[builtins.str] = None,
216
+ ping_time: Optional[builtins.str] = None,
217
+ renew_time: Optional[builtins.str] = None):
218
+ """
219
+ LeaseCandidateSpec is a specification of a Lease.
220
+ :param builtins.str binary_version: BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
221
+ :param builtins.str lease_name: LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
222
+ :param builtins.str strategy: Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
223
+ :param builtins.str emulation_version: EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
224
+ :param builtins.str ping_time: PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
225
+ :param builtins.str renew_time: RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
226
+ """
227
+ pulumi.set(__self__, "binary_version", binary_version)
228
+ pulumi.set(__self__, "lease_name", lease_name)
229
+ pulumi.set(__self__, "strategy", strategy)
230
+ if emulation_version is not None:
231
+ pulumi.set(__self__, "emulation_version", emulation_version)
232
+ if ping_time is not None:
233
+ pulumi.set(__self__, "ping_time", ping_time)
234
+ if renew_time is not None:
235
+ pulumi.set(__self__, "renew_time", renew_time)
236
+
237
+ @property
238
+ @pulumi.getter(name="binaryVersion")
239
+ def binary_version(self) -> builtins.str:
240
+ """
241
+ BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
242
+ """
243
+ return pulumi.get(self, "binary_version")
244
+
245
+ @property
246
+ @pulumi.getter(name="leaseName")
247
+ def lease_name(self) -> builtins.str:
248
+ """
249
+ LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
250
+ """
251
+ return pulumi.get(self, "lease_name")
252
+
253
+ @property
254
+ @pulumi.getter
255
+ def strategy(self) -> builtins.str:
256
+ """
257
+ Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
258
+ """
259
+ return pulumi.get(self, "strategy")
260
+
261
+ @property
262
+ @pulumi.getter(name="emulationVersion")
263
+ def emulation_version(self) -> Optional[builtins.str]:
264
+ """
265
+ EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
266
+ """
267
+ return pulumi.get(self, "emulation_version")
268
+
269
+ @property
270
+ @pulumi.getter(name="pingTime")
271
+ def ping_time(self) -> Optional[builtins.str]:
272
+ """
273
+ PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
274
+ """
275
+ return pulumi.get(self, "ping_time")
276
+
277
+ @property
278
+ @pulumi.getter(name="renewTime")
279
+ def renew_time(self) -> Optional[builtins.str]:
280
+ """
281
+ RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
282
+ """
283
+ return pulumi.get(self, "renew_time")
284
+
285
+
286
+ @pulumi.output_type
287
+ class LeaseCandidateSpecPatch(dict):
288
+ """
289
+ LeaseCandidateSpec is a specification of a Lease.
290
+ """
291
+ @staticmethod
292
+ def __key_warning(key: str):
293
+ suggest = None
294
+ if key == "binaryVersion":
295
+ suggest = "binary_version"
296
+ elif key == "emulationVersion":
297
+ suggest = "emulation_version"
298
+ elif key == "leaseName":
299
+ suggest = "lease_name"
300
+ elif key == "pingTime":
301
+ suggest = "ping_time"
302
+ elif key == "renewTime":
303
+ suggest = "renew_time"
304
+
305
+ if suggest:
306
+ pulumi.log.warn(f"Key '{key}' not found in LeaseCandidateSpecPatch. Access the value via the '{suggest}' property getter instead.")
307
+
308
+ def __getitem__(self, key: str) -> Any:
309
+ LeaseCandidateSpecPatch.__key_warning(key)
310
+ return super().__getitem__(key)
311
+
312
+ def get(self, key: str, default = None) -> Any:
313
+ LeaseCandidateSpecPatch.__key_warning(key)
314
+ return super().get(key, default)
315
+
316
+ def __init__(__self__, *,
317
+ binary_version: Optional[builtins.str] = None,
318
+ emulation_version: Optional[builtins.str] = None,
319
+ lease_name: Optional[builtins.str] = None,
320
+ ping_time: Optional[builtins.str] = None,
321
+ renew_time: Optional[builtins.str] = None,
322
+ strategy: Optional[builtins.str] = None):
323
+ """
324
+ LeaseCandidateSpec is a specification of a Lease.
325
+ :param builtins.str binary_version: BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
326
+ :param builtins.str emulation_version: EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
327
+ :param builtins.str lease_name: LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
328
+ :param builtins.str ping_time: PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
329
+ :param builtins.str renew_time: RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
330
+ :param builtins.str strategy: Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
331
+ """
332
+ if binary_version is not None:
333
+ pulumi.set(__self__, "binary_version", binary_version)
334
+ if emulation_version is not None:
335
+ pulumi.set(__self__, "emulation_version", emulation_version)
336
+ if lease_name is not None:
337
+ pulumi.set(__self__, "lease_name", lease_name)
338
+ if ping_time is not None:
339
+ pulumi.set(__self__, "ping_time", ping_time)
340
+ if renew_time is not None:
341
+ pulumi.set(__self__, "renew_time", renew_time)
342
+ if strategy is not None:
343
+ pulumi.set(__self__, "strategy", strategy)
344
+
345
+ @property
346
+ @pulumi.getter(name="binaryVersion")
347
+ def binary_version(self) -> Optional[builtins.str]:
348
+ """
349
+ BinaryVersion is the binary version. It must be in a semver format without leading `v`. This field is required.
350
+ """
351
+ return pulumi.get(self, "binary_version")
352
+
353
+ @property
354
+ @pulumi.getter(name="emulationVersion")
355
+ def emulation_version(self) -> Optional[builtins.str]:
356
+ """
357
+ EmulationVersion is the emulation version. It must be in a semver format without leading `v`. EmulationVersion must be less than or equal to BinaryVersion. This field is required when strategy is "OldestEmulationVersion"
358
+ """
359
+ return pulumi.get(self, "emulation_version")
360
+
361
+ @property
362
+ @pulumi.getter(name="leaseName")
363
+ def lease_name(self) -> Optional[builtins.str]:
364
+ """
365
+ LeaseName is the name of the lease for which this candidate is contending. The limits on this field are the same as on Lease.name. Multiple lease candidates may reference the same Lease.name. This field is immutable.
366
+ """
367
+ return pulumi.get(self, "lease_name")
368
+
369
+ @property
370
+ @pulumi.getter(name="pingTime")
371
+ def ping_time(self) -> Optional[builtins.str]:
372
+ """
373
+ PingTime is the last time that the server has requested the LeaseCandidate to renew. It is only done during leader election to check if any LeaseCandidates have become ineligible. When PingTime is updated, the LeaseCandidate will respond by updating RenewTime.
374
+ """
375
+ return pulumi.get(self, "ping_time")
376
+
377
+ @property
378
+ @pulumi.getter(name="renewTime")
379
+ def renew_time(self) -> Optional[builtins.str]:
380
+ """
381
+ RenewTime is the time that the LeaseCandidate was last updated. Any time a Lease needs to do leader election, the PingTime field is updated to signal to the LeaseCandidate that they should update the RenewTime. Old LeaseCandidate objects are also garbage collected if it has been hours since the last renew. The PingTime field is updated regularly to prevent garbage collection for still active LeaseCandidates.
382
+ """
383
+ return pulumi.get(self, "renew_time")
384
+
385
+ @property
386
+ @pulumi.getter
387
+ def strategy(self) -> Optional[builtins.str]:
388
+ """
389
+ Strategy is the strategy that coordinated leader election will use for picking the leader. If multiple candidates for the same Lease return different strategies, the strategy provided by the candidate with the latest BinaryVersion will be used. If there is still conflict, this is a user error and coordinated leader election will not operate the Lease until resolved.
390
+ """
391
+ return pulumi.get(self, "strategy")
392
+
393
+
102
394
  @pulumi.output_type
103
395
  class LeaseSpec(dict):
104
396
  """
@@ -120,6 +120,10 @@ class Endpoints(pulumi.CustomResource):
120
120
  },
121
121
  ]
122
122
 
123
+ Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.
124
+
125
+ Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
126
+
123
127
  :param str resource_name: The name of the resource.
124
128
  :param pulumi.ResourceOptions opts: Options for the resource.
125
129
  :param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
@@ -148,6 +152,10 @@ class Endpoints(pulumi.CustomResource):
148
152
  },
149
153
  ]
150
154
 
155
+ Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.
156
+
157
+ Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
158
+
151
159
  :param str resource_name: The name of the resource.
152
160
  :param EndpointsInitArgs args: The arguments to use to populate this resource's properties.
153
161
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -105,7 +105,7 @@ class EndpointsList(pulumi.CustomResource):
105
105
  metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = None,
106
106
  __props__=None):
107
107
  """
108
- EndpointsList is a list of endpoints.
108
+ EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+.
109
109
 
110
110
  :param str resource_name: The name of the resource.
111
111
  :param pulumi.ResourceOptions opts: Options for the resource.
@@ -121,7 +121,7 @@ class EndpointsList(pulumi.CustomResource):
121
121
  args: EndpointsListArgs,
122
122
  opts: Optional[pulumi.ResourceOptions] = None):
123
123
  """
124
- EndpointsList is a list of endpoints.
124
+ EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+.
125
125
 
126
126
  :param str resource_name: The name of the resource.
127
127
  :param EndpointsListArgs args: The arguments to use to populate this resource's properties.
@@ -126,6 +126,10 @@ class EndpointsPatch(pulumi.CustomResource):
126
126
  },
127
127
  ]
128
128
 
129
+ Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.
130
+
131
+ Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
132
+
129
133
  :param str resource_name: The name of the resource.
130
134
  :param pulumi.ResourceOptions opts: Options for the resource.
131
135
  :param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
@@ -160,6 +164,10 @@ class EndpointsPatch(pulumi.CustomResource):
160
164
  },
161
165
  ]
162
166
 
167
+ Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.
168
+
169
+ Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
170
+
163
171
  :param str resource_name: The name of the resource.
164
172
  :param EndpointsPatchArgs args: The arguments to use to populate this resource's properties.
165
173
  :param pulumi.ResourceOptions opts: Options for the resource.