pulumi-oci 1.34.0a1714544127__py3-none-any.whl → 1.34.0a1714766740__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 +40 -0
- pulumi_oci/config/__init__.pyi +2 -2
- pulumi_oci/config/vars.py +2 -2
- pulumi_oci/database/db_home.py +47 -0
- pulumi_oci/database/get_db_home.py +14 -1
- pulumi_oci/database/outputs.py +11 -0
- pulumi_oci/databasemanagement/__init__.py +5 -0
- pulumi_oci/databasemanagement/_inputs.py +1207 -2
- pulumi_oci/databasemanagement/database_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/db_management_private_endpoint.py +28 -0
- pulumi_oci/databasemanagement/external_asm.py +28 -0
- pulumi_oci/databasemanagement/external_asm_instance.py +28 -0
- pulumi_oci/databasemanagement/external_cluster.py +28 -0
- pulumi_oci/databasemanagement/external_cluster_instance.py +28 -0
- pulumi_oci/databasemanagement/external_db_home.py +28 -0
- pulumi_oci/databasemanagement/external_db_node.py +28 -0
- pulumi_oci/databasemanagement/external_db_system.py +28 -0
- pulumi_oci/databasemanagement/external_db_system_connector.py +28 -0
- pulumi_oci/databasemanagement/external_db_system_discovery.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_infrastructure.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_connector.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_grid.py +28 -0
- pulumi_oci/databasemanagement/external_exadata_storage_server.py +28 -0
- pulumi_oci/databasemanagement/external_listener.py +28 -0
- pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +275 -0
- pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +14 -1
- pulumi_oci/databasemanagement/get_external_asm.py +14 -1
- pulumi_oci/databasemanagement/get_external_asm_instance.py +14 -1
- pulumi_oci/databasemanagement/get_external_cluster.py +14 -1
- pulumi_oci/databasemanagement/get_external_cluster_instance.py +14 -1
- pulumi_oci/databasemanagement/get_external_databases.py +18 -1
- pulumi_oci/databasemanagement/get_external_db_home.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_node.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system_connector.py +14 -1
- pulumi_oci/databasemanagement/get_external_db_system_discovery.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +14 -1
- pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +14 -1
- pulumi_oci/databasemanagement/get_external_listener.py +14 -1
- pulumi_oci/databasemanagement/get_managed_database_group.py +14 -1
- pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
- pulumi_oci/databasemanagement/get_named_credential.py +14 -1
- pulumi_oci/databasemanagement/managed_database.py +28 -0
- pulumi_oci/databasemanagement/managed_database_group.py +28 -0
- pulumi_oci/databasemanagement/named_credential.py +28 -0
- pulumi_oci/databasemanagement/outputs.py +1723 -214
- pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +275 -0
- pulumi_oci/datasafe/__init__.py +3 -0
- pulumi_oci/datasafe/_inputs.py +80 -0
- pulumi_oci/datasafe/get_masking_policy.py +11 -1
- pulumi_oci/datasafe/get_masking_policy_health_report.py +235 -0
- pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +153 -0
- pulumi_oci/datasafe/get_masking_policy_health_reports.py +267 -0
- pulumi_oci/datasafe/masking_policy.py +75 -28
- pulumi_oci/datasafe/outputs.py +287 -0
- pulumi_oci/provider.py +8 -8
- pulumi_oci/recoverymod/_inputs.py +16 -0
- pulumi_oci/recoverymod/get_protected_database.py +25 -5
- pulumi_oci/recoverymod/get_protection_policies.py +1 -7
- pulumi_oci/recoverymod/get_protection_policy.py +15 -8
- pulumi_oci/recoverymod/get_recovery_service_subnet.py +32 -9
- pulumi_oci/recoverymod/get_recovery_service_subnets.py +3 -21
- pulumi_oci/recoverymod/outputs.py +96 -24
- pulumi_oci/recoverymod/protected_database.py +95 -16
- pulumi_oci/recoverymod/protection_policy.py +121 -54
- pulumi_oci/recoverymod/recovery_service_subnet.py +143 -55
- {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/METADATA +1 -1
- {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/RECORD +74 -66
- {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.34.0a1714544127.dist-info → pulumi_oci-1.34.0a1714766740.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,153 @@
|
|
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
|
+
'GetMaskingPolicyHealthReportLogsResult',
|
16
|
+
'AwaitableGetMaskingPolicyHealthReportLogsResult',
|
17
|
+
'get_masking_policy_health_report_logs',
|
18
|
+
'get_masking_policy_health_report_logs_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetMaskingPolicyHealthReportLogsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getMaskingPolicyHealthReportLogs.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, filters=None, id=None, masking_policy_health_report_id=None, masking_policy_health_report_log_collections=None, message_type=None):
|
27
|
+
if filters and not isinstance(filters, list):
|
28
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
29
|
+
pulumi.set(__self__, "filters", filters)
|
30
|
+
if id and not isinstance(id, str):
|
31
|
+
raise TypeError("Expected argument 'id' to be a str")
|
32
|
+
pulumi.set(__self__, "id", id)
|
33
|
+
if masking_policy_health_report_id and not isinstance(masking_policy_health_report_id, str):
|
34
|
+
raise TypeError("Expected argument 'masking_policy_health_report_id' to be a str")
|
35
|
+
pulumi.set(__self__, "masking_policy_health_report_id", masking_policy_health_report_id)
|
36
|
+
if masking_policy_health_report_log_collections and not isinstance(masking_policy_health_report_log_collections, list):
|
37
|
+
raise TypeError("Expected argument 'masking_policy_health_report_log_collections' to be a list")
|
38
|
+
pulumi.set(__self__, "masking_policy_health_report_log_collections", masking_policy_health_report_log_collections)
|
39
|
+
if message_type and not isinstance(message_type, str):
|
40
|
+
raise TypeError("Expected argument 'message_type' to be a str")
|
41
|
+
pulumi.set(__self__, "message_type", message_type)
|
42
|
+
|
43
|
+
@property
|
44
|
+
@pulumi.getter
|
45
|
+
def filters(self) -> Optional[Sequence['outputs.GetMaskingPolicyHealthReportLogsFilterResult']]:
|
46
|
+
return pulumi.get(self, "filters")
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def id(self) -> str:
|
51
|
+
"""
|
52
|
+
The provider-assigned unique ID for this managed resource.
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "id")
|
55
|
+
|
56
|
+
@property
|
57
|
+
@pulumi.getter(name="maskingPolicyHealthReportId")
|
58
|
+
def masking_policy_health_report_id(self) -> str:
|
59
|
+
return pulumi.get(self, "masking_policy_health_report_id")
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="maskingPolicyHealthReportLogCollections")
|
63
|
+
def masking_policy_health_report_log_collections(self) -> Sequence['outputs.GetMaskingPolicyHealthReportLogsMaskingPolicyHealthReportLogCollectionResult']:
|
64
|
+
"""
|
65
|
+
The list of masking_policy_health_report_log_collection.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "masking_policy_health_report_log_collections")
|
68
|
+
|
69
|
+
@property
|
70
|
+
@pulumi.getter(name="messageType")
|
71
|
+
def message_type(self) -> Optional[str]:
|
72
|
+
"""
|
73
|
+
The log entry type.
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "message_type")
|
76
|
+
|
77
|
+
|
78
|
+
class AwaitableGetMaskingPolicyHealthReportLogsResult(GetMaskingPolicyHealthReportLogsResult):
|
79
|
+
# pylint: disable=using-constant-test
|
80
|
+
def __await__(self):
|
81
|
+
if False:
|
82
|
+
yield self
|
83
|
+
return GetMaskingPolicyHealthReportLogsResult(
|
84
|
+
filters=self.filters,
|
85
|
+
id=self.id,
|
86
|
+
masking_policy_health_report_id=self.masking_policy_health_report_id,
|
87
|
+
masking_policy_health_report_log_collections=self.masking_policy_health_report_log_collections,
|
88
|
+
message_type=self.message_type)
|
89
|
+
|
90
|
+
|
91
|
+
def get_masking_policy_health_report_logs(filters: Optional[Sequence[pulumi.InputType['GetMaskingPolicyHealthReportLogsFilterArgs']]] = None,
|
92
|
+
masking_policy_health_report_id: Optional[str] = None,
|
93
|
+
message_type: Optional[str] = None,
|
94
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaskingPolicyHealthReportLogsResult:
|
95
|
+
"""
|
96
|
+
This data source provides the list of Masking Policy Health Report Logs in Oracle Cloud Infrastructure Data Safe service.
|
97
|
+
|
98
|
+
Gets a list of errors and warnings from a masking policy health check.
|
99
|
+
|
100
|
+
## Example Usage
|
101
|
+
|
102
|
+
```python
|
103
|
+
import pulumi
|
104
|
+
import pulumi_oci as oci
|
105
|
+
|
106
|
+
test_masking_policy_health_report_logs = oci.DataSafe.get_masking_policy_health_report_logs(masking_policy_health_report_id=test_masking_policy_health_report["id"],
|
107
|
+
message_type=masking_policy_health_report_log_message_type)
|
108
|
+
```
|
109
|
+
|
110
|
+
|
111
|
+
:param str masking_policy_health_report_id: The OCID of the masking health report.
|
112
|
+
:param str message_type: A filter to return only the resources that match the specified log message type.
|
113
|
+
"""
|
114
|
+
__args__ = dict()
|
115
|
+
__args__['filters'] = filters
|
116
|
+
__args__['maskingPolicyHealthReportId'] = masking_policy_health_report_id
|
117
|
+
__args__['messageType'] = message_type
|
118
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
119
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getMaskingPolicyHealthReportLogs:getMaskingPolicyHealthReportLogs', __args__, opts=opts, typ=GetMaskingPolicyHealthReportLogsResult).value
|
120
|
+
|
121
|
+
return AwaitableGetMaskingPolicyHealthReportLogsResult(
|
122
|
+
filters=pulumi.get(__ret__, 'filters'),
|
123
|
+
id=pulumi.get(__ret__, 'id'),
|
124
|
+
masking_policy_health_report_id=pulumi.get(__ret__, 'masking_policy_health_report_id'),
|
125
|
+
masking_policy_health_report_log_collections=pulumi.get(__ret__, 'masking_policy_health_report_log_collections'),
|
126
|
+
message_type=pulumi.get(__ret__, 'message_type'))
|
127
|
+
|
128
|
+
|
129
|
+
@_utilities.lift_output_func(get_masking_policy_health_report_logs)
|
130
|
+
def get_masking_policy_health_report_logs_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetMaskingPolicyHealthReportLogsFilterArgs']]]]] = None,
|
131
|
+
masking_policy_health_report_id: Optional[pulumi.Input[str]] = None,
|
132
|
+
message_type: Optional[pulumi.Input[Optional[str]]] = None,
|
133
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaskingPolicyHealthReportLogsResult]:
|
134
|
+
"""
|
135
|
+
This data source provides the list of Masking Policy Health Report Logs in Oracle Cloud Infrastructure Data Safe service.
|
136
|
+
|
137
|
+
Gets a list of errors and warnings from a masking policy health check.
|
138
|
+
|
139
|
+
## Example Usage
|
140
|
+
|
141
|
+
```python
|
142
|
+
import pulumi
|
143
|
+
import pulumi_oci as oci
|
144
|
+
|
145
|
+
test_masking_policy_health_report_logs = oci.DataSafe.get_masking_policy_health_report_logs(masking_policy_health_report_id=test_masking_policy_health_report["id"],
|
146
|
+
message_type=masking_policy_health_report_log_message_type)
|
147
|
+
```
|
148
|
+
|
149
|
+
|
150
|
+
:param str masking_policy_health_report_id: The OCID of the masking health report.
|
151
|
+
:param str message_type: A filter to return only the resources that match the specified log message type.
|
152
|
+
"""
|
153
|
+
...
|
@@ -0,0 +1,267 @@
|
|
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
|
+
'GetMaskingPolicyHealthReportsResult',
|
16
|
+
'AwaitableGetMaskingPolicyHealthReportsResult',
|
17
|
+
'get_masking_policy_health_reports',
|
18
|
+
'get_masking_policy_health_reports_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetMaskingPolicyHealthReportsResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getMaskingPolicyHealthReports.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, masking_policy_health_report_collections=None, masking_policy_health_report_id=None, masking_policy_id=None, state=None, target_id=None):
|
27
|
+
if access_level and not isinstance(access_level, str):
|
28
|
+
raise TypeError("Expected argument 'access_level' to be a str")
|
29
|
+
pulumi.set(__self__, "access_level", access_level)
|
30
|
+
if compartment_id and not isinstance(compartment_id, str):
|
31
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
33
|
+
if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
|
34
|
+
raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
|
35
|
+
pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
|
36
|
+
if display_name and not isinstance(display_name, str):
|
37
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name", display_name)
|
39
|
+
if filters and not isinstance(filters, list):
|
40
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
41
|
+
pulumi.set(__self__, "filters", filters)
|
42
|
+
if id and not isinstance(id, str):
|
43
|
+
raise TypeError("Expected argument 'id' to be a str")
|
44
|
+
pulumi.set(__self__, "id", id)
|
45
|
+
if masking_policy_health_report_collections and not isinstance(masking_policy_health_report_collections, list):
|
46
|
+
raise TypeError("Expected argument 'masking_policy_health_report_collections' to be a list")
|
47
|
+
pulumi.set(__self__, "masking_policy_health_report_collections", masking_policy_health_report_collections)
|
48
|
+
if masking_policy_health_report_id and not isinstance(masking_policy_health_report_id, str):
|
49
|
+
raise TypeError("Expected argument 'masking_policy_health_report_id' to be a str")
|
50
|
+
pulumi.set(__self__, "masking_policy_health_report_id", masking_policy_health_report_id)
|
51
|
+
if masking_policy_id and not isinstance(masking_policy_id, str):
|
52
|
+
raise TypeError("Expected argument 'masking_policy_id' to be a str")
|
53
|
+
pulumi.set(__self__, "masking_policy_id", masking_policy_id)
|
54
|
+
if state and not isinstance(state, str):
|
55
|
+
raise TypeError("Expected argument 'state' to be a str")
|
56
|
+
pulumi.set(__self__, "state", state)
|
57
|
+
if target_id and not isinstance(target_id, str):
|
58
|
+
raise TypeError("Expected argument 'target_id' to be a str")
|
59
|
+
pulumi.set(__self__, "target_id", target_id)
|
60
|
+
|
61
|
+
@property
|
62
|
+
@pulumi.getter(name="accessLevel")
|
63
|
+
def access_level(self) -> Optional[str]:
|
64
|
+
return pulumi.get(self, "access_level")
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="compartmentId")
|
68
|
+
def compartment_id(self) -> str:
|
69
|
+
"""
|
70
|
+
The OCID of the compartment that contains the health report.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "compartment_id")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="compartmentIdInSubtree")
|
76
|
+
def compartment_id_in_subtree(self) -> Optional[bool]:
|
77
|
+
return pulumi.get(self, "compartment_id_in_subtree")
|
78
|
+
|
79
|
+
@property
|
80
|
+
@pulumi.getter(name="displayName")
|
81
|
+
def display_name(self) -> Optional[str]:
|
82
|
+
"""
|
83
|
+
The display name of the health report.
|
84
|
+
"""
|
85
|
+
return pulumi.get(self, "display_name")
|
86
|
+
|
87
|
+
@property
|
88
|
+
@pulumi.getter
|
89
|
+
def filters(self) -> Optional[Sequence['outputs.GetMaskingPolicyHealthReportsFilterResult']]:
|
90
|
+
return pulumi.get(self, "filters")
|
91
|
+
|
92
|
+
@property
|
93
|
+
@pulumi.getter
|
94
|
+
def id(self) -> str:
|
95
|
+
"""
|
96
|
+
The provider-assigned unique ID for this managed resource.
|
97
|
+
"""
|
98
|
+
return pulumi.get(self, "id")
|
99
|
+
|
100
|
+
@property
|
101
|
+
@pulumi.getter(name="maskingPolicyHealthReportCollections")
|
102
|
+
def masking_policy_health_report_collections(self) -> Sequence['outputs.GetMaskingPolicyHealthReportsMaskingPolicyHealthReportCollectionResult']:
|
103
|
+
"""
|
104
|
+
The list of masking_policy_health_report_collection.
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "masking_policy_health_report_collections")
|
107
|
+
|
108
|
+
@property
|
109
|
+
@pulumi.getter(name="maskingPolicyHealthReportId")
|
110
|
+
def masking_policy_health_report_id(self) -> Optional[str]:
|
111
|
+
return pulumi.get(self, "masking_policy_health_report_id")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="maskingPolicyId")
|
115
|
+
def masking_policy_id(self) -> Optional[str]:
|
116
|
+
"""
|
117
|
+
The OCID of the masking policy.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "masking_policy_id")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def state(self) -> Optional[str]:
|
124
|
+
"""
|
125
|
+
The current state of the health report.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "state")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter(name="targetId")
|
131
|
+
def target_id(self) -> Optional[str]:
|
132
|
+
"""
|
133
|
+
The OCID of the target database for which this report was created.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "target_id")
|
136
|
+
|
137
|
+
|
138
|
+
class AwaitableGetMaskingPolicyHealthReportsResult(GetMaskingPolicyHealthReportsResult):
|
139
|
+
# pylint: disable=using-constant-test
|
140
|
+
def __await__(self):
|
141
|
+
if False:
|
142
|
+
yield self
|
143
|
+
return GetMaskingPolicyHealthReportsResult(
|
144
|
+
access_level=self.access_level,
|
145
|
+
compartment_id=self.compartment_id,
|
146
|
+
compartment_id_in_subtree=self.compartment_id_in_subtree,
|
147
|
+
display_name=self.display_name,
|
148
|
+
filters=self.filters,
|
149
|
+
id=self.id,
|
150
|
+
masking_policy_health_report_collections=self.masking_policy_health_report_collections,
|
151
|
+
masking_policy_health_report_id=self.masking_policy_health_report_id,
|
152
|
+
masking_policy_id=self.masking_policy_id,
|
153
|
+
state=self.state,
|
154
|
+
target_id=self.target_id)
|
155
|
+
|
156
|
+
|
157
|
+
def get_masking_policy_health_reports(access_level: Optional[str] = None,
|
158
|
+
compartment_id: Optional[str] = None,
|
159
|
+
compartment_id_in_subtree: Optional[bool] = None,
|
160
|
+
display_name: Optional[str] = None,
|
161
|
+
filters: Optional[Sequence[pulumi.InputType['GetMaskingPolicyHealthReportsFilterArgs']]] = None,
|
162
|
+
masking_policy_health_report_id: Optional[str] = None,
|
163
|
+
masking_policy_id: Optional[str] = None,
|
164
|
+
state: Optional[str] = None,
|
165
|
+
target_id: Optional[str] = None,
|
166
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaskingPolicyHealthReportsResult:
|
167
|
+
"""
|
168
|
+
This data source provides the list of Masking Policy Health Reports in Oracle Cloud Infrastructure Data Safe service.
|
169
|
+
|
170
|
+
Gets a list of masking policy health reports based on the specified query parameters.
|
171
|
+
|
172
|
+
## Example Usage
|
173
|
+
|
174
|
+
```python
|
175
|
+
import pulumi
|
176
|
+
import pulumi_oci as oci
|
177
|
+
|
178
|
+
test_masking_policy_health_reports = oci.DataSafe.get_masking_policy_health_reports(compartment_id=compartment_id,
|
179
|
+
access_level=masking_policy_health_report_access_level,
|
180
|
+
compartment_id_in_subtree=masking_policy_health_report_compartment_id_in_subtree,
|
181
|
+
display_name=masking_policy_health_report_display_name,
|
182
|
+
masking_policy_health_report_id=test_masking_policy_health_report["id"],
|
183
|
+
masking_policy_id=test_masking_policy["id"],
|
184
|
+
state=masking_policy_health_report_state,
|
185
|
+
target_id=test_target["id"])
|
186
|
+
```
|
187
|
+
|
188
|
+
|
189
|
+
:param 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.
|
190
|
+
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
191
|
+
:param 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.
|
192
|
+
:param str display_name: A filter to return only resources that match the specified display name.
|
193
|
+
:param str masking_policy_health_report_id: A filter to return only the resources that match the specified masking policy health report OCID.
|
194
|
+
:param str masking_policy_id: A filter to return only the resources that match the specified masking policy OCID.
|
195
|
+
:param str state: A filter to return only the resources that match the specified lifecycle states.
|
196
|
+
:param str target_id: A filter to return only items related to a specific target OCID.
|
197
|
+
"""
|
198
|
+
__args__ = dict()
|
199
|
+
__args__['accessLevel'] = access_level
|
200
|
+
__args__['compartmentId'] = compartment_id
|
201
|
+
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
202
|
+
__args__['displayName'] = display_name
|
203
|
+
__args__['filters'] = filters
|
204
|
+
__args__['maskingPolicyHealthReportId'] = masking_policy_health_report_id
|
205
|
+
__args__['maskingPolicyId'] = masking_policy_id
|
206
|
+
__args__['state'] = state
|
207
|
+
__args__['targetId'] = target_id
|
208
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
209
|
+
__ret__ = pulumi.runtime.invoke('oci:DataSafe/getMaskingPolicyHealthReports:getMaskingPolicyHealthReports', __args__, opts=opts, typ=GetMaskingPolicyHealthReportsResult).value
|
210
|
+
|
211
|
+
return AwaitableGetMaskingPolicyHealthReportsResult(
|
212
|
+
access_level=pulumi.get(__ret__, 'access_level'),
|
213
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
214
|
+
compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
|
215
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
216
|
+
filters=pulumi.get(__ret__, 'filters'),
|
217
|
+
id=pulumi.get(__ret__, 'id'),
|
218
|
+
masking_policy_health_report_collections=pulumi.get(__ret__, 'masking_policy_health_report_collections'),
|
219
|
+
masking_policy_health_report_id=pulumi.get(__ret__, 'masking_policy_health_report_id'),
|
220
|
+
masking_policy_id=pulumi.get(__ret__, 'masking_policy_id'),
|
221
|
+
state=pulumi.get(__ret__, 'state'),
|
222
|
+
target_id=pulumi.get(__ret__, 'target_id'))
|
223
|
+
|
224
|
+
|
225
|
+
@_utilities.lift_output_func(get_masking_policy_health_reports)
|
226
|
+
def get_masking_policy_health_reports_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
|
227
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
228
|
+
compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
|
229
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
230
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetMaskingPolicyHealthReportsFilterArgs']]]]] = None,
|
231
|
+
masking_policy_health_report_id: Optional[pulumi.Input[Optional[str]]] = None,
|
232
|
+
masking_policy_id: Optional[pulumi.Input[Optional[str]]] = None,
|
233
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
234
|
+
target_id: Optional[pulumi.Input[Optional[str]]] = None,
|
235
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaskingPolicyHealthReportsResult]:
|
236
|
+
"""
|
237
|
+
This data source provides the list of Masking Policy Health Reports in Oracle Cloud Infrastructure Data Safe service.
|
238
|
+
|
239
|
+
Gets a list of masking policy health reports based on the specified query parameters.
|
240
|
+
|
241
|
+
## Example Usage
|
242
|
+
|
243
|
+
```python
|
244
|
+
import pulumi
|
245
|
+
import pulumi_oci as oci
|
246
|
+
|
247
|
+
test_masking_policy_health_reports = oci.DataSafe.get_masking_policy_health_reports(compartment_id=compartment_id,
|
248
|
+
access_level=masking_policy_health_report_access_level,
|
249
|
+
compartment_id_in_subtree=masking_policy_health_report_compartment_id_in_subtree,
|
250
|
+
display_name=masking_policy_health_report_display_name,
|
251
|
+
masking_policy_health_report_id=test_masking_policy_health_report["id"],
|
252
|
+
masking_policy_id=test_masking_policy["id"],
|
253
|
+
state=masking_policy_health_report_state,
|
254
|
+
target_id=test_target["id"])
|
255
|
+
```
|
256
|
+
|
257
|
+
|
258
|
+
:param 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.
|
259
|
+
:param str compartment_id: A filter to return only resources that match the specified compartment OCID.
|
260
|
+
:param 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.
|
261
|
+
:param str display_name: A filter to return only resources that match the specified display name.
|
262
|
+
:param str masking_policy_health_report_id: A filter to return only the resources that match the specified masking policy health report OCID.
|
263
|
+
:param str masking_policy_id: A filter to return only the resources that match the specified masking policy OCID.
|
264
|
+
:param str state: A filter to return only the resources that match the specified lifecycle states.
|
265
|
+
:param str target_id: A filter to return only items related to a specific target OCID.
|
266
|
+
"""
|
267
|
+
...
|