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
@@ -0,0 +1,228 @@
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 copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from ... import _utilities
16
+ from . import outputs
17
+ from ... import meta as _meta
18
+ from ._inputs import *
19
+
20
+ __all__ = ['IPAddressPatchArgs', 'IPAddressPatch']
21
+
22
+ @pulumi.input_type
23
+ class IPAddressPatchArgs:
24
+ def __init__(__self__, *,
25
+ api_version: Optional[pulumi.Input[str]] = None,
26
+ kind: Optional[pulumi.Input[str]] = None,
27
+ metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']] = None,
28
+ spec: Optional[pulumi.Input['IPAddressSpecPatchArgs']] = None):
29
+ """
30
+ The set of arguments for constructing a IPAddressPatch resource.
31
+ :param pulumi.Input[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
32
+ :param pulumi.Input[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
33
+ :param pulumi.Input['_meta.v1.ObjectMetaPatchArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
34
+ :param pulumi.Input['IPAddressSpecPatchArgs'] 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
35
+ """
36
+ if api_version is not None:
37
+ pulumi.set(__self__, "api_version", 'networking.k8s.io/v1beta1')
38
+ if kind is not None:
39
+ pulumi.set(__self__, "kind", 'IPAddress')
40
+ if metadata is not None:
41
+ pulumi.set(__self__, "metadata", metadata)
42
+ if spec is not None:
43
+ pulumi.set(__self__, "spec", spec)
44
+
45
+ @property
46
+ @pulumi.getter(name="apiVersion")
47
+ def api_version(self) -> Optional[pulumi.Input[str]]:
48
+ """
49
+ 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
50
+ """
51
+ return pulumi.get(self, "api_version")
52
+
53
+ @api_version.setter
54
+ def api_version(self, value: Optional[pulumi.Input[str]]):
55
+ pulumi.set(self, "api_version", value)
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def kind(self) -> Optional[pulumi.Input[str]]:
60
+ """
61
+ 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
62
+ """
63
+ return pulumi.get(self, "kind")
64
+
65
+ @kind.setter
66
+ def kind(self, value: Optional[pulumi.Input[str]]):
67
+ pulumi.set(self, "kind", value)
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]:
72
+ """
73
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
74
+ """
75
+ return pulumi.get(self, "metadata")
76
+
77
+ @metadata.setter
78
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]):
79
+ pulumi.set(self, "metadata", value)
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def spec(self) -> Optional[pulumi.Input['IPAddressSpecPatchArgs']]:
84
+ """
85
+ 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
86
+ """
87
+ return pulumi.get(self, "spec")
88
+
89
+ @spec.setter
90
+ def spec(self, value: Optional[pulumi.Input['IPAddressSpecPatchArgs']]):
91
+ pulumi.set(self, "spec", value)
92
+
93
+
94
+ class IPAddressPatch(pulumi.CustomResource):
95
+ @overload
96
+ def __init__(__self__,
97
+ resource_name: str,
98
+ opts: Optional[pulumi.ResourceOptions] = None,
99
+ api_version: Optional[pulumi.Input[str]] = None,
100
+ kind: Optional[pulumi.Input[str]] = None,
101
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']]] = None,
102
+ spec: Optional[pulumi.Input[Union['IPAddressSpecPatchArgs', 'IPAddressSpecPatchArgsDict']]] = None,
103
+ __props__=None):
104
+ """
105
+ Patch resources are used to modify existing Kubernetes resources by using
106
+ Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
107
+ one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
108
+ Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
109
+ [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
110
+ additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
111
+ 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
112
+
113
+ :param str resource_name: The name of the resource.
114
+ :param pulumi.ResourceOptions opts: Options for the resource.
115
+ :param pulumi.Input[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
116
+ :param pulumi.Input[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
117
+ :param pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
118
+ :param pulumi.Input[Union['IPAddressSpecPatchArgs', 'IPAddressSpecPatchArgsDict']] 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
119
+ """
120
+ ...
121
+ @overload
122
+ def __init__(__self__,
123
+ resource_name: str,
124
+ args: Optional[IPAddressPatchArgs] = None,
125
+ opts: Optional[pulumi.ResourceOptions] = None):
126
+ """
127
+ Patch resources are used to modify existing Kubernetes resources by using
128
+ Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
129
+ one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
130
+ Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
131
+ [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
132
+ additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
133
+ 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
134
+
135
+ :param str resource_name: The name of the resource.
136
+ :param IPAddressPatchArgs args: The arguments to use to populate this resource's properties.
137
+ :param pulumi.ResourceOptions opts: Options for the resource.
138
+ """
139
+ ...
140
+ def __init__(__self__, resource_name: str, *args, **kwargs):
141
+ resource_args, opts = _utilities.get_resource_args_opts(IPAddressPatchArgs, pulumi.ResourceOptions, *args, **kwargs)
142
+ if resource_args is not None:
143
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
144
+ else:
145
+ __self__._internal_init(resource_name, *args, **kwargs)
146
+
147
+ def _internal_init(__self__,
148
+ resource_name: str,
149
+ opts: Optional[pulumi.ResourceOptions] = None,
150
+ api_version: Optional[pulumi.Input[str]] = None,
151
+ kind: Optional[pulumi.Input[str]] = None,
152
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']]] = None,
153
+ spec: Optional[pulumi.Input[Union['IPAddressSpecPatchArgs', 'IPAddressSpecPatchArgsDict']]] = None,
154
+ __props__=None):
155
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
156
+ if not isinstance(opts, pulumi.ResourceOptions):
157
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
158
+ if opts.id is None:
159
+ if __props__ is not None:
160
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
161
+ __props__ = IPAddressPatchArgs.__new__(IPAddressPatchArgs)
162
+
163
+ __props__.__dict__["api_version"] = 'networking.k8s.io/v1beta1'
164
+ __props__.__dict__["kind"] = 'IPAddress'
165
+ __props__.__dict__["metadata"] = metadata
166
+ __props__.__dict__["spec"] = spec
167
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch")])
168
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
169
+ super(IPAddressPatch, __self__).__init__(
170
+ 'kubernetes:networking.k8s.io/v1beta1:IPAddressPatch',
171
+ resource_name,
172
+ __props__,
173
+ opts)
174
+
175
+ @staticmethod
176
+ def get(resource_name: str,
177
+ id: pulumi.Input[str],
178
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'IPAddressPatch':
179
+ """
180
+ Get an existing IPAddressPatch resource's state with the given name, id, and optional extra
181
+ properties used to qualify the lookup.
182
+
183
+ :param str resource_name: The unique name of the resulting resource.
184
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
185
+ :param pulumi.ResourceOptions opts: Options for the resource.
186
+ """
187
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
188
+
189
+ __props__ = IPAddressPatchArgs.__new__(IPAddressPatchArgs)
190
+
191
+ __props__.__dict__["api_version"] = None
192
+ __props__.__dict__["kind"] = None
193
+ __props__.__dict__["metadata"] = None
194
+ __props__.__dict__["spec"] = None
195
+ return IPAddressPatch(resource_name, opts=opts, __props__=__props__)
196
+
197
+ @property
198
+ @pulumi.getter(name="apiVersion")
199
+ def api_version(self) -> pulumi.Output[Optional[str]]:
200
+ """
201
+ 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
202
+ """
203
+ return pulumi.get(self, "api_version")
204
+
205
+ @property
206
+ @pulumi.getter
207
+ def kind(self) -> pulumi.Output[Optional[str]]:
208
+ """
209
+ 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
210
+ """
211
+ return pulumi.get(self, "kind")
212
+
213
+ @property
214
+ @pulumi.getter
215
+ def metadata(self) -> pulumi.Output[Optional['_meta.v1.outputs.ObjectMetaPatch']]:
216
+ """
217
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
218
+ """
219
+ return pulumi.get(self, "metadata")
220
+
221
+ @property
222
+ @pulumi.getter
223
+ def spec(self) -> pulumi.Output[Optional['outputs.IPAddressSpecPatch']]:
224
+ """
225
+ 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
226
+ """
227
+ return pulumi.get(self, "spec")
228
+
@@ -0,0 +1,226 @@
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 copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from ... import _utilities
16
+ from . import outputs
17
+ from ... import meta as _meta
18
+ from ._inputs import *
19
+
20
+ __all__ = ['ServiceCIDRInitArgs', 'ServiceCIDR']
21
+
22
+ @pulumi.input_type
23
+ class ServiceCIDRInitArgs:
24
+ def __init__(__self__, *,
25
+ api_version: Optional[pulumi.Input[str]] = None,
26
+ kind: Optional[pulumi.Input[str]] = None,
27
+ metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
28
+ spec: Optional[pulumi.Input['ServiceCIDRSpecArgs']] = None):
29
+ """
30
+ The set of arguments for constructing a ServiceCIDR resource.
31
+ :param pulumi.Input[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
32
+ :param pulumi.Input[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
33
+ :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
34
+ :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
35
+ """
36
+ if api_version is not None:
37
+ pulumi.set(__self__, "api_version", 'networking.k8s.io/v1beta1')
38
+ if kind is not None:
39
+ pulumi.set(__self__, "kind", 'ServiceCIDR')
40
+ if metadata is not None:
41
+ pulumi.set(__self__, "metadata", metadata)
42
+ if spec is not None:
43
+ pulumi.set(__self__, "spec", spec)
44
+
45
+ @property
46
+ @pulumi.getter(name="apiVersion")
47
+ def api_version(self) -> Optional[pulumi.Input[str]]:
48
+ """
49
+ 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
50
+ """
51
+ return pulumi.get(self, "api_version")
52
+
53
+ @api_version.setter
54
+ def api_version(self, value: Optional[pulumi.Input[str]]):
55
+ pulumi.set(self, "api_version", value)
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def kind(self) -> Optional[pulumi.Input[str]]:
60
+ """
61
+ 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
62
+ """
63
+ return pulumi.get(self, "kind")
64
+
65
+ @kind.setter
66
+ def kind(self, value: Optional[pulumi.Input[str]]):
67
+ pulumi.set(self, "kind", value)
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
72
+ """
73
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
74
+ """
75
+ return pulumi.get(self, "metadata")
76
+
77
+ @metadata.setter
78
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
79
+ pulumi.set(self, "metadata", value)
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def spec(self) -> Optional[pulumi.Input['ServiceCIDRSpecArgs']]:
84
+ """
85
+ 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
86
+ """
87
+ return pulumi.get(self, "spec")
88
+
89
+ @spec.setter
90
+ def spec(self, value: Optional[pulumi.Input['ServiceCIDRSpecArgs']]):
91
+ pulumi.set(self, "spec", value)
92
+
93
+
94
+ class ServiceCIDR(pulumi.CustomResource):
95
+ @overload
96
+ def __init__(__self__,
97
+ resource_name: str,
98
+ opts: Optional[pulumi.ResourceOptions] = None,
99
+ api_version: Optional[pulumi.Input[str]] = None,
100
+ kind: Optional[pulumi.Input[str]] = None,
101
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
102
+ spec: Optional[pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']]] = None,
103
+ __props__=None):
104
+ """
105
+ 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.
106
+
107
+ :param str resource_name: The name of the resource.
108
+ :param pulumi.ResourceOptions opts: Options for the resource.
109
+ :param pulumi.Input[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
110
+ :param pulumi.Input[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
111
+ :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
112
+ :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
113
+ """
114
+ ...
115
+ @overload
116
+ def __init__(__self__,
117
+ resource_name: str,
118
+ args: Optional[ServiceCIDRInitArgs] = None,
119
+ opts: Optional[pulumi.ResourceOptions] = None):
120
+ """
121
+ 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.
122
+
123
+ :param str resource_name: The name of the resource.
124
+ :param ServiceCIDRInitArgs args: The arguments to use to populate this resource's properties.
125
+ :param pulumi.ResourceOptions opts: Options for the resource.
126
+ """
127
+ ...
128
+ def __init__(__self__, resource_name: str, *args, **kwargs):
129
+ resource_args, opts = _utilities.get_resource_args_opts(ServiceCIDRInitArgs, pulumi.ResourceOptions, *args, **kwargs)
130
+ if resource_args is not None:
131
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
132
+ else:
133
+ __self__._internal_init(resource_name, *args, **kwargs)
134
+
135
+ def _internal_init(__self__,
136
+ resource_name: str,
137
+ opts: Optional[pulumi.ResourceOptions] = None,
138
+ api_version: Optional[pulumi.Input[str]] = None,
139
+ kind: Optional[pulumi.Input[str]] = None,
140
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
141
+ spec: Optional[pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']]] = None,
142
+ __props__=None):
143
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
144
+ if not isinstance(opts, pulumi.ResourceOptions):
145
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
146
+ if opts.id is None:
147
+ if __props__ is not None:
148
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
149
+ __props__ = ServiceCIDRInitArgs.__new__(ServiceCIDRInitArgs)
150
+
151
+ __props__.__dict__["api_version"] = 'networking.k8s.io/v1beta1'
152
+ __props__.__dict__["kind"] = 'ServiceCIDR'
153
+ __props__.__dict__["metadata"] = metadata
154
+ __props__.__dict__["spec"] = spec
155
+ __props__.__dict__["status"] = None
156
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR")])
157
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
158
+ super(ServiceCIDR, __self__).__init__(
159
+ 'kubernetes:networking.k8s.io/v1beta1:ServiceCIDR',
160
+ resource_name,
161
+ __props__,
162
+ opts)
163
+
164
+ @staticmethod
165
+ def get(resource_name: str,
166
+ id: pulumi.Input[str],
167
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ServiceCIDR':
168
+ """
169
+ Get an existing ServiceCIDR resource's state with the given name, id, and optional extra
170
+ properties used to qualify the lookup.
171
+
172
+ :param str resource_name: The unique name of the resulting resource.
173
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
174
+ :param pulumi.ResourceOptions opts: Options for the resource.
175
+ """
176
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
177
+
178
+ __props__ = ServiceCIDRInitArgs.__new__(ServiceCIDRInitArgs)
179
+
180
+ __props__.__dict__["api_version"] = None
181
+ __props__.__dict__["kind"] = None
182
+ __props__.__dict__["metadata"] = None
183
+ __props__.__dict__["spec"] = None
184
+ __props__.__dict__["status"] = None
185
+ return ServiceCIDR(resource_name, opts=opts, __props__=__props__)
186
+
187
+ @property
188
+ @pulumi.getter(name="apiVersion")
189
+ def api_version(self) -> pulumi.Output[str]:
190
+ """
191
+ 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
192
+ """
193
+ return pulumi.get(self, "api_version")
194
+
195
+ @property
196
+ @pulumi.getter
197
+ def kind(self) -> pulumi.Output[str]:
198
+ """
199
+ 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
200
+ """
201
+ return pulumi.get(self, "kind")
202
+
203
+ @property
204
+ @pulumi.getter
205
+ def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
206
+ """
207
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
208
+ """
209
+ return pulumi.get(self, "metadata")
210
+
211
+ @property
212
+ @pulumi.getter
213
+ def spec(self) -> pulumi.Output['outputs.ServiceCIDRSpec']:
214
+ """
215
+ 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
216
+ """
217
+ return pulumi.get(self, "spec")
218
+
219
+ @property
220
+ @pulumi.getter
221
+ def status(self) -> pulumi.Output[Optional['outputs.ServiceCIDRStatus']]:
222
+ """
223
+ 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
224
+ """
225
+ return pulumi.get(self, "status")
226
+