pulumi-oci 2.9.0__py3-none-any.whl → 2.9.0a1724479778__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.
- pulumi_oci/__init__.py +38 -86
- pulumi_oci/announcementsservice/__init__.py +0 -1
- pulumi_oci/announcementsservice/_inputs.py +6 -46
- pulumi_oci/announcementsservice/announcement_subscription.py +14 -14
- pulumi_oci/announcementsservice/get_announcement_subscription.py +2 -2
- pulumi_oci/announcementsservice/outputs.py +18 -195
- pulumi_oci/bigdataservice/_inputs.py +49 -1
- pulumi_oci/bigdataservice/bds_instance.py +128 -0
- pulumi_oci/bigdataservice/get_bds_instance.py +31 -1
- pulumi_oci/bigdataservice/outputs.py +132 -3
- pulumi_oci/database/_inputs.py +0 -32
- pulumi_oci/database/autonomous_database.py +0 -28
- pulumi_oci/database/data_guard_association.py +0 -49
- pulumi_oci/database/get_autonomous_database.py +1 -14
- pulumi_oci/database/get_autonomous_databases.py +95 -32
- pulumi_oci/database/get_data_guard_association.py +1 -11
- pulumi_oci/database/outputs.py +42 -163
- pulumi_oci/databasemanagement/__init__.py +0 -1
- pulumi_oci/databasemanagement/_inputs.py +12 -875
- pulumi_oci/databasemanagement/database_dbm_features_management.py +3 -37
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -49
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
- pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +1 -21
- pulumi_oci/databasemanagement/get_managed_database.py +3 -47
- pulumi_oci/databasemanagement/managed_database.py +0 -56
- pulumi_oci/databasemanagement/outputs.py +5553 -7487
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +1 -35
- pulumi_oci/datasafe/__init__.py +0 -6
- pulumi_oci/datasafe/_inputs.py +0 -18
- pulumi_oci/datasafe/database_security_config_management.py +2 -244
- pulumi_oci/datasafe/outputs.py +0 -18
- pulumi_oci/datasafe/security_policy_deployment_management.py +2 -180
- pulumi_oci/datasafe/security_policy_management.py +2 -172
- pulumi_oci/datasafe/sql_firewall_policy_management.py +2 -354
- pulumi_oci/filestorage/mount_target.py +38 -143
- pulumi_oci/filestorage/outputs.py +0 -44
- pulumi_oci/{desktops → fleetsoftwareupdate}/__init__.py +6 -7
- pulumi_oci/fleetsoftwareupdate/_inputs.py +553 -0
- pulumi_oci/fleetsoftwareupdate/fsu_collection.py +514 -0
- pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +812 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +225 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +141 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +325 -0
- pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +167 -0
- pulumi_oci/fleetsoftwareupdate/outputs.py +1481 -0
- pulumi_oci/globallydistributeddatabase/__init__.py +15 -0
- pulumi_oci/globallydistributeddatabase/_inputs.py +1003 -0
- pulumi_oci/{delegateaccesscontrol/get_delegation_subscription.py → globallydistributeddatabase/get_private_endpoint.py} +105 -66
- pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +176 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_database.py +610 -0
- pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +176 -0
- pulumi_oci/globallydistributeddatabase/outputs.py +2058 -0
- pulumi_oci/{delegateaccesscontrol/delegation_subscription.py → globallydistributeddatabase/private_endpoint.py} +267 -162
- pulumi_oci/globallydistributeddatabase/sharded_database.py +1816 -0
- pulumi_oci/identity/domains_group.py +0 -34
- pulumi_oci/identity/domains_user.py +0 -34
- pulumi_oci/identity/get_domains_group.py +1 -11
- pulumi_oci/identity/get_domains_user.py +1 -11
- pulumi_oci/identity/outputs.py +0 -14
- pulumi_oci/kms/_inputs.py +10 -10
- pulumi_oci/kms/get_vault.py +1 -14
- pulumi_oci/kms/outputs.py +30 -41
- pulumi_oci/kms/vault.py +0 -28
- pulumi_oci/loadbalancer/load_balancer.py +0 -224
- pulumi_oci/loadbalancer/outputs.py +0 -22
- pulumi_oci/mysql/_inputs.py +0 -23
- pulumi_oci/mysql/get_mysql_db_system.py +2 -15
- pulumi_oci/mysql/mysql_db_system.py +0 -53
- pulumi_oci/mysql/outputs.py +6 -74
- pulumi_oci/ocvp/get_cluster.py +2 -2
- pulumi_oci/ocvp/get_exsi_hosts.py +2 -2
- pulumi_oci/ocvp/get_supported_vmware_software_versions.py +5 -22
- pulumi_oci/ocvp/outputs.py +2 -2
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/recoverymod/_inputs.py +8 -0
- pulumi_oci/recoverymod/get_protected_database.py +1 -14
- pulumi_oci/recoverymod/get_protection_policy.py +1 -14
- pulumi_oci/recoverymod/outputs.py +8 -22
- pulumi_oci/recoverymod/protected_database.py +3 -80
- pulumi_oci/recoverymod/protection_policy.py +0 -49
- pulumi_oci/waf/_inputs.py +16 -29
- pulumi_oci/waf/outputs.py +10 -33
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/METADATA +1 -1
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/RECORD +86 -104
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/WHEEL +1 -1
- pulumi_oci/announcementsservice/get_services.py +0 -173
- pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py +0 -275
- pulumi_oci/datasafe/masking_policy_health_report_management.py +0 -453
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/datasafe/set_security_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/set_user_assessment_baseline_management.py +0 -304
- pulumi_oci/datasafe/unset_security_assessment_baseline_management.py +0 -264
- pulumi_oci/datasafe/unset_user_assessment_baseline_management.py +0 -264
- pulumi_oci/delegateaccesscontrol/__init__.py +0 -24
- pulumi_oci/delegateaccesscontrol/_inputs.py +0 -306
- pulumi_oci/delegateaccesscontrol/delegation_control.py +0 -1082
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py +0 -535
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py +0 -174
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py +0 -133
- pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py +0 -250
- pulumi_oci/delegateaccesscontrol/get_delegation_control.py +0 -378
- pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py +0 -133
- pulumi_oci/delegateaccesscontrol/get_delegation_controls.py +0 -213
- pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py +0 -176
- pulumi_oci/delegateaccesscontrol/get_service_provider.py +0 -274
- pulumi_oci/delegateaccesscontrol/get_service_provider_action.py +0 -210
- pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py +0 -210
- pulumi_oci/delegateaccesscontrol/get_service_providers.py +0 -213
- pulumi_oci/delegateaccesscontrol/outputs.py +0 -1679
- pulumi_oci/desktops/_inputs.py +0 -483
- pulumi_oci/desktops/desktop_pool.py +0 -1348
- pulumi_oci/desktops/get_desktop.py +0 -223
- pulumi_oci/desktops/get_desktop_pool.py +0 -418
- pulumi_oci/desktops/get_desktop_pool_desktops.py +0 -208
- pulumi_oci/desktops/get_desktop_pool_volumes.py +0 -214
- pulumi_oci/desktops/get_desktop_pools.py +0 -203
- pulumi_oci/desktops/get_desktops.py +0 -214
- pulumi_oci/desktops/outputs.py +0 -1738
- {pulumi_oci-2.9.0.dist-info → pulumi_oci-2.9.0a1724479778.dist-info}/top_level.txt +0 -0
@@ -10,27 +10,24 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from .. import _utilities
|
11
11
|
|
12
12
|
__all__ = [
|
13
|
-
'
|
14
|
-
'
|
15
|
-
'
|
16
|
-
'
|
13
|
+
'GetPrivateEndpointResult',
|
14
|
+
'AwaitableGetPrivateEndpointResult',
|
15
|
+
'get_private_endpoint',
|
16
|
+
'get_private_endpoint_output',
|
17
17
|
]
|
18
18
|
|
19
19
|
@pulumi.output_type
|
20
|
-
class
|
20
|
+
class GetPrivateEndpointResult:
|
21
21
|
"""
|
22
|
-
A collection of values returned by
|
22
|
+
A collection of values returned by getPrivateEndpoint.
|
23
23
|
"""
|
24
|
-
def __init__(__self__, compartment_id=None, defined_tags=None,
|
24
|
+
def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_state_details=None, nsg_ids=None, private_endpoint_id=None, private_ip=None, sharded_databases=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None, vcn_id=None):
|
25
25
|
if compartment_id and not isinstance(compartment_id, str):
|
26
26
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
27
27
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
28
28
|
if defined_tags and not isinstance(defined_tags, dict):
|
29
29
|
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
30
30
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
31
|
-
if delegation_subscription_id and not isinstance(delegation_subscription_id, str):
|
32
|
-
raise TypeError("Expected argument 'delegation_subscription_id' to be a str")
|
33
|
-
pulumi.set(__self__, "delegation_subscription_id", delegation_subscription_id)
|
34
31
|
if description and not isinstance(description, str):
|
35
32
|
raise TypeError("Expected argument 'description' to be a str")
|
36
33
|
pulumi.set(__self__, "description", description)
|
@@ -46,15 +43,24 @@ class GetDelegationSubscriptionResult:
|
|
46
43
|
if lifecycle_state_details and not isinstance(lifecycle_state_details, str):
|
47
44
|
raise TypeError("Expected argument 'lifecycle_state_details' to be a str")
|
48
45
|
pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details)
|
49
|
-
if
|
50
|
-
raise TypeError("Expected argument '
|
51
|
-
pulumi.set(__self__, "
|
46
|
+
if nsg_ids and not isinstance(nsg_ids, list):
|
47
|
+
raise TypeError("Expected argument 'nsg_ids' to be a list")
|
48
|
+
pulumi.set(__self__, "nsg_ids", nsg_ids)
|
49
|
+
if private_endpoint_id and not isinstance(private_endpoint_id, str):
|
50
|
+
raise TypeError("Expected argument 'private_endpoint_id' to be a str")
|
51
|
+
pulumi.set(__self__, "private_endpoint_id", private_endpoint_id)
|
52
|
+
if private_ip and not isinstance(private_ip, str):
|
53
|
+
raise TypeError("Expected argument 'private_ip' to be a str")
|
54
|
+
pulumi.set(__self__, "private_ip", private_ip)
|
55
|
+
if sharded_databases and not isinstance(sharded_databases, list):
|
56
|
+
raise TypeError("Expected argument 'sharded_databases' to be a list")
|
57
|
+
pulumi.set(__self__, "sharded_databases", sharded_databases)
|
52
58
|
if state and not isinstance(state, str):
|
53
59
|
raise TypeError("Expected argument 'state' to be a str")
|
54
60
|
pulumi.set(__self__, "state", state)
|
55
|
-
if
|
56
|
-
raise TypeError("Expected argument '
|
57
|
-
pulumi.set(__self__, "
|
61
|
+
if subnet_id and not isinstance(subnet_id, str):
|
62
|
+
raise TypeError("Expected argument 'subnet_id' to be a str")
|
63
|
+
pulumi.set(__self__, "subnet_id", subnet_id)
|
58
64
|
if system_tags and not isinstance(system_tags, dict):
|
59
65
|
raise TypeError("Expected argument 'system_tags' to be a dict")
|
60
66
|
pulumi.set(__self__, "system_tags", system_tags)
|
@@ -64,12 +70,15 @@ class GetDelegationSubscriptionResult:
|
|
64
70
|
if time_updated and not isinstance(time_updated, str):
|
65
71
|
raise TypeError("Expected argument 'time_updated' to be a str")
|
66
72
|
pulumi.set(__self__, "time_updated", time_updated)
|
73
|
+
if vcn_id and not isinstance(vcn_id, str):
|
74
|
+
raise TypeError("Expected argument 'vcn_id' to be a str")
|
75
|
+
pulumi.set(__self__, "vcn_id", vcn_id)
|
67
76
|
|
68
77
|
@property
|
69
78
|
@pulumi.getter(name="compartmentId")
|
70
79
|
def compartment_id(self) -> str:
|
71
80
|
"""
|
72
|
-
|
81
|
+
Identifier of the compartment in which private endpoint exists.
|
73
82
|
"""
|
74
83
|
return pulumi.get(self, "compartment_id")
|
75
84
|
|
@@ -77,20 +86,15 @@ class GetDelegationSubscriptionResult:
|
|
77
86
|
@pulumi.getter(name="definedTags")
|
78
87
|
def defined_tags(self) -> Mapping[str, str]:
|
79
88
|
"""
|
80
|
-
Defined tags for this resource. Each key is predefined and scoped to a namespace.
|
89
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
81
90
|
"""
|
82
91
|
return pulumi.get(self, "defined_tags")
|
83
92
|
|
84
|
-
@property
|
85
|
-
@pulumi.getter(name="delegationSubscriptionId")
|
86
|
-
def delegation_subscription_id(self) -> str:
|
87
|
-
return pulumi.get(self, "delegation_subscription_id")
|
88
|
-
|
89
93
|
@property
|
90
94
|
@pulumi.getter
|
91
95
|
def description(self) -> str:
|
92
96
|
"""
|
93
|
-
|
97
|
+
PrivateEndpoint description.
|
94
98
|
"""
|
95
99
|
return pulumi.get(self, "description")
|
96
100
|
|
@@ -98,7 +102,7 @@ class GetDelegationSubscriptionResult:
|
|
98
102
|
@pulumi.getter(name="displayName")
|
99
103
|
def display_name(self) -> str:
|
100
104
|
"""
|
101
|
-
|
105
|
+
PrivateEndpoint display name.
|
102
106
|
"""
|
103
107
|
return pulumi.get(self, "display_name")
|
104
108
|
|
@@ -106,7 +110,7 @@ class GetDelegationSubscriptionResult:
|
|
106
110
|
@pulumi.getter(name="freeformTags")
|
107
111
|
def freeform_tags(self) -> Mapping[str, str]:
|
108
112
|
"""
|
109
|
-
|
113
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
110
114
|
"""
|
111
115
|
return pulumi.get(self, "freeform_tags")
|
112
116
|
|
@@ -114,7 +118,7 @@ class GetDelegationSubscriptionResult:
|
|
114
118
|
@pulumi.getter
|
115
119
|
def id(self) -> str:
|
116
120
|
"""
|
117
|
-
|
121
|
+
The identifier of the Private Endpoint.
|
118
122
|
"""
|
119
123
|
return pulumi.get(self, "id")
|
120
124
|
|
@@ -122,39 +126,60 @@ class GetDelegationSubscriptionResult:
|
|
122
126
|
@pulumi.getter(name="lifecycleStateDetails")
|
123
127
|
def lifecycle_state_details(self) -> str:
|
124
128
|
"""
|
125
|
-
|
129
|
+
Detailed message for the lifecycle state.
|
126
130
|
"""
|
127
131
|
return pulumi.get(self, "lifecycle_state_details")
|
128
132
|
|
129
133
|
@property
|
130
|
-
@pulumi.getter(name="
|
131
|
-
def
|
134
|
+
@pulumi.getter(name="nsgIds")
|
135
|
+
def nsg_ids(self) -> Sequence[str]:
|
136
|
+
"""
|
137
|
+
The OCIDs of the network security groups that the private endpoint belongs to.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "nsg_ids")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="privateEndpointId")
|
143
|
+
def private_endpoint_id(self) -> str:
|
144
|
+
return pulumi.get(self, "private_endpoint_id")
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="privateIp")
|
148
|
+
def private_ip(self) -> str:
|
132
149
|
"""
|
133
|
-
|
150
|
+
IP address of the Private Endpoint.
|
134
151
|
"""
|
135
|
-
return pulumi.get(self, "
|
152
|
+
return pulumi.get(self, "private_ip")
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="shardedDatabases")
|
156
|
+
def sharded_databases(self) -> Sequence[str]:
|
157
|
+
"""
|
158
|
+
The OCIDs of sharded databases that consumes the given private endpoint.
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "sharded_databases")
|
136
161
|
|
137
162
|
@property
|
138
163
|
@pulumi.getter
|
139
164
|
def state(self) -> str:
|
140
165
|
"""
|
141
|
-
|
166
|
+
Lifecycle states for private endpoint.
|
142
167
|
"""
|
143
168
|
return pulumi.get(self, "state")
|
144
169
|
|
145
170
|
@property
|
146
|
-
@pulumi.getter(name="
|
147
|
-
def
|
171
|
+
@pulumi.getter(name="subnetId")
|
172
|
+
def subnet_id(self) -> str:
|
148
173
|
"""
|
149
|
-
|
174
|
+
Identifier of the subnet in which private endpoint exists.
|
150
175
|
"""
|
151
|
-
return pulumi.get(self, "
|
176
|
+
return pulumi.get(self, "subnet_id")
|
152
177
|
|
153
178
|
@property
|
154
179
|
@pulumi.getter(name="systemTags")
|
155
180
|
def system_tags(self) -> Mapping[str, str]:
|
156
181
|
"""
|
157
|
-
|
182
|
+
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
158
183
|
"""
|
159
184
|
return pulumi.get(self, "system_tags")
|
160
185
|
|
@@ -162,7 +187,7 @@ class GetDelegationSubscriptionResult:
|
|
162
187
|
@pulumi.getter(name="timeCreated")
|
163
188
|
def time_created(self) -> str:
|
164
189
|
"""
|
165
|
-
|
190
|
+
The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string
|
166
191
|
"""
|
167
192
|
return pulumi.get(self, "time_created")
|
168
193
|
|
@@ -170,39 +195,50 @@ class GetDelegationSubscriptionResult:
|
|
170
195
|
@pulumi.getter(name="timeUpdated")
|
171
196
|
def time_updated(self) -> str:
|
172
197
|
"""
|
173
|
-
|
198
|
+
The time the Private Endpoint was last updated. An RFC3339 formatted datetime string
|
174
199
|
"""
|
175
200
|
return pulumi.get(self, "time_updated")
|
176
201
|
|
202
|
+
@property
|
203
|
+
@pulumi.getter(name="vcnId")
|
204
|
+
def vcn_id(self) -> str:
|
205
|
+
"""
|
206
|
+
Identifier of the VCN in which subnet exists.
|
207
|
+
"""
|
208
|
+
return pulumi.get(self, "vcn_id")
|
209
|
+
|
177
210
|
|
178
|
-
class
|
211
|
+
class AwaitableGetPrivateEndpointResult(GetPrivateEndpointResult):
|
179
212
|
# pylint: disable=using-constant-test
|
180
213
|
def __await__(self):
|
181
214
|
if False:
|
182
215
|
yield self
|
183
|
-
return
|
216
|
+
return GetPrivateEndpointResult(
|
184
217
|
compartment_id=self.compartment_id,
|
185
218
|
defined_tags=self.defined_tags,
|
186
|
-
delegation_subscription_id=self.delegation_subscription_id,
|
187
219
|
description=self.description,
|
188
220
|
display_name=self.display_name,
|
189
221
|
freeform_tags=self.freeform_tags,
|
190
222
|
id=self.id,
|
191
223
|
lifecycle_state_details=self.lifecycle_state_details,
|
192
|
-
|
224
|
+
nsg_ids=self.nsg_ids,
|
225
|
+
private_endpoint_id=self.private_endpoint_id,
|
226
|
+
private_ip=self.private_ip,
|
227
|
+
sharded_databases=self.sharded_databases,
|
193
228
|
state=self.state,
|
194
|
-
|
229
|
+
subnet_id=self.subnet_id,
|
195
230
|
system_tags=self.system_tags,
|
196
231
|
time_created=self.time_created,
|
197
|
-
time_updated=self.time_updated
|
232
|
+
time_updated=self.time_updated,
|
233
|
+
vcn_id=self.vcn_id)
|
198
234
|
|
199
235
|
|
200
|
-
def
|
201
|
-
|
236
|
+
def get_private_endpoint(private_endpoint_id: Optional[str] = None,
|
237
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointResult:
|
202
238
|
"""
|
203
|
-
This data source provides details about a specific
|
239
|
+
This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.
|
204
240
|
|
205
|
-
|
241
|
+
Get the PrivateEndpoint resource.
|
206
242
|
|
207
243
|
## Example Usage
|
208
244
|
|
@@ -210,41 +246,44 @@ def get_delegation_subscription(delegation_subscription_id: Optional[str] = None
|
|
210
246
|
import pulumi
|
211
247
|
import pulumi_oci as oci
|
212
248
|
|
213
|
-
|
249
|
+
test_private_endpoint = oci.GloballyDistributedDatabase.get_private_endpoint(private_endpoint_id=test_private_endpoint_oci_globally_distributed_database_private_endpoint["id"])
|
214
250
|
```
|
215
251
|
|
216
252
|
|
217
|
-
:param str
|
253
|
+
:param str private_endpoint_id: Oracle Sharded Database PrivateEndpoint identifier
|
218
254
|
"""
|
219
255
|
__args__ = dict()
|
220
|
-
__args__['
|
256
|
+
__args__['privateEndpointId'] = private_endpoint_id
|
221
257
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
222
|
-
__ret__ = pulumi.runtime.invoke('oci:
|
258
|
+
__ret__ = pulumi.runtime.invoke('oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint', __args__, opts=opts, typ=GetPrivateEndpointResult).value
|
223
259
|
|
224
|
-
return
|
260
|
+
return AwaitableGetPrivateEndpointResult(
|
225
261
|
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
226
262
|
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
227
|
-
delegation_subscription_id=pulumi.get(__ret__, 'delegation_subscription_id'),
|
228
263
|
description=pulumi.get(__ret__, 'description'),
|
229
264
|
display_name=pulumi.get(__ret__, 'display_name'),
|
230
265
|
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
231
266
|
id=pulumi.get(__ret__, 'id'),
|
232
267
|
lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'),
|
233
|
-
|
268
|
+
nsg_ids=pulumi.get(__ret__, 'nsg_ids'),
|
269
|
+
private_endpoint_id=pulumi.get(__ret__, 'private_endpoint_id'),
|
270
|
+
private_ip=pulumi.get(__ret__, 'private_ip'),
|
271
|
+
sharded_databases=pulumi.get(__ret__, 'sharded_databases'),
|
234
272
|
state=pulumi.get(__ret__, 'state'),
|
235
|
-
|
273
|
+
subnet_id=pulumi.get(__ret__, 'subnet_id'),
|
236
274
|
system_tags=pulumi.get(__ret__, 'system_tags'),
|
237
275
|
time_created=pulumi.get(__ret__, 'time_created'),
|
238
|
-
time_updated=pulumi.get(__ret__, 'time_updated')
|
276
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
277
|
+
vcn_id=pulumi.get(__ret__, 'vcn_id'))
|
239
278
|
|
240
279
|
|
241
|
-
@_utilities.lift_output_func(
|
242
|
-
def
|
243
|
-
|
280
|
+
@_utilities.lift_output_func(get_private_endpoint)
|
281
|
+
def get_private_endpoint_output(private_endpoint_id: Optional[pulumi.Input[str]] = None,
|
282
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointResult]:
|
244
283
|
"""
|
245
|
-
This data source provides details about a specific
|
284
|
+
This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.
|
246
285
|
|
247
|
-
|
286
|
+
Get the PrivateEndpoint resource.
|
248
287
|
|
249
288
|
## Example Usage
|
250
289
|
|
@@ -252,10 +291,10 @@ def get_delegation_subscription_output(delegation_subscription_id: Optional[pulu
|
|
252
291
|
import pulumi
|
253
292
|
import pulumi_oci as oci
|
254
293
|
|
255
|
-
|
294
|
+
test_private_endpoint = oci.GloballyDistributedDatabase.get_private_endpoint(private_endpoint_id=test_private_endpoint_oci_globally_distributed_database_private_endpoint["id"])
|
256
295
|
```
|
257
296
|
|
258
297
|
|
259
|
-
:param str
|
298
|
+
:param str private_endpoint_id: Oracle Sharded Database PrivateEndpoint identifier
|
260
299
|
"""
|
261
300
|
...
|
@@ -0,0 +1,176 @@
|
|
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
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetPrivateEndpointsResult',
|
16
|
+
'AwaitableGetPrivateEndpointsResult',
|
17
|
+
'get_private_endpoints',
|
18
|
+
'get_private_endpoints_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetPrivateEndpointsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getPrivateEndpoints.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, private_endpoint_collections=None, state=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if display_name and not isinstance(display_name, str):
|
31
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
32
|
+
pulumi.set(__self__, "display_name", display_name)
|
33
|
+
if filters and not isinstance(filters, list):
|
34
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
35
|
+
pulumi.set(__self__, "filters", filters)
|
36
|
+
if id and not isinstance(id, str):
|
37
|
+
raise TypeError("Expected argument 'id' to be a str")
|
38
|
+
pulumi.set(__self__, "id", id)
|
39
|
+
if private_endpoint_collections and not isinstance(private_endpoint_collections, list):
|
40
|
+
raise TypeError("Expected argument 'private_endpoint_collections' to be a list")
|
41
|
+
pulumi.set(__self__, "private_endpoint_collections", private_endpoint_collections)
|
42
|
+
if state and not isinstance(state, str):
|
43
|
+
raise TypeError("Expected argument 'state' to be a str")
|
44
|
+
pulumi.set(__self__, "state", state)
|
45
|
+
|
46
|
+
@property
|
47
|
+
@pulumi.getter(name="compartmentId")
|
48
|
+
def compartment_id(self) -> str:
|
49
|
+
"""
|
50
|
+
Identifier of the compartment in which private endpoint exists.
|
51
|
+
"""
|
52
|
+
return pulumi.get(self, "compartment_id")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="displayName")
|
56
|
+
def display_name(self) -> Optional[str]:
|
57
|
+
"""
|
58
|
+
PrivateEndpoint display name.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "display_name")
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter
|
64
|
+
def filters(self) -> Optional[Sequence['outputs.GetPrivateEndpointsFilterResult']]:
|
65
|
+
return pulumi.get(self, "filters")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter
|
69
|
+
def id(self) -> str:
|
70
|
+
"""
|
71
|
+
The provider-assigned unique ID for this managed resource.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="privateEndpointCollections")
|
77
|
+
def private_endpoint_collections(self) -> Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionResult']:
|
78
|
+
"""
|
79
|
+
The list of private_endpoint_collection.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "private_endpoint_collections")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def state(self) -> Optional[str]:
|
86
|
+
"""
|
87
|
+
Lifecycle states for private endpoint.
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "state")
|
90
|
+
|
91
|
+
|
92
|
+
class AwaitableGetPrivateEndpointsResult(GetPrivateEndpointsResult):
|
93
|
+
# pylint: disable=using-constant-test
|
94
|
+
def __await__(self):
|
95
|
+
if False:
|
96
|
+
yield self
|
97
|
+
return GetPrivateEndpointsResult(
|
98
|
+
compartment_id=self.compartment_id,
|
99
|
+
display_name=self.display_name,
|
100
|
+
filters=self.filters,
|
101
|
+
id=self.id,
|
102
|
+
private_endpoint_collections=self.private_endpoint_collections,
|
103
|
+
state=self.state)
|
104
|
+
|
105
|
+
|
106
|
+
def get_private_endpoints(compartment_id: Optional[str] = None,
|
107
|
+
display_name: Optional[str] = None,
|
108
|
+
filters: Optional[Sequence[Union['GetPrivateEndpointsFilterArgs', 'GetPrivateEndpointsFilterArgsDict']]] = None,
|
109
|
+
state: Optional[str] = None,
|
110
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointsResult:
|
111
|
+
"""
|
112
|
+
This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service.
|
113
|
+
|
114
|
+
List of PrivateEndpoints.
|
115
|
+
|
116
|
+
## Example Usage
|
117
|
+
|
118
|
+
```python
|
119
|
+
import pulumi
|
120
|
+
import pulumi_oci as oci
|
121
|
+
|
122
|
+
test_private_endpoints = oci.GloballyDistributedDatabase.get_private_endpoints(compartment_id=compartment_id,
|
123
|
+
display_name=private_endpoint_display_name,
|
124
|
+
state=private_endpoint_state)
|
125
|
+
```
|
126
|
+
|
127
|
+
|
128
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
129
|
+
:param str display_name: A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
|
130
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
131
|
+
"""
|
132
|
+
__args__ = dict()
|
133
|
+
__args__['compartmentId'] = compartment_id
|
134
|
+
__args__['displayName'] = display_name
|
135
|
+
__args__['filters'] = filters
|
136
|
+
__args__['state'] = state
|
137
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
138
|
+
__ret__ = pulumi.runtime.invoke('oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints', __args__, opts=opts, typ=GetPrivateEndpointsResult).value
|
139
|
+
|
140
|
+
return AwaitableGetPrivateEndpointsResult(
|
141
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
142
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
143
|
+
filters=pulumi.get(__ret__, 'filters'),
|
144
|
+
id=pulumi.get(__ret__, 'id'),
|
145
|
+
private_endpoint_collections=pulumi.get(__ret__, 'private_endpoint_collections'),
|
146
|
+
state=pulumi.get(__ret__, 'state'))
|
147
|
+
|
148
|
+
|
149
|
+
@_utilities.lift_output_func(get_private_endpoints)
|
150
|
+
def get_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
151
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
152
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPrivateEndpointsFilterArgs', 'GetPrivateEndpointsFilterArgsDict']]]]] = None,
|
153
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
154
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointsResult]:
|
155
|
+
"""
|
156
|
+
This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service.
|
157
|
+
|
158
|
+
List of PrivateEndpoints.
|
159
|
+
|
160
|
+
## Example Usage
|
161
|
+
|
162
|
+
```python
|
163
|
+
import pulumi
|
164
|
+
import pulumi_oci as oci
|
165
|
+
|
166
|
+
test_private_endpoints = oci.GloballyDistributedDatabase.get_private_endpoints(compartment_id=compartment_id,
|
167
|
+
display_name=private_endpoint_display_name,
|
168
|
+
state=private_endpoint_state)
|
169
|
+
```
|
170
|
+
|
171
|
+
|
172
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
173
|
+
:param str display_name: A filter to return only private endpoint that match the entire name given. The match is not case sensitive.
|
174
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
175
|
+
"""
|
176
|
+
...
|