pulumi-oci 2.16.0a1731363948__py3-none-any.whl → 2.16.0a1731504509__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 (44) hide show
  1. pulumi_oci/__init__.py +19 -0
  2. pulumi_oci/database/autonomous_database.py +47 -0
  3. pulumi_oci/database/cloud_autonomous_vm_cluster.py +105 -0
  4. pulumi_oci/database/cloud_vm_cluster.py +49 -0
  5. pulumi_oci/database/data_guard_association.py +49 -0
  6. pulumi_oci/database/db_system.py +47 -0
  7. pulumi_oci/database/exadb_vm_cluster.py +68 -7
  8. pulumi_oci/database/get_autonomous_database.py +15 -1
  9. pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +43 -1
  10. pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
  11. pulumi_oci/database/get_data_guard_association.py +12 -1
  12. pulumi_oci/database/get_exadb_vm_cluster.py +16 -2
  13. pulumi_oci/database/outputs.py +97 -2
  14. pulumi_oci/dataflow/get_sql_endpoint.py +1 -15
  15. pulumi_oci/dataflow/outputs.py +0 -11
  16. pulumi_oci/dataflow/sql_endpoint.py +88 -85
  17. pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
  18. pulumi_oci/globallydistributeddatabase/_inputs.py +1289 -0
  19. pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +348 -0
  20. pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +191 -0
  21. pulumi_oci/globallydistributeddatabase/get_sharded_database.py +746 -0
  22. pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +191 -0
  23. pulumi_oci/globallydistributeddatabase/outputs.py +2114 -0
  24. pulumi_oci/globallydistributeddatabase/private_endpoint.py +822 -0
  25. pulumi_oci/globallydistributeddatabase/sharded_database.py +2157 -0
  26. pulumi_oci/identity/__init__.py +2 -0
  27. pulumi_oci/identity/_inputs.py +55 -6
  28. pulumi_oci/identity/domains_condition.py +9 -2
  29. pulumi_oci/identity/domains_policy.py +9 -2
  30. pulumi_oci/identity/domains_rule.py +9 -2
  31. pulumi_oci/identity/get_domains_condition.py +2 -2
  32. pulumi_oci/identity/get_domains_conditions.py +2 -2
  33. pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consent.py +503 -0
  34. pulumi_oci/identity/get_domains_oci_console_sign_on_policy_consents.py +338 -0
  35. pulumi_oci/identity/get_domains_policies.py +2 -2
  36. pulumi_oci/identity/get_domains_policy.py +2 -2
  37. pulumi_oci/identity/get_domains_rule.py +2 -2
  38. pulumi_oci/identity/get_domains_rules.py +2 -2
  39. pulumi_oci/identity/outputs.py +917 -4
  40. pulumi_oci/pulumi-plugin.json +1 -1
  41. {pulumi_oci-2.16.0a1731363948.dist-info → pulumi_oci-2.16.0a1731504509.dist-info}/METADATA +1 -1
  42. {pulumi_oci-2.16.0a1731363948.dist-info → pulumi_oci-2.16.0a1731504509.dist-info}/RECORD +44 -33
  43. {pulumi_oci-2.16.0a1731363948.dist-info → pulumi_oci-2.16.0a1731504509.dist-info}/WHEEL +1 -1
  44. {pulumi_oci-2.16.0a1731363948.dist-info → pulumi_oci-2.16.0a1731504509.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,822 @@
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 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
+
17
+ __all__ = ['PrivateEndpointArgs', 'PrivateEndpoint']
18
+
19
+ @pulumi.input_type
20
+ class PrivateEndpointArgs:
21
+ def __init__(__self__, *,
22
+ compartment_id: pulumi.Input[str],
23
+ display_name: pulumi.Input[str],
24
+ subnet_id: pulumi.Input[str],
25
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
26
+ description: Optional[pulumi.Input[str]] = None,
27
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
28
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
29
+ reinstate_proxy_instance_trigger: Optional[pulumi.Input[int]] = None):
30
+ """
31
+ The set of arguments for constructing a PrivateEndpoint resource.
32
+ :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where private endpoint is to be created.
33
+ :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name.
34
+ :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created.
35
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
36
+ :param pulumi.Input[str] description: (Updatable) PrivateEndpoint description.
37
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
38
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
39
+ :param pulumi.Input[int] reinstate_proxy_instance_trigger: (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
40
+
41
+
42
+ ** IMPORTANT **
43
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
44
+ """
45
+ pulumi.set(__self__, "compartment_id", compartment_id)
46
+ pulumi.set(__self__, "display_name", display_name)
47
+ pulumi.set(__self__, "subnet_id", subnet_id)
48
+ if defined_tags is not None:
49
+ pulumi.set(__self__, "defined_tags", defined_tags)
50
+ if description is not None:
51
+ pulumi.set(__self__, "description", description)
52
+ if freeform_tags is not None:
53
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
54
+ if nsg_ids is not None:
55
+ pulumi.set(__self__, "nsg_ids", nsg_ids)
56
+ if reinstate_proxy_instance_trigger is not None:
57
+ pulumi.set(__self__, "reinstate_proxy_instance_trigger", reinstate_proxy_instance_trigger)
58
+
59
+ @property
60
+ @pulumi.getter(name="compartmentId")
61
+ def compartment_id(self) -> pulumi.Input[str]:
62
+ """
63
+ (Updatable) Identifier of the compartment where private endpoint is to be created.
64
+ """
65
+ return pulumi.get(self, "compartment_id")
66
+
67
+ @compartment_id.setter
68
+ def compartment_id(self, value: pulumi.Input[str]):
69
+ pulumi.set(self, "compartment_id", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="displayName")
73
+ def display_name(self) -> pulumi.Input[str]:
74
+ """
75
+ (Updatable) Private endpoint display name.
76
+ """
77
+ return pulumi.get(self, "display_name")
78
+
79
+ @display_name.setter
80
+ def display_name(self, value: pulumi.Input[str]):
81
+ pulumi.set(self, "display_name", value)
82
+
83
+ @property
84
+ @pulumi.getter(name="subnetId")
85
+ def subnet_id(self) -> pulumi.Input[str]:
86
+ """
87
+ Identifier of the customer subnet against which private endpoint is to be created.
88
+ """
89
+ return pulumi.get(self, "subnet_id")
90
+
91
+ @subnet_id.setter
92
+ def subnet_id(self, value: pulumi.Input[str]):
93
+ pulumi.set(self, "subnet_id", value)
94
+
95
+ @property
96
+ @pulumi.getter(name="definedTags")
97
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
98
+ """
99
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
100
+ """
101
+ return pulumi.get(self, "defined_tags")
102
+
103
+ @defined_tags.setter
104
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
105
+ pulumi.set(self, "defined_tags", value)
106
+
107
+ @property
108
+ @pulumi.getter
109
+ def description(self) -> Optional[pulumi.Input[str]]:
110
+ """
111
+ (Updatable) PrivateEndpoint description.
112
+ """
113
+ return pulumi.get(self, "description")
114
+
115
+ @description.setter
116
+ def description(self, value: Optional[pulumi.Input[str]]):
117
+ pulumi.set(self, "description", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="freeformTags")
121
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
122
+ """
123
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
124
+ """
125
+ return pulumi.get(self, "freeform_tags")
126
+
127
+ @freeform_tags.setter
128
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
129
+ pulumi.set(self, "freeform_tags", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="nsgIds")
133
+ def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
134
+ """
135
+ (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
136
+ """
137
+ return pulumi.get(self, "nsg_ids")
138
+
139
+ @nsg_ids.setter
140
+ def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
141
+ pulumi.set(self, "nsg_ids", value)
142
+
143
+ @property
144
+ @pulumi.getter(name="reinstateProxyInstanceTrigger")
145
+ def reinstate_proxy_instance_trigger(self) -> Optional[pulumi.Input[int]]:
146
+ """
147
+ (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
148
+
149
+
150
+ ** IMPORTANT **
151
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
152
+ """
153
+ return pulumi.get(self, "reinstate_proxy_instance_trigger")
154
+
155
+ @reinstate_proxy_instance_trigger.setter
156
+ def reinstate_proxy_instance_trigger(self, value: Optional[pulumi.Input[int]]):
157
+ pulumi.set(self, "reinstate_proxy_instance_trigger", value)
158
+
159
+
160
+ @pulumi.input_type
161
+ class _PrivateEndpointState:
162
+ def __init__(__self__, *,
163
+ compartment_id: Optional[pulumi.Input[str]] = None,
164
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
165
+ description: Optional[pulumi.Input[str]] = None,
166
+ display_name: Optional[pulumi.Input[str]] = None,
167
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
168
+ lifecycle_state_details: Optional[pulumi.Input[str]] = None,
169
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
170
+ private_ip: Optional[pulumi.Input[str]] = None,
171
+ proxy_compute_instance_id: Optional[pulumi.Input[str]] = None,
172
+ reinstate_proxy_instance_trigger: Optional[pulumi.Input[int]] = None,
173
+ sharded_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
174
+ state: Optional[pulumi.Input[str]] = None,
175
+ subnet_id: Optional[pulumi.Input[str]] = None,
176
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
177
+ time_created: Optional[pulumi.Input[str]] = None,
178
+ time_updated: Optional[pulumi.Input[str]] = None,
179
+ vcn_id: Optional[pulumi.Input[str]] = None):
180
+ """
181
+ Input properties used for looking up and filtering PrivateEndpoint resources.
182
+ :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where private endpoint is to be created.
183
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
184
+ :param pulumi.Input[str] description: (Updatable) PrivateEndpoint description.
185
+ :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name.
186
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
187
+ :param pulumi.Input[str] lifecycle_state_details: Detailed message for the lifecycle state.
188
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
189
+ :param pulumi.Input[str] private_ip: IP address of the Private Endpoint.
190
+ :param pulumi.Input[str] proxy_compute_instance_id: The identifier of the proxy compute instance.
191
+ :param pulumi.Input[int] reinstate_proxy_instance_trigger: (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
192
+
193
+
194
+ ** IMPORTANT **
195
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
196
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] sharded_databases: The OCIDs of sharded databases that consumes the given private endpoint.
197
+ :param pulumi.Input[str] state: Lifecycle states for private endpoint.
198
+ :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created.
199
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
200
+ :param pulumi.Input[str] time_created: The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
201
+ :param pulumi.Input[str] time_updated: The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
202
+ :param pulumi.Input[str] vcn_id: Identifier of the VCN in which subnet exists.
203
+ """
204
+ if compartment_id is not None:
205
+ pulumi.set(__self__, "compartment_id", compartment_id)
206
+ if defined_tags is not None:
207
+ pulumi.set(__self__, "defined_tags", defined_tags)
208
+ if description is not None:
209
+ pulumi.set(__self__, "description", description)
210
+ if display_name is not None:
211
+ pulumi.set(__self__, "display_name", display_name)
212
+ if freeform_tags is not None:
213
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
214
+ if lifecycle_state_details is not None:
215
+ pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
216
+ if nsg_ids is not None:
217
+ pulumi.set(__self__, "nsg_ids", nsg_ids)
218
+ if private_ip is not None:
219
+ pulumi.set(__self__, "private_ip", private_ip)
220
+ if proxy_compute_instance_id is not None:
221
+ pulumi.set(__self__, "proxy_compute_instance_id", proxy_compute_instance_id)
222
+ if reinstate_proxy_instance_trigger is not None:
223
+ pulumi.set(__self__, "reinstate_proxy_instance_trigger", reinstate_proxy_instance_trigger)
224
+ if sharded_databases is not None:
225
+ pulumi.set(__self__, "sharded_databases", sharded_databases)
226
+ if state is not None:
227
+ pulumi.set(__self__, "state", state)
228
+ if subnet_id is not None:
229
+ pulumi.set(__self__, "subnet_id", subnet_id)
230
+ if system_tags is not None:
231
+ pulumi.set(__self__, "system_tags", system_tags)
232
+ if time_created is not None:
233
+ pulumi.set(__self__, "time_created", time_created)
234
+ if time_updated is not None:
235
+ pulumi.set(__self__, "time_updated", time_updated)
236
+ if vcn_id is not None:
237
+ pulumi.set(__self__, "vcn_id", vcn_id)
238
+
239
+ @property
240
+ @pulumi.getter(name="compartmentId")
241
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
242
+ """
243
+ (Updatable) Identifier of the compartment where private endpoint is to be created.
244
+ """
245
+ return pulumi.get(self, "compartment_id")
246
+
247
+ @compartment_id.setter
248
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
249
+ pulumi.set(self, "compartment_id", value)
250
+
251
+ @property
252
+ @pulumi.getter(name="definedTags")
253
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
254
+ """
255
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
256
+ """
257
+ return pulumi.get(self, "defined_tags")
258
+
259
+ @defined_tags.setter
260
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
261
+ pulumi.set(self, "defined_tags", value)
262
+
263
+ @property
264
+ @pulumi.getter
265
+ def description(self) -> Optional[pulumi.Input[str]]:
266
+ """
267
+ (Updatable) PrivateEndpoint description.
268
+ """
269
+ return pulumi.get(self, "description")
270
+
271
+ @description.setter
272
+ def description(self, value: Optional[pulumi.Input[str]]):
273
+ pulumi.set(self, "description", value)
274
+
275
+ @property
276
+ @pulumi.getter(name="displayName")
277
+ def display_name(self) -> Optional[pulumi.Input[str]]:
278
+ """
279
+ (Updatable) Private endpoint display name.
280
+ """
281
+ return pulumi.get(self, "display_name")
282
+
283
+ @display_name.setter
284
+ def display_name(self, value: Optional[pulumi.Input[str]]):
285
+ pulumi.set(self, "display_name", value)
286
+
287
+ @property
288
+ @pulumi.getter(name="freeformTags")
289
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
290
+ """
291
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
292
+ """
293
+ return pulumi.get(self, "freeform_tags")
294
+
295
+ @freeform_tags.setter
296
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
297
+ pulumi.set(self, "freeform_tags", value)
298
+
299
+ @property
300
+ @pulumi.getter(name="lifecycleStateDetails")
301
+ def lifecycle_state_details(self) -> Optional[pulumi.Input[str]]:
302
+ """
303
+ Detailed message for the lifecycle state.
304
+ """
305
+ return pulumi.get(self, "lifecycle_state_details")
306
+
307
+ @lifecycle_state_details.setter
308
+ def lifecycle_state_details(self, value: Optional[pulumi.Input[str]]):
309
+ pulumi.set(self, "lifecycle_state_details", value)
310
+
311
+ @property
312
+ @pulumi.getter(name="nsgIds")
313
+ def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
314
+ """
315
+ (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
316
+ """
317
+ return pulumi.get(self, "nsg_ids")
318
+
319
+ @nsg_ids.setter
320
+ def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
321
+ pulumi.set(self, "nsg_ids", value)
322
+
323
+ @property
324
+ @pulumi.getter(name="privateIp")
325
+ def private_ip(self) -> Optional[pulumi.Input[str]]:
326
+ """
327
+ IP address of the Private Endpoint.
328
+ """
329
+ return pulumi.get(self, "private_ip")
330
+
331
+ @private_ip.setter
332
+ def private_ip(self, value: Optional[pulumi.Input[str]]):
333
+ pulumi.set(self, "private_ip", value)
334
+
335
+ @property
336
+ @pulumi.getter(name="proxyComputeInstanceId")
337
+ def proxy_compute_instance_id(self) -> Optional[pulumi.Input[str]]:
338
+ """
339
+ The identifier of the proxy compute instance.
340
+ """
341
+ return pulumi.get(self, "proxy_compute_instance_id")
342
+
343
+ @proxy_compute_instance_id.setter
344
+ def proxy_compute_instance_id(self, value: Optional[pulumi.Input[str]]):
345
+ pulumi.set(self, "proxy_compute_instance_id", value)
346
+
347
+ @property
348
+ @pulumi.getter(name="reinstateProxyInstanceTrigger")
349
+ def reinstate_proxy_instance_trigger(self) -> Optional[pulumi.Input[int]]:
350
+ """
351
+ (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
352
+
353
+
354
+ ** IMPORTANT **
355
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
356
+ """
357
+ return pulumi.get(self, "reinstate_proxy_instance_trigger")
358
+
359
+ @reinstate_proxy_instance_trigger.setter
360
+ def reinstate_proxy_instance_trigger(self, value: Optional[pulumi.Input[int]]):
361
+ pulumi.set(self, "reinstate_proxy_instance_trigger", value)
362
+
363
+ @property
364
+ @pulumi.getter(name="shardedDatabases")
365
+ def sharded_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
366
+ """
367
+ The OCIDs of sharded databases that consumes the given private endpoint.
368
+ """
369
+ return pulumi.get(self, "sharded_databases")
370
+
371
+ @sharded_databases.setter
372
+ def sharded_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
373
+ pulumi.set(self, "sharded_databases", value)
374
+
375
+ @property
376
+ @pulumi.getter
377
+ def state(self) -> Optional[pulumi.Input[str]]:
378
+ """
379
+ Lifecycle states for private endpoint.
380
+ """
381
+ return pulumi.get(self, "state")
382
+
383
+ @state.setter
384
+ def state(self, value: Optional[pulumi.Input[str]]):
385
+ pulumi.set(self, "state", value)
386
+
387
+ @property
388
+ @pulumi.getter(name="subnetId")
389
+ def subnet_id(self) -> Optional[pulumi.Input[str]]:
390
+ """
391
+ Identifier of the customer subnet against which private endpoint is to be created.
392
+ """
393
+ return pulumi.get(self, "subnet_id")
394
+
395
+ @subnet_id.setter
396
+ def subnet_id(self, value: Optional[pulumi.Input[str]]):
397
+ pulumi.set(self, "subnet_id", value)
398
+
399
+ @property
400
+ @pulumi.getter(name="systemTags")
401
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
402
+ """
403
+ Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
404
+ """
405
+ return pulumi.get(self, "system_tags")
406
+
407
+ @system_tags.setter
408
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
409
+ pulumi.set(self, "system_tags", value)
410
+
411
+ @property
412
+ @pulumi.getter(name="timeCreated")
413
+ def time_created(self) -> Optional[pulumi.Input[str]]:
414
+ """
415
+ The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
416
+ """
417
+ return pulumi.get(self, "time_created")
418
+
419
+ @time_created.setter
420
+ def time_created(self, value: Optional[pulumi.Input[str]]):
421
+ pulumi.set(self, "time_created", value)
422
+
423
+ @property
424
+ @pulumi.getter(name="timeUpdated")
425
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
426
+ """
427
+ The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
428
+ """
429
+ return pulumi.get(self, "time_updated")
430
+
431
+ @time_updated.setter
432
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
433
+ pulumi.set(self, "time_updated", value)
434
+
435
+ @property
436
+ @pulumi.getter(name="vcnId")
437
+ def vcn_id(self) -> Optional[pulumi.Input[str]]:
438
+ """
439
+ Identifier of the VCN in which subnet exists.
440
+ """
441
+ return pulumi.get(self, "vcn_id")
442
+
443
+ @vcn_id.setter
444
+ def vcn_id(self, value: Optional[pulumi.Input[str]]):
445
+ pulumi.set(self, "vcn_id", value)
446
+
447
+
448
+ class PrivateEndpoint(pulumi.CustomResource):
449
+ @overload
450
+ def __init__(__self__,
451
+ resource_name: str,
452
+ opts: Optional[pulumi.ResourceOptions] = None,
453
+ compartment_id: Optional[pulumi.Input[str]] = None,
454
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
455
+ description: Optional[pulumi.Input[str]] = None,
456
+ display_name: Optional[pulumi.Input[str]] = None,
457
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
458
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
459
+ reinstate_proxy_instance_trigger: Optional[pulumi.Input[int]] = None,
460
+ subnet_id: Optional[pulumi.Input[str]] = None,
461
+ __props__=None):
462
+ """
463
+ This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.
464
+
465
+ Creates a PrivateEndpoint.
466
+
467
+ ## Example Usage
468
+
469
+ ```python
470
+ import pulumi
471
+ import pulumi_oci as oci
472
+
473
+ test_private_endpoint = oci.globally_distributed_database.PrivateEndpoint("test_private_endpoint",
474
+ compartment_id=compartment_id,
475
+ display_name=private_endpoint_display_name,
476
+ subnet_id=test_subnet["id"],
477
+ defined_tags={
478
+ "foo-namespace.bar-key": "value",
479
+ },
480
+ description=private_endpoint_description,
481
+ freeform_tags={
482
+ "bar-key": "value",
483
+ },
484
+ nsg_ids=private_endpoint_nsg_ids)
485
+ ```
486
+
487
+ ## Import
488
+
489
+ PrivateEndpoints can be imported using the `id`, e.g.
490
+
491
+ ```sh
492
+ $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id"
493
+ ```
494
+
495
+ :param str resource_name: The name of the resource.
496
+ :param pulumi.ResourceOptions opts: Options for the resource.
497
+ :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where private endpoint is to be created.
498
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
499
+ :param pulumi.Input[str] description: (Updatable) PrivateEndpoint description.
500
+ :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name.
501
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
502
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
503
+ :param pulumi.Input[int] reinstate_proxy_instance_trigger: (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
504
+
505
+
506
+ ** IMPORTANT **
507
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
508
+ :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created.
509
+ """
510
+ ...
511
+ @overload
512
+ def __init__(__self__,
513
+ resource_name: str,
514
+ args: PrivateEndpointArgs,
515
+ opts: Optional[pulumi.ResourceOptions] = None):
516
+ """
517
+ This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.
518
+
519
+ Creates a PrivateEndpoint.
520
+
521
+ ## Example Usage
522
+
523
+ ```python
524
+ import pulumi
525
+ import pulumi_oci as oci
526
+
527
+ test_private_endpoint = oci.globally_distributed_database.PrivateEndpoint("test_private_endpoint",
528
+ compartment_id=compartment_id,
529
+ display_name=private_endpoint_display_name,
530
+ subnet_id=test_subnet["id"],
531
+ defined_tags={
532
+ "foo-namespace.bar-key": "value",
533
+ },
534
+ description=private_endpoint_description,
535
+ freeform_tags={
536
+ "bar-key": "value",
537
+ },
538
+ nsg_ids=private_endpoint_nsg_ids)
539
+ ```
540
+
541
+ ## Import
542
+
543
+ PrivateEndpoints can be imported using the `id`, e.g.
544
+
545
+ ```sh
546
+ $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id"
547
+ ```
548
+
549
+ :param str resource_name: The name of the resource.
550
+ :param PrivateEndpointArgs args: The arguments to use to populate this resource's properties.
551
+ :param pulumi.ResourceOptions opts: Options for the resource.
552
+ """
553
+ ...
554
+ def __init__(__self__, resource_name: str, *args, **kwargs):
555
+ resource_args, opts = _utilities.get_resource_args_opts(PrivateEndpointArgs, pulumi.ResourceOptions, *args, **kwargs)
556
+ if resource_args is not None:
557
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
558
+ else:
559
+ __self__._internal_init(resource_name, *args, **kwargs)
560
+
561
+ def _internal_init(__self__,
562
+ resource_name: str,
563
+ opts: Optional[pulumi.ResourceOptions] = None,
564
+ compartment_id: Optional[pulumi.Input[str]] = None,
565
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
566
+ description: Optional[pulumi.Input[str]] = None,
567
+ display_name: Optional[pulumi.Input[str]] = None,
568
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
569
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
570
+ reinstate_proxy_instance_trigger: Optional[pulumi.Input[int]] = None,
571
+ subnet_id: Optional[pulumi.Input[str]] = None,
572
+ __props__=None):
573
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
574
+ if not isinstance(opts, pulumi.ResourceOptions):
575
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
576
+ if opts.id is None:
577
+ if __props__ is not None:
578
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
579
+ __props__ = PrivateEndpointArgs.__new__(PrivateEndpointArgs)
580
+
581
+ if compartment_id is None and not opts.urn:
582
+ raise TypeError("Missing required property 'compartment_id'")
583
+ __props__.__dict__["compartment_id"] = compartment_id
584
+ __props__.__dict__["defined_tags"] = defined_tags
585
+ __props__.__dict__["description"] = description
586
+ if display_name is None and not opts.urn:
587
+ raise TypeError("Missing required property 'display_name'")
588
+ __props__.__dict__["display_name"] = display_name
589
+ __props__.__dict__["freeform_tags"] = freeform_tags
590
+ __props__.__dict__["nsg_ids"] = nsg_ids
591
+ __props__.__dict__["reinstate_proxy_instance_trigger"] = reinstate_proxy_instance_trigger
592
+ if subnet_id is None and not opts.urn:
593
+ raise TypeError("Missing required property 'subnet_id'")
594
+ __props__.__dict__["subnet_id"] = subnet_id
595
+ __props__.__dict__["lifecycle_state_details"] = None
596
+ __props__.__dict__["private_ip"] = None
597
+ __props__.__dict__["proxy_compute_instance_id"] = None
598
+ __props__.__dict__["sharded_databases"] = None
599
+ __props__.__dict__["state"] = None
600
+ __props__.__dict__["system_tags"] = None
601
+ __props__.__dict__["time_created"] = None
602
+ __props__.__dict__["time_updated"] = None
603
+ __props__.__dict__["vcn_id"] = None
604
+ super(PrivateEndpoint, __self__).__init__(
605
+ 'oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint',
606
+ resource_name,
607
+ __props__,
608
+ opts)
609
+
610
+ @staticmethod
611
+ def get(resource_name: str,
612
+ id: pulumi.Input[str],
613
+ opts: Optional[pulumi.ResourceOptions] = None,
614
+ compartment_id: Optional[pulumi.Input[str]] = None,
615
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
616
+ description: Optional[pulumi.Input[str]] = None,
617
+ display_name: Optional[pulumi.Input[str]] = None,
618
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
619
+ lifecycle_state_details: Optional[pulumi.Input[str]] = None,
620
+ nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
621
+ private_ip: Optional[pulumi.Input[str]] = None,
622
+ proxy_compute_instance_id: Optional[pulumi.Input[str]] = None,
623
+ reinstate_proxy_instance_trigger: Optional[pulumi.Input[int]] = None,
624
+ sharded_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
625
+ state: Optional[pulumi.Input[str]] = None,
626
+ subnet_id: Optional[pulumi.Input[str]] = None,
627
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
628
+ time_created: Optional[pulumi.Input[str]] = None,
629
+ time_updated: Optional[pulumi.Input[str]] = None,
630
+ vcn_id: Optional[pulumi.Input[str]] = None) -> 'PrivateEndpoint':
631
+ """
632
+ Get an existing PrivateEndpoint resource's state with the given name, id, and optional extra
633
+ properties used to qualify the lookup.
634
+
635
+ :param str resource_name: The unique name of the resulting resource.
636
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
637
+ :param pulumi.ResourceOptions opts: Options for the resource.
638
+ :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where private endpoint is to be created.
639
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
640
+ :param pulumi.Input[str] description: (Updatable) PrivateEndpoint description.
641
+ :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name.
642
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
643
+ :param pulumi.Input[str] lifecycle_state_details: Detailed message for the lifecycle state.
644
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
645
+ :param pulumi.Input[str] private_ip: IP address of the Private Endpoint.
646
+ :param pulumi.Input[str] proxy_compute_instance_id: The identifier of the proxy compute instance.
647
+ :param pulumi.Input[int] reinstate_proxy_instance_trigger: (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
648
+
649
+
650
+ ** IMPORTANT **
651
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
652
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] sharded_databases: The OCIDs of sharded databases that consumes the given private endpoint.
653
+ :param pulumi.Input[str] state: Lifecycle states for private endpoint.
654
+ :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created.
655
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
656
+ :param pulumi.Input[str] time_created: The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
657
+ :param pulumi.Input[str] time_updated: The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
658
+ :param pulumi.Input[str] vcn_id: Identifier of the VCN in which subnet exists.
659
+ """
660
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
661
+
662
+ __props__ = _PrivateEndpointState.__new__(_PrivateEndpointState)
663
+
664
+ __props__.__dict__["compartment_id"] = compartment_id
665
+ __props__.__dict__["defined_tags"] = defined_tags
666
+ __props__.__dict__["description"] = description
667
+ __props__.__dict__["display_name"] = display_name
668
+ __props__.__dict__["freeform_tags"] = freeform_tags
669
+ __props__.__dict__["lifecycle_state_details"] = lifecycle_state_details
670
+ __props__.__dict__["nsg_ids"] = nsg_ids
671
+ __props__.__dict__["private_ip"] = private_ip
672
+ __props__.__dict__["proxy_compute_instance_id"] = proxy_compute_instance_id
673
+ __props__.__dict__["reinstate_proxy_instance_trigger"] = reinstate_proxy_instance_trigger
674
+ __props__.__dict__["sharded_databases"] = sharded_databases
675
+ __props__.__dict__["state"] = state
676
+ __props__.__dict__["subnet_id"] = subnet_id
677
+ __props__.__dict__["system_tags"] = system_tags
678
+ __props__.__dict__["time_created"] = time_created
679
+ __props__.__dict__["time_updated"] = time_updated
680
+ __props__.__dict__["vcn_id"] = vcn_id
681
+ return PrivateEndpoint(resource_name, opts=opts, __props__=__props__)
682
+
683
+ @property
684
+ @pulumi.getter(name="compartmentId")
685
+ def compartment_id(self) -> pulumi.Output[str]:
686
+ """
687
+ (Updatable) Identifier of the compartment where private endpoint is to be created.
688
+ """
689
+ return pulumi.get(self, "compartment_id")
690
+
691
+ @property
692
+ @pulumi.getter(name="definedTags")
693
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
694
+ """
695
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
696
+ """
697
+ return pulumi.get(self, "defined_tags")
698
+
699
+ @property
700
+ @pulumi.getter
701
+ def description(self) -> pulumi.Output[str]:
702
+ """
703
+ (Updatable) PrivateEndpoint description.
704
+ """
705
+ return pulumi.get(self, "description")
706
+
707
+ @property
708
+ @pulumi.getter(name="displayName")
709
+ def display_name(self) -> pulumi.Output[str]:
710
+ """
711
+ (Updatable) Private endpoint display name.
712
+ """
713
+ return pulumi.get(self, "display_name")
714
+
715
+ @property
716
+ @pulumi.getter(name="freeformTags")
717
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
718
+ """
719
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
720
+ """
721
+ return pulumi.get(self, "freeform_tags")
722
+
723
+ @property
724
+ @pulumi.getter(name="lifecycleStateDetails")
725
+ def lifecycle_state_details(self) -> pulumi.Output[str]:
726
+ """
727
+ Detailed message for the lifecycle state.
728
+ """
729
+ return pulumi.get(self, "lifecycle_state_details")
730
+
731
+ @property
732
+ @pulumi.getter(name="nsgIds")
733
+ def nsg_ids(self) -> pulumi.Output[Sequence[str]]:
734
+ """
735
+ (Updatable) The OCIDs of the network security groups that the private endpoint belongs to.
736
+ """
737
+ return pulumi.get(self, "nsg_ids")
738
+
739
+ @property
740
+ @pulumi.getter(name="privateIp")
741
+ def private_ip(self) -> pulumi.Output[str]:
742
+ """
743
+ IP address of the Private Endpoint.
744
+ """
745
+ return pulumi.get(self, "private_ip")
746
+
747
+ @property
748
+ @pulumi.getter(name="proxyComputeInstanceId")
749
+ def proxy_compute_instance_id(self) -> pulumi.Output[str]:
750
+ """
751
+ The identifier of the proxy compute instance.
752
+ """
753
+ return pulumi.get(self, "proxy_compute_instance_id")
754
+
755
+ @property
756
+ @pulumi.getter(name="reinstateProxyInstanceTrigger")
757
+ def reinstate_proxy_instance_trigger(self) -> pulumi.Output[Optional[int]]:
758
+ """
759
+ (Updatable) An optional property when incremented triggers Reinstate Proxy Instance. Could be set to any integer value.
760
+
761
+
762
+ ** IMPORTANT **
763
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
764
+ """
765
+ return pulumi.get(self, "reinstate_proxy_instance_trigger")
766
+
767
+ @property
768
+ @pulumi.getter(name="shardedDatabases")
769
+ def sharded_databases(self) -> pulumi.Output[Sequence[str]]:
770
+ """
771
+ The OCIDs of sharded databases that consumes the given private endpoint.
772
+ """
773
+ return pulumi.get(self, "sharded_databases")
774
+
775
+ @property
776
+ @pulumi.getter
777
+ def state(self) -> pulumi.Output[str]:
778
+ """
779
+ Lifecycle states for private endpoint.
780
+ """
781
+ return pulumi.get(self, "state")
782
+
783
+ @property
784
+ @pulumi.getter(name="subnetId")
785
+ def subnet_id(self) -> pulumi.Output[str]:
786
+ """
787
+ Identifier of the customer subnet against which private endpoint is to be created.
788
+ """
789
+ return pulumi.get(self, "subnet_id")
790
+
791
+ @property
792
+ @pulumi.getter(name="systemTags")
793
+ def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
794
+ """
795
+ Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
796
+ """
797
+ return pulumi.get(self, "system_tags")
798
+
799
+ @property
800
+ @pulumi.getter(name="timeCreated")
801
+ def time_created(self) -> pulumi.Output[str]:
802
+ """
803
+ The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
804
+ """
805
+ return pulumi.get(self, "time_created")
806
+
807
+ @property
808
+ @pulumi.getter(name="timeUpdated")
809
+ def time_updated(self) -> pulumi.Output[str]:
810
+ """
811
+ The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
812
+ """
813
+ return pulumi.get(self, "time_updated")
814
+
815
+ @property
816
+ @pulumi.getter(name="vcnId")
817
+ def vcn_id(self) -> pulumi.Output[str]:
818
+ """
819
+ Identifier of the VCN in which subnet exists.
820
+ """
821
+ return pulumi.get(self, "vcn_id")
822
+