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
@@ -22,7 +22,7 @@ class OperationsInsightsWarehouseArgs:
|
|
22
22
|
storage_allocated_in_gbs: Optional[pulumi.Input[float]] = None):
|
23
23
|
"""
|
24
24
|
The set of arguments for constructing a OperationsInsightsWarehouse resource.
|
25
|
-
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
25
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
26
26
|
:param pulumi.Input[float] cpu_allocated: (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
|
27
27
|
:param pulumi.Input[str] display_name: (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
|
28
28
|
: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"}`
|
@@ -47,7 +47,7 @@ class OperationsInsightsWarehouseArgs:
|
|
47
47
|
@pulumi.getter(name="compartmentId")
|
48
48
|
def compartment_id(self) -> pulumi.Input[str]:
|
49
49
|
"""
|
50
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
50
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
51
51
|
"""
|
52
52
|
return pulumi.get(self, "compartment_id")
|
53
53
|
|
@@ -141,7 +141,7 @@ class _OperationsInsightsWarehouseState:
|
|
141
141
|
time_updated: Optional[pulumi.Input[str]] = None):
|
142
142
|
"""
|
143
143
|
Input properties used for looking up and filtering OperationsInsightsWarehouse resources.
|
144
|
-
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
144
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
145
145
|
:param pulumi.Input[float] cpu_allocated: (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
|
146
146
|
:param pulumi.Input[float] cpu_used: Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
|
147
147
|
: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"}`
|
@@ -199,7 +199,7 @@ class _OperationsInsightsWarehouseState:
|
|
199
199
|
@pulumi.getter(name="compartmentId")
|
200
200
|
def compartment_id(self) -> Optional[pulumi.Input[str]]:
|
201
201
|
"""
|
202
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
202
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
203
203
|
"""
|
204
204
|
return pulumi.get(self, "compartment_id")
|
205
205
|
|
@@ -440,7 +440,7 @@ class OperationsInsightsWarehouse(pulumi.CustomResource):
|
|
440
440
|
|
441
441
|
:param str resource_name: The name of the resource.
|
442
442
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
443
|
-
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
443
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
444
444
|
:param pulumi.Input[float] cpu_allocated: (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
|
445
445
|
: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"}`
|
446
446
|
:param pulumi.Input[str] display_name: (Updatable) User-friedly name of Operations Insights Warehouse that does not have to be unique.
|
@@ -576,7 +576,7 @@ class OperationsInsightsWarehouse(pulumi.CustomResource):
|
|
576
576
|
:param str resource_name: The unique name of the resulting resource.
|
577
577
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
578
578
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
579
|
-
:param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
579
|
+
:param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
580
580
|
:param pulumi.Input[float] cpu_allocated: (Updatable) Number of OCPUs allocated to OPSI Warehouse ADW.
|
581
581
|
:param pulumi.Input[float] cpu_used: Number of OCPUs used by OPSI Warehouse ADW. Can be fractional.
|
582
582
|
: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"}`
|
@@ -623,7 +623,7 @@ class OperationsInsightsWarehouse(pulumi.CustomResource):
|
|
623
623
|
@pulumi.getter(name="compartmentId")
|
624
624
|
def compartment_id(self) -> pulumi.Output[str]:
|
625
625
|
"""
|
626
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
626
|
+
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
627
627
|
"""
|
628
628
|
return pulumi.get(self, "compartment_id")
|
629
629
|
|
pulumi_oci/opsi/outputs.py
CHANGED
@@ -31,6 +31,9 @@ __all__ = [
|
|
31
31
|
'GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemItemResult',
|
32
32
|
'GetAwrHubAwrSnapshotsFilterResult',
|
33
33
|
'GetAwrHubAwrSourcesSummaryItemResult',
|
34
|
+
'GetAwrHubSourcesAwrHubSourceSummaryCollectionResult',
|
35
|
+
'GetAwrHubSourcesAwrHubSourceSummaryCollectionItemResult',
|
36
|
+
'GetAwrHubSourcesFilterResult',
|
34
37
|
'GetAwrHubsAwrHubSummaryCollectionResult',
|
35
38
|
'GetAwrHubsAwrHubSummaryCollectionItemResult',
|
36
39
|
'GetAwrHubsFilterResult',
|
@@ -1648,6 +1651,311 @@ class GetAwrHubAwrSourcesSummaryItemResult(dict):
|
|
1648
1651
|
return pulumi.get(self, "time_last_snapshot_generated")
|
1649
1652
|
|
1650
1653
|
|
1654
|
+
@pulumi.output_type
|
1655
|
+
class GetAwrHubSourcesAwrHubSourceSummaryCollectionResult(dict):
|
1656
|
+
def __init__(__self__, *,
|
1657
|
+
items: Sequence['outputs.GetAwrHubSourcesAwrHubSourceSummaryCollectionItemResult']):
|
1658
|
+
pulumi.set(__self__, "items", items)
|
1659
|
+
|
1660
|
+
@property
|
1661
|
+
@pulumi.getter
|
1662
|
+
def items(self) -> Sequence['outputs.GetAwrHubSourcesAwrHubSourceSummaryCollectionItemResult']:
|
1663
|
+
return pulumi.get(self, "items")
|
1664
|
+
|
1665
|
+
|
1666
|
+
@pulumi.output_type
|
1667
|
+
class GetAwrHubSourcesAwrHubSourceSummaryCollectionItemResult(dict):
|
1668
|
+
def __init__(__self__, *,
|
1669
|
+
associated_opsi_id: str,
|
1670
|
+
associated_resource_id: str,
|
1671
|
+
awr_hub_id: str,
|
1672
|
+
awr_hub_opsi_source_id: str,
|
1673
|
+
awr_source_database_id: str,
|
1674
|
+
compartment_id: str,
|
1675
|
+
defined_tags: Mapping[str, Any],
|
1676
|
+
freeform_tags: Mapping[str, Any],
|
1677
|
+
hours_since_last_import: float,
|
1678
|
+
id: str,
|
1679
|
+
is_registered_with_awr_hub: bool,
|
1680
|
+
max_snapshot_identifier: float,
|
1681
|
+
min_snapshot_identifier: float,
|
1682
|
+
name: str,
|
1683
|
+
source_mail_box_url: str,
|
1684
|
+
state: str,
|
1685
|
+
status: str,
|
1686
|
+
system_tags: Mapping[str, Any],
|
1687
|
+
time_created: str,
|
1688
|
+
time_first_snapshot_generated: str,
|
1689
|
+
time_last_snapshot_generated: str,
|
1690
|
+
time_updated: str,
|
1691
|
+
type: str):
|
1692
|
+
"""
|
1693
|
+
:param str associated_opsi_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
1694
|
+
:param str associated_resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
1695
|
+
:param str awr_hub_id: Unique Awr Hub identifier
|
1696
|
+
:param str awr_hub_opsi_source_id: The shorted string of the Awr Hub source database identifier.
|
1697
|
+
:param str awr_source_database_id: DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
1698
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
1699
|
+
:param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1700
|
+
:param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1701
|
+
:param float hours_since_last_import: Number of hours since last AWR snapshots import happened from the Source database.
|
1702
|
+
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Awr Hub source database.
|
1703
|
+
:param bool is_registered_with_awr_hub: This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
|
1704
|
+
:param float max_snapshot_identifier: The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
1705
|
+
:param float min_snapshot_identifier: The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
1706
|
+
:param str name: Awr Hub source database name
|
1707
|
+
:param str source_mail_box_url: Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
1708
|
+
:param str state: Lifecycle states
|
1709
|
+
:param str status: Resource Status
|
1710
|
+
:param 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"}`
|
1711
|
+
:param str time_created: The time at which the resource was first created. An RFC3339 formatted datetime string
|
1712
|
+
:param 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
|
1713
|
+
:param 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
|
1714
|
+
:param str time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string
|
1715
|
+
:param str type: source type of the database
|
1716
|
+
"""
|
1717
|
+
pulumi.set(__self__, "associated_opsi_id", associated_opsi_id)
|
1718
|
+
pulumi.set(__self__, "associated_resource_id", associated_resource_id)
|
1719
|
+
pulumi.set(__self__, "awr_hub_id", awr_hub_id)
|
1720
|
+
pulumi.set(__self__, "awr_hub_opsi_source_id", awr_hub_opsi_source_id)
|
1721
|
+
pulumi.set(__self__, "awr_source_database_id", awr_source_database_id)
|
1722
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
1723
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
1724
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
1725
|
+
pulumi.set(__self__, "hours_since_last_import", hours_since_last_import)
|
1726
|
+
pulumi.set(__self__, "id", id)
|
1727
|
+
pulumi.set(__self__, "is_registered_with_awr_hub", is_registered_with_awr_hub)
|
1728
|
+
pulumi.set(__self__, "max_snapshot_identifier", max_snapshot_identifier)
|
1729
|
+
pulumi.set(__self__, "min_snapshot_identifier", min_snapshot_identifier)
|
1730
|
+
pulumi.set(__self__, "name", name)
|
1731
|
+
pulumi.set(__self__, "source_mail_box_url", source_mail_box_url)
|
1732
|
+
pulumi.set(__self__, "state", state)
|
1733
|
+
pulumi.set(__self__, "status", status)
|
1734
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
1735
|
+
pulumi.set(__self__, "time_created", time_created)
|
1736
|
+
pulumi.set(__self__, "time_first_snapshot_generated", time_first_snapshot_generated)
|
1737
|
+
pulumi.set(__self__, "time_last_snapshot_generated", time_last_snapshot_generated)
|
1738
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
1739
|
+
pulumi.set(__self__, "type", type)
|
1740
|
+
|
1741
|
+
@property
|
1742
|
+
@pulumi.getter(name="associatedOpsiId")
|
1743
|
+
def associated_opsi_id(self) -> str:
|
1744
|
+
"""
|
1745
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
1746
|
+
"""
|
1747
|
+
return pulumi.get(self, "associated_opsi_id")
|
1748
|
+
|
1749
|
+
@property
|
1750
|
+
@pulumi.getter(name="associatedResourceId")
|
1751
|
+
def associated_resource_id(self) -> str:
|
1752
|
+
"""
|
1753
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
|
1754
|
+
"""
|
1755
|
+
return pulumi.get(self, "associated_resource_id")
|
1756
|
+
|
1757
|
+
@property
|
1758
|
+
@pulumi.getter(name="awrHubId")
|
1759
|
+
def awr_hub_id(self) -> str:
|
1760
|
+
"""
|
1761
|
+
Unique Awr Hub identifier
|
1762
|
+
"""
|
1763
|
+
return pulumi.get(self, "awr_hub_id")
|
1764
|
+
|
1765
|
+
@property
|
1766
|
+
@pulumi.getter(name="awrHubOpsiSourceId")
|
1767
|
+
def awr_hub_opsi_source_id(self) -> str:
|
1768
|
+
"""
|
1769
|
+
The shorted string of the Awr Hub source database identifier.
|
1770
|
+
"""
|
1771
|
+
return pulumi.get(self, "awr_hub_opsi_source_id")
|
1772
|
+
|
1773
|
+
@property
|
1774
|
+
@pulumi.getter(name="awrSourceDatabaseId")
|
1775
|
+
def awr_source_database_id(self) -> str:
|
1776
|
+
"""
|
1777
|
+
DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
|
1778
|
+
"""
|
1779
|
+
return pulumi.get(self, "awr_source_database_id")
|
1780
|
+
|
1781
|
+
@property
|
1782
|
+
@pulumi.getter(name="compartmentId")
|
1783
|
+
def compartment_id(self) -> str:
|
1784
|
+
"""
|
1785
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
1786
|
+
"""
|
1787
|
+
return pulumi.get(self, "compartment_id")
|
1788
|
+
|
1789
|
+
@property
|
1790
|
+
@pulumi.getter(name="definedTags")
|
1791
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
1792
|
+
"""
|
1793
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1794
|
+
"""
|
1795
|
+
return pulumi.get(self, "defined_tags")
|
1796
|
+
|
1797
|
+
@property
|
1798
|
+
@pulumi.getter(name="freeformTags")
|
1799
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
1800
|
+
"""
|
1801
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1802
|
+
"""
|
1803
|
+
return pulumi.get(self, "freeform_tags")
|
1804
|
+
|
1805
|
+
@property
|
1806
|
+
@pulumi.getter(name="hoursSinceLastImport")
|
1807
|
+
def hours_since_last_import(self) -> float:
|
1808
|
+
"""
|
1809
|
+
Number of hours since last AWR snapshots import happened from the Source database.
|
1810
|
+
"""
|
1811
|
+
return pulumi.get(self, "hours_since_last_import")
|
1812
|
+
|
1813
|
+
@property
|
1814
|
+
@pulumi.getter
|
1815
|
+
def id(self) -> str:
|
1816
|
+
"""
|
1817
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Awr Hub source database.
|
1818
|
+
"""
|
1819
|
+
return pulumi.get(self, "id")
|
1820
|
+
|
1821
|
+
@property
|
1822
|
+
@pulumi.getter(name="isRegisteredWithAwrHub")
|
1823
|
+
def is_registered_with_awr_hub(self) -> bool:
|
1824
|
+
"""
|
1825
|
+
This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
|
1826
|
+
"""
|
1827
|
+
return pulumi.get(self, "is_registered_with_awr_hub")
|
1828
|
+
|
1829
|
+
@property
|
1830
|
+
@pulumi.getter(name="maxSnapshotIdentifier")
|
1831
|
+
def max_snapshot_identifier(self) -> float:
|
1832
|
+
"""
|
1833
|
+
The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
1834
|
+
"""
|
1835
|
+
return pulumi.get(self, "max_snapshot_identifier")
|
1836
|
+
|
1837
|
+
@property
|
1838
|
+
@pulumi.getter(name="minSnapshotIdentifier")
|
1839
|
+
def min_snapshot_identifier(self) -> float:
|
1840
|
+
"""
|
1841
|
+
The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
|
1842
|
+
"""
|
1843
|
+
return pulumi.get(self, "min_snapshot_identifier")
|
1844
|
+
|
1845
|
+
@property
|
1846
|
+
@pulumi.getter
|
1847
|
+
def name(self) -> str:
|
1848
|
+
"""
|
1849
|
+
Awr Hub source database name
|
1850
|
+
"""
|
1851
|
+
return pulumi.get(self, "name")
|
1852
|
+
|
1853
|
+
@property
|
1854
|
+
@pulumi.getter(name="sourceMailBoxUrl")
|
1855
|
+
def source_mail_box_url(self) -> str:
|
1856
|
+
"""
|
1857
|
+
Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
|
1858
|
+
"""
|
1859
|
+
return pulumi.get(self, "source_mail_box_url")
|
1860
|
+
|
1861
|
+
@property
|
1862
|
+
@pulumi.getter
|
1863
|
+
def state(self) -> str:
|
1864
|
+
"""
|
1865
|
+
Lifecycle states
|
1866
|
+
"""
|
1867
|
+
return pulumi.get(self, "state")
|
1868
|
+
|
1869
|
+
@property
|
1870
|
+
@pulumi.getter
|
1871
|
+
def status(self) -> str:
|
1872
|
+
"""
|
1873
|
+
Resource Status
|
1874
|
+
"""
|
1875
|
+
return pulumi.get(self, "status")
|
1876
|
+
|
1877
|
+
@property
|
1878
|
+
@pulumi.getter(name="systemTags")
|
1879
|
+
def system_tags(self) -> Mapping[str, Any]:
|
1880
|
+
"""
|
1881
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
1882
|
+
"""
|
1883
|
+
return pulumi.get(self, "system_tags")
|
1884
|
+
|
1885
|
+
@property
|
1886
|
+
@pulumi.getter(name="timeCreated")
|
1887
|
+
def time_created(self) -> str:
|
1888
|
+
"""
|
1889
|
+
The time at which the resource was first created. An RFC3339 formatted datetime string
|
1890
|
+
"""
|
1891
|
+
return pulumi.get(self, "time_created")
|
1892
|
+
|
1893
|
+
@property
|
1894
|
+
@pulumi.getter(name="timeFirstSnapshotGenerated")
|
1895
|
+
def time_first_snapshot_generated(self) -> str:
|
1896
|
+
"""
|
1897
|
+
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
|
1898
|
+
"""
|
1899
|
+
return pulumi.get(self, "time_first_snapshot_generated")
|
1900
|
+
|
1901
|
+
@property
|
1902
|
+
@pulumi.getter(name="timeLastSnapshotGenerated")
|
1903
|
+
def time_last_snapshot_generated(self) -> str:
|
1904
|
+
"""
|
1905
|
+
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
|
1906
|
+
"""
|
1907
|
+
return pulumi.get(self, "time_last_snapshot_generated")
|
1908
|
+
|
1909
|
+
@property
|
1910
|
+
@pulumi.getter(name="timeUpdated")
|
1911
|
+
def time_updated(self) -> str:
|
1912
|
+
"""
|
1913
|
+
The time at which the resource was last updated. An RFC3339 formatted datetime string
|
1914
|
+
"""
|
1915
|
+
return pulumi.get(self, "time_updated")
|
1916
|
+
|
1917
|
+
@property
|
1918
|
+
@pulumi.getter
|
1919
|
+
def type(self) -> str:
|
1920
|
+
"""
|
1921
|
+
source type of the database
|
1922
|
+
"""
|
1923
|
+
return pulumi.get(self, "type")
|
1924
|
+
|
1925
|
+
|
1926
|
+
@pulumi.output_type
|
1927
|
+
class GetAwrHubSourcesFilterResult(dict):
|
1928
|
+
def __init__(__self__, *,
|
1929
|
+
name: str,
|
1930
|
+
values: Sequence[str],
|
1931
|
+
regex: Optional[bool] = None):
|
1932
|
+
"""
|
1933
|
+
:param str name: Awr Hub source database name
|
1934
|
+
"""
|
1935
|
+
pulumi.set(__self__, "name", name)
|
1936
|
+
pulumi.set(__self__, "values", values)
|
1937
|
+
if regex is not None:
|
1938
|
+
pulumi.set(__self__, "regex", regex)
|
1939
|
+
|
1940
|
+
@property
|
1941
|
+
@pulumi.getter
|
1942
|
+
def name(self) -> str:
|
1943
|
+
"""
|
1944
|
+
Awr Hub source database name
|
1945
|
+
"""
|
1946
|
+
return pulumi.get(self, "name")
|
1947
|
+
|
1948
|
+
@property
|
1949
|
+
@pulumi.getter
|
1950
|
+
def values(self) -> Sequence[str]:
|
1951
|
+
return pulumi.get(self, "values")
|
1952
|
+
|
1953
|
+
@property
|
1954
|
+
@pulumi.getter
|
1955
|
+
def regex(self) -> Optional[bool]:
|
1956
|
+
return pulumi.get(self, "regex")
|
1957
|
+
|
1958
|
+
|
1651
1959
|
@pulumi.output_type
|
1652
1960
|
class GetAwrHubsAwrHubSummaryCollectionResult(dict):
|
1653
1961
|
def __init__(__self__, *,
|
@@ -1668,6 +1976,7 @@ class GetAwrHubsAwrHubSummaryCollectionItemResult(dict):
|
|
1668
1976
|
defined_tags: Mapping[str, Any],
|
1669
1977
|
display_name: str,
|
1670
1978
|
freeform_tags: Mapping[str, Any],
|
1979
|
+
hub_dst_timezone_version: str,
|
1671
1980
|
id: str,
|
1672
1981
|
lifecycle_details: str,
|
1673
1982
|
object_storage_bucket_name: str,
|
@@ -1682,6 +1991,7 @@ class GetAwrHubsAwrHubSummaryCollectionItemResult(dict):
|
|
1682
1991
|
:param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
|
1683
1992
|
:param str display_name: A filter to return only resources that match the entire display name.
|
1684
1993
|
:param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
1994
|
+
:param str hub_dst_timezone_version: Dst Time Zone Version of the AWR Hub
|
1685
1995
|
:param str id: Unique Awr Hub identifier
|
1686
1996
|
:param str lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
|
1687
1997
|
:param str object_storage_bucket_name: Object Storage Bucket Name
|
@@ -1696,6 +2006,7 @@ class GetAwrHubsAwrHubSummaryCollectionItemResult(dict):
|
|
1696
2006
|
pulumi.set(__self__, "defined_tags", defined_tags)
|
1697
2007
|
pulumi.set(__self__, "display_name", display_name)
|
1698
2008
|
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
2009
|
+
pulumi.set(__self__, "hub_dst_timezone_version", hub_dst_timezone_version)
|
1699
2010
|
pulumi.set(__self__, "id", id)
|
1700
2011
|
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
1701
2012
|
pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name)
|
@@ -1745,6 +2056,14 @@ class GetAwrHubsAwrHubSummaryCollectionItemResult(dict):
|
|
1745
2056
|
"""
|
1746
2057
|
return pulumi.get(self, "freeform_tags")
|
1747
2058
|
|
2059
|
+
@property
|
2060
|
+
@pulumi.getter(name="hubDstTimezoneVersion")
|
2061
|
+
def hub_dst_timezone_version(self) -> str:
|
2062
|
+
"""
|
2063
|
+
Dst Time Zone Version of the AWR Hub
|
2064
|
+
"""
|
2065
|
+
return pulumi.get(self, "hub_dst_timezone_version")
|
2066
|
+
|
1748
2067
|
@property
|
1749
2068
|
@pulumi.getter
|
1750
2069
|
def id(self) -> str:
|
@@ -23,7 +23,7 @@ class GetHistoriesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getHistories.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, history_collections=None, id=None, name=None, recommendation_id=None, recommendation_name=None, resource_type=None, state=None, status=None):
|
26
|
+
def __init__(__self__, compartment_id=None, compartment_id_in_subtree=None, filters=None, history_collections=None, id=None, include_resource_metadata=None, name=None, recommendation_id=None, recommendation_name=None, resource_type=None, state=None, status=None):
|
27
27
|
if compartment_id and not isinstance(compartment_id, str):
|
28
28
|
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
29
|
pulumi.set(__self__, "compartment_id", compartment_id)
|
@@ -39,6 +39,9 @@ class GetHistoriesResult:
|
|
39
39
|
if id and not isinstance(id, str):
|
40
40
|
raise TypeError("Expected argument 'id' to be a str")
|
41
41
|
pulumi.set(__self__, "id", id)
|
42
|
+
if include_resource_metadata and not isinstance(include_resource_metadata, bool):
|
43
|
+
raise TypeError("Expected argument 'include_resource_metadata' to be a bool")
|
44
|
+
pulumi.set(__self__, "include_resource_metadata", include_resource_metadata)
|
42
45
|
if name and not isinstance(name, str):
|
43
46
|
raise TypeError("Expected argument 'name' to be a str")
|
44
47
|
pulumi.set(__self__, "name", name)
|
@@ -92,6 +95,11 @@ class GetHistoriesResult:
|
|
92
95
|
"""
|
93
96
|
return pulumi.get(self, "id")
|
94
97
|
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="includeResourceMetadata")
|
100
|
+
def include_resource_metadata(self) -> Optional[bool]:
|
101
|
+
return pulumi.get(self, "include_resource_metadata")
|
102
|
+
|
95
103
|
@property
|
96
104
|
@pulumi.getter
|
97
105
|
def name(self) -> Optional[str]:
|
@@ -152,6 +160,7 @@ class AwaitableGetHistoriesResult(GetHistoriesResult):
|
|
152
160
|
filters=self.filters,
|
153
161
|
history_collections=self.history_collections,
|
154
162
|
id=self.id,
|
163
|
+
include_resource_metadata=self.include_resource_metadata,
|
155
164
|
name=self.name,
|
156
165
|
recommendation_id=self.recommendation_id,
|
157
166
|
recommendation_name=self.recommendation_name,
|
@@ -163,6 +172,7 @@ class AwaitableGetHistoriesResult(GetHistoriesResult):
|
|
163
172
|
def get_histories(compartment_id: Optional[str] = None,
|
164
173
|
compartment_id_in_subtree: Optional[bool] = None,
|
165
174
|
filters: Optional[Sequence[pulumi.InputType['GetHistoriesFilterArgs']]] = None,
|
175
|
+
include_resource_metadata: Optional[bool] = None,
|
166
176
|
name: Optional[str] = None,
|
167
177
|
recommendation_id: Optional[str] = None,
|
168
178
|
recommendation_name: Optional[str] = None,
|
@@ -184,6 +194,7 @@ def get_histories(compartment_id: Optional[str] = None,
|
|
184
194
|
|
185
195
|
test_histories = oci.Optimizer.get_histories(compartment_id=var["compartment_id"],
|
186
196
|
compartment_id_in_subtree=var["history_compartment_id_in_subtree"],
|
197
|
+
include_resource_metadata=var["history_include_resource_metadata"],
|
187
198
|
name=var["history_name"],
|
188
199
|
recommendation_id=oci_optimizer_recommendation["test_recommendation"]["id"],
|
189
200
|
recommendation_name=oci_optimizer_recommendation["test_recommendation"]["name"],
|
@@ -197,6 +208,7 @@ def get_histories(compartment_id: Optional[str] = None,
|
|
197
208
|
:param bool compartment_id_in_subtree: When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
|
198
209
|
|
199
210
|
Can only be set to true when performing ListCompartments on the tenancy (root compartment).
|
211
|
+
:param bool include_resource_metadata: Supplement additional resource information in extended metadata response.
|
200
212
|
:param str name: Optional. A filter that returns results that match the name specified.
|
201
213
|
:param str recommendation_id: The unique OCID associated with the recommendation.
|
202
214
|
:param str recommendation_name: Optional. A filter that returns results that match the recommendation name specified.
|
@@ -208,6 +220,7 @@ def get_histories(compartment_id: Optional[str] = None,
|
|
208
220
|
__args__['compartmentId'] = compartment_id
|
209
221
|
__args__['compartmentIdInSubtree'] = compartment_id_in_subtree
|
210
222
|
__args__['filters'] = filters
|
223
|
+
__args__['includeResourceMetadata'] = include_resource_metadata
|
211
224
|
__args__['name'] = name
|
212
225
|
__args__['recommendationId'] = recommendation_id
|
213
226
|
__args__['recommendationName'] = recommendation_name
|
@@ -223,6 +236,7 @@ def get_histories(compartment_id: Optional[str] = None,
|
|
223
236
|
filters=pulumi.get(__ret__, 'filters'),
|
224
237
|
history_collections=pulumi.get(__ret__, 'history_collections'),
|
225
238
|
id=pulumi.get(__ret__, 'id'),
|
239
|
+
include_resource_metadata=pulumi.get(__ret__, 'include_resource_metadata'),
|
226
240
|
name=pulumi.get(__ret__, 'name'),
|
227
241
|
recommendation_id=pulumi.get(__ret__, 'recommendation_id'),
|
228
242
|
recommendation_name=pulumi.get(__ret__, 'recommendation_name'),
|
@@ -235,6 +249,7 @@ def get_histories(compartment_id: Optional[str] = None,
|
|
235
249
|
def get_histories_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
236
250
|
compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
|
237
251
|
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetHistoriesFilterArgs']]]]] = None,
|
252
|
+
include_resource_metadata: Optional[pulumi.Input[Optional[bool]]] = None,
|
238
253
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
239
254
|
recommendation_id: Optional[pulumi.Input[Optional[str]]] = None,
|
240
255
|
recommendation_name: Optional[pulumi.Input[Optional[str]]] = None,
|
@@ -256,6 +271,7 @@ def get_histories_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
|
256
271
|
|
257
272
|
test_histories = oci.Optimizer.get_histories(compartment_id=var["compartment_id"],
|
258
273
|
compartment_id_in_subtree=var["history_compartment_id_in_subtree"],
|
274
|
+
include_resource_metadata=var["history_include_resource_metadata"],
|
259
275
|
name=var["history_name"],
|
260
276
|
recommendation_id=oci_optimizer_recommendation["test_recommendation"]["id"],
|
261
277
|
recommendation_name=oci_optimizer_recommendation["test_recommendation"]["name"],
|
@@ -269,6 +285,7 @@ def get_histories_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
|
269
285
|
:param bool compartment_id_in_subtree: When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the the setting of `accessLevel`.
|
270
286
|
|
271
287
|
Can only be set to true when performing ListCompartments on the tenancy (root compartment).
|
288
|
+
:param bool include_resource_metadata: Supplement additional resource information in extended metadata response.
|
272
289
|
:param str name: Optional. A filter that returns results that match the name specified.
|
273
290
|
:param str recommendation_id: The unique OCID associated with the recommendation.
|
274
291
|
:param str recommendation_name: Optional. A filter that returns results that match the recommendation name specified.
|
@@ -22,7 +22,7 @@ class GetProfileResult:
|
|
22
22
|
"""
|
23
23
|
A collection of values returned by getProfile.
|
24
24
|
"""
|
25
|
-
def __init__(__self__, aggregation_interval_in_days=None, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, levels_configurations=None, name=None, profile_id=None, state=None, target_compartments=None, target_tags=None, time_created=None, time_updated=None):
|
25
|
+
def __init__(__self__, aggregation_interval_in_days=None, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, levels_configurations=None, name=None, profile_id=None, state=None, system_tags=None, target_compartments=None, target_tags=None, time_created=None, time_updated=None):
|
26
26
|
if aggregation_interval_in_days and not isinstance(aggregation_interval_in_days, int):
|
27
27
|
raise TypeError("Expected argument 'aggregation_interval_in_days' to be a int")
|
28
28
|
pulumi.set(__self__, "aggregation_interval_in_days", aggregation_interval_in_days)
|
@@ -53,6 +53,9 @@ class GetProfileResult:
|
|
53
53
|
if state and not isinstance(state, str):
|
54
54
|
raise TypeError("Expected argument 'state' to be a str")
|
55
55
|
pulumi.set(__self__, "state", state)
|
56
|
+
if system_tags and not isinstance(system_tags, dict):
|
57
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
58
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
56
59
|
if target_compartments and not isinstance(target_compartments, list):
|
57
60
|
raise TypeError("Expected argument 'target_compartments' to be a list")
|
58
61
|
pulumi.set(__self__, "target_compartments", target_compartments)
|
@@ -143,6 +146,11 @@ class GetProfileResult:
|
|
143
146
|
"""
|
144
147
|
return pulumi.get(self, "state")
|
145
148
|
|
149
|
+
@property
|
150
|
+
@pulumi.getter(name="systemTags")
|
151
|
+
def system_tags(self) -> Mapping[str, Any]:
|
152
|
+
return pulumi.get(self, "system_tags")
|
153
|
+
|
146
154
|
@property
|
147
155
|
@pulumi.getter(name="targetCompartments")
|
148
156
|
def target_compartments(self) -> Sequence['outputs.GetProfileTargetCompartmentResult']:
|
@@ -192,6 +200,7 @@ class AwaitableGetProfileResult(GetProfileResult):
|
|
192
200
|
name=self.name,
|
193
201
|
profile_id=self.profile_id,
|
194
202
|
state=self.state,
|
203
|
+
system_tags=self.system_tags,
|
195
204
|
target_compartments=self.target_compartments,
|
196
205
|
target_tags=self.target_tags,
|
197
206
|
time_created=self.time_created,
|
@@ -233,6 +242,7 @@ def get_profile(profile_id: Optional[str] = None,
|
|
233
242
|
name=pulumi.get(__ret__, 'name'),
|
234
243
|
profile_id=pulumi.get(__ret__, 'profile_id'),
|
235
244
|
state=pulumi.get(__ret__, 'state'),
|
245
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
236
246
|
target_compartments=pulumi.get(__ret__, 'target_compartments'),
|
237
247
|
target_tags=pulumi.get(__ret__, 'target_tags'),
|
238
248
|
time_created=pulumi.get(__ret__, 'time_created'),
|