pulumi-kubernetes 4.17.0__py3-none-any.whl → 4.17.0a1723228048__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 (83) hide show
  1. pulumi_kubernetes/__init__.py +2 -42
  2. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -18
  3. pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -18
  4. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -18
  5. pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -18
  6. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -18
  7. pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -18
  8. pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
  9. pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
  10. pulumi_kubernetes/apps/v1/_inputs.py +12 -12
  11. pulumi_kubernetes/apps/v1/outputs.py +8 -8
  12. pulumi_kubernetes/batch/v1/_inputs.py +27 -15
  13. pulumi_kubernetes/batch/v1/outputs.py +20 -12
  14. pulumi_kubernetes/coordination/__init__.py +0 -3
  15. pulumi_kubernetes/coordination/v1/_inputs.py +14 -94
  16. pulumi_kubernetes/coordination/v1/outputs.py +10 -62
  17. pulumi_kubernetes/core/v1/Service.py +22 -6
  18. pulumi_kubernetes/core/v1/ServicePatch.py +22 -6
  19. pulumi_kubernetes/core/v1/_inputs.py +206 -961
  20. pulumi_kubernetes/core/v1/outputs.py +163 -1038
  21. pulumi_kubernetes/networking/v1alpha1/IPAddress.py +0 -2
  22. pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +0 -2
  23. pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +0 -2
  24. pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +0 -2
  25. pulumi_kubernetes/networking/v1beta1/__init__.py +0 -6
  26. pulumi_kubernetes/networking/v1beta1/_inputs.py +0 -599
  27. pulumi_kubernetes/networking/v1beta1/outputs.py +0 -461
  28. pulumi_kubernetes/pulumi-plugin.json +1 -1
  29. pulumi_kubernetes/resource/__init__.py +0 -3
  30. pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
  31. pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
  32. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
  33. pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
  34. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +0 -2
  35. pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +0 -2
  36. pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
  37. pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
  38. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
  39. pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
  40. pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +0 -2
  41. pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +0 -2
  42. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +0 -2
  43. pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +0 -2
  44. pulumi_kubernetes/storage/v1beta1/__init__.py +0 -3
  45. pulumi_kubernetes/storage/v1beta1/_inputs.py +0 -123
  46. pulumi_kubernetes/storage/v1beta1/outputs.py +0 -94
  47. pulumi_kubernetes/yaml/yaml.py +0 -102
  48. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/METADATA +1 -1
  49. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/RECORD +51 -83
  50. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/WHEEL +1 -1
  51. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +0 -214
  52. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +0 -215
  53. pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +0 -226
  54. pulumi_kubernetes/coordination/v1alpha1/__init__.py +0 -12
  55. pulumi_kubernetes/coordination/v1alpha1/_inputs.py +0 -418
  56. pulumi_kubernetes/coordination/v1alpha1/outputs.py +0 -334
  57. pulumi_kubernetes/networking/v1beta1/IPAddress.py +0 -216
  58. pulumi_kubernetes/networking/v1beta1/IPAddressList.py +0 -215
  59. pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +0 -228
  60. pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +0 -226
  61. pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +0 -215
  62. pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +0 -238
  63. pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +0 -236
  64. pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +0 -216
  65. pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +0 -247
  66. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +0 -231
  67. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +0 -215
  68. pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +0 -242
  69. pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +0 -232
  70. pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +0 -216
  71. pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +0 -243
  72. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +0 -229
  73. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +0 -215
  74. pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +0 -240
  75. pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +0 -246
  76. pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +0 -257
  77. pulumi_kubernetes/resource/v1alpha3/__init__.py +0 -23
  78. pulumi_kubernetes/resource/v1alpha3/_inputs.py +0 -3924
  79. pulumi_kubernetes/resource/v1alpha3/outputs.py +0 -3327
  80. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +0 -252
  81. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +0 -215
  82. pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +0 -263
  83. {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/top_level.txt +0 -0
@@ -1,231 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumigen. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from ... import _utilities
16
- from . import outputs
17
- from ... import meta as _meta
18
- from ._inputs import *
19
-
20
- __all__ = ['PodSchedulingContextInitArgs', 'PodSchedulingContext']
21
-
22
- @pulumi.input_type
23
- class PodSchedulingContextInitArgs:
24
- def __init__(__self__, *,
25
- spec: pulumi.Input['PodSchedulingContextSpecArgs'],
26
- api_version: Optional[pulumi.Input[str]] = None,
27
- kind: Optional[pulumi.Input[str]] = None,
28
- metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
29
- """
30
- The set of arguments for constructing a PodSchedulingContext resource.
31
- :param pulumi.Input['PodSchedulingContextSpecArgs'] spec: Spec describes where resources for the Pod are needed.
32
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
34
- :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object metadata
35
- """
36
- pulumi.set(__self__, "spec", spec)
37
- if api_version is not None:
38
- pulumi.set(__self__, "api_version", 'resource.k8s.io/v1alpha3')
39
- if kind is not None:
40
- pulumi.set(__self__, "kind", 'PodSchedulingContext')
41
- if metadata is not None:
42
- pulumi.set(__self__, "metadata", metadata)
43
-
44
- @property
45
- @pulumi.getter
46
- def spec(self) -> pulumi.Input['PodSchedulingContextSpecArgs']:
47
- """
48
- Spec describes where resources for the Pod are needed.
49
- """
50
- return pulumi.get(self, "spec")
51
-
52
- @spec.setter
53
- def spec(self, value: pulumi.Input['PodSchedulingContextSpecArgs']):
54
- pulumi.set(self, "spec", value)
55
-
56
- @property
57
- @pulumi.getter(name="apiVersion")
58
- def api_version(self) -> Optional[pulumi.Input[str]]:
59
- """
60
- 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
61
- """
62
- return pulumi.get(self, "api_version")
63
-
64
- @api_version.setter
65
- def api_version(self, value: Optional[pulumi.Input[str]]):
66
- pulumi.set(self, "api_version", value)
67
-
68
- @property
69
- @pulumi.getter
70
- def kind(self) -> Optional[pulumi.Input[str]]:
71
- """
72
- 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
73
- """
74
- return pulumi.get(self, "kind")
75
-
76
- @kind.setter
77
- def kind(self, value: Optional[pulumi.Input[str]]):
78
- pulumi.set(self, "kind", value)
79
-
80
- @property
81
- @pulumi.getter
82
- def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
83
- """
84
- Standard object metadata
85
- """
86
- return pulumi.get(self, "metadata")
87
-
88
- @metadata.setter
89
- def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
90
- pulumi.set(self, "metadata", value)
91
-
92
-
93
- class PodSchedulingContext(pulumi.CustomResource):
94
- @overload
95
- def __init__(__self__,
96
- resource_name: str,
97
- opts: Optional[pulumi.ResourceOptions] = None,
98
- api_version: Optional[pulumi.Input[str]] = None,
99
- kind: Optional[pulumi.Input[str]] = None,
100
- metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
101
- spec: Optional[pulumi.Input[Union['PodSchedulingContextSpecArgs', 'PodSchedulingContextSpecArgsDict']]] = None,
102
- __props__=None):
103
- """
104
- PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
105
-
106
- This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
107
-
108
- :param str resource_name: The name of the resource.
109
- :param pulumi.ResourceOptions opts: Options for the resource.
110
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
111
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
112
- :param pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']] metadata: Standard object metadata
113
- :param pulumi.Input[Union['PodSchedulingContextSpecArgs', 'PodSchedulingContextSpecArgsDict']] spec: Spec describes where resources for the Pod are needed.
114
- """
115
- ...
116
- @overload
117
- def __init__(__self__,
118
- resource_name: str,
119
- args: PodSchedulingContextInitArgs,
120
- opts: Optional[pulumi.ResourceOptions] = None):
121
- """
122
- PodSchedulingContext objects hold information that is needed to schedule a Pod with ResourceClaims that use "WaitForFirstConsumer" allocation mode.
123
-
124
- This is an alpha type and requires enabling the DRAControlPlaneController feature gate.
125
-
126
- :param str resource_name: The name of the resource.
127
- :param PodSchedulingContextInitArgs 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(PodSchedulingContextInitArgs, 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[str]] = None,
142
- kind: Optional[pulumi.Input[str]] = None,
143
- metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
144
- spec: Optional[pulumi.Input[Union['PodSchedulingContextSpecArgs', 'PodSchedulingContextSpecArgsDict']]] = 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__ = PodSchedulingContextInitArgs.__new__(PodSchedulingContextInitArgs)
153
-
154
- __props__.__dict__["api_version"] = 'resource.k8s.io/v1alpha3'
155
- __props__.__dict__["kind"] = 'PodSchedulingContext'
156
- __props__.__dict__["metadata"] = metadata
157
- if spec is None and not opts.urn:
158
- raise TypeError("Missing required property 'spec'")
159
- __props__.__dict__["spec"] = spec
160
- __props__.__dict__["status"] = None
161
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:resource.k8s.io/v1alpha2:PodSchedulingContext")])
162
- opts = pulumi.ResourceOptions.merge(opts, alias_opts)
163
- super(PodSchedulingContext, __self__).__init__(
164
- 'kubernetes:resource.k8s.io/v1alpha3:PodSchedulingContext',
165
- resource_name,
166
- __props__,
167
- opts)
168
-
169
- @staticmethod
170
- def get(resource_name: str,
171
- id: pulumi.Input[str],
172
- opts: Optional[pulumi.ResourceOptions] = None) -> 'PodSchedulingContext':
173
- """
174
- Get an existing PodSchedulingContext resource's state with the given name, id, and optional extra
175
- properties used to qualify the lookup.
176
-
177
- :param str resource_name: The unique name of the resulting resource.
178
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
179
- :param pulumi.ResourceOptions opts: Options for the resource.
180
- """
181
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
182
-
183
- __props__ = PodSchedulingContextInitArgs.__new__(PodSchedulingContextInitArgs)
184
-
185
- __props__.__dict__["api_version"] = None
186
- __props__.__dict__["kind"] = None
187
- __props__.__dict__["metadata"] = None
188
- __props__.__dict__["spec"] = None
189
- __props__.__dict__["status"] = None
190
- return PodSchedulingContext(resource_name, opts=opts, __props__=__props__)
191
-
192
- @property
193
- @pulumi.getter(name="apiVersion")
194
- def api_version(self) -> pulumi.Output[str]:
195
- """
196
- 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
197
- """
198
- return pulumi.get(self, "api_version")
199
-
200
- @property
201
- @pulumi.getter
202
- def kind(self) -> pulumi.Output[str]:
203
- """
204
- 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
205
- """
206
- return pulumi.get(self, "kind")
207
-
208
- @property
209
- @pulumi.getter
210
- def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
211
- """
212
- Standard object metadata
213
- """
214
- return pulumi.get(self, "metadata")
215
-
216
- @property
217
- @pulumi.getter
218
- def spec(self) -> pulumi.Output['outputs.PodSchedulingContextSpec']:
219
- """
220
- Spec describes where resources for the Pod are needed.
221
- """
222
- return pulumi.get(self, "spec")
223
-
224
- @property
225
- @pulumi.getter
226
- def status(self) -> pulumi.Output[Optional['outputs.PodSchedulingContextStatus']]:
227
- """
228
- Status describes where resources for the Pod can be allocated.
229
- """
230
- return pulumi.get(self, "status")
231
-
@@ -1,215 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumigen. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import copy
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from ... import _utilities
16
- from . import outputs
17
- from ... import meta as _meta
18
- from ._inputs import *
19
-
20
- __all__ = ['PodSchedulingContextListArgs', 'PodSchedulingContextList']
21
-
22
- @pulumi.input_type
23
- class PodSchedulingContextListArgs:
24
- def __init__(__self__, *,
25
- items: pulumi.Input[Sequence[pulumi.Input['PodSchedulingContextArgs']]],
26
- api_version: Optional[pulumi.Input[str]] = None,
27
- kind: Optional[pulumi.Input[str]] = None,
28
- metadata: Optional[pulumi.Input['_meta.v1.ListMetaArgs']] = None):
29
- """
30
- The set of arguments for constructing a PodSchedulingContextList resource.
31
- :param pulumi.Input[Sequence[pulumi.Input['PodSchedulingContextArgs']]] items: Items is the list of PodSchedulingContext objects.
32
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
33
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
34
- :param pulumi.Input['_meta.v1.ListMetaArgs'] metadata: Standard list metadata
35
- """
36
- pulumi.set(__self__, "items", items)
37
- if api_version is not None:
38
- pulumi.set(__self__, "api_version", 'resource.k8s.io/v1alpha3')
39
- if kind is not None:
40
- pulumi.set(__self__, "kind", 'PodSchedulingContextList')
41
- if metadata is not None:
42
- pulumi.set(__self__, "metadata", metadata)
43
-
44
- @property
45
- @pulumi.getter
46
- def items(self) -> pulumi.Input[Sequence[pulumi.Input['PodSchedulingContextArgs']]]:
47
- """
48
- Items is the list of PodSchedulingContext objects.
49
- """
50
- return pulumi.get(self, "items")
51
-
52
- @items.setter
53
- def items(self, value: pulumi.Input[Sequence[pulumi.Input['PodSchedulingContextArgs']]]):
54
- pulumi.set(self, "items", value)
55
-
56
- @property
57
- @pulumi.getter(name="apiVersion")
58
- def api_version(self) -> Optional[pulumi.Input[str]]:
59
- """
60
- 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
61
- """
62
- return pulumi.get(self, "api_version")
63
-
64
- @api_version.setter
65
- def api_version(self, value: Optional[pulumi.Input[str]]):
66
- pulumi.set(self, "api_version", value)
67
-
68
- @property
69
- @pulumi.getter
70
- def kind(self) -> Optional[pulumi.Input[str]]:
71
- """
72
- 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
73
- """
74
- return pulumi.get(self, "kind")
75
-
76
- @kind.setter
77
- def kind(self, value: Optional[pulumi.Input[str]]):
78
- pulumi.set(self, "kind", value)
79
-
80
- @property
81
- @pulumi.getter
82
- def metadata(self) -> Optional[pulumi.Input['_meta.v1.ListMetaArgs']]:
83
- """
84
- Standard list metadata
85
- """
86
- return pulumi.get(self, "metadata")
87
-
88
- @metadata.setter
89
- def metadata(self, value: Optional[pulumi.Input['_meta.v1.ListMetaArgs']]):
90
- pulumi.set(self, "metadata", value)
91
-
92
-
93
- class PodSchedulingContextList(pulumi.CustomResource):
94
- @overload
95
- def __init__(__self__,
96
- resource_name: str,
97
- opts: Optional[pulumi.ResourceOptions] = None,
98
- api_version: Optional[pulumi.Input[str]] = None,
99
- items: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PodSchedulingContextArgs', 'PodSchedulingContextArgsDict']]]]] = None,
100
- kind: Optional[pulumi.Input[str]] = None,
101
- metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = None,
102
- __props__=None):
103
- """
104
- PodSchedulingContextList is a collection of Pod scheduling objects.
105
-
106
- :param str resource_name: The name of the resource.
107
- :param pulumi.ResourceOptions opts: Options for the resource.
108
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
109
- :param pulumi.Input[Sequence[pulumi.Input[Union['PodSchedulingContextArgs', 'PodSchedulingContextArgsDict']]]] items: Items is the list of PodSchedulingContext objects.
110
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
111
- :param pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']] metadata: Standard list metadata
112
- """
113
- ...
114
- @overload
115
- def __init__(__self__,
116
- resource_name: str,
117
- args: PodSchedulingContextListArgs,
118
- opts: Optional[pulumi.ResourceOptions] = None):
119
- """
120
- PodSchedulingContextList is a collection of Pod scheduling objects.
121
-
122
- :param str resource_name: The name of the resource.
123
- :param PodSchedulingContextListArgs args: The arguments to use to populate this resource's properties.
124
- :param pulumi.ResourceOptions opts: Options for the resource.
125
- """
126
- ...
127
- def __init__(__self__, resource_name: str, *args, **kwargs):
128
- resource_args, opts = _utilities.get_resource_args_opts(PodSchedulingContextListArgs, pulumi.ResourceOptions, *args, **kwargs)
129
- if resource_args is not None:
130
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
131
- else:
132
- __self__._internal_init(resource_name, *args, **kwargs)
133
-
134
- def _internal_init(__self__,
135
- resource_name: str,
136
- opts: Optional[pulumi.ResourceOptions] = None,
137
- api_version: Optional[pulumi.Input[str]] = None,
138
- items: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PodSchedulingContextArgs', 'PodSchedulingContextArgsDict']]]]] = None,
139
- kind: Optional[pulumi.Input[str]] = None,
140
- metadata: Optional[pulumi.Input[Union['_meta.v1.ListMetaArgs', '_meta.v1.ListMetaArgsDict']]] = None,
141
- __props__=None):
142
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
143
- if not isinstance(opts, pulumi.ResourceOptions):
144
- raise TypeError('Expected resource options to be a ResourceOptions instance')
145
- if opts.id is None:
146
- if __props__ is not None:
147
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
148
- __props__ = PodSchedulingContextListArgs.__new__(PodSchedulingContextListArgs)
149
-
150
- __props__.__dict__["api_version"] = 'resource.k8s.io/v1alpha3'
151
- if items is None and not opts.urn:
152
- raise TypeError("Missing required property 'items'")
153
- __props__.__dict__["items"] = items
154
- __props__.__dict__["kind"] = 'PodSchedulingContextList'
155
- __props__.__dict__["metadata"] = metadata
156
- super(PodSchedulingContextList, __self__).__init__(
157
- 'kubernetes:resource.k8s.io/v1alpha3:PodSchedulingContextList',
158
- resource_name,
159
- __props__,
160
- opts)
161
-
162
- @staticmethod
163
- def get(resource_name: str,
164
- id: pulumi.Input[str],
165
- opts: Optional[pulumi.ResourceOptions] = None) -> 'PodSchedulingContextList':
166
- """
167
- Get an existing PodSchedulingContextList resource's state with the given name, id, and optional extra
168
- properties used to qualify the lookup.
169
-
170
- :param str resource_name: The unique name of the resulting resource.
171
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
172
- :param pulumi.ResourceOptions opts: Options for the resource.
173
- """
174
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
175
-
176
- __props__ = PodSchedulingContextListArgs.__new__(PodSchedulingContextListArgs)
177
-
178
- __props__.__dict__["api_version"] = None
179
- __props__.__dict__["items"] = None
180
- __props__.__dict__["kind"] = None
181
- __props__.__dict__["metadata"] = None
182
- return PodSchedulingContextList(resource_name, opts=opts, __props__=__props__)
183
-
184
- @property
185
- @pulumi.getter(name="apiVersion")
186
- def api_version(self) -> pulumi.Output[str]:
187
- """
188
- 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
189
- """
190
- return pulumi.get(self, "api_version")
191
-
192
- @property
193
- @pulumi.getter
194
- def items(self) -> pulumi.Output[Sequence['outputs.PodSchedulingContext']]:
195
- """
196
- Items is the list of PodSchedulingContext objects.
197
- """
198
- return pulumi.get(self, "items")
199
-
200
- @property
201
- @pulumi.getter
202
- def kind(self) -> pulumi.Output[str]:
203
- """
204
- 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
205
- """
206
- return pulumi.get(self, "kind")
207
-
208
- @property
209
- @pulumi.getter
210
- def metadata(self) -> pulumi.Output['_meta.v1.outputs.ListMeta']:
211
- """
212
- Standard list metadata
213
- """
214
- return pulumi.get(self, "metadata")
215
-