pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.6.0a1756509375__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 +80 -0
- pulumi_oci/config/__init__.pyi +12 -17
- pulumi_oci/config/vars.py +12 -17
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +257 -12
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +28 -0
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/outputs.py +575 -8
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +68 -2
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +6964 -192
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +35 -2
- pulumi_oci/oci/__init__.py +9 -0
- pulumi_oci/oci/_inputs.py +420 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +1009 -0
- pulumi_oci/provider.py +44 -63
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/RECORD +136 -103
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0a1756509375.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,313 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
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 ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetTargetDatabaseGroupsResult',
|
21
|
+
'AwaitableGetTargetDatabaseGroupsResult',
|
22
|
+
'get_target_database_groups',
|
23
|
+
'get_target_database_groups_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetTargetDatabaseGroupsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getTargetDatabaseGroups.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, state=None, target_database_group_collections=None, target_database_group_filter=None, target_database_group_id=None, time_created_greater_than_or_equal_to=None, time_created_less_than=None):
|
32
|
+
if access_level and not isinstance(access_level, str):
|
33
|
+
raise TypeError("Expected argument 'access_level' to be a str")
|
34
|
+
pulumi.set(__self__, "access_level", access_level)
|
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 compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
39
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
40
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if filters and not isinstance(filters, list):
|
45
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
46
|
+
pulumi.set(__self__, "filters", filters)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if state and not isinstance(state, str):
|
51
|
+
raise TypeError("Expected argument 'state' to be a str")
|
52
|
+
pulumi.set(__self__, "state", state)
|
53
|
+
if target_database_group_collections and not isinstance(target_database_group_collections, list):
|
54
|
+
raise TypeError("Expected argument 'target_database_group_collections' to be a list")
|
55
|
+
pulumi.set(__self__, "target_database_group_collections", target_database_group_collections)
|
56
|
+
if target_database_group_filter and not isinstance(target_database_group_filter, str):
|
57
|
+
raise TypeError("Expected argument 'target_database_group_filter' to be a str")
|
58
|
+
pulumi.set(__self__, "target_database_group_filter", target_database_group_filter)
|
59
|
+
if target_database_group_id and not isinstance(target_database_group_id, str):
|
60
|
+
raise TypeError("Expected argument 'target_database_group_id' to be a str")
|
61
|
+
pulumi.set(__self__, "target_database_group_id", target_database_group_id)
|
62
|
+
if time_created_greater_than_or_equal_to and not isinstance(time_created_greater_than_or_equal_to, str):
|
63
|
+
raise TypeError("Expected argument 'time_created_greater_than_or_equal_to' to be a str")
|
64
|
+
pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to)
|
65
|
+
if time_created_less_than and not isinstance(time_created_less_than, str):
|
66
|
+
raise TypeError("Expected argument 'time_created_less_than' to be a str")
|
67
|
+
pulumi.set(__self__, "time_created_less_than", time_created_less_than)
|
68
|
+
|
69
|
+
@_builtins.property
|
70
|
+
@pulumi.getter(name="accessLevel")
|
71
|
+
def access_level(self) -> Optional[_builtins.str]:
|
72
|
+
return pulumi.get(self, "access_level")
|
73
|
+
|
74
|
+
@_builtins.property
|
75
|
+
@pulumi.getter(name="compartmentId")
|
76
|
+
def compartment_id(self) -> _builtins.str:
|
77
|
+
"""
|
78
|
+
The OCID for the compartment containing the target database group.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "compartment_id")
|
81
|
+
|
82
|
+
@_builtins.property
|
83
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
84
|
+
def compartment_id_in_subtree(self) -> Optional[_builtins.bool]:
|
85
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
86
|
+
|
87
|
+
@_builtins.property
|
88
|
+
@pulumi.getter(name="displayName")
|
89
|
+
def display_name(self) -> Optional[_builtins.str]:
|
90
|
+
"""
|
91
|
+
The name of the target database group.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "display_name")
|
94
|
+
|
95
|
+
@_builtins.property
|
96
|
+
@pulumi.getter
|
97
|
+
def filters(self) -> Optional[Sequence['outputs.GetTargetDatabaseGroupsFilterResult']]:
|
98
|
+
return pulumi.get(self, "filters")
|
99
|
+
|
100
|
+
@_builtins.property
|
101
|
+
@pulumi.getter
|
102
|
+
def id(self) -> _builtins.str:
|
103
|
+
"""
|
104
|
+
The provider-assigned unique ID for this managed resource.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "id")
|
107
|
+
|
108
|
+
@_builtins.property
|
109
|
+
@pulumi.getter
|
110
|
+
def state(self) -> Optional[_builtins.str]:
|
111
|
+
"""
|
112
|
+
The lifecycle status of the target database group.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "state")
|
115
|
+
|
116
|
+
@_builtins.property
|
117
|
+
@pulumi.getter(name="targetDatabaseGroupCollections")
|
118
|
+
def target_database_group_collections(self) -> Sequence['outputs.GetTargetDatabaseGroupsTargetDatabaseGroupCollectionResult']:
|
119
|
+
"""
|
120
|
+
The list of target_database_group_collection.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "target_database_group_collections")
|
123
|
+
|
124
|
+
@_builtins.property
|
125
|
+
@pulumi.getter(name="targetDatabaseGroupFilter")
|
126
|
+
def target_database_group_filter(self) -> Optional[_builtins.str]:
|
127
|
+
return pulumi.get(self, "target_database_group_filter")
|
128
|
+
|
129
|
+
@_builtins.property
|
130
|
+
@pulumi.getter(name="targetDatabaseGroupId")
|
131
|
+
def target_database_group_id(self) -> Optional[_builtins.str]:
|
132
|
+
return pulumi.get(self, "target_database_group_id")
|
133
|
+
|
134
|
+
@_builtins.property
|
135
|
+
@pulumi.getter(name="timeCreatedGreaterThanOrEqualTo")
|
136
|
+
def time_created_greater_than_or_equal_to(self) -> Optional[_builtins.str]:
|
137
|
+
return pulumi.get(self, "time_created_greater_than_or_equal_to")
|
138
|
+
|
139
|
+
@_builtins.property
|
140
|
+
@pulumi.getter(name="timeCreatedLessThan")
|
141
|
+
def time_created_less_than(self) -> Optional[_builtins.str]:
|
142
|
+
return pulumi.get(self, "time_created_less_than")
|
143
|
+
|
144
|
+
|
145
|
+
class AwaitableGetTargetDatabaseGroupsResult(GetTargetDatabaseGroupsResult):
|
146
|
+
# pylint: disable=using-constant-test
|
147
|
+
def __await__(self):
|
148
|
+
if False:
|
149
|
+
yield self
|
150
|
+
return GetTargetDatabaseGroupsResult(
|
151
|
+
access_level=self.access_level,
|
152
|
+
compartment_id=self.compartment_id,
|
153
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
154
|
+
display_name=self.display_name,
|
155
|
+
filters=self.filters,
|
156
|
+
id=self.id,
|
157
|
+
state=self.state,
|
158
|
+
target_database_group_collections=self.target_database_group_collections,
|
159
|
+
target_database_group_filter=self.target_database_group_filter,
|
160
|
+
target_database_group_id=self.target_database_group_id,
|
161
|
+
time_created_greater_than_or_equal_to=self.time_created_greater_than_or_equal_to,
|
162
|
+
time_created_less_than=self.time_created_less_than)
|
163
|
+
|
164
|
+
|
165
|
+
def get_target_database_groups(access_level: Optional[_builtins.str] = None,
|
166
|
+
compartment_id: Optional[_builtins.str] = None,
|
167
|
+
compartment_id_in_subtree: Optional[_builtins.bool] = None,
|
168
|
+
display_name: Optional[_builtins.str] = None,
|
169
|
+
filters: Optional[Sequence[Union['GetTargetDatabaseGroupsFilterArgs', 'GetTargetDatabaseGroupsFilterArgsDict']]] = None,
|
170
|
+
state: Optional[_builtins.str] = None,
|
171
|
+
target_database_group_filter: Optional[_builtins.str] = None,
|
172
|
+
target_database_group_id: Optional[_builtins.str] = None,
|
173
|
+
time_created_greater_than_or_equal_to: Optional[_builtins.str] = None,
|
174
|
+
time_created_less_than: Optional[_builtins.str] = None,
|
175
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTargetDatabaseGroupsResult:
|
176
|
+
"""
|
177
|
+
This data source provides the list of Target Database Groups in Oracle Cloud Infrastructure Data Safe service.
|
178
|
+
|
179
|
+
Retrieves a list of target database groups according to the specified query parameters.
|
180
|
+
|
181
|
+
## Example Usage
|
182
|
+
|
183
|
+
```python
|
184
|
+
import pulumi
|
185
|
+
import pulumi_oci as oci
|
186
|
+
|
187
|
+
test_target_database_groups = oci.DataSafe.get_target_database_groups(compartment_id=compartment_id,
|
188
|
+
access_level=target_database_group_access_level,
|
189
|
+
compartment_id_in_subtree=target_database_group_compartment_id_in_subtree,
|
190
|
+
display_name=target_database_group_display_name,
|
191
|
+
state=target_database_group_state,
|
192
|
+
target_database_group_id=test_target_database_group["id"],
|
193
|
+
target_database_group_filter=target_database_group_target_database_group_filter,
|
194
|
+
time_created_greater_than_or_equal_to=target_database_group_time_created_greater_than_or_equal_to,
|
195
|
+
time_created_less_than=target_database_group_time_created_less_than)
|
196
|
+
```
|
197
|
+
|
198
|
+
|
199
|
+
:param _builtins.str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
200
|
+
:param _builtins.str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
201
|
+
:param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
202
|
+
:param _builtins.str display_name: A filter to return only resources that match the specified display name.
|
203
|
+
:param _builtins.str state: A filter to retrieve resources that exclusively align with the designated lifecycle state.
|
204
|
+
:param _builtins.str target_database_group_filter: The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
|
205
|
+
:param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
|
206
|
+
:param _builtins.str time_created_greater_than_or_equal_to: A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
|
207
|
+
|
208
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
209
|
+
:param _builtins.str time_created_less_than: Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
210
|
+
|
211
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
212
|
+
"""
|
213
|
+
__args__ = dict()
|
214
|
+
__args__['accessLevel'] = access_level
|
215
|
+
__args__['compartmentId'] = compartment_id
|
216
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
217
|
+
__args__['displayName'] = display_name
|
218
|
+
__args__['filters'] = filters
|
219
|
+
__args__['state'] = state
|
220
|
+
__args__['targetDatabaseGroupFilter'] = target_database_group_filter
|
221
|
+
__args__['targetDatabaseGroupId'] = target_database_group_id
|
222
|
+
__args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
|
223
|
+
__args__['timeCreatedLessThan'] = time_created_less_than
|
224
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
225
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getTargetDatabaseGroups:getTargetDatabaseGroups', __args__, opts=opts, typ=GetTargetDatabaseGroupsResult).value
|
226
|
+
|
227
|
+
return AwaitableGetTargetDatabaseGroupsResult(
|
228
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
229
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
230
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
231
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
232
|
+
filters=pulumi.get(__ret__, 'filters'),
|
233
|
+
id=pulumi.get(__ret__, 'id'),
|
234
|
+
state=pulumi.get(__ret__, 'state'),
|
235
|
+
target_database_group_collections=pulumi.get(__ret__, 'target_database_group_collections'),
|
236
|
+
target_database_group_filter=pulumi.get(__ret__, 'target_database_group_filter'),
|
237
|
+
target_database_group_id=pulumi.get(__ret__, 'target_database_group_id'),
|
238
|
+
time_created_greater_than_or_equal_to=pulumi.get(__ret__, 'time_created_greater_than_or_equal_to'),
|
239
|
+
time_created_less_than=pulumi.get(__ret__, 'time_created_less_than'))
|
240
|
+
def get_target_database_groups_output(access_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
241
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
242
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
243
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
244
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetTargetDatabaseGroupsFilterArgs', 'GetTargetDatabaseGroupsFilterArgsDict']]]]] = None,
|
245
|
+
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
246
|
+
target_database_group_filter: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
247
|
+
target_database_group_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
248
|
+
time_created_greater_than_or_equal_to: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
249
|
+
time_created_less_than: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
250
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTargetDatabaseGroupsResult]:
|
251
|
+
"""
|
252
|
+
This data source provides the list of Target Database Groups in Oracle Cloud Infrastructure Data Safe service.
|
253
|
+
|
254
|
+
Retrieves a list of target database groups according to the specified query parameters.
|
255
|
+
|
256
|
+
## Example Usage
|
257
|
+
|
258
|
+
```python
|
259
|
+
import pulumi
|
260
|
+
import pulumi_oci as oci
|
261
|
+
|
262
|
+
test_target_database_groups = oci.DataSafe.get_target_database_groups(compartment_id=compartment_id,
|
263
|
+
access_level=target_database_group_access_level,
|
264
|
+
compartment_id_in_subtree=target_database_group_compartment_id_in_subtree,
|
265
|
+
display_name=target_database_group_display_name,
|
266
|
+
state=target_database_group_state,
|
267
|
+
target_database_group_id=test_target_database_group["id"],
|
268
|
+
target_database_group_filter=target_database_group_target_database_group_filter,
|
269
|
+
time_created_greater_than_or_equal_to=target_database_group_time_created_greater_than_or_equal_to,
|
270
|
+
time_created_less_than=target_database_group_time_created_less_than)
|
271
|
+
```
|
272
|
+
|
273
|
+
|
274
|
+
:param _builtins.str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
|
275
|
+
:param _builtins.str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
276
|
+
:param _builtins.bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
|
277
|
+
:param _builtins.str display_name: A filter to return only resources that match the specified display name.
|
278
|
+
:param _builtins.str state: A filter to retrieve resources that exclusively align with the designated lifecycle state.
|
279
|
+
:param _builtins.str target_database_group_filter: The scim query filter parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at [RFC3339](https://tools.ietf.org/html/draft-ietf-scim-api-12). In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.) Ex:** filter=(targetDatabaseId eq 'ocid1.datasafetargetdatabase.oc1.iad.abuwcljr3u2va4ba5wek53idpe5qq5kkbigzclscc6mysfecxzjt5dgmxqza')
|
280
|
+
:param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
|
281
|
+
:param _builtins.str time_created_greater_than_or_equal_to: A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
|
282
|
+
|
283
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
284
|
+
:param _builtins.str time_created_less_than: Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
|
285
|
+
|
286
|
+
**Example:** 2016-12-19T16:39:57.600Z
|
287
|
+
"""
|
288
|
+
__args__ = dict()
|
289
|
+
__args__['accessLevel'] = access_level
|
290
|
+
__args__['compartmentId'] = compartment_id
|
291
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
292
|
+
__args__['displayName'] = display_name
|
293
|
+
__args__['filters'] = filters
|
294
|
+
__args__['state'] = state
|
295
|
+
__args__['targetDatabaseGroupFilter'] = target_database_group_filter
|
296
|
+
__args__['targetDatabaseGroupId'] = target_database_group_id
|
297
|
+
__args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
|
298
|
+
__args__['timeCreatedLessThan'] = time_created_less_than
|
299
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
300
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getTargetDatabaseGroups:getTargetDatabaseGroups', __args__, opts=opts, typ=GetTargetDatabaseGroupsResult)
|
301
|
+
return __ret__.apply(lambda __response__: GetTargetDatabaseGroupsResult(
|
302
|
+
access_level=pulumi.get(__response__, 'access_level'),
|
303
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
304
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
305
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
306
|
+
filters=pulumi.get(__response__, 'filters'),
|
307
|
+
id=pulumi.get(__response__, 'id'),
|
308
|
+
state=pulumi.get(__response__, 'state'),
|
309
|
+
target_database_group_collections=pulumi.get(__response__, 'target_database_group_collections'),
|
310
|
+
target_database_group_filter=pulumi.get(__response__, 'target_database_group_filter'),
|
311
|
+
target_database_group_id=pulumi.get(__response__, 'target_database_group_id'),
|
312
|
+
time_created_greater_than_or_equal_to=pulumi.get(__response__, 'time_created_greater_than_or_equal_to'),
|
313
|
+
time_created_less_than=pulumi.get(__response__, 'time_created_less_than')))
|