pulumi-oci 3.4.0a1755714728__py3-none-any.whl → 3.5.0a1756190604__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 +168 -43
- pulumi_oci/aidocument/__init__.py +1 -0
- pulumi_oci/aidocument/_inputs.py +476 -6
- pulumi_oci/aidocument/get_model.py +63 -2
- pulumi_oci/aidocument/get_model_type.py +179 -0
- pulumi_oci/aidocument/get_models.py +1 -1
- pulumi_oci/aidocument/get_project.py +17 -2
- pulumi_oci/aidocument/get_projects.py +1 -1
- pulumi_oci/aidocument/model.py +188 -0
- pulumi_oci/aidocument/outputs.py +883 -8
- pulumi_oci/aidocument/processor_job.py +22 -4
- pulumi_oci/aidocument/project.py +50 -1
- pulumi_oci/apigateway/_inputs.py +608 -12
- pulumi_oci/apigateway/api.py +127 -38
- pulumi_oci/apigateway/certificate.py +122 -3
- pulumi_oci/apigateway/deployment.py +120 -3
- pulumi_oci/apigateway/gateway.py +124 -7
- pulumi_oci/apigateway/get_api.py +40 -1
- pulumi_oci/apigateway/get_certificate.py +41 -1
- pulumi_oci/apigateway/get_deployment.py +40 -1
- pulumi_oci/apigateway/get_gateway.py +40 -1
- pulumi_oci/apigateway/get_subscriber.py +40 -1
- pulumi_oci/apigateway/get_usage_plan.py +40 -1
- pulumi_oci/apigateway/outputs.py +1413 -39
- pulumi_oci/apigateway/subscriber.py +120 -3
- pulumi_oci/apigateway/usage_plan.py +127 -38
- pulumi_oci/apmconfig/_inputs.py +199 -15
- pulumi_oci/apmconfig/config.py +535 -17
- pulumi_oci/apmconfig/get_config.py +141 -1
- pulumi_oci/apmconfig/get_configs.py +2 -2
- pulumi_oci/apmconfig/outputs.py +509 -13
- pulumi_oci/apmtraces/__init__.py +5 -0
- pulumi_oci/apmtraces/_inputs.py +413 -0
- pulumi_oci/apmtraces/get_attribute_auto_activate_status.py +160 -0
- pulumi_oci/apmtraces/get_log.py +356 -0
- pulumi_oci/apmtraces/get_scheduled_queries.py +163 -0
- pulumi_oci/apmtraces/get_scheduled_query.py +368 -0
- pulumi_oci/apmtraces/get_trace.py +4 -4
- pulumi_oci/apmtraces/outputs.py +971 -0
- pulumi_oci/apmtraces/scheduled_query.py +925 -0
- pulumi_oci/autoscaling/_inputs.py +177 -13
- pulumi_oci/autoscaling/auto_scaling_configuration.py +12 -0
- pulumi_oci/autoscaling/outputs.py +269 -23
- pulumi_oci/core/_inputs.py +184 -0
- pulumi_oci/core/get_ipv6.py +15 -1
- pulumi_oci/core/ipv6.py +49 -0
- pulumi_oci/core/outputs.py +365 -0
- pulumi_oci/database/__init__.py +3 -0
- pulumi_oci/database/_inputs.py +139 -7
- pulumi_oci/database/autonomous_container_database.py +94 -0
- pulumi_oci/database/autonomous_container_database_add_standby.py +28 -0
- pulumi_oci/database/autonomous_database.py +578 -568
- pulumi_oci/database/autonomous_database_saas_admin_user.py +43 -60
- pulumi_oci/database/get_autonomous_container_database.py +29 -1
- pulumi_oci/database/get_autonomous_database.py +65 -1
- pulumi_oci/database/get_autonomous_databases.py +6 -1
- pulumi_oci/database/get_pluggable_database_snapshot.py +253 -0
- pulumi_oci/database/get_pluggable_database_snapshots.py +235 -0
- pulumi_oci/database/outputs.py +470 -75
- pulumi_oci/database/pluggable_database.py +0 -14
- pulumi_oci/database/pluggable_database_snapshot.py +539 -0
- pulumi_oci/databasemanagement/__init__.py +37 -0
- pulumi_oci/databasemanagement/_inputs.py +9516 -3414
- pulumi_oci/databasemanagement/cloud_asm.py +791 -0
- pulumi_oci/databasemanagement/cloud_asm_instance.py +686 -0
- pulumi_oci/databasemanagement/cloud_cluster.py +847 -0
- pulumi_oci/databasemanagement/cloud_cluster_instance.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_home.py +630 -0
- pulumi_oci/databasemanagement/cloud_db_node.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system.py +789 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_database_managements_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_cloud_stack_monitorings_management.py +354 -0
- pulumi_oci/databasemanagement/cloud_db_system_connector.py +761 -0
- pulumi_oci/databasemanagement/cloud_db_system_discovery.py +754 -0
- pulumi_oci/databasemanagement/cloud_listener.py +1043 -0
- pulumi_oci/databasemanagement/get_cloud_asm.py +380 -0
- pulumi_oci/databasemanagement/get_cloud_asm_configuration.py +147 -0
- pulumi_oci/databasemanagement/get_cloud_asm_disk_groups.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instance.py +337 -0
- pulumi_oci/databasemanagement/get_cloud_asm_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_asm_users.py +163 -0
- pulumi_oci/databasemanagement/get_cloud_asms.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_cluster.py +408 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instance.py +379 -0
- pulumi_oci/databasemanagement/get_cloud_cluster_instances.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_clusters.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_databases.py +188 -0
- pulumi_oci/databasemanagement/get_cloud_db_home.py +309 -0
- pulumi_oci/databasemanagement/get_cloud_db_homes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_node.py +365 -0
- pulumi_oci/databasemanagement/get_cloud_db_nodes.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system.py +352 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connector.py +338 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_connectors.py +191 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discoveries.py +169 -0
- pulumi_oci/databasemanagement/get_cloud_db_system_discovery.py +335 -0
- pulumi_oci/databasemanagement/get_cloud_db_systems.py +235 -0
- pulumi_oci/databasemanagement/get_cloud_listener.py +506 -0
- pulumi_oci/databasemanagement/get_cloud_listener_services.py +187 -0
- pulumi_oci/databasemanagement/get_cloud_listeners.py +191 -0
- pulumi_oci/databasemanagement/get_managed_database.py +2 -2
- pulumi_oci/databasemanagement/get_managed_database_group.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +6 -6
- pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +5 -5
- pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +2 -2
- pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +2 -2
- pulumi_oci/databasemanagement/outputs.py +18049 -4222
- pulumi_oci/datasafe/get_security_assessment_finding_analytics.py +22 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +2 -2
- pulumi_oci/datasafe/get_security_assessments.py +2 -2
- pulumi_oci/datasafe/outputs.py +192 -2
- pulumi_oci/datascience/__init__.py +10 -0
- pulumi_oci/datascience/_inputs.py +6760 -2206
- pulumi_oci/datascience/get_job.py +15 -1
- pulumi_oci/datascience/get_job_run.py +44 -2
- pulumi_oci/datascience/get_model_deployment_model_states.py +251 -0
- pulumi_oci/datascience/get_model_group.py +405 -0
- pulumi_oci/datascience/get_model_group_artifact_content.py +132 -0
- pulumi_oci/datascience/get_model_group_models.py +240 -0
- pulumi_oci/datascience/get_model_group_version_histories.py +243 -0
- pulumi_oci/{aianomalydetection/get_detection_model.py → datascience/get_model_group_version_history.py} +73 -74
- pulumi_oci/datascience/get_model_groups.py +265 -0
- pulumi_oci/datascience/get_pipeline_run.py +15 -1
- pulumi_oci/datascience/job.py +81 -154
- pulumi_oci/datascience/job_run.py +250 -4
- pulumi_oci/datascience/model_group.py +1111 -0
- pulumi_oci/datascience/model_group_artifact.py +369 -0
- pulumi_oci/{aianomalydetection/model.py → datascience/model_group_version_history.py} +172 -187
- pulumi_oci/datascience/notebook_session.py +4 -0
- pulumi_oci/datascience/outputs.py +17168 -8021
- pulumi_oci/datascience/pipeline_run.py +87 -0
- pulumi_oci/goldengate/_inputs.py +3 -3
- pulumi_oci/goldengate/connection.py +175 -56
- pulumi_oci/goldengate/get_connection.py +20 -4
- pulumi_oci/goldengate/outputs.py +27 -8
- pulumi_oci/managementagent/__init__.py +4 -0
- pulumi_oci/managementagent/_inputs.py +129 -0
- pulumi_oci/managementagent/get_management_agent.py +26 -1
- pulumi_oci/managementagent/get_management_agent_install_key.py +43 -1
- pulumi_oci/managementagent/get_management_agent_named_credentials_metadata.py +147 -0
- pulumi_oci/managementagent/get_named_credential.py +268 -0
- pulumi_oci/managementagent/get_named_credentials.py +221 -0
- pulumi_oci/managementagent/management_agent.py +48 -0
- pulumi_oci/managementagent/management_agent_install_key.py +84 -0
- pulumi_oci/managementagent/named_credential.py +706 -0
- pulumi_oci/managementagent/outputs.py +515 -0
- pulumi_oci/managementdashboard/management_dashboards_import.py +178 -20
- pulumi_oci/oci/__init__.py +3 -0
- pulumi_oci/oci/_inputs.py +146 -0
- pulumi_oci/{aianomalydetection/project.py → oci/api_platform_api_platform_instance.py} +204 -118
- pulumi_oci/oci/get_api_platform_api_platform_instance.py +282 -0
- pulumi_oci/oci/get_api_platform_api_platform_instances.py +199 -0
- pulumi_oci/oci/outputs.py +367 -0
- pulumi_oci/opsi/_inputs.py +1001 -149
- pulumi_oci/opsi/database_insight.py +22 -3
- pulumi_oci/opsi/exadata_insight.py +86 -6
- pulumi_oci/opsi/outputs.py +1438 -178
- pulumi_oci/psql/configuration.py +109 -19
- pulumi_oci/psql/db_system.py +7 -7
- pulumi_oci/psql/get_configuration.py +30 -2
- pulumi_oci/psql/get_configurations.py +49 -5
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_default_configuration.py +30 -4
- pulumi_oci/psql/get_default_configurations.py +49 -5
- pulumi_oci/psql/outputs.py +47 -14
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/__init__.py +6 -0
- pulumi_oci/redis/_inputs.py +217 -0
- pulumi_oci/{aianomalydetection/get_detection_data_asset.py → redis/get_oci_cache_config_set.py} +74 -74
- pulumi_oci/redis/get_oci_cache_config_sets.py +221 -0
- pulumi_oci/redis/get_oci_cache_default_config_set.py +217 -0
- pulumi_oci/redis/get_oci_cache_default_config_sets.py +218 -0
- pulumi_oci/redis/get_redis_cluster.py +15 -1
- pulumi_oci/{aianomalydetection/data_asset.py → redis/oci_cache_config_set.py} +190 -254
- pulumi_oci/redis/oci_cache_config_setlist_associated_oci_cache_cluster.py +240 -0
- pulumi_oci/redis/outputs.py +713 -0
- pulumi_oci/redis/redis_cluster.py +49 -0
- pulumi_oci/vault/_inputs.py +198 -0
- pulumi_oci/vault/get_secret.py +43 -1
- pulumi_oci/vault/outputs.py +434 -0
- pulumi_oci/vault/secret.py +103 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/METADATA +1 -1
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/RECORD +185 -134
- pulumi_oci/aianomalydetection/__init__.py +0 -25
- pulumi_oci/aianomalydetection/_inputs.py +0 -1742
- pulumi_oci/aianomalydetection/ai_private_endpoint.py +0 -643
- pulumi_oci/aianomalydetection/detect_anomaly_job.py +0 -739
- pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +0 -281
- pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +0 -199
- pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +0 -338
- pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +0 -254
- pulumi_oci/aianomalydetection/get_detection_data_assets.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_models.py +0 -213
- pulumi_oci/aianomalydetection/get_detection_project.py +0 -239
- pulumi_oci/aianomalydetection/get_detection_projects.py +0 -191
- pulumi_oci/aianomalydetection/outputs.py +0 -3699
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.4.0a1755714728.dist-info → pulumi_oci-3.5.0a1756190604.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,789 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['CloudDbSystemArgs', 'CloudDbSystem']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class CloudDbSystemArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
compartment_id: pulumi.Input[_builtins.str],
|
25
|
+
db_system_discovery_id: pulumi.Input[_builtins.str],
|
26
|
+
database_management_config: Optional[pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs']] = None,
|
27
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
29
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
30
|
+
stack_monitoring_config: Optional[pulumi.Input['CloudDbSystemStackMonitoringConfigArgs']] = None):
|
31
|
+
"""
|
32
|
+
The set of arguments for constructing a CloudDbSystem resource.
|
33
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
34
|
+
:param pulumi.Input[_builtins.str] db_system_discovery_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
35
|
+
:param pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs'] database_management_config: The configuration details of Database Management for a cloud DB system.
|
36
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
37
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
39
|
+
:param pulumi.Input['CloudDbSystemStackMonitoringConfigArgs'] stack_monitoring_config: The configuration details of Stack Monitoring for a cloud DB system.
|
40
|
+
"""
|
41
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
42
|
+
pulumi.set(__self__, "db_system_discovery_id", db_system_discovery_id)
|
43
|
+
if database_management_config is not None:
|
44
|
+
pulumi.set(__self__, "database_management_config", database_management_config)
|
45
|
+
if defined_tags is not None:
|
46
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
47
|
+
if display_name is not None:
|
48
|
+
pulumi.set(__self__, "display_name", display_name)
|
49
|
+
if freeform_tags is not None:
|
50
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
51
|
+
if stack_monitoring_config is not None:
|
52
|
+
pulumi.set(__self__, "stack_monitoring_config", stack_monitoring_config)
|
53
|
+
|
54
|
+
@_builtins.property
|
55
|
+
@pulumi.getter(name="compartmentId")
|
56
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
57
|
+
"""
|
58
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
59
|
+
"""
|
60
|
+
return pulumi.get(self, "compartment_id")
|
61
|
+
|
62
|
+
@compartment_id.setter
|
63
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
64
|
+
pulumi.set(self, "compartment_id", value)
|
65
|
+
|
66
|
+
@_builtins.property
|
67
|
+
@pulumi.getter(name="dbSystemDiscoveryId")
|
68
|
+
def db_system_discovery_id(self) -> pulumi.Input[_builtins.str]:
|
69
|
+
"""
|
70
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "db_system_discovery_id")
|
73
|
+
|
74
|
+
@db_system_discovery_id.setter
|
75
|
+
def db_system_discovery_id(self, value: pulumi.Input[_builtins.str]):
|
76
|
+
pulumi.set(self, "db_system_discovery_id", value)
|
77
|
+
|
78
|
+
@_builtins.property
|
79
|
+
@pulumi.getter(name="databaseManagementConfig")
|
80
|
+
def database_management_config(self) -> Optional[pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs']]:
|
81
|
+
"""
|
82
|
+
The configuration details of Database Management for a cloud DB system.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "database_management_config")
|
85
|
+
|
86
|
+
@database_management_config.setter
|
87
|
+
def database_management_config(self, value: Optional[pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs']]):
|
88
|
+
pulumi.set(self, "database_management_config", value)
|
89
|
+
|
90
|
+
@_builtins.property
|
91
|
+
@pulumi.getter(name="definedTags")
|
92
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
93
|
+
"""
|
94
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "defined_tags")
|
97
|
+
|
98
|
+
@defined_tags.setter
|
99
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
100
|
+
pulumi.set(self, "defined_tags", value)
|
101
|
+
|
102
|
+
@_builtins.property
|
103
|
+
@pulumi.getter(name="displayName")
|
104
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
105
|
+
"""
|
106
|
+
(Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "display_name")
|
109
|
+
|
110
|
+
@display_name.setter
|
111
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
112
|
+
pulumi.set(self, "display_name", value)
|
113
|
+
|
114
|
+
@_builtins.property
|
115
|
+
@pulumi.getter(name="freeformTags")
|
116
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
117
|
+
"""
|
118
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "freeform_tags")
|
121
|
+
|
122
|
+
@freeform_tags.setter
|
123
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
124
|
+
pulumi.set(self, "freeform_tags", value)
|
125
|
+
|
126
|
+
@_builtins.property
|
127
|
+
@pulumi.getter(name="stackMonitoringConfig")
|
128
|
+
def stack_monitoring_config(self) -> Optional[pulumi.Input['CloudDbSystemStackMonitoringConfigArgs']]:
|
129
|
+
"""
|
130
|
+
The configuration details of Stack Monitoring for a cloud DB system.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "stack_monitoring_config")
|
133
|
+
|
134
|
+
@stack_monitoring_config.setter
|
135
|
+
def stack_monitoring_config(self, value: Optional[pulumi.Input['CloudDbSystemStackMonitoringConfigArgs']]):
|
136
|
+
pulumi.set(self, "stack_monitoring_config", value)
|
137
|
+
|
138
|
+
|
139
|
+
@pulumi.input_type
|
140
|
+
class _CloudDbSystemState:
|
141
|
+
def __init__(__self__, *,
|
142
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
143
|
+
database_management_config: Optional[pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs']] = None,
|
144
|
+
db_system_discovery_id: Optional[pulumi.Input[_builtins.str]] = None,
|
145
|
+
dbaas_parent_infrastructure_id: Optional[pulumi.Input[_builtins.str]] = None,
|
146
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
147
|
+
deployment_type: Optional[pulumi.Input[_builtins.str]] = None,
|
148
|
+
discovery_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
149
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
150
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
151
|
+
home_directory: Optional[pulumi.Input[_builtins.str]] = None,
|
152
|
+
is_cluster: Optional[pulumi.Input[_builtins.bool]] = None,
|
153
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
154
|
+
stack_monitoring_config: Optional[pulumi.Input['CloudDbSystemStackMonitoringConfigArgs']] = None,
|
155
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
156
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
157
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
158
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
159
|
+
"""
|
160
|
+
Input properties used for looking up and filtering CloudDbSystem resources.
|
161
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
162
|
+
:param pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs'] database_management_config: The configuration details of Database Management for a cloud DB system.
|
163
|
+
:param pulumi.Input[_builtins.str] db_system_discovery_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
164
|
+
:param pulumi.Input[_builtins.str] dbaas_parent_infrastructure_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
|
165
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
166
|
+
:param pulumi.Input[_builtins.str] deployment_type: The deployment type of cloud dbsystem.
|
167
|
+
:param pulumi.Input[_builtins.str] discovery_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used during the discovery of the DB system.
|
168
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
169
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
170
|
+
:param pulumi.Input[_builtins.str] home_directory: The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
|
171
|
+
:param pulumi.Input[_builtins.bool] is_cluster: Indicates whether the DB system is a cluster DB system or not.
|
172
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Additional information about the current lifecycle state.
|
173
|
+
:param pulumi.Input['CloudDbSystemStackMonitoringConfigArgs'] stack_monitoring_config: The configuration details of Stack Monitoring for a cloud DB system.
|
174
|
+
:param pulumi.Input[_builtins.str] state: The current lifecycle state of the cloud DB system resource.
|
175
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
176
|
+
:param pulumi.Input[_builtins.str] time_created: The date and time the cloud DB system was created.
|
177
|
+
:param pulumi.Input[_builtins.str] time_updated: The date and time the cloud DB system was last updated.
|
178
|
+
"""
|
179
|
+
if compartment_id is not None:
|
180
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
181
|
+
if database_management_config is not None:
|
182
|
+
pulumi.set(__self__, "database_management_config", database_management_config)
|
183
|
+
if db_system_discovery_id is not None:
|
184
|
+
pulumi.set(__self__, "db_system_discovery_id", db_system_discovery_id)
|
185
|
+
if dbaas_parent_infrastructure_id is not None:
|
186
|
+
pulumi.set(__self__, "dbaas_parent_infrastructure_id", dbaas_parent_infrastructure_id)
|
187
|
+
if defined_tags is not None:
|
188
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
189
|
+
if deployment_type is not None:
|
190
|
+
pulumi.set(__self__, "deployment_type", deployment_type)
|
191
|
+
if discovery_agent_id is not None:
|
192
|
+
pulumi.set(__self__, "discovery_agent_id", discovery_agent_id)
|
193
|
+
if display_name is not None:
|
194
|
+
pulumi.set(__self__, "display_name", display_name)
|
195
|
+
if freeform_tags is not None:
|
196
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
197
|
+
if home_directory is not None:
|
198
|
+
pulumi.set(__self__, "home_directory", home_directory)
|
199
|
+
if is_cluster is not None:
|
200
|
+
pulumi.set(__self__, "is_cluster", is_cluster)
|
201
|
+
if lifecycle_details is not None:
|
202
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
203
|
+
if stack_monitoring_config is not None:
|
204
|
+
pulumi.set(__self__, "stack_monitoring_config", stack_monitoring_config)
|
205
|
+
if state is not None:
|
206
|
+
pulumi.set(__self__, "state", state)
|
207
|
+
if system_tags is not None:
|
208
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
209
|
+
if time_created is not None:
|
210
|
+
pulumi.set(__self__, "time_created", time_created)
|
211
|
+
if time_updated is not None:
|
212
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
213
|
+
|
214
|
+
@_builtins.property
|
215
|
+
@pulumi.getter(name="compartmentId")
|
216
|
+
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
217
|
+
"""
|
218
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "compartment_id")
|
221
|
+
|
222
|
+
@compartment_id.setter
|
223
|
+
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
224
|
+
pulumi.set(self, "compartment_id", value)
|
225
|
+
|
226
|
+
@_builtins.property
|
227
|
+
@pulumi.getter(name="databaseManagementConfig")
|
228
|
+
def database_management_config(self) -> Optional[pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs']]:
|
229
|
+
"""
|
230
|
+
The configuration details of Database Management for a cloud DB system.
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "database_management_config")
|
233
|
+
|
234
|
+
@database_management_config.setter
|
235
|
+
def database_management_config(self, value: Optional[pulumi.Input['CloudDbSystemDatabaseManagementConfigArgs']]):
|
236
|
+
pulumi.set(self, "database_management_config", value)
|
237
|
+
|
238
|
+
@_builtins.property
|
239
|
+
@pulumi.getter(name="dbSystemDiscoveryId")
|
240
|
+
def db_system_discovery_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
241
|
+
"""
|
242
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
243
|
+
"""
|
244
|
+
return pulumi.get(self, "db_system_discovery_id")
|
245
|
+
|
246
|
+
@db_system_discovery_id.setter
|
247
|
+
def db_system_discovery_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
248
|
+
pulumi.set(self, "db_system_discovery_id", value)
|
249
|
+
|
250
|
+
@_builtins.property
|
251
|
+
@pulumi.getter(name="dbaasParentInfrastructureId")
|
252
|
+
def dbaas_parent_infrastructure_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
253
|
+
"""
|
254
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "dbaas_parent_infrastructure_id")
|
257
|
+
|
258
|
+
@dbaas_parent_infrastructure_id.setter
|
259
|
+
def dbaas_parent_infrastructure_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
260
|
+
pulumi.set(self, "dbaas_parent_infrastructure_id", value)
|
261
|
+
|
262
|
+
@_builtins.property
|
263
|
+
@pulumi.getter(name="definedTags")
|
264
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
265
|
+
"""
|
266
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "defined_tags")
|
269
|
+
|
270
|
+
@defined_tags.setter
|
271
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
272
|
+
pulumi.set(self, "defined_tags", value)
|
273
|
+
|
274
|
+
@_builtins.property
|
275
|
+
@pulumi.getter(name="deploymentType")
|
276
|
+
def deployment_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
277
|
+
"""
|
278
|
+
The deployment type of cloud dbsystem.
|
279
|
+
"""
|
280
|
+
return pulumi.get(self, "deployment_type")
|
281
|
+
|
282
|
+
@deployment_type.setter
|
283
|
+
def deployment_type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
284
|
+
pulumi.set(self, "deployment_type", value)
|
285
|
+
|
286
|
+
@_builtins.property
|
287
|
+
@pulumi.getter(name="discoveryAgentId")
|
288
|
+
def discovery_agent_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
289
|
+
"""
|
290
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used during the discovery of the DB system.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "discovery_agent_id")
|
293
|
+
|
294
|
+
@discovery_agent_id.setter
|
295
|
+
def discovery_agent_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
296
|
+
pulumi.set(self, "discovery_agent_id", value)
|
297
|
+
|
298
|
+
@_builtins.property
|
299
|
+
@pulumi.getter(name="displayName")
|
300
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
301
|
+
"""
|
302
|
+
(Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "display_name")
|
305
|
+
|
306
|
+
@display_name.setter
|
307
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
308
|
+
pulumi.set(self, "display_name", value)
|
309
|
+
|
310
|
+
@_builtins.property
|
311
|
+
@pulumi.getter(name="freeformTags")
|
312
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
313
|
+
"""
|
314
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "freeform_tags")
|
317
|
+
|
318
|
+
@freeform_tags.setter
|
319
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
320
|
+
pulumi.set(self, "freeform_tags", value)
|
321
|
+
|
322
|
+
@_builtins.property
|
323
|
+
@pulumi.getter(name="homeDirectory")
|
324
|
+
def home_directory(self) -> Optional[pulumi.Input[_builtins.str]]:
|
325
|
+
"""
|
326
|
+
The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "home_directory")
|
329
|
+
|
330
|
+
@home_directory.setter
|
331
|
+
def home_directory(self, value: Optional[pulumi.Input[_builtins.str]]):
|
332
|
+
pulumi.set(self, "home_directory", value)
|
333
|
+
|
334
|
+
@_builtins.property
|
335
|
+
@pulumi.getter(name="isCluster")
|
336
|
+
def is_cluster(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
337
|
+
"""
|
338
|
+
Indicates whether the DB system is a cluster DB system or not.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "is_cluster")
|
341
|
+
|
342
|
+
@is_cluster.setter
|
343
|
+
def is_cluster(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
344
|
+
pulumi.set(self, "is_cluster", value)
|
345
|
+
|
346
|
+
@_builtins.property
|
347
|
+
@pulumi.getter(name="lifecycleDetails")
|
348
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[_builtins.str]]:
|
349
|
+
"""
|
350
|
+
Additional information about the current lifecycle state.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "lifecycle_details")
|
353
|
+
|
354
|
+
@lifecycle_details.setter
|
355
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[_builtins.str]]):
|
356
|
+
pulumi.set(self, "lifecycle_details", value)
|
357
|
+
|
358
|
+
@_builtins.property
|
359
|
+
@pulumi.getter(name="stackMonitoringConfig")
|
360
|
+
def stack_monitoring_config(self) -> Optional[pulumi.Input['CloudDbSystemStackMonitoringConfigArgs']]:
|
361
|
+
"""
|
362
|
+
The configuration details of Stack Monitoring for a cloud DB system.
|
363
|
+
"""
|
364
|
+
return pulumi.get(self, "stack_monitoring_config")
|
365
|
+
|
366
|
+
@stack_monitoring_config.setter
|
367
|
+
def stack_monitoring_config(self, value: Optional[pulumi.Input['CloudDbSystemStackMonitoringConfigArgs']]):
|
368
|
+
pulumi.set(self, "stack_monitoring_config", value)
|
369
|
+
|
370
|
+
@_builtins.property
|
371
|
+
@pulumi.getter
|
372
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
373
|
+
"""
|
374
|
+
The current lifecycle state of the cloud DB system resource.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "state")
|
377
|
+
|
378
|
+
@state.setter
|
379
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
380
|
+
pulumi.set(self, "state", value)
|
381
|
+
|
382
|
+
@_builtins.property
|
383
|
+
@pulumi.getter(name="systemTags")
|
384
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
385
|
+
"""
|
386
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
387
|
+
"""
|
388
|
+
return pulumi.get(self, "system_tags")
|
389
|
+
|
390
|
+
@system_tags.setter
|
391
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
392
|
+
pulumi.set(self, "system_tags", value)
|
393
|
+
|
394
|
+
@_builtins.property
|
395
|
+
@pulumi.getter(name="timeCreated")
|
396
|
+
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
397
|
+
"""
|
398
|
+
The date and time the cloud DB system was created.
|
399
|
+
"""
|
400
|
+
return pulumi.get(self, "time_created")
|
401
|
+
|
402
|
+
@time_created.setter
|
403
|
+
def time_created(self, value: Optional[pulumi.Input[_builtins.str]]):
|
404
|
+
pulumi.set(self, "time_created", value)
|
405
|
+
|
406
|
+
@_builtins.property
|
407
|
+
@pulumi.getter(name="timeUpdated")
|
408
|
+
def time_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
409
|
+
"""
|
410
|
+
The date and time the cloud DB system was last updated.
|
411
|
+
"""
|
412
|
+
return pulumi.get(self, "time_updated")
|
413
|
+
|
414
|
+
@time_updated.setter
|
415
|
+
def time_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
416
|
+
pulumi.set(self, "time_updated", value)
|
417
|
+
|
418
|
+
|
419
|
+
@pulumi.type_token("oci:DatabaseManagement/cloudDbSystem:CloudDbSystem")
|
420
|
+
class CloudDbSystem(pulumi.CustomResource):
|
421
|
+
@overload
|
422
|
+
def __init__(__self__,
|
423
|
+
resource_name: str,
|
424
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
425
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
426
|
+
database_management_config: Optional[pulumi.Input[Union['CloudDbSystemDatabaseManagementConfigArgs', 'CloudDbSystemDatabaseManagementConfigArgsDict']]] = None,
|
427
|
+
db_system_discovery_id: Optional[pulumi.Input[_builtins.str]] = None,
|
428
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
429
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
430
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
431
|
+
stack_monitoring_config: Optional[pulumi.Input[Union['CloudDbSystemStackMonitoringConfigArgs', 'CloudDbSystemStackMonitoringConfigArgsDict']]] = None,
|
432
|
+
__props__=None):
|
433
|
+
"""
|
434
|
+
This resource provides the Cloud Db System resource in Oracle Cloud Infrastructure Database Management service.
|
435
|
+
|
436
|
+
Creates a cloud DB system and its related resources.
|
437
|
+
|
438
|
+
## Example Usage
|
439
|
+
|
440
|
+
```python
|
441
|
+
import pulumi
|
442
|
+
import pulumi_oci as oci
|
443
|
+
|
444
|
+
test_cloud_db_system = oci.databasemanagement.CloudDbSystem("test_cloud_db_system",
|
445
|
+
compartment_id=compartment_id,
|
446
|
+
db_system_discovery_id=test_db_system_discovery["id"],
|
447
|
+
database_management_config={
|
448
|
+
"is_enabled": cloud_db_system_database_management_config_is_enabled,
|
449
|
+
"metadata": cloud_db_system_database_management_config_metadata,
|
450
|
+
},
|
451
|
+
defined_tags={
|
452
|
+
"Operations.CostCenter": "42",
|
453
|
+
},
|
454
|
+
display_name=cloud_db_system_display_name,
|
455
|
+
freeform_tags={
|
456
|
+
"Department": "Finance",
|
457
|
+
},
|
458
|
+
stack_monitoring_config={
|
459
|
+
"is_enabled": cloud_db_system_stack_monitoring_config_is_enabled,
|
460
|
+
"metadata": cloud_db_system_stack_monitoring_config_metadata,
|
461
|
+
})
|
462
|
+
```
|
463
|
+
|
464
|
+
## Import
|
465
|
+
|
466
|
+
CloudDbSystems can be imported using the `id`, e.g.
|
467
|
+
|
468
|
+
```sh
|
469
|
+
$ pulumi import oci:DatabaseManagement/cloudDbSystem:CloudDbSystem test_cloud_db_system "id"
|
470
|
+
```
|
471
|
+
|
472
|
+
:param str resource_name: The name of the resource.
|
473
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
474
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
475
|
+
:param pulumi.Input[Union['CloudDbSystemDatabaseManagementConfigArgs', 'CloudDbSystemDatabaseManagementConfigArgsDict']] database_management_config: The configuration details of Database Management for a cloud DB system.
|
476
|
+
:param pulumi.Input[_builtins.str] db_system_discovery_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
477
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
478
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
479
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
480
|
+
:param pulumi.Input[Union['CloudDbSystemStackMonitoringConfigArgs', 'CloudDbSystemStackMonitoringConfigArgsDict']] stack_monitoring_config: The configuration details of Stack Monitoring for a cloud DB system.
|
481
|
+
"""
|
482
|
+
...
|
483
|
+
@overload
|
484
|
+
def __init__(__self__,
|
485
|
+
resource_name: str,
|
486
|
+
args: CloudDbSystemArgs,
|
487
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
488
|
+
"""
|
489
|
+
This resource provides the Cloud Db System resource in Oracle Cloud Infrastructure Database Management service.
|
490
|
+
|
491
|
+
Creates a cloud DB system and its related resources.
|
492
|
+
|
493
|
+
## Example Usage
|
494
|
+
|
495
|
+
```python
|
496
|
+
import pulumi
|
497
|
+
import pulumi_oci as oci
|
498
|
+
|
499
|
+
test_cloud_db_system = oci.databasemanagement.CloudDbSystem("test_cloud_db_system",
|
500
|
+
compartment_id=compartment_id,
|
501
|
+
db_system_discovery_id=test_db_system_discovery["id"],
|
502
|
+
database_management_config={
|
503
|
+
"is_enabled": cloud_db_system_database_management_config_is_enabled,
|
504
|
+
"metadata": cloud_db_system_database_management_config_metadata,
|
505
|
+
},
|
506
|
+
defined_tags={
|
507
|
+
"Operations.CostCenter": "42",
|
508
|
+
},
|
509
|
+
display_name=cloud_db_system_display_name,
|
510
|
+
freeform_tags={
|
511
|
+
"Department": "Finance",
|
512
|
+
},
|
513
|
+
stack_monitoring_config={
|
514
|
+
"is_enabled": cloud_db_system_stack_monitoring_config_is_enabled,
|
515
|
+
"metadata": cloud_db_system_stack_monitoring_config_metadata,
|
516
|
+
})
|
517
|
+
```
|
518
|
+
|
519
|
+
## Import
|
520
|
+
|
521
|
+
CloudDbSystems can be imported using the `id`, e.g.
|
522
|
+
|
523
|
+
```sh
|
524
|
+
$ pulumi import oci:DatabaseManagement/cloudDbSystem:CloudDbSystem test_cloud_db_system "id"
|
525
|
+
```
|
526
|
+
|
527
|
+
:param str resource_name: The name of the resource.
|
528
|
+
:param CloudDbSystemArgs args: The arguments to use to populate this resource's properties.
|
529
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
530
|
+
"""
|
531
|
+
...
|
532
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
533
|
+
resource_args, opts = _utilities.get_resource_args_opts(CloudDbSystemArgs, pulumi.ResourceOptions, *args, **kwargs)
|
534
|
+
if resource_args is not None:
|
535
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
536
|
+
else:
|
537
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
538
|
+
|
539
|
+
def _internal_init(__self__,
|
540
|
+
resource_name: str,
|
541
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
542
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
543
|
+
database_management_config: Optional[pulumi.Input[Union['CloudDbSystemDatabaseManagementConfigArgs', 'CloudDbSystemDatabaseManagementConfigArgsDict']]] = None,
|
544
|
+
db_system_discovery_id: Optional[pulumi.Input[_builtins.str]] = None,
|
545
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
546
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
547
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
548
|
+
stack_monitoring_config: Optional[pulumi.Input[Union['CloudDbSystemStackMonitoringConfigArgs', 'CloudDbSystemStackMonitoringConfigArgsDict']]] = None,
|
549
|
+
__props__=None):
|
550
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
551
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
552
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
553
|
+
if opts.id is None:
|
554
|
+
if __props__ is not None:
|
555
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
556
|
+
__props__ = CloudDbSystemArgs.__new__(CloudDbSystemArgs)
|
557
|
+
|
558
|
+
if compartment_id is None and not opts.urn:
|
559
|
+
raise TypeError("Missing required property 'compartment_id'")
|
560
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
561
|
+
__props__.__dict__["database_management_config"] = database_management_config
|
562
|
+
if db_system_discovery_id is None and not opts.urn:
|
563
|
+
raise TypeError("Missing required property 'db_system_discovery_id'")
|
564
|
+
__props__.__dict__["db_system_discovery_id"] = db_system_discovery_id
|
565
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
566
|
+
__props__.__dict__["display_name"] = display_name
|
567
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
568
|
+
__props__.__dict__["stack_monitoring_config"] = stack_monitoring_config
|
569
|
+
__props__.__dict__["dbaas_parent_infrastructure_id"] = None
|
570
|
+
__props__.__dict__["deployment_type"] = None
|
571
|
+
__props__.__dict__["discovery_agent_id"] = None
|
572
|
+
__props__.__dict__["home_directory"] = None
|
573
|
+
__props__.__dict__["is_cluster"] = None
|
574
|
+
__props__.__dict__["lifecycle_details"] = None
|
575
|
+
__props__.__dict__["state"] = None
|
576
|
+
__props__.__dict__["system_tags"] = None
|
577
|
+
__props__.__dict__["time_created"] = None
|
578
|
+
__props__.__dict__["time_updated"] = None
|
579
|
+
super(CloudDbSystem, __self__).__init__(
|
580
|
+
'oci:DatabaseManagement/cloudDbSystem:CloudDbSystem',
|
581
|
+
resource_name,
|
582
|
+
__props__,
|
583
|
+
opts)
|
584
|
+
|
585
|
+
@staticmethod
|
586
|
+
def get(resource_name: str,
|
587
|
+
id: pulumi.Input[str],
|
588
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
589
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
590
|
+
database_management_config: Optional[pulumi.Input[Union['CloudDbSystemDatabaseManagementConfigArgs', 'CloudDbSystemDatabaseManagementConfigArgsDict']]] = None,
|
591
|
+
db_system_discovery_id: Optional[pulumi.Input[_builtins.str]] = None,
|
592
|
+
dbaas_parent_infrastructure_id: Optional[pulumi.Input[_builtins.str]] = None,
|
593
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
594
|
+
deployment_type: Optional[pulumi.Input[_builtins.str]] = None,
|
595
|
+
discovery_agent_id: Optional[pulumi.Input[_builtins.str]] = None,
|
596
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
597
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
598
|
+
home_directory: Optional[pulumi.Input[_builtins.str]] = None,
|
599
|
+
is_cluster: Optional[pulumi.Input[_builtins.bool]] = None,
|
600
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
601
|
+
stack_monitoring_config: Optional[pulumi.Input[Union['CloudDbSystemStackMonitoringConfigArgs', 'CloudDbSystemStackMonitoringConfigArgsDict']]] = None,
|
602
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
603
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
604
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
605
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'CloudDbSystem':
|
606
|
+
"""
|
607
|
+
Get an existing CloudDbSystem resource's state with the given name, id, and optional extra
|
608
|
+
properties used to qualify the lookup.
|
609
|
+
|
610
|
+
:param str resource_name: The unique name of the resulting resource.
|
611
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
612
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
613
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
614
|
+
:param pulumi.Input[Union['CloudDbSystemDatabaseManagementConfigArgs', 'CloudDbSystemDatabaseManagementConfigArgsDict']] database_management_config: The configuration details of Database Management for a cloud DB system.
|
615
|
+
:param pulumi.Input[_builtins.str] db_system_discovery_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
616
|
+
:param pulumi.Input[_builtins.str] dbaas_parent_infrastructure_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
|
617
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
618
|
+
:param pulumi.Input[_builtins.str] deployment_type: The deployment type of cloud dbsystem.
|
619
|
+
:param pulumi.Input[_builtins.str] discovery_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used during the discovery of the DB system.
|
620
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
621
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
622
|
+
:param pulumi.Input[_builtins.str] home_directory: The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
|
623
|
+
:param pulumi.Input[_builtins.bool] is_cluster: Indicates whether the DB system is a cluster DB system or not.
|
624
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Additional information about the current lifecycle state.
|
625
|
+
:param pulumi.Input[Union['CloudDbSystemStackMonitoringConfigArgs', 'CloudDbSystemStackMonitoringConfigArgsDict']] stack_monitoring_config: The configuration details of Stack Monitoring for a cloud DB system.
|
626
|
+
:param pulumi.Input[_builtins.str] state: The current lifecycle state of the cloud DB system resource.
|
627
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
628
|
+
:param pulumi.Input[_builtins.str] time_created: The date and time the cloud DB system was created.
|
629
|
+
:param pulumi.Input[_builtins.str] time_updated: The date and time the cloud DB system was last updated.
|
630
|
+
"""
|
631
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
632
|
+
|
633
|
+
__props__ = _CloudDbSystemState.__new__(_CloudDbSystemState)
|
634
|
+
|
635
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
636
|
+
__props__.__dict__["database_management_config"] = database_management_config
|
637
|
+
__props__.__dict__["db_system_discovery_id"] = db_system_discovery_id
|
638
|
+
__props__.__dict__["dbaas_parent_infrastructure_id"] = dbaas_parent_infrastructure_id
|
639
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
640
|
+
__props__.__dict__["deployment_type"] = deployment_type
|
641
|
+
__props__.__dict__["discovery_agent_id"] = discovery_agent_id
|
642
|
+
__props__.__dict__["display_name"] = display_name
|
643
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
644
|
+
__props__.__dict__["home_directory"] = home_directory
|
645
|
+
__props__.__dict__["is_cluster"] = is_cluster
|
646
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
647
|
+
__props__.__dict__["stack_monitoring_config"] = stack_monitoring_config
|
648
|
+
__props__.__dict__["state"] = state
|
649
|
+
__props__.__dict__["system_tags"] = system_tags
|
650
|
+
__props__.__dict__["time_created"] = time_created
|
651
|
+
__props__.__dict__["time_updated"] = time_updated
|
652
|
+
return CloudDbSystem(resource_name, opts=opts, __props__=__props__)
|
653
|
+
|
654
|
+
@_builtins.property
|
655
|
+
@pulumi.getter(name="compartmentId")
|
656
|
+
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
657
|
+
"""
|
658
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the cloud DB system resides.
|
659
|
+
"""
|
660
|
+
return pulumi.get(self, "compartment_id")
|
661
|
+
|
662
|
+
@_builtins.property
|
663
|
+
@pulumi.getter(name="databaseManagementConfig")
|
664
|
+
def database_management_config(self) -> pulumi.Output['outputs.CloudDbSystemDatabaseManagementConfig']:
|
665
|
+
"""
|
666
|
+
The configuration details of Database Management for a cloud DB system.
|
667
|
+
"""
|
668
|
+
return pulumi.get(self, "database_management_config")
|
669
|
+
|
670
|
+
@_builtins.property
|
671
|
+
@pulumi.getter(name="dbSystemDiscoveryId")
|
672
|
+
def db_system_discovery_id(self) -> pulumi.Output[_builtins.str]:
|
673
|
+
"""
|
674
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery.
|
675
|
+
"""
|
676
|
+
return pulumi.get(self, "db_system_discovery_id")
|
677
|
+
|
678
|
+
@_builtins.property
|
679
|
+
@pulumi.getter(name="dbaasParentInfrastructureId")
|
680
|
+
def dbaas_parent_infrastructure_id(self) -> pulumi.Output[_builtins.str]:
|
681
|
+
"""
|
682
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent cloud DB Infrastructure. For VM Dbsystems , it will be the DBSystem Id. For ExaCS and ExaCC, it will be the cloudVmClusterId and vmClusterId respectively.
|
683
|
+
"""
|
684
|
+
return pulumi.get(self, "dbaas_parent_infrastructure_id")
|
685
|
+
|
686
|
+
@_builtins.property
|
687
|
+
@pulumi.getter(name="definedTags")
|
688
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
689
|
+
"""
|
690
|
+
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
691
|
+
"""
|
692
|
+
return pulumi.get(self, "defined_tags")
|
693
|
+
|
694
|
+
@_builtins.property
|
695
|
+
@pulumi.getter(name="deploymentType")
|
696
|
+
def deployment_type(self) -> pulumi.Output[_builtins.str]:
|
697
|
+
"""
|
698
|
+
The deployment type of cloud dbsystem.
|
699
|
+
"""
|
700
|
+
return pulumi.get(self, "deployment_type")
|
701
|
+
|
702
|
+
@_builtins.property
|
703
|
+
@pulumi.getter(name="discoveryAgentId")
|
704
|
+
def discovery_agent_id(self) -> pulumi.Output[_builtins.str]:
|
705
|
+
"""
|
706
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used during the discovery of the DB system.
|
707
|
+
"""
|
708
|
+
return pulumi.get(self, "discovery_agent_id")
|
709
|
+
|
710
|
+
@_builtins.property
|
711
|
+
@pulumi.getter(name="displayName")
|
712
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
713
|
+
"""
|
714
|
+
(Updatable) The user-friendly name for the DB system. The name does not have to be unique.
|
715
|
+
"""
|
716
|
+
return pulumi.get(self, "display_name")
|
717
|
+
|
718
|
+
@_builtins.property
|
719
|
+
@pulumi.getter(name="freeformTags")
|
720
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
721
|
+
"""
|
722
|
+
(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
723
|
+
"""
|
724
|
+
return pulumi.get(self, "freeform_tags")
|
725
|
+
|
726
|
+
@_builtins.property
|
727
|
+
@pulumi.getter(name="homeDirectory")
|
728
|
+
def home_directory(self) -> pulumi.Output[_builtins.str]:
|
729
|
+
"""
|
730
|
+
The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system.
|
731
|
+
"""
|
732
|
+
return pulumi.get(self, "home_directory")
|
733
|
+
|
734
|
+
@_builtins.property
|
735
|
+
@pulumi.getter(name="isCluster")
|
736
|
+
def is_cluster(self) -> pulumi.Output[_builtins.bool]:
|
737
|
+
"""
|
738
|
+
Indicates whether the DB system is a cluster DB system or not.
|
739
|
+
"""
|
740
|
+
return pulumi.get(self, "is_cluster")
|
741
|
+
|
742
|
+
@_builtins.property
|
743
|
+
@pulumi.getter(name="lifecycleDetails")
|
744
|
+
def lifecycle_details(self) -> pulumi.Output[_builtins.str]:
|
745
|
+
"""
|
746
|
+
Additional information about the current lifecycle state.
|
747
|
+
"""
|
748
|
+
return pulumi.get(self, "lifecycle_details")
|
749
|
+
|
750
|
+
@_builtins.property
|
751
|
+
@pulumi.getter(name="stackMonitoringConfig")
|
752
|
+
def stack_monitoring_config(self) -> pulumi.Output['outputs.CloudDbSystemStackMonitoringConfig']:
|
753
|
+
"""
|
754
|
+
The configuration details of Stack Monitoring for a cloud DB system.
|
755
|
+
"""
|
756
|
+
return pulumi.get(self, "stack_monitoring_config")
|
757
|
+
|
758
|
+
@_builtins.property
|
759
|
+
@pulumi.getter
|
760
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
761
|
+
"""
|
762
|
+
The current lifecycle state of the cloud DB system resource.
|
763
|
+
"""
|
764
|
+
return pulumi.get(self, "state")
|
765
|
+
|
766
|
+
@_builtins.property
|
767
|
+
@pulumi.getter(name="systemTags")
|
768
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
769
|
+
"""
|
770
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
771
|
+
"""
|
772
|
+
return pulumi.get(self, "system_tags")
|
773
|
+
|
774
|
+
@_builtins.property
|
775
|
+
@pulumi.getter(name="timeCreated")
|
776
|
+
def time_created(self) -> pulumi.Output[_builtins.str]:
|
777
|
+
"""
|
778
|
+
The date and time the cloud DB system was created.
|
779
|
+
"""
|
780
|
+
return pulumi.get(self, "time_created")
|
781
|
+
|
782
|
+
@_builtins.property
|
783
|
+
@pulumi.getter(name="timeUpdated")
|
784
|
+
def time_updated(self) -> pulumi.Output[_builtins.str]:
|
785
|
+
"""
|
786
|
+
The date and time the cloud DB system was last updated.
|
787
|
+
"""
|
788
|
+
return pulumi.get(self, "time_updated")
|
789
|
+
|