pulumi-kubernetes 4.23.0a1746131759__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.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/METADATA +1 -1
  114. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/RECORD +116 -86
  115. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/WHEEL +0 -0
  116. {pulumi_kubernetes-4.23.0a1746131759.dist-info → pulumi_kubernetes-4.23.0a1746138483.dist-info}/top_level.txt +0 -0
@@ -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__ = ['IPAddressListArgs', 'IPAddressList']
22
+
23
+ @pulumi.input_type
24
+ class IPAddressListArgs:
25
+ def __init__(__self__, *,
26
+ items: pulumi.Input[Sequence[pulumi.Input['IPAddressArgs']]],
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 IPAddressList resource.
32
+ :param pulumi.Input[Sequence[pulumi.Input['IPAddressArgs']]] items: items is the list of IPAddresses.
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", 'IPAddressList')
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['IPAddressArgs']]]:
48
+ """
49
+ items is the list of IPAddresses.
50
+ """
51
+ return pulumi.get(self, "items")
52
+
53
+ @items.setter
54
+ def items(self, value: pulumi.Input[Sequence[pulumi.Input['IPAddressArgs']]]):
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 IPAddressList(pulumi.CustomResource):
95
+
96
+ pulumi_type = "kubernetes:networking.k8s.io/v1:IPAddressList"
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['IPAddressArgs', 'IPAddressArgsDict']]]]] = 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
+ IPAddressList contains a list of IPAddress.
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['IPAddressArgs', 'IPAddressArgsDict']]]] items: items is the list of IPAddresses.
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: IPAddressListArgs,
122
+ opts: Optional[pulumi.ResourceOptions] = None):
123
+ """
124
+ IPAddressList contains a list of IPAddress.
125
+
126
+ :param str resource_name: The name of the resource.
127
+ :param IPAddressListArgs 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(IPAddressListArgs, 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['IPAddressArgs', 'IPAddressArgsDict']]]]] = 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__ = IPAddressListArgs.__new__(IPAddressListArgs)
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"] = 'IPAddressList'
159
+ __props__.__dict__["metadata"] = metadata
160
+ super(IPAddressList, __self__).__init__(
161
+ 'kubernetes:networking.k8s.io/v1:IPAddressList',
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) -> 'IPAddressList':
170
+ """
171
+ Get an existing IPAddressList 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__ = IPAddressListArgs.__new__(IPAddressListArgs)
181
+
182
+ __props__.__dict__["api_version"] = None
183
+ __props__.__dict__["items"] = None
184
+ __props__.__dict__["kind"] = None
185
+ __props__.__dict__["metadata"] = None
186
+ return IPAddressList(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.IPAddress']]:
199
+ """
200
+ items is the list of IPAddresses.
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
+
@@ -0,0 +1,232 @@
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__ = ['IPAddressPatchArgs', 'IPAddressPatch']
22
+
23
+ @pulumi.input_type
24
+ class IPAddressPatchArgs:
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.ObjectMetaPatchArgs']] = None,
29
+ spec: Optional[pulumi.Input['IPAddressSpecPatchArgs']] = None):
30
+ """
31
+ The set of arguments for constructing a IPAddressPatch 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.ObjectMetaPatchArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
+ :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
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", 'IPAddress')
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.ObjectMetaPatchArgs']]:
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.ObjectMetaPatchArgs']]):
80
+ pulumi.set(self, "metadata", value)
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def spec(self) -> Optional[pulumi.Input['IPAddressSpecPatchArgs']]:
85
+ """
86
+ 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
87
+ """
88
+ return pulumi.get(self, "spec")
89
+
90
+ @spec.setter
91
+ def spec(self, value: Optional[pulumi.Input['IPAddressSpecPatchArgs']]):
92
+ pulumi.set(self, "spec", value)
93
+
94
+
95
+ class IPAddressPatch(pulumi.CustomResource):
96
+
97
+ pulumi_type = "kubernetes:networking.k8s.io/v1:IPAddressPatch"
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.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']]] = None,
106
+ spec: Optional[pulumi.Input[Union['IPAddressSpecPatchArgs', 'IPAddressSpecPatchArgsDict']]] = None,
107
+ __props__=None):
108
+ """
109
+ Patch resources are used to modify existing Kubernetes resources by using
110
+ Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
111
+ one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
112
+ Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
113
+ [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
114
+ additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
115
+ 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
116
+
117
+ :param str resource_name: The name of the resource.
118
+ :param pulumi.ResourceOptions opts: Options for the resource.
119
+ :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
120
+ :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
121
+ :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
122
+ :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
123
+ """
124
+ ...
125
+ @overload
126
+ def __init__(__self__,
127
+ resource_name: str,
128
+ args: Optional[IPAddressPatchArgs] = None,
129
+ opts: Optional[pulumi.ResourceOptions] = None):
130
+ """
131
+ Patch resources are used to modify existing Kubernetes resources by using
132
+ Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
133
+ one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
134
+ Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
135
+ [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
136
+ additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
137
+ 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
138
+
139
+ :param str resource_name: The name of the resource.
140
+ :param IPAddressPatchArgs args: The arguments to use to populate this resource's properties.
141
+ :param pulumi.ResourceOptions opts: Options for the resource.
142
+ """
143
+ ...
144
+ def __init__(__self__, resource_name: str, *args, **kwargs):
145
+ resource_args, opts = _utilities.get_resource_args_opts(IPAddressPatchArgs, pulumi.ResourceOptions, *args, **kwargs)
146
+ if resource_args is not None:
147
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
148
+ else:
149
+ __self__._internal_init(resource_name, *args, **kwargs)
150
+
151
+ def _internal_init(__self__,
152
+ resource_name: str,
153
+ opts: Optional[pulumi.ResourceOptions] = None,
154
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
155
+ kind: Optional[pulumi.Input[builtins.str]] = None,
156
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']]] = None,
157
+ spec: Optional[pulumi.Input[Union['IPAddressSpecPatchArgs', 'IPAddressSpecPatchArgsDict']]] = None,
158
+ __props__=None):
159
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
160
+ if not isinstance(opts, pulumi.ResourceOptions):
161
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
162
+ if opts.id is None:
163
+ if __props__ is not None:
164
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
165
+ __props__ = IPAddressPatchArgs.__new__(IPAddressPatchArgs)
166
+
167
+ __props__.__dict__["api_version"] = 'networking.k8s.io/v1'
168
+ __props__.__dict__["kind"] = 'IPAddress'
169
+ __props__.__dict__["metadata"] = metadata
170
+ __props__.__dict__["spec"] = spec
171
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:IPAddressPatch"), pulumi.Alias(type_="kubernetes:networking.k8s.io/v1beta1:IPAddressPatch")])
172
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
173
+ super(IPAddressPatch, __self__).__init__(
174
+ 'kubernetes:networking.k8s.io/v1:IPAddressPatch',
175
+ resource_name,
176
+ __props__,
177
+ opts)
178
+
179
+ @staticmethod
180
+ def get(resource_name: str,
181
+ id: pulumi.Input[str],
182
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'IPAddressPatch':
183
+ """
184
+ Get an existing IPAddressPatch resource's state with the given name, id, and optional extra
185
+ properties used to qualify the lookup.
186
+
187
+ :param str resource_name: The unique name of the resulting resource.
188
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
189
+ :param pulumi.ResourceOptions opts: Options for the resource.
190
+ """
191
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
192
+
193
+ __props__ = IPAddressPatchArgs.__new__(IPAddressPatchArgs)
194
+
195
+ __props__.__dict__["api_version"] = None
196
+ __props__.__dict__["kind"] = None
197
+ __props__.__dict__["metadata"] = None
198
+ __props__.__dict__["spec"] = None
199
+ return IPAddressPatch(resource_name, opts=opts, __props__=__props__)
200
+
201
+ @property
202
+ @pulumi.getter(name="apiVersion")
203
+ def api_version(self) -> pulumi.Output[Optional[builtins.str]]:
204
+ """
205
+ 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
206
+ """
207
+ return pulumi.get(self, "api_version")
208
+
209
+ @property
210
+ @pulumi.getter
211
+ def kind(self) -> pulumi.Output[Optional[builtins.str]]:
212
+ """
213
+ 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
214
+ """
215
+ return pulumi.get(self, "kind")
216
+
217
+ @property
218
+ @pulumi.getter
219
+ def metadata(self) -> pulumi.Output[Optional['_meta.v1.outputs.ObjectMetaPatch']]:
220
+ """
221
+ Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
222
+ """
223
+ return pulumi.get(self, "metadata")
224
+
225
+ @property
226
+ @pulumi.getter
227
+ def spec(self) -> pulumi.Output[Optional['outputs.IPAddressSpecPatch']]:
228
+ """
229
+ 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
230
+ """
231
+ return pulumi.get(self, "spec")
232
+