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.
- pulumi_oci/__init__.py +48 -0
- pulumi_oci/core/instance.py +7 -7
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/autonomous_database.py +20 -1
- pulumi_oci/database/autonomous_database_saas_admin_user.py +479 -0
- pulumi_oci/datacatalog/_inputs.py +216 -0
- pulumi_oci/datacatalog/catalog.py +58 -0
- pulumi_oci/datacatalog/catalog_private_endpoint.py +58 -0
- pulumi_oci/datacatalog/get_catalog.py +28 -1
- pulumi_oci/datacatalog/get_catalog_private_endpoint.py +28 -1
- pulumi_oci/datacatalog/get_metastore.py +28 -1
- pulumi_oci/datacatalog/metastore.py +58 -0
- pulumi_oci/datacatalog/outputs.py +603 -0
- pulumi_oci/datasafe/_inputs.py +32 -0
- pulumi_oci/datasafe/database_security_config.py +7 -7
- pulumi_oci/datasafe/get_audit_events.py +1 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +38 -1
- pulumi_oci/datasafe/get_report.py +1 -1
- pulumi_oci/datasafe/get_report_content.py +2 -2
- pulumi_oci/datasafe/get_report_definition.py +4 -4
- pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +2 -2
- pulumi_oci/datasafe/get_sdm_masking_policy_differences.py +1 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +1 -1
- pulumi_oci/datasafe/get_sensitive_type.py +14 -1
- pulumi_oci/datasafe/get_sensitive_types.py +21 -1
- pulumi_oci/datasafe/get_user_assessment_profile_analytics.py +2 -2
- pulumi_oci/datasafe/get_user_assessment_user_analytics.py +2 -2
- pulumi_oci/datasafe/masking_policies_masking_column.py +2 -0
- pulumi_oci/datasafe/outputs.py +114 -24
- pulumi_oci/datasafe/report_definition.py +16 -16
- pulumi_oci/datasafe/sensitive_type.py +28 -0
- pulumi_oci/datasafe/sql_firewall_policy.py +103 -103
- pulumi_oci/goldengate/_inputs.py +28 -2
- pulumi_oci/goldengate/connection.py +77 -21
- pulumi_oci/goldengate/database_registration.py +7 -7
- pulumi_oci/goldengate/deployment.py +110 -7
- pulumi_oci/goldengate/get_connection.py +16 -2
- pulumi_oci/goldengate/get_database_registration.py +1 -1
- pulumi_oci/goldengate/get_deployment.py +41 -2
- pulumi_oci/goldengate/outputs.py +138 -11
- pulumi_oci/identity/__init__.py +3 -0
- pulumi_oci/identity/_inputs.py +862 -6
- pulumi_oci/identity/domains_identity_propagation_trust.py +3489 -0
- pulumi_oci/identity/domains_user.py +40 -41
- pulumi_oci/identity/get_domains_identity_propagation_trust.py +581 -0
- pulumi_oci/identity/get_domains_identity_propagation_trusts.py +310 -0
- pulumi_oci/identity/outputs.py +2625 -821
- pulumi_oci/logging/_inputs.py +17 -1
- pulumi_oci/logging/log.py +2 -0
- pulumi_oci/logging/outputs.py +35 -1
- pulumi_oci/meteringcomputation/__init__.py +7 -0
- pulumi_oci/meteringcomputation/_inputs.py +787 -0
- pulumi_oci/meteringcomputation/get_average_carbon_emission.py +121 -0
- pulumi_oci/meteringcomputation/get_clean_energy_usage.py +116 -0
- pulumi_oci/meteringcomputation/get_schedule.py +2 -2
- pulumi_oci/meteringcomputation/get_usage_carbon_emissions_config.py +119 -0
- pulumi_oci/meteringcomputation/get_usage_carbon_emissions_queries.py +136 -0
- pulumi_oci/meteringcomputation/get_usage_carbon_emissions_query.py +132 -0
- pulumi_oci/meteringcomputation/outputs.py +2410 -1149
- pulumi_oci/meteringcomputation/schedule.py +14 -14
- pulumi_oci/meteringcomputation/usage_carbon_emission.py +597 -0
- pulumi_oci/meteringcomputation/usage_carbon_emissions_query.py +282 -0
- pulumi_oci/opsi/__init__.py +4 -0
- pulumi_oci/opsi/_inputs.py +46 -0
- pulumi_oci/opsi/awr_hub.py +49 -22
- pulumi_oci/opsi/awr_hub_source.py +957 -0
- pulumi_oci/opsi/awr_hub_source_awrhubsources_management.py +248 -0
- pulumi_oci/opsi/get_awr_hub.py +14 -1
- pulumi_oci/opsi/get_awr_hub_source.py +391 -0
- pulumi_oci/opsi/get_awr_hub_sources.py +250 -0
- pulumi_oci/opsi/operations_insights_warehouse.py +7 -7
- pulumi_oci/opsi/outputs.py +319 -0
- pulumi_oci/optimizer/get_histories.py +18 -1
- pulumi_oci/optimizer/get_profile.py +11 -1
- pulumi_oci/optimizer/get_resource_action.py +22 -5
- pulumi_oci/optimizer/get_resource_actions.py +18 -1
- pulumi_oci/optimizer/outputs.py +7 -0
- pulumi_oci/optimizer/profile.py +20 -0
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/METADATA +1 -1
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/RECORD +82 -67
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.17.0a1702406535.dist-info → pulumi_oci-1.18.0a1702447417.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,957 @@
|
|
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__ = ['AwrHubSourceArgs', 'AwrHubSource']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class AwrHubSourceArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
awr_hub_id: pulumi.Input[str],
|
18
|
+
compartment_id: pulumi.Input[str],
|
19
|
+
type: pulumi.Input[str],
|
20
|
+
associated_opsi_id: Optional[pulumi.Input[str]] = None,
|
21
|
+
associated_resource_id: Optional[pulumi.Input[str]] = None,
|
22
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
23
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
24
|
+
name: Optional[pulumi.Input[str]] = None):
|
25
|
+
"""
|
26
|
+
The set of arguments for constructing a AwrHubSource resource.
|
27
|
+
:param pulumi.Input[str] awr_hub_id: AWR Hub OCID
|
28
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
29
|
+
:param pulumi.Input[str] type: (Updatable) source type of the database
|
30
|
+
|
31
|
+
|
32
|
+
** IMPORTANT **
|
33
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
34
|
+
:param pulumi.Input[str] associated_opsi_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
35
|
+
:param pulumi.Input[str] associated_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
36
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
37
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
38
|
+
:param pulumi.Input[str] name: The name of the Awr Hub source database.
|
39
|
+
"""
|
40
|
+
pulumi.set(__self__, "awr_hub_id", awr_hub_id)
|
41
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
42
|
+
pulumi.set(__self__, "type", type)
|
43
|
+
if associated_opsi_id is not None:
|
44
|
+
pulumi.set(__self__, "associated_opsi_id", associated_opsi_id)
|
45
|
+
if associated_resource_id is not None:
|
46
|
+
pulumi.set(__self__, "associated_resource_id", associated_resource_id)
|
47
|
+
if defined_tags is not None:
|
48
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
49
|
+
if freeform_tags is not None:
|
50
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
51
|
+
if name is not None:
|
52
|
+
pulumi.set(__self__, "name", name)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="awrHubId")
|
56
|
+
def awr_hub_id(self) -> pulumi.Input[str]:
|
57
|
+
"""
|
58
|
+
AWR Hub OCID
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "awr_hub_id")
|
61
|
+
|
62
|
+
@awr_hub_id.setter
|
63
|
+
def awr_hub_id(self, value: pulumi.Input[str]):
|
64
|
+
pulumi.set(self, "awr_hub_id", value)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="compartmentId")
|
68
|
+
def compartment_id(self) -> pulumi.Input[str]:
|
69
|
+
"""
|
70
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "compartment_id")
|
73
|
+
|
74
|
+
@compartment_id.setter
|
75
|
+
def compartment_id(self, value: pulumi.Input[str]):
|
76
|
+
pulumi.set(self, "compartment_id", value)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def type(self) -> pulumi.Input[str]:
|
81
|
+
"""
|
82
|
+
(Updatable) source type of the database
|
83
|
+
|
84
|
+
|
85
|
+
** IMPORTANT **
|
86
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "type")
|
89
|
+
|
90
|
+
@type.setter
|
91
|
+
def type(self, value: pulumi.Input[str]):
|
92
|
+
pulumi.set(self, "type", value)
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="associatedOpsiId")
|
96
|
+
def associated_opsi_id(self) -> Optional[pulumi.Input[str]]:
|
97
|
+
"""
|
98
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "associated_opsi_id")
|
101
|
+
|
102
|
+
@associated_opsi_id.setter
|
103
|
+
def associated_opsi_id(self, value: Optional[pulumi.Input[str]]):
|
104
|
+
pulumi.set(self, "associated_opsi_id", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="associatedResourceId")
|
108
|
+
def associated_resource_id(self) -> Optional[pulumi.Input[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
|
+
@associated_resource_id.setter
|
115
|
+
def associated_resource_id(self, value: Optional[pulumi.Input[str]]):
|
116
|
+
pulumi.set(self, "associated_resource_id", value)
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="definedTags")
|
120
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
121
|
+
"""
|
122
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "defined_tags")
|
125
|
+
|
126
|
+
@defined_tags.setter
|
127
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
128
|
+
pulumi.set(self, "defined_tags", value)
|
129
|
+
|
130
|
+
@property
|
131
|
+
@pulumi.getter(name="freeformTags")
|
132
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
133
|
+
"""
|
134
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "freeform_tags")
|
137
|
+
|
138
|
+
@freeform_tags.setter
|
139
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
140
|
+
pulumi.set(self, "freeform_tags", value)
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter
|
144
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
145
|
+
"""
|
146
|
+
The name of the Awr Hub source database.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "name")
|
149
|
+
|
150
|
+
@name.setter
|
151
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
152
|
+
pulumi.set(self, "name", value)
|
153
|
+
|
154
|
+
|
155
|
+
@pulumi.input_type
|
156
|
+
class _AwrHubSourceState:
|
157
|
+
def __init__(__self__, *,
|
158
|
+
associated_opsi_id: Optional[pulumi.Input[str]] = None,
|
159
|
+
associated_resource_id: Optional[pulumi.Input[str]] = None,
|
160
|
+
awr_hub_id: Optional[pulumi.Input[str]] = None,
|
161
|
+
awr_hub_opsi_source_id: Optional[pulumi.Input[str]] = None,
|
162
|
+
awr_source_database_id: Optional[pulumi.Input[str]] = None,
|
163
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
164
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
165
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
166
|
+
hours_since_last_import: Optional[pulumi.Input[float]] = None,
|
167
|
+
is_registered_with_awr_hub: Optional[pulumi.Input[bool]] = None,
|
168
|
+
max_snapshot_identifier: Optional[pulumi.Input[float]] = None,
|
169
|
+
min_snapshot_identifier: Optional[pulumi.Input[float]] = None,
|
170
|
+
name: Optional[pulumi.Input[str]] = None,
|
171
|
+
source_mail_box_url: Optional[pulumi.Input[str]] = None,
|
172
|
+
state: Optional[pulumi.Input[str]] = None,
|
173
|
+
status: Optional[pulumi.Input[str]] = None,
|
174
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
175
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
176
|
+
time_first_snapshot_generated: Optional[pulumi.Input[str]] = None,
|
177
|
+
time_last_snapshot_generated: Optional[pulumi.Input[str]] = None,
|
178
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
179
|
+
type: Optional[pulumi.Input[str]] = None):
|
180
|
+
"""
|
181
|
+
Input properties used for looking up and filtering AwrHubSource resources.
|
182
|
+
:param pulumi.Input[str] associated_opsi_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
183
|
+
:param pulumi.Input[str] associated_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
184
|
+
:param pulumi.Input[str] awr_hub_id: AWR Hub OCID
|
185
|
+
:param pulumi.Input[str] awr_hub_opsi_source_id: The shorted string of the Awr Hub source database identifier.
|
186
|
+
:param pulumi.Input[str] awr_source_database_id: DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
187
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
188
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
189
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
190
|
+
:param pulumi.Input[float] hours_since_last_import: Number of hours since last AWR snapshots import happened from the Source database.
|
191
|
+
:param pulumi.Input[bool] is_registered_with_awr_hub: This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
|
192
|
+
:param pulumi.Input[float] max_snapshot_identifier: The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
193
|
+
:param pulumi.Input[float] min_snapshot_identifier: The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
194
|
+
:param pulumi.Input[str] name: The name of the Awr Hub source database.
|
195
|
+
:param pulumi.Input[str] source_mail_box_url: Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
196
|
+
:param pulumi.Input[str] state: the current state of the source database
|
197
|
+
:param pulumi.Input[str] status: Indicates the status of a source database in Operations Insights
|
198
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
199
|
+
:param pulumi.Input[str] time_created: The time at which the resource was first created. An RFC3339 formatted datetime string
|
200
|
+
:param pulumi.Input[str] time_first_snapshot_generated: 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
|
201
|
+
:param pulumi.Input[str] time_last_snapshot_generated: 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
|
202
|
+
:param pulumi.Input[str] time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string
|
203
|
+
:param pulumi.Input[str] type: (Updatable) source type of the database
|
204
|
+
|
205
|
+
|
206
|
+
** IMPORTANT **
|
207
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
208
|
+
"""
|
209
|
+
if associated_opsi_id is not None:
|
210
|
+
pulumi.set(__self__, "associated_opsi_id", associated_opsi_id)
|
211
|
+
if associated_resource_id is not None:
|
212
|
+
pulumi.set(__self__, "associated_resource_id", associated_resource_id)
|
213
|
+
if awr_hub_id is not None:
|
214
|
+
pulumi.set(__self__, "awr_hub_id", awr_hub_id)
|
215
|
+
if awr_hub_opsi_source_id is not None:
|
216
|
+
pulumi.set(__self__, "awr_hub_opsi_source_id", awr_hub_opsi_source_id)
|
217
|
+
if awr_source_database_id is not None:
|
218
|
+
pulumi.set(__self__, "awr_source_database_id", awr_source_database_id)
|
219
|
+
if compartment_id is not None:
|
220
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
221
|
+
if defined_tags is not None:
|
222
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
223
|
+
if freeform_tags is not None:
|
224
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
225
|
+
if hours_since_last_import is not None:
|
226
|
+
pulumi.set(__self__, "hours_since_last_import", hours_since_last_import)
|
227
|
+
if is_registered_with_awr_hub is not None:
|
228
|
+
pulumi.set(__self__, "is_registered_with_awr_hub", is_registered_with_awr_hub)
|
229
|
+
if max_snapshot_identifier is not None:
|
230
|
+
pulumi.set(__self__, "max_snapshot_identifier", max_snapshot_identifier)
|
231
|
+
if min_snapshot_identifier is not None:
|
232
|
+
pulumi.set(__self__, "min_snapshot_identifier", min_snapshot_identifier)
|
233
|
+
if name is not None:
|
234
|
+
pulumi.set(__self__, "name", name)
|
235
|
+
if source_mail_box_url is not None:
|
236
|
+
pulumi.set(__self__, "source_mail_box_url", source_mail_box_url)
|
237
|
+
if state is not None:
|
238
|
+
pulumi.set(__self__, "state", state)
|
239
|
+
if status is not None:
|
240
|
+
pulumi.set(__self__, "status", status)
|
241
|
+
if system_tags is not None:
|
242
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
243
|
+
if time_created is not None:
|
244
|
+
pulumi.set(__self__, "time_created", time_created)
|
245
|
+
if time_first_snapshot_generated is not None:
|
246
|
+
pulumi.set(__self__, "time_first_snapshot_generated", time_first_snapshot_generated)
|
247
|
+
if time_last_snapshot_generated is not None:
|
248
|
+
pulumi.set(__self__, "time_last_snapshot_generated", time_last_snapshot_generated)
|
249
|
+
if time_updated is not None:
|
250
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
251
|
+
if type is not None:
|
252
|
+
pulumi.set(__self__, "type", type)
|
253
|
+
|
254
|
+
@property
|
255
|
+
@pulumi.getter(name="associatedOpsiId")
|
256
|
+
def associated_opsi_id(self) -> Optional[pulumi.Input[str]]:
|
257
|
+
"""
|
258
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
259
|
+
"""
|
260
|
+
return pulumi.get(self, "associated_opsi_id")
|
261
|
+
|
262
|
+
@associated_opsi_id.setter
|
263
|
+
def associated_opsi_id(self, value: Optional[pulumi.Input[str]]):
|
264
|
+
pulumi.set(self, "associated_opsi_id", value)
|
265
|
+
|
266
|
+
@property
|
267
|
+
@pulumi.getter(name="associatedResourceId")
|
268
|
+
def associated_resource_id(self) -> Optional[pulumi.Input[str]]:
|
269
|
+
"""
|
270
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
271
|
+
"""
|
272
|
+
return pulumi.get(self, "associated_resource_id")
|
273
|
+
|
274
|
+
@associated_resource_id.setter
|
275
|
+
def associated_resource_id(self, value: Optional[pulumi.Input[str]]):
|
276
|
+
pulumi.set(self, "associated_resource_id", value)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="awrHubId")
|
280
|
+
def awr_hub_id(self) -> Optional[pulumi.Input[str]]:
|
281
|
+
"""
|
282
|
+
AWR Hub OCID
|
283
|
+
"""
|
284
|
+
return pulumi.get(self, "awr_hub_id")
|
285
|
+
|
286
|
+
@awr_hub_id.setter
|
287
|
+
def awr_hub_id(self, value: Optional[pulumi.Input[str]]):
|
288
|
+
pulumi.set(self, "awr_hub_id", value)
|
289
|
+
|
290
|
+
@property
|
291
|
+
@pulumi.getter(name="awrHubOpsiSourceId")
|
292
|
+
def awr_hub_opsi_source_id(self) -> Optional[pulumi.Input[str]]:
|
293
|
+
"""
|
294
|
+
The shorted string of the Awr Hub source database identifier.
|
295
|
+
"""
|
296
|
+
return pulumi.get(self, "awr_hub_opsi_source_id")
|
297
|
+
|
298
|
+
@awr_hub_opsi_source_id.setter
|
299
|
+
def awr_hub_opsi_source_id(self, value: Optional[pulumi.Input[str]]):
|
300
|
+
pulumi.set(self, "awr_hub_opsi_source_id", value)
|
301
|
+
|
302
|
+
@property
|
303
|
+
@pulumi.getter(name="awrSourceDatabaseId")
|
304
|
+
def awr_source_database_id(self) -> Optional[pulumi.Input[str]]:
|
305
|
+
"""
|
306
|
+
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
307
|
+
"""
|
308
|
+
return pulumi.get(self, "awr_source_database_id")
|
309
|
+
|
310
|
+
@awr_source_database_id.setter
|
311
|
+
def awr_source_database_id(self, value: Optional[pulumi.Input[str]]):
|
312
|
+
pulumi.set(self, "awr_source_database_id", value)
|
313
|
+
|
314
|
+
@property
|
315
|
+
@pulumi.getter(name="compartmentId")
|
316
|
+
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
317
|
+
"""
|
318
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
319
|
+
"""
|
320
|
+
return pulumi.get(self, "compartment_id")
|
321
|
+
|
322
|
+
@compartment_id.setter
|
323
|
+
def compartment_id(self, value: Optional[pulumi.Input[str]]):
|
324
|
+
pulumi.set(self, "compartment_id", value)
|
325
|
+
|
326
|
+
@property
|
327
|
+
@pulumi.getter(name="definedTags")
|
328
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
329
|
+
"""
|
330
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
331
|
+
"""
|
332
|
+
return pulumi.get(self, "defined_tags")
|
333
|
+
|
334
|
+
@defined_tags.setter
|
335
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
336
|
+
pulumi.set(self, "defined_tags", value)
|
337
|
+
|
338
|
+
@property
|
339
|
+
@pulumi.getter(name="freeformTags")
|
340
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
341
|
+
"""
|
342
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
343
|
+
"""
|
344
|
+
return pulumi.get(self, "freeform_tags")
|
345
|
+
|
346
|
+
@freeform_tags.setter
|
347
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
348
|
+
pulumi.set(self, "freeform_tags", value)
|
349
|
+
|
350
|
+
@property
|
351
|
+
@pulumi.getter(name="hoursSinceLastImport")
|
352
|
+
def hours_since_last_import(self) -> Optional[pulumi.Input[float]]:
|
353
|
+
"""
|
354
|
+
Number of hours since last AWR snapshots import happened from the Source database.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "hours_since_last_import")
|
357
|
+
|
358
|
+
@hours_since_last_import.setter
|
359
|
+
def hours_since_last_import(self, value: Optional[pulumi.Input[float]]):
|
360
|
+
pulumi.set(self, "hours_since_last_import", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter(name="isRegisteredWithAwrHub")
|
364
|
+
def is_registered_with_awr_hub(self) -> Optional[pulumi.Input[bool]]:
|
365
|
+
"""
|
366
|
+
This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
|
367
|
+
"""
|
368
|
+
return pulumi.get(self, "is_registered_with_awr_hub")
|
369
|
+
|
370
|
+
@is_registered_with_awr_hub.setter
|
371
|
+
def is_registered_with_awr_hub(self, value: Optional[pulumi.Input[bool]]):
|
372
|
+
pulumi.set(self, "is_registered_with_awr_hub", value)
|
373
|
+
|
374
|
+
@property
|
375
|
+
@pulumi.getter(name="maxSnapshotIdentifier")
|
376
|
+
def max_snapshot_identifier(self) -> Optional[pulumi.Input[float]]:
|
377
|
+
"""
|
378
|
+
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
379
|
+
"""
|
380
|
+
return pulumi.get(self, "max_snapshot_identifier")
|
381
|
+
|
382
|
+
@max_snapshot_identifier.setter
|
383
|
+
def max_snapshot_identifier(self, value: Optional[pulumi.Input[float]]):
|
384
|
+
pulumi.set(self, "max_snapshot_identifier", value)
|
385
|
+
|
386
|
+
@property
|
387
|
+
@pulumi.getter(name="minSnapshotIdentifier")
|
388
|
+
def min_snapshot_identifier(self) -> Optional[pulumi.Input[float]]:
|
389
|
+
"""
|
390
|
+
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
391
|
+
"""
|
392
|
+
return pulumi.get(self, "min_snapshot_identifier")
|
393
|
+
|
394
|
+
@min_snapshot_identifier.setter
|
395
|
+
def min_snapshot_identifier(self, value: Optional[pulumi.Input[float]]):
|
396
|
+
pulumi.set(self, "min_snapshot_identifier", value)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter
|
400
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
401
|
+
"""
|
402
|
+
The name of the Awr Hub source database.
|
403
|
+
"""
|
404
|
+
return pulumi.get(self, "name")
|
405
|
+
|
406
|
+
@name.setter
|
407
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
408
|
+
pulumi.set(self, "name", value)
|
409
|
+
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="sourceMailBoxUrl")
|
412
|
+
def source_mail_box_url(self) -> Optional[pulumi.Input[str]]:
|
413
|
+
"""
|
414
|
+
Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "source_mail_box_url")
|
417
|
+
|
418
|
+
@source_mail_box_url.setter
|
419
|
+
def source_mail_box_url(self, value: Optional[pulumi.Input[str]]):
|
420
|
+
pulumi.set(self, "source_mail_box_url", value)
|
421
|
+
|
422
|
+
@property
|
423
|
+
@pulumi.getter
|
424
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
425
|
+
"""
|
426
|
+
the current state of the source database
|
427
|
+
"""
|
428
|
+
return pulumi.get(self, "state")
|
429
|
+
|
430
|
+
@state.setter
|
431
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
432
|
+
pulumi.set(self, "state", value)
|
433
|
+
|
434
|
+
@property
|
435
|
+
@pulumi.getter
|
436
|
+
def status(self) -> Optional[pulumi.Input[str]]:
|
437
|
+
"""
|
438
|
+
Indicates the status of a source database in Operations Insights
|
439
|
+
"""
|
440
|
+
return pulumi.get(self, "status")
|
441
|
+
|
442
|
+
@status.setter
|
443
|
+
def status(self, value: Optional[pulumi.Input[str]]):
|
444
|
+
pulumi.set(self, "status", value)
|
445
|
+
|
446
|
+
@property
|
447
|
+
@pulumi.getter(name="systemTags")
|
448
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
|
449
|
+
"""
|
450
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
451
|
+
"""
|
452
|
+
return pulumi.get(self, "system_tags")
|
453
|
+
|
454
|
+
@system_tags.setter
|
455
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
|
456
|
+
pulumi.set(self, "system_tags", value)
|
457
|
+
|
458
|
+
@property
|
459
|
+
@pulumi.getter(name="timeCreated")
|
460
|
+
def time_created(self) -> Optional[pulumi.Input[str]]:
|
461
|
+
"""
|
462
|
+
The time at which the resource was first created. An RFC3339 formatted datetime string
|
463
|
+
"""
|
464
|
+
return pulumi.get(self, "time_created")
|
465
|
+
|
466
|
+
@time_created.setter
|
467
|
+
def time_created(self, value: Optional[pulumi.Input[str]]):
|
468
|
+
pulumi.set(self, "time_created", value)
|
469
|
+
|
470
|
+
@property
|
471
|
+
@pulumi.getter(name="timeFirstSnapshotGenerated")
|
472
|
+
def time_first_snapshot_generated(self) -> Optional[pulumi.Input[str]]:
|
473
|
+
"""
|
474
|
+
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
|
475
|
+
"""
|
476
|
+
return pulumi.get(self, "time_first_snapshot_generated")
|
477
|
+
|
478
|
+
@time_first_snapshot_generated.setter
|
479
|
+
def time_first_snapshot_generated(self, value: Optional[pulumi.Input[str]]):
|
480
|
+
pulumi.set(self, "time_first_snapshot_generated", value)
|
481
|
+
|
482
|
+
@property
|
483
|
+
@pulumi.getter(name="timeLastSnapshotGenerated")
|
484
|
+
def time_last_snapshot_generated(self) -> Optional[pulumi.Input[str]]:
|
485
|
+
"""
|
486
|
+
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
|
487
|
+
"""
|
488
|
+
return pulumi.get(self, "time_last_snapshot_generated")
|
489
|
+
|
490
|
+
@time_last_snapshot_generated.setter
|
491
|
+
def time_last_snapshot_generated(self, value: Optional[pulumi.Input[str]]):
|
492
|
+
pulumi.set(self, "time_last_snapshot_generated", value)
|
493
|
+
|
494
|
+
@property
|
495
|
+
@pulumi.getter(name="timeUpdated")
|
496
|
+
def time_updated(self) -> Optional[pulumi.Input[str]]:
|
497
|
+
"""
|
498
|
+
The time at which the resource was last updated. An RFC3339 formatted datetime string
|
499
|
+
"""
|
500
|
+
return pulumi.get(self, "time_updated")
|
501
|
+
|
502
|
+
@time_updated.setter
|
503
|
+
def time_updated(self, value: Optional[pulumi.Input[str]]):
|
504
|
+
pulumi.set(self, "time_updated", value)
|
505
|
+
|
506
|
+
@property
|
507
|
+
@pulumi.getter
|
508
|
+
def type(self) -> Optional[pulumi.Input[str]]:
|
509
|
+
"""
|
510
|
+
(Updatable) source type of the database
|
511
|
+
|
512
|
+
|
513
|
+
** IMPORTANT **
|
514
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
515
|
+
"""
|
516
|
+
return pulumi.get(self, "type")
|
517
|
+
|
518
|
+
@type.setter
|
519
|
+
def type(self, value: Optional[pulumi.Input[str]]):
|
520
|
+
pulumi.set(self, "type", value)
|
521
|
+
|
522
|
+
|
523
|
+
class AwrHubSource(pulumi.CustomResource):
|
524
|
+
@overload
|
525
|
+
def __init__(__self__,
|
526
|
+
resource_name: str,
|
527
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
528
|
+
associated_opsi_id: Optional[pulumi.Input[str]] = None,
|
529
|
+
associated_resource_id: Optional[pulumi.Input[str]] = None,
|
530
|
+
awr_hub_id: Optional[pulumi.Input[str]] = None,
|
531
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
532
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
533
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
534
|
+
name: Optional[pulumi.Input[str]] = None,
|
535
|
+
type: Optional[pulumi.Input[str]] = None,
|
536
|
+
__props__=None):
|
537
|
+
"""
|
538
|
+
This resource provides the Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
|
539
|
+
|
540
|
+
Register Awr Hub source
|
541
|
+
|
542
|
+
## Example Usage
|
543
|
+
|
544
|
+
```python
|
545
|
+
import pulumi
|
546
|
+
import pulumi_oci as oci
|
547
|
+
|
548
|
+
test_awr_hub_source = oci.opsi.AwrHubSource("testAwrHubSource",
|
549
|
+
awr_hub_id=oci_opsi_awr_hub["test_awr_hub"]["id"],
|
550
|
+
compartment_id=var["compartment_id"],
|
551
|
+
type=var["awr_hub_source_type"],
|
552
|
+
associated_opsi_id=oci_opsi_associated_opsi["test_associated_opsi"]["id"],
|
553
|
+
associated_resource_id=oci_usage_proxy_resource["test_resource"]["id"],
|
554
|
+
defined_tags={
|
555
|
+
"foo-namespace.bar-key": "value",
|
556
|
+
},
|
557
|
+
freeform_tags={
|
558
|
+
"bar-key": "value",
|
559
|
+
})
|
560
|
+
```
|
561
|
+
|
562
|
+
## Import
|
563
|
+
|
564
|
+
AwrHubSources can be imported using the `id`, e.g.
|
565
|
+
|
566
|
+
```sh
|
567
|
+
$ pulumi import oci:Opsi/awrHubSource:AwrHubSource test_awr_hub_source "id"
|
568
|
+
```
|
569
|
+
|
570
|
+
:param str resource_name: The name of the resource.
|
571
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
572
|
+
:param pulumi.Input[str] associated_opsi_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
573
|
+
:param pulumi.Input[str] associated_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
574
|
+
:param pulumi.Input[str] awr_hub_id: AWR Hub OCID
|
575
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
576
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
577
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
578
|
+
:param pulumi.Input[str] name: The name of the Awr Hub source database.
|
579
|
+
:param pulumi.Input[str] type: (Updatable) source type of the database
|
580
|
+
|
581
|
+
|
582
|
+
** IMPORTANT **
|
583
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
584
|
+
"""
|
585
|
+
...
|
586
|
+
@overload
|
587
|
+
def __init__(__self__,
|
588
|
+
resource_name: str,
|
589
|
+
args: AwrHubSourceArgs,
|
590
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
591
|
+
"""
|
592
|
+
This resource provides the Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
|
593
|
+
|
594
|
+
Register Awr Hub source
|
595
|
+
|
596
|
+
## Example Usage
|
597
|
+
|
598
|
+
```python
|
599
|
+
import pulumi
|
600
|
+
import pulumi_oci as oci
|
601
|
+
|
602
|
+
test_awr_hub_source = oci.opsi.AwrHubSource("testAwrHubSource",
|
603
|
+
awr_hub_id=oci_opsi_awr_hub["test_awr_hub"]["id"],
|
604
|
+
compartment_id=var["compartment_id"],
|
605
|
+
type=var["awr_hub_source_type"],
|
606
|
+
associated_opsi_id=oci_opsi_associated_opsi["test_associated_opsi"]["id"],
|
607
|
+
associated_resource_id=oci_usage_proxy_resource["test_resource"]["id"],
|
608
|
+
defined_tags={
|
609
|
+
"foo-namespace.bar-key": "value",
|
610
|
+
},
|
611
|
+
freeform_tags={
|
612
|
+
"bar-key": "value",
|
613
|
+
})
|
614
|
+
```
|
615
|
+
|
616
|
+
## Import
|
617
|
+
|
618
|
+
AwrHubSources can be imported using the `id`, e.g.
|
619
|
+
|
620
|
+
```sh
|
621
|
+
$ pulumi import oci:Opsi/awrHubSource:AwrHubSource test_awr_hub_source "id"
|
622
|
+
```
|
623
|
+
|
624
|
+
:param str resource_name: The name of the resource.
|
625
|
+
:param AwrHubSourceArgs args: The arguments to use to populate this resource's properties.
|
626
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
627
|
+
"""
|
628
|
+
...
|
629
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
630
|
+
resource_args, opts = _utilities.get_resource_args_opts(AwrHubSourceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
631
|
+
if resource_args is not None:
|
632
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
633
|
+
else:
|
634
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
635
|
+
|
636
|
+
def _internal_init(__self__,
|
637
|
+
resource_name: str,
|
638
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
639
|
+
associated_opsi_id: Optional[pulumi.Input[str]] = None,
|
640
|
+
associated_resource_id: Optional[pulumi.Input[str]] = None,
|
641
|
+
awr_hub_id: Optional[pulumi.Input[str]] = None,
|
642
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
643
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
644
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
645
|
+
name: Optional[pulumi.Input[str]] = None,
|
646
|
+
type: Optional[pulumi.Input[str]] = None,
|
647
|
+
__props__=None):
|
648
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
649
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
650
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
651
|
+
if opts.id is None:
|
652
|
+
if __props__ is not None:
|
653
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
654
|
+
__props__ = AwrHubSourceArgs.__new__(AwrHubSourceArgs)
|
655
|
+
|
656
|
+
__props__.__dict__["associated_opsi_id"] = associated_opsi_id
|
657
|
+
__props__.__dict__["associated_resource_id"] = associated_resource_id
|
658
|
+
if awr_hub_id is None and not opts.urn:
|
659
|
+
raise TypeError("Missing required property 'awr_hub_id'")
|
660
|
+
__props__.__dict__["awr_hub_id"] = awr_hub_id
|
661
|
+
if compartment_id is None and not opts.urn:
|
662
|
+
raise TypeError("Missing required property 'compartment_id'")
|
663
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
664
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
665
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
666
|
+
__props__.__dict__["name"] = name
|
667
|
+
if type is None and not opts.urn:
|
668
|
+
raise TypeError("Missing required property 'type'")
|
669
|
+
__props__.__dict__["type"] = type
|
670
|
+
__props__.__dict__["awr_hub_opsi_source_id"] = None
|
671
|
+
__props__.__dict__["awr_source_database_id"] = None
|
672
|
+
__props__.__dict__["hours_since_last_import"] = None
|
673
|
+
__props__.__dict__["is_registered_with_awr_hub"] = None
|
674
|
+
__props__.__dict__["max_snapshot_identifier"] = None
|
675
|
+
__props__.__dict__["min_snapshot_identifier"] = None
|
676
|
+
__props__.__dict__["source_mail_box_url"] = None
|
677
|
+
__props__.__dict__["state"] = None
|
678
|
+
__props__.__dict__["status"] = None
|
679
|
+
__props__.__dict__["system_tags"] = None
|
680
|
+
__props__.__dict__["time_created"] = None
|
681
|
+
__props__.__dict__["time_first_snapshot_generated"] = None
|
682
|
+
__props__.__dict__["time_last_snapshot_generated"] = None
|
683
|
+
__props__.__dict__["time_updated"] = None
|
684
|
+
super(AwrHubSource, __self__).__init__(
|
685
|
+
'oci:Opsi/awrHubSource:AwrHubSource',
|
686
|
+
resource_name,
|
687
|
+
__props__,
|
688
|
+
opts)
|
689
|
+
|
690
|
+
@staticmethod
|
691
|
+
def get(resource_name: str,
|
692
|
+
id: pulumi.Input[str],
|
693
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
694
|
+
associated_opsi_id: Optional[pulumi.Input[str]] = None,
|
695
|
+
associated_resource_id: Optional[pulumi.Input[str]] = None,
|
696
|
+
awr_hub_id: Optional[pulumi.Input[str]] = None,
|
697
|
+
awr_hub_opsi_source_id: Optional[pulumi.Input[str]] = None,
|
698
|
+
awr_source_database_id: Optional[pulumi.Input[str]] = None,
|
699
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
700
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
701
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
702
|
+
hours_since_last_import: Optional[pulumi.Input[float]] = None,
|
703
|
+
is_registered_with_awr_hub: Optional[pulumi.Input[bool]] = None,
|
704
|
+
max_snapshot_identifier: Optional[pulumi.Input[float]] = None,
|
705
|
+
min_snapshot_identifier: Optional[pulumi.Input[float]] = None,
|
706
|
+
name: Optional[pulumi.Input[str]] = None,
|
707
|
+
source_mail_box_url: Optional[pulumi.Input[str]] = None,
|
708
|
+
state: Optional[pulumi.Input[str]] = None,
|
709
|
+
status: Optional[pulumi.Input[str]] = None,
|
710
|
+
system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None,
|
711
|
+
time_created: Optional[pulumi.Input[str]] = None,
|
712
|
+
time_first_snapshot_generated: Optional[pulumi.Input[str]] = None,
|
713
|
+
time_last_snapshot_generated: Optional[pulumi.Input[str]] = None,
|
714
|
+
time_updated: Optional[pulumi.Input[str]] = None,
|
715
|
+
type: Optional[pulumi.Input[str]] = None) -> 'AwrHubSource':
|
716
|
+
"""
|
717
|
+
Get an existing AwrHubSource resource's state with the given name, id, and optional extra
|
718
|
+
properties used to qualify the lookup.
|
719
|
+
|
720
|
+
:param str resource_name: The unique name of the resulting resource.
|
721
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
722
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
723
|
+
:param pulumi.Input[str] associated_opsi_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
724
|
+
:param pulumi.Input[str] associated_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
725
|
+
:param pulumi.Input[str] awr_hub_id: AWR Hub OCID
|
726
|
+
:param pulumi.Input[str] awr_hub_opsi_source_id: The shorted string of the Awr Hub source database identifier.
|
727
|
+
:param pulumi.Input[str] awr_source_database_id: DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
728
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
729
|
+
:param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
730
|
+
:param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
731
|
+
:param pulumi.Input[float] hours_since_last_import: Number of hours since last AWR snapshots import happened from the Source database.
|
732
|
+
:param pulumi.Input[bool] is_registered_with_awr_hub: This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
|
733
|
+
:param pulumi.Input[float] max_snapshot_identifier: The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
734
|
+
:param pulumi.Input[float] min_snapshot_identifier: The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
735
|
+
:param pulumi.Input[str] name: The name of the Awr Hub source database.
|
736
|
+
:param pulumi.Input[str] source_mail_box_url: Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
737
|
+
:param pulumi.Input[str] state: the current state of the source database
|
738
|
+
:param pulumi.Input[str] status: Indicates the status of a source database in Operations Insights
|
739
|
+
:param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
740
|
+
:param pulumi.Input[str] time_created: The time at which the resource was first created. An RFC3339 formatted datetime string
|
741
|
+
:param pulumi.Input[str] time_first_snapshot_generated: 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
|
742
|
+
:param pulumi.Input[str] time_last_snapshot_generated: 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
|
743
|
+
:param pulumi.Input[str] time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string
|
744
|
+
:param pulumi.Input[str] type: (Updatable) source type of the database
|
745
|
+
|
746
|
+
|
747
|
+
** IMPORTANT **
|
748
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
749
|
+
"""
|
750
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
751
|
+
|
752
|
+
__props__ = _AwrHubSourceState.__new__(_AwrHubSourceState)
|
753
|
+
|
754
|
+
__props__.__dict__["associated_opsi_id"] = associated_opsi_id
|
755
|
+
__props__.__dict__["associated_resource_id"] = associated_resource_id
|
756
|
+
__props__.__dict__["awr_hub_id"] = awr_hub_id
|
757
|
+
__props__.__dict__["awr_hub_opsi_source_id"] = awr_hub_opsi_source_id
|
758
|
+
__props__.__dict__["awr_source_database_id"] = awr_source_database_id
|
759
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
760
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
761
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
762
|
+
__props__.__dict__["hours_since_last_import"] = hours_since_last_import
|
763
|
+
__props__.__dict__["is_registered_with_awr_hub"] = is_registered_with_awr_hub
|
764
|
+
__props__.__dict__["max_snapshot_identifier"] = max_snapshot_identifier
|
765
|
+
__props__.__dict__["min_snapshot_identifier"] = min_snapshot_identifier
|
766
|
+
__props__.__dict__["name"] = name
|
767
|
+
__props__.__dict__["source_mail_box_url"] = source_mail_box_url
|
768
|
+
__props__.__dict__["state"] = state
|
769
|
+
__props__.__dict__["status"] = status
|
770
|
+
__props__.__dict__["system_tags"] = system_tags
|
771
|
+
__props__.__dict__["time_created"] = time_created
|
772
|
+
__props__.__dict__["time_first_snapshot_generated"] = time_first_snapshot_generated
|
773
|
+
__props__.__dict__["time_last_snapshot_generated"] = time_last_snapshot_generated
|
774
|
+
__props__.__dict__["time_updated"] = time_updated
|
775
|
+
__props__.__dict__["type"] = type
|
776
|
+
return AwrHubSource(resource_name, opts=opts, __props__=__props__)
|
777
|
+
|
778
|
+
@property
|
779
|
+
@pulumi.getter(name="associatedOpsiId")
|
780
|
+
def associated_opsi_id(self) -> pulumi.Output[str]:
|
781
|
+
"""
|
782
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
783
|
+
"""
|
784
|
+
return pulumi.get(self, "associated_opsi_id")
|
785
|
+
|
786
|
+
@property
|
787
|
+
@pulumi.getter(name="associatedResourceId")
|
788
|
+
def associated_resource_id(self) -> pulumi.Output[str]:
|
789
|
+
"""
|
790
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
791
|
+
"""
|
792
|
+
return pulumi.get(self, "associated_resource_id")
|
793
|
+
|
794
|
+
@property
|
795
|
+
@pulumi.getter(name="awrHubId")
|
796
|
+
def awr_hub_id(self) -> pulumi.Output[str]:
|
797
|
+
"""
|
798
|
+
AWR Hub OCID
|
799
|
+
"""
|
800
|
+
return pulumi.get(self, "awr_hub_id")
|
801
|
+
|
802
|
+
@property
|
803
|
+
@pulumi.getter(name="awrHubOpsiSourceId")
|
804
|
+
def awr_hub_opsi_source_id(self) -> pulumi.Output[str]:
|
805
|
+
"""
|
806
|
+
The shorted string of the Awr Hub source database identifier.
|
807
|
+
"""
|
808
|
+
return pulumi.get(self, "awr_hub_opsi_source_id")
|
809
|
+
|
810
|
+
@property
|
811
|
+
@pulumi.getter(name="awrSourceDatabaseId")
|
812
|
+
def awr_source_database_id(self) -> pulumi.Output[str]:
|
813
|
+
"""
|
814
|
+
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
815
|
+
"""
|
816
|
+
return pulumi.get(self, "awr_source_database_id")
|
817
|
+
|
818
|
+
@property
|
819
|
+
@pulumi.getter(name="compartmentId")
|
820
|
+
def compartment_id(self) -> pulumi.Output[str]:
|
821
|
+
"""
|
822
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
823
|
+
"""
|
824
|
+
return pulumi.get(self, "compartment_id")
|
825
|
+
|
826
|
+
@property
|
827
|
+
@pulumi.getter(name="definedTags")
|
828
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
829
|
+
"""
|
830
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
831
|
+
"""
|
832
|
+
return pulumi.get(self, "defined_tags")
|
833
|
+
|
834
|
+
@property
|
835
|
+
@pulumi.getter(name="freeformTags")
|
836
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
837
|
+
"""
|
838
|
+
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
839
|
+
"""
|
840
|
+
return pulumi.get(self, "freeform_tags")
|
841
|
+
|
842
|
+
@property
|
843
|
+
@pulumi.getter(name="hoursSinceLastImport")
|
844
|
+
def hours_since_last_import(self) -> pulumi.Output[float]:
|
845
|
+
"""
|
846
|
+
Number of hours since last AWR snapshots import happened from the Source database.
|
847
|
+
"""
|
848
|
+
return pulumi.get(self, "hours_since_last_import")
|
849
|
+
|
850
|
+
@property
|
851
|
+
@pulumi.getter(name="isRegisteredWithAwrHub")
|
852
|
+
def is_registered_with_awr_hub(self) -> pulumi.Output[bool]:
|
853
|
+
"""
|
854
|
+
This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
|
855
|
+
"""
|
856
|
+
return pulumi.get(self, "is_registered_with_awr_hub")
|
857
|
+
|
858
|
+
@property
|
859
|
+
@pulumi.getter(name="maxSnapshotIdentifier")
|
860
|
+
def max_snapshot_identifier(self) -> pulumi.Output[float]:
|
861
|
+
"""
|
862
|
+
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
863
|
+
"""
|
864
|
+
return pulumi.get(self, "max_snapshot_identifier")
|
865
|
+
|
866
|
+
@property
|
867
|
+
@pulumi.getter(name="minSnapshotIdentifier")
|
868
|
+
def min_snapshot_identifier(self) -> pulumi.Output[float]:
|
869
|
+
"""
|
870
|
+
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
871
|
+
"""
|
872
|
+
return pulumi.get(self, "min_snapshot_identifier")
|
873
|
+
|
874
|
+
@property
|
875
|
+
@pulumi.getter
|
876
|
+
def name(self) -> pulumi.Output[str]:
|
877
|
+
"""
|
878
|
+
The name of the Awr Hub source database.
|
879
|
+
"""
|
880
|
+
return pulumi.get(self, "name")
|
881
|
+
|
882
|
+
@property
|
883
|
+
@pulumi.getter(name="sourceMailBoxUrl")
|
884
|
+
def source_mail_box_url(self) -> pulumi.Output[str]:
|
885
|
+
"""
|
886
|
+
Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
887
|
+
"""
|
888
|
+
return pulumi.get(self, "source_mail_box_url")
|
889
|
+
|
890
|
+
@property
|
891
|
+
@pulumi.getter
|
892
|
+
def state(self) -> pulumi.Output[str]:
|
893
|
+
"""
|
894
|
+
the current state of the source database
|
895
|
+
"""
|
896
|
+
return pulumi.get(self, "state")
|
897
|
+
|
898
|
+
@property
|
899
|
+
@pulumi.getter
|
900
|
+
def status(self) -> pulumi.Output[str]:
|
901
|
+
"""
|
902
|
+
Indicates the status of a source database in Operations Insights
|
903
|
+
"""
|
904
|
+
return pulumi.get(self, "status")
|
905
|
+
|
906
|
+
@property
|
907
|
+
@pulumi.getter(name="systemTags")
|
908
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, Any]]:
|
909
|
+
"""
|
910
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
911
|
+
"""
|
912
|
+
return pulumi.get(self, "system_tags")
|
913
|
+
|
914
|
+
@property
|
915
|
+
@pulumi.getter(name="timeCreated")
|
916
|
+
def time_created(self) -> pulumi.Output[str]:
|
917
|
+
"""
|
918
|
+
The time at which the resource was first created. An RFC3339 formatted datetime string
|
919
|
+
"""
|
920
|
+
return pulumi.get(self, "time_created")
|
921
|
+
|
922
|
+
@property
|
923
|
+
@pulumi.getter(name="timeFirstSnapshotGenerated")
|
924
|
+
def time_first_snapshot_generated(self) -> pulumi.Output[str]:
|
925
|
+
"""
|
926
|
+
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
|
927
|
+
"""
|
928
|
+
return pulumi.get(self, "time_first_snapshot_generated")
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter(name="timeLastSnapshotGenerated")
|
932
|
+
def time_last_snapshot_generated(self) -> pulumi.Output[str]:
|
933
|
+
"""
|
934
|
+
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
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "time_last_snapshot_generated")
|
937
|
+
|
938
|
+
@property
|
939
|
+
@pulumi.getter(name="timeUpdated")
|
940
|
+
def time_updated(self) -> pulumi.Output[str]:
|
941
|
+
"""
|
942
|
+
The time at which the resource was last updated. An RFC3339 formatted datetime string
|
943
|
+
"""
|
944
|
+
return pulumi.get(self, "time_updated")
|
945
|
+
|
946
|
+
@property
|
947
|
+
@pulumi.getter
|
948
|
+
def type(self) -> pulumi.Output[str]:
|
949
|
+
"""
|
950
|
+
(Updatable) source type of the database
|
951
|
+
|
952
|
+
|
953
|
+
** IMPORTANT **
|
954
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
955
|
+
"""
|
956
|
+
return pulumi.get(self, "type")
|
957
|
+
|