pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.12.0a1728642710__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 (170) hide show
  1. pulumi_oci/__init__.py +145 -0
  2. pulumi_oci/analytics/analytics_instance.py +54 -5
  3. pulumi_oci/analytics/get_analytics_instance.py +18 -4
  4. pulumi_oci/analytics/outputs.py +12 -1
  5. pulumi_oci/core/_inputs.py +648 -159
  6. pulumi_oci/core/cluster_network.py +7 -7
  7. pulumi_oci/core/get_instance.py +29 -1
  8. pulumi_oci/core/get_vcn.py +15 -1
  9. pulumi_oci/core/get_vnic.py +15 -1
  10. pulumi_oci/core/instance.py +87 -0
  11. pulumi_oci/core/instance_configuration.py +12 -0
  12. pulumi_oci/core/ipsec.py +183 -23
  13. pulumi_oci/core/network_security_group_security_rule.py +2 -2
  14. pulumi_oci/core/outputs.py +709 -107
  15. pulumi_oci/core/service_gateway.py +13 -7
  16. pulumi_oci/core/vcn.py +65 -23
  17. pulumi_oci/core/virtual_network.py +35 -1
  18. pulumi_oci/core/vnic_attachment.py +2 -0
  19. pulumi_oci/database/_inputs.py +905 -27
  20. pulumi_oci/database/autonomous_database.py +48 -28
  21. pulumi_oci/database/autonomous_database_backup.py +12 -12
  22. pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
  23. pulumi_oci/database/autonomous_vm_cluster.py +2 -0
  24. pulumi_oci/database/backup.py +12 -12
  25. pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
  26. pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
  27. pulumi_oci/database/cloud_vm_cluster.py +71 -0
  28. pulumi_oci/database/database.py +15 -15
  29. pulumi_oci/database/database_upgrade.py +12 -12
  30. pulumi_oci/database/db_system.py +9 -9
  31. pulumi_oci/database/exadata_infrastructure.py +2 -0
  32. pulumi_oci/database/get_autonomous_container_database.py +1 -1
  33. pulumi_oci/database/get_autonomous_database.py +18 -4
  34. pulumi_oci/database/get_autonomous_database_backup.py +3 -3
  35. pulumi_oci/database/get_autonomous_databases.py +88 -5
  36. pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
  37. pulumi_oci/database/get_database.py +3 -3
  38. pulumi_oci/database/get_pluggable_database.py +12 -1
  39. pulumi_oci/database/get_vm_cluster.py +15 -1
  40. pulumi_oci/database/outputs.py +1431 -74
  41. pulumi_oci/database/pluggable_database.py +34 -0
  42. pulumi_oci/database/vm_cluster.py +71 -0
  43. pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
  44. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
  45. pulumi_oci/datasafe/__init__.py +12 -0
  46. pulumi_oci/datasafe/_inputs.py +441 -0
  47. pulumi_oci/datasafe/get_reports.py +23 -1
  48. pulumi_oci/datasafe/get_sql_collection.py +392 -0
  49. pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
  50. pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
  51. pulumi_oci/datasafe/get_sql_collections.py +364 -0
  52. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
  53. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
  54. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
  55. pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
  56. pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
  57. pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
  58. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
  59. pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
  60. pulumi_oci/datasafe/outputs.py +1808 -2
  61. pulumi_oci/desktops/_inputs.py +223 -7
  62. pulumi_oci/desktops/desktop_pool.py +186 -21
  63. pulumi_oci/desktops/get_desktop_pool.py +47 -5
  64. pulumi_oci/desktops/outputs.py +480 -19
  65. pulumi_oci/fleetappsmanagement/__init__.py +43 -0
  66. pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
  67. pulumi_oci/fleetappsmanagement/fleet.py +955 -0
  68. pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
  69. pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
  70. pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
  71. pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
  72. pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
  73. pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
  74. pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
  75. pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
  76. pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
  77. pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
  78. pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
  79. pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
  80. pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
  81. pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
  82. pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
  83. pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
  84. pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
  85. pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
  86. pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
  87. pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
  88. pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
  89. pulumi_oci/fleetappsmanagement/get_property.py +323 -0
  90. pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
  91. pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
  92. pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
  93. pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
  94. pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
  95. pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
  96. pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
  97. pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
  98. pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
  99. pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
  100. pulumi_oci/fleetappsmanagement/property.py +697 -0
  101. pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
  102. pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
  103. pulumi_oci/functions/outputs.py +11 -0
  104. pulumi_oci/fusionapps/_inputs.py +21 -20
  105. pulumi_oci/fusionapps/fusion_environment.py +2 -2
  106. pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
  107. pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
  108. pulumi_oci/fusionapps/outputs.py +11 -10
  109. pulumi_oci/integration/__init__.py +1 -0
  110. pulumi_oci/integration/_inputs.py +289 -2
  111. pulumi_oci/integration/get_integration_instance.py +65 -1
  112. pulumi_oci/integration/integration_instance.py +172 -0
  113. pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
  114. pulumi_oci/integration/outputs.py +587 -19
  115. pulumi_oci/loadbalancer/_inputs.py +20 -0
  116. pulumi_oci/loadbalancer/listener.py +4 -2
  117. pulumi_oci/loadbalancer/outputs.py +16 -2
  118. pulumi_oci/monitoring/_inputs.py +137 -16
  119. pulumi_oci/monitoring/alarm_suppression.py +164 -35
  120. pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
  121. pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
  122. pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
  123. pulumi_oci/monitoring/outputs.py +291 -18
  124. pulumi_oci/mysql/mysql_db_system.py +7 -7
  125. pulumi_oci/objectstorage/__init__.py +3 -0
  126. pulumi_oci/objectstorage/_inputs.py +97 -0
  127. pulumi_oci/objectstorage/get_object_versions.py +6 -6
  128. pulumi_oci/objectstorage/get_objects.py +6 -6
  129. pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
  130. pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
  131. pulumi_oci/objectstorage/outputs.py +258 -0
  132. pulumi_oci/objectstorage/private_endpoint.py +630 -0
  133. pulumi_oci/objectstorage/storage_object.py +7 -7
  134. pulumi_oci/opsi/_inputs.py +268 -114
  135. pulumi_oci/opsi/database_insight.py +162 -21
  136. pulumi_oci/opsi/exadata_insight.py +44 -0
  137. pulumi_oci/opsi/get_database_insight.py +40 -1
  138. pulumi_oci/opsi/get_host_insights.py +2 -2
  139. pulumi_oci/opsi/host_insight.py +0 -48
  140. pulumi_oci/opsi/outputs.py +405 -109
  141. pulumi_oci/pulumi-plugin.json +1 -1
  142. pulumi_oci/securityattribute/__init__.py +15 -0
  143. pulumi_oci/securityattribute/_inputs.py +209 -0
  144. pulumi_oci/securityattribute/get_security_attribute.py +262 -0
  145. pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
  146. pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
  147. pulumi_oci/securityattribute/get_security_attributes.py +169 -0
  148. pulumi_oci/securityattribute/outputs.py +466 -0
  149. pulumi_oci/securityattribute/security_attribute.py +588 -0
  150. pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
  151. pulumi_oci/stackmonitoring/__init__.py +5 -0
  152. pulumi_oci/stackmonitoring/_inputs.py +330 -0
  153. pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
  154. pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
  155. pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
  156. pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
  157. pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
  158. pulumi_oci/stackmonitoring/outputs.py +603 -0
  159. pulumi_oci/zpr/__init__.py +14 -0
  160. pulumi_oci/zpr/_inputs.py +79 -0
  161. pulumi_oci/zpr/configuration.py +516 -0
  162. pulumi_oci/zpr/get_configuration.py +230 -0
  163. pulumi_oci/zpr/get_zpr_policies.py +191 -0
  164. pulumi_oci/zpr/get_zpr_policy.py +264 -0
  165. pulumi_oci/zpr/outputs.py +203 -0
  166. pulumi_oci/zpr/zpr_policy.py +614 -0
  167. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/METADATA +1 -1
  168. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/RECORD +170 -95
  169. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/WHEEL +0 -0
  170. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,364 @@
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
+ 'GetSqlCollectionsResult',
21
+ 'AwaitableGetSqlCollectionsResult',
22
+ 'get_sql_collections',
23
+ 'get_sql_collections_output',
24
+ ]
25
+
26
+ @pulumi.output_type
27
+ class GetSqlCollectionsResult:
28
+ """
29
+ A collection of values returned by getSqlCollections.
30
+ """
31
+ def __init__(__self__, access_level=None, compartment_id=None, compartment_id_in_subtree=None, db_user_name=None, display_name=None, filters=None, id=None, sql_collection_collections=None, sql_collection_id=None, state=None, target_id=None, time_created_greater_than_or_equal_to=None, time_created_less_than=None):
32
+ if access_level and not isinstance(access_level, str):
33
+ raise TypeError("Expected argument 'access_level' to be a str")
34
+ pulumi.set(__self__, "access_level", access_level)
35
+ if compartment_id and not isinstance(compartment_id, str):
36
+ raise TypeError("Expected argument 'compartment_id' to be a str")
37
+ pulumi.set(__self__, "compartment_id", compartment_id)
38
+ if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool):
39
+ raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool")
40
+ pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree)
41
+ if db_user_name and not isinstance(db_user_name, str):
42
+ raise TypeError("Expected argument 'db_user_name' to be a str")
43
+ pulumi.set(__self__, "db_user_name", db_user_name)
44
+ if display_name and not isinstance(display_name, str):
45
+ raise TypeError("Expected argument 'display_name' to be a str")
46
+ pulumi.set(__self__, "display_name", display_name)
47
+ if filters and not isinstance(filters, list):
48
+ raise TypeError("Expected argument 'filters' to be a list")
49
+ pulumi.set(__self__, "filters", filters)
50
+ if id and not isinstance(id, str):
51
+ raise TypeError("Expected argument 'id' to be a str")
52
+ pulumi.set(__self__, "id", id)
53
+ if sql_collection_collections and not isinstance(sql_collection_collections, list):
54
+ raise TypeError("Expected argument 'sql_collection_collections' to be a list")
55
+ pulumi.set(__self__, "sql_collection_collections", sql_collection_collections)
56
+ if sql_collection_id and not isinstance(sql_collection_id, str):
57
+ raise TypeError("Expected argument 'sql_collection_id' to be a str")
58
+ pulumi.set(__self__, "sql_collection_id", sql_collection_id)
59
+ if state and not isinstance(state, str):
60
+ raise TypeError("Expected argument 'state' to be a str")
61
+ pulumi.set(__self__, "state", state)
62
+ if target_id and not isinstance(target_id, str):
63
+ raise TypeError("Expected argument 'target_id' to be a str")
64
+ pulumi.set(__self__, "target_id", target_id)
65
+ if time_created_greater_than_or_equal_to and not isinstance(time_created_greater_than_or_equal_to, str):
66
+ raise TypeError("Expected argument 'time_created_greater_than_or_equal_to' to be a str")
67
+ pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to)
68
+ if time_created_less_than and not isinstance(time_created_less_than, str):
69
+ raise TypeError("Expected argument 'time_created_less_than' to be a str")
70
+ pulumi.set(__self__, "time_created_less_than", time_created_less_than)
71
+
72
+ @property
73
+ @pulumi.getter(name="accessLevel")
74
+ def access_level(self) -> Optional[str]:
75
+ return pulumi.get(self, "access_level")
76
+
77
+ @property
78
+ @pulumi.getter(name="compartmentId")
79
+ def compartment_id(self) -> str:
80
+ """
81
+ The OCID of the compartment containing the SQL collection.
82
+ """
83
+ return pulumi.get(self, "compartment_id")
84
+
85
+ @property
86
+ @pulumi.getter(name="compartmentIdInSubtree")
87
+ def compartment_id_in_subtree(self) -> Optional[bool]:
88
+ return pulumi.get(self, "compartment_id_in_subtree")
89
+
90
+ @property
91
+ @pulumi.getter(name="dbUserName")
92
+ def db_user_name(self) -> Optional[str]:
93
+ """
94
+ The database user name.
95
+ """
96
+ return pulumi.get(self, "db_user_name")
97
+
98
+ @property
99
+ @pulumi.getter(name="displayName")
100
+ def display_name(self) -> Optional[str]:
101
+ """
102
+ The display name of the SQL collection.
103
+ """
104
+ return pulumi.get(self, "display_name")
105
+
106
+ @property
107
+ @pulumi.getter
108
+ def filters(self) -> Optional[Sequence['outputs.GetSqlCollectionsFilterResult']]:
109
+ return pulumi.get(self, "filters")
110
+
111
+ @property
112
+ @pulumi.getter
113
+ def id(self) -> str:
114
+ """
115
+ The provider-assigned unique ID for this managed resource.
116
+ """
117
+ return pulumi.get(self, "id")
118
+
119
+ @property
120
+ @pulumi.getter(name="sqlCollectionCollections")
121
+ def sql_collection_collections(self) -> Sequence['outputs.GetSqlCollectionsSqlCollectionCollectionResult']:
122
+ """
123
+ The list of sql_collection_collection.
124
+ """
125
+ return pulumi.get(self, "sql_collection_collections")
126
+
127
+ @property
128
+ @pulumi.getter(name="sqlCollectionId")
129
+ def sql_collection_id(self) -> Optional[str]:
130
+ return pulumi.get(self, "sql_collection_id")
131
+
132
+ @property
133
+ @pulumi.getter
134
+ def state(self) -> Optional[str]:
135
+ """
136
+ The current state of the SQL collection.
137
+ """
138
+ return pulumi.get(self, "state")
139
+
140
+ @property
141
+ @pulumi.getter(name="targetId")
142
+ def target_id(self) -> Optional[str]:
143
+ """
144
+ The OCID of the target corresponding to the security policy deployment.
145
+ """
146
+ return pulumi.get(self, "target_id")
147
+
148
+ @property
149
+ @pulumi.getter(name="timeCreatedGreaterThanOrEqualTo")
150
+ def time_created_greater_than_or_equal_to(self) -> Optional[str]:
151
+ return pulumi.get(self, "time_created_greater_than_or_equal_to")
152
+
153
+ @property
154
+ @pulumi.getter(name="timeCreatedLessThan")
155
+ def time_created_less_than(self) -> Optional[str]:
156
+ return pulumi.get(self, "time_created_less_than")
157
+
158
+
159
+ class AwaitableGetSqlCollectionsResult(GetSqlCollectionsResult):
160
+ # pylint: disable=using-constant-test
161
+ def __await__(self):
162
+ if False:
163
+ yield self
164
+ return GetSqlCollectionsResult(
165
+ access_level=self.access_level,
166
+ compartment_id=self.compartment_id,
167
+ compartment_id_in_subtree=self.compartment_id_in_subtree,
168
+ db_user_name=self.db_user_name,
169
+ display_name=self.display_name,
170
+ filters=self.filters,
171
+ id=self.id,
172
+ sql_collection_collections=self.sql_collection_collections,
173
+ sql_collection_id=self.sql_collection_id,
174
+ state=self.state,
175
+ target_id=self.target_id,
176
+ time_created_greater_than_or_equal_to=self.time_created_greater_than_or_equal_to,
177
+ time_created_less_than=self.time_created_less_than)
178
+
179
+
180
+ def get_sql_collections(access_level: Optional[str] = None,
181
+ compartment_id: Optional[str] = None,
182
+ compartment_id_in_subtree: Optional[bool] = None,
183
+ db_user_name: Optional[str] = None,
184
+ display_name: Optional[str] = None,
185
+ filters: Optional[Sequence[Union['GetSqlCollectionsFilterArgs', 'GetSqlCollectionsFilterArgsDict']]] = None,
186
+ sql_collection_id: Optional[str] = None,
187
+ state: Optional[str] = None,
188
+ target_id: Optional[str] = None,
189
+ time_created_greater_than_or_equal_to: Optional[str] = None,
190
+ time_created_less_than: Optional[str] = None,
191
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlCollectionsResult:
192
+ """
193
+ This data source provides the list of Sql Collections in Oracle Cloud Infrastructure Data Safe service.
194
+
195
+ Retrieves a list of all SQL collections in Data Safe.
196
+
197
+ The ListSqlCollections operation returns only the SQL collections in the specified `compartmentId`.
198
+
199
+ The parameter `accessLevel` specifies whether to return only those compartments for which the
200
+ requestor has INSPECT permissions on at least one resource directly
201
+ or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
202
+ Principal doesn't have access to even one of the child compartments. This is valid only when
203
+ `compartmentIdInSubtree` is set to `true`.
204
+
205
+ The parameter `compartmentIdInSubtree` applies when you perform ListSqlCollections on the
206
+ `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
207
+ To get a full list of all compartments and subcompartments in the tenancy (root compartment),
208
+ set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
209
+
210
+ ## Example Usage
211
+
212
+ ```python
213
+ import pulumi
214
+ import pulumi_oci as oci
215
+
216
+ test_sql_collections = oci.DataSafe.get_sql_collections(compartment_id=compartment_id,
217
+ access_level=sql_collection_access_level,
218
+ compartment_id_in_subtree=sql_collection_compartment_id_in_subtree,
219
+ db_user_name=test_user["name"],
220
+ display_name=sql_collection_display_name,
221
+ sql_collection_id=test_sql_collection["id"],
222
+ state=sql_collection_state,
223
+ target_id=test_target["id"],
224
+ time_created_greater_than_or_equal_to=sql_collection_time_created_greater_than_or_equal_to,
225
+ time_created_less_than=sql_collection_time_created_less_than)
226
+ ```
227
+
228
+
229
+ :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.
230
+ :param str compartment_id: A filter to return only resources that match the specified compartment OCID.
231
+ :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.
232
+ :param str db_user_name: A filter to return only items that match the specified user name.
233
+ :param str display_name: A filter to return only resources that match the specified display name.
234
+ :param str sql_collection_id: An optional filter to return only resources that match the specified OCID of the SQL collection resource.
235
+ :param str state: The current state of the SQL collection.
236
+ :param str target_id: A filter to return only items related to a specific target OCID.
237
+ :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.
238
+
239
+ **Example:** 2016-12-19T16:39:57.600Z
240
+ :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.
241
+
242
+ **Example:** 2016-12-19T16:39:57.600Z
243
+ """
244
+ __args__ = dict()
245
+ __args__['accessLevel'] = access_level
246
+ __args__['compartmentId'] = compartment_id
247
+ __args__['compartmentIdInSubtree'] = compartment_id_in_subtree
248
+ __args__['dbUserName'] = db_user_name
249
+ __args__['displayName'] = display_name
250
+ __args__['filters'] = filters
251
+ __args__['sqlCollectionId'] = sql_collection_id
252
+ __args__['state'] = state
253
+ __args__['targetId'] = target_id
254
+ __args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
255
+ __args__['timeCreatedLessThan'] = time_created_less_than
256
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
257
+ __ret__ = pulumi.runtime.invoke('oci:DataSafe/getSqlCollections:getSqlCollections', __args__, opts=opts, typ=GetSqlCollectionsResult).value
258
+
259
+ return AwaitableGetSqlCollectionsResult(
260
+ access_level=pulumi.get(__ret__, 'access_level'),
261
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
262
+ compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'),
263
+ db_user_name=pulumi.get(__ret__, 'db_user_name'),
264
+ display_name=pulumi.get(__ret__, 'display_name'),
265
+ filters=pulumi.get(__ret__, 'filters'),
266
+ id=pulumi.get(__ret__, 'id'),
267
+ sql_collection_collections=pulumi.get(__ret__, 'sql_collection_collections'),
268
+ sql_collection_id=pulumi.get(__ret__, 'sql_collection_id'),
269
+ state=pulumi.get(__ret__, 'state'),
270
+ target_id=pulumi.get(__ret__, 'target_id'),
271
+ time_created_greater_than_or_equal_to=pulumi.get(__ret__, 'time_created_greater_than_or_equal_to'),
272
+ time_created_less_than=pulumi.get(__ret__, 'time_created_less_than'))
273
+ def get_sql_collections_output(access_level: Optional[pulumi.Input[Optional[str]]] = None,
274
+ compartment_id: Optional[pulumi.Input[str]] = None,
275
+ compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None,
276
+ db_user_name: Optional[pulumi.Input[Optional[str]]] = None,
277
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
278
+ filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSqlCollectionsFilterArgs', 'GetSqlCollectionsFilterArgsDict']]]]] = None,
279
+ sql_collection_id: Optional[pulumi.Input[Optional[str]]] = None,
280
+ state: Optional[pulumi.Input[Optional[str]]] = None,
281
+ target_id: Optional[pulumi.Input[Optional[str]]] = None,
282
+ time_created_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
283
+ time_created_less_than: Optional[pulumi.Input[Optional[str]]] = None,
284
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSqlCollectionsResult]:
285
+ """
286
+ This data source provides the list of Sql Collections in Oracle Cloud Infrastructure Data Safe service.
287
+
288
+ Retrieves a list of all SQL collections in Data Safe.
289
+
290
+ The ListSqlCollections operation returns only the SQL collections in the specified `compartmentId`.
291
+
292
+ The parameter `accessLevel` specifies whether to return only those compartments for which the
293
+ requestor has INSPECT permissions on at least one resource directly
294
+ or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if
295
+ Principal doesn't have access to even one of the child compartments. This is valid only when
296
+ `compartmentIdInSubtree` is set to `true`.
297
+
298
+ The parameter `compartmentIdInSubtree` applies when you perform ListSqlCollections on the
299
+ `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned.
300
+ To get a full list of all compartments and subcompartments in the tenancy (root compartment),
301
+ set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE.
302
+
303
+ ## Example Usage
304
+
305
+ ```python
306
+ import pulumi
307
+ import pulumi_oci as oci
308
+
309
+ test_sql_collections = oci.DataSafe.get_sql_collections(compartment_id=compartment_id,
310
+ access_level=sql_collection_access_level,
311
+ compartment_id_in_subtree=sql_collection_compartment_id_in_subtree,
312
+ db_user_name=test_user["name"],
313
+ display_name=sql_collection_display_name,
314
+ sql_collection_id=test_sql_collection["id"],
315
+ state=sql_collection_state,
316
+ target_id=test_target["id"],
317
+ time_created_greater_than_or_equal_to=sql_collection_time_created_greater_than_or_equal_to,
318
+ time_created_less_than=sql_collection_time_created_less_than)
319
+ ```
320
+
321
+
322
+ :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.
323
+ :param str compartment_id: A filter to return only resources that match the specified compartment OCID.
324
+ :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.
325
+ :param str db_user_name: A filter to return only items that match the specified user name.
326
+ :param str display_name: A filter to return only resources that match the specified display name.
327
+ :param str sql_collection_id: An optional filter to return only resources that match the specified OCID of the SQL collection resource.
328
+ :param str state: The current state of the SQL collection.
329
+ :param str target_id: A filter to return only items related to a specific target OCID.
330
+ :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.
331
+
332
+ **Example:** 2016-12-19T16:39:57.600Z
333
+ :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.
334
+
335
+ **Example:** 2016-12-19T16:39:57.600Z
336
+ """
337
+ __args__ = dict()
338
+ __args__['accessLevel'] = access_level
339
+ __args__['compartmentId'] = compartment_id
340
+ __args__['compartmentIdInSubtree'] = compartment_id_in_subtree
341
+ __args__['dbUserName'] = db_user_name
342
+ __args__['displayName'] = display_name
343
+ __args__['filters'] = filters
344
+ __args__['sqlCollectionId'] = sql_collection_id
345
+ __args__['state'] = state
346
+ __args__['targetId'] = target_id
347
+ __args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
348
+ __args__['timeCreatedLessThan'] = time_created_less_than
349
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
350
+ __ret__ = pulumi.runtime.invoke_output('oci:DataSafe/getSqlCollections:getSqlCollections', __args__, opts=opts, typ=GetSqlCollectionsResult)
351
+ return __ret__.apply(lambda __response__: GetSqlCollectionsResult(
352
+ access_level=pulumi.get(__response__, 'access_level'),
353
+ compartment_id=pulumi.get(__response__, 'compartment_id'),
354
+ compartment_id_in_subtree=pulumi.get(__response__, 'compartment_id_in_subtree'),
355
+ db_user_name=pulumi.get(__response__, 'db_user_name'),
356
+ display_name=pulumi.get(__response__, 'display_name'),
357
+ filters=pulumi.get(__response__, 'filters'),
358
+ id=pulumi.get(__response__, 'id'),
359
+ sql_collection_collections=pulumi.get(__response__, 'sql_collection_collections'),
360
+ sql_collection_id=pulumi.get(__response__, 'sql_collection_id'),
361
+ state=pulumi.get(__response__, 'state'),
362
+ target_id=pulumi.get(__response__, 'target_id'),
363
+ time_created_greater_than_or_equal_to=pulumi.get(__response__, 'time_created_greater_than_or_equal_to'),
364
+ time_created_less_than=pulumi.get(__response__, 'time_created_less_than')))