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,226 +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__ = ['ServiceCIDRInitArgs', 'ServiceCIDR']
21
-
22
- @pulumi.input_type
23
- class ServiceCIDRInitArgs:
24
- def __init__(__self__, *,
25
- api_version: Optional[pulumi.Input[str]] = None,
26
- kind: Optional[pulumi.Input[str]] = None,
27
- metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
28
- spec: Optional[pulumi.Input['ServiceCIDRSpecArgs']] = None):
29
- """
30
- The set of arguments for constructing a ServiceCIDR resource.
31
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
32
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
33
- :param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
34
- :param pulumi.Input['ServiceCIDRSpecArgs'] spec: spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
35
- """
36
- if api_version is not None:
37
- pulumi.set(__self__, "api_version", 'networking.k8s.io/v1beta1')
38
- if kind is not None:
39
- pulumi.set(__self__, "kind", 'ServiceCIDR')
40
- if metadata is not None:
41
- pulumi.set(__self__, "metadata", metadata)
42
- if spec is not None:
43
- pulumi.set(__self__, "spec", spec)
44
-
45
- @property
46
- @pulumi.getter(name="apiVersion")
47
- def api_version(self) -> Optional[pulumi.Input[str]]:
48
- """
49
- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
50
- """
51
- return pulumi.get(self, "api_version")
52
-
53
- @api_version.setter
54
- def api_version(self, value: Optional[pulumi.Input[str]]):
55
- pulumi.set(self, "api_version", value)
56
-
57
- @property
58
- @pulumi.getter
59
- def kind(self) -> Optional[pulumi.Input[str]]:
60
- """
61
- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
62
- """
63
- return pulumi.get(self, "kind")
64
-
65
- @kind.setter
66
- def kind(self, value: Optional[pulumi.Input[str]]):
67
- pulumi.set(self, "kind", value)
68
-
69
- @property
70
- @pulumi.getter
71
- def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
72
- """
73
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
74
- """
75
- return pulumi.get(self, "metadata")
76
-
77
- @metadata.setter
78
- def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
79
- pulumi.set(self, "metadata", value)
80
-
81
- @property
82
- @pulumi.getter
83
- def spec(self) -> Optional[pulumi.Input['ServiceCIDRSpecArgs']]:
84
- """
85
- spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
86
- """
87
- return pulumi.get(self, "spec")
88
-
89
- @spec.setter
90
- def spec(self, value: Optional[pulumi.Input['ServiceCIDRSpecArgs']]):
91
- pulumi.set(self, "spec", value)
92
-
93
-
94
- class ServiceCIDR(pulumi.CustomResource):
95
- @overload
96
- def __init__(__self__,
97
- resource_name: str,
98
- opts: Optional[pulumi.ResourceOptions] = None,
99
- api_version: Optional[pulumi.Input[str]] = None,
100
- kind: Optional[pulumi.Input[str]] = None,
101
- metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
102
- spec: Optional[pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']]] = None,
103
- __props__=None):
104
- """
105
- ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
106
-
107
- :param str resource_name: The name of the resource.
108
- :param pulumi.ResourceOptions opts: Options for the resource.
109
- :param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
110
- :param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
111
- :param pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
112
- :param pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']] spec: spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
113
- """
114
- ...
115
- @overload
116
- def __init__(__self__,
117
- resource_name: str,
118
- args: Optional[ServiceCIDRInitArgs] = None,
119
- opts: Optional[pulumi.ResourceOptions] = None):
120
- """
121
- ServiceCIDR defines a range of IP addresses using CIDR format (e.g. 192.168.0.0/24 or 2001:db2::/64). This range is used to allocate ClusterIPs to Service objects.
122
-
123
- :param str resource_name: The name of the resource.
124
- :param ServiceCIDRInitArgs args: The arguments to use to populate this resource's properties.
125
- :param pulumi.ResourceOptions opts: Options for the resource.
126
- """
127
- ...
128
- def __init__(__self__, resource_name: str, *args, **kwargs):
129
- resource_args, opts = _utilities.get_resource_args_opts(ServiceCIDRInitArgs, pulumi.ResourceOptions, *args, **kwargs)
130
- if resource_args is not None:
131
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
132
- else:
133
- __self__._internal_init(resource_name, *args, **kwargs)
134
-
135
- def _internal_init(__self__,
136
- resource_name: str,
137
- opts: Optional[pulumi.ResourceOptions] = None,
138
- api_version: Optional[pulumi.Input[str]] = None,
139
- kind: Optional[pulumi.Input[str]] = None,
140
- metadata: Optional[pulumi.Input[Union['_meta.v1.ObjectMetaArgs', '_meta.v1.ObjectMetaArgsDict']]] = None,
141
- spec: Optional[pulumi.Input[Union['ServiceCIDRSpecArgs', 'ServiceCIDRSpecArgsDict']]] = None,
142
- __props__=None):
143
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
144
- if not isinstance(opts, pulumi.ResourceOptions):
145
- raise TypeError('Expected resource options to be a ResourceOptions instance')
146
- if opts.id is None:
147
- if __props__ is not None:
148
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
149
- __props__ = ServiceCIDRInitArgs.__new__(ServiceCIDRInitArgs)
150
-
151
- __props__.__dict__["api_version"] = 'networking.k8s.io/v1beta1'
152
- __props__.__dict__["kind"] = 'ServiceCIDR'
153
- __props__.__dict__["metadata"] = metadata
154
- __props__.__dict__["spec"] = spec
155
- __props__.__dict__["status"] = None
156
- alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="kubernetes:networking.k8s.io/v1alpha1:ServiceCIDR")])
157
- opts = pulumi.ResourceOptions.merge(opts, alias_opts)
158
- super(ServiceCIDR, __self__).__init__(
159
- 'kubernetes:networking.k8s.io/v1beta1:ServiceCIDR',
160
- resource_name,
161
- __props__,
162
- opts)
163
-
164
- @staticmethod
165
- def get(resource_name: str,
166
- id: pulumi.Input[str],
167
- opts: Optional[pulumi.ResourceOptions] = None) -> 'ServiceCIDR':
168
- """
169
- Get an existing ServiceCIDR resource's state with the given name, id, and optional extra
170
- properties used to qualify the lookup.
171
-
172
- :param str resource_name: The unique name of the resulting resource.
173
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
174
- :param pulumi.ResourceOptions opts: Options for the resource.
175
- """
176
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
177
-
178
- __props__ = ServiceCIDRInitArgs.__new__(ServiceCIDRInitArgs)
179
-
180
- __props__.__dict__["api_version"] = None
181
- __props__.__dict__["kind"] = None
182
- __props__.__dict__["metadata"] = None
183
- __props__.__dict__["spec"] = None
184
- __props__.__dict__["status"] = None
185
- return ServiceCIDR(resource_name, opts=opts, __props__=__props__)
186
-
187
- @property
188
- @pulumi.getter(name="apiVersion")
189
- def api_version(self) -> pulumi.Output[str]:
190
- """
191
- APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
192
- """
193
- return pulumi.get(self, "api_version")
194
-
195
- @property
196
- @pulumi.getter
197
- def kind(self) -> pulumi.Output[str]:
198
- """
199
- Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
200
- """
201
- return pulumi.get(self, "kind")
202
-
203
- @property
204
- @pulumi.getter
205
- def metadata(self) -> pulumi.Output['_meta.v1.outputs.ObjectMeta']:
206
- """
207
- Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
208
- """
209
- return pulumi.get(self, "metadata")
210
-
211
- @property
212
- @pulumi.getter
213
- def spec(self) -> pulumi.Output['outputs.ServiceCIDRSpec']:
214
- """
215
- spec is the desired state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
216
- """
217
- return pulumi.get(self, "spec")
218
-
219
- @property
220
- @pulumi.getter
221
- def status(self) -> pulumi.Output[Optional['outputs.ServiceCIDRStatus']]:
222
- """
223
- status represents the current state of the ServiceCIDR. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
224
- """
225
- return pulumi.get(self, "status")
226
-
@@ -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__ = ['ServiceCIDRListArgs', 'ServiceCIDRList']
21
-
22
- @pulumi.input_type
23
- class ServiceCIDRListArgs:
24
- def __init__(__self__, *,
25
- items: pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]],
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 ServiceCIDRList resource.
31
- :param pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]] items: items is the list of ServiceCIDRs.
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 object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
35
- """
36
- pulumi.set(__self__, "items", items)
37
- if api_version is not None:
38
- pulumi.set(__self__, "api_version", 'networking.k8s.io/v1beta1')
39
- if kind is not None:
40
- pulumi.set(__self__, "kind", 'ServiceCIDRList')
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['ServiceCIDRArgs']]]:
47
- """
48
- items is the list of ServiceCIDRs.
49
- """
50
- return pulumi.get(self, "items")
51
-
52
- @items.setter
53
- def items(self, value: pulumi.Input[Sequence[pulumi.Input['ServiceCIDRArgs']]]):
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 object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#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 ServiceCIDRList(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['ServiceCIDRArgs', 'ServiceCIDRArgsDict']]]]] = 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
- ServiceCIDRList contains a list of ServiceCIDR 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['ServiceCIDRArgs', 'ServiceCIDRArgsDict']]]] items: items is the list of ServiceCIDRs.
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 object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
112
- """
113
- ...
114
- @overload
115
- def __init__(__self__,
116
- resource_name: str,
117
- args: ServiceCIDRListArgs,
118
- opts: Optional[pulumi.ResourceOptions] = None):
119
- """
120
- ServiceCIDRList contains a list of ServiceCIDR objects.
121
-
122
- :param str resource_name: The name of the resource.
123
- :param ServiceCIDRListArgs 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(ServiceCIDRListArgs, 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['ServiceCIDRArgs', 'ServiceCIDRArgsDict']]]]] = 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__ = ServiceCIDRListArgs.__new__(ServiceCIDRListArgs)
149
-
150
- __props__.__dict__["api_version"] = 'networking.k8s.io/v1beta1'
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"] = 'ServiceCIDRList'
155
- __props__.__dict__["metadata"] = metadata
156
- super(ServiceCIDRList, __self__).__init__(
157
- 'kubernetes:networking.k8s.io/v1beta1:ServiceCIDRList',
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) -> 'ServiceCIDRList':
166
- """
167
- Get an existing ServiceCIDRList 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__ = ServiceCIDRListArgs.__new__(ServiceCIDRListArgs)
177
-
178
- __props__.__dict__["api_version"] = None
179
- __props__.__dict__["items"] = None
180
- __props__.__dict__["kind"] = None
181
- __props__.__dict__["metadata"] = None
182
- return ServiceCIDRList(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.ServiceCIDR']]:
195
- """
196
- items is the list of ServiceCIDRs.
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 object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
213
- """
214
- return pulumi.get(self, "metadata")
215
-