pulumi-oci 3.5.0a1756327653__py3-none-any.whl → 3.5.0a1756440723__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 +80 -0
- 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 +257 -12
- 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 +28 -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 +15 -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 +575 -8
- 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/oci/__init__.py +9 -0
- pulumi_oci/oci/_inputs.py +420 -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 +1009 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/METADATA +1 -1
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/RECORD +133 -100
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/WHEEL +0 -0
- {pulumi_oci-3.5.0a1756327653.dist-info → pulumi_oci-3.5.0a1756440723.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,352 @@
|
|
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
|
+
|
17
|
+
__all__ = ['ManagedKafkaKafkaClusterSuperusersManagementArgs', 'ManagedKafkaKafkaClusterSuperusersManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ManagedKafkaKafkaClusterSuperusersManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
enable_superuser: pulumi.Input[_builtins.bool],
|
23
|
+
kafka_cluster_id: pulumi.Input[_builtins.str],
|
24
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
25
|
+
secret_id: Optional[pulumi.Input[_builtins.str]] = None):
|
26
|
+
"""
|
27
|
+
The set of arguments for constructing a ManagedKafkaKafkaClusterSuperusersManagement resource.
|
28
|
+
:param pulumi.Input[_builtins.bool] enable_superuser: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
29
|
+
|
30
|
+
|
31
|
+
** IMPORTANT **
|
32
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
33
|
+
:param pulumi.Input[_builtins.str] kafka_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
34
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
35
|
+
:param pulumi.Input[_builtins.str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
36
|
+
"""
|
37
|
+
pulumi.set(__self__, "enable_superuser", enable_superuser)
|
38
|
+
pulumi.set(__self__, "kafka_cluster_id", kafka_cluster_id)
|
39
|
+
if compartment_id is not None:
|
40
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
41
|
+
if secret_id is not None:
|
42
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
43
|
+
|
44
|
+
@_builtins.property
|
45
|
+
@pulumi.getter(name="enableSuperuser")
|
46
|
+
def enable_superuser(self) -> pulumi.Input[_builtins.bool]:
|
47
|
+
"""
|
48
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
49
|
+
|
50
|
+
|
51
|
+
** IMPORTANT **
|
52
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
53
|
+
"""
|
54
|
+
return pulumi.get(self, "enable_superuser")
|
55
|
+
|
56
|
+
@enable_superuser.setter
|
57
|
+
def enable_superuser(self, value: pulumi.Input[_builtins.bool]):
|
58
|
+
pulumi.set(self, "enable_superuser", value)
|
59
|
+
|
60
|
+
@_builtins.property
|
61
|
+
@pulumi.getter(name="kafkaClusterId")
|
62
|
+
def kafka_cluster_id(self) -> pulumi.Input[_builtins.str]:
|
63
|
+
"""
|
64
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
65
|
+
"""
|
66
|
+
return pulumi.get(self, "kafka_cluster_id")
|
67
|
+
|
68
|
+
@kafka_cluster_id.setter
|
69
|
+
def kafka_cluster_id(self, value: pulumi.Input[_builtins.str]):
|
70
|
+
pulumi.set(self, "kafka_cluster_id", value)
|
71
|
+
|
72
|
+
@_builtins.property
|
73
|
+
@pulumi.getter(name="compartmentId")
|
74
|
+
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
75
|
+
"""
|
76
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "compartment_id")
|
79
|
+
|
80
|
+
@compartment_id.setter
|
81
|
+
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
82
|
+
pulumi.set(self, "compartment_id", value)
|
83
|
+
|
84
|
+
@_builtins.property
|
85
|
+
@pulumi.getter(name="secretId")
|
86
|
+
def secret_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
87
|
+
"""
|
88
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "secret_id")
|
91
|
+
|
92
|
+
@secret_id.setter
|
93
|
+
def secret_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
94
|
+
pulumi.set(self, "secret_id", value)
|
95
|
+
|
96
|
+
|
97
|
+
@pulumi.input_type
|
98
|
+
class _ManagedKafkaKafkaClusterSuperusersManagementState:
|
99
|
+
def __init__(__self__, *,
|
100
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
101
|
+
enable_superuser: Optional[pulumi.Input[_builtins.bool]] = None,
|
102
|
+
kafka_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
103
|
+
secret_id: Optional[pulumi.Input[_builtins.str]] = None):
|
104
|
+
"""
|
105
|
+
Input properties used for looking up and filtering ManagedKafkaKafkaClusterSuperusersManagement resources.
|
106
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
107
|
+
:param pulumi.Input[_builtins.bool] enable_superuser: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
108
|
+
|
109
|
+
|
110
|
+
** IMPORTANT **
|
111
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
112
|
+
:param pulumi.Input[_builtins.str] kafka_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
113
|
+
:param pulumi.Input[_builtins.str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
114
|
+
"""
|
115
|
+
if compartment_id is not None:
|
116
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
117
|
+
if enable_superuser is not None:
|
118
|
+
pulumi.set(__self__, "enable_superuser", enable_superuser)
|
119
|
+
if kafka_cluster_id is not None:
|
120
|
+
pulumi.set(__self__, "kafka_cluster_id", kafka_cluster_id)
|
121
|
+
if secret_id is not None:
|
122
|
+
pulumi.set(__self__, "secret_id", secret_id)
|
123
|
+
|
124
|
+
@_builtins.property
|
125
|
+
@pulumi.getter(name="compartmentId")
|
126
|
+
def compartment_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
127
|
+
"""
|
128
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "compartment_id")
|
131
|
+
|
132
|
+
@compartment_id.setter
|
133
|
+
def compartment_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
134
|
+
pulumi.set(self, "compartment_id", value)
|
135
|
+
|
136
|
+
@_builtins.property
|
137
|
+
@pulumi.getter(name="enableSuperuser")
|
138
|
+
def enable_superuser(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
139
|
+
"""
|
140
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
141
|
+
|
142
|
+
|
143
|
+
** IMPORTANT **
|
144
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
145
|
+
"""
|
146
|
+
return pulumi.get(self, "enable_superuser")
|
147
|
+
|
148
|
+
@enable_superuser.setter
|
149
|
+
def enable_superuser(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
150
|
+
pulumi.set(self, "enable_superuser", value)
|
151
|
+
|
152
|
+
@_builtins.property
|
153
|
+
@pulumi.getter(name="kafkaClusterId")
|
154
|
+
def kafka_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
155
|
+
"""
|
156
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
157
|
+
"""
|
158
|
+
return pulumi.get(self, "kafka_cluster_id")
|
159
|
+
|
160
|
+
@kafka_cluster_id.setter
|
161
|
+
def kafka_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
162
|
+
pulumi.set(self, "kafka_cluster_id", value)
|
163
|
+
|
164
|
+
@_builtins.property
|
165
|
+
@pulumi.getter(name="secretId")
|
166
|
+
def secret_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
167
|
+
"""
|
168
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
169
|
+
"""
|
170
|
+
return pulumi.get(self, "secret_id")
|
171
|
+
|
172
|
+
@secret_id.setter
|
173
|
+
def secret_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
174
|
+
pulumi.set(self, "secret_id", value)
|
175
|
+
|
176
|
+
|
177
|
+
@pulumi.type_token("oci:oci/managedKafkaKafkaClusterSuperusersManagement:ManagedKafkaKafkaClusterSuperusersManagement")
|
178
|
+
class ManagedKafkaKafkaClusterSuperusersManagement(pulumi.CustomResource):
|
179
|
+
@overload
|
180
|
+
def __init__(__self__,
|
181
|
+
resource_name: str,
|
182
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
183
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
184
|
+
enable_superuser: Optional[pulumi.Input[_builtins.bool]] = None,
|
185
|
+
kafka_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
186
|
+
secret_id: Optional[pulumi.Input[_builtins.str]] = None,
|
187
|
+
__props__=None):
|
188
|
+
"""
|
189
|
+
This resource provides the Kafka Cluster Superusers Management resource in Oracle Cloud Infrastructure Managed Kafka service.
|
190
|
+
|
191
|
+
Adds a SASL superuser to the Kafka cluster. A generated password will be updated to the specified vault.
|
192
|
+
|
193
|
+
## Example Usage
|
194
|
+
|
195
|
+
```python
|
196
|
+
import pulumi
|
197
|
+
import pulumi_oci as oci
|
198
|
+
|
199
|
+
test_kafka_cluster_superusers_management = oci.oci.ManagedKafkaKafkaClusterSuperusersManagement("test_kafka_cluster_superusers_management",
|
200
|
+
kafka_cluster_id=test_kafka_cluster["id"],
|
201
|
+
enable_superuser=enable_superuser,
|
202
|
+
compartment_id=compartment_id,
|
203
|
+
secret_id=test_secret["id"])
|
204
|
+
```
|
205
|
+
|
206
|
+
:param str resource_name: The name of the resource.
|
207
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
208
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
209
|
+
:param pulumi.Input[_builtins.bool] enable_superuser: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
210
|
+
|
211
|
+
|
212
|
+
** IMPORTANT **
|
213
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
214
|
+
:param pulumi.Input[_builtins.str] kafka_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
215
|
+
:param pulumi.Input[_builtins.str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
216
|
+
"""
|
217
|
+
...
|
218
|
+
@overload
|
219
|
+
def __init__(__self__,
|
220
|
+
resource_name: str,
|
221
|
+
args: ManagedKafkaKafkaClusterSuperusersManagementArgs,
|
222
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
223
|
+
"""
|
224
|
+
This resource provides the Kafka Cluster Superusers Management resource in Oracle Cloud Infrastructure Managed Kafka service.
|
225
|
+
|
226
|
+
Adds a SASL superuser to the Kafka cluster. A generated password will be updated to the specified vault.
|
227
|
+
|
228
|
+
## Example Usage
|
229
|
+
|
230
|
+
```python
|
231
|
+
import pulumi
|
232
|
+
import pulumi_oci as oci
|
233
|
+
|
234
|
+
test_kafka_cluster_superusers_management = oci.oci.ManagedKafkaKafkaClusterSuperusersManagement("test_kafka_cluster_superusers_management",
|
235
|
+
kafka_cluster_id=test_kafka_cluster["id"],
|
236
|
+
enable_superuser=enable_superuser,
|
237
|
+
compartment_id=compartment_id,
|
238
|
+
secret_id=test_secret["id"])
|
239
|
+
```
|
240
|
+
|
241
|
+
:param str resource_name: The name of the resource.
|
242
|
+
:param ManagedKafkaKafkaClusterSuperusersManagementArgs args: The arguments to use to populate this resource's properties.
|
243
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
244
|
+
"""
|
245
|
+
...
|
246
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
247
|
+
resource_args, opts = _utilities.get_resource_args_opts(ManagedKafkaKafkaClusterSuperusersManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
248
|
+
if resource_args is not None:
|
249
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
250
|
+
else:
|
251
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
252
|
+
|
253
|
+
def _internal_init(__self__,
|
254
|
+
resource_name: str,
|
255
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
256
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
257
|
+
enable_superuser: Optional[pulumi.Input[_builtins.bool]] = None,
|
258
|
+
kafka_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
259
|
+
secret_id: Optional[pulumi.Input[_builtins.str]] = None,
|
260
|
+
__props__=None):
|
261
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
262
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
263
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
264
|
+
if opts.id is None:
|
265
|
+
if __props__ is not None:
|
266
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
267
|
+
__props__ = ManagedKafkaKafkaClusterSuperusersManagementArgs.__new__(ManagedKafkaKafkaClusterSuperusersManagementArgs)
|
268
|
+
|
269
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
270
|
+
if enable_superuser is None and not opts.urn:
|
271
|
+
raise TypeError("Missing required property 'enable_superuser'")
|
272
|
+
__props__.__dict__["enable_superuser"] = enable_superuser
|
273
|
+
if kafka_cluster_id is None and not opts.urn:
|
274
|
+
raise TypeError("Missing required property 'kafka_cluster_id'")
|
275
|
+
__props__.__dict__["kafka_cluster_id"] = kafka_cluster_id
|
276
|
+
__props__.__dict__["secret_id"] = secret_id
|
277
|
+
super(ManagedKafkaKafkaClusterSuperusersManagement, __self__).__init__(
|
278
|
+
'oci:oci/managedKafkaKafkaClusterSuperusersManagement:ManagedKafkaKafkaClusterSuperusersManagement',
|
279
|
+
resource_name,
|
280
|
+
__props__,
|
281
|
+
opts)
|
282
|
+
|
283
|
+
@staticmethod
|
284
|
+
def get(resource_name: str,
|
285
|
+
id: pulumi.Input[str],
|
286
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
287
|
+
compartment_id: Optional[pulumi.Input[_builtins.str]] = None,
|
288
|
+
enable_superuser: Optional[pulumi.Input[_builtins.bool]] = None,
|
289
|
+
kafka_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
|
290
|
+
secret_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'ManagedKafkaKafkaClusterSuperusersManagement':
|
291
|
+
"""
|
292
|
+
Get an existing ManagedKafkaKafkaClusterSuperusersManagement resource's state with the given name, id, and optional extra
|
293
|
+
properties used to qualify the lookup.
|
294
|
+
|
295
|
+
:param str resource_name: The unique name of the resulting resource.
|
296
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
297
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
298
|
+
:param pulumi.Input[_builtins.str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
299
|
+
:param pulumi.Input[_builtins.bool] enable_superuser: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
300
|
+
|
301
|
+
|
302
|
+
** IMPORTANT **
|
303
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
304
|
+
:param pulumi.Input[_builtins.str] kafka_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
305
|
+
:param pulumi.Input[_builtins.str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
306
|
+
"""
|
307
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
308
|
+
|
309
|
+
__props__ = _ManagedKafkaKafkaClusterSuperusersManagementState.__new__(_ManagedKafkaKafkaClusterSuperusersManagementState)
|
310
|
+
|
311
|
+
__props__.__dict__["compartment_id"] = compartment_id
|
312
|
+
__props__.__dict__["enable_superuser"] = enable_superuser
|
313
|
+
__props__.__dict__["kafka_cluster_id"] = kafka_cluster_id
|
314
|
+
__props__.__dict__["secret_id"] = secret_id
|
315
|
+
return ManagedKafkaKafkaClusterSuperusersManagement(resource_name, opts=opts, __props__=__props__)
|
316
|
+
|
317
|
+
@_builtins.property
|
318
|
+
@pulumi.getter(name="compartmentId")
|
319
|
+
def compartment_id(self) -> pulumi.Output[_builtins.str]:
|
320
|
+
"""
|
321
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the superuser secret.
|
322
|
+
"""
|
323
|
+
return pulumi.get(self, "compartment_id")
|
324
|
+
|
325
|
+
@_builtins.property
|
326
|
+
@pulumi.getter(name="enableSuperuser")
|
327
|
+
def enable_superuser(self) -> pulumi.Output[_builtins.bool]:
|
328
|
+
"""
|
329
|
+
(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.
|
330
|
+
|
331
|
+
|
332
|
+
** IMPORTANT **
|
333
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
334
|
+
"""
|
335
|
+
return pulumi.get(self, "enable_superuser")
|
336
|
+
|
337
|
+
@_builtins.property
|
338
|
+
@pulumi.getter(name="kafkaClusterId")
|
339
|
+
def kafka_cluster_id(self) -> pulumi.Output[_builtins.str]:
|
340
|
+
"""
|
341
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KafkaCluster.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "kafka_cluster_id")
|
344
|
+
|
345
|
+
@_builtins.property
|
346
|
+
@pulumi.getter(name="secretId")
|
347
|
+
def secret_id(self) -> pulumi.Output[_builtins.str]:
|
348
|
+
"""
|
349
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret that will be populated with the generated superuser password.
|
350
|
+
"""
|
351
|
+
return pulumi.get(self, "secret_id")
|
352
|
+
|