pulumi-oci 3.4.0a1755922408__py3-none-any.whl → 3.5.0__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/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/pulumi-plugin.json +1 -1
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/RECORD +133 -100
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755922408.dist-info → pulumi_oci-3.5.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,188 @@
|
|
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
|
+
'GetAttributeSetAssociatedResourcesResult',
|
21
|
+
'AwaitableGetAttributeSetAssociatedResourcesResult',
|
22
|
+
'get_attribute_set_associated_resources',
|
23
|
+
'get_attribute_set_associated_resources_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAttributeSetAssociatedResourcesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAttributeSetAssociatedResources.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, associated_resource_collections=None, associated_resource_id=None, associated_resource_type=None, attribute_set_id=None, filters=None, id=None):
|
32
|
+
if associated_resource_collections and not isinstance(associated_resource_collections, list):
|
33
|
+
raise TypeError("Expected argument 'associated_resource_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "associated_resource_collections", associated_resource_collections)
|
35
|
+
if associated_resource_id and not isinstance(associated_resource_id, str):
|
36
|
+
raise TypeError("Expected argument 'associated_resource_id' to be a str")
|
37
|
+
pulumi.set(__self__, "associated_resource_id", associated_resource_id)
|
38
|
+
if associated_resource_type and not isinstance(associated_resource_type, str):
|
39
|
+
raise TypeError("Expected argument 'associated_resource_type' to be a str")
|
40
|
+
pulumi.set(__self__, "associated_resource_type", associated_resource_type)
|
41
|
+
if attribute_set_id and not isinstance(attribute_set_id, str):
|
42
|
+
raise TypeError("Expected argument 'attribute_set_id' to be a str")
|
43
|
+
pulumi.set(__self__, "attribute_set_id", attribute_set_id)
|
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
|
+
|
51
|
+
@_builtins.property
|
52
|
+
@pulumi.getter(name="associatedResourceCollections")
|
53
|
+
def associated_resource_collections(self) -> Sequence['outputs.GetAttributeSetAssociatedResourcesAssociatedResourceCollectionResult']:
|
54
|
+
"""
|
55
|
+
The list of associated_resource_collection.
|
56
|
+
"""
|
57
|
+
return pulumi.get(self, "associated_resource_collections")
|
58
|
+
|
59
|
+
@_builtins.property
|
60
|
+
@pulumi.getter(name="associatedResourceId")
|
61
|
+
def associated_resource_id(self) -> Optional[_builtins.str]:
|
62
|
+
"""
|
63
|
+
The OCID of the resource that is associated with the attribute set.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "associated_resource_id")
|
66
|
+
|
67
|
+
@_builtins.property
|
68
|
+
@pulumi.getter(name="associatedResourceType")
|
69
|
+
def associated_resource_type(self) -> Optional[_builtins.str]:
|
70
|
+
"""
|
71
|
+
The resource type that is associated with the attribute set.
|
72
|
+
"""
|
73
|
+
return pulumi.get(self, "associated_resource_type")
|
74
|
+
|
75
|
+
@_builtins.property
|
76
|
+
@pulumi.getter(name="attributeSetId")
|
77
|
+
def attribute_set_id(self) -> _builtins.str:
|
78
|
+
return pulumi.get(self, "attribute_set_id")
|
79
|
+
|
80
|
+
@_builtins.property
|
81
|
+
@pulumi.getter
|
82
|
+
def filters(self) -> Optional[Sequence['outputs.GetAttributeSetAssociatedResourcesFilterResult']]:
|
83
|
+
return pulumi.get(self, "filters")
|
84
|
+
|
85
|
+
@_builtins.property
|
86
|
+
@pulumi.getter
|
87
|
+
def id(self) -> _builtins.str:
|
88
|
+
"""
|
89
|
+
The provider-assigned unique ID for this managed resource.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "id")
|
92
|
+
|
93
|
+
|
94
|
+
class AwaitableGetAttributeSetAssociatedResourcesResult(GetAttributeSetAssociatedResourcesResult):
|
95
|
+
# pylint: disable=using-constant-test
|
96
|
+
def __await__(self):
|
97
|
+
if False:
|
98
|
+
yield self
|
99
|
+
return GetAttributeSetAssociatedResourcesResult(
|
100
|
+
associated_resource_collections=self.associated_resource_collections,
|
101
|
+
associated_resource_id=self.associated_resource_id,
|
102
|
+
associated_resource_type=self.associated_resource_type,
|
103
|
+
attribute_set_id=self.attribute_set_id,
|
104
|
+
filters=self.filters,
|
105
|
+
id=self.id)
|
106
|
+
|
107
|
+
|
108
|
+
def get_attribute_set_associated_resources(associated_resource_id: Optional[_builtins.str] = None,
|
109
|
+
associated_resource_type: Optional[_builtins.str] = None,
|
110
|
+
attribute_set_id: Optional[_builtins.str] = None,
|
111
|
+
filters: Optional[Sequence[Union['GetAttributeSetAssociatedResourcesFilterArgs', 'GetAttributeSetAssociatedResourcesFilterArgsDict']]] = None,
|
112
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAttributeSetAssociatedResourcesResult:
|
113
|
+
"""
|
114
|
+
This data source provides the list of Attribute Set Associated Resources in Oracle Cloud Infrastructure Data Safe service.
|
115
|
+
|
116
|
+
Returns list of all associated resources.
|
117
|
+
|
118
|
+
## Example Usage
|
119
|
+
|
120
|
+
```python
|
121
|
+
import pulumi
|
122
|
+
import pulumi_oci as oci
|
123
|
+
|
124
|
+
test_attribute_set_associated_resources = oci.DataSafe.get_attribute_set_associated_resources(attribute_set_id=test_attribute_set["id"],
|
125
|
+
associated_resource_id=test_resource["id"],
|
126
|
+
associated_resource_type=attribute_set_associated_resource_associated_resource_type)
|
127
|
+
```
|
128
|
+
|
129
|
+
|
130
|
+
:param _builtins.str associated_resource_id: A filter to return attribute set associated resource that matches the specified associated resource id query param.
|
131
|
+
:param _builtins.str associated_resource_type: A filter to return attribute set associated resources that matches the specified resource type query param.
|
132
|
+
:param _builtins.str attribute_set_id: OCID of an attribute set.
|
133
|
+
"""
|
134
|
+
__args__ = dict()
|
135
|
+
__args__['associatedResourceId'] = associated_resource_id
|
136
|
+
__args__['associatedResourceType'] = associated_resource_type
|
137
|
+
__args__['attributeSetId'] = attribute_set_id
|
138
|
+
__args__['filters'] = filters
|
139
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
140
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getAttributeSetAssociatedResources:getAttributeSetAssociatedResources', __args__, opts=opts, typ=GetAttributeSetAssociatedResourcesResult).value
|
141
|
+
|
142
|
+
return AwaitableGetAttributeSetAssociatedResourcesResult(
|
143
|
+
associated_resource_collections=pulumi.get(__ret__, 'associated_resource_collections'),
|
144
|
+
associated_resource_id=pulumi.get(__ret__, 'associated_resource_id'),
|
145
|
+
associated_resource_type=pulumi.get(__ret__, 'associated_resource_type'),
|
146
|
+
attribute_set_id=pulumi.get(__ret__, 'attribute_set_id'),
|
147
|
+
filters=pulumi.get(__ret__, 'filters'),
|
148
|
+
id=pulumi.get(__ret__, 'id'))
|
149
|
+
def get_attribute_set_associated_resources_output(associated_resource_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
150
|
+
associated_resource_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
151
|
+
attribute_set_id: Optional[pulumi.Input[_builtins.str]] = None,
|
152
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAttributeSetAssociatedResourcesFilterArgs', 'GetAttributeSetAssociatedResourcesFilterArgsDict']]]]] = None,
|
153
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAttributeSetAssociatedResourcesResult]:
|
154
|
+
"""
|
155
|
+
This data source provides the list of Attribute Set Associated Resources in Oracle Cloud Infrastructure Data Safe service.
|
156
|
+
|
157
|
+
Returns list of all associated resources.
|
158
|
+
|
159
|
+
## Example Usage
|
160
|
+
|
161
|
+
```python
|
162
|
+
import pulumi
|
163
|
+
import pulumi_oci as oci
|
164
|
+
|
165
|
+
test_attribute_set_associated_resources = oci.DataSafe.get_attribute_set_associated_resources(attribute_set_id=test_attribute_set["id"],
|
166
|
+
associated_resource_id=test_resource["id"],
|
167
|
+
associated_resource_type=attribute_set_associated_resource_associated_resource_type)
|
168
|
+
```
|
169
|
+
|
170
|
+
|
171
|
+
:param _builtins.str associated_resource_id: A filter to return attribute set associated resource that matches the specified associated resource id query param.
|
172
|
+
:param _builtins.str associated_resource_type: A filter to return attribute set associated resources that matches the specified resource type query param.
|
173
|
+
:param _builtins.str attribute_set_id: OCID of an attribute set.
|
174
|
+
"""
|
175
|
+
__args__ = dict()
|
176
|
+
__args__['associatedResourceId'] = associated_resource_id
|
177
|
+
__args__['associatedResourceType'] = associated_resource_type
|
178
|
+
__args__['attributeSetId'] = attribute_set_id
|
179
|
+
__args__['filters'] = filters
|
180
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
181
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getAttributeSetAssociatedResources:getAttributeSetAssociatedResources', __args__, opts=opts, typ=GetAttributeSetAssociatedResourcesResult)
|
182
|
+
return __ret__.apply(lambda __response__: GetAttributeSetAssociatedResourcesResult(
|
183
|
+
associated_resource_collections=pulumi.get(__response__, 'associated_resource_collections'),
|
184
|
+
associated_resource_id=pulumi.get(__response__, 'associated_resource_id'),
|
185
|
+
associated_resource_type=pulumi.get(__response__, 'associated_resource_type'),
|
186
|
+
attribute_set_id=pulumi.get(__response__, 'attribute_set_id'),
|
187
|
+
filters=pulumi.get(__response__, 'filters'),
|
188
|
+
id=pulumi.get(__response__, 'id')))
|
@@ -0,0 +1,340 @@
|
|
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
|
+
'GetAttributeSetsResult',
|
21
|
+
'AwaitableGetAttributeSetsResult',
|
22
|
+
'get_attribute_sets',
|
23
|
+
'get_attribute_sets_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetAttributeSetsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getAttributeSets.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, access_level=None, attribute_set_collections=None, attribute_set_id=None, attribute_set_type=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, in_use=None, is_user_defined=None, state=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 attribute_set_collections and not isinstance(attribute_set_collections, list):
|
36
|
+
raise TypeError("Expected argument 'attribute_set_collections' to be a list")
|
37
|
+
pulumi.set(__self__, "attribute_set_collections", attribute_set_collections)
|
38
|
+
if attribute_set_id and not isinstance(attribute_set_id, str):
|
39
|
+
raise TypeError("Expected argument 'attribute_set_id' to be a str")
|
40
|
+
pulumi.set(__self__, "attribute_set_id", attribute_set_id)
|
41
|
+
if attribute_set_type and not isinstance(attribute_set_type, str):
|
42
|
+
raise TypeError("Expected argument 'attribute_set_type' to be a str")
|
43
|
+
pulumi.set(__self__, "attribute_set_type", attribute_set_type)
|
44
|
+
if compartment_id and not isinstance(compartment_id, str):
|
45
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
46
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
47
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
48
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
49
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
50
|
+
if display_name and not isinstance(display_name, str):
|
51
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
52
|
+
pulumi.set(__self__, "display_name", display_name)
|
53
|
+
if filters and not isinstance(filters, list):
|
54
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
55
|
+
pulumi.set(__self__, "filters", filters)
|
56
|
+
if id and not isinstance(id, str):
|
57
|
+
raise TypeError("Expected argument 'id' to be a str")
|
58
|
+
pulumi.set(__self__, "id", id)
|
59
|
+
if in_use and not isinstance(in_use, str):
|
60
|
+
raise TypeError("Expected argument 'in_use' to be a str")
|
61
|
+
pulumi.set(__self__, "in_use", in_use)
|
62
|
+
if is_user_defined and not isinstance(is_user_defined, bool):
|
63
|
+
raise TypeError("Expected argument 'is_user_defined' to be a bool")
|
64
|
+
pulumi.set(__self__, "is_user_defined", is_user_defined)
|
65
|
+
if state and not isinstance(state, str):
|
66
|
+
raise TypeError("Expected argument 'state' to be a str")
|
67
|
+
pulumi.set(__self__, "state", state)
|
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="attributeSetCollections")
|
76
|
+
def attribute_set_collections(self) -> Sequence['outputs.GetAttributeSetsAttributeSetCollectionResult']:
|
77
|
+
"""
|
78
|
+
The list of attribute_set_collection.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "attribute_set_collections")
|
81
|
+
|
82
|
+
@_builtins.property
|
83
|
+
@pulumi.getter(name="attributeSetId")
|
84
|
+
def attribute_set_id(self) -> Optional[_builtins.str]:
|
85
|
+
return pulumi.get(self, "attribute_set_id")
|
86
|
+
|
87
|
+
@_builtins.property
|
88
|
+
@pulumi.getter(name="attributeSetType")
|
89
|
+
def attribute_set_type(self) -> Optional[_builtins.str]:
|
90
|
+
"""
|
91
|
+
The type of attribute set.
|
92
|
+
"""
|
93
|
+
return pulumi.get(self, "attribute_set_type")
|
94
|
+
|
95
|
+
@_builtins.property
|
96
|
+
@pulumi.getter(name="compartmentId")
|
97
|
+
def compartment_id(self) -> _builtins.str:
|
98
|
+
"""
|
99
|
+
The OCID of the compartment where the attribute set is stored.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "compartment_id")
|
102
|
+
|
103
|
+
@_builtins.property
|
104
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
105
|
+
def compartment_id_in_subtree(self) -> Optional[_builtins.bool]:
|
106
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
107
|
+
|
108
|
+
@_builtins.property
|
109
|
+
@pulumi.getter(name="displayName")
|
110
|
+
def display_name(self) -> Optional[_builtins.str]:
|
111
|
+
"""
|
112
|
+
The display name of an attribute set. The name does not have to be unique, and is changeable.
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "display_name")
|
115
|
+
|
116
|
+
@_builtins.property
|
117
|
+
@pulumi.getter
|
118
|
+
def filters(self) -> Optional[Sequence['outputs.GetAttributeSetsFilterResult']]:
|
119
|
+
return pulumi.get(self, "filters")
|
120
|
+
|
121
|
+
@_builtins.property
|
122
|
+
@pulumi.getter
|
123
|
+
def id(self) -> _builtins.str:
|
124
|
+
"""
|
125
|
+
The provider-assigned unique ID for this managed resource.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "id")
|
128
|
+
|
129
|
+
@_builtins.property
|
130
|
+
@pulumi.getter(name="inUse")
|
131
|
+
def in_use(self) -> Optional[_builtins.str]:
|
132
|
+
"""
|
133
|
+
Indicates whether the attribute set is in use by other resource.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "in_use")
|
136
|
+
|
137
|
+
@_builtins.property
|
138
|
+
@pulumi.getter(name="isUserDefined")
|
139
|
+
def is_user_defined(self) -> Optional[_builtins.bool]:
|
140
|
+
"""
|
141
|
+
A boolean flag indicating to list user defined or seeded attribute sets.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "is_user_defined")
|
144
|
+
|
145
|
+
@_builtins.property
|
146
|
+
@pulumi.getter
|
147
|
+
def state(self) -> Optional[_builtins.str]:
|
148
|
+
"""
|
149
|
+
The current state of an attribute set.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "state")
|
152
|
+
|
153
|
+
|
154
|
+
class AwaitableGetAttributeSetsResult(GetAttributeSetsResult):
|
155
|
+
# pylint: disable=using-constant-test
|
156
|
+
def __await__(self):
|
157
|
+
if False:
|
158
|
+
yield self
|
159
|
+
return GetAttributeSetsResult(
|
160
|
+
access_level=self.access_level,
|
161
|
+
attribute_set_collections=self.attribute_set_collections,
|
162
|
+
attribute_set_id=self.attribute_set_id,
|
163
|
+
attribute_set_type=self.attribute_set_type,
|
164
|
+
compartment_id=self.compartment_id,
|
165
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
166
|
+
display_name=self.display_name,
|
167
|
+
filters=self.filters,
|
168
|
+
id=self.id,
|
169
|
+
in_use=self.in_use,
|
170
|
+
is_user_defined=self.is_user_defined,
|
171
|
+
state=self.state)
|
172
|
+
|
173
|
+
|
174
|
+
def get_attribute_sets(access_level: Optional[_builtins.str] = None,
|
175
|
+
attribute_set_id: Optional[_builtins.str] = None,
|
176
|
+
attribute_set_type: Optional[_builtins.str] = None,
|
177
|
+
compartment_id: Optional[_builtins.str] = None,
|
178
|
+
compartment_id_in_subtree: Optional[_builtins.bool] = None,
|
179
|
+
display_name: Optional[_builtins.str] = None,
|
180
|
+
filters: Optional[Sequence[Union['GetAttributeSetsFilterArgs', 'GetAttributeSetsFilterArgsDict']]] = None,
|
181
|
+
in_use: Optional[_builtins.str] = None,
|
182
|
+
is_user_defined: Optional[_builtins.bool] = None,
|
183
|
+
state: Optional[_builtins.str] = None,
|
184
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAttributeSetsResult:
|
185
|
+
"""
|
186
|
+
This data source provides the list of Attribute Sets in Oracle Cloud Infrastructure Data Safe service.
|
187
|
+
|
188
|
+
Retrieves the list of attribute sets.
|
189
|
+
|
190
|
+
The ListAttributeSets operation returns only the attribute sets in the specified `compartmentId`.
|
191
|
+
|
192
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
193
|
+
requester has INSPECT permissions on at least one resource directly
|
194
|
+
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
195
|
+
Principal doesn't have access to even one of the child compartments. This is valid only when
|
196
|
+
`compartmentIdInSubtree` is set to `true`.
|
197
|
+
|
198
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListAttributeSet on the
|
199
|
+
`compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
200
|
+
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
201
|
+
set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
202
|
+
|
203
|
+
## Example Usage
|
204
|
+
|
205
|
+
```python
|
206
|
+
import pulumi
|
207
|
+
import pulumi_oci as oci
|
208
|
+
|
209
|
+
test_attribute_sets = oci.DataSafe.get_attribute_sets(compartment_id=compartment_id,
|
210
|
+
access_level=attribute_set_access_level,
|
211
|
+
attribute_set_id=test_attribute_set["id"],
|
212
|
+
attribute_set_type=attribute_set_attribute_set_type,
|
213
|
+
compartment_id_in_subtree=attribute_set_compartment_id_in_subtree,
|
214
|
+
display_name=attribute_set_display_name,
|
215
|
+
in_use=attribute_set_in_use,
|
216
|
+
is_user_defined=attribute_set_is_user_defined,
|
217
|
+
state=attribute_set_state)
|
218
|
+
```
|
219
|
+
|
220
|
+
|
221
|
+
: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.
|
222
|
+
:param _builtins.str attribute_set_id: A filter to return only attribute set resources that matches the specified attribute set OCID query param.
|
223
|
+
:param _builtins.str attribute_set_type: A filter to return only attribute set resources that matches the specified attribute set type query param.
|
224
|
+
:param _builtins.str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
225
|
+
: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.
|
226
|
+
:param _builtins.str display_name: A filter to return only resources that match the specified display name.
|
227
|
+
:param _builtins.str in_use: A filter to return attribute set resources that are in use by other associated resources.
|
228
|
+
:param _builtins.bool is_user_defined: A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
|
229
|
+
:param _builtins.str state: The current state of an attribute set.
|
230
|
+
"""
|
231
|
+
__args__ = dict()
|
232
|
+
__args__['accessLevel'] = access_level
|
233
|
+
__args__['attributeSetId'] = attribute_set_id
|
234
|
+
__args__['attributeSetType'] = attribute_set_type
|
235
|
+
__args__['compartmentId'] = compartment_id
|
236
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
237
|
+
__args__['displayName'] = display_name
|
238
|
+
__args__['filters'] = filters
|
239
|
+
__args__['inUse'] = in_use
|
240
|
+
__args__['isUserDefined'] = is_user_defined
|
241
|
+
__args__['state'] = state
|
242
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
243
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getAttributeSets:getAttributeSets', __args__, opts=opts, typ=GetAttributeSetsResult).value
|
244
|
+
|
245
|
+
return AwaitableGetAttributeSetsResult(
|
246
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
247
|
+
attribute_set_collections=pulumi.get(__ret__, 'attribute_set_collections'),
|
248
|
+
attribute_set_id=pulumi.get(__ret__, 'attribute_set_id'),
|
249
|
+
attribute_set_type=pulumi.get(__ret__, 'attribute_set_type'),
|
250
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
251
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
252
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
253
|
+
filters=pulumi.get(__ret__, 'filters'),
|
254
|
+
id=pulumi.get(__ret__, 'id'),
|
255
|
+
in_use=pulumi.get(__ret__, 'in_use'),
|
256
|
+
is_user_defined=pulumi.get(__ret__, 'is_user_defined'),
|
257
|
+
state=pulumi.get(__ret__, 'state'))
|
258
|
+
def get_attribute_sets_output(access_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
259
|
+
attribute_set_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
260
|
+
attribute_set_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
261
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
262
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
263
|
+
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
264
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAttributeSetsFilterArgs', 'GetAttributeSetsFilterArgsDict']]]]] = None,
|
265
|
+
in_use: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
266
|
+
is_user_defined: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
267
|
+
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
268
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAttributeSetsResult]:
|
269
|
+
"""
|
270
|
+
This data source provides the list of Attribute Sets in Oracle Cloud Infrastructure Data Safe service.
|
271
|
+
|
272
|
+
Retrieves the list of attribute sets.
|
273
|
+
|
274
|
+
The ListAttributeSets operation returns only the attribute sets in the specified `compartmentId`.
|
275
|
+
|
276
|
+
The parameter `accessLevel` specifies whether to return only those compartments for which the
|
277
|
+
requester has INSPECT permissions on at least one resource directly
|
278
|
+
or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
|
279
|
+
Principal doesn't have access to even one of the child compartments. This is valid only when
|
280
|
+
`compartmentIdInSubtree` is set to `true`.
|
281
|
+
|
282
|
+
The parameter `compartmentIdInSubtree` applies when you perform ListAttributeSet on the
|
283
|
+
`compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
|
284
|
+
To get a full list of all compartments and subcompartments in the tenancy (root compartment),
|
285
|
+
set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
|
286
|
+
|
287
|
+
## Example Usage
|
288
|
+
|
289
|
+
```python
|
290
|
+
import pulumi
|
291
|
+
import pulumi_oci as oci
|
292
|
+
|
293
|
+
test_attribute_sets = oci.DataSafe.get_attribute_sets(compartment_id=compartment_id,
|
294
|
+
access_level=attribute_set_access_level,
|
295
|
+
attribute_set_id=test_attribute_set["id"],
|
296
|
+
attribute_set_type=attribute_set_attribute_set_type,
|
297
|
+
compartment_id_in_subtree=attribute_set_compartment_id_in_subtree,
|
298
|
+
display_name=attribute_set_display_name,
|
299
|
+
in_use=attribute_set_in_use,
|
300
|
+
is_user_defined=attribute_set_is_user_defined,
|
301
|
+
state=attribute_set_state)
|
302
|
+
```
|
303
|
+
|
304
|
+
|
305
|
+
: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.
|
306
|
+
:param _builtins.str attribute_set_id: A filter to return only attribute set resources that matches the specified attribute set OCID query param.
|
307
|
+
:param _builtins.str attribute_set_type: A filter to return only attribute set resources that matches the specified attribute set type query param.
|
308
|
+
:param _builtins.str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
309
|
+
: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.
|
310
|
+
:param _builtins.str display_name: A filter to return only resources that match the specified display name.
|
311
|
+
:param _builtins.str in_use: A filter to return attribute set resources that are in use by other associated resources.
|
312
|
+
:param _builtins.bool is_user_defined: A filter to return user defined or seeded attribute set resources that matches the specified is user defined query param. A true value indicates user defined attribute set.
|
313
|
+
:param _builtins.str state: The current state of an attribute set.
|
314
|
+
"""
|
315
|
+
__args__ = dict()
|
316
|
+
__args__['accessLevel'] = access_level
|
317
|
+
__args__['attributeSetId'] = attribute_set_id
|
318
|
+
__args__['attributeSetType'] = attribute_set_type
|
319
|
+
__args__['compartmentId'] = compartment_id
|
320
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
321
|
+
__args__['displayName'] = display_name
|
322
|
+
__args__['filters'] = filters
|
323
|
+
__args__['inUse'] = in_use
|
324
|
+
__args__['isUserDefined'] = is_user_defined
|
325
|
+
__args__['state'] = state
|
326
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
327
|
+
__ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getAttributeSets:getAttributeSets', __args__, opts=opts, typ=GetAttributeSetsResult)
|
328
|
+
return __ret__.apply(lambda __response__: GetAttributeSetsResult(
|
329
|
+
access_level=pulumi.get(__response__, 'access_level'),
|
330
|
+
attribute_set_collections=pulumi.get(__response__, 'attribute_set_collections'),
|
331
|
+
attribute_set_id=pulumi.get(__response__, 'attribute_set_id'),
|
332
|
+
attribute_set_type=pulumi.get(__response__, 'attribute_set_type'),
|
333
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
334
|
+
compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
|
335
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
336
|
+
filters=pulumi.get(__response__, 'filters'),
|
337
|
+
id=pulumi.get(__response__, 'id'),
|
338
|
+
in_use=pulumi.get(__response__, 'in_use'),
|
339
|
+
is_user_defined=pulumi.get(__response__, 'is_user_defined'),
|
340
|
+
state=pulumi.get(__response__, 'state')))
|
@@ -28,7 +28,7 @@ class GetAuditArchiveRetrievalsResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getAuditArchiveRetrievals.
|
30
30
|
"""
|
31
|
-
def __init__(__self__, access_level=None, audit_archive_retrieval_collections=None, audit_archive_retrieval_id=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, state=None, target_id=None, time_of_expiry=None):
|
31
|
+
def __init__(__self__, access_level=None, audit_archive_retrieval_collections=None, audit_archive_retrieval_id=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, state=None, target_database_group_id=None, target_id=None, time_of_expiry=None):
|
32
32
|
if access_level and not isinstance(access_level, str):
|
33
33
|
raise TypeError("Expected argument 'access_level' to be a str")
|
34
34
|
pulumi.set(__self__, "access_level", access_level)
|
@@ -56,6 +56,9 @@ class GetAuditArchiveRetrievalsResult:
|
|
56
56
|
if state and not isinstance(state, str):
|
57
57
|
raise TypeError("Expected argument 'state' to be a str")
|
58
58
|
pulumi.set(__self__, "state", state)
|
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)
|
59
62
|
if target_id and not isinstance(target_id, str):
|
60
63
|
raise TypeError("Expected argument 'target_id' to be a str")
|
61
64
|
pulumi.set(__self__, "target_id", target_id)
|
@@ -123,6 +126,11 @@ class GetAuditArchiveRetrievalsResult:
|
|
123
126
|
"""
|
124
127
|
return pulumi.get(self, "state")
|
125
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
|
+
|
126
134
|
@_builtins.property
|
127
135
|
@pulumi.getter(name="targetId")
|
128
136
|
def target_id(self) -> Optional[_builtins.str]:
|
@@ -155,6 +163,7 @@ class AwaitableGetAuditArchiveRetrievalsResult(GetAuditArchiveRetrievalsResult):
|
|
155
163
|
filters=self.filters,
|
156
164
|
id=self.id,
|
157
165
|
state=self.state,
|
166
|
+
target_database_group_id=self.target_database_group_id,
|
158
167
|
target_id=self.target_id,
|
159
168
|
time_of_expiry=self.time_of_expiry)
|
160
169
|
|
@@ -166,6 +175,7 @@ def get_audit_archive_retrievals(access_level: Optional[_builtins.str] = None,
|
|
166
175
|
display_name: Optional[_builtins.str] = None,
|
167
176
|
filters: Optional[Sequence[Union['GetAuditArchiveRetrievalsFilterArgs', 'GetAuditArchiveRetrievalsFilterArgsDict']]] = None,
|
168
177
|
state: Optional[_builtins.str] = None,
|
178
|
+
target_database_group_id: Optional[_builtins.str] = None,
|
169
179
|
target_id: Optional[_builtins.str] = None,
|
170
180
|
time_of_expiry: Optional[_builtins.str] = None,
|
171
181
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuditArchiveRetrievalsResult:
|
@@ -186,6 +196,7 @@ def get_audit_archive_retrievals(access_level: Optional[_builtins.str] = None,
|
|
186
196
|
compartment_id_in_subtree=audit_archive_retrieval_compartment_id_in_subtree,
|
187
197
|
display_name=audit_archive_retrieval_display_name,
|
188
198
|
state=audit_archive_retrieval_state,
|
199
|
+
target_database_group_id=test_target_database_group["id"],
|
189
200
|
target_id=test_target["id"],
|
190
201
|
time_of_expiry=audit_archive_retrieval_time_of_expiry)
|
191
202
|
```
|
@@ -197,6 +208,7 @@ def get_audit_archive_retrievals(access_level: Optional[_builtins.str] = None,
|
|
197
208
|
: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.
|
198
209
|
:param _builtins.str display_name: A filter to return only resources that match the specified display name.
|
199
210
|
:param _builtins.str state: A filter to return only resources that matches the specified lifecycle state.
|
211
|
+
:param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
|
200
212
|
:param _builtins.str target_id: The OCID of the target associated with the archive retrieval.
|
201
213
|
:param _builtins.str time_of_expiry: The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
|
202
214
|
"""
|
@@ -208,6 +220,7 @@ def get_audit_archive_retrievals(access_level: Optional[_builtins.str] = None,
|
|
208
220
|
__args__['displayName'] = display_name
|
209
221
|
__args__['filters'] = filters
|
210
222
|
__args__['state'] = state
|
223
|
+
__args__['targetDatabaseGroupId'] = target_database_group_id
|
211
224
|
__args__['targetId'] = target_id
|
212
225
|
__args__['timeOfExpiry'] = time_of_expiry
|
213
226
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -223,6 +236,7 @@ def get_audit_archive_retrievals(access_level: Optional[_builtins.str] = None,
|
|
223
236
|
filters=pulumi.get(__ret__, 'filters'),
|
224
237
|
id=pulumi.get(__ret__, 'id'),
|
225
238
|
state=pulumi.get(__ret__, 'state'),
|
239
|
+
target_database_group_id=pulumi.get(__ret__, 'target_database_group_id'),
|
226
240
|
target_id=pulumi.get(__ret__, 'target_id'),
|
227
241
|
time_of_expiry=pulumi.get(__ret__, 'time_of_expiry'))
|
228
242
|
def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
@@ -232,6 +246,7 @@ def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[Opti
|
|
232
246
|
display_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
233
247
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetAuditArchiveRetrievalsFilterArgs', 'GetAuditArchiveRetrievalsFilterArgsDict']]]]] = None,
|
234
248
|
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
249
|
+
target_database_group_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
235
250
|
target_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
236
251
|
time_of_expiry: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
237
252
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuditArchiveRetrievalsResult]:
|
@@ -252,6 +267,7 @@ def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[Opti
|
|
252
267
|
compartment_id_in_subtree=audit_archive_retrieval_compartment_id_in_subtree,
|
253
268
|
display_name=audit_archive_retrieval_display_name,
|
254
269
|
state=audit_archive_retrieval_state,
|
270
|
+
target_database_group_id=test_target_database_group["id"],
|
255
271
|
target_id=test_target["id"],
|
256
272
|
time_of_expiry=audit_archive_retrieval_time_of_expiry)
|
257
273
|
```
|
@@ -263,6 +279,7 @@ def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[Opti
|
|
263
279
|
: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.
|
264
280
|
:param _builtins.str display_name: A filter to return only resources that match the specified display name.
|
265
281
|
:param _builtins.str state: A filter to return only resources that matches the specified lifecycle state.
|
282
|
+
:param _builtins.str target_database_group_id: A filter to return the target database group that matches the specified OCID.
|
266
283
|
:param _builtins.str target_id: The OCID of the target associated with the archive retrieval.
|
267
284
|
:param _builtins.str time_of_expiry: The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival.
|
268
285
|
"""
|
@@ -274,6 +291,7 @@ def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[Opti
|
|
274
291
|
__args__['displayName'] = display_name
|
275
292
|
__args__['filters'] = filters
|
276
293
|
__args__['state'] = state
|
294
|
+
__args__['targetDatabaseGroupId'] = target_database_group_id
|
277
295
|
__args__['targetId'] = target_id
|
278
296
|
__args__['timeOfExpiry'] = time_of_expiry
|
279
297
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
@@ -288,5 +306,6 @@ def get_audit_archive_retrievals_output(access_level: Optional[pulumi.Input[Opti
|
|
288
306
|
filters=pulumi.get(__response__, 'filters'),
|
289
307
|
id=pulumi.get(__response__, 'id'),
|
290
308
|
state=pulumi.get(__response__, 'state'),
|
309
|
+
target_database_group_id=pulumi.get(__response__, 'target_database_group_id'),
|
291
310
|
target_id=pulumi.get(__response__, 'target_id'),
|
292
311
|
time_of_expiry=pulumi.get(__response__, 'time_of_expiry')))
|