pulumi-oci 2.11.0a1726726622__py3-none-any.whl → 2.11.0a1726768847__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.
Files changed (55) hide show
  1. pulumi_oci/__init__.py +62 -0
  2. pulumi_oci/bigdataservice/__init__.py +3 -0
  3. pulumi_oci/bigdataservice/_inputs.py +66 -0
  4. pulumi_oci/bigdataservice/bds_instance_os_patch_action.py +136 -2
  5. pulumi_oci/bigdataservice/bds_instance_resource_principal_configuration.py +524 -0
  6. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configuration.py +236 -0
  7. pulumi_oci/bigdataservice/get_bds_instance_resource_principal_configurations.py +176 -0
  8. pulumi_oci/bigdataservice/outputs.py +175 -0
  9. pulumi_oci/capacitymanagement/__init__.py +8 -0
  10. pulumi_oci/capacitymanagement/_inputs.py +465 -3
  11. pulumi_oci/capacitymanagement/get_internal_namespace_occ_overviews.py +221 -0
  12. pulumi_oci/capacitymanagement/get_internal_occ_availability_catalogs.py +7 -7
  13. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_block_details.py +150 -0
  14. pulumi_oci/capacitymanagement/get_internal_occ_handover_resource_blocks.py +247 -0
  15. pulumi_oci/capacitymanagement/get_namespace_occ_overviews.py +204 -0
  16. pulumi_oci/capacitymanagement/get_occ_availability_catalog.py +1 -1
  17. pulumi_oci/capacitymanagement/get_occ_capacity_request.py +15 -2
  18. pulumi_oci/capacitymanagement/get_occ_capacity_requests.py +25 -5
  19. pulumi_oci/capacitymanagement/get_occ_customer_group.py +1 -1
  20. pulumi_oci/capacitymanagement/get_occ_handover_resource_block_details.py +150 -0
  21. pulumi_oci/capacitymanagement/get_occ_handover_resource_blocks.py +227 -0
  22. pulumi_oci/capacitymanagement/occ_availability_catalog.py +4 -4
  23. pulumi_oci/capacitymanagement/occ_capacity_request.py +78 -32
  24. pulumi_oci/capacitymanagement/occ_customer_group.py +690 -0
  25. pulumi_oci/capacitymanagement/occ_customer_group_occ_customer.py +412 -0
  26. pulumi_oci/capacitymanagement/outputs.py +1668 -166
  27. pulumi_oci/containerengine/__init__.py +1 -0
  28. pulumi_oci/containerengine/get_cluster.py +327 -0
  29. pulumi_oci/containerengine/outputs.py +492 -0
  30. pulumi_oci/fleetsoftwareupdate/__init__.py +15 -0
  31. pulumi_oci/fleetsoftwareupdate/_inputs.py +717 -0
  32. pulumi_oci/fleetsoftwareupdate/fsu_collection.py +804 -0
  33. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +1231 -0
  34. pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +301 -0
  35. pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +196 -0
  36. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +431 -0
  37. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +233 -0
  38. pulumi_oci/fleetsoftwareupdate/outputs.py +2129 -0
  39. pulumi_oci/generativeai/dedicated_ai_cluster.py +7 -0
  40. pulumi_oci/generativeai/get_model.py +3 -0
  41. pulumi_oci/generativeai/outputs.py +4 -0
  42. pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
  43. pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
  44. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +300 -0
  45. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
  46. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
  47. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
  48. pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
  49. pulumi_oci/globallydistributeddatabase/private_endpoint.py +742 -0
  50. pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
  51. pulumi_oci/pulumi-plugin.json +1 -1
  52. {pulumi_oci-2.11.0a1726726622.dist-info → pulumi_oci-2.11.0a1726768847.dist-info}/METADATA +1 -1
  53. {pulumi_oci-2.11.0a1726726622.dist-info → pulumi_oci-2.11.0a1726768847.dist-info}/RECORD +55 -25
  54. {pulumi_oci-2.11.0a1726726622.dist-info → pulumi_oci-2.11.0a1726768847.dist-info}/WHEEL +0 -0
  55. {pulumi_oci-2.11.0a1726726622.dist-info → pulumi_oci-2.11.0a1726768847.dist-info}/top_level.txt +0 -0
@@ -14,6 +14,7 @@ from .container_instance import *
14
14
  from .get_addon import *
15
15
  from .get_addon_options import *
16
16
  from .get_addons import *
17
+ from .get_cluster import *
17
18
  from .get_cluster_credential_rotation_status import *
18
19
  from .get_cluster_kube_config import *
19
20
  from .get_cluster_option import *
@@ -0,0 +1,327 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
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 pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from .. import _utilities
11
+ from . import outputs
12
+
13
+ __all__ = [
14
+ 'GetClusterResult',
15
+ 'AwaitableGetClusterResult',
16
+ 'get_cluster',
17
+ 'get_cluster_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetClusterResult:
22
+ """
23
+ A collection of values returned by getCluster.
24
+ """
25
+ def __init__(__self__, available_kubernetes_upgrades=None, cluster_id=None, cluster_pod_network_options=None, compartment_id=None, defined_tags=None, endpoint_configs=None, endpoints=None, freeform_tags=None, id=None, image_policy_configs=None, kms_key_id=None, kubernetes_version=None, lifecycle_details=None, metadatas=None, name=None, options=None, state=None, type=None, vcn_id=None):
26
+ if available_kubernetes_upgrades and not isinstance(available_kubernetes_upgrades, list):
27
+ raise TypeError("Expected argument 'available_kubernetes_upgrades' to be a list")
28
+ pulumi.set(__self__, "available_kubernetes_upgrades", available_kubernetes_upgrades)
29
+ if cluster_id and not isinstance(cluster_id, str):
30
+ raise TypeError("Expected argument 'cluster_id' to be a str")
31
+ pulumi.set(__self__, "cluster_id", cluster_id)
32
+ if cluster_pod_network_options and not isinstance(cluster_pod_network_options, list):
33
+ raise TypeError("Expected argument 'cluster_pod_network_options' to be a list")
34
+ pulumi.set(__self__, "cluster_pod_network_options", cluster_pod_network_options)
35
+ if compartment_id and not isinstance(compartment_id, str):
36
+ raise TypeError("Expected argument 'compartment_id' to be a str")
37
+ pulumi.set(__self__, "compartment_id", compartment_id)
38
+ if defined_tags and not isinstance(defined_tags, dict):
39
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
40
+ pulumi.set(__self__, "defined_tags", defined_tags)
41
+ if endpoint_configs and not isinstance(endpoint_configs, list):
42
+ raise TypeError("Expected argument 'endpoint_configs' to be a list")
43
+ pulumi.set(__self__, "endpoint_configs", endpoint_configs)
44
+ if endpoints and not isinstance(endpoints, list):
45
+ raise TypeError("Expected argument 'endpoints' to be a list")
46
+ pulumi.set(__self__, "endpoints", endpoints)
47
+ if freeform_tags and not isinstance(freeform_tags, dict):
48
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
49
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
50
+ if id and not isinstance(id, str):
51
+ raise TypeError("Expected argument 'id' to be a str")
52
+ pulumi.set(__self__, "id", id)
53
+ if image_policy_configs and not isinstance(image_policy_configs, list):
54
+ raise TypeError("Expected argument 'image_policy_configs' to be a list")
55
+ pulumi.set(__self__, "image_policy_configs", image_policy_configs)
56
+ if kms_key_id and not isinstance(kms_key_id, str):
57
+ raise TypeError("Expected argument 'kms_key_id' to be a str")
58
+ pulumi.set(__self__, "kms_key_id", kms_key_id)
59
+ if kubernetes_version and not isinstance(kubernetes_version, str):
60
+ raise TypeError("Expected argument 'kubernetes_version' to be a str")
61
+ pulumi.set(__self__, "kubernetes_version", kubernetes_version)
62
+ if lifecycle_details and not isinstance(lifecycle_details, str):
63
+ raise TypeError("Expected argument 'lifecycle_details' to be a str")
64
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
65
+ if metadatas and not isinstance(metadatas, list):
66
+ raise TypeError("Expected argument 'metadatas' to be a list")
67
+ pulumi.set(__self__, "metadatas", metadatas)
68
+ if name and not isinstance(name, str):
69
+ raise TypeError("Expected argument 'name' to be a str")
70
+ pulumi.set(__self__, "name", name)
71
+ if options and not isinstance(options, list):
72
+ raise TypeError("Expected argument 'options' to be a list")
73
+ pulumi.set(__self__, "options", options)
74
+ if state and not isinstance(state, str):
75
+ raise TypeError("Expected argument 'state' to be a str")
76
+ pulumi.set(__self__, "state", state)
77
+ if type and not isinstance(type, str):
78
+ raise TypeError("Expected argument 'type' to be a str")
79
+ pulumi.set(__self__, "type", type)
80
+ if vcn_id and not isinstance(vcn_id, str):
81
+ raise TypeError("Expected argument 'vcn_id' to be a str")
82
+ pulumi.set(__self__, "vcn_id", vcn_id)
83
+
84
+ @property
85
+ @pulumi.getter(name="availableKubernetesUpgrades")
86
+ def available_kubernetes_upgrades(self) -> Sequence[str]:
87
+ """
88
+ Available Kubernetes versions to which the clusters masters may be upgraded.
89
+ """
90
+ return pulumi.get(self, "available_kubernetes_upgrades")
91
+
92
+ @property
93
+ @pulumi.getter(name="clusterId")
94
+ def cluster_id(self) -> str:
95
+ return pulumi.get(self, "cluster_id")
96
+
97
+ @property
98
+ @pulumi.getter(name="clusterPodNetworkOptions")
99
+ def cluster_pod_network_options(self) -> Sequence['outputs.GetClusterClusterPodNetworkOptionResult']:
100
+ """
101
+ Available CNIs and network options for existing and new node pools of the cluster
102
+ """
103
+ return pulumi.get(self, "cluster_pod_network_options")
104
+
105
+ @property
106
+ @pulumi.getter(name="compartmentId")
107
+ def compartment_id(self) -> str:
108
+ """
109
+ The OCID of the compartment in which the cluster exists.
110
+ """
111
+ return pulumi.get(self, "compartment_id")
112
+
113
+ @property
114
+ @pulumi.getter(name="definedTags")
115
+ def defined_tags(self) -> Mapping[str, str]:
116
+ """
117
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
118
+ """
119
+ return pulumi.get(self, "defined_tags")
120
+
121
+ @property
122
+ @pulumi.getter(name="endpointConfigs")
123
+ def endpoint_configs(self) -> Sequence['outputs.GetClusterEndpointConfigResult']:
124
+ """
125
+ The network configuration for access to the Cluster control plane.
126
+ """
127
+ return pulumi.get(self, "endpoint_configs")
128
+
129
+ @property
130
+ @pulumi.getter
131
+ def endpoints(self) -> Sequence['outputs.GetClusterEndpointResult']:
132
+ """
133
+ Endpoints served up by the cluster masters.
134
+ """
135
+ return pulumi.get(self, "endpoints")
136
+
137
+ @property
138
+ @pulumi.getter(name="freeformTags")
139
+ def freeform_tags(self) -> Mapping[str, str]:
140
+ """
141
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
142
+ """
143
+ return pulumi.get(self, "freeform_tags")
144
+
145
+ @property
146
+ @pulumi.getter
147
+ def id(self) -> str:
148
+ """
149
+ The OCID of the cluster.
150
+ """
151
+ return pulumi.get(self, "id")
152
+
153
+ @property
154
+ @pulumi.getter(name="imagePolicyConfigs")
155
+ def image_policy_configs(self) -> Sequence['outputs.GetClusterImagePolicyConfigResult']:
156
+ """
157
+ The image verification policy for signature validation.
158
+ """
159
+ return pulumi.get(self, "image_policy_configs")
160
+
161
+ @property
162
+ @pulumi.getter(name="kmsKeyId")
163
+ def kms_key_id(self) -> str:
164
+ """
165
+ The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption.
166
+ """
167
+ return pulumi.get(self, "kms_key_id")
168
+
169
+ @property
170
+ @pulumi.getter(name="kubernetesVersion")
171
+ def kubernetes_version(self) -> str:
172
+ """
173
+ The version of Kubernetes running on the cluster masters.
174
+ """
175
+ return pulumi.get(self, "kubernetes_version")
176
+
177
+ @property
178
+ @pulumi.getter(name="lifecycleDetails")
179
+ def lifecycle_details(self) -> str:
180
+ """
181
+ Details about the state of the cluster masters.
182
+ """
183
+ return pulumi.get(self, "lifecycle_details")
184
+
185
+ @property
186
+ @pulumi.getter
187
+ def metadatas(self) -> Sequence['outputs.GetClusterMetadataResult']:
188
+ """
189
+ Metadata about the cluster.
190
+ """
191
+ return pulumi.get(self, "metadatas")
192
+
193
+ @property
194
+ @pulumi.getter
195
+ def name(self) -> str:
196
+ """
197
+ The name of the cluster.
198
+ """
199
+ return pulumi.get(self, "name")
200
+
201
+ @property
202
+ @pulumi.getter
203
+ def options(self) -> Sequence['outputs.GetClusterOptionResult']:
204
+ """
205
+ Optional attributes for the cluster.
206
+ """
207
+ return pulumi.get(self, "options")
208
+
209
+ @property
210
+ @pulumi.getter
211
+ def state(self) -> str:
212
+ """
213
+ The state of the cluster masters.
214
+ """
215
+ return pulumi.get(self, "state")
216
+
217
+ @property
218
+ @pulumi.getter
219
+ def type(self) -> str:
220
+ """
221
+ Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see [Cluster Types](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm)
222
+ """
223
+ return pulumi.get(self, "type")
224
+
225
+ @property
226
+ @pulumi.getter(name="vcnId")
227
+ def vcn_id(self) -> str:
228
+ """
229
+ The OCID of the virtual cloud network (VCN) in which the cluster exists.
230
+ """
231
+ return pulumi.get(self, "vcn_id")
232
+
233
+
234
+ class AwaitableGetClusterResult(GetClusterResult):
235
+ # pylint: disable=using-constant-test
236
+ def __await__(self):
237
+ if False:
238
+ yield self
239
+ return GetClusterResult(
240
+ available_kubernetes_upgrades=self.available_kubernetes_upgrades,
241
+ cluster_id=self.cluster_id,
242
+ cluster_pod_network_options=self.cluster_pod_network_options,
243
+ compartment_id=self.compartment_id,
244
+ defined_tags=self.defined_tags,
245
+ endpoint_configs=self.endpoint_configs,
246
+ endpoints=self.endpoints,
247
+ freeform_tags=self.freeform_tags,
248
+ id=self.id,
249
+ image_policy_configs=self.image_policy_configs,
250
+ kms_key_id=self.kms_key_id,
251
+ kubernetes_version=self.kubernetes_version,
252
+ lifecycle_details=self.lifecycle_details,
253
+ metadatas=self.metadatas,
254
+ name=self.name,
255
+ options=self.options,
256
+ state=self.state,
257
+ type=self.type,
258
+ vcn_id=self.vcn_id)
259
+
260
+
261
+ def get_cluster(cluster_id: Optional[str] = None,
262
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterResult:
263
+ """
264
+ This data source provides details about a specific Cluster resource in Oracle Cloud Infrastructure Container Engine service.
265
+
266
+ Get the details of a cluster.
267
+
268
+ ## Example Usage
269
+
270
+ ```python
271
+ import pulumi
272
+ import pulumi_oci as oci
273
+
274
+ test_cluster = oci.ContainerEngine.get_cluster(cluster_id=test_cluster_oci_containerengine_cluster["id"])
275
+ ```
276
+
277
+
278
+ :param str cluster_id: The OCID of the cluster.
279
+ """
280
+ __args__ = dict()
281
+ __args__['clusterId'] = cluster_id
282
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
283
+ __ret__ = pulumi.runtime.invoke('oci:ContainerEngine/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult).value
284
+
285
+ return AwaitableGetClusterResult(
286
+ available_kubernetes_upgrades=pulumi.get(__ret__, 'available_kubernetes_upgrades'),
287
+ cluster_id=pulumi.get(__ret__, 'cluster_id'),
288
+ cluster_pod_network_options=pulumi.get(__ret__, 'cluster_pod_network_options'),
289
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
290
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
291
+ endpoint_configs=pulumi.get(__ret__, 'endpoint_configs'),
292
+ endpoints=pulumi.get(__ret__, 'endpoints'),
293
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
294
+ id=pulumi.get(__ret__, 'id'),
295
+ image_policy_configs=pulumi.get(__ret__, 'image_policy_configs'),
296
+ kms_key_id=pulumi.get(__ret__, 'kms_key_id'),
297
+ kubernetes_version=pulumi.get(__ret__, 'kubernetes_version'),
298
+ lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
299
+ metadatas=pulumi.get(__ret__, 'metadatas'),
300
+ name=pulumi.get(__ret__, 'name'),
301
+ options=pulumi.get(__ret__, 'options'),
302
+ state=pulumi.get(__ret__, 'state'),
303
+ type=pulumi.get(__ret__, 'type'),
304
+ vcn_id=pulumi.get(__ret__, 'vcn_id'))
305
+
306
+
307
+ @_utilities.lift_output_func(get_cluster)
308
+ def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
309
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetClusterResult]:
310
+ """
311
+ This data source provides details about a specific Cluster resource in Oracle Cloud Infrastructure Container Engine service.
312
+
313
+ Get the details of a cluster.
314
+
315
+ ## Example Usage
316
+
317
+ ```python
318
+ import pulumi
319
+ import pulumi_oci as oci
320
+
321
+ test_cluster = oci.ContainerEngine.get_cluster(cluster_id=test_cluster_oci_containerengine_cluster["id"])
322
+ ```
323
+
324
+
325
+ :param str cluster_id: The OCID of the cluster.
326
+ """
327
+ ...