pulumi-oci 1.20.0a1705991859__py3-none-any.whl → 1.21.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 +51 -0
- pulumi_oci/core/get_boot_volume_attachments.py +36 -2
- pulumi_oci/database/autonomous_database.py +49 -0
- pulumi_oci/database/autonomous_database_wallet.py +18 -0
- pulumi_oci/database/get_autonomous_database.py +14 -1
- pulumi_oci/database/get_managed_preferred_credential.py +19 -1
- pulumi_oci/database/outputs.py +21 -0
- pulumi_oci/database/vm_cluster_network.py +20 -7
- pulumi_oci/databasemanagement/__init__.py +3 -0
- pulumi_oci/databasemanagement/_inputs.py +863 -48
- pulumi_oci/databasemanagement/get_external_asm_configuration.py +22 -5
- pulumi_oci/databasemanagement/get_external_asm_disk_groups.py +22 -5
- pulumi_oci/databasemanagement/get_external_asm_users.py +22 -5
- pulumi_oci/databasemanagement/get_external_listener_services.py +22 -5
- pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py +46 -37
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py +18 -1
- pulumi_oci/databasemanagement/get_managed_database_user.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_user_roles.py +20 -3
- pulumi_oci/databasemanagement/get_managed_database_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py +18 -1
- pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py +20 -3
- pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py +20 -3
- pulumi_oci/databasemanagement/get_named_credential.py +249 -0
- pulumi_oci/databasemanagement/get_named_credentials.py +216 -0
- pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py +99 -37
- pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py +91 -29
- pulumi_oci/databasemanagement/named_credential.py +635 -0
- pulumi_oci/databasemanagement/outputs.py +1896 -157
- pulumi_oci/dataintegration/__init__.py +3 -0
- pulumi_oci/dataintegration/_inputs.py +798 -0
- pulumi_oci/dataintegration/get_workspace_application_patch.py +391 -0
- pulumi_oci/dataintegration/get_workspace_application_patches.py +207 -0
- pulumi_oci/dataintegration/get_workspace_import_request.py +14 -1
- pulumi_oci/dataintegration/outputs.py +2844 -739
- pulumi_oci/dataintegration/workspace_application_patch.py +1026 -0
- pulumi_oci/dataintegration/workspace_import_request.py +49 -0
- pulumi_oci/generativeai/__init__.py +18 -0
- pulumi_oci/generativeai/_inputs.py +534 -0
- pulumi_oci/generativeai/dedicated_ai_cluster.py +808 -0
- pulumi_oci/generativeai/endpoint.py +717 -0
- pulumi_oci/generativeai/get_dedicated_ai_cluster.py +288 -0
- pulumi_oci/generativeai/get_dedicated_ai_clusters.py +183 -0
- pulumi_oci/generativeai/get_endpoint.py +275 -0
- pulumi_oci/generativeai/get_endpoints.py +183 -0
- pulumi_oci/generativeai/get_model.py +353 -0
- pulumi_oci/generativeai/get_models.py +220 -0
- pulumi_oci/generativeai/model.py +858 -0
- pulumi_oci/generativeai/outputs.py +1721 -0
- pulumi_oci/loadbalancer/_inputs.py +12 -0
- pulumi_oci/loadbalancer/outputs.py +12 -0
- pulumi_oci/marketplace/get_publication.py +14 -1
- pulumi_oci/marketplace/outputs.py +11 -0
- pulumi_oci/marketplace/publication.py +28 -0
- pulumi_oci/ospgateway/_inputs.py +16 -0
- pulumi_oci/ospgateway/outputs.py +94 -19
- pulumi_oci/stackmonitoring/__init__.py +3 -0
- pulumi_oci/stackmonitoring/_inputs.py +143 -0
- pulumi_oci/stackmonitoring/get_process_set.py +236 -0
- pulumi_oci/stackmonitoring/get_process_sets.py +156 -0
- pulumi_oci/stackmonitoring/outputs.py +422 -0
- pulumi_oci/stackmonitoring/process_set.py +548 -0
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/RECORD +79 -58
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.20.0a1705991859.dist-info → pulumi_oci-1.21.0.dist-info}/top_level.txt +0 -0
@@ -23,7 +23,7 @@ class GetManagedDatabasesDatabaseParametersResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getManagedDatabasesDatabaseParameters.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, database_parameters_collections=None, filters=None, id=None, is_allowed_values_included=None, managed_database_id=None, name=None, source=None):
|
26
|
+
def __init__(__self__, database_parameters_collections=None, filters=None, id=None, is_allowed_values_included=None, managed_database_id=None, name=None, opc_named_credential_id=None, source=None):
|
27
27
|
if database_parameters_collections and not isinstance(database_parameters_collections, list):
|
28
28
|
raise TypeError("Expected argument 'database_parameters_collections' to be a list")
|
29
29
|
pulumi.set(__self__, "database_parameters_collections", database_parameters_collections)
|
@@ -42,6 +42,9 @@ class GetManagedDatabasesDatabaseParametersResult:
|
|
42
42
|
if name and not isinstance(name, str):
|
43
43
|
raise TypeError("Expected argument 'name' to be a str")
|
44
44
|
pulumi.set(__self__, "name", name)
|
45
|
+
if opc_named_credential_id and not isinstance(opc_named_credential_id, str):
|
46
|
+
raise TypeError("Expected argument 'opc_named_credential_id' to be a str")
|
47
|
+
pulumi.set(__self__, "opc_named_credential_id", opc_named_credential_id)
|
45
48
|
if source and not isinstance(source, str):
|
46
49
|
raise TypeError("Expected argument 'source' to be a str")
|
47
50
|
pulumi.set(__self__, "source", source)
|
@@ -85,6 +88,11 @@ class GetManagedDatabasesDatabaseParametersResult:
|
|
85
88
|
"""
|
86
89
|
return pulumi.get(self, "name")
|
87
90
|
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="opcNamedCredentialId")
|
93
|
+
def opc_named_credential_id(self) -> Optional[str]:
|
94
|
+
return pulumi.get(self, "opc_named_credential_id")
|
95
|
+
|
88
96
|
@property
|
89
97
|
@pulumi.getter
|
90
98
|
def source(self) -> Optional[str]:
|
@@ -103,6 +111,7 @@ class AwaitableGetManagedDatabasesDatabaseParametersResult(GetManagedDatabasesDa
|
|
103
111
|
is_allowed_values_included=self.is_allowed_values_included,
|
104
112
|
managed_database_id=self.managed_database_id,
|
105
113
|
name=self.name,
|
114
|
+
opc_named_credential_id=self.opc_named_credential_id,
|
106
115
|
source=self.source)
|
107
116
|
|
108
117
|
|
@@ -110,6 +119,7 @@ def get_managed_databases_database_parameters(filters: Optional[Sequence[pulumi.
|
|
110
119
|
is_allowed_values_included: Optional[bool] = None,
|
111
120
|
managed_database_id: Optional[str] = None,
|
112
121
|
name: Optional[str] = None,
|
122
|
+
opc_named_credential_id: Optional[str] = None,
|
113
123
|
source: Optional[str] = None,
|
114
124
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedDatabasesDatabaseParametersResult:
|
115
125
|
"""
|
@@ -126,6 +136,7 @@ def get_managed_databases_database_parameters(filters: Optional[Sequence[pulumi.
|
|
126
136
|
test_managed_databases_database_parameters = oci.DatabaseManagement.get_managed_databases_database_parameters(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
|
127
137
|
is_allowed_values_included=var["managed_databases_database_parameter_is_allowed_values_included"],
|
128
138
|
name=var["managed_databases_database_parameter_name"],
|
139
|
+
opc_named_credential_id=var["managed_databases_database_parameter_opc_named_credential_id"],
|
129
140
|
source=var["managed_databases_database_parameter_source"])
|
130
141
|
```
|
131
142
|
|
@@ -133,6 +144,7 @@ def get_managed_databases_database_parameters(filters: Optional[Sequence[pulumi.
|
|
133
144
|
:param bool is_allowed_values_included: When true, results include a list of valid values for parameters (if applicable).
|
134
145
|
:param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
135
146
|
:param str name: A filter to return all parameters that have the text given in their names.
|
147
|
+
:param str opc_named_credential_id: The OCID of the Named Credential.
|
136
148
|
:param str source: The source used to list database parameters. `CURRENT` is used to get the database parameters that are currently in effect for the database instance. `SPFILE` is used to list parameters from the server parameter file. Default is `CURRENT`.
|
137
149
|
"""
|
138
150
|
__args__ = dict()
|
@@ -140,6 +152,7 @@ def get_managed_databases_database_parameters(filters: Optional[Sequence[pulumi.
|
|
140
152
|
__args__['isAllowedValuesIncluded'] = is_allowed_values_included
|
141
153
|
__args__['managedDatabaseId'] = managed_database_id
|
142
154
|
__args__['name'] = name
|
155
|
+
__args__['opcNamedCredentialId'] = opc_named_credential_id
|
143
156
|
__args__['source'] = source
|
144
157
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
145
158
|
__ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getManagedDatabasesDatabaseParameters:getManagedDatabasesDatabaseParameters', __args__, opts=opts, typ=GetManagedDatabasesDatabaseParametersResult).value
|
@@ -151,6 +164,7 @@ def get_managed_databases_database_parameters(filters: Optional[Sequence[pulumi.
|
|
151
164
|
is_allowed_values_included=pulumi.get(__ret__, 'is_allowed_values_included'),
|
152
165
|
managed_database_id=pulumi.get(__ret__, 'managed_database_id'),
|
153
166
|
name=pulumi.get(__ret__, 'name'),
|
167
|
+
opc_named_credential_id=pulumi.get(__ret__, 'opc_named_credential_id'),
|
154
168
|
source=pulumi.get(__ret__, 'source'))
|
155
169
|
|
156
170
|
|
@@ -159,6 +173,7 @@ def get_managed_databases_database_parameters_output(filters: Optional[pulumi.In
|
|
159
173
|
is_allowed_values_included: Optional[pulumi.Input[Optional[bool]]] = None,
|
160
174
|
managed_database_id: Optional[pulumi.Input[str]] = None,
|
161
175
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
176
|
+
opc_named_credential_id: Optional[pulumi.Input[Optional[str]]] = None,
|
162
177
|
source: Optional[pulumi.Input[Optional[str]]] = None,
|
163
178
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedDatabasesDatabaseParametersResult]:
|
164
179
|
"""
|
@@ -175,6 +190,7 @@ def get_managed_databases_database_parameters_output(filters: Optional[pulumi.In
|
|
175
190
|
test_managed_databases_database_parameters = oci.DatabaseManagement.get_managed_databases_database_parameters(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
|
176
191
|
is_allowed_values_included=var["managed_databases_database_parameter_is_allowed_values_included"],
|
177
192
|
name=var["managed_databases_database_parameter_name"],
|
193
|
+
opc_named_credential_id=var["managed_databases_database_parameter_opc_named_credential_id"],
|
178
194
|
source=var["managed_databases_database_parameter_source"])
|
179
195
|
```
|
180
196
|
|
@@ -182,6 +198,7 @@ def get_managed_databases_database_parameters_output(filters: Optional[pulumi.In
|
|
182
198
|
:param bool is_allowed_values_included: When true, results include a list of valid values for parameters (if applicable).
|
183
199
|
:param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
184
200
|
:param str name: A filter to return all parameters that have the text given in their names.
|
201
|
+
:param str opc_named_credential_id: The OCID of the Named Credential.
|
185
202
|
:param str source: The source used to list database parameters. `CURRENT` is used to get the database parameters that are currently in effect for the database instance. `SPFILE` is used to list parameters from the server parameter file. Default is `CURRENT`.
|
186
203
|
"""
|
187
204
|
...
|
@@ -23,7 +23,7 @@ class GetManagedDatabasesUserProxyUsersResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getManagedDatabasesUserProxyUsers.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, filters=None, id=None, managed_database_id=None, name=None, proxy_user_collections=None, user_name=None):
|
26
|
+
def __init__(__self__, filters=None, id=None, managed_database_id=None, name=None, opc_named_credential_id=None, proxy_user_collections=None, user_name=None):
|
27
27
|
if filters and not isinstance(filters, list):
|
28
28
|
raise TypeError("Expected argument 'filters' to be a list")
|
29
29
|
pulumi.set(__self__, "filters", filters)
|
@@ -36,6 +36,9 @@ class GetManagedDatabasesUserProxyUsersResult:
|
|
36
36
|
if name and not isinstance(name, str):
|
37
37
|
raise TypeError("Expected argument 'name' to be a str")
|
38
38
|
pulumi.set(__self__, "name", name)
|
39
|
+
if opc_named_credential_id and not isinstance(opc_named_credential_id, str):
|
40
|
+
raise TypeError("Expected argument 'opc_named_credential_id' to be a str")
|
41
|
+
pulumi.set(__self__, "opc_named_credential_id", opc_named_credential_id)
|
39
42
|
if proxy_user_collections and not isinstance(proxy_user_collections, list):
|
40
43
|
raise TypeError("Expected argument 'proxy_user_collections' to be a list")
|
41
44
|
pulumi.set(__self__, "proxy_user_collections", proxy_user_collections)
|
@@ -69,6 +72,11 @@ class GetManagedDatabasesUserProxyUsersResult:
|
|
69
72
|
"""
|
70
73
|
return pulumi.get(self, "name")
|
71
74
|
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="opcNamedCredentialId")
|
77
|
+
def opc_named_credential_id(self) -> Optional[str]:
|
78
|
+
return pulumi.get(self, "opc_named_credential_id")
|
79
|
+
|
72
80
|
@property
|
73
81
|
@pulumi.getter(name="proxyUserCollections")
|
74
82
|
def proxy_user_collections(self) -> Sequence['outputs.GetManagedDatabasesUserProxyUsersProxyUserCollectionResult']:
|
@@ -93,6 +101,7 @@ class AwaitableGetManagedDatabasesUserProxyUsersResult(GetManagedDatabasesUserPr
|
|
93
101
|
id=self.id,
|
94
102
|
managed_database_id=self.managed_database_id,
|
95
103
|
name=self.name,
|
104
|
+
opc_named_credential_id=self.opc_named_credential_id,
|
96
105
|
proxy_user_collections=self.proxy_user_collections,
|
97
106
|
user_name=self.user_name)
|
98
107
|
|
@@ -100,6 +109,7 @@ class AwaitableGetManagedDatabasesUserProxyUsersResult(GetManagedDatabasesUserPr
|
|
100
109
|
def get_managed_databases_user_proxy_users(filters: Optional[Sequence[pulumi.InputType['GetManagedDatabasesUserProxyUsersFilterArgs']]] = None,
|
101
110
|
managed_database_id: Optional[str] = None,
|
102
111
|
name: Optional[str] = None,
|
112
|
+
opc_named_credential_id: Optional[str] = None,
|
103
113
|
user_name: Optional[str] = None,
|
104
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedDatabasesUserProxyUsersResult:
|
105
115
|
"""
|
@@ -115,18 +125,21 @@ def get_managed_databases_user_proxy_users(filters: Optional[Sequence[pulumi.Inp
|
|
115
125
|
|
116
126
|
test_managed_databases_user_proxy_users = oci.DatabaseManagement.get_managed_databases_user_proxy_users(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
|
117
127
|
user_name=oci_identity_user["test_user"]["name"],
|
118
|
-
name=var["managed_databases_user_proxy_user_name"]
|
128
|
+
name=var["managed_databases_user_proxy_user_name"],
|
129
|
+
opc_named_credential_id=var["managed_databases_user_proxy_user_opc_named_credential_id"])
|
119
130
|
```
|
120
131
|
|
121
132
|
|
122
133
|
:param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
123
134
|
:param str name: A filter to return only resources that match the entire name.
|
135
|
+
:param str opc_named_credential_id: The OCID of the Named Credential.
|
124
136
|
:param str user_name: The name of the user whose details are to be viewed.
|
125
137
|
"""
|
126
138
|
__args__ = dict()
|
127
139
|
__args__['filters'] = filters
|
128
140
|
__args__['managedDatabaseId'] = managed_database_id
|
129
141
|
__args__['name'] = name
|
142
|
+
__args__['opcNamedCredentialId'] = opc_named_credential_id
|
130
143
|
__args__['userName'] = user_name
|
131
144
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
132
145
|
__ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getManagedDatabasesUserProxyUsers:getManagedDatabasesUserProxyUsers', __args__, opts=opts, typ=GetManagedDatabasesUserProxyUsersResult).value
|
@@ -136,6 +149,7 @@ def get_managed_databases_user_proxy_users(filters: Optional[Sequence[pulumi.Inp
|
|
136
149
|
id=pulumi.get(__ret__, 'id'),
|
137
150
|
managed_database_id=pulumi.get(__ret__, 'managed_database_id'),
|
138
151
|
name=pulumi.get(__ret__, 'name'),
|
152
|
+
opc_named_credential_id=pulumi.get(__ret__, 'opc_named_credential_id'),
|
139
153
|
proxy_user_collections=pulumi.get(__ret__, 'proxy_user_collections'),
|
140
154
|
user_name=pulumi.get(__ret__, 'user_name'))
|
141
155
|
|
@@ -144,6 +158,7 @@ def get_managed_databases_user_proxy_users(filters: Optional[Sequence[pulumi.Inp
|
|
144
158
|
def get_managed_databases_user_proxy_users_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedDatabasesUserProxyUsersFilterArgs']]]]] = None,
|
145
159
|
managed_database_id: Optional[pulumi.Input[str]] = None,
|
146
160
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
161
|
+
opc_named_credential_id: Optional[pulumi.Input[Optional[str]]] = None,
|
147
162
|
user_name: Optional[pulumi.Input[str]] = None,
|
148
163
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedDatabasesUserProxyUsersResult]:
|
149
164
|
"""
|
@@ -159,12 +174,14 @@ def get_managed_databases_user_proxy_users_output(filters: Optional[pulumi.Input
|
|
159
174
|
|
160
175
|
test_managed_databases_user_proxy_users = oci.DatabaseManagement.get_managed_databases_user_proxy_users(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
|
161
176
|
user_name=oci_identity_user["test_user"]["name"],
|
162
|
-
name=var["managed_databases_user_proxy_user_name"]
|
177
|
+
name=var["managed_databases_user_proxy_user_name"],
|
178
|
+
opc_named_credential_id=var["managed_databases_user_proxy_user_opc_named_credential_id"])
|
163
179
|
```
|
164
180
|
|
165
181
|
|
166
182
|
:param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
167
183
|
:param str name: A filter to return only resources that match the entire name.
|
184
|
+
:param str opc_named_credential_id: The OCID of the Named Credential.
|
168
185
|
:param str user_name: The name of the user whose details are to be viewed.
|
169
186
|
"""
|
170
187
|
...
|
@@ -23,7 +23,7 @@ class GetManagedDatabasesUserSystemPrivilegesResult:
|
|
23
23
|
"""
|
24
24
|
A collection of values returned by getManagedDatabasesUserSystemPrivileges.
|
25
25
|
"""
|
26
|
-
def __init__(__self__, filters=None, id=None, managed_database_id=None, name=None, system_privilege_collections=None, user_name=None):
|
26
|
+
def __init__(__self__, filters=None, id=None, managed_database_id=None, name=None, opc_named_credential_id=None, system_privilege_collections=None, user_name=None):
|
27
27
|
if filters and not isinstance(filters, list):
|
28
28
|
raise TypeError("Expected argument 'filters' to be a list")
|
29
29
|
pulumi.set(__self__, "filters", filters)
|
@@ -36,6 +36,9 @@ class GetManagedDatabasesUserSystemPrivilegesResult:
|
|
36
36
|
if name and not isinstance(name, str):
|
37
37
|
raise TypeError("Expected argument 'name' to be a str")
|
38
38
|
pulumi.set(__self__, "name", name)
|
39
|
+
if opc_named_credential_id and not isinstance(opc_named_credential_id, str):
|
40
|
+
raise TypeError("Expected argument 'opc_named_credential_id' to be a str")
|
41
|
+
pulumi.set(__self__, "opc_named_credential_id", opc_named_credential_id)
|
39
42
|
if system_privilege_collections and not isinstance(system_privilege_collections, list):
|
40
43
|
raise TypeError("Expected argument 'system_privilege_collections' to be a list")
|
41
44
|
pulumi.set(__self__, "system_privilege_collections", system_privilege_collections)
|
@@ -69,6 +72,11 @@ class GetManagedDatabasesUserSystemPrivilegesResult:
|
|
69
72
|
"""
|
70
73
|
return pulumi.get(self, "name")
|
71
74
|
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="opcNamedCredentialId")
|
77
|
+
def opc_named_credential_id(self) -> Optional[str]:
|
78
|
+
return pulumi.get(self, "opc_named_credential_id")
|
79
|
+
|
72
80
|
@property
|
73
81
|
@pulumi.getter(name="systemPrivilegeCollections")
|
74
82
|
def system_privilege_collections(self) -> Sequence['outputs.GetManagedDatabasesUserSystemPrivilegesSystemPrivilegeCollectionResult']:
|
@@ -93,6 +101,7 @@ class AwaitableGetManagedDatabasesUserSystemPrivilegesResult(GetManagedDatabases
|
|
93
101
|
id=self.id,
|
94
102
|
managed_database_id=self.managed_database_id,
|
95
103
|
name=self.name,
|
104
|
+
opc_named_credential_id=self.opc_named_credential_id,
|
96
105
|
system_privilege_collections=self.system_privilege_collections,
|
97
106
|
user_name=self.user_name)
|
98
107
|
|
@@ -100,6 +109,7 @@ class AwaitableGetManagedDatabasesUserSystemPrivilegesResult(GetManagedDatabases
|
|
100
109
|
def get_managed_databases_user_system_privileges(filters: Optional[Sequence[pulumi.InputType['GetManagedDatabasesUserSystemPrivilegesFilterArgs']]] = None,
|
101
110
|
managed_database_id: Optional[str] = None,
|
102
111
|
name: Optional[str] = None,
|
112
|
+
opc_named_credential_id: Optional[str] = None,
|
103
113
|
user_name: Optional[str] = None,
|
104
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedDatabasesUserSystemPrivilegesResult:
|
105
115
|
"""
|
@@ -115,18 +125,21 @@ def get_managed_databases_user_system_privileges(filters: Optional[Sequence[pulu
|
|
115
125
|
|
116
126
|
test_managed_databases_user_system_privileges = oci.DatabaseManagement.get_managed_databases_user_system_privileges(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
|
117
127
|
user_name=oci_identity_user["test_user"]["name"],
|
118
|
-
name=var["managed_databases_user_system_privilege_name"]
|
128
|
+
name=var["managed_databases_user_system_privilege_name"],
|
129
|
+
opc_named_credential_id=var["managed_databases_user_system_privilege_opc_named_credential_id"])
|
119
130
|
```
|
120
131
|
|
121
132
|
|
122
133
|
:param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
123
134
|
:param str name: A filter to return only resources that match the entire name.
|
135
|
+
:param str opc_named_credential_id: The OCID of the Named Credential.
|
124
136
|
:param str user_name: The name of the user whose details are to be viewed.
|
125
137
|
"""
|
126
138
|
__args__ = dict()
|
127
139
|
__args__['filters'] = filters
|
128
140
|
__args__['managedDatabaseId'] = managed_database_id
|
129
141
|
__args__['name'] = name
|
142
|
+
__args__['opcNamedCredentialId'] = opc_named_credential_id
|
130
143
|
__args__['userName'] = user_name
|
131
144
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
132
145
|
__ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getManagedDatabasesUserSystemPrivileges:getManagedDatabasesUserSystemPrivileges', __args__, opts=opts, typ=GetManagedDatabasesUserSystemPrivilegesResult).value
|
@@ -136,6 +149,7 @@ def get_managed_databases_user_system_privileges(filters: Optional[Sequence[pulu
|
|
136
149
|
id=pulumi.get(__ret__, 'id'),
|
137
150
|
managed_database_id=pulumi.get(__ret__, 'managed_database_id'),
|
138
151
|
name=pulumi.get(__ret__, 'name'),
|
152
|
+
opc_named_credential_id=pulumi.get(__ret__, 'opc_named_credential_id'),
|
139
153
|
system_privilege_collections=pulumi.get(__ret__, 'system_privilege_collections'),
|
140
154
|
user_name=pulumi.get(__ret__, 'user_name'))
|
141
155
|
|
@@ -144,6 +158,7 @@ def get_managed_databases_user_system_privileges(filters: Optional[Sequence[pulu
|
|
144
158
|
def get_managed_databases_user_system_privileges_output(filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedDatabasesUserSystemPrivilegesFilterArgs']]]]] = None,
|
145
159
|
managed_database_id: Optional[pulumi.Input[str]] = None,
|
146
160
|
name: Optional[pulumi.Input[Optional[str]]] = None,
|
161
|
+
opc_named_credential_id: Optional[pulumi.Input[Optional[str]]] = None,
|
147
162
|
user_name: Optional[pulumi.Input[str]] = None,
|
148
163
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedDatabasesUserSystemPrivilegesResult]:
|
149
164
|
"""
|
@@ -159,12 +174,14 @@ def get_managed_databases_user_system_privileges_output(filters: Optional[pulumi
|
|
159
174
|
|
160
175
|
test_managed_databases_user_system_privileges = oci.DatabaseManagement.get_managed_databases_user_system_privileges(managed_database_id=oci_database_management_managed_database["test_managed_database"]["id"],
|
161
176
|
user_name=oci_identity_user["test_user"]["name"],
|
162
|
-
name=var["managed_databases_user_system_privilege_name"]
|
177
|
+
name=var["managed_databases_user_system_privilege_name"],
|
178
|
+
opc_named_credential_id=var["managed_databases_user_system_privilege_opc_named_credential_id"])
|
163
179
|
```
|
164
180
|
|
165
181
|
|
166
182
|
:param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
|
167
183
|
:param str name: A filter to return only resources that match the entire name.
|
184
|
+
:param str opc_named_credential_id: The OCID of the Named Credential.
|
168
185
|
:param str user_name: The name of the user whose details are to be viewed.
|
169
186
|
"""
|
170
187
|
...
|
@@ -0,0 +1,249 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetNamedCredentialResult',
|
15
|
+
'AwaitableGetNamedCredentialResult',
|
16
|
+
'get_named_credential',
|
17
|
+
'get_named_credential_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetNamedCredentialResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getNamedCredential.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, associated_resource=None, compartment_id=None, contents=None, description=None, id=None, lifecycle_details=None, name=None, named_credential_id=None, scope=None, state=None, time_created=None, time_updated=None, type=None):
|
26
|
+
if associated_resource and not isinstance(associated_resource, str):
|
27
|
+
raise TypeError("Expected argument 'associated_resource' to be a str")
|
28
|
+
pulumi.set(__self__, "associated_resource", associated_resource)
|
29
|
+
if compartment_id and not isinstance(compartment_id, str):
|
30
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
31
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
32
|
+
if contents and not isinstance(contents, list):
|
33
|
+
raise TypeError("Expected argument 'contents' to be a list")
|
34
|
+
pulumi.set(__self__, "contents", contents)
|
35
|
+
if description and not isinstance(description, str):
|
36
|
+
raise TypeError("Expected argument 'description' to be a str")
|
37
|
+
pulumi.set(__self__, "description", description)
|
38
|
+
if id and not isinstance(id, str):
|
39
|
+
raise TypeError("Expected argument 'id' to be a str")
|
40
|
+
pulumi.set(__self__, "id", id)
|
41
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
42
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
43
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
44
|
+
if name and not isinstance(name, str):
|
45
|
+
raise TypeError("Expected argument 'name' to be a str")
|
46
|
+
pulumi.set(__self__, "name", name)
|
47
|
+
if named_credential_id and not isinstance(named_credential_id, str):
|
48
|
+
raise TypeError("Expected argument 'named_credential_id' to be a str")
|
49
|
+
pulumi.set(__self__, "named_credential_id", named_credential_id)
|
50
|
+
if scope and not isinstance(scope, str):
|
51
|
+
raise TypeError("Expected argument 'scope' to be a str")
|
52
|
+
pulumi.set(__self__, "scope", scope)
|
53
|
+
if state and not isinstance(state, str):
|
54
|
+
raise TypeError("Expected argument 'state' to be a str")
|
55
|
+
pulumi.set(__self__, "state", state)
|
56
|
+
if time_created and not isinstance(time_created, str):
|
57
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
58
|
+
pulumi.set(__self__, "time_created", time_created)
|
59
|
+
if time_updated and not isinstance(time_updated, str):
|
60
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
61
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
62
|
+
if type and not isinstance(type, str):
|
63
|
+
raise TypeError("Expected argument 'type' to be a str")
|
64
|
+
pulumi.set(__self__, "type", type)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="associatedResource")
|
68
|
+
def associated_resource(self) -> str:
|
69
|
+
"""
|
70
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is associated to the named credential.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "associated_resource")
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter(name="compartmentId")
|
76
|
+
def compartment_id(self) -> str:
|
77
|
+
"""
|
78
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "compartment_id")
|
81
|
+
|
82
|
+
@property
|
83
|
+
@pulumi.getter
|
84
|
+
def contents(self) -> Sequence['outputs.GetNamedCredentialContentResult']:
|
85
|
+
"""
|
86
|
+
The details of the named credential.
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "contents")
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def description(self) -> str:
|
93
|
+
"""
|
94
|
+
The information specified by the user about the named credential.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "description")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def id(self) -> str:
|
101
|
+
"""
|
102
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential.
|
103
|
+
"""
|
104
|
+
return pulumi.get(self, "id")
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="lifecycleDetails")
|
108
|
+
def lifecycle_details(self) -> str:
|
109
|
+
"""
|
110
|
+
The details of the lifecycle state.
|
111
|
+
"""
|
112
|
+
return pulumi.get(self, "lifecycle_details")
|
113
|
+
|
114
|
+
@property
|
115
|
+
@pulumi.getter
|
116
|
+
def name(self) -> str:
|
117
|
+
"""
|
118
|
+
The name of the named credential.
|
119
|
+
"""
|
120
|
+
return pulumi.get(self, "name")
|
121
|
+
|
122
|
+
@property
|
123
|
+
@pulumi.getter(name="namedCredentialId")
|
124
|
+
def named_credential_id(self) -> str:
|
125
|
+
return pulumi.get(self, "named_credential_id")
|
126
|
+
|
127
|
+
@property
|
128
|
+
@pulumi.getter
|
129
|
+
def scope(self) -> str:
|
130
|
+
"""
|
131
|
+
The scope of the named credential.
|
132
|
+
"""
|
133
|
+
return pulumi.get(self, "scope")
|
134
|
+
|
135
|
+
@property
|
136
|
+
@pulumi.getter
|
137
|
+
def state(self) -> str:
|
138
|
+
"""
|
139
|
+
The current lifecycle state of the named credential.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "state")
|
142
|
+
|
143
|
+
@property
|
144
|
+
@pulumi.getter(name="timeCreated")
|
145
|
+
def time_created(self) -> str:
|
146
|
+
"""
|
147
|
+
The date and time the named credential was created.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "time_created")
|
150
|
+
|
151
|
+
@property
|
152
|
+
@pulumi.getter(name="timeUpdated")
|
153
|
+
def time_updated(self) -> str:
|
154
|
+
"""
|
155
|
+
The date and time the named credential was last updated.
|
156
|
+
"""
|
157
|
+
return pulumi.get(self, "time_updated")
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter
|
161
|
+
def type(self) -> str:
|
162
|
+
"""
|
163
|
+
The type of resource associated with the named credential.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "type")
|
166
|
+
|
167
|
+
|
168
|
+
class AwaitableGetNamedCredentialResult(GetNamedCredentialResult):
|
169
|
+
# pylint: disable=using-constant-test
|
170
|
+
def __await__(self):
|
171
|
+
if False:
|
172
|
+
yield self
|
173
|
+
return GetNamedCredentialResult(
|
174
|
+
associated_resource=self.associated_resource,
|
175
|
+
compartment_id=self.compartment_id,
|
176
|
+
contents=self.contents,
|
177
|
+
description=self.description,
|
178
|
+
id=self.id,
|
179
|
+
lifecycle_details=self.lifecycle_details,
|
180
|
+
name=self.name,
|
181
|
+
named_credential_id=self.named_credential_id,
|
182
|
+
scope=self.scope,
|
183
|
+
state=self.state,
|
184
|
+
time_created=self.time_created,
|
185
|
+
time_updated=self.time_updated,
|
186
|
+
type=self.type)
|
187
|
+
|
188
|
+
|
189
|
+
def get_named_credential(named_credential_id: Optional[str] = None,
|
190
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNamedCredentialResult:
|
191
|
+
"""
|
192
|
+
This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Database Management service.
|
193
|
+
|
194
|
+
Gets the details for the named credential specified by namedCredentialId.
|
195
|
+
|
196
|
+
## Example Usage
|
197
|
+
|
198
|
+
```python
|
199
|
+
import pulumi
|
200
|
+
import pulumi_oci as oci
|
201
|
+
|
202
|
+
test_named_credential = oci.DatabaseManagement.get_named_credential(named_credential_id=oci_database_management_named_credential["test_named_credential"]["id"])
|
203
|
+
```
|
204
|
+
|
205
|
+
|
206
|
+
:param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential.
|
207
|
+
"""
|
208
|
+
__args__ = dict()
|
209
|
+
__args__['namedCredentialId'] = named_credential_id
|
210
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
211
|
+
__ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getNamedCredential:getNamedCredential', __args__, opts=opts, typ=GetNamedCredentialResult).value
|
212
|
+
|
213
|
+
return AwaitableGetNamedCredentialResult(
|
214
|
+
associated_resource=pulumi.get(__ret__, 'associated_resource'),
|
215
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
216
|
+
contents=pulumi.get(__ret__, 'contents'),
|
217
|
+
description=pulumi.get(__ret__, 'description'),
|
218
|
+
id=pulumi.get(__ret__, 'id'),
|
219
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
220
|
+
name=pulumi.get(__ret__, 'name'),
|
221
|
+
named_credential_id=pulumi.get(__ret__, 'named_credential_id'),
|
222
|
+
scope=pulumi.get(__ret__, 'scope'),
|
223
|
+
state=pulumi.get(__ret__, 'state'),
|
224
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
225
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
226
|
+
type=pulumi.get(__ret__, 'type'))
|
227
|
+
|
228
|
+
|
229
|
+
@_utilities.lift_output_func(get_named_credential)
|
230
|
+
def get_named_credential_output(named_credential_id: Optional[pulumi.Input[str]] = None,
|
231
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNamedCredentialResult]:
|
232
|
+
"""
|
233
|
+
This data source provides details about a specific Named Credential resource in Oracle Cloud Infrastructure Database Management service.
|
234
|
+
|
235
|
+
Gets the details for the named credential specified by namedCredentialId.
|
236
|
+
|
237
|
+
## Example Usage
|
238
|
+
|
239
|
+
```python
|
240
|
+
import pulumi
|
241
|
+
import pulumi_oci as oci
|
242
|
+
|
243
|
+
test_named_credential = oci.DatabaseManagement.get_named_credential(named_credential_id=oci_database_management_named_credential["test_named_credential"]["id"])
|
244
|
+
```
|
245
|
+
|
246
|
+
|
247
|
+
:param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential.
|
248
|
+
"""
|
249
|
+
...
|