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
@@ -0,0 +1,230 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumigen. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from ... import _utilities
17
+ from . import outputs
18
+ from ... import meta as _meta
19
+ from ._inputs import *
20
+
21
+ __all__ = ['ServiceCIDRInitArgs', 'ServiceCIDR']
22
+
23
+ @pulumi.input_type
24
+ class ServiceCIDRInitArgs:
25
+ def __init__(__self__, *,
26
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
27
+ kind: Optional[pulumi.Input[builtins.str]] = None,
28
+ metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
29
+ spec: Optional[pulumi.Input['ServiceCIDRSpecArgs']] = None):
30
+ """
31
+ The set of arguments for constructing a ServiceCIDR resource.
32
+ :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
33
+ :param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
34
+ :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
+ :param pulumi.Input['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
36
+ """
37
+ if api_version is not None:
38
+ pulumi.set(__self__, "api_version", 'networking.k8s.io/v1')
39
+ if kind is not None:
40
+ pulumi.set(__self__, "kind", 'ServiceCIDR')
41
+ if metadata is not None:
42
+ pulumi.set(__self__, "metadata", metadata)
43
+ if spec is not None:
44
+ pulumi.set(__self__, "spec", spec)
45
+
46
+ @property
47
+ @pulumi.getter(name="apiVersion")
48
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
49
+ """
50
+ 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
51
+ """
52
+ return pulumi.get(self, "api_version")
53
+
54
+ @api_version.setter
55
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
56
+ pulumi.set(self, "api_version", value)
57
+
58
+ @property
59
+ @pulumi.getter
60
+ def kind(self) -> Optional[pulumi.Input[builtins.str]]:
61
+ """
62
+ 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
63
+ """
64
+ return pulumi.get(self, "kind")
65
+
66
+ @kind.setter
67
+ def kind(self, value: Optional[pulumi.Input[builtins.str]]):
68
+ pulumi.set(self, "kind", value)
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
73
+ """
74
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
75
+ """
76
+ return pulumi.get(self, "metadata")
77
+
78
+ @metadata.setter
79
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
80
+ pulumi.set(self, "metadata", value)
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def spec(self) -> Optional[pulumi.Input['ServiceCIDRSpecArgs']]:
85
+ """
86
+ 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
87
+ """
88
+ return pulumi.get(self, "spec")
89
+
90
+ @spec.setter
91
+ def spec(self, value: Optional[pulumi.Input['ServiceCIDRSpecArgs']]):
92
+ pulumi.set(self, "spec", value)
93
+
94
+
95
+ class ServiceCIDR(pulumi.CustomResource):
96
+
97
+ pulumi_type = "kubernetes:networking.k8s.io/v1:ServiceCIDR"
98
+
99
+ @overload
100
+ def __init__(__self__,
101
+ resource_name: str,
102
+ opts: Optional[pulumi.ResourceOptions] = None,
103
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
104
+ kind: Optional[pulumi.Input[builtins.str]] = None,
105
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
106
+ spec: Optional[pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']]] = None,
107
+ __props__=None):
108
+ """
109
+ 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.
110
+
111
+ :param str resource_name: The name of the resource.
112
+ :param pulumi.ResourceOptions opts: Options for the resource.
113
+ :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
114
+ :param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
115
+ :param pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
116
+ :param pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']] 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
117
+ """
118
+ ...
119
+ @overload
120
+ def __init__(__self__,
121
+ resource_name: str,
122
+ args: Optional[ServiceCIDRInitArgs] = None,
123
+ opts: Optional[pulumi.ResourceOptions] = None):
124
+ """
125
+ 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.
126
+
127
+ :param str resource_name: The name of the resource.
128
+ :param ServiceCIDRInitArgs args: The arguments to use to populate this resource's properties.
129
+ :param pulumi.ResourceOptions opts: Options for the resource.
130
+ """
131
+ ...
132
+ def __init__(__self__, resource_name: str, *args, **kwargs):
133
+ resource_args, opts = _utilities.get_resource_args_opts(ServiceCIDRInitArgs, pulumi.ResourceOptions, *args, **kwargs)
134
+ if resource_args is not None:
135
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
136
+ else:
137
+ __self__._internal_init(resource_name, *args, **kwargs)
138
+
139
+ def _internal_init(__self__,
140
+ resource_name: str,
141
+ opts: Optional[pulumi.ResourceOptions] = None,
142
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
143
+ kind: Optional[pulumi.Input[builtins.str]] = None,
144
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
145
+ spec: Optional[pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']]] = None,
146
+ __props__=None):
147
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
148
+ if not isinstance(opts, pulumi.ResourceOptions):
149
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
150
+ if opts.id is None:
151
+ if __props__ is not None:
152
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
153
+ __props__ = ServiceCIDRInitArgs.__new__(ServiceCIDRInitArgs)
154
+
155
+ __props__.__dict__["api_version"] = 'networking.k8s.io/v1'
156
+ __props__.__dict__["kind"] = 'ServiceCIDR'
157
+ __props__.__dict__["metadata"] = metadata
158
+ __props__.__dict__["spec"] = spec
159
+ __props__.__dict__["status"] = None
160
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:ServiceCIDR")])
161
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
162
+ super(ServiceCIDR, __self__).__init__(
163
+ 'kubernetes:networking.k8s.io/v1:ServiceCIDR',
164
+ resource_name,
165
+ __props__,
166
+ opts)
167
+
168
+ @staticmethod
169
+ def get(resource_name: str,
170
+ id: pulumi.Input[str],
171
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ServiceCIDR':
172
+ """
173
+ Get an existing ServiceCIDR resource's state with the given name, id, and optional extra
174
+ properties used to qualify the lookup.
175
+
176
+ :param str resource_name: The unique name of the resulting resource.
177
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
178
+ :param pulumi.ResourceOptions opts: Options for the resource.
179
+ """
180
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
181
+
182
+ __props__ = ServiceCIDRInitArgs.__new__(ServiceCIDRInitArgs)
183
+
184
+ __props__.__dict__["api_version"] = None
185
+ __props__.__dict__["kind"] = None
186
+ __props__.__dict__["metadata"] = None
187
+ __props__.__dict__["spec"] = None
188
+ __props__.__dict__["status"] = None
189
+ return ServiceCIDR(resource_name, opts=opts, __props__=__props__)
190
+
191
+ @property
192
+ @pulumi.getter(name="apiVersion")
193
+ def api_version(self) -> pulumi.Output[builtins.str]:
194
+ """
195
+ 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
196
+ """
197
+ return pulumi.get(self, "api_version")
198
+
199
+ @property
200
+ @pulumi.getter
201
+ def kind(self) -> pulumi.Output[builtins.str]:
202
+ """
203
+ 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
204
+ """
205
+ return pulumi.get(self, "kind")
206
+
207
+ @property
208
+ @pulumi.getter
209
+ def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
210
+ """
211
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
212
+ """
213
+ return pulumi.get(self, "metadata")
214
+
215
+ @property
216
+ @pulumi.getter
217
+ def spec(self) -> pulumi.Output['outputs.ServiceCIDRSpec']:
218
+ """
219
+ 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
220
+ """
221
+ return pulumi.get(self, "spec")
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def status(self) -> pulumi.Output[Optional['outputs.ServiceCIDRStatus']]:
226
+ """
227
+ 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
228
+ """
229
+ return pulumi.get(self, "status")
230
+
@@ -0,0 +1,219 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumigen. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from ... import _utilities
17
+ from . import outputs
18
+ from ... import meta as _meta
19
+ from ._inputs import *
20
+
21
+ __all__ = ['ServiceCIDRListArgs', 'ServiceCIDRList']
22
+
23
+ @pulumi.input_type
24
+ class ServiceCIDRListArgs:
25
+ def __init__(__self__, *,
26
+ items: pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]],
27
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
28
+ kind: Optional[pulumi.Input[builtins.str]] = None,
29
+ metadata: Optional[pulumi.Input['_meta.v1.ListMetaArgs']] = None):
30
+ """
31
+ The set of arguments for constructing a ServiceCIDRList resource.
32
+ :param pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]] items: items is the list of ServiceCIDRs.
33
+ :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
34
+ :param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
35
+ :param pulumi.Input['_meta.v1.ListMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
36
+ """
37
+ pulumi.set(__self__, "items", items)
38
+ if api_version is not None:
39
+ pulumi.set(__self__, "api_version", 'networking.k8s.io/v1')
40
+ if kind is not None:
41
+ pulumi.set(__self__, "kind", 'ServiceCIDRList')
42
+ if metadata is not None:
43
+ pulumi.set(__self__, "metadata", metadata)
44
+
45
+ @property
46
+ @pulumi.getter
47
+ def items(self) -> pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]]:
48
+ """
49
+ items is the list of ServiceCIDRs.
50
+ """
51
+ return pulumi.get(self, "items")
52
+
53
+ @items.setter
54
+ def items(self, value: pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]]):
55
+ pulumi.set(self, "items", value)
56
+
57
+ @property
58
+ @pulumi.getter(name="apiVersion")
59
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
60
+ """
61
+ 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
62
+ """
63
+ return pulumi.get(self, "api_version")
64
+
65
+ @api_version.setter
66
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
67
+ pulumi.set(self, "api_version", value)
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def kind(self) -> Optional[pulumi.Input[builtins.str]]:
72
+ """
73
+ 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
74
+ """
75
+ return pulumi.get(self, "kind")
76
+
77
+ @kind.setter
78
+ def kind(self, value: Optional[pulumi.Input[builtins.str]]):
79
+ pulumi.set(self, "kind", value)
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def metadata(self) -> Optional[pulumi.Input['_meta.v1.ListMetaArgs']]:
84
+ """
85
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
86
+ """
87
+ return pulumi.get(self, "metadata")
88
+
89
+ @metadata.setter
90
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ListMetaArgs']]):
91
+ pulumi.set(self, "metadata", value)
92
+
93
+
94
+ class ServiceCIDRList(pulumi.CustomResource):
95
+
96
+ pulumi_type = "kubernetes:networking.k8s.io/v1:ServiceCIDRList"
97
+
98
+ @overload
99
+ def __init__(__self__,
100
+ resource_name: str,
101
+ opts: Optional[pulumi.ResourceOptions] = None,
102
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
103
+ items: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceCIDRArgs', 'ServiceCIDRArgsDict']]]]] = None,
104
+ kind: Optional[pulumi.Input[builtins.str]] = None,
105
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = None,
106
+ __props__=None):
107
+ """
108
+ ServiceCIDRList contains a list of ServiceCIDR objects.
109
+
110
+ :param str resource_name: The name of the resource.
111
+ :param pulumi.ResourceOptions opts: Options for the resource.
112
+ :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
113
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ServiceCIDRArgs', 'ServiceCIDRArgsDict']]]] items: items is the list of ServiceCIDRs.
114
+ :param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
115
+ :param pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
116
+ """
117
+ ...
118
+ @overload
119
+ def __init__(__self__,
120
+ resource_name: str,
121
+ args: ServiceCIDRListArgs,
122
+ opts: Optional[pulumi.ResourceOptions] = None):
123
+ """
124
+ ServiceCIDRList contains a list of ServiceCIDR objects.
125
+
126
+ :param str resource_name: The name of the resource.
127
+ :param ServiceCIDRListArgs args: The arguments to use to populate this resource's properties.
128
+ :param pulumi.ResourceOptions opts: Options for the resource.
129
+ """
130
+ ...
131
+ def __init__(__self__, resource_name: str, *args, **kwargs):
132
+ resource_args, opts = _utilities.get_resource_args_opts(ServiceCIDRListArgs, pulumi.ResourceOptions, *args, **kwargs)
133
+ if resource_args is not None:
134
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
135
+ else:
136
+ __self__._internal_init(resource_name, *args, **kwargs)
137
+
138
+ def _internal_init(__self__,
139
+ resource_name: str,
140
+ opts: Optional[pulumi.ResourceOptions] = None,
141
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
142
+ items: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ServiceCIDRArgs', 'ServiceCIDRArgsDict']]]]] = None,
143
+ kind: Optional[pulumi.Input[builtins.str]] = None,
144
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = None,
145
+ __props__=None):
146
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
147
+ if not isinstance(opts, pulumi.ResourceOptions):
148
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
149
+ if opts.id is None:
150
+ if __props__ is not None:
151
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
152
+ __props__ = ServiceCIDRListArgs.__new__(ServiceCIDRListArgs)
153
+
154
+ __props__.__dict__["api_version"] = 'networking.k8s.io/v1'
155
+ if items is None and not opts.urn:
156
+ raise TypeError("Missing required property 'items'")
157
+ __props__.__dict__["items"] = items
158
+ __props__.__dict__["kind"] = 'ServiceCIDRList'
159
+ __props__.__dict__["metadata"] = metadata
160
+ super(ServiceCIDRList, __self__).__init__(
161
+ 'kubernetes:networking.k8s.io/v1:ServiceCIDRList',
162
+ resource_name,
163
+ __props__,
164
+ opts)
165
+
166
+ @staticmethod
167
+ def get(resource_name: str,
168
+ id: pulumi.Input[str],
169
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ServiceCIDRList':
170
+ """
171
+ Get an existing ServiceCIDRList resource's state with the given name, id, and optional extra
172
+ properties used to qualify the lookup.
173
+
174
+ :param str resource_name: The unique name of the resulting resource.
175
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
176
+ :param pulumi.ResourceOptions opts: Options for the resource.
177
+ """
178
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
179
+
180
+ __props__ = ServiceCIDRListArgs.__new__(ServiceCIDRListArgs)
181
+
182
+ __props__.__dict__["api_version"] = None
183
+ __props__.__dict__["items"] = None
184
+ __props__.__dict__["kind"] = None
185
+ __props__.__dict__["metadata"] = None
186
+ return ServiceCIDRList(resource_name, opts=opts, __props__=__props__)
187
+
188
+ @property
189
+ @pulumi.getter(name="apiVersion")
190
+ def api_version(self) -> pulumi.Output[builtins.str]:
191
+ """
192
+ 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
193
+ """
194
+ return pulumi.get(self, "api_version")
195
+
196
+ @property
197
+ @pulumi.getter
198
+ def items(self) -> pulumi.Output[Sequence['outputs.ServiceCIDR']]:
199
+ """
200
+ items is the list of ServiceCIDRs.
201
+ """
202
+ return pulumi.get(self, "items")
203
+
204
+ @property
205
+ @pulumi.getter
206
+ def kind(self) -> pulumi.Output[builtins.str]:
207
+ """
208
+ 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
209
+ """
210
+ return pulumi.get(self, "kind")
211
+
212
+ @property
213
+ @pulumi.getter
214
+ def metadata(self) -> pulumi.Output['_meta.v1.outputs.ListMeta']:
215
+ """
216
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
217
+ """
218
+ return pulumi.get(self, "metadata")
219
+