pulumi-oci 2.24.0a1738823453__py3-none-any.whl → 2.24.0a1738857714__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 (122) hide show
  1. pulumi_oci/__init__.py +72 -0
  2. pulumi_oci/database/__init__.py +20 -0
  3. pulumi_oci/database/_inputs.py +868 -14
  4. pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
  5. pulumi_oci/database/exadata_infrastructure.py +28 -0
  6. pulumi_oci/database/execution_action.py +812 -0
  7. pulumi_oci/database/execution_window.py +856 -0
  8. pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
  9. pulumi_oci/database/get_database_maintenance_run_history.py +29 -1
  10. pulumi_oci/database/get_exadata_infrastructure.py +15 -1
  11. pulumi_oci/database/get_execution_action.py +352 -0
  12. pulumi_oci/database/get_execution_actions.py +213 -0
  13. pulumi_oci/database/get_execution_window.py +379 -0
  14. pulumi_oci/database/get_execution_windows.py +213 -0
  15. pulumi_oci/database/get_maintenance_run.py +32 -4
  16. pulumi_oci/database/get_scheduled_action.py +324 -0
  17. pulumi_oci/database/get_scheduled_action_params.py +144 -0
  18. pulumi_oci/database/get_scheduled_actions.py +240 -0
  19. pulumi_oci/database/get_scheduling_plan.py +323 -0
  20. pulumi_oci/database/get_scheduling_plans.py +243 -0
  21. pulumi_oci/database/get_scheduling_policies.py +191 -0
  22. pulumi_oci/database/get_scheduling_policy.py +268 -0
  23. pulumi_oci/database/get_scheduling_policy_recommended_scheduled_actions.py +182 -0
  24. pulumi_oci/database/get_scheduling_policy_scheduling_window.py +276 -0
  25. pulumi_oci/database/get_scheduling_policy_scheduling_windows.py +213 -0
  26. pulumi_oci/database/maintenance_run.py +58 -2
  27. pulumi_oci/database/outputs.py +11459 -7870
  28. pulumi_oci/database/scheduled_action.py +775 -0
  29. pulumi_oci/database/scheduling_plan.py +744 -0
  30. pulumi_oci/database/scheduling_policy.py +616 -0
  31. pulumi_oci/database/scheduling_policy_scheduling_window.py +584 -0
  32. pulumi_oci/datasafe/__init__.py +8 -0
  33. pulumi_oci/datasafe/_inputs.py +466 -12
  34. pulumi_oci/datasafe/alert.py +7 -7
  35. pulumi_oci/datasafe/alert_policy.py +7 -7
  36. pulumi_oci/datasafe/audit_archive_retrieval.py +7 -7
  37. pulumi_oci/datasafe/audit_policy.py +7 -7
  38. pulumi_oci/datasafe/audit_policy_management.py +21 -21
  39. pulumi_oci/datasafe/audit_profile.py +18 -18
  40. pulumi_oci/datasafe/audit_profile_management.py +21 -21
  41. pulumi_oci/datasafe/audit_trail.py +14 -14
  42. pulumi_oci/datasafe/audit_trail_management.py +14 -14
  43. pulumi_oci/datasafe/data_safe_configuration.py +4 -4
  44. pulumi_oci/datasafe/data_safe_private_endpoint.py +7 -7
  45. pulumi_oci/datasafe/database_security_config.py +7 -7
  46. pulumi_oci/datasafe/database_security_config_management.py +7 -7
  47. pulumi_oci/datasafe/discovery_mod.py +7 -7
  48. pulumi_oci/datasafe/get_alert.py +1 -1
  49. pulumi_oci/datasafe/get_alert_policy.py +1 -1
  50. pulumi_oci/datasafe/get_audit_archive_retrieval.py +1 -1
  51. pulumi_oci/datasafe/get_audit_events.py +2 -2
  52. pulumi_oci/datasafe/get_audit_policy.py +1 -1
  53. pulumi_oci/datasafe/get_audit_profile.py +2 -2
  54. pulumi_oci/datasafe/get_audit_trail.py +1 -1
  55. pulumi_oci/datasafe/get_data_safe_configuration.py +1 -1
  56. pulumi_oci/datasafe/get_data_safe_private_endpoint.py +1 -1
  57. pulumi_oci/datasafe/get_database_security_config.py +1 -1
  58. pulumi_oci/datasafe/get_discovery_job.py +1 -1
  59. pulumi_oci/datasafe/get_library_masking_format.py +1 -1
  60. pulumi_oci/datasafe/get_masking_policy.py +1 -1
  61. pulumi_oci/datasafe/get_masking_policy_health_report.py +33 -5
  62. pulumi_oci/datasafe/get_masking_policy_referential_relations.py +232 -0
  63. pulumi_oci/datasafe/get_onprem_connector.py +1 -1
  64. pulumi_oci/datasafe/get_report.py +1 -1
  65. pulumi_oci/datasafe/get_report_definition.py +1 -1
  66. pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +1 -1
  67. pulumi_oci/datasafe/get_security_assessment.py +1 -1
  68. pulumi_oci/datasafe/get_security_policy.py +1 -1
  69. pulumi_oci/datasafe/get_security_policy_deployment.py +1 -1
  70. pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
  71. pulumi_oci/datasafe/get_sensitive_data_model_referential_relation.py +186 -0
  72. pulumi_oci/datasafe/get_sensitive_data_model_referential_relations.py +254 -0
  73. pulumi_oci/datasafe/get_sensitive_type.py +1 -1
  74. pulumi_oci/datasafe/get_sensitive_types_export.py +267 -0
  75. pulumi_oci/datasafe/get_sensitive_types_exports.py +296 -0
  76. pulumi_oci/datasafe/get_sql_collection.py +1 -1
  77. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +1 -1
  78. pulumi_oci/datasafe/get_sql_firewall_policy.py +1 -1
  79. pulumi_oci/datasafe/get_target_alert_policy_association.py +1 -1
  80. pulumi_oci/datasafe/get_target_database.py +1 -1
  81. pulumi_oci/datasafe/get_user_assessment.py +1 -1
  82. pulumi_oci/datasafe/get_user_assessment_password_expiry_date_analytics.py +240 -0
  83. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +41 -3
  84. pulumi_oci/datasafe/get_user_assessment_users.py +39 -1
  85. pulumi_oci/datasafe/library_masing_format.py +7 -7
  86. pulumi_oci/datasafe/masking_policy.py +7 -7
  87. pulumi_oci/datasafe/on_prem_connector.py +7 -7
  88. pulumi_oci/datasafe/outputs.py +1266 -151
  89. pulumi_oci/datasafe/report.py +7 -7
  90. pulumi_oci/datasafe/report_definition.py +7 -7
  91. pulumi_oci/datasafe/sdm_masking_policy_difference.py +7 -7
  92. pulumi_oci/datasafe/security_assessment.py +36 -37
  93. pulumi_oci/datasafe/security_policy.py +7 -7
  94. pulumi_oci/datasafe/security_policy_deployment.py +7 -7
  95. pulumi_oci/datasafe/security_policy_deployment_management.py +7 -7
  96. pulumi_oci/datasafe/security_policy_management.py +7 -7
  97. pulumi_oci/datasafe/sensitive_data_model.py +7 -7
  98. pulumi_oci/datasafe/sensitive_data_model_referential_relation.py +504 -0
  99. pulumi_oci/datasafe/sensitive_type.py +7 -7
  100. pulumi_oci/datasafe/sensitive_types_export.py +637 -0
  101. pulumi_oci/datasafe/sql_collection.py +7 -7
  102. pulumi_oci/datasafe/sql_firewall_policy.py +7 -7
  103. pulumi_oci/datasafe/sql_firewall_policy_management.py +56 -56
  104. pulumi_oci/datasafe/target_alert_policy_association.py +7 -7
  105. pulumi_oci/datasafe/target_database.py +7 -7
  106. pulumi_oci/datasafe/user_assessment.py +7 -7
  107. pulumi_oci/datascience/__init__.py +4 -0
  108. pulumi_oci/datascience/_inputs.py +1811 -0
  109. pulumi_oci/datascience/get_containers.py +270 -0
  110. pulumi_oci/datascience/get_schedule.py +366 -0
  111. pulumi_oci/datascience/get_schedules.py +221 -0
  112. pulumi_oci/datascience/outputs.py +8697 -4890
  113. pulumi_oci/datascience/schedule.py +1045 -0
  114. pulumi_oci/mysql/_inputs.py +229 -9
  115. pulumi_oci/mysql/get_mysql_db_system.py +47 -1
  116. pulumi_oci/mysql/mysql_db_system.py +185 -0
  117. pulumi_oci/mysql/outputs.py +477 -26
  118. pulumi_oci/pulumi-plugin.json +1 -1
  119. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/METADATA +1 -1
  120. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/RECORD +122 -90
  121. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/WHEEL +0 -0
  122. {pulumi_oci-2.24.0a1738823453.dist-info → pulumi_oci-2.24.0a1738857714.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,296 @@
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 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
+ 'GetSensitiveTypesExportsResult',
21
+ 'AwaitableGetSensitiveTypesExportsResult',
22
+ 'get_sensitive_types_exports',
23
+ 'get_sensitive_types_exports_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetSensitiveTypesExportsResult:
28
+ """
29
+ A collection of values returned by getSensitiveTypesExports.
30
+ """
31
+ def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, filters=None, id=None, sensitive_types_export_collections=None, sensitive_types_export_id=None, state=None, time_created_greater_than_or_equal_to=None, time_created_less_than=None):
32
+ if access_level and not isinstance(access_level, str):
33
+ raise TypeError("Expected argument 'access_level' to be a str")
34
+ pulumi.set(__self__, "access_level", access_level)
35
+ if compartment_id and not isinstance(compartment_id, str):
36
+ raise TypeError("Expected argument 'compartment_id' to be a str")
37
+ pulumi.set(__self__, "compartment_id", compartment_id)
38
+ if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
39
+ raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
40
+ pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
41
+ if display_name and not isinstance(display_name, str):
42
+ raise TypeError("Expected argument 'display_name' to be a str")
43
+ pulumi.set(__self__, "display_name", display_name)
44
+ if filters and not isinstance(filters, list):
45
+ raise TypeError("Expected argument 'filters' to be a list")
46
+ pulumi.set(__self__, "filters", filters)
47
+ if id and not isinstance(id, str):
48
+ raise TypeError("Expected argument 'id' to be a str")
49
+ pulumi.set(__self__, "id", id)
50
+ if sensitive_types_export_collections and not isinstance(sensitive_types_export_collections, list):
51
+ raise TypeError("Expected argument 'sensitive_types_export_collections' to be a list")
52
+ pulumi.set(__self__, "sensitive_types_export_collections", sensitive_types_export_collections)
53
+ if sensitive_types_export_id and not isinstance(sensitive_types_export_id, str):
54
+ raise TypeError("Expected argument 'sensitive_types_export_id' to be a str")
55
+ pulumi.set(__self__, "sensitive_types_export_id", sensitive_types_export_id)
56
+ if state and not isinstance(state, str):
57
+ raise TypeError("Expected argument 'state' to be a str")
58
+ pulumi.set(__self__, "state", state)
59
+ if time_created_greater_than_or_equal_to and not isinstance(time_created_greater_than_or_equal_to, str):
60
+ raise TypeError("Expected argument 'time_created_greater_than_or_equal_to' to be a str")
61
+ pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to)
62
+ if time_created_less_than and not isinstance(time_created_less_than, str):
63
+ raise TypeError("Expected argument 'time_created_less_than' to be a str")
64
+ pulumi.set(__self__, "time_created_less_than", time_created_less_than)
65
+
66
+ @property
67
+ @pulumi.getter(name="accessLevel")
68
+ def access_level(self) -> Optional[str]:
69
+ return pulumi.get(self, "access_level")
70
+
71
+ @property
72
+ @pulumi.getter(name="compartmentId")
73
+ def compartment_id(self) -> str:
74
+ """
75
+ The OCID of the compartment that contains the sensitive types export.
76
+ """
77
+ return pulumi.get(self, "compartment_id")
78
+
79
+ @property
80
+ @pulumi.getter(name="compartmentIdInSubtree")
81
+ def compartment_id_in_subtree(self) -> Optional[bool]:
82
+ return pulumi.get(self, "compartment_id_in_subtree")
83
+
84
+ @property
85
+ @pulumi.getter(name="displayName")
86
+ def display_name(self) -> Optional[str]:
87
+ """
88
+ The display name of the sensitive types export.
89
+ """
90
+ return pulumi.get(self, "display_name")
91
+
92
+ @property
93
+ @pulumi.getter
94
+ def filters(self) -> Optional[Sequence['outputs.GetSensitiveTypesExportsFilterResult']]:
95
+ return pulumi.get(self, "filters")
96
+
97
+ @property
98
+ @pulumi.getter
99
+ def id(self) -> str:
100
+ """
101
+ The provider-assigned unique ID for this managed resource.
102
+ """
103
+ return pulumi.get(self, "id")
104
+
105
+ @property
106
+ @pulumi.getter(name="sensitiveTypesExportCollections")
107
+ def sensitive_types_export_collections(self) -> Sequence['outputs.GetSensitiveTypesExportsSensitiveTypesExportCollectionResult']:
108
+ """
109
+ The list of sensitive_types_export_collection.
110
+ """
111
+ return pulumi.get(self, "sensitive_types_export_collections")
112
+
113
+ @property
114
+ @pulumi.getter(name="sensitiveTypesExportId")
115
+ def sensitive_types_export_id(self) -> Optional[str]:
116
+ return pulumi.get(self, "sensitive_types_export_id")
117
+
118
+ @property
119
+ @pulumi.getter
120
+ def state(self) -> Optional[str]:
121
+ """
122
+ The current state of the sensitive types export.
123
+ """
124
+ return pulumi.get(self, "state")
125
+
126
+ @property
127
+ @pulumi.getter(name="timeCreatedGreaterThanOrEqualTo")
128
+ def time_created_greater_than_or_equal_to(self) -> Optional[str]:
129
+ return pulumi.get(self, "time_created_greater_than_or_equal_to")
130
+
131
+ @property
132
+ @pulumi.getter(name="timeCreatedLessThan")
133
+ def time_created_less_than(self) -> Optional[str]:
134
+ return pulumi.get(self, "time_created_less_than")
135
+
136
+
137
+ class AwaitableGetSensitiveTypesExportsResult(GetSensitiveTypesExportsResult):
138
+ # pylint: disable=using-constant-test
139
+ def __await__(self):
140
+ if False:
141
+ yield self
142
+ return GetSensitiveTypesExportsResult(
143
+ access_level=self.access_level,
144
+ compartment_id=self.compartment_id,
145
+ compartment_id_in_subtree=self.compartment_id_in_subtree,
146
+ display_name=self.display_name,
147
+ filters=self.filters,
148
+ id=self.id,
149
+ sensitive_types_export_collections=self.sensitive_types_export_collections,
150
+ sensitive_types_export_id=self.sensitive_types_export_id,
151
+ state=self.state,
152
+ time_created_greater_than_or_equal_to=self.time_created_greater_than_or_equal_to,
153
+ time_created_less_than=self.time_created_less_than)
154
+
155
+
156
+ def get_sensitive_types_exports(access_level: Optional[str] = None,
157
+ compartment_id: Optional[str] = None,
158
+ compartment_id_in_subtree: Optional[bool] = None,
159
+ display_name: Optional[str] = None,
160
+ filters: Optional[Sequence[Union['GetSensitiveTypesExportsFilterArgs', 'GetSensitiveTypesExportsFilterArgsDict']]] = None,
161
+ sensitive_types_export_id: Optional[str] = None,
162
+ state: Optional[str] = None,
163
+ time_created_greater_than_or_equal_to: Optional[str] = None,
164
+ time_created_less_than: Optional[str] = None,
165
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSensitiveTypesExportsResult:
166
+ """
167
+ This data source provides the list of Sensitive Types Exports in Oracle Cloud Infrastructure Data Safe service.
168
+
169
+ Retrieves a list of all sensitive types export in Data Safe based on the specified query parameters.
170
+ The ListSensitiveTypesExports operation returns only the sensitive types export in the specified `compartmentId`.
171
+
172
+ ## Example Usage
173
+
174
+ ```python
175
+ import pulumi
176
+ import pulumi_oci as oci
177
+
178
+ test_sensitive_types_exports = oci.DataSafe.get_sensitive_types_exports(compartment_id=compartment_id,
179
+ access_level=sensitive_types_export_access_level,
180
+ compartment_id_in_subtree=sensitive_types_export_compartment_id_in_subtree,
181
+ display_name=sensitive_types_export_display_name,
182
+ sensitive_types_export_id=test_sensitive_types_export["id"],
183
+ state=sensitive_types_export_state,
184
+ time_created_greater_than_or_equal_to=sensitive_types_export_time_created_greater_than_or_equal_to,
185
+ time_created_less_than=sensitive_types_export_time_created_less_than)
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 sensitive_types_export_id: An optional filter to return only resources that match the specified OCID of the sensitive types export resource.
194
+ :param str state: A filter to return only the resources that match the specified lifecycle state.
195
+ :param str time_created_greater_than_or_equal_to: A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
196
+
197
+ **Example:** 2016-12-19T16:39:57.600Z
198
+ :param str time_created_less_than: Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
199
+
200
+ **Example:** 2016-12-19T16:39:57.600Z
201
+ """
202
+ __args__ = dict()
203
+ __args__['accessLevel'] = access_level
204
+ __args__['compartmentId'] = compartment_id
205
+ __args__['compartmentIdInSubtree'] = compartment_id_in_subtree
206
+ __args__['displayName'] = display_name
207
+ __args__['filters'] = filters
208
+ __args__['sensitiveTypesExportId'] = sensitive_types_export_id
209
+ __args__['state'] = state
210
+ __args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
211
+ __args__['timeCreatedLessThan'] = time_created_less_than
212
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
213
+ __ret__ = pulumi.runtime.invoke('oci:DataSafe/getSensitiveTypesExports:getSensitiveTypesExports', __args__, opts=opts, typ=GetSensitiveTypesExportsResult).value
214
+
215
+ return AwaitableGetSensitiveTypesExportsResult(
216
+ access_level=pulumi.get(__ret__, 'access_level'),
217
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
218
+ compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
219
+ display_name=pulumi.get(__ret__, 'display_name'),
220
+ filters=pulumi.get(__ret__, 'filters'),
221
+ id=pulumi.get(__ret__, 'id'),
222
+ sensitive_types_export_collections=pulumi.get(__ret__, 'sensitive_types_export_collections'),
223
+ sensitive_types_export_id=pulumi.get(__ret__, 'sensitive_types_export_id'),
224
+ state=pulumi.get(__ret__, 'state'),
225
+ time_created_greater_than_or_equal_to=pulumi.get(__ret__, 'time_created_greater_than_or_equal_to'),
226
+ time_created_less_than=pulumi.get(__ret__, 'time_created_less_than'))
227
+ def get_sensitive_types_exports_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
228
+ compartment_id: Optional[pulumi.Input[str]] = None,
229
+ compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
230
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
231
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSensitiveTypesExportsFilterArgs', 'GetSensitiveTypesExportsFilterArgsDict']]]]] = None,
232
+ sensitive_types_export_id: Optional[pulumi.Input[Optional[str]]] = None,
233
+ state: Optional[pulumi.Input[Optional[str]]] = None,
234
+ time_created_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
235
+ time_created_less_than: Optional[pulumi.Input[Optional[str]]] = None,
236
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSensitiveTypesExportsResult]:
237
+ """
238
+ This data source provides the list of Sensitive Types Exports in Oracle Cloud Infrastructure Data Safe service.
239
+
240
+ Retrieves a list of all sensitive types export in Data Safe based on the specified query parameters.
241
+ The ListSensitiveTypesExports operation returns only the sensitive types export in the specified `compartmentId`.
242
+
243
+ ## Example Usage
244
+
245
+ ```python
246
+ import pulumi
247
+ import pulumi_oci as oci
248
+
249
+ test_sensitive_types_exports = oci.DataSafe.get_sensitive_types_exports(compartment_id=compartment_id,
250
+ access_level=sensitive_types_export_access_level,
251
+ compartment_id_in_subtree=sensitive_types_export_compartment_id_in_subtree,
252
+ display_name=sensitive_types_export_display_name,
253
+ sensitive_types_export_id=test_sensitive_types_export["id"],
254
+ state=sensitive_types_export_state,
255
+ time_created_greater_than_or_equal_to=sensitive_types_export_time_created_greater_than_or_equal_to,
256
+ time_created_less_than=sensitive_types_export_time_created_less_than)
257
+ ```
258
+
259
+
260
+ :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.
261
+ :param str compartment_id: A filter to return only resources that match the specified compartment OCID.
262
+ :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.
263
+ :param str display_name: A filter to return only resources that match the specified display name.
264
+ :param str sensitive_types_export_id: An optional filter to return only resources that match the specified OCID of the sensitive types export resource.
265
+ :param str state: A filter to return only the resources that match the specified lifecycle state.
266
+ :param str time_created_greater_than_or_equal_to: A filter to return only the resources that were created after the specified date and time, as defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Using TimeCreatedGreaterThanOrEqualToQueryParam parameter retrieves all resources created after that date.
267
+
268
+ **Example:** 2016-12-19T16:39:57.600Z
269
+ :param str time_created_less_than: Search for resources that were created before a specific date. Specifying this parameter corresponding `timeCreatedLessThan` parameter will retrieve all resources created before the specified created date, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339.
270
+
271
+ **Example:** 2016-12-19T16:39:57.600Z
272
+ """
273
+ __args__ = dict()
274
+ __args__['accessLevel'] = access_level
275
+ __args__['compartmentId'] = compartment_id
276
+ __args__['compartmentIdInSubtree'] = compartment_id_in_subtree
277
+ __args__['displayName'] = display_name
278
+ __args__['filters'] = filters
279
+ __args__['sensitiveTypesExportId'] = sensitive_types_export_id
280
+ __args__['state'] = state
281
+ __args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
282
+ __args__['timeCreatedLessThan'] = time_created_less_than
283
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
284
+ __ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSensitiveTypesExports:getSensitiveTypesExports', __args__, opts=opts, typ=GetSensitiveTypesExportsResult)
285
+ return __ret__.apply(lambda __response__: GetSensitiveTypesExportsResult(
286
+ access_level=pulumi.get(__response__, 'access_level'),
287
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
288
+ compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
289
+ display_name=pulumi.get(__response__, 'display_name'),
290
+ filters=pulumi.get(__response__, 'filters'),
291
+ id=pulumi.get(__response__, 'id'),
292
+ sensitive_types_export_collections=pulumi.get(__response__, 'sensitive_types_export_collections'),
293
+ sensitive_types_export_id=pulumi.get(__response__, 'sensitive_types_export_id'),
294
+ state=pulumi.get(__response__, 'state'),
295
+ time_created_greater_than_or_equal_to=pulumi.get(__response__, 'time_created_greater_than_or_equal_to'),
296
+ time_created_less_than=pulumi.get(__response__, 'time_created_less_than')))
@@ -117,7 +117,7 @@ class GetSqlCollectionResult:
117
117
  @pulumi.getter(name="definedTags")
118
118
  def defined_tags(self) -> Mapping[str, str]:
119
119
  """
120
- 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"}`
120
+ 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"}`
121
121
  """
122
122
  return pulumi.get(self, "defined_tags")
123
123
 
@@ -110,7 +110,7 @@ class GetSqlFirewallAllowedSqlResult:
110
110
  @pulumi.getter(name="definedTags")
111
111
  def defined_tags(self) -> Mapping[str, str]:
112
112
  """
113
- 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"}`
113
+ 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"}`
114
114
  """
115
115
  return pulumi.get(self, "defined_tags")
116
116
 
@@ -138,7 +138,7 @@ class GetSqlFirewallPolicyResult:
138
138
  @pulumi.getter(name="definedTags")
139
139
  def defined_tags(self) -> Mapping[str, str]:
140
140
  """
141
- 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"}`
141
+ 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"}`
142
142
  """
143
143
  return pulumi.get(self, "defined_tags")
144
144
 
@@ -85,7 +85,7 @@ class GetTargetAlertPolicyAssociationResult:
85
85
  @pulumi.getter(name="definedTags")
86
86
  def defined_tags(self) -> Mapping[str, str]:
87
87
  """
88
- 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"}`
88
+ 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"}`
89
89
  """
90
90
  return pulumi.get(self, "defined_tags")
91
91
 
@@ -130,7 +130,7 @@ class GetTargetDatabaseResult:
130
130
  @pulumi.getter(name="definedTags")
131
131
  def defined_tags(self) -> Mapping[str, str]:
132
132
  """
133
- 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"}`
133
+ 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"}`
134
134
  """
135
135
  return pulumi.get(self, "defined_tags")
136
136
 
@@ -119,7 +119,7 @@ class GetUserAssessmentResult:
119
119
  @pulumi.getter(name="definedTags")
120
120
  def defined_tags(self) -> Mapping[str, str]:
121
121
  """
122
- 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"}`
122
+ 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"}`
123
123
  """
124
124
  return pulumi.get(self, "defined_tags")
125
125
 
@@ -0,0 +1,240 @@
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 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
+ 'GetUserAssessmentPasswordExpiryDateAnalyticsResult',
21
+ 'AwaitableGetUserAssessmentPasswordExpiryDateAnalyticsResult',
22
+ 'get_user_assessment_password_expiry_date_analytics',
23
+ 'get_user_assessment_password_expiry_date_analytics_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetUserAssessmentPasswordExpiryDateAnalyticsResult:
28
+ """
29
+ A collection of values returned by getUserAssessmentPasswordExpiryDateAnalytics.
30
+ """
31
+ def __init__(__self__, access_level=None, compartment_id_in_subtree=None, filters=None, id=None, time_password_expiry_less_than=None, user_aggregations=None, user_assessment_id=None, user_category=None):
32
+ if access_level and not isinstance(access_level, str):
33
+ raise TypeError("Expected argument 'access_level' to be a str")
34
+ pulumi.set(__self__, "access_level", access_level)
35
+ if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
36
+ raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
37
+ pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
38
+ if filters and not isinstance(filters, list):
39
+ raise TypeError("Expected argument 'filters' to be a list")
40
+ pulumi.set(__self__, "filters", filters)
41
+ if id and not isinstance(id, str):
42
+ raise TypeError("Expected argument 'id' to be a str")
43
+ pulumi.set(__self__, "id", id)
44
+ if time_password_expiry_less_than and not isinstance(time_password_expiry_less_than, str):
45
+ raise TypeError("Expected argument 'time_password_expiry_less_than' to be a str")
46
+ pulumi.set(__self__, "time_password_expiry_less_than", time_password_expiry_less_than)
47
+ if user_aggregations and not isinstance(user_aggregations, list):
48
+ raise TypeError("Expected argument 'user_aggregations' to be a list")
49
+ pulumi.set(__self__, "user_aggregations", user_aggregations)
50
+ if user_assessment_id and not isinstance(user_assessment_id, str):
51
+ raise TypeError("Expected argument 'user_assessment_id' to be a str")
52
+ pulumi.set(__self__, "user_assessment_id", user_assessment_id)
53
+ if user_category and not isinstance(user_category, str):
54
+ raise TypeError("Expected argument 'user_category' to be a str")
55
+ pulumi.set(__self__, "user_category", user_category)
56
+
57
+ @property
58
+ @pulumi.getter(name="accessLevel")
59
+ def access_level(self) -> Optional[str]:
60
+ return pulumi.get(self, "access_level")
61
+
62
+ @property
63
+ @pulumi.getter(name="compartmentIdInSubtree")
64
+ def compartment_id_in_subtree(self) -> Optional[bool]:
65
+ return pulumi.get(self, "compartment_id_in_subtree")
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def filters(self) -> Optional[Sequence['outputs.GetUserAssessmentPasswordExpiryDateAnalyticsFilterResult']]:
70
+ return pulumi.get(self, "filters")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def id(self) -> str:
75
+ """
76
+ The provider-assigned unique ID for this managed resource.
77
+ """
78
+ return pulumi.get(self, "id")
79
+
80
+ @property
81
+ @pulumi.getter(name="timePasswordExpiryLessThan")
82
+ def time_password_expiry_less_than(self) -> Optional[str]:
83
+ return pulumi.get(self, "time_password_expiry_less_than")
84
+
85
+ @property
86
+ @pulumi.getter(name="userAggregations")
87
+ def user_aggregations(self) -> Sequence['outputs.GetUserAssessmentPasswordExpiryDateAnalyticsUserAggregationResult']:
88
+ """
89
+ The list of user_aggregations.
90
+ """
91
+ return pulumi.get(self, "user_aggregations")
92
+
93
+ @property
94
+ @pulumi.getter(name="userAssessmentId")
95
+ def user_assessment_id(self) -> str:
96
+ return pulumi.get(self, "user_assessment_id")
97
+
98
+ @property
99
+ @pulumi.getter(name="userCategory")
100
+ def user_category(self) -> Optional[str]:
101
+ return pulumi.get(self, "user_category")
102
+
103
+
104
+ class AwaitableGetUserAssessmentPasswordExpiryDateAnalyticsResult(GetUserAssessmentPasswordExpiryDateAnalyticsResult):
105
+ # pylint: disable=using-constant-test
106
+ def __await__(self):
107
+ if False:
108
+ yield self
109
+ return GetUserAssessmentPasswordExpiryDateAnalyticsResult(
110
+ access_level=self.access_level,
111
+ compartment_id_in_subtree=self.compartment_id_in_subtree,
112
+ filters=self.filters,
113
+ id=self.id,
114
+ time_password_expiry_less_than=self.time_password_expiry_less_than,
115
+ user_aggregations=self.user_aggregations,
116
+ user_assessment_id=self.user_assessment_id,
117
+ user_category=self.user_category)
118
+
119
+
120
+ def get_user_assessment_password_expiry_date_analytics(access_level: Optional[str] = None,
121
+ compartment_id_in_subtree: Optional[bool] = None,
122
+ filters: Optional[Sequence[Union['GetUserAssessmentPasswordExpiryDateAnalyticsFilterArgs', 'GetUserAssessmentPasswordExpiryDateAnalyticsFilterArgsDict']]] = None,
123
+ time_password_expiry_less_than: Optional[str] = None,
124
+ user_assessment_id: Optional[str] = None,
125
+ user_category: Optional[str] = None,
126
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserAssessmentPasswordExpiryDateAnalyticsResult:
127
+ """
128
+ This data source provides the list of User Assessment Password Expiry Date Analytics in Oracle Cloud Infrastructure Data Safe service.
129
+
130
+ Gets a list of count of the users with password expiry dates in next 30 days, between next 30-90 days, and beyond 90 days based on specified user assessment.
131
+ It internally uses the aforementioned userAnalytics api.
132
+
133
+ When you perform the ListPasswordExpiryDateAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the
134
+ parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has READ
135
+ permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
136
+ root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
137
+ compartmentId, then "Not Authorized" is returned.
138
+
139
+ To use ListPasswordExpiryDateAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment,
140
+ set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.
141
+
142
+ ## Example Usage
143
+
144
+ ```python
145
+ import pulumi
146
+ import pulumi_oci as oci
147
+
148
+ test_user_assessment_password_expiry_date_analytics = oci.DataSafe.get_user_assessment_password_expiry_date_analytics(user_assessment_id=test_user_assessment["id"],
149
+ access_level=user_assessment_password_expiry_date_analytic_access_level,
150
+ compartment_id_in_subtree=user_assessment_password_expiry_date_analytic_compartment_id_in_subtree,
151
+ time_password_expiry_less_than=user_assessment_password_expiry_date_analytic_time_password_expiry_less_than,
152
+ user_category=user_assessment_password_expiry_date_analytic_user_category)
153
+ ```
154
+
155
+
156
+ :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.
157
+ :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.
158
+ :param str time_password_expiry_less_than: A filter to return users whose password expiry date in the database is less than the date and time specified, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). **Example:** 2016-12-19T16:39:57.600Z
159
+ :param str user_assessment_id: The OCID of the user assessment.
160
+ :param str user_category: A filter to return only items that match the specified user category.
161
+ """
162
+ __args__ = dict()
163
+ __args__['accessLevel'] = access_level
164
+ __args__['compartmentIdInSubtree'] = compartment_id_in_subtree
165
+ __args__['filters'] = filters
166
+ __args__['timePasswordExpiryLessThan'] = time_password_expiry_less_than
167
+ __args__['userAssessmentId'] = user_assessment_id
168
+ __args__['userCategory'] = user_category
169
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
170
+ __ret__ = pulumi.runtime.invoke('oci:DataSafe/getUserAssessmentPasswordExpiryDateAnalytics:getUserAssessmentPasswordExpiryDateAnalytics', __args__, opts=opts, typ=GetUserAssessmentPasswordExpiryDateAnalyticsResult).value
171
+
172
+ return AwaitableGetUserAssessmentPasswordExpiryDateAnalyticsResult(
173
+ access_level=pulumi.get(__ret__, 'access_level'),
174
+ compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
175
+ filters=pulumi.get(__ret__, 'filters'),
176
+ id=pulumi.get(__ret__, 'id'),
177
+ time_password_expiry_less_than=pulumi.get(__ret__, 'time_password_expiry_less_than'),
178
+ user_aggregations=pulumi.get(__ret__, 'user_aggregations'),
179
+ user_assessment_id=pulumi.get(__ret__, 'user_assessment_id'),
180
+ user_category=pulumi.get(__ret__, 'user_category'))
181
+ def get_user_assessment_password_expiry_date_analytics_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
182
+ compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
183
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetUserAssessmentPasswordExpiryDateAnalyticsFilterArgs', 'GetUserAssessmentPasswordExpiryDateAnalyticsFilterArgsDict']]]]] = None,
184
+ time_password_expiry_less_than: Optional[pulumi.Input[Optional[str]]] = None,
185
+ user_assessment_id: Optional[pulumi.Input[str]] = None,
186
+ user_category: Optional[pulumi.Input[Optional[str]]] = None,
187
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserAssessmentPasswordExpiryDateAnalyticsResult]:
188
+ """
189
+ This data source provides the list of User Assessment Password Expiry Date Analytics in Oracle Cloud Infrastructure Data Safe service.
190
+
191
+ Gets a list of count of the users with password expiry dates in next 30 days, between next 30-90 days, and beyond 90 days based on specified user assessment.
192
+ It internally uses the aforementioned userAnalytics api.
193
+
194
+ When you perform the ListPasswordExpiryDateAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the
195
+ parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has READ
196
+ permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the
197
+ root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by
198
+ compartmentId, then "Not Authorized" is returned.
199
+
200
+ To use ListPasswordExpiryDateAnalytics to get a full list of all compartments and subcompartments in the tenancy from the 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_user_assessment_password_expiry_date_analytics = oci.DataSafe.get_user_assessment_password_expiry_date_analytics(user_assessment_id=test_user_assessment["id"],
210
+ access_level=user_assessment_password_expiry_date_analytic_access_level,
211
+ compartment_id_in_subtree=user_assessment_password_expiry_date_analytic_compartment_id_in_subtree,
212
+ time_password_expiry_less_than=user_assessment_password_expiry_date_analytic_time_password_expiry_less_than,
213
+ user_category=user_assessment_password_expiry_date_analytic_user_category)
214
+ ```
215
+
216
+
217
+ :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.
218
+ :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.
219
+ :param str time_password_expiry_less_than: A filter to return users whose password expiry date in the database is less than the date and time specified, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). **Example:** 2016-12-19T16:39:57.600Z
220
+ :param str user_assessment_id: The OCID of the user assessment.
221
+ :param str user_category: A filter to return only items that match the specified user category.
222
+ """
223
+ __args__ = dict()
224
+ __args__['accessLevel'] = access_level
225
+ __args__['compartmentIdInSubtree'] = compartment_id_in_subtree
226
+ __args__['filters'] = filters
227
+ __args__['timePasswordExpiryLessThan'] = time_password_expiry_less_than
228
+ __args__['userAssessmentId'] = user_assessment_id
229
+ __args__['userCategory'] = user_category
230
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
231
+ __ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getUserAssessmentPasswordExpiryDateAnalytics:getUserAssessmentPasswordExpiryDateAnalytics', __args__, opts=opts, typ=GetUserAssessmentPasswordExpiryDateAnalyticsResult)
232
+ return __ret__.apply(lambda __response__: GetUserAssessmentPasswordExpiryDateAnalyticsResult(
233
+ access_level=pulumi.get(__response__, 'access_level'),
234
+ compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
235
+ filters=pulumi.get(__response__, 'filters'),
236
+ id=pulumi.get(__response__, 'id'),
237
+ time_password_expiry_less_than=pulumi.get(__response__, 'time_password_expiry_less_than'),
238
+ user_aggregations=pulumi.get(__response__, 'user_aggregations'),
239
+ user_assessment_id=pulumi.get(__response__, 'user_assessment_id'),
240
+ user_category=pulumi.get(__response__, 'user_category')))