pulumi-oci 1.17.0a1702406535__py3-none-any.whl → 1.18.0a1702447417__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 (82) hide show
  1. pulumi_oci/__init__.py +48 -0
  2. pulumi_oci/core/instance.py +7 -7
  3. pulumi_oci/database/__init__.py +1 -0
  4. pulumi_oci/database/autonomous_database.py +20 -1
  5. pulumi_oci/database/autonomous_database_saas_admin_user.py +479 -0
  6. pulumi_oci/datacatalog/_inputs.py +216 -0
  7. pulumi_oci/datacatalog/catalog.py +58 -0
  8. pulumi_oci/datacatalog/catalog_private_endpoint.py +58 -0
  9. pulumi_oci/datacatalog/get_catalog.py +28 -1
  10. pulumi_oci/datacatalog/get_catalog_private_endpoint.py +28 -1
  11. pulumi_oci/datacatalog/get_metastore.py +28 -1
  12. pulumi_oci/datacatalog/metastore.py +58 -0
  13. pulumi_oci/datacatalog/outputs.py +603 -0
  14. pulumi_oci/datasafe/_inputs.py +32 -0
  15. pulumi_oci/datasafe/database_security_config.py +7 -7
  16. pulumi_oci/datasafe/get_audit_events.py +1 -1
  17. pulumi_oci/datasafe/get_discovery_analytics.py +38 -1
  18. pulumi_oci/datasafe/get_report.py +1 -1
  19. pulumi_oci/datasafe/get_report_content.py +2 -2
  20. pulumi_oci/datasafe/get_report_definition.py +4 -4
  21. pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +2 -2
  22. pulumi_oci/datasafe/get_sdm_masking_policy_differences.py +1 -1
  23. pulumi_oci/datasafe/get_security_assessment_findings.py +1 -1
  24. pulumi_oci/datasafe/get_sensitive_type.py +14 -1
  25. pulumi_oci/datasafe/get_sensitive_types.py +21 -1
  26. pulumi_oci/datasafe/get_user_assessment_profile_analytics.py +2 -2
  27. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
  28. pulumi_oci/datasafe/masking_policies_masking_column.py +2 -0
  29. pulumi_oci/datasafe/outputs.py +114 -24
  30. pulumi_oci/datasafe/report_definition.py +16 -16
  31. pulumi_oci/datasafe/sensitive_type.py +28 -0
  32. pulumi_oci/datasafe/sql_firewall_policy.py +103 -103
  33. pulumi_oci/goldengate/_inputs.py +28 -2
  34. pulumi_oci/goldengate/connection.py +77 -21
  35. pulumi_oci/goldengate/database_registration.py +7 -7
  36. pulumi_oci/goldengate/deployment.py +110 -7
  37. pulumi_oci/goldengate/get_connection.py +16 -2
  38. pulumi_oci/goldengate/get_database_registration.py +1 -1
  39. pulumi_oci/goldengate/get_deployment.py +41 -2
  40. pulumi_oci/goldengate/outputs.py +138 -11
  41. pulumi_oci/identity/__init__.py +3 -0
  42. pulumi_oci/identity/_inputs.py +862 -6
  43. pulumi_oci/identity/domains_identity_propagation_trust.py +3489 -0
  44. pulumi_oci/identity/domains_user.py +40 -41
  45. pulumi_oci/identity/get_domains_identity_propagation_trust.py +581 -0
  46. pulumi_oci/identity/get_domains_identity_propagation_trusts.py +310 -0
  47. pulumi_oci/identity/outputs.py +2625 -821
  48. pulumi_oci/logging/_inputs.py +17 -1
  49. pulumi_oci/logging/log.py +2 -0
  50. pulumi_oci/logging/outputs.py +35 -1
  51. pulumi_oci/meteringcomputation/__init__.py +7 -0
  52. pulumi_oci/meteringcomputation/_inputs.py +787 -0
  53. pulumi_oci/meteringcomputation/get_average_carbon_emission.py +121 -0
  54. pulumi_oci/meteringcomputation/get_clean_energy_usage.py +116 -0
  55. pulumi_oci/meteringcomputation/get_schedule.py +2 -2
  56. pulumi_oci/meteringcomputation/get_usage_carbon_emissions_config.py +119 -0
  57. pulumi_oci/meteringcomputation/get_usage_carbon_emissions_queries.py +136 -0
  58. pulumi_oci/meteringcomputation/get_usage_carbon_emissions_query.py +132 -0
  59. pulumi_oci/meteringcomputation/outputs.py +2410 -1149
  60. pulumi_oci/meteringcomputation/schedule.py +14 -14
  61. pulumi_oci/meteringcomputation/usage_carbon_emission.py +597 -0
  62. pulumi_oci/meteringcomputation/usage_carbon_emissions_query.py +282 -0
  63. pulumi_oci/opsi/__init__.py +4 -0
  64. pulumi_oci/opsi/_inputs.py +46 -0
  65. pulumi_oci/opsi/awr_hub.py +49 -22
  66. pulumi_oci/opsi/awr_hub_source.py +957 -0
  67. pulumi_oci/opsi/awr_hub_source_awrhubsources_management.py +248 -0
  68. pulumi_oci/opsi/get_awr_hub.py +14 -1
  69. pulumi_oci/opsi/get_awr_hub_source.py +391 -0
  70. pulumi_oci/opsi/get_awr_hub_sources.py +250 -0
  71. pulumi_oci/opsi/operations_insights_warehouse.py +7 -7
  72. pulumi_oci/opsi/outputs.py +319 -0
  73. pulumi_oci/optimizer/get_histories.py +18 -1
  74. pulumi_oci/optimizer/get_profile.py +11 -1
  75. pulumi_oci/optimizer/get_resource_action.py +22 -5
  76. pulumi_oci/optimizer/get_resource_actions.py +18 -1
  77. pulumi_oci/optimizer/outputs.py +7 -0
  78. pulumi_oci/optimizer/profile.py +20 -0
  79. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/METADATA +1 -1
  80. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/RECORD +82 -67
  81. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/WHEEL +0 -0
  82. {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,391 @@
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
+ 'GetAwrHubSourceResult',
14
+ 'AwaitableGetAwrHubSourceResult',
15
+ 'get_awr_hub_source',
16
+ 'get_awr_hub_source_output',
17
+ ]
18
+
19
+ @pulumi.output_type
20
+ class GetAwrHubSourceResult:
21
+ """
22
+ A collection of values returned by getAwrHubSource.
23
+ """
24
+ def __init__(__self__, associated_opsi_id=None, associated_resource_id=None, awr_hub_id=None, awr_hub_opsi_source_id=None, awr_hub_source_id=None, awr_source_database_id=None, compartment_id=None, defined_tags=None, freeform_tags=None, hours_since_last_import=None, id=None, is_registered_with_awr_hub=None, max_snapshot_identifier=None, min_snapshot_identifier=None, name=None, source_mail_box_url=None, state=None, status=None, system_tags=None, time_created=None, time_first_snapshot_generated=None, time_last_snapshot_generated=None, time_updated=None, type=None):
25
+ if associated_opsi_id and not isinstance(associated_opsi_id, str):
26
+ raise TypeError("Expected argument 'associated_opsi_id' to be a str")
27
+ pulumi.set(__self__, "associated_opsi_id", associated_opsi_id)
28
+ if associated_resource_id and not isinstance(associated_resource_id, str):
29
+ raise TypeError("Expected argument 'associated_resource_id' to be a str")
30
+ pulumi.set(__self__, "associated_resource_id", associated_resource_id)
31
+ if awr_hub_id and not isinstance(awr_hub_id, str):
32
+ raise TypeError("Expected argument 'awr_hub_id' to be a str")
33
+ pulumi.set(__self__, "awr_hub_id", awr_hub_id)
34
+ if awr_hub_opsi_source_id and not isinstance(awr_hub_opsi_source_id, str):
35
+ raise TypeError("Expected argument 'awr_hub_opsi_source_id' to be a str")
36
+ pulumi.set(__self__, "awr_hub_opsi_source_id", awr_hub_opsi_source_id)
37
+ if awr_hub_source_id and not isinstance(awr_hub_source_id, str):
38
+ raise TypeError("Expected argument 'awr_hub_source_id' to be a str")
39
+ pulumi.set(__self__, "awr_hub_source_id", awr_hub_source_id)
40
+ if awr_source_database_id and not isinstance(awr_source_database_id, str):
41
+ raise TypeError("Expected argument 'awr_source_database_id' to be a str")
42
+ pulumi.set(__self__, "awr_source_database_id", awr_source_database_id)
43
+ if compartment_id and not isinstance(compartment_id, str):
44
+ raise TypeError("Expected argument 'compartment_id' to be a str")
45
+ pulumi.set(__self__, "compartment_id", compartment_id)
46
+ if defined_tags and not isinstance(defined_tags, dict):
47
+ raise TypeError("Expected argument 'defined_tags' to be a dict")
48
+ pulumi.set(__self__, "defined_tags", defined_tags)
49
+ if freeform_tags and not isinstance(freeform_tags, dict):
50
+ raise TypeError("Expected argument 'freeform_tags' to be a dict")
51
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
52
+ if hours_since_last_import and not isinstance(hours_since_last_import, float):
53
+ raise TypeError("Expected argument 'hours_since_last_import' to be a float")
54
+ pulumi.set(__self__, "hours_since_last_import", hours_since_last_import)
55
+ if id and not isinstance(id, str):
56
+ raise TypeError("Expected argument 'id' to be a str")
57
+ pulumi.set(__self__, "id", id)
58
+ if is_registered_with_awr_hub and not isinstance(is_registered_with_awr_hub, bool):
59
+ raise TypeError("Expected argument 'is_registered_with_awr_hub' to be a bool")
60
+ pulumi.set(__self__, "is_registered_with_awr_hub", is_registered_with_awr_hub)
61
+ if max_snapshot_identifier and not isinstance(max_snapshot_identifier, float):
62
+ raise TypeError("Expected argument 'max_snapshot_identifier' to be a float")
63
+ pulumi.set(__self__, "max_snapshot_identifier", max_snapshot_identifier)
64
+ if min_snapshot_identifier and not isinstance(min_snapshot_identifier, float):
65
+ raise TypeError("Expected argument 'min_snapshot_identifier' to be a float")
66
+ pulumi.set(__self__, "min_snapshot_identifier", min_snapshot_identifier)
67
+ if name and not isinstance(name, str):
68
+ raise TypeError("Expected argument 'name' to be a str")
69
+ pulumi.set(__self__, "name", name)
70
+ if source_mail_box_url and not isinstance(source_mail_box_url, str):
71
+ raise TypeError("Expected argument 'source_mail_box_url' to be a str")
72
+ pulumi.set(__self__, "source_mail_box_url", source_mail_box_url)
73
+ if state and not isinstance(state, str):
74
+ raise TypeError("Expected argument 'state' to be a str")
75
+ pulumi.set(__self__, "state", state)
76
+ if status and not isinstance(status, str):
77
+ raise TypeError("Expected argument 'status' to be a str")
78
+ pulumi.set(__self__, "status", status)
79
+ if system_tags and not isinstance(system_tags, dict):
80
+ raise TypeError("Expected argument 'system_tags' to be a dict")
81
+ pulumi.set(__self__, "system_tags", system_tags)
82
+ if time_created and not isinstance(time_created, str):
83
+ raise TypeError("Expected argument 'time_created' to be a str")
84
+ pulumi.set(__self__, "time_created", time_created)
85
+ if time_first_snapshot_generated and not isinstance(time_first_snapshot_generated, str):
86
+ raise TypeError("Expected argument 'time_first_snapshot_generated' to be a str")
87
+ pulumi.set(__self__, "time_first_snapshot_generated", time_first_snapshot_generated)
88
+ if time_last_snapshot_generated and not isinstance(time_last_snapshot_generated, str):
89
+ raise TypeError("Expected argument 'time_last_snapshot_generated' to be a str")
90
+ pulumi.set(__self__, "time_last_snapshot_generated", time_last_snapshot_generated)
91
+ if time_updated and not isinstance(time_updated, str):
92
+ raise TypeError("Expected argument 'time_updated' to be a str")
93
+ pulumi.set(__self__, "time_updated", time_updated)
94
+ if type and not isinstance(type, str):
95
+ raise TypeError("Expected argument 'type' to be a str")
96
+ pulumi.set(__self__, "type", type)
97
+
98
+ @property
99
+ @pulumi.getter(name="associatedOpsiId")
100
+ def associated_opsi_id(self) -> str:
101
+ """
102
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
103
+ """
104
+ return pulumi.get(self, "associated_opsi_id")
105
+
106
+ @property
107
+ @pulumi.getter(name="associatedResourceId")
108
+ def associated_resource_id(self) -> str:
109
+ """
110
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
111
+ """
112
+ return pulumi.get(self, "associated_resource_id")
113
+
114
+ @property
115
+ @pulumi.getter(name="awrHubId")
116
+ def awr_hub_id(self) -> str:
117
+ """
118
+ AWR Hub OCID
119
+ """
120
+ return pulumi.get(self, "awr_hub_id")
121
+
122
+ @property
123
+ @pulumi.getter(name="awrHubOpsiSourceId")
124
+ def awr_hub_opsi_source_id(self) -> str:
125
+ """
126
+ The shorted string of the Awr Hub source database identifier.
127
+ """
128
+ return pulumi.get(self, "awr_hub_opsi_source_id")
129
+
130
+ @property
131
+ @pulumi.getter(name="awrHubSourceId")
132
+ def awr_hub_source_id(self) -> str:
133
+ return pulumi.get(self, "awr_hub_source_id")
134
+
135
+ @property
136
+ @pulumi.getter(name="awrSourceDatabaseId")
137
+ def awr_source_database_id(self) -> str:
138
+ """
139
+ DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
140
+ """
141
+ return pulumi.get(self, "awr_source_database_id")
142
+
143
+ @property
144
+ @pulumi.getter(name="compartmentId")
145
+ def compartment_id(self) -> str:
146
+ """
147
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
148
+ """
149
+ return pulumi.get(self, "compartment_id")
150
+
151
+ @property
152
+ @pulumi.getter(name="definedTags")
153
+ def defined_tags(self) -> Mapping[str, Any]:
154
+ """
155
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
156
+ """
157
+ return pulumi.get(self, "defined_tags")
158
+
159
+ @property
160
+ @pulumi.getter(name="freeformTags")
161
+ def freeform_tags(self) -> Mapping[str, Any]:
162
+ """
163
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
164
+ """
165
+ return pulumi.get(self, "freeform_tags")
166
+
167
+ @property
168
+ @pulumi.getter(name="hoursSinceLastImport")
169
+ def hours_since_last_import(self) -> float:
170
+ """
171
+ Number of hours since last AWR snapshots import happened from the Source database.
172
+ """
173
+ return pulumi.get(self, "hours_since_last_import")
174
+
175
+ @property
176
+ @pulumi.getter
177
+ def id(self) -> str:
178
+ """
179
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Awr Hub source database.
180
+ """
181
+ return pulumi.get(self, "id")
182
+
183
+ @property
184
+ @pulumi.getter(name="isRegisteredWithAwrHub")
185
+ def is_registered_with_awr_hub(self) -> bool:
186
+ """
187
+ This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
188
+ """
189
+ return pulumi.get(self, "is_registered_with_awr_hub")
190
+
191
+ @property
192
+ @pulumi.getter(name="maxSnapshotIdentifier")
193
+ def max_snapshot_identifier(self) -> float:
194
+ """
195
+ The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
196
+ """
197
+ return pulumi.get(self, "max_snapshot_identifier")
198
+
199
+ @property
200
+ @pulumi.getter(name="minSnapshotIdentifier")
201
+ def min_snapshot_identifier(self) -> float:
202
+ """
203
+ The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
204
+ """
205
+ return pulumi.get(self, "min_snapshot_identifier")
206
+
207
+ @property
208
+ @pulumi.getter
209
+ def name(self) -> str:
210
+ """
211
+ The name of the Awr Hub source database.
212
+ """
213
+ return pulumi.get(self, "name")
214
+
215
+ @property
216
+ @pulumi.getter(name="sourceMailBoxUrl")
217
+ def source_mail_box_url(self) -> str:
218
+ """
219
+ Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
220
+ """
221
+ return pulumi.get(self, "source_mail_box_url")
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def state(self) -> str:
226
+ """
227
+ the current state of the source database
228
+ """
229
+ return pulumi.get(self, "state")
230
+
231
+ @property
232
+ @pulumi.getter
233
+ def status(self) -> str:
234
+ """
235
+ Indicates the status of a source database in Operations Insights
236
+ """
237
+ return pulumi.get(self, "status")
238
+
239
+ @property
240
+ @pulumi.getter(name="systemTags")
241
+ def system_tags(self) -> Mapping[str, Any]:
242
+ """
243
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
244
+ """
245
+ return pulumi.get(self, "system_tags")
246
+
247
+ @property
248
+ @pulumi.getter(name="timeCreated")
249
+ def time_created(self) -> str:
250
+ """
251
+ The time at which the resource was first created. An RFC3339 formatted datetime string
252
+ """
253
+ return pulumi.get(self, "time_created")
254
+
255
+ @property
256
+ @pulumi.getter(name="timeFirstSnapshotGenerated")
257
+ def time_first_snapshot_generated(self) -> str:
258
+ """
259
+ The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
260
+ """
261
+ return pulumi.get(self, "time_first_snapshot_generated")
262
+
263
+ @property
264
+ @pulumi.getter(name="timeLastSnapshotGenerated")
265
+ def time_last_snapshot_generated(self) -> str:
266
+ """
267
+ The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string
268
+ """
269
+ return pulumi.get(self, "time_last_snapshot_generated")
270
+
271
+ @property
272
+ @pulumi.getter(name="timeUpdated")
273
+ def time_updated(self) -> str:
274
+ """
275
+ The time at which the resource was last updated. An RFC3339 formatted datetime string
276
+ """
277
+ return pulumi.get(self, "time_updated")
278
+
279
+ @property
280
+ @pulumi.getter
281
+ def type(self) -> str:
282
+ """
283
+ source type of the database
284
+ """
285
+ return pulumi.get(self, "type")
286
+
287
+
288
+ class AwaitableGetAwrHubSourceResult(GetAwrHubSourceResult):
289
+ # pylint: disable=using-constant-test
290
+ def __await__(self):
291
+ if False:
292
+ yield self
293
+ return GetAwrHubSourceResult(
294
+ associated_opsi_id=self.associated_opsi_id,
295
+ associated_resource_id=self.associated_resource_id,
296
+ awr_hub_id=self.awr_hub_id,
297
+ awr_hub_opsi_source_id=self.awr_hub_opsi_source_id,
298
+ awr_hub_source_id=self.awr_hub_source_id,
299
+ awr_source_database_id=self.awr_source_database_id,
300
+ compartment_id=self.compartment_id,
301
+ defined_tags=self.defined_tags,
302
+ freeform_tags=self.freeform_tags,
303
+ hours_since_last_import=self.hours_since_last_import,
304
+ id=self.id,
305
+ is_registered_with_awr_hub=self.is_registered_with_awr_hub,
306
+ max_snapshot_identifier=self.max_snapshot_identifier,
307
+ min_snapshot_identifier=self.min_snapshot_identifier,
308
+ name=self.name,
309
+ source_mail_box_url=self.source_mail_box_url,
310
+ state=self.state,
311
+ status=self.status,
312
+ system_tags=self.system_tags,
313
+ time_created=self.time_created,
314
+ time_first_snapshot_generated=self.time_first_snapshot_generated,
315
+ time_last_snapshot_generated=self.time_last_snapshot_generated,
316
+ time_updated=self.time_updated,
317
+ type=self.type)
318
+
319
+
320
+ def get_awr_hub_source(awr_hub_source_id: Optional[str] = None,
321
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwrHubSourceResult:
322
+ """
323
+ This data source provides details about a specific Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
324
+
325
+ Gets the Awr Hub source object.
326
+
327
+ ## Example Usage
328
+
329
+ ```python
330
+ import pulumi
331
+ import pulumi_oci as oci
332
+
333
+ test_awr_hub_source = oci.Opsi.get_awr_hub_source(awr_hub_source_id=oci_opsi_awr_hub_source["test_awr_hub_source"]["id"])
334
+ ```
335
+
336
+
337
+ :param str awr_hub_source_id: Unique Awr Hub Source identifier
338
+ """
339
+ __args__ = dict()
340
+ __args__['awrHubSourceId'] = awr_hub_source_id
341
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
342
+ __ret__ = pulumi.runtime.invoke('oci:Opsi/getAwrHubSource:getAwrHubSource', __args__, opts=opts, typ=GetAwrHubSourceResult).value
343
+
344
+ return AwaitableGetAwrHubSourceResult(
345
+ associated_opsi_id=pulumi.get(__ret__, 'associated_opsi_id'),
346
+ associated_resource_id=pulumi.get(__ret__, 'associated_resource_id'),
347
+ awr_hub_id=pulumi.get(__ret__, 'awr_hub_id'),
348
+ awr_hub_opsi_source_id=pulumi.get(__ret__, 'awr_hub_opsi_source_id'),
349
+ awr_hub_source_id=pulumi.get(__ret__, 'awr_hub_source_id'),
350
+ awr_source_database_id=pulumi.get(__ret__, 'awr_source_database_id'),
351
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
352
+ defined_tags=pulumi.get(__ret__, 'defined_tags'),
353
+ freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
354
+ hours_since_last_import=pulumi.get(__ret__, 'hours_since_last_import'),
355
+ id=pulumi.get(__ret__, 'id'),
356
+ is_registered_with_awr_hub=pulumi.get(__ret__, 'is_registered_with_awr_hub'),
357
+ max_snapshot_identifier=pulumi.get(__ret__, 'max_snapshot_identifier'),
358
+ min_snapshot_identifier=pulumi.get(__ret__, 'min_snapshot_identifier'),
359
+ name=pulumi.get(__ret__, 'name'),
360
+ source_mail_box_url=pulumi.get(__ret__, 'source_mail_box_url'),
361
+ state=pulumi.get(__ret__, 'state'),
362
+ status=pulumi.get(__ret__, 'status'),
363
+ system_tags=pulumi.get(__ret__, 'system_tags'),
364
+ time_created=pulumi.get(__ret__, 'time_created'),
365
+ time_first_snapshot_generated=pulumi.get(__ret__, 'time_first_snapshot_generated'),
366
+ time_last_snapshot_generated=pulumi.get(__ret__, 'time_last_snapshot_generated'),
367
+ time_updated=pulumi.get(__ret__, 'time_updated'),
368
+ type=pulumi.get(__ret__, 'type'))
369
+
370
+
371
+ @_utilities.lift_output_func(get_awr_hub_source)
372
+ def get_awr_hub_source_output(awr_hub_source_id: Optional[pulumi.Input[str]] = None,
373
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwrHubSourceResult]:
374
+ """
375
+ This data source provides details about a specific Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
376
+
377
+ Gets the Awr Hub source object.
378
+
379
+ ## Example Usage
380
+
381
+ ```python
382
+ import pulumi
383
+ import pulumi_oci as oci
384
+
385
+ test_awr_hub_source = oci.Opsi.get_awr_hub_source(awr_hub_source_id=oci_opsi_awr_hub_source["test_awr_hub_source"]["id"])
386
+ ```
387
+
388
+
389
+ :param str awr_hub_source_id: Unique Awr Hub Source identifier
390
+ """
391
+ ...
@@ -0,0 +1,250 @@
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
+ 'GetAwrHubSourcesResult',
16
+ 'AwaitableGetAwrHubSourcesResult',
17
+ 'get_awr_hub_sources',
18
+ 'get_awr_hub_sources_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetAwrHubSourcesResult:
23
+ """
24
+ A collection of values returned by getAwrHubSources.
25
+ """
26
+ def __init__(__self__, awr_hub_id=None, awr_hub_source_id=None, awr_hub_source_summary_collections=None, compartment_id=None, filters=None, id=None, name=None, source_types=None, states=None, statuses=None):
27
+ if awr_hub_id and not isinstance(awr_hub_id, str):
28
+ raise TypeError("Expected argument 'awr_hub_id' to be a str")
29
+ pulumi.set(__self__, "awr_hub_id", awr_hub_id)
30
+ if awr_hub_source_id and not isinstance(awr_hub_source_id, str):
31
+ raise TypeError("Expected argument 'awr_hub_source_id' to be a str")
32
+ pulumi.set(__self__, "awr_hub_source_id", awr_hub_source_id)
33
+ if awr_hub_source_summary_collections and not isinstance(awr_hub_source_summary_collections, list):
34
+ raise TypeError("Expected argument 'awr_hub_source_summary_collections' to be a list")
35
+ pulumi.set(__self__, "awr_hub_source_summary_collections", awr_hub_source_summary_collections)
36
+ if compartment_id and not isinstance(compartment_id, str):
37
+ raise TypeError("Expected argument 'compartment_id' to be a str")
38
+ pulumi.set(__self__, "compartment_id", compartment_id)
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 name and not isinstance(name, str):
46
+ raise TypeError("Expected argument 'name' to be a str")
47
+ pulumi.set(__self__, "name", name)
48
+ if source_types and not isinstance(source_types, list):
49
+ raise TypeError("Expected argument 'source_types' to be a list")
50
+ pulumi.set(__self__, "source_types", source_types)
51
+ if states and not isinstance(states, list):
52
+ raise TypeError("Expected argument 'states' to be a list")
53
+ pulumi.set(__self__, "states", states)
54
+ if statuses and not isinstance(statuses, list):
55
+ raise TypeError("Expected argument 'statuses' to be a list")
56
+ pulumi.set(__self__, "statuses", statuses)
57
+
58
+ @property
59
+ @pulumi.getter(name="awrHubId")
60
+ def awr_hub_id(self) -> str:
61
+ """
62
+ AWR Hub OCID
63
+ """
64
+ return pulumi.get(self, "awr_hub_id")
65
+
66
+ @property
67
+ @pulumi.getter(name="awrHubSourceId")
68
+ def awr_hub_source_id(self) -> Optional[str]:
69
+ return pulumi.get(self, "awr_hub_source_id")
70
+
71
+ @property
72
+ @pulumi.getter(name="awrHubSourceSummaryCollections")
73
+ def awr_hub_source_summary_collections(self) -> Sequence['outputs.GetAwrHubSourcesAwrHubSourceSummaryCollectionResult']:
74
+ """
75
+ The list of awr_hub_source_summary_collection.
76
+ """
77
+ return pulumi.get(self, "awr_hub_source_summary_collections")
78
+
79
+ @property
80
+ @pulumi.getter(name="compartmentId")
81
+ def compartment_id(self) -> Optional[str]:
82
+ """
83
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
84
+ """
85
+ return pulumi.get(self, "compartment_id")
86
+
87
+ @property
88
+ @pulumi.getter
89
+ def filters(self) -> Optional[Sequence['outputs.GetAwrHubSourcesFilterResult']]:
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
102
+ def name(self) -> Optional[str]:
103
+ """
104
+ The name of the Awr Hub source database.
105
+ """
106
+ return pulumi.get(self, "name")
107
+
108
+ @property
109
+ @pulumi.getter(name="sourceTypes")
110
+ def source_types(self) -> Optional[Sequence[str]]:
111
+ return pulumi.get(self, "source_types")
112
+
113
+ @property
114
+ @pulumi.getter
115
+ def states(self) -> Optional[Sequence[str]]:
116
+ """
117
+ the current state of the source database
118
+ """
119
+ return pulumi.get(self, "states")
120
+
121
+ @property
122
+ @pulumi.getter
123
+ def statuses(self) -> Optional[Sequence[str]]:
124
+ """
125
+ Indicates the status of a source database in Operations Insights
126
+ """
127
+ return pulumi.get(self, "statuses")
128
+
129
+
130
+ class AwaitableGetAwrHubSourcesResult(GetAwrHubSourcesResult):
131
+ # pylint: disable=using-constant-test
132
+ def __await__(self):
133
+ if False:
134
+ yield self
135
+ return GetAwrHubSourcesResult(
136
+ awr_hub_id=self.awr_hub_id,
137
+ awr_hub_source_id=self.awr_hub_source_id,
138
+ awr_hub_source_summary_collections=self.awr_hub_source_summary_collections,
139
+ compartment_id=self.compartment_id,
140
+ filters=self.filters,
141
+ id=self.id,
142
+ name=self.name,
143
+ source_types=self.source_types,
144
+ states=self.states,
145
+ statuses=self.statuses)
146
+
147
+
148
+ def get_awr_hub_sources(awr_hub_id: Optional[str] = None,
149
+ awr_hub_source_id: Optional[str] = None,
150
+ compartment_id: Optional[str] = None,
151
+ filters: Optional[Sequence[pulumi.InputType['GetAwrHubSourcesFilterArgs']]] = None,
152
+ name: Optional[str] = None,
153
+ source_types: Optional[Sequence[str]] = None,
154
+ states: Optional[Sequence[str]] = None,
155
+ statuses: Optional[Sequence[str]] = None,
156
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAwrHubSourcesResult:
157
+ """
158
+ This data source provides the list of Awr Hub Sources in Oracle Cloud Infrastructure Opsi service.
159
+
160
+ Gets a list of Awr Hub source objects.
161
+
162
+ ## Example Usage
163
+
164
+ ```python
165
+ import pulumi
166
+ import pulumi_oci as oci
167
+
168
+ test_awr_hub_sources = oci.Opsi.get_awr_hub_sources(awr_hub_id=oci_opsi_awr_hub["test_awr_hub"]["id"],
169
+ awr_hub_source_id=oci_opsi_awr_hub_source["test_awr_hub_source"]["id"],
170
+ compartment_id=var["compartment_id"],
171
+ name=var["awr_hub_source_name"],
172
+ source_types=var["awr_hub_source_source_type"],
173
+ states=var["awr_hub_source_state"],
174
+ statuses=var["awr_hub_source_status"])
175
+ ```
176
+
177
+
178
+ :param str awr_hub_id: Unique Awr Hub identifier
179
+ :param str awr_hub_source_id: Awr Hub source identifier
180
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
181
+ :param str name: Awr Hub source database name
182
+ :param Sequence[str] source_types: Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
183
+ :param Sequence[str] states: Lifecycle states
184
+ :param Sequence[str] statuses: Resource Status
185
+ """
186
+ __args__ = dict()
187
+ __args__['awrHubId'] = awr_hub_id
188
+ __args__['awrHubSourceId'] = awr_hub_source_id
189
+ __args__['compartmentId'] = compartment_id
190
+ __args__['filters'] = filters
191
+ __args__['name'] = name
192
+ __args__['sourceTypes'] = source_types
193
+ __args__['states'] = states
194
+ __args__['statuses'] = statuses
195
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
196
+ __ret__ = pulumi.runtime.invoke('oci:Opsi/getAwrHubSources:getAwrHubSources', __args__, opts=opts, typ=GetAwrHubSourcesResult).value
197
+
198
+ return AwaitableGetAwrHubSourcesResult(
199
+ awr_hub_id=pulumi.get(__ret__, 'awr_hub_id'),
200
+ awr_hub_source_id=pulumi.get(__ret__, 'awr_hub_source_id'),
201
+ awr_hub_source_summary_collections=pulumi.get(__ret__, 'awr_hub_source_summary_collections'),
202
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
203
+ filters=pulumi.get(__ret__, 'filters'),
204
+ id=pulumi.get(__ret__, 'id'),
205
+ name=pulumi.get(__ret__, 'name'),
206
+ source_types=pulumi.get(__ret__, 'source_types'),
207
+ states=pulumi.get(__ret__, 'states'),
208
+ statuses=pulumi.get(__ret__, 'statuses'))
209
+
210
+
211
+ @_utilities.lift_output_func(get_awr_hub_sources)
212
+ def get_awr_hub_sources_output(awr_hub_id: Optional[pulumi.Input[str]] = None,
213
+ awr_hub_source_id: Optional[pulumi.Input[Optional[str]]] = None,
214
+ compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
215
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAwrHubSourcesFilterArgs']]]]] = None,
216
+ name: Optional[pulumi.Input[Optional[str]]] = None,
217
+ source_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
218
+ states: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
219
+ statuses: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
220
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAwrHubSourcesResult]:
221
+ """
222
+ This data source provides the list of Awr Hub Sources in Oracle Cloud Infrastructure Opsi service.
223
+
224
+ Gets a list of Awr Hub source objects.
225
+
226
+ ## Example Usage
227
+
228
+ ```python
229
+ import pulumi
230
+ import pulumi_oci as oci
231
+
232
+ test_awr_hub_sources = oci.Opsi.get_awr_hub_sources(awr_hub_id=oci_opsi_awr_hub["test_awr_hub"]["id"],
233
+ awr_hub_source_id=oci_opsi_awr_hub_source["test_awr_hub_source"]["id"],
234
+ compartment_id=var["compartment_id"],
235
+ name=var["awr_hub_source_name"],
236
+ source_types=var["awr_hub_source_source_type"],
237
+ states=var["awr_hub_source_state"],
238
+ statuses=var["awr_hub_source_status"])
239
+ ```
240
+
241
+
242
+ :param str awr_hub_id: Unique Awr Hub identifier
243
+ :param str awr_hub_source_id: Awr Hub source identifier
244
+ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
245
+ :param str name: Awr Hub source database name
246
+ :param Sequence[str] source_types: Filter by one or more database type. Possible values are ADW-S, ATP-S, ADW-D, ATP-D, EXTERNAL-PDB, EXTERNAL-NONCDB.
247
+ :param Sequence[str] states: Lifecycle states
248
+ :param Sequence[str] statuses: Resource Status
249
+ """
250
+ ...