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,229 @@
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__ = ['ClusterTrustBundleInitArgs', 'ClusterTrustBundle']
22
+
23
+ @pulumi.input_type
24
+ class ClusterTrustBundleInitArgs:
25
+ def __init__(__self__, *,
26
+ spec: pulumi.Input['ClusterTrustBundleSpecArgs'],
27
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
28
+ kind: Optional[pulumi.Input[builtins.str]] = None,
29
+ metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
30
+ """
31
+ The set of arguments for constructing a ClusterTrustBundle resource.
32
+ :param pulumi.Input['ClusterTrustBundleSpecArgs'] spec: spec contains the signer (if any) and trust anchors.
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.ObjectMetaArgs'] metadata: metadata contains the object metadata.
36
+ """
37
+ pulumi.set(__self__, "spec", spec)
38
+ if api_version is not None:
39
+ pulumi.set(__self__, "api_version", 'certificates.k8s.io/v1beta1')
40
+ if kind is not None:
41
+ pulumi.set(__self__, "kind", 'ClusterTrustBundle')
42
+ if metadata is not None:
43
+ pulumi.set(__self__, "metadata", metadata)
44
+
45
+ @property
46
+ @pulumi.getter
47
+ def spec(self) -> pulumi.Input['ClusterTrustBundleSpecArgs']:
48
+ """
49
+ spec contains the signer (if any) and trust anchors.
50
+ """
51
+ return pulumi.get(self, "spec")
52
+
53
+ @spec.setter
54
+ def spec(self, value: pulumi.Input['ClusterTrustBundleSpecArgs']):
55
+ pulumi.set(self, "spec", 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.ObjectMetaArgs']]:
84
+ """
85
+ metadata contains the object metadata.
86
+ """
87
+ return pulumi.get(self, "metadata")
88
+
89
+ @metadata.setter
90
+ def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
91
+ pulumi.set(self, "metadata", value)
92
+
93
+
94
+ class ClusterTrustBundle(pulumi.CustomResource):
95
+
96
+ pulumi_type = "kubernetes:certificates.k8s.io/v1beta1:ClusterTrustBundle"
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
+ kind: Optional[pulumi.Input[builtins.str]] = None,
104
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
105
+ spec: Optional[pulumi.Input[Union['ClusterTrustBundleSpecArgs', 'ClusterTrustBundleSpecArgsDict']]] = None,
106
+ __props__=None):
107
+ """
108
+ ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).
109
+
110
+ ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.
111
+
112
+ It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.
113
+
114
+ :param str resource_name: The name of the resource.
115
+ :param pulumi.ResourceOptions opts: Options for the resource.
116
+ :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
117
+ :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
118
+ :param pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']] metadata: metadata contains the object metadata.
119
+ :param pulumi.Input[Union['ClusterTrustBundleSpecArgs', 'ClusterTrustBundleSpecArgsDict']] spec: spec contains the signer (if any) and trust anchors.
120
+ """
121
+ ...
122
+ @overload
123
+ def __init__(__self__,
124
+ resource_name: str,
125
+ args: ClusterTrustBundleInitArgs,
126
+ opts: Optional[pulumi.ResourceOptions] = None):
127
+ """
128
+ ClusterTrustBundle is a cluster-scoped container for X.509 trust anchors (root certificates).
129
+
130
+ ClusterTrustBundle objects are considered to be readable by any authenticated user in the cluster, because they can be mounted by pods using the `clusterTrustBundle` projection. All service accounts have read access to ClusterTrustBundles by default. Users who only have namespace-level access to a cluster can read ClusterTrustBundles by impersonating a serviceaccount that they have access to.
131
+
132
+ It can be optionally associated with a particular assigner, in which case it contains one valid set of trust anchors for that signer. Signers may have multiple associated ClusterTrustBundles; each is an independent set of trust anchors for that signer. Admission control is used to enforce that only users with permissions on the signer can create or modify the corresponding bundle.
133
+
134
+ :param str resource_name: The name of the resource.
135
+ :param ClusterTrustBundleInitArgs args: The arguments to use to populate this resource's properties.
136
+ :param pulumi.ResourceOptions opts: Options for the resource.
137
+ """
138
+ ...
139
+ def __init__(__self__, resource_name: str, *args, **kwargs):
140
+ resource_args, opts = _utilities.get_resource_args_opts(ClusterTrustBundleInitArgs, pulumi.ResourceOptions, *args, **kwargs)
141
+ if resource_args is not None:
142
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
143
+ else:
144
+ __self__._internal_init(resource_name, *args, **kwargs)
145
+
146
+ def _internal_init(__self__,
147
+ resource_name: str,
148
+ opts: Optional[pulumi.ResourceOptions] = None,
149
+ api_version: Optional[pulumi.Input[builtins.str]] = None,
150
+ kind: Optional[pulumi.Input[builtins.str]] = None,
151
+ metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
152
+ spec: Optional[pulumi.Input[Union['ClusterTrustBundleSpecArgs', 'ClusterTrustBundleSpecArgsDict']]] = None,
153
+ __props__=None):
154
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
155
+ if not isinstance(opts, pulumi.ResourceOptions):
156
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
157
+ if opts.id is None:
158
+ if __props__ is not None:
159
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
160
+ __props__ = ClusterTrustBundleInitArgs.__new__(ClusterTrustBundleInitArgs)
161
+
162
+ __props__.__dict__["api_version"] = 'certificates.k8s.io/v1beta1'
163
+ __props__.__dict__["kind"] = 'ClusterTrustBundle'
164
+ __props__.__dict__["metadata"] = metadata
165
+ if spec is None and not opts.urn:
166
+ raise TypeError("Missing required property 'spec'")
167
+ __props__.__dict__["spec"] = spec
168
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:certificates.k8s.io/v1alpha1:ClusterTrustBundle")])
169
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
170
+ super(ClusterTrustBundle, __self__).__init__(
171
+ 'kubernetes:certificates.k8s.io/v1beta1:ClusterTrustBundle',
172
+ resource_name,
173
+ __props__,
174
+ opts)
175
+
176
+ @staticmethod
177
+ def get(resource_name: str,
178
+ id: pulumi.Input[str],
179
+ opts: Optional[pulumi.ResourceOptions] = None) -> 'ClusterTrustBundle':
180
+ """
181
+ Get an existing ClusterTrustBundle resource's state with the given name, id, and optional extra
182
+ properties used to qualify the lookup.
183
+
184
+ :param str resource_name: The unique name of the resulting resource.
185
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
186
+ :param pulumi.ResourceOptions opts: Options for the resource.
187
+ """
188
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
189
+
190
+ __props__ = ClusterTrustBundleInitArgs.__new__(ClusterTrustBundleInitArgs)
191
+
192
+ __props__.__dict__["api_version"] = None
193
+ __props__.__dict__["kind"] = None
194
+ __props__.__dict__["metadata"] = None
195
+ __props__.__dict__["spec"] = None
196
+ return ClusterTrustBundle(resource_name, opts=opts, __props__=__props__)
197
+
198
+ @property
199
+ @pulumi.getter(name="apiVersion")
200
+ def api_version(self) -> pulumi.Output[builtins.str]:
201
+ """
202
+ 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
203
+ """
204
+ return pulumi.get(self, "api_version")
205
+
206
+ @property
207
+ @pulumi.getter
208
+ def kind(self) -> pulumi.Output[builtins.str]:
209
+ """
210
+ 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
211
+ """
212
+ return pulumi.get(self, "kind")
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
217
+ """
218
+ metadata contains the object metadata.
219
+ """
220
+ return pulumi.get(self, "metadata")
221
+
222
+ @property
223
+ @pulumi.getter
224
+ def spec(self) -> pulumi.Output['outputs.ClusterTrustBundleSpec']:
225
+ """
226
+ spec contains the signer (if any) and trust anchors.
227
+ """
228
+ return pulumi.get(self, "spec")
229
+
@@ -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__ = ['ClusterTrustBundleListArgs', 'ClusterTrustBundleList']
22
+
23
+ @pulumi.input_type
24
+ class ClusterTrustBundleListArgs:
25
+ def __init__(__self__, *,
26
+ items: pulumi.Input[Sequence[pulumi.Input['ClusterTrustBundleArgs']]],
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 ClusterTrustBundleList resource.
32
+ :param pulumi.Input[Sequence[pulumi.Input['ClusterTrustBundleArgs']]] items: items is a collection of ClusterTrustBundle objects
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: metadata contains the list metadata.
36
+ """
37
+ pulumi.set(__self__, "items", items)
38
+ if api_version is not None:
39
+ pulumi.set(__self__, "api_version", 'certificates.k8s.io/v1beta1')
40
+ if kind is not None:
41
+ pulumi.set(__self__, "kind", 'ClusterTrustBundleList')
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['ClusterTrustBundleArgs']]]:
48
+ """
49
+ items is a collection of ClusterTrustBundle objects
50
+ """
51
+ return pulumi.get(self, "items")
52
+
53
+ @items.setter
54
+ def items(self, value: pulumi.Input[Sequence[pulumi.Input['ClusterTrustBundleArgs']]]):
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
+ metadata contains the list 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 ClusterTrustBundleList(pulumi.CustomResource):
95
+
96
+ pulumi_type = "kubernetes:certificates.k8s.io/v1beta1:ClusterTrustBundleList"
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['ClusterTrustBundleArgs', 'ClusterTrustBundleArgsDict']]]]] = 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
+ ClusterTrustBundleList is a collection of ClusterTrustBundle objects
109
+
110
+ :param str resource_name: The name of the resource.
111
+ :param pulumi.ResourceOptions opts: Options for the resource.
112
+ :param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
113
+ :param pulumi.Input[Sequence[pulumi.Input[Union['ClusterTrustBundleArgs', 'ClusterTrustBundleArgsDict']]]] items: items is a collection of ClusterTrustBundle objects
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: metadata contains the list metadata.
116
+ """
117
+ ...
118
+ @overload
119
+ def __init__(__self__,
120
+ resource_name: str,
121
+ args: ClusterTrustBundleListArgs,
122
+ opts: Optional[pulumi.ResourceOptions] = None):
123
+ """
124
+ ClusterTrustBundleList is a collection of ClusterTrustBundle objects
125
+
126
+ :param str resource_name: The name of the resource.
127
+ :param ClusterTrustBundleListArgs 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(ClusterTrustBundleListArgs, 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['ClusterTrustBundleArgs', 'ClusterTrustBundleArgsDict']]]]] = 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__ = ClusterTrustBundleListArgs.__new__(ClusterTrustBundleListArgs)
153
+
154
+ __props__.__dict__["api_version"] = 'certificates.k8s.io/v1beta1'
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"] = 'ClusterTrustBundleList'
159
+ __props__.__dict__["metadata"] = metadata
160
+ super(ClusterTrustBundleList, __self__).__init__(
161
+ 'kubernetes:certificates.k8s.io/v1beta1:ClusterTrustBundleList',
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) -> 'ClusterTrustBundleList':
170
+ """
171
+ Get an existing ClusterTrustBundleList 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__ = ClusterTrustBundleListArgs.__new__(ClusterTrustBundleListArgs)
181
+
182
+ __props__.__dict__["api_version"] = None
183
+ __props__.__dict__["items"] = None
184
+ __props__.__dict__["kind"] = None
185
+ __props__.__dict__["metadata"] = None
186
+ return ClusterTrustBundleList(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.ClusterTrustBundle']]:
199
+ """
200
+ items is a collection of ClusterTrustBundle objects
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
+ metadata contains the list metadata.
217
+ """
218
+ return pulumi.get(self, "metadata")
219
+