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,220 @@
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 core as _core
19
+ from ... import meta as _meta
20
+ from ._inputs import *
21
+
22
+ __all__ = ['ResourceClaimListArgs', 'ResourceClaimList']
23
+
24
+ @pulumi.input_type
25
+ class ResourceClaimListArgs:
26
+ def __init__(__self__, *,
27
+ items: pulumi.Input[Sequence[pulumi.Input['ResourceClaimArgs']]],
28
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
29
+ kind: Optional[pulumi.Input[builtins.str]] = None,
30
+ metadata: Optional[pulumi.Input['_meta.v1.ListMetaArgs']] = None):
31
+ """
32
+ The set of arguments for constructing a ResourceClaimList resource.
33
+ :param pulumi.Input[Sequence[pulumi.Input['ResourceClaimArgs']]] items: Items is the list of resource claims.
34
+ :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
35
+ :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
36
+ :param pulumi.Input['_meta.v1.ListMetaArgs'] metadata: Standard list metadata
37
+ """
38
+ pulumi.set(__self__, "items", items)
39
+ if api_version is not None:
40
+ pulumi.set(__self__, "api_version", 'resource.k8s.io/v1beta2')
41
+ if kind is not None:
42
+ pulumi.set(__self__, "kind", 'ResourceClaimList')
43
+ if metadata is not None:
44
+ pulumi.set(__self__, "metadata", metadata)
45
+
46
+ @property
47
+ @pulumi.getter
48
+ def items(self) -> pulumi.Input[Sequence[pulumi.Input['ResourceClaimArgs']]]:
49
+ """
50
+ Items is the list of resource claims.
51
+ """
52
+ return pulumi.get(self, "items")
53
+
54
+ @items.setter
55
+ def items(self, value: pulumi.Input[Sequence[pulumi.Input['ResourceClaimArgs']]]):
56
+ pulumi.set(self, "items", value)
57
+
58
+ @property
59
+ @pulumi.getter(name="apiVersion")
60
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
61
+ """
62
+ 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
63
+ """
64
+ return pulumi.get(self, "api_version")
65
+
66
+ @api_version.setter
67
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
68
+ pulumi.set(self, "api_version", value)
69
+
70
+ @property
71
+ @pulumi.getter
72
+ def kind(self) -> Optional[pulumi.Input[builtins.str]]:
73
+ """
74
+ 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
75
+ """
76
+ return pulumi.get(self, "kind")
77
+
78
+ @kind.setter
79
+ def kind(self, value: Optional[pulumi.Input[builtins.str]]):
80
+ pulumi.set(self, "kind", value)
81
+
82
+ @property
83
+ @pulumi.getter
84
+ def metadata(self) -> Optional[pulumi.Input['_meta.v1.ListMetaArgs']]:
85
+ """
86
+ Standard list metadata
87
+ """
88
+ return pulumi.get(self, "metadata")
89
+
90
+ @metadata.setter
91
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ListMetaArgs']]):
92
+ pulumi.set(self, "metadata", value)
93
+
94
+
95
+ class ResourceClaimList(pulumi.CustomResource):
96
+
97
+ pulumi_type = "kubernetes:resource.k8s.io/v1beta2:ResourceClaimList"
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
+ items: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ResourceClaimArgs', 'ResourceClaimArgsDict']]]]] = None,
105
+ kind: Optional[pulumi.Input[builtins.str]] = None,
106
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = None,
107
+ __props__=None):
108
+ """
109
+ ResourceClaimList is a collection of claims.
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[Sequence[pulumi.Input[Union['ResourceClaimArgs', 'ResourceClaimArgsDict']]]] items: Items is the list of resource claims.
115
+ :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
116
+ :param pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']] metadata: Standard list metadata
117
+ """
118
+ ...
119
+ @overload
120
+ def __init__(__self__,
121
+ resource_name: str,
122
+ args: ResourceClaimListArgs,
123
+ opts: Optional[pulumi.ResourceOptions] = None):
124
+ """
125
+ ResourceClaimList is a collection of claims.
126
+
127
+ :param str resource_name: The name of the resource.
128
+ :param ResourceClaimListArgs 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(ResourceClaimListArgs, 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
+ items: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ResourceClaimArgs', 'ResourceClaimArgsDict']]]]] = None,
144
+ kind: Optional[pulumi.Input[builtins.str]] = None,
145
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = 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__ = ResourceClaimListArgs.__new__(ResourceClaimListArgs)
154
+
155
+ __props__.__dict__["api_version"] = 'resource.k8s.io/v1beta2'
156
+ if items is None and not opts.urn:
157
+ raise TypeError("Missing required property 'items'")
158
+ __props__.__dict__["items"] = items
159
+ __props__.__dict__["kind"] = 'ResourceClaimList'
160
+ __props__.__dict__["metadata"] = metadata
161
+ super(ResourceClaimList, __self__).__init__(
162
+ 'kubernetes:resource.k8s.io/v1beta2:ResourceClaimList',
163
+ resource_name,
164
+ __props__,
165
+ opts)
166
+
167
+ @staticmethod
168
+ def get(resource_name: str,
169
+ id: pulumi.Input[str],
170
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ResourceClaimList':
171
+ """
172
+ Get an existing ResourceClaimList resource's state with the given name, id, and optional extra
173
+ properties used to qualify the lookup.
174
+
175
+ :param str resource_name: The unique name of the resulting resource.
176
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
177
+ :param pulumi.ResourceOptions opts: Options for the resource.
178
+ """
179
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
180
+
181
+ __props__ = ResourceClaimListArgs.__new__(ResourceClaimListArgs)
182
+
183
+ __props__.__dict__["api_version"] = None
184
+ __props__.__dict__["items"] = None
185
+ __props__.__dict__["kind"] = None
186
+ __props__.__dict__["metadata"] = None
187
+ return ResourceClaimList(resource_name, opts=opts, __props__=__props__)
188
+
189
+ @property
190
+ @pulumi.getter(name="apiVersion")
191
+ def api_version(self) -> pulumi.Output[builtins.str]:
192
+ """
193
+ 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
194
+ """
195
+ return pulumi.get(self, "api_version")
196
+
197
+ @property
198
+ @pulumi.getter
199
+ def items(self) -> pulumi.Output[Sequence['outputs.ResourceClaim']]:
200
+ """
201
+ Items is the list of resource claims.
202
+ """
203
+ return pulumi.get(self, "items")
204
+
205
+ @property
206
+ @pulumi.getter
207
+ def kind(self) -> pulumi.Output[builtins.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['_meta.v1.outputs.ListMeta']:
216
+ """
217
+ Standard list metadata
218
+ """
219
+ return pulumi.get(self, "metadata")
220
+
@@ -0,0 +1,247 @@
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 core as _core
19
+ from ... import meta as _meta
20
+ from ._inputs import *
21
+
22
+ __all__ = ['ResourceClaimPatchArgs', 'ResourceClaimPatch']
23
+
24
+ @pulumi.input_type
25
+ class ResourceClaimPatchArgs:
26
+ def __init__(__self__, *,
27
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
28
+ kind: Optional[pulumi.Input[builtins.str]] = None,
29
+ metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']] = None,
30
+ spec: Optional[pulumi.Input['ResourceClaimSpecPatchArgs']] = None):
31
+ """
32
+ The set of arguments for constructing a ResourceClaimPatch resource.
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.ObjectMetaPatchArgs'] metadata: Standard object metadata
36
+ :param pulumi.Input['ResourceClaimSpecPatchArgs'] spec: Spec describes what is being requested and how to configure it. The spec is immutable.
37
+ """
38
+ if api_version is not None:
39
+ pulumi.set(__self__, "api_version", 'resource.k8s.io/v1beta2')
40
+ if kind is not None:
41
+ pulumi.set(__self__, "kind", 'ResourceClaim')
42
+ if metadata is not None:
43
+ pulumi.set(__self__, "metadata", metadata)
44
+ if spec is not None:
45
+ pulumi.set(__self__, "spec", spec)
46
+
47
+ @property
48
+ @pulumi.getter(name="apiVersion")
49
+ def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
50
+ """
51
+ 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
52
+ """
53
+ return pulumi.get(self, "api_version")
54
+
55
+ @api_version.setter
56
+ def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
57
+ pulumi.set(self, "api_version", value)
58
+
59
+ @property
60
+ @pulumi.getter
61
+ def kind(self) -> Optional[pulumi.Input[builtins.str]]:
62
+ """
63
+ 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
64
+ """
65
+ return pulumi.get(self, "kind")
66
+
67
+ @kind.setter
68
+ def kind(self, value: Optional[pulumi.Input[builtins.str]]):
69
+ pulumi.set(self, "kind", value)
70
+
71
+ @property
72
+ @pulumi.getter
73
+ def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]:
74
+ """
75
+ Standard object metadata
76
+ """
77
+ return pulumi.get(self, "metadata")
78
+
79
+ @metadata.setter
80
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]):
81
+ pulumi.set(self, "metadata", value)
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def spec(self) -> Optional[pulumi.Input['ResourceClaimSpecPatchArgs']]:
86
+ """
87
+ Spec describes what is being requested and how to configure it. The spec is immutable.
88
+ """
89
+ return pulumi.get(self, "spec")
90
+
91
+ @spec.setter
92
+ def spec(self, value: Optional[pulumi.Input['ResourceClaimSpecPatchArgs']]):
93
+ pulumi.set(self, "spec", value)
94
+
95
+
96
+ class ResourceClaimPatch(pulumi.CustomResource):
97
+
98
+ pulumi_type = "kubernetes:resource.k8s.io/v1beta2:ResourceClaimPatch"
99
+
100
+ @overload
101
+ def __init__(__self__,
102
+ resource_name: str,
103
+ opts: Optional[pulumi.ResourceOptions] = None,
104
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
105
+ kind: Optional[pulumi.Input[builtins.str]] = None,
106
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']]] = None,
107
+ spec: Optional[pulumi.Input[Union['ResourceClaimSpecPatchArgs', 'ResourceClaimSpecPatchArgsDict']]] = None,
108
+ __props__=None):
109
+ """
110
+ Patch resources are used to modify existing Kubernetes resources by using
111
+ Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
112
+ one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
113
+ Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
114
+ [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
115
+ additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
116
+ ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.
117
+
118
+ This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
119
+
120
+ :param str resource_name: The name of the resource.
121
+ :param pulumi.ResourceOptions opts: Options for the resource.
122
+ :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
123
+ :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
124
+ :param pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']] metadata: Standard object metadata
125
+ :param pulumi.Input[Union['ResourceClaimSpecPatchArgs', 'ResourceClaimSpecPatchArgsDict']] spec: Spec describes what is being requested and how to configure it. The spec is immutable.
126
+ """
127
+ ...
128
+ @overload
129
+ def __init__(__self__,
130
+ resource_name: str,
131
+ args: Optional[ResourceClaimPatchArgs] = None,
132
+ opts: Optional[pulumi.ResourceOptions] = None):
133
+ """
134
+ Patch resources are used to modify existing Kubernetes resources by using
135
+ Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
136
+ one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
137
+ Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
138
+ [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
139
+ additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
140
+ ResourceClaim describes a request for access to resources in the cluster, for use by workloads. For example, if a workload needs an accelerator device with specific properties, this is how that request is expressed. The status stanza tracks whether this claim has been satisfied and what specific resources have been allocated.
141
+
142
+ This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
143
+
144
+ :param str resource_name: The name of the resource.
145
+ :param ResourceClaimPatchArgs args: The arguments to use to populate this resource's properties.
146
+ :param pulumi.ResourceOptions opts: Options for the resource.
147
+ """
148
+ ...
149
+ def __init__(__self__, resource_name: str, *args, **kwargs):
150
+ resource_args, opts = _utilities.get_resource_args_opts(ResourceClaimPatchArgs, pulumi.ResourceOptions, *args, **kwargs)
151
+ if resource_args is not None:
152
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
153
+ else:
154
+ __self__._internal_init(resource_name, *args, **kwargs)
155
+
156
+ def _internal_init(__self__,
157
+ resource_name: str,
158
+ opts: Optional[pulumi.ResourceOptions] = None,
159
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
160
+ kind: Optional[pulumi.Input[builtins.str]] = None,
161
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaPatchArgs', '_meta.v1.ObjectMetaPatchArgsDict']]] = None,
162
+ spec: Optional[pulumi.Input[Union['ResourceClaimSpecPatchArgs', 'ResourceClaimSpecPatchArgsDict']]] = None,
163
+ __props__=None):
164
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
165
+ if not isinstance(opts, pulumi.ResourceOptions):
166
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
167
+ if opts.id is None:
168
+ if __props__ is not None:
169
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
170
+ __props__ = ResourceClaimPatchArgs.__new__(ResourceClaimPatchArgs)
171
+
172
+ __props__.__dict__["api_version"] = 'resource.k8s.io/v1beta2'
173
+ __props__.__dict__["kind"] = 'ResourceClaim'
174
+ __props__.__dict__["metadata"] = metadata
175
+ __props__.__dict__["spec"] = spec
176
+ __props__.__dict__["status"] = None
177
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha1:ResourceClaimPatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:ResourceClaimPatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha3:ResourceClaimPatch"), pulumi.Alias(type_="kubernetes:resource.k8s.io/v1beta1:ResourceClaimPatch")])
178
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
179
+ super(ResourceClaimPatch, __self__).__init__(
180
+ 'kubernetes:resource.k8s.io/v1beta2:ResourceClaimPatch',
181
+ resource_name,
182
+ __props__,
183
+ opts)
184
+
185
+ @staticmethod
186
+ def get(resource_name: str,
187
+ id: pulumi.Input[str],
188
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ResourceClaimPatch':
189
+ """
190
+ Get an existing ResourceClaimPatch resource's state with the given name, id, and optional extra
191
+ properties used to qualify the lookup.
192
+
193
+ :param str resource_name: The unique name of the resulting resource.
194
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
195
+ :param pulumi.ResourceOptions opts: Options for the resource.
196
+ """
197
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
198
+
199
+ __props__ = ResourceClaimPatchArgs.__new__(ResourceClaimPatchArgs)
200
+
201
+ __props__.__dict__["api_version"] = None
202
+ __props__.__dict__["kind"] = None
203
+ __props__.__dict__["metadata"] = None
204
+ __props__.__dict__["spec"] = None
205
+ __props__.__dict__["status"] = None
206
+ return ResourceClaimPatch(resource_name, opts=opts, __props__=__props__)
207
+
208
+ @property
209
+ @pulumi.getter(name="apiVersion")
210
+ def api_version(self) -> pulumi.Output[Optional[builtins.str]]:
211
+ """
212
+ 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
213
+ """
214
+ return pulumi.get(self, "api_version")
215
+
216
+ @property
217
+ @pulumi.getter
218
+ def kind(self) -> pulumi.Output[Optional[builtins.str]]:
219
+ """
220
+ 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
221
+ """
222
+ return pulumi.get(self, "kind")
223
+
224
+ @property
225
+ @pulumi.getter
226
+ def metadata(self) -> pulumi.Output[Optional['_meta.v1.outputs.ObjectMetaPatch']]:
227
+ """
228
+ Standard object metadata
229
+ """
230
+ return pulumi.get(self, "metadata")
231
+
232
+ @property
233
+ @pulumi.getter
234
+ def spec(self) -> pulumi.Output[Optional['outputs.ResourceClaimSpecPatch']]:
235
+ """
236
+ Spec describes what is being requested and how to configure it. The spec is immutable.
237
+ """
238
+ return pulumi.get(self, "spec")
239
+
240
+ @property
241
+ @pulumi.getter
242
+ def status(self) -> pulumi.Output[Optional['outputs.ResourceClaimStatusPatch']]:
243
+ """
244
+ Status describes whether the claim is ready to use and what has been allocated.
245
+ """
246
+ return pulumi.get(self, "status")
247
+