pulumi-oci 3.5.0a1756363728__py3-none-any.whl → 3.6.0__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 +128 -0
- pulumi_oci/aivision/__init__.py +12 -0
- pulumi_oci/aivision/_inputs.py +787 -51
- pulumi_oci/aivision/get_model.py +4 -4
- pulumi_oci/aivision/get_models.py +11 -11
- pulumi_oci/aivision/get_project.py +15 -15
- pulumi_oci/aivision/get_projects.py +10 -10
- pulumi_oci/aivision/get_stream_group.py +268 -0
- pulumi_oci/aivision/get_stream_groups.py +177 -0
- pulumi_oci/aivision/get_stream_job.py +296 -0
- pulumi_oci/aivision/get_stream_jobs.py +199 -0
- pulumi_oci/aivision/get_stream_source.py +240 -0
- pulumi_oci/aivision/get_stream_sources.py +199 -0
- pulumi_oci/aivision/get_vision_private_endpoint.py +267 -0
- pulumi_oci/aivision/get_vision_private_endpoints.py +199 -0
- pulumi_oci/aivision/model.py +149 -157
- pulumi_oci/aivision/outputs.py +1920 -116
- pulumi_oci/aivision/project.py +61 -69
- pulumi_oci/aivision/stream_group.py +632 -0
- pulumi_oci/aivision/stream_job.py +744 -0
- pulumi_oci/aivision/stream_source.py +519 -0
- pulumi_oci/aivision/vision_private_endpoint.py +606 -0
- pulumi_oci/cloudguard/_inputs.py +1198 -72
- pulumi_oci/cloudguard/get_managed_list.py +15 -1
- pulumi_oci/cloudguard/managed_list.py +47 -0
- pulumi_oci/cloudguard/outputs.py +2104 -67
- pulumi_oci/config/__init__.pyi +12 -17
- pulumi_oci/config/vars.py +12 -17
- pulumi_oci/core/compute_gpu_memory_fabric.py +28 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +15 -1
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/database/_inputs.py +298 -13
- pulumi_oci/database/data_guard_association.py +98 -0
- pulumi_oci/database/database.py +28 -0
- pulumi_oci/database/db_node.py +56 -0
- pulumi_oci/database/db_system.py +108 -14
- pulumi_oci/database/exadb_vm_cluster.py +49 -0
- pulumi_oci/database/exascale_db_storage_vault.py +126 -0
- pulumi_oci/database/get_data_guard_association.py +23 -1
- pulumi_oci/database/get_database.py +15 -1
- pulumi_oci/database/get_db_node.py +29 -1
- pulumi_oci/database/get_db_system_shapes.py +25 -6
- pulumi_oci/database/get_db_system_storage_performances.py +20 -3
- pulumi_oci/database/get_db_versions.py +20 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +15 -1
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +87 -8
- pulumi_oci/database/get_gi_versions.py +25 -6
- pulumi_oci/database/outputs.py +696 -13
- pulumi_oci/datasafe/__init__.py +24 -0
- pulumi_oci/datasafe/_inputs.py +3669 -1537
- pulumi_oci/datasafe/attribute_set.py +693 -0
- pulumi_oci/datasafe/audit_profile.py +356 -95
- pulumi_oci/datasafe/audit_profile_management.py +389 -129
- pulumi_oci/datasafe/audit_trail.py +47 -0
- pulumi_oci/datasafe/audit_trail_management.py +49 -0
- pulumi_oci/datasafe/get_alerts.py +2 -2
- pulumi_oci/datasafe/get_attribute_set.py +295 -0
- pulumi_oci/datasafe/get_attribute_set_associated_resources.py +188 -0
- pulumi_oci/datasafe/get_attribute_sets.py +340 -0
- pulumi_oci/datasafe/get_audit_archive_retrievals.py +20 -1
- pulumi_oci/datasafe/get_audit_events.py +2 -2
- pulumi_oci/datasafe/get_audit_policies.py +20 -1
- pulumi_oci/datasafe/get_audit_profile.py +78 -8
- pulumi_oci/datasafe/get_audit_profile_target_overrides.py +163 -0
- pulumi_oci/datasafe/get_audit_profiles.py +50 -9
- pulumi_oci/datasafe/get_audit_trail.py +15 -1
- pulumi_oci/datasafe/get_audit_trails.py +20 -1
- pulumi_oci/datasafe/get_database_security_configs.py +20 -1
- pulumi_oci/datasafe/get_discovery_analytics.py +39 -1
- pulumi_oci/datasafe/get_masking_analytics.py +42 -1
- pulumi_oci/datasafe/get_onprem_connectors.py +26 -23
- pulumi_oci/datasafe/get_report.py +43 -1
- pulumi_oci/datasafe/get_reports.py +23 -1
- pulumi_oci/datasafe/get_security_assessment.py +116 -2
- pulumi_oci/datasafe/get_security_assessment_checks.py +264 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +64 -4
- pulumi_oci/datasafe/get_security_assessment_findings.py +73 -6
- pulumi_oci/datasafe/get_security_assessment_template_analytics.py +362 -0
- pulumi_oci/datasafe/get_security_assessment_template_association_analytics.py +298 -0
- pulumi_oci/datasafe/get_security_assessment_template_baseline_comparison.py +347 -0
- pulumi_oci/datasafe/get_security_assessments.py +68 -2
- pulumi_oci/datasafe/get_security_policies.py +23 -1
- pulumi_oci/datasafe/get_security_policy.py +15 -1
- pulumi_oci/datasafe/get_security_policy_config.py +296 -0
- pulumi_oci/datasafe/get_security_policy_configs.py +342 -0
- pulumi_oci/datasafe/get_security_policy_deployment.py +52 -2
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_state.py +49 -4
- pulumi_oci/datasafe/get_security_policy_deployment_security_policy_entry_states.py +47 -6
- pulumi_oci/datasafe/get_security_policy_deployments.py +29 -7
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collection_analytics.py +20 -1
- pulumi_oci/datasafe/get_sql_collections.py +20 -1
- pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +2 -2
- pulumi_oci/datasafe/get_sql_firewall_violations.py +2 -2
- pulumi_oci/datasafe/get_target_alert_policy_associations.py +0 -34
- pulumi_oci/datasafe/get_target_database_group.py +296 -0
- pulumi_oci/datasafe/get_target_database_group_group_member.py +146 -0
- pulumi_oci/datasafe/get_target_database_groups.py +313 -0
- pulumi_oci/datasafe/get_unified_audit_policies.py +386 -0
- pulumi_oci/datasafe/get_unified_audit_policy.py +338 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definition.py +309 -0
- pulumi_oci/datasafe/get_unified_audit_policy_definitions.py +334 -0
- pulumi_oci/datasafe/get_user_assessment.py +29 -1
- pulumi_oci/datasafe/get_user_assessments.py +45 -1
- pulumi_oci/datasafe/outputs.py +6964 -192
- pulumi_oci/datasafe/report.py +84 -0
- pulumi_oci/datasafe/report_definition.py +4 -0
- pulumi_oci/datasafe/security_assessment.py +425 -82
- pulumi_oci/datasafe/security_assessment_check.py +456 -0
- pulumi_oci/datasafe/security_assessment_finding.py +818 -0
- pulumi_oci/datasafe/security_policy.py +94 -77
- pulumi_oci/datasafe/security_policy_config.py +698 -0
- pulumi_oci/datasafe/security_policy_deployment.py +272 -67
- pulumi_oci/datasafe/security_policy_deployment_management.py +266 -42
- pulumi_oci/datasafe/security_policy_management.py +87 -30
- pulumi_oci/datasafe/target_alert_policy_association.py +7 -77
- pulumi_oci/datasafe/target_database.py +4 -0
- pulumi_oci/datasafe/target_database_group.py +679 -0
- pulumi_oci/datasafe/target_database_peer_target_database.py +2 -0
- pulumi_oci/datasafe/unified_audit_policy.py +836 -0
- pulumi_oci/datasafe/unified_audit_policy_definition.py +687 -0
- pulumi_oci/datasafe/user_assessment.py +105 -28
- pulumi_oci/disasterrecovery/_inputs.py +231 -3
- pulumi_oci/disasterrecovery/dr_protection_group.py +24 -0
- pulumi_oci/disasterrecovery/outputs.py +446 -12
- pulumi_oci/generativeai/_inputs.py +572 -63
- pulumi_oci/generativeai/agent_data_ingestion_job.py +48 -0
- pulumi_oci/generativeai/agent_data_source.py +7 -81
- pulumi_oci/generativeai/agent_knowledge_base.py +35 -25
- pulumi_oci/generativeai/agent_tool.py +172 -0
- pulumi_oci/generativeai/get_agent_data_ingestion_job.py +26 -1
- pulumi_oci/generativeai/get_agent_data_source.py +1 -5
- pulumi_oci/generativeai/get_agent_data_sources.py +0 -4
- pulumi_oci/generativeai/get_agent_knowledge_base.py +16 -6
- pulumi_oci/generativeai/get_agent_knowledge_bases.py +0 -4
- pulumi_oci/generativeai/outputs.py +1128 -106
- pulumi_oci/goldengate/deployment.py +94 -0
- pulumi_oci/goldengate/get_deployment.py +29 -1
- pulumi_oci/goldengate/get_deployments.py +23 -1
- pulumi_oci/goldengate/outputs.py +35 -2
- pulumi_oci/mysql/_inputs.py +221 -0
- pulumi_oci/mysql/get_mysql_backup.py +40 -4
- pulumi_oci/mysql/get_mysql_backups.py +2 -2
- pulumi_oci/mysql/mysql_backup.py +119 -3
- pulumi_oci/mysql/outputs.py +343 -957
- pulumi_oci/oci/__init__.py +17 -0
- pulumi_oci/oci/_inputs.py +676 -15
- pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +103 -54
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +45 -45
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +42 -44
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +100 -72
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +74 -74
- pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +50 -50
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_identity_connector.py +924 -0
- pulumi_oci/oci/dbmulticloud_oracle_db_gcp_key_ring.py +762 -0
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +37 -15
- pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +26 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +30 -16
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +11 -11
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +41 -13
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +12 -12
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +17 -17
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +15 -15
- pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +14 -14
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connector.py +366 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_identity_connectors.py +213 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key.py +295 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_ring.py +309 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_key_rings.py +229 -0
- pulumi_oci/oci/get_dbmulticloud_oracle_db_gcp_keys.py +232 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster.py +380 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config.py +254 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_version.py +177 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_config_versions.py +144 -0
- pulumi_oci/oci/get_managed_kafka_kafka_cluster_configs.py +199 -0
- pulumi_oci/oci/get_managed_kafka_kafka_clusters.py +199 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster.py +984 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_config.py +549 -0
- pulumi_oci/oci/managed_kafka_kafka_cluster_superusers_management.py +352 -0
- pulumi_oci/oci/outputs.py +2051 -142
- pulumi_oci/provider.py +44 -63
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/RECORD +194 -141
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756363728.dist-info → pulumi_oci-3.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,679 @@
|
|
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__ = ['TargetDatabaseGroupArgs', 'TargetDatabaseGroup']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class TargetDatabaseGroupArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
compartment_id: pulumi.Input[_builtins.str],
|
25
|
+
display_name: pulumi.Input[_builtins.str],
|
26
|
+
matching_criteria: pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs'],
|
27
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
29
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None):
|
30
|
+
"""
|
31
|
+
The set of arguments for constructing a TargetDatabaseGroup resource.
|
32
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment to create the target database group.
|
33
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The name of the target database group.
|
34
|
+
:param pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs'] matching_criteria: (Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
35
|
+
: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"}`
|
36
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) Description of the target database group (optional).
|
37
|
+
: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"}`
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
40
|
+
pulumi.set(__self__, "display_name", display_name)
|
41
|
+
pulumi.set(__self__, "matching_criteria", matching_criteria)
|
42
|
+
if defined_tags is not None:
|
43
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
44
|
+
if description is not None:
|
45
|
+
pulumi.set(__self__, "description", description)
|
46
|
+
if freeform_tags is not None:
|
47
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
48
|
+
|
49
|
+
@_builtins.property
|
50
|
+
@pulumi.getter(name="compartmentId")
|
51
|
+
def compartment_id(self) -> pulumi.Input[_builtins.str]:
|
52
|
+
"""
|
53
|
+
(Updatable) The OCID of the compartment to create the target database group.
|
54
|
+
"""
|
55
|
+
return pulumi.get(self, "compartment_id")
|
56
|
+
|
57
|
+
@compartment_id.setter
|
58
|
+
def compartment_id(self, value: pulumi.Input[_builtins.str]):
|
59
|
+
pulumi.set(self, "compartment_id", value)
|
60
|
+
|
61
|
+
@_builtins.property
|
62
|
+
@pulumi.getter(name="displayName")
|
63
|
+
def display_name(self) -> pulumi.Input[_builtins.str]:
|
64
|
+
"""
|
65
|
+
(Updatable) The name of the target database group.
|
66
|
+
"""
|
67
|
+
return pulumi.get(self, "display_name")
|
68
|
+
|
69
|
+
@display_name.setter
|
70
|
+
def display_name(self, value: pulumi.Input[_builtins.str]):
|
71
|
+
pulumi.set(self, "display_name", value)
|
72
|
+
|
73
|
+
@_builtins.property
|
74
|
+
@pulumi.getter(name="matchingCriteria")
|
75
|
+
def matching_criteria(self) -> pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs']:
|
76
|
+
"""
|
77
|
+
(Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "matching_criteria")
|
80
|
+
|
81
|
+
@matching_criteria.setter
|
82
|
+
def matching_criteria(self, value: pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs']):
|
83
|
+
pulumi.set(self, "matching_criteria", value)
|
84
|
+
|
85
|
+
@_builtins.property
|
86
|
+
@pulumi.getter(name="definedTags")
|
87
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
88
|
+
"""
|
89
|
+
(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"}`
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "defined_tags")
|
92
|
+
|
93
|
+
@defined_tags.setter
|
94
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
95
|
+
pulumi.set(self, "defined_tags", value)
|
96
|
+
|
97
|
+
@_builtins.property
|
98
|
+
@pulumi.getter
|
99
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
100
|
+
"""
|
101
|
+
(Updatable) Description of the target database group (optional).
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "description")
|
104
|
+
|
105
|
+
@description.setter
|
106
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
107
|
+
pulumi.set(self, "description", value)
|
108
|
+
|
109
|
+
@_builtins.property
|
110
|
+
@pulumi.getter(name="freeformTags")
|
111
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
112
|
+
"""
|
113
|
+
(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"}`
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "freeform_tags")
|
116
|
+
|
117
|
+
@freeform_tags.setter
|
118
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
119
|
+
pulumi.set(self, "freeform_tags", value)
|
120
|
+
|
121
|
+
|
122
|
+
@pulumi.input_type
|
123
|
+
class _TargetDatabaseGroupState:
|
124
|
+
def __init__(__self__, *,
|
125
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
126
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
127
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
128
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
129
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
130
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
131
|
+
matching_criteria: Optional[pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs']] = None,
|
132
|
+
membership_count: Optional[pulumi.Input[_builtins.int]] = None,
|
133
|
+
membership_update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
134
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
135
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
136
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
137
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None):
|
138
|
+
"""
|
139
|
+
Input properties used for looking up and filtering TargetDatabaseGroup resources.
|
140
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment to create the target database group.
|
141
|
+
: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"}`
|
142
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) Description of the target database group (optional).
|
143
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The name of the target database group.
|
144
|
+
: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"}`
|
145
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Details for the lifecycle status of the target database group.
|
146
|
+
:param pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs'] matching_criteria: (Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
147
|
+
:param pulumi.Input[_builtins.int] membership_count: The number of target databases in the specified target database group.
|
148
|
+
:param pulumi.Input[_builtins.str] membership_update_time: Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
|
149
|
+
:param pulumi.Input[_builtins.str] state: The lifecycle status of the target database group.
|
150
|
+
: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. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
151
|
+
:param pulumi.Input[_builtins.str] time_created: Time when the target database group was created.
|
152
|
+
:param pulumi.Input[_builtins.str] time_updated: Time when the target database group was last updated.
|
153
|
+
"""
|
154
|
+
if compartment_id is not None:
|
155
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
156
|
+
if defined_tags is not None:
|
157
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
158
|
+
if description is not None:
|
159
|
+
pulumi.set(__self__, "description", description)
|
160
|
+
if display_name is not None:
|
161
|
+
pulumi.set(__self__, "display_name", display_name)
|
162
|
+
if freeform_tags is not None:
|
163
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
164
|
+
if lifecycle_details is not None:
|
165
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
166
|
+
if matching_criteria is not None:
|
167
|
+
pulumi.set(__self__, "matching_criteria", matching_criteria)
|
168
|
+
if membership_count is not None:
|
169
|
+
pulumi.set(__self__, "membership_count", membership_count)
|
170
|
+
if membership_update_time is not None:
|
171
|
+
pulumi.set(__self__, "membership_update_time", membership_update_time)
|
172
|
+
if state is not None:
|
173
|
+
pulumi.set(__self__, "state", state)
|
174
|
+
if system_tags is not None:
|
175
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
176
|
+
if time_created is not None:
|
177
|
+
pulumi.set(__self__, "time_created", time_created)
|
178
|
+
if time_updated is not None:
|
179
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
180
|
+
|
181
|
+
@_builtins.property
|
182
|
+
@pulumi.getter(name="compartmentId")
|
183
|
+
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
184
|
+
"""
|
185
|
+
(Updatable) The OCID of the compartment to create the target database group.
|
186
|
+
"""
|
187
|
+
return pulumi.get(self, "compartment_id")
|
188
|
+
|
189
|
+
@compartment_id.setter
|
190
|
+
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
191
|
+
pulumi.set(self, "compartment_id", value)
|
192
|
+
|
193
|
+
@_builtins.property
|
194
|
+
@pulumi.getter(name="definedTags")
|
195
|
+
def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
196
|
+
"""
|
197
|
+
(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"}`
|
198
|
+
"""
|
199
|
+
return pulumi.get(self, "defined_tags")
|
200
|
+
|
201
|
+
@defined_tags.setter
|
202
|
+
def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
203
|
+
pulumi.set(self, "defined_tags", value)
|
204
|
+
|
205
|
+
@_builtins.property
|
206
|
+
@pulumi.getter
|
207
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
208
|
+
"""
|
209
|
+
(Updatable) Description of the target database group (optional).
|
210
|
+
"""
|
211
|
+
return pulumi.get(self, "description")
|
212
|
+
|
213
|
+
@description.setter
|
214
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
215
|
+
pulumi.set(self, "description", value)
|
216
|
+
|
217
|
+
@_builtins.property
|
218
|
+
@pulumi.getter(name="displayName")
|
219
|
+
def display_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
220
|
+
"""
|
221
|
+
(Updatable) The name of the target database group.
|
222
|
+
"""
|
223
|
+
return pulumi.get(self, "display_name")
|
224
|
+
|
225
|
+
@display_name.setter
|
226
|
+
def display_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
227
|
+
pulumi.set(self, "display_name", value)
|
228
|
+
|
229
|
+
@_builtins.property
|
230
|
+
@pulumi.getter(name="freeformTags")
|
231
|
+
def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
232
|
+
"""
|
233
|
+
(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"}`
|
234
|
+
"""
|
235
|
+
return pulumi.get(self, "freeform_tags")
|
236
|
+
|
237
|
+
@freeform_tags.setter
|
238
|
+
def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
239
|
+
pulumi.set(self, "freeform_tags", value)
|
240
|
+
|
241
|
+
@_builtins.property
|
242
|
+
@pulumi.getter(name="lifecycleDetails")
|
243
|
+
def lifecycle_details(self) -> Optional[pulumi.Input[_builtins.str]]:
|
244
|
+
"""
|
245
|
+
Details for the lifecycle status of the target database group.
|
246
|
+
"""
|
247
|
+
return pulumi.get(self, "lifecycle_details")
|
248
|
+
|
249
|
+
@lifecycle_details.setter
|
250
|
+
def lifecycle_details(self, value: Optional[pulumi.Input[_builtins.str]]):
|
251
|
+
pulumi.set(self, "lifecycle_details", value)
|
252
|
+
|
253
|
+
@_builtins.property
|
254
|
+
@pulumi.getter(name="matchingCriteria")
|
255
|
+
def matching_criteria(self) -> Optional[pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs']]:
|
256
|
+
"""
|
257
|
+
(Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
258
|
+
"""
|
259
|
+
return pulumi.get(self, "matching_criteria")
|
260
|
+
|
261
|
+
@matching_criteria.setter
|
262
|
+
def matching_criteria(self, value: Optional[pulumi.Input['TargetDatabaseGroupMatchingCriteriaArgs']]):
|
263
|
+
pulumi.set(self, "matching_criteria", value)
|
264
|
+
|
265
|
+
@_builtins.property
|
266
|
+
@pulumi.getter(name="membershipCount")
|
267
|
+
def membership_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
268
|
+
"""
|
269
|
+
The number of target databases in the specified target database group.
|
270
|
+
"""
|
271
|
+
return pulumi.get(self, "membership_count")
|
272
|
+
|
273
|
+
@membership_count.setter
|
274
|
+
def membership_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
275
|
+
pulumi.set(self, "membership_count", value)
|
276
|
+
|
277
|
+
@_builtins.property
|
278
|
+
@pulumi.getter(name="membershipUpdateTime")
|
279
|
+
def membership_update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
280
|
+
"""
|
281
|
+
Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
|
282
|
+
"""
|
283
|
+
return pulumi.get(self, "membership_update_time")
|
284
|
+
|
285
|
+
@membership_update_time.setter
|
286
|
+
def membership_update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
287
|
+
pulumi.set(self, "membership_update_time", value)
|
288
|
+
|
289
|
+
@_builtins.property
|
290
|
+
@pulumi.getter
|
291
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
292
|
+
"""
|
293
|
+
The lifecycle status of the target database group.
|
294
|
+
"""
|
295
|
+
return pulumi.get(self, "state")
|
296
|
+
|
297
|
+
@state.setter
|
298
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
299
|
+
pulumi.set(self, "state", value)
|
300
|
+
|
301
|
+
@_builtins.property
|
302
|
+
@pulumi.getter(name="systemTags")
|
303
|
+
def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
304
|
+
"""
|
305
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
306
|
+
"""
|
307
|
+
return pulumi.get(self, "system_tags")
|
308
|
+
|
309
|
+
@system_tags.setter
|
310
|
+
def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
311
|
+
pulumi.set(self, "system_tags", value)
|
312
|
+
|
313
|
+
@_builtins.property
|
314
|
+
@pulumi.getter(name="timeCreated")
|
315
|
+
def time_created(self) -> Optional[pulumi.Input[_builtins.str]]:
|
316
|
+
"""
|
317
|
+
Time when the target database group was created.
|
318
|
+
"""
|
319
|
+
return pulumi.get(self, "time_created")
|
320
|
+
|
321
|
+
@time_created.setter
|
322
|
+
def time_created(self, value: Optional[pulumi.Input[_builtins.str]]):
|
323
|
+
pulumi.set(self, "time_created", value)
|
324
|
+
|
325
|
+
@_builtins.property
|
326
|
+
@pulumi.getter(name="timeUpdated")
|
327
|
+
def time_updated(self) -> Optional[pulumi.Input[_builtins.str]]:
|
328
|
+
"""
|
329
|
+
Time when the target database group was last updated.
|
330
|
+
"""
|
331
|
+
return pulumi.get(self, "time_updated")
|
332
|
+
|
333
|
+
@time_updated.setter
|
334
|
+
def time_updated(self, value: Optional[pulumi.Input[_builtins.str]]):
|
335
|
+
pulumi.set(self, "time_updated", value)
|
336
|
+
|
337
|
+
|
338
|
+
@pulumi.type_token("oci:DataSafe/targetDatabaseGroup:TargetDatabaseGroup")
|
339
|
+
class TargetDatabaseGroup(pulumi.CustomResource):
|
340
|
+
@overload
|
341
|
+
def __init__(__self__,
|
342
|
+
resource_name: str,
|
343
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
344
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
345
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
346
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
347
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
348
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
349
|
+
matching_criteria: Optional[pulumi.Input[Union['TargetDatabaseGroupMatchingCriteriaArgs', 'TargetDatabaseGroupMatchingCriteriaArgsDict']]] = None,
|
350
|
+
__props__=None):
|
351
|
+
"""
|
352
|
+
This resource provides the Target Database Group resource in Oracle Cloud Infrastructure Data Safe service.
|
353
|
+
|
354
|
+
Creates a new target database group.
|
355
|
+
|
356
|
+
## Example Usage
|
357
|
+
|
358
|
+
```python
|
359
|
+
import pulumi
|
360
|
+
import pulumi_oci as oci
|
361
|
+
|
362
|
+
test_target_database_group = oci.datasafe.TargetDatabaseGroup("test_target_database_group",
|
363
|
+
compartment_id=compartment_id,
|
364
|
+
display_name=target_database_group_display_name,
|
365
|
+
matching_criteria={
|
366
|
+
"include": {
|
367
|
+
"compartments": [{
|
368
|
+
"id": target_database_group_matching_criteria_include_compartments_id,
|
369
|
+
"is_include_subtree": target_database_group_matching_criteria_include_compartments_is_include_subtree,
|
370
|
+
}],
|
371
|
+
"defined_tags": {
|
372
|
+
"Operations.CostCenter": "42",
|
373
|
+
},
|
374
|
+
"freeform_tags": {
|
375
|
+
"Department": "Finance",
|
376
|
+
},
|
377
|
+
"target_database_ids": target_database_group_matching_criteria_include_target_database_ids,
|
378
|
+
},
|
379
|
+
"exclude": {
|
380
|
+
"target_database_ids": target_database_group_matching_criteria_exclude_target_database_ids,
|
381
|
+
},
|
382
|
+
},
|
383
|
+
defined_tags={
|
384
|
+
"Operations.CostCenter": "42",
|
385
|
+
},
|
386
|
+
description=target_database_group_description,
|
387
|
+
freeform_tags={
|
388
|
+
"Department": "Finance",
|
389
|
+
})
|
390
|
+
```
|
391
|
+
|
392
|
+
## Import
|
393
|
+
|
394
|
+
TargetDatabaseGroups can be imported using the `id`, e.g.
|
395
|
+
|
396
|
+
```sh
|
397
|
+
$ pulumi import oci:DataSafe/targetDatabaseGroup:TargetDatabaseGroup test_target_database_group "id"
|
398
|
+
```
|
399
|
+
|
400
|
+
:param str resource_name: The name of the resource.
|
401
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
402
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment to create the target database group.
|
403
|
+
: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"}`
|
404
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) Description of the target database group (optional).
|
405
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The name of the target database group.
|
406
|
+
: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"}`
|
407
|
+
:param pulumi.Input[Union['TargetDatabaseGroupMatchingCriteriaArgs', 'TargetDatabaseGroupMatchingCriteriaArgsDict']] matching_criteria: (Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
408
|
+
"""
|
409
|
+
...
|
410
|
+
@overload
|
411
|
+
def __init__(__self__,
|
412
|
+
resource_name: str,
|
413
|
+
args: TargetDatabaseGroupArgs,
|
414
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
415
|
+
"""
|
416
|
+
This resource provides the Target Database Group resource in Oracle Cloud Infrastructure Data Safe service.
|
417
|
+
|
418
|
+
Creates a new target database group.
|
419
|
+
|
420
|
+
## Example Usage
|
421
|
+
|
422
|
+
```python
|
423
|
+
import pulumi
|
424
|
+
import pulumi_oci as oci
|
425
|
+
|
426
|
+
test_target_database_group = oci.datasafe.TargetDatabaseGroup("test_target_database_group",
|
427
|
+
compartment_id=compartment_id,
|
428
|
+
display_name=target_database_group_display_name,
|
429
|
+
matching_criteria={
|
430
|
+
"include": {
|
431
|
+
"compartments": [{
|
432
|
+
"id": target_database_group_matching_criteria_include_compartments_id,
|
433
|
+
"is_include_subtree": target_database_group_matching_criteria_include_compartments_is_include_subtree,
|
434
|
+
}],
|
435
|
+
"defined_tags": {
|
436
|
+
"Operations.CostCenter": "42",
|
437
|
+
},
|
438
|
+
"freeform_tags": {
|
439
|
+
"Department": "Finance",
|
440
|
+
},
|
441
|
+
"target_database_ids": target_database_group_matching_criteria_include_target_database_ids,
|
442
|
+
},
|
443
|
+
"exclude": {
|
444
|
+
"target_database_ids": target_database_group_matching_criteria_exclude_target_database_ids,
|
445
|
+
},
|
446
|
+
},
|
447
|
+
defined_tags={
|
448
|
+
"Operations.CostCenter": "42",
|
449
|
+
},
|
450
|
+
description=target_database_group_description,
|
451
|
+
freeform_tags={
|
452
|
+
"Department": "Finance",
|
453
|
+
})
|
454
|
+
```
|
455
|
+
|
456
|
+
## Import
|
457
|
+
|
458
|
+
TargetDatabaseGroups can be imported using the `id`, e.g.
|
459
|
+
|
460
|
+
```sh
|
461
|
+
$ pulumi import oci:DataSafe/targetDatabaseGroup:TargetDatabaseGroup test_target_database_group "id"
|
462
|
+
```
|
463
|
+
|
464
|
+
:param str resource_name: The name of the resource.
|
465
|
+
:param TargetDatabaseGroupArgs args: The arguments to use to populate this resource's properties.
|
466
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
467
|
+
"""
|
468
|
+
...
|
469
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
470
|
+
resource_args, opts = _utilities.get_resource_args_opts(TargetDatabaseGroupArgs, pulumi.ResourceOptions, *args, **kwargs)
|
471
|
+
if resource_args is not None:
|
472
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
473
|
+
else:
|
474
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
475
|
+
|
476
|
+
def _internal_init(__self__,
|
477
|
+
resource_name: str,
|
478
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
479
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
480
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
481
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
482
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
483
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
484
|
+
matching_criteria: Optional[pulumi.Input[Union['TargetDatabaseGroupMatchingCriteriaArgs', 'TargetDatabaseGroupMatchingCriteriaArgsDict']]] = None,
|
485
|
+
__props__=None):
|
486
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
487
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
488
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
489
|
+
if opts.id is None:
|
490
|
+
if __props__ is not None:
|
491
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
492
|
+
__props__ = TargetDatabaseGroupArgs.__new__(TargetDatabaseGroupArgs)
|
493
|
+
|
494
|
+
if compartment_id is None and not opts.urn:
|
495
|
+
raise TypeError("Missing required property 'compartment_id'")
|
496
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
497
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
498
|
+
__props__.__dict__["description"] = description
|
499
|
+
if display_name is None and not opts.urn:
|
500
|
+
raise TypeError("Missing required property 'display_name'")
|
501
|
+
__props__.__dict__["display_name"] = display_name
|
502
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
503
|
+
if matching_criteria is None and not opts.urn:
|
504
|
+
raise TypeError("Missing required property 'matching_criteria'")
|
505
|
+
__props__.__dict__["matching_criteria"] = matching_criteria
|
506
|
+
__props__.__dict__["lifecycle_details"] = None
|
507
|
+
__props__.__dict__["membership_count"] = None
|
508
|
+
__props__.__dict__["membership_update_time"] = None
|
509
|
+
__props__.__dict__["state"] = None
|
510
|
+
__props__.__dict__["system_tags"] = None
|
511
|
+
__props__.__dict__["time_created"] = None
|
512
|
+
__props__.__dict__["time_updated"] = None
|
513
|
+
super(TargetDatabaseGroup, __self__).__init__(
|
514
|
+
'oci:DataSafe/targetDatabaseGroup:TargetDatabaseGroup',
|
515
|
+
resource_name,
|
516
|
+
__props__,
|
517
|
+
opts)
|
518
|
+
|
519
|
+
@staticmethod
|
520
|
+
def get(resource_name: str,
|
521
|
+
id: pulumi.Input[str],
|
522
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
523
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
524
|
+
defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
525
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
526
|
+
display_name: Optional[pulumi.Input[_builtins.str]] = None,
|
527
|
+
freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
528
|
+
lifecycle_details: Optional[pulumi.Input[_builtins.str]] = None,
|
529
|
+
matching_criteria: Optional[pulumi.Input[Union['TargetDatabaseGroupMatchingCriteriaArgs', 'TargetDatabaseGroupMatchingCriteriaArgsDict']]] = None,
|
530
|
+
membership_count: Optional[pulumi.Input[_builtins.int]] = None,
|
531
|
+
membership_update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
532
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
533
|
+
system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
534
|
+
time_created: Optional[pulumi.Input[_builtins.str]] = None,
|
535
|
+
time_updated: Optional[pulumi.Input[_builtins.str]] = None) -> 'TargetDatabaseGroup':
|
536
|
+
"""
|
537
|
+
Get an existing TargetDatabaseGroup resource's state with the given name, id, and optional extra
|
538
|
+
properties used to qualify the lookup.
|
539
|
+
|
540
|
+
:param str resource_name: The unique name of the resulting resource.
|
541
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
542
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
543
|
+
:param pulumi.Input[_builtins.str] compartment_id: (Updatable) The OCID of the compartment to create the target database group.
|
544
|
+
: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"}`
|
545
|
+
:param pulumi.Input[_builtins.str] description: (Updatable) Description of the target database group (optional).
|
546
|
+
:param pulumi.Input[_builtins.str] display_name: (Updatable) The name of the target database group.
|
547
|
+
: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"}`
|
548
|
+
:param pulumi.Input[_builtins.str] lifecycle_details: Details for the lifecycle status of the target database group.
|
549
|
+
:param pulumi.Input[Union['TargetDatabaseGroupMatchingCriteriaArgs', 'TargetDatabaseGroupMatchingCriteriaArgsDict']] matching_criteria: (Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
550
|
+
:param pulumi.Input[_builtins.int] membership_count: The number of target databases in the specified target database group.
|
551
|
+
:param pulumi.Input[_builtins.str] membership_update_time: Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
|
552
|
+
:param pulumi.Input[_builtins.str] state: The lifecycle status of the target database group.
|
553
|
+
: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. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
554
|
+
:param pulumi.Input[_builtins.str] time_created: Time when the target database group was created.
|
555
|
+
:param pulumi.Input[_builtins.str] time_updated: Time when the target database group was last updated.
|
556
|
+
"""
|
557
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
558
|
+
|
559
|
+
__props__ = _TargetDatabaseGroupState.__new__(_TargetDatabaseGroupState)
|
560
|
+
|
561
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
562
|
+
__props__.__dict__["defined_tags"] = defined_tags
|
563
|
+
__props__.__dict__["description"] = description
|
564
|
+
__props__.__dict__["display_name"] = display_name
|
565
|
+
__props__.__dict__["freeform_tags"] = freeform_tags
|
566
|
+
__props__.__dict__["lifecycle_details"] = lifecycle_details
|
567
|
+
__props__.__dict__["matching_criteria"] = matching_criteria
|
568
|
+
__props__.__dict__["membership_count"] = membership_count
|
569
|
+
__props__.__dict__["membership_update_time"] = membership_update_time
|
570
|
+
__props__.__dict__["state"] = state
|
571
|
+
__props__.__dict__["system_tags"] = system_tags
|
572
|
+
__props__.__dict__["time_created"] = time_created
|
573
|
+
__props__.__dict__["time_updated"] = time_updated
|
574
|
+
return TargetDatabaseGroup(resource_name, opts=opts, __props__=__props__)
|
575
|
+
|
576
|
+
@_builtins.property
|
577
|
+
@pulumi.getter(name="compartmentId")
|
578
|
+
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
579
|
+
"""
|
580
|
+
(Updatable) The OCID of the compartment to create the target database group.
|
581
|
+
"""
|
582
|
+
return pulumi.get(self, "compartment_id")
|
583
|
+
|
584
|
+
@_builtins.property
|
585
|
+
@pulumi.getter(name="definedTags")
|
586
|
+
def defined_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
587
|
+
"""
|
588
|
+
(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"}`
|
589
|
+
"""
|
590
|
+
return pulumi.get(self, "defined_tags")
|
591
|
+
|
592
|
+
@_builtins.property
|
593
|
+
@pulumi.getter
|
594
|
+
def description(self) -> pulumi.Output[_builtins.str]:
|
595
|
+
"""
|
596
|
+
(Updatable) Description of the target database group (optional).
|
597
|
+
"""
|
598
|
+
return pulumi.get(self, "description")
|
599
|
+
|
600
|
+
@_builtins.property
|
601
|
+
@pulumi.getter(name="displayName")
|
602
|
+
def display_name(self) -> pulumi.Output[_builtins.str]:
|
603
|
+
"""
|
604
|
+
(Updatable) The name of the target database group.
|
605
|
+
"""
|
606
|
+
return pulumi.get(self, "display_name")
|
607
|
+
|
608
|
+
@_builtins.property
|
609
|
+
@pulumi.getter(name="freeformTags")
|
610
|
+
def freeform_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
611
|
+
"""
|
612
|
+
(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"}`
|
613
|
+
"""
|
614
|
+
return pulumi.get(self, "freeform_tags")
|
615
|
+
|
616
|
+
@_builtins.property
|
617
|
+
@pulumi.getter(name="lifecycleDetails")
|
618
|
+
def lifecycle_details(self) -> pulumi.Output[_builtins.str]:
|
619
|
+
"""
|
620
|
+
Details for the lifecycle status of the target database group.
|
621
|
+
"""
|
622
|
+
return pulumi.get(self, "lifecycle_details")
|
623
|
+
|
624
|
+
@_builtins.property
|
625
|
+
@pulumi.getter(name="matchingCriteria")
|
626
|
+
def matching_criteria(self) -> pulumi.Output['outputs.TargetDatabaseGroupMatchingCriteria']:
|
627
|
+
"""
|
628
|
+
(Updatable) Criteria to either include or exclude target databases from the target database group. These criteria can be based on compartments or tags or a list of target databases. See examples below for more details. Include: Target databases will be added to the target database group if they match at least one of the include criteria. Exclude: Target databases that will be excluded from the target database group (even if they match any of the include criteria).
|
629
|
+
"""
|
630
|
+
return pulumi.get(self, "matching_criteria")
|
631
|
+
|
632
|
+
@_builtins.property
|
633
|
+
@pulumi.getter(name="membershipCount")
|
634
|
+
def membership_count(self) -> pulumi.Output[_builtins.int]:
|
635
|
+
"""
|
636
|
+
The number of target databases in the specified target database group.
|
637
|
+
"""
|
638
|
+
return pulumi.get(self, "membership_count")
|
639
|
+
|
640
|
+
@_builtins.property
|
641
|
+
@pulumi.getter(name="membershipUpdateTime")
|
642
|
+
def membership_update_time(self) -> pulumi.Output[_builtins.str]:
|
643
|
+
"""
|
644
|
+
Time when the members of the target database group were last changed, i.e. the list was refreshed, a target database was added or removed.
|
645
|
+
"""
|
646
|
+
return pulumi.get(self, "membership_update_time")
|
647
|
+
|
648
|
+
@_builtins.property
|
649
|
+
@pulumi.getter
|
650
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
651
|
+
"""
|
652
|
+
The lifecycle status of the target database group.
|
653
|
+
"""
|
654
|
+
return pulumi.get(self, "state")
|
655
|
+
|
656
|
+
@_builtins.property
|
657
|
+
@pulumi.getter(name="systemTags")
|
658
|
+
def system_tags(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
659
|
+
"""
|
660
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
661
|
+
"""
|
662
|
+
return pulumi.get(self, "system_tags")
|
663
|
+
|
664
|
+
@_builtins.property
|
665
|
+
@pulumi.getter(name="timeCreated")
|
666
|
+
def time_created(self) -> pulumi.Output[_builtins.str]:
|
667
|
+
"""
|
668
|
+
Time when the target database group was created.
|
669
|
+
"""
|
670
|
+
return pulumi.get(self, "time_created")
|
671
|
+
|
672
|
+
@_builtins.property
|
673
|
+
@pulumi.getter(name="timeUpdated")
|
674
|
+
def time_updated(self) -> pulumi.Output[_builtins.str]:
|
675
|
+
"""
|
676
|
+
Time when the target database group was last updated.
|
677
|
+
"""
|
678
|
+
return pulumi.get(self, "time_updated")
|
679
|
+
|