pulumi-kubernetes 4.17.0a1723243823__py3-none-any.whl → 4.17.0a1723576835__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 (81) hide show
  1. pulumi_kubernetes/__init__.py +42 -2
  2. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -17
  3. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -17
  4. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -17
  5. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -17
  6. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -17
  7. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -17
  8. pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
  9. pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
  10. pulumi_kubernetes/apps/v1/_inputs.py +12 -12
  11. pulumi_kubernetes/apps/v1/outputs.py +8 -8
  12. pulumi_kubernetes/batch/v1/_inputs.py +15 -27
  13. pulumi_kubernetes/batch/v1/outputs.py +12 -20
  14. pulumi_kubernetes/coordination/__init__.py +3 -0
  15. pulumi_kubernetes/coordination/v1/_inputs.py +94 -14
  16. pulumi_kubernetes/coordination/v1/outputs.py +62 -10
  17. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +214 -0
  18. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +215 -0
  19. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +226 -0
  20. pulumi_kubernetes/coordination/v1alpha1/__init__.py +12 -0
  21. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +418 -0
  22. pulumi_kubernetes/coordination/v1alpha1/outputs.py +334 -0
  23. pulumi_kubernetes/core/v1/_inputs.py +955 -184
  24. pulumi_kubernetes/core/v1/outputs.py +1026 -135
  25. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +2 -0
  26. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +2 -0
  27. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +2 -0
  28. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +2 -0
  29. pulumi_kubernetes/networking/v1beta1/IPAddress.py +216 -0
  30. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +215 -0
  31. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +228 -0
  32. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +226 -0
  33. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +215 -0
  34. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +238 -0
  35. pulumi_kubernetes/networking/v1beta1/__init__.py +6 -0
  36. pulumi_kubernetes/networking/v1beta1/_inputs.py +599 -0
  37. pulumi_kubernetes/networking/v1beta1/outputs.py +461 -0
  38. pulumi_kubernetes/pulumi-plugin.json +1 -1
  39. pulumi_kubernetes/resource/__init__.py +3 -0
  40. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  41. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  42. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  43. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  44. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +2 -0
  45. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +2 -0
  46. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  47. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  48. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  49. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  50. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +2 -0
  51. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +2 -0
  52. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +236 -0
  53. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +216 -0
  54. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +247 -0
  55. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +231 -0
  56. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +215 -0
  57. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +242 -0
  58. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +232 -0
  59. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +216 -0
  60. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +243 -0
  61. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +229 -0
  62. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +215 -0
  63. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +240 -0
  64. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +246 -0
  65. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +257 -0
  66. pulumi_kubernetes/resource/v1alpha3/__init__.py +23 -0
  67. pulumi_kubernetes/resource/v1alpha3/_inputs.py +3924 -0
  68. pulumi_kubernetes/resource/v1alpha3/outputs.py +3327 -0
  69. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +2 -0
  70. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +2 -0
  71. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +252 -0
  72. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +215 -0
  73. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +263 -0
  74. pulumi_kubernetes/storage/v1beta1/__init__.py +3 -0
  75. pulumi_kubernetes/storage/v1beta1/_inputs.py +123 -0
  76. pulumi_kubernetes/storage/v1beta1/outputs.py +94 -0
  77. pulumi_kubernetes/yaml/yaml.py +102 -0
  78. {pulumi_kubernetes-4.17.0a1723243823.dist-info → pulumi_kubernetes-4.17.0a1723576835.dist-info}/METADATA +1 -1
  79. {pulumi_kubernetes-4.17.0a1723243823.dist-info → pulumi_kubernetes-4.17.0a1723576835.dist-info}/RECORD +81 -49
  80. {pulumi_kubernetes-4.17.0a1723243823.dist-info → pulumi_kubernetes-4.17.0a1723576835.dist-info}/WHEEL +1 -1
  81. {pulumi_kubernetes-4.17.0a1723243823.dist-info → pulumi_kubernetes-4.17.0a1723576835.dist-info}/top_level.txt +0 -0
@@ -22,6 +22,9 @@ __all__ = [
22
22
  'HTTPIngressPathPatch',
23
23
  'HTTPIngressRuleValue',
24
24
  'HTTPIngressRuleValuePatch',
25
+ 'IPAddress',
26
+ 'IPAddressSpec',
27
+ 'IPAddressSpecPatch',
25
28
  'Ingress',
26
29
  'IngressBackend',
27
30
  'IngressBackendPatch',
@@ -36,6 +39,13 @@ __all__ = [
36
39
  'IngressStatusPatch',
37
40
  'IngressTLS',
38
41
  'IngressTLSPatch',
42
+ 'ParentReference',
43
+ 'ParentReferencePatch',
44
+ 'ServiceCIDR',
45
+ 'ServiceCIDRSpec',
46
+ 'ServiceCIDRSpecPatch',
47
+ 'ServiceCIDRStatus',
48
+ 'ServiceCIDRStatusPatch',
39
49
  ]
40
50
 
41
51
  @pulumi.output_type
@@ -250,6 +260,161 @@ class HTTPIngressRuleValuePatch(dict):
250
260
  return pulumi.get(self, "paths")
251
261
 
252
262
 
263
+ @pulumi.output_type
264
+ class IPAddress(dict):
265
+ """
266
+ IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
267
+ """
268
+ @staticmethod
269
+ def __key_warning(key: str):
270
+ suggest = None
271
+ if key == "apiVersion":
272
+ suggest = "api_version"
273
+
274
+ if suggest:
275
+ pulumi.log.warn(f"Key '{key}' not found in IPAddress. Access the value via the '{suggest}' property getter instead.")
276
+
277
+ def __getitem__(self, key: str) -> Any:
278
+ IPAddress.__key_warning(key)
279
+ return super().__getitem__(key)
280
+
281
+ def get(self, key: str, default = None) -> Any:
282
+ IPAddress.__key_warning(key)
283
+ return super().get(key, default)
284
+
285
+ def __init__(__self__, *,
286
+ api_version: Optional[str] = None,
287
+ kind: Optional[str] = None,
288
+ metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
289
+ spec: Optional['outputs.IPAddressSpec'] = None):
290
+ """
291
+ IPAddress represents a single IP of a single IP Family. The object is designed to be used by APIs that operate on IP addresses. The object is used by the Service core API for allocation of IP addresses. An IP address can be represented in different formats, to guarantee the uniqueness of the IP, the name of the object is the IP address in canonical format, four decimal digits separated by dots suppressing leading zeros for IPv4 and the representation defined by RFC 5952 for IPv6. Valid: 192.168.1.5 or 2001:db8::1 or 2001:db8:aaaa:bbbb:cccc:dddd:eeee:1 Invalid: 10.01.2.3 or 2001:db8:0:0:0::1
292
+ :param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
293
+ :param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
294
+ :param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
295
+ :param 'IPAddressSpecArgs' spec: spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
296
+ """
297
+ if api_version is not None:
298
+ pulumi.set(__self__, "api_version", 'networking.k8s.io/v1beta1')
299
+ if kind is not None:
300
+ pulumi.set(__self__, "kind", 'IPAddress')
301
+ if metadata is not None:
302
+ pulumi.set(__self__, "metadata", metadata)
303
+ if spec is not None:
304
+ pulumi.set(__self__, "spec", spec)
305
+
306
+ @property
307
+ @pulumi.getter(name="apiVersion")
308
+ def api_version(self) -> Optional[str]:
309
+ """
310
+ 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
311
+ """
312
+ return pulumi.get(self, "api_version")
313
+
314
+ @property
315
+ @pulumi.getter
316
+ def kind(self) -> Optional[str]:
317
+ """
318
+ 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
319
+ """
320
+ return pulumi.get(self, "kind")
321
+
322
+ @property
323
+ @pulumi.getter
324
+ def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
325
+ """
326
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
327
+ """
328
+ return pulumi.get(self, "metadata")
329
+
330
+ @property
331
+ @pulumi.getter
332
+ def spec(self) -> Optional['outputs.IPAddressSpec']:
333
+ """
334
+ spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
335
+ """
336
+ return pulumi.get(self, "spec")
337
+
338
+
339
+ @pulumi.output_type
340
+ class IPAddressSpec(dict):
341
+ """
342
+ IPAddressSpec describe the attributes in an IP Address.
343
+ """
344
+ @staticmethod
345
+ def __key_warning(key: str):
346
+ suggest = None
347
+ if key == "parentRef":
348
+ suggest = "parent_ref"
349
+
350
+ if suggest:
351
+ pulumi.log.warn(f"Key '{key}' not found in IPAddressSpec. Access the value via the '{suggest}' property getter instead.")
352
+
353
+ def __getitem__(self, key: str) -> Any:
354
+ IPAddressSpec.__key_warning(key)
355
+ return super().__getitem__(key)
356
+
357
+ def get(self, key: str, default = None) -> Any:
358
+ IPAddressSpec.__key_warning(key)
359
+ return super().get(key, default)
360
+
361
+ def __init__(__self__, *,
362
+ parent_ref: 'outputs.ParentReference'):
363
+ """
364
+ IPAddressSpec describe the attributes in an IP Address.
365
+ :param 'ParentReferenceArgs' parent_ref: ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
366
+ """
367
+ pulumi.set(__self__, "parent_ref", parent_ref)
368
+
369
+ @property
370
+ @pulumi.getter(name="parentRef")
371
+ def parent_ref(self) -> 'outputs.ParentReference':
372
+ """
373
+ ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
374
+ """
375
+ return pulumi.get(self, "parent_ref")
376
+
377
+
378
+ @pulumi.output_type
379
+ class IPAddressSpecPatch(dict):
380
+ """
381
+ IPAddressSpec describe the attributes in an IP Address.
382
+ """
383
+ @staticmethod
384
+ def __key_warning(key: str):
385
+ suggest = None
386
+ if key == "parentRef":
387
+ suggest = "parent_ref"
388
+
389
+ if suggest:
390
+ pulumi.log.warn(f"Key '{key}' not found in IPAddressSpecPatch. Access the value via the '{suggest}' property getter instead.")
391
+
392
+ def __getitem__(self, key: str) -> Any:
393
+ IPAddressSpecPatch.__key_warning(key)
394
+ return super().__getitem__(key)
395
+
396
+ def get(self, key: str, default = None) -> Any:
397
+ IPAddressSpecPatch.__key_warning(key)
398
+ return super().get(key, default)
399
+
400
+ def __init__(__self__, *,
401
+ parent_ref: Optional['outputs.ParentReferencePatch'] = None):
402
+ """
403
+ IPAddressSpec describe the attributes in an IP Address.
404
+ :param 'ParentReferencePatchArgs' parent_ref: ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
405
+ """
406
+ if parent_ref is not None:
407
+ pulumi.set(__self__, "parent_ref", parent_ref)
408
+
409
+ @property
410
+ @pulumi.getter(name="parentRef")
411
+ def parent_ref(self) -> Optional['outputs.ParentReferencePatch']:
412
+ """
413
+ ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object.
414
+ """
415
+ return pulumi.get(self, "parent_ref")
416
+
417
+
253
418
  @pulumi.output_type
254
419
  class Ingress(dict):
255
420
  """
@@ -1060,3 +1225,299 @@ class IngressTLSPatch(dict):
1060
1225
  return pulumi.get(self, "secret_name")
1061
1226
 
1062
1227
 
1228
+ @pulumi.output_type
1229
+ class ParentReference(dict):
1230
+ """
1231
+ ParentReference describes a reference to a parent object.
1232
+ """
1233
+ def __init__(__self__, *,
1234
+ name: str,
1235
+ resource: str,
1236
+ group: Optional[str] = None,
1237
+ namespace: Optional[str] = None):
1238
+ """
1239
+ ParentReference describes a reference to a parent object.
1240
+ :param str name: Name is the name of the object being referenced.
1241
+ :param str resource: Resource is the resource of the object being referenced.
1242
+ :param str group: Group is the group of the object being referenced.
1243
+ :param str namespace: Namespace is the namespace of the object being referenced.
1244
+ """
1245
+ pulumi.set(__self__, "name", name)
1246
+ pulumi.set(__self__, "resource", resource)
1247
+ if group is not None:
1248
+ pulumi.set(__self__, "group", group)
1249
+ if namespace is not None:
1250
+ pulumi.set(__self__, "namespace", namespace)
1251
+
1252
+ @property
1253
+ @pulumi.getter
1254
+ def name(self) -> str:
1255
+ """
1256
+ Name is the name of the object being referenced.
1257
+ """
1258
+ return pulumi.get(self, "name")
1259
+
1260
+ @property
1261
+ @pulumi.getter
1262
+ def resource(self) -> str:
1263
+ """
1264
+ Resource is the resource of the object being referenced.
1265
+ """
1266
+ return pulumi.get(self, "resource")
1267
+
1268
+ @property
1269
+ @pulumi.getter
1270
+ def group(self) -> Optional[str]:
1271
+ """
1272
+ Group is the group of the object being referenced.
1273
+ """
1274
+ return pulumi.get(self, "group")
1275
+
1276
+ @property
1277
+ @pulumi.getter
1278
+ def namespace(self) -> Optional[str]:
1279
+ """
1280
+ Namespace is the namespace of the object being referenced.
1281
+ """
1282
+ return pulumi.get(self, "namespace")
1283
+
1284
+
1285
+ @pulumi.output_type
1286
+ class ParentReferencePatch(dict):
1287
+ """
1288
+ ParentReference describes a reference to a parent object.
1289
+ """
1290
+ def __init__(__self__, *,
1291
+ group: Optional[str] = None,
1292
+ name: Optional[str] = None,
1293
+ namespace: Optional[str] = None,
1294
+ resource: Optional[str] = None):
1295
+ """
1296
+ ParentReference describes a reference to a parent object.
1297
+ :param str group: Group is the group of the object being referenced.
1298
+ :param str name: Name is the name of the object being referenced.
1299
+ :param str namespace: Namespace is the namespace of the object being referenced.
1300
+ :param str resource: Resource is the resource of the object being referenced.
1301
+ """
1302
+ if group is not None:
1303
+ pulumi.set(__self__, "group", group)
1304
+ if name is not None:
1305
+ pulumi.set(__self__, "name", name)
1306
+ if namespace is not None:
1307
+ pulumi.set(__self__, "namespace", namespace)
1308
+ if resource is not None:
1309
+ pulumi.set(__self__, "resource", resource)
1310
+
1311
+ @property
1312
+ @pulumi.getter
1313
+ def group(self) -> Optional[str]:
1314
+ """
1315
+ Group is the group of the object being referenced.
1316
+ """
1317
+ return pulumi.get(self, "group")
1318
+
1319
+ @property
1320
+ @pulumi.getter
1321
+ def name(self) -> Optional[str]:
1322
+ """
1323
+ Name is the name of the object being referenced.
1324
+ """
1325
+ return pulumi.get(self, "name")
1326
+
1327
+ @property
1328
+ @pulumi.getter
1329
+ def namespace(self) -> Optional[str]:
1330
+ """
1331
+ Namespace is the namespace of the object being referenced.
1332
+ """
1333
+ return pulumi.get(self, "namespace")
1334
+
1335
+ @property
1336
+ @pulumi.getter
1337
+ def resource(self) -> Optional[str]:
1338
+ """
1339
+ Resource is the resource of the object being referenced.
1340
+ """
1341
+ return pulumi.get(self, "resource")
1342
+
1343
+
1344
+ @pulumi.output_type
1345
+ class ServiceCIDR(dict):
1346
+ """
1347
+ ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
1348
+ """
1349
+ @staticmethod
1350
+ def __key_warning(key: str):
1351
+ suggest = None
1352
+ if key == "apiVersion":
1353
+ suggest = "api_version"
1354
+
1355
+ if suggest:
1356
+ pulumi.log.warn(f"Key '{key}' not found in ServiceCIDR. Access the value via the '{suggest}' property getter instead.")
1357
+
1358
+ def __getitem__(self, key: str) -> Any:
1359
+ ServiceCIDR.__key_warning(key)
1360
+ return super().__getitem__(key)
1361
+
1362
+ def get(self, key: str, default = None) -> Any:
1363
+ ServiceCIDR.__key_warning(key)
1364
+ return super().get(key, default)
1365
+
1366
+ def __init__(__self__, *,
1367
+ api_version: Optional[str] = None,
1368
+ kind: Optional[str] = None,
1369
+ metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
1370
+ spec: Optional['outputs.ServiceCIDRSpec'] = None,
1371
+ status: Optional['outputs.ServiceCIDRStatus'] = None):
1372
+ """
1373
+ ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
1374
+ :param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
1375
+ :param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
1376
+ :param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1377
+ :param 'ServiceCIDRSpecArgs' spec: spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1378
+ :param 'ServiceCIDRStatusArgs' status: status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1379
+ """
1380
+ if api_version is not None:
1381
+ pulumi.set(__self__, "api_version", 'networking.k8s.io/v1beta1')
1382
+ if kind is not None:
1383
+ pulumi.set(__self__, "kind", 'ServiceCIDR')
1384
+ if metadata is not None:
1385
+ pulumi.set(__self__, "metadata", metadata)
1386
+ if spec is not None:
1387
+ pulumi.set(__self__, "spec", spec)
1388
+ if status is not None:
1389
+ pulumi.set(__self__, "status", status)
1390
+
1391
+ @property
1392
+ @pulumi.getter(name="apiVersion")
1393
+ def api_version(self) -> Optional[str]:
1394
+ """
1395
+ 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
1396
+ """
1397
+ return pulumi.get(self, "api_version")
1398
+
1399
+ @property
1400
+ @pulumi.getter
1401
+ def kind(self) -> Optional[str]:
1402
+ """
1403
+ 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
1404
+ """
1405
+ return pulumi.get(self, "kind")
1406
+
1407
+ @property
1408
+ @pulumi.getter
1409
+ def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
1410
+ """
1411
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
1412
+ """
1413
+ return pulumi.get(self, "metadata")
1414
+
1415
+ @property
1416
+ @pulumi.getter
1417
+ def spec(self) -> Optional['outputs.ServiceCIDRSpec']:
1418
+ """
1419
+ spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1420
+ """
1421
+ return pulumi.get(self, "spec")
1422
+
1423
+ @property
1424
+ @pulumi.getter
1425
+ def status(self) -> Optional['outputs.ServiceCIDRStatus']:
1426
+ """
1427
+ status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
1428
+ """
1429
+ return pulumi.get(self, "status")
1430
+
1431
+
1432
+ @pulumi.output_type
1433
+ class ServiceCIDRSpec(dict):
1434
+ """
1435
+ ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
1436
+ """
1437
+ def __init__(__self__, *,
1438
+ cidrs: Optional[Sequence[str]] = None):
1439
+ """
1440
+ ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
1441
+ :param Sequence[str] cidrs: CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
1442
+ """
1443
+ if cidrs is not None:
1444
+ pulumi.set(__self__, "cidrs", cidrs)
1445
+
1446
+ @property
1447
+ @pulumi.getter
1448
+ def cidrs(self) -> Optional[Sequence[str]]:
1449
+ """
1450
+ CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
1451
+ """
1452
+ return pulumi.get(self, "cidrs")
1453
+
1454
+
1455
+ @pulumi.output_type
1456
+ class ServiceCIDRSpecPatch(dict):
1457
+ """
1458
+ ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
1459
+ """
1460
+ def __init__(__self__, *,
1461
+ cidrs: Optional[Sequence[str]] = None):
1462
+ """
1463
+ ServiceCIDRSpec define the CIDRs the user wants to use for allocating ClusterIPs for Services.
1464
+ :param Sequence[str] cidrs: CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
1465
+ """
1466
+ if cidrs is not None:
1467
+ pulumi.set(__self__, "cidrs", cidrs)
1468
+
1469
+ @property
1470
+ @pulumi.getter
1471
+ def cidrs(self) -> Optional[Sequence[str]]:
1472
+ """
1473
+ CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable.
1474
+ """
1475
+ return pulumi.get(self, "cidrs")
1476
+
1477
+
1478
+ @pulumi.output_type
1479
+ class ServiceCIDRStatus(dict):
1480
+ """
1481
+ ServiceCIDRStatus describes the current state of the ServiceCIDR.
1482
+ """
1483
+ def __init__(__self__, *,
1484
+ conditions: Optional[Sequence['_meta.v1.outputs.Condition']] = None):
1485
+ """
1486
+ ServiceCIDRStatus describes the current state of the ServiceCIDR.
1487
+ :param Sequence['_meta.v1.ConditionArgs'] conditions: conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
1488
+ """
1489
+ if conditions is not None:
1490
+ pulumi.set(__self__, "conditions", conditions)
1491
+
1492
+ @property
1493
+ @pulumi.getter
1494
+ def conditions(self) -> Optional[Sequence['_meta.v1.outputs.Condition']]:
1495
+ """
1496
+ conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
1497
+ """
1498
+ return pulumi.get(self, "conditions")
1499
+
1500
+
1501
+ @pulumi.output_type
1502
+ class ServiceCIDRStatusPatch(dict):
1503
+ """
1504
+ ServiceCIDRStatus describes the current state of the ServiceCIDR.
1505
+ """
1506
+ def __init__(__self__, *,
1507
+ conditions: Optional[Sequence['_meta.v1.outputs.ConditionPatch']] = None):
1508
+ """
1509
+ ServiceCIDRStatus describes the current state of the ServiceCIDR.
1510
+ :param Sequence['_meta.v1.ConditionPatchArgs'] conditions: conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
1511
+ """
1512
+ if conditions is not None:
1513
+ pulumi.set(__self__, "conditions", conditions)
1514
+
1515
+ @property
1516
+ @pulumi.getter
1517
+ def conditions(self) -> Optional[Sequence['_meta.v1.outputs.ConditionPatch']]:
1518
+ """
1519
+ conditions holds an array of metav1.Condition that describe the state of the ServiceCIDR. Current service state
1520
+ """
1521
+ return pulumi.get(self, "conditions")
1522
+
1523
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "kubernetes",
4
- "version": "4.17.0-alpha.1723243823"
4
+ "version": "4.17.0-alpha.1723576835"
5
5
  }
@@ -11,7 +11,10 @@ if typing.TYPE_CHECKING:
11
11
  v1alpha1 = __v1alpha1
12
12
  import pulumi_kubernetes.resource.v1alpha2 as __v1alpha2
13
13
  v1alpha2 = __v1alpha2
14
+ import pulumi_kubernetes.resource.v1alpha3 as __v1alpha3
15
+ v1alpha3 = __v1alpha3
14
16
  else:
15
17
  v1alpha1 = _utilities.lazy_import('pulumi_kubernetes.resource.v1alpha1')
16
18
  v1alpha2 = _utilities.lazy_import('pulumi_kubernetes.resource.v1alpha2')
19
+ v1alpha3 = _utilities.lazy_import('pulumi_kubernetes.resource.v1alpha3')
17
20
 
@@ -159,7 +159,7 @@ class ResourceClaim(pulumi.CustomResource):
159
159
  raise TypeError("Missing required property 'spec'")
160
160
  __props__.__dict__["spec"] = spec
161
161
  __props__.__dict__["status"] = None
162
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaim")])
162
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaim"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaim")])
163
163
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
164
164
  super(ResourceClaim, __self__).__init__(
165
165
  'kubernetes:resource.k8s.io/v1alpha1:ResourceClaim',
@@ -170,7 +170,7 @@ class ResourceClaimPatch(pulumi.CustomResource):
170
170
  __props__.__dict__["metadata"] = metadata
171
171
  __props__.__dict__["spec"] = spec
172
172
  __props__.__dict__["status"] = None
173
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch")])
173
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimPatch")])
174
174
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
175
175
  super(ResourceClaimPatch, __self__).__init__(
176
176
  'kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch',
@@ -159,7 +159,7 @@ class ResourceClaimTemplate(pulumi.CustomResource):
159
159
  if spec is None and not opts.urn:
160
160
  raise TypeError("Missing required property 'spec'")
161
161
  __props__.__dict__["spec"] = spec
162
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate")])
162
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimTemplate")])
163
163
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
164
164
  super(ResourceClaimTemplate, __self__).__init__(
165
165
  'kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate',
@@ -170,7 +170,7 @@ class ResourceClaimTemplatePatch(pulumi.CustomResource):
170
170
  __props__.__dict__["kind"] = 'ResourceClaimTemplate'
171
171
  __props__.__dict__["metadata"] = metadata
172
172
  __props__.__dict__["spec"] = spec
173
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch")])
173
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimTemplatePatch")])
174
174
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
175
175
  super(ResourceClaimTemplatePatch, __self__).__init__(
176
176
  'kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplatePatch',
@@ -158,6 +158,8 @@ class PodSchedulingContext(pulumi.CustomResource):
158
158
  raise TypeError("Missing required property 'spec'")
159
159
  __props__.__dict__["spec"] = spec
160
160
  __props__.__dict__["status"] = None
161
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:PodSchedulingContext")])
162
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
161
163
  super(PodSchedulingContext, __self__).__init__(
162
164
  'kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext',
163
165
  resource_name,
@@ -169,6 +169,8 @@ class PodSchedulingContextPatch(pulumi.CustomResource):
169
169
  __props__.__dict__["metadata"] = metadata
170
170
  __props__.__dict__["spec"] = spec
171
171
  __props__.__dict__["status"] = None
172
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:PodSchedulingContextPatch")])
173
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
172
174
  super(PodSchedulingContextPatch, __self__).__init__(
173
175
  'kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContextPatch',
174
176
  resource_name,
@@ -159,7 +159,7 @@ class ResourceClaim(pulumi.CustomResource):
159
159
  raise TypeError("Missing required property 'spec'")
160
160
  __props__.__dict__["spec"] = spec
161
161
  __props__.__dict__["status"] = None
162
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaim")])
162
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaim"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaim")])
163
163
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
164
164
  super(ResourceClaim, __self__).__init__(
165
165
  'kubernetes:resource.k8s.io/v1alpha2:ResourceClaim',
@@ -170,7 +170,7 @@ class ResourceClaimPatch(pulumi.CustomResource):
170
170
  __props__.__dict__["metadata"] = metadata
171
171
  __props__.__dict__["spec"] = spec
172
172
  __props__.__dict__["status"] = None
173
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch")])
173
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimPatch")])
174
174
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
175
175
  super(ResourceClaimPatch, __self__).__init__(
176
176
  'kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch',
@@ -159,7 +159,7 @@ class ResourceClaimTemplate(pulumi.CustomResource):
159
159
  if spec is None and not opts.urn:
160
160
  raise TypeError("Missing required property 'spec'")
161
161
  __props__.__dict__["spec"] = spec
162
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate")])
162
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplate"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimTemplate")])
163
163
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
164
164
  super(ResourceClaimTemplate, __self__).__init__(
165
165
  'kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplate',
@@ -170,7 +170,7 @@ class ResourceClaimTemplatePatch(pulumi.CustomResource):
170
170
  __props__.__dict__["kind"] = 'ResourceClaimTemplate'
171
171
  __props__.__dict__["metadata"] = metadata
172
172
  __props__.__dict__["spec"] = spec
173
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplatePatch")])
173
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimTemplatePatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimTemplatePatch")])
174
174
  opts = pulumi.ResourceOptions.merge(opts, alias_opts)
175
175
  super(ResourceClaimTemplatePatch, __self__).__init__(
176
176
  'kubernetes:resource.k8s.io/v1alpha2:ResourceClaimTemplatePatch',
@@ -199,6 +199,8 @@ class ResourceSlice(pulumi.CustomResource):
199
199
  __props__.__dict__["metadata"] = metadata
200
200
  __props__.__dict__["named_resources"] = named_resources
201
201
  __props__.__dict__["node_name"] = node_name
202
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceSlice")])
203
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
202
204
  super(ResourceSlice, __self__).__init__(
203
205
  'kubernetes:resource.k8s.io/v1alpha2:ResourceSlice',
204
206
  resource_name,
@@ -210,6 +210,8 @@ class ResourceSlicePatch(pulumi.CustomResource):
210
210
  __props__.__dict__["metadata"] = metadata
211
211
  __props__.__dict__["named_resources"] = named_resources
212
212
  __props__.__dict__["node_name"] = node_name
213
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceSlicePatch")])
214
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
213
215
  super(ResourceSlicePatch, __self__).__init__(
214
216
  'kubernetes:resource.k8s.io/v1alpha2:ResourceSlicePatch',
215
217
  resource_name,