pulumi-oci 1.34.0__py3-none-any.whl → 1.34.0a1714457631__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. pulumi_oci/__init__.py +0 -40
  2. pulumi_oci/config/__init__.pyi +2 -2
  3. pulumi_oci/config/vars.py +2 -2
  4. pulumi_oci/database/db_home.py +0 -47
  5. pulumi_oci/database/get_db_home.py +1 -14
  6. pulumi_oci/database/outputs.py +0 -11
  7. pulumi_oci/databasemanagement/__init__.py +0 -5
  8. pulumi_oci/databasemanagement/_inputs.py +1 -1206
  9. pulumi_oci/databasemanagement/db_management_private_endpoint.py +0 -28
  10. pulumi_oci/databasemanagement/external_asm.py +0 -28
  11. pulumi_oci/databasemanagement/external_asm_instance.py +0 -28
  12. pulumi_oci/databasemanagement/external_cluster.py +0 -28
  13. pulumi_oci/databasemanagement/external_cluster_instance.py +0 -28
  14. pulumi_oci/databasemanagement/external_db_home.py +0 -28
  15. pulumi_oci/databasemanagement/external_db_node.py +0 -28
  16. pulumi_oci/databasemanagement/external_db_system.py +0 -28
  17. pulumi_oci/databasemanagement/external_db_system_connector.py +0 -28
  18. pulumi_oci/databasemanagement/external_db_system_discovery.py +0 -28
  19. pulumi_oci/databasemanagement/external_exadata_infrastructure.py +0 -28
  20. pulumi_oci/databasemanagement/external_exadata_storage_connector.py +0 -28
  21. pulumi_oci/databasemanagement/external_exadata_storage_grid.py +0 -28
  22. pulumi_oci/databasemanagement/external_exadata_storage_server.py +0 -28
  23. pulumi_oci/databasemanagement/external_listener.py +0 -28
  24. pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +1 -14
  25. pulumi_oci/databasemanagement/get_external_asm.py +1 -14
  26. pulumi_oci/databasemanagement/get_external_asm_instance.py +1 -14
  27. pulumi_oci/databasemanagement/get_external_cluster.py +1 -14
  28. pulumi_oci/databasemanagement/get_external_cluster_instance.py +1 -14
  29. pulumi_oci/databasemanagement/get_external_databases.py +1 -18
  30. pulumi_oci/databasemanagement/get_external_db_home.py +1 -14
  31. pulumi_oci/databasemanagement/get_external_db_node.py +1 -14
  32. pulumi_oci/databasemanagement/get_external_db_system.py +1 -14
  33. pulumi_oci/databasemanagement/get_external_db_system_connector.py +1 -14
  34. pulumi_oci/databasemanagement/get_external_db_system_discovery.py +1 -14
  35. pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +1 -14
  36. pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +1 -14
  37. pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +1 -14
  38. pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +1 -14
  39. pulumi_oci/databasemanagement/get_external_listener.py +1 -14
  40. pulumi_oci/databasemanagement/get_managed_database_group.py +1 -14
  41. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +6 -6
  42. pulumi_oci/databasemanagement/get_named_credential.py +1 -14
  43. pulumi_oci/databasemanagement/managed_database.py +0 -28
  44. pulumi_oci/databasemanagement/managed_database_group.py +0 -28
  45. pulumi_oci/databasemanagement/named_credential.py +0 -28
  46. pulumi_oci/databasemanagement/outputs.py +217 -1726
  47. pulumi_oci/datasafe/__init__.py +0 -3
  48. pulumi_oci/datasafe/_inputs.py +0 -80
  49. pulumi_oci/datasafe/get_masking_policy.py +1 -11
  50. pulumi_oci/datasafe/masking_policy.py +28 -75
  51. pulumi_oci/datasafe/outputs.py +0 -287
  52. pulumi_oci/provider.py +8 -8
  53. pulumi_oci/recoverymod/_inputs.py +0 -16
  54. pulumi_oci/recoverymod/get_protected_database.py +5 -25
  55. pulumi_oci/recoverymod/get_protection_policies.py +7 -1
  56. pulumi_oci/recoverymod/get_protection_policy.py +8 -15
  57. pulumi_oci/recoverymod/get_recovery_service_subnet.py +9 -32
  58. pulumi_oci/recoverymod/get_recovery_service_subnets.py +21 -3
  59. pulumi_oci/recoverymod/outputs.py +24 -96
  60. pulumi_oci/recoverymod/protected_database.py +16 -95
  61. pulumi_oci/recoverymod/protection_policy.py +54 -121
  62. pulumi_oci/recoverymod/recovery_service_subnet.py +55 -143
  63. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/METADATA +1 -1
  64. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/RECORD +66 -74
  65. pulumi_oci/databasemanagement/database_dbm_features_management.py +0 -275
  66. pulumi_oci/databasemanagement/externalcontainerdatabase_external_container_dbm_features_management.py +0 -275
  67. pulumi_oci/databasemanagement/externalnoncontainerdatabase_external_non_container_dbm_features_management.py +0 -275
  68. pulumi_oci/databasemanagement/externalpluggabledatabase_external_pluggable_dbm_features_management.py +0 -275
  69. pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +0 -275
  70. pulumi_oci/datasafe/get_masking_policy_health_report.py +0 -235
  71. pulumi_oci/datasafe/get_masking_policy_health_report_logs.py +0 -153
  72. pulumi_oci/datasafe/get_masking_policy_health_reports.py +0 -267
  73. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/WHEEL +0 -0
  74. {pulumi_oci-1.34.0.dist-info → pulumi_oci-1.34.0a1714457631.dist-info}/top_level.txt +0 -0
@@ -1,235 +0,0 @@
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
-
12
- __all__ = [
13
- 'GetMaskingPolicyHealthReportResult',
14
- 'AwaitableGetMaskingPolicyHealthReportResult',
15
- 'get_masking_policy_health_report',
16
- 'get_masking_policy_health_report_output',
17
- ]
18
-
19
- @pulumi.output_type
20
- class GetMaskingPolicyHealthReportResult:
21
- """
22
- A collection of values returned by getMaskingPolicyHealthReport.
23
- """
24
- def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, masking_policy_health_report_id=None, masking_policy_id=None, state=None, target_id=None, time_created=None, time_updated=None):
25
- if compartment_id and not isinstance(compartment_id, str):
26
- raise TypeError("Expected argument 'compartment_id' to be a str")
27
- pulumi.set(__self__, "compartment_id", compartment_id)
28
- if defined_tags and not isinstance(defined_tags, dict):
29
- raise TypeError("Expected argument 'defined_tags' to be a dict")
30
- pulumi.set(__self__, "defined_tags", defined_tags)
31
- if description and not isinstance(description, str):
32
- raise TypeError("Expected argument 'description' to be a str")
33
- pulumi.set(__self__, "description", description)
34
- if display_name and not isinstance(display_name, str):
35
- raise TypeError("Expected argument 'display_name' to be a str")
36
- pulumi.set(__self__, "display_name", display_name)
37
- if freeform_tags and not isinstance(freeform_tags, dict):
38
- raise TypeError("Expected argument 'freeform_tags' to be a dict")
39
- pulumi.set(__self__, "freeform_tags", freeform_tags)
40
- if id and not isinstance(id, str):
41
- raise TypeError("Expected argument 'id' to be a str")
42
- pulumi.set(__self__, "id", id)
43
- if masking_policy_health_report_id and not isinstance(masking_policy_health_report_id, str):
44
- raise TypeError("Expected argument 'masking_policy_health_report_id' to be a str")
45
- pulumi.set(__self__, "masking_policy_health_report_id", masking_policy_health_report_id)
46
- if masking_policy_id and not isinstance(masking_policy_id, str):
47
- raise TypeError("Expected argument 'masking_policy_id' to be a str")
48
- pulumi.set(__self__, "masking_policy_id", masking_policy_id)
49
- if state and not isinstance(state, str):
50
- raise TypeError("Expected argument 'state' to be a str")
51
- pulumi.set(__self__, "state", state)
52
- if target_id and not isinstance(target_id, str):
53
- raise TypeError("Expected argument 'target_id' to be a str")
54
- pulumi.set(__self__, "target_id", target_id)
55
- if time_created and not isinstance(time_created, str):
56
- raise TypeError("Expected argument 'time_created' to be a str")
57
- pulumi.set(__self__, "time_created", time_created)
58
- if time_updated and not isinstance(time_updated, str):
59
- raise TypeError("Expected argument 'time_updated' to be a str")
60
- pulumi.set(__self__, "time_updated", time_updated)
61
-
62
- @property
63
- @pulumi.getter(name="compartmentId")
64
- def compartment_id(self) -> str:
65
- """
66
- The OCID of the compartment that contains the health report.
67
- """
68
- return pulumi.get(self, "compartment_id")
69
-
70
- @property
71
- @pulumi.getter(name="definedTags")
72
- def defined_tags(self) -> Mapping[str, Any]:
73
- """
74
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Operations.CostCenter": "42"}`
75
- """
76
- return pulumi.get(self, "defined_tags")
77
-
78
- @property
79
- @pulumi.getter
80
- def description(self) -> str:
81
- """
82
- The description of the masking health report.
83
- """
84
- return pulumi.get(self, "description")
85
-
86
- @property
87
- @pulumi.getter(name="displayName")
88
- def display_name(self) -> str:
89
- """
90
- The display name of the health report.
91
- """
92
- return pulumi.get(self, "display_name")
93
-
94
- @property
95
- @pulumi.getter(name="freeformTags")
96
- def freeform_tags(self) -> Mapping[str, Any]:
97
- """
98
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}`
99
- """
100
- return pulumi.get(self, "freeform_tags")
101
-
102
- @property
103
- @pulumi.getter
104
- def id(self) -> str:
105
- """
106
- The provider-assigned unique ID for this managed resource.
107
- """
108
- return pulumi.get(self, "id")
109
-
110
- @property
111
- @pulumi.getter(name="maskingPolicyHealthReportId")
112
- def masking_policy_health_report_id(self) -> str:
113
- return pulumi.get(self, "masking_policy_health_report_id")
114
-
115
- @property
116
- @pulumi.getter(name="maskingPolicyId")
117
- def masking_policy_id(self) -> str:
118
- """
119
- The OCID of the masking policy.
120
- """
121
- return pulumi.get(self, "masking_policy_id")
122
-
123
- @property
124
- @pulumi.getter
125
- def state(self) -> str:
126
- """
127
- The current state of the health report.
128
- """
129
- return pulumi.get(self, "state")
130
-
131
- @property
132
- @pulumi.getter(name="targetId")
133
- def target_id(self) -> str:
134
- """
135
- The OCID of the target database for which this report was created.
136
- """
137
- return pulumi.get(self, "target_id")
138
-
139
- @property
140
- @pulumi.getter(name="timeCreated")
141
- def time_created(self) -> str:
142
- """
143
- The date and time the report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
144
- """
145
- return pulumi.get(self, "time_created")
146
-
147
- @property
148
- @pulumi.getter(name="timeUpdated")
149
- def time_updated(self) -> str:
150
- """
151
- The date and time the report was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)
152
- """
153
- return pulumi.get(self, "time_updated")
154
-
155
-
156
- class AwaitableGetMaskingPolicyHealthReportResult(GetMaskingPolicyHealthReportResult):
157
- # pylint: disable=using-constant-test
158
- def __await__(self):
159
- if False:
160
- yield self
161
- return GetMaskingPolicyHealthReportResult(
162
- compartment_id=self.compartment_id,
163
- defined_tags=self.defined_tags,
164
- description=self.description,
165
- display_name=self.display_name,
166
- freeform_tags=self.freeform_tags,
167
- id=self.id,
168
- masking_policy_health_report_id=self.masking_policy_health_report_id,
169
- masking_policy_id=self.masking_policy_id,
170
- state=self.state,
171
- target_id=self.target_id,
172
- time_created=self.time_created,
173
- time_updated=self.time_updated)
174
-
175
-
176
- def get_masking_policy_health_report(masking_policy_health_report_id: Optional[str] = None,
177
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaskingPolicyHealthReportResult:
178
- """
179
- This data source provides details about a specific Masking Policy Health Report resource in Oracle Cloud Infrastructure Data Safe service.
180
-
181
- Gets the details of the specified masking policy health report.
182
-
183
- ## Example Usage
184
-
185
- ```python
186
- import pulumi
187
- import pulumi_oci as oci
188
-
189
- test_masking_policy_health_report = oci.DataSafe.get_masking_policy_health_report(masking_policy_health_report_id=test_masking_policy_health_report_oci_data_safe_masking_policy_health_report["id"])
190
- ```
191
-
192
-
193
- :param str masking_policy_health_report_id: The OCID of the masking health report.
194
- """
195
- __args__ = dict()
196
- __args__['maskingPolicyHealthReportId'] = masking_policy_health_report_id
197
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
198
- __ret__ = pulumi.runtime.invoke('oci:DataSafe/getMaskingPolicyHealthReport:getMaskingPolicyHealthReport', __args__, opts=opts, typ=GetMaskingPolicyHealthReportResult).value
199
-
200
- return AwaitableGetMaskingPolicyHealthReportResult(
201
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
202
- defined_tags=pulumi.get(__ret__, 'defined_tags'),
203
- description=pulumi.get(__ret__, 'description'),
204
- display_name=pulumi.get(__ret__, 'display_name'),
205
- freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
206
- id=pulumi.get(__ret__, 'id'),
207
- masking_policy_health_report_id=pulumi.get(__ret__, 'masking_policy_health_report_id'),
208
- masking_policy_id=pulumi.get(__ret__, 'masking_policy_id'),
209
- state=pulumi.get(__ret__, 'state'),
210
- target_id=pulumi.get(__ret__, 'target_id'),
211
- time_created=pulumi.get(__ret__, 'time_created'),
212
- time_updated=pulumi.get(__ret__, 'time_updated'))
213
-
214
-
215
- @_utilities.lift_output_func(get_masking_policy_health_report)
216
- def get_masking_policy_health_report_output(masking_policy_health_report_id: Optional[pulumi.Input[str]] = None,
217
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMaskingPolicyHealthReportResult]:
218
- """
219
- This data source provides details about a specific Masking Policy Health Report resource in Oracle Cloud Infrastructure Data Safe service.
220
-
221
- Gets the details of the specified masking policy health report.
222
-
223
- ## Example Usage
224
-
225
- ```python
226
- import pulumi
227
- import pulumi_oci as oci
228
-
229
- test_masking_policy_health_report = oci.DataSafe.get_masking_policy_health_report(masking_policy_health_report_id=test_masking_policy_health_report_oci_data_safe_masking_policy_health_report["id"])
230
- ```
231
-
232
-
233
- :param str masking_policy_health_report_id: The OCID of the masking health report.
234
- """
235
- ...
@@ -1,153 +0,0 @@
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
- ...
@@ -1,267 +0,0 @@
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
- ...