pulumi-oci 1.21.0a1706749393__py3-none-any.whl → 1.22.0a1706814317__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.
Files changed (56) hide show
  1. pulumi_oci/__init__.py +16 -0
  2. pulumi_oci/_utilities.py +6 -2
  3. pulumi_oci/config/__init__.pyi +0 -4
  4. pulumi_oci/config/vars.py +0 -4
  5. pulumi_oci/database/autonomous_database.py +49 -0
  6. pulumi_oci/database/get_autonomous_database.py +14 -1
  7. pulumi_oci/database/get_managed_preferred_credential.py +19 -1
  8. pulumi_oci/database/outputs.py +21 -0
  9. pulumi_oci/databasemanagement/__init__.py +3 -0
  10. pulumi_oci/databasemanagement/_inputs.py +863 -48
  11. pulumi_oci/databasemanagement/get_external_asm_configuration.py +22 -5
  12. pulumi_oci/databasemanagement/get_external_asm_disk_groups.py +22 -5
  13. pulumi_oci/databasemanagement/get_external_asm_users.py +22 -5
  14. pulumi_oci/databasemanagement/get_external_listener_services.py +22 -5
  15. pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py +18 -1
  16. pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py +20 -3
  17. pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py +20 -3
  18. pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py +20 -3
  19. pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py +46 -37
  20. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py +18 -1
  21. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py +20 -3
  22. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py +18 -1
  23. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py +20 -3
  24. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py +20 -3
  25. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py +18 -1
  26. pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py +18 -1
  27. pulumi_oci/databasemanagement/get_managed_database_user.py +20 -3
  28. pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py +20 -3
  29. pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py +20 -3
  30. pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py +20 -3
  31. pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py +20 -3
  32. pulumi_oci/databasemanagement/get_managed_database_user_roles.py +20 -3
  33. pulumi_oci/databasemanagement/get_managed_database_users.py +20 -3
  34. pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py +18 -1
  35. pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py +20 -3
  36. pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py +20 -3
  37. pulumi_oci/databasemanagement/get_named_credential.py +249 -0
  38. pulumi_oci/databasemanagement/get_named_credentials.py +216 -0
  39. pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py +99 -37
  40. pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py +91 -29
  41. pulumi_oci/databasemanagement/named_credential.py +635 -0
  42. pulumi_oci/databasemanagement/outputs.py +1896 -157
  43. pulumi_oci/dataintegration/__init__.py +3 -0
  44. pulumi_oci/dataintegration/_inputs.py +798 -0
  45. pulumi_oci/dataintegration/get_workspace_application_patch.py +391 -0
  46. pulumi_oci/dataintegration/get_workspace_application_patches.py +207 -0
  47. pulumi_oci/dataintegration/get_workspace_import_request.py +14 -1
  48. pulumi_oci/dataintegration/outputs.py +2844 -739
  49. pulumi_oci/dataintegration/workspace_application_patch.py +1026 -0
  50. pulumi_oci/dataintegration/workspace_import_request.py +49 -0
  51. pulumi_oci/ospgateway/_inputs.py +16 -0
  52. pulumi_oci/ospgateway/outputs.py +94 -19
  53. {pulumi_oci-1.21.0a1706749393.dist-info → pulumi_oci-1.22.0a1706814317.dist-info}/METADATA +2 -1
  54. {pulumi_oci-1.21.0a1706749393.dist-info → pulumi_oci-1.22.0a1706814317.dist-info}/RECORD +56 -50
  55. {pulumi_oci-1.21.0a1706749393.dist-info → pulumi_oci-1.22.0a1706814317.dist-info}/WHEEL +0 -0
  56. {pulumi_oci-1.21.0a1706749393.dist-info → pulumi_oci-1.22.0a1706814317.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,391 @@
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
+ 'GetWorkspaceApplicationPatchResult',
15
+ 'AwaitableGetWorkspaceApplicationPatchResult',
16
+ 'get_workspace_application_patch',
17
+ 'get_workspace_application_patch_output',
18
+ ]
19
+
20
+ @pulumi.output_type
21
+ class GetWorkspaceApplicationPatchResult:
22
+ """
23
+ A collection of values returned by getWorkspaceApplicationPatch.
24
+ """
25
+ def __init__(__self__, application_key=None, application_version=None, dependent_object_metadatas=None, description=None, error_messages=None, id=None, identifier=None, key=None, key_map=None, metadatas=None, model_type=None, model_version=None, name=None, object_keys=None, object_status=None, object_version=None, parent_reves=None, patch_key=None, patch_object_metadatas=None, patch_status=None, patch_type=None, registry_metadatas=None, time_patched=None, workspace_id=None):
26
+ if application_key and not isinstance(application_key, str):
27
+ raise TypeError("Expected argument 'application_key' to be a str")
28
+ pulumi.set(__self__, "application_key", application_key)
29
+ if application_version and not isinstance(application_version, int):
30
+ raise TypeError("Expected argument 'application_version' to be a int")
31
+ pulumi.set(__self__, "application_version", application_version)
32
+ if dependent_object_metadatas and not isinstance(dependent_object_metadatas, list):
33
+ raise TypeError("Expected argument 'dependent_object_metadatas' to be a list")
34
+ pulumi.set(__self__, "dependent_object_metadatas", dependent_object_metadatas)
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 error_messages and not isinstance(error_messages, dict):
39
+ raise TypeError("Expected argument 'error_messages' to be a dict")
40
+ pulumi.set(__self__, "error_messages", error_messages)
41
+ if id and not isinstance(id, str):
42
+ raise TypeError("Expected argument 'id' to be a str")
43
+ pulumi.set(__self__, "id", id)
44
+ if identifier and not isinstance(identifier, str):
45
+ raise TypeError("Expected argument 'identifier' to be a str")
46
+ pulumi.set(__self__, "identifier", identifier)
47
+ if key and not isinstance(key, str):
48
+ raise TypeError("Expected argument 'key' to be a str")
49
+ pulumi.set(__self__, "key", key)
50
+ if key_map and not isinstance(key_map, dict):
51
+ raise TypeError("Expected argument 'key_map' to be a dict")
52
+ pulumi.set(__self__, "key_map", key_map)
53
+ if metadatas and not isinstance(metadatas, list):
54
+ raise TypeError("Expected argument 'metadatas' to be a list")
55
+ pulumi.set(__self__, "metadatas", metadatas)
56
+ if model_type and not isinstance(model_type, str):
57
+ raise TypeError("Expected argument 'model_type' to be a str")
58
+ pulumi.set(__self__, "model_type", model_type)
59
+ if model_version and not isinstance(model_version, str):
60
+ raise TypeError("Expected argument 'model_version' to be a str")
61
+ pulumi.set(__self__, "model_version", model_version)
62
+ if name and not isinstance(name, str):
63
+ raise TypeError("Expected argument 'name' to be a str")
64
+ pulumi.set(__self__, "name", name)
65
+ if object_keys and not isinstance(object_keys, list):
66
+ raise TypeError("Expected argument 'object_keys' to be a list")
67
+ pulumi.set(__self__, "object_keys", object_keys)
68
+ if object_status and not isinstance(object_status, int):
69
+ raise TypeError("Expected argument 'object_status' to be a int")
70
+ pulumi.set(__self__, "object_status", object_status)
71
+ if object_version and not isinstance(object_version, int):
72
+ raise TypeError("Expected argument 'object_version' to be a int")
73
+ pulumi.set(__self__, "object_version", object_version)
74
+ if parent_reves and not isinstance(parent_reves, list):
75
+ raise TypeError("Expected argument 'parent_reves' to be a list")
76
+ pulumi.set(__self__, "parent_reves", parent_reves)
77
+ if patch_key and not isinstance(patch_key, str):
78
+ raise TypeError("Expected argument 'patch_key' to be a str")
79
+ pulumi.set(__self__, "patch_key", patch_key)
80
+ if patch_object_metadatas and not isinstance(patch_object_metadatas, list):
81
+ raise TypeError("Expected argument 'patch_object_metadatas' to be a list")
82
+ pulumi.set(__self__, "patch_object_metadatas", patch_object_metadatas)
83
+ if patch_status and not isinstance(patch_status, str):
84
+ raise TypeError("Expected argument 'patch_status' to be a str")
85
+ pulumi.set(__self__, "patch_status", patch_status)
86
+ if patch_type and not isinstance(patch_type, str):
87
+ raise TypeError("Expected argument 'patch_type' to be a str")
88
+ pulumi.set(__self__, "patch_type", patch_type)
89
+ if registry_metadatas and not isinstance(registry_metadatas, list):
90
+ raise TypeError("Expected argument 'registry_metadatas' to be a list")
91
+ pulumi.set(__self__, "registry_metadatas", registry_metadatas)
92
+ if time_patched and not isinstance(time_patched, str):
93
+ raise TypeError("Expected argument 'time_patched' to be a str")
94
+ pulumi.set(__self__, "time_patched", time_patched)
95
+ if workspace_id and not isinstance(workspace_id, str):
96
+ raise TypeError("Expected argument 'workspace_id' to be a str")
97
+ pulumi.set(__self__, "workspace_id", workspace_id)
98
+
99
+ @property
100
+ @pulumi.getter(name="applicationKey")
101
+ def application_key(self) -> str:
102
+ return pulumi.get(self, "application_key")
103
+
104
+ @property
105
+ @pulumi.getter(name="applicationVersion")
106
+ def application_version(self) -> int:
107
+ """
108
+ The application version of the patch.
109
+ """
110
+ return pulumi.get(self, "application_version")
111
+
112
+ @property
113
+ @pulumi.getter(name="dependentObjectMetadatas")
114
+ def dependent_object_metadatas(self) -> Sequence['outputs.GetWorkspaceApplicationPatchDependentObjectMetadataResult']:
115
+ """
116
+ List of dependent objects in this patch.
117
+ """
118
+ return pulumi.get(self, "dependent_object_metadatas")
119
+
120
+ @property
121
+ @pulumi.getter
122
+ def description(self) -> str:
123
+ """
124
+ The description of the aggregator.
125
+ """
126
+ return pulumi.get(self, "description")
127
+
128
+ @property
129
+ @pulumi.getter(name="errorMessages")
130
+ def error_messages(self) -> Mapping[str, Any]:
131
+ """
132
+ The errors encountered while applying the patch, if any.
133
+ """
134
+ return pulumi.get(self, "error_messages")
135
+
136
+ @property
137
+ @pulumi.getter
138
+ def id(self) -> str:
139
+ return pulumi.get(self, "id")
140
+
141
+ @property
142
+ @pulumi.getter
143
+ def identifier(self) -> str:
144
+ """
145
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
146
+ """
147
+ return pulumi.get(self, "identifier")
148
+
149
+ @property
150
+ @pulumi.getter
151
+ def key(self) -> str:
152
+ """
153
+ The key of the object.
154
+ """
155
+ return pulumi.get(self, "key")
156
+
157
+ @property
158
+ @pulumi.getter(name="keyMap")
159
+ def key_map(self) -> Mapping[str, Any]:
160
+ """
161
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
162
+ """
163
+ return pulumi.get(self, "key_map")
164
+
165
+ @property
166
+ @pulumi.getter
167
+ def metadatas(self) -> Sequence['outputs.GetWorkspaceApplicationPatchMetadataResult']:
168
+ """
169
+ A summary type containing information about the object including its key, name and when/who created/updated it.
170
+ """
171
+ return pulumi.get(self, "metadatas")
172
+
173
+ @property
174
+ @pulumi.getter(name="modelType")
175
+ def model_type(self) -> str:
176
+ """
177
+ The object type.
178
+ """
179
+ return pulumi.get(self, "model_type")
180
+
181
+ @property
182
+ @pulumi.getter(name="modelVersion")
183
+ def model_version(self) -> str:
184
+ """
185
+ The object's model version.
186
+ """
187
+ return pulumi.get(self, "model_version")
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def name(self) -> str:
192
+ """
193
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
194
+ """
195
+ return pulumi.get(self, "name")
196
+
197
+ @property
198
+ @pulumi.getter(name="objectKeys")
199
+ def object_keys(self) -> Sequence[str]:
200
+ return pulumi.get(self, "object_keys")
201
+
202
+ @property
203
+ @pulumi.getter(name="objectStatus")
204
+ def object_status(self) -> int:
205
+ """
206
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
207
+ """
208
+ return pulumi.get(self, "object_status")
209
+
210
+ @property
211
+ @pulumi.getter(name="objectVersion")
212
+ def object_version(self) -> int:
213
+ """
214
+ The object version.
215
+ """
216
+ return pulumi.get(self, "object_version")
217
+
218
+ @property
219
+ @pulumi.getter(name="parentReves")
220
+ def parent_reves(self) -> Sequence['outputs.GetWorkspaceApplicationPatchParentRefResult']:
221
+ """
222
+ A reference to the object's parent.
223
+ """
224
+ return pulumi.get(self, "parent_reves")
225
+
226
+ @property
227
+ @pulumi.getter(name="patchKey")
228
+ def patch_key(self) -> str:
229
+ return pulumi.get(self, "patch_key")
230
+
231
+ @property
232
+ @pulumi.getter(name="patchObjectMetadatas")
233
+ def patch_object_metadatas(self) -> Sequence['outputs.GetWorkspaceApplicationPatchPatchObjectMetadataResult']:
234
+ """
235
+ List of objects that are published or unpublished in this patch.
236
+ """
237
+ return pulumi.get(self, "patch_object_metadatas")
238
+
239
+ @property
240
+ @pulumi.getter(name="patchStatus")
241
+ def patch_status(self) -> str:
242
+ """
243
+ Status of the patch applied or being applied on the application
244
+ """
245
+ return pulumi.get(self, "patch_status")
246
+
247
+ @property
248
+ @pulumi.getter(name="patchType")
249
+ def patch_type(self) -> str:
250
+ """
251
+ The type of the patch applied or being applied on the application.
252
+ """
253
+ return pulumi.get(self, "patch_type")
254
+
255
+ @property
256
+ @pulumi.getter(name="registryMetadatas")
257
+ def registry_metadatas(self) -> Sequence['outputs.GetWorkspaceApplicationPatchRegistryMetadataResult']:
258
+ return pulumi.get(self, "registry_metadatas")
259
+
260
+ @property
261
+ @pulumi.getter(name="timePatched")
262
+ def time_patched(self) -> str:
263
+ """
264
+ The date and time the patch was applied, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).
265
+ """
266
+ return pulumi.get(self, "time_patched")
267
+
268
+ @property
269
+ @pulumi.getter(name="workspaceId")
270
+ def workspace_id(self) -> str:
271
+ return pulumi.get(self, "workspace_id")
272
+
273
+
274
+ class AwaitableGetWorkspaceApplicationPatchResult(GetWorkspaceApplicationPatchResult):
275
+ # pylint: disable=using-constant-test
276
+ def __await__(self):
277
+ if False:
278
+ yield self
279
+ return GetWorkspaceApplicationPatchResult(
280
+ application_key=self.application_key,
281
+ application_version=self.application_version,
282
+ dependent_object_metadatas=self.dependent_object_metadatas,
283
+ description=self.description,
284
+ error_messages=self.error_messages,
285
+ id=self.id,
286
+ identifier=self.identifier,
287
+ key=self.key,
288
+ key_map=self.key_map,
289
+ metadatas=self.metadatas,
290
+ model_type=self.model_type,
291
+ model_version=self.model_version,
292
+ name=self.name,
293
+ object_keys=self.object_keys,
294
+ object_status=self.object_status,
295
+ object_version=self.object_version,
296
+ parent_reves=self.parent_reves,
297
+ patch_key=self.patch_key,
298
+ patch_object_metadatas=self.patch_object_metadatas,
299
+ patch_status=self.patch_status,
300
+ patch_type=self.patch_type,
301
+ registry_metadatas=self.registry_metadatas,
302
+ time_patched=self.time_patched,
303
+ workspace_id=self.workspace_id)
304
+
305
+
306
+ def get_workspace_application_patch(application_key: Optional[str] = None,
307
+ patch_key: Optional[str] = None,
308
+ workspace_id: Optional[str] = None,
309
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceApplicationPatchResult:
310
+ """
311
+ This data source provides details about a specific Workspace Application Patch resource in Oracle Cloud Infrastructure Data Integration service.
312
+
313
+ Retrieves a patch in an application using the specified identifier.
314
+
315
+ ## Example Usage
316
+
317
+ ```python
318
+ import pulumi
319
+ import pulumi_oci as oci
320
+
321
+ test_workspace_application_patch = oci.DataIntegration.get_workspace_application_patch(application_key=var["workspace_application_patch_application_key"],
322
+ patch_key=var["workspace_application_patch_patch_key"],
323
+ workspace_id=oci_dataintegration_workspace["test_workspace"]["id"])
324
+ ```
325
+
326
+
327
+ :param str application_key: The application key.
328
+ :param str patch_key: The patch key.
329
+ :param str workspace_id: The workspace ID.
330
+ """
331
+ __args__ = dict()
332
+ __args__['applicationKey'] = application_key
333
+ __args__['patchKey'] = patch_key
334
+ __args__['workspaceId'] = workspace_id
335
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
336
+ __ret__ = pulumi.runtime.invoke('oci:DataIntegration/getWorkspaceApplicationPatch:getWorkspaceApplicationPatch', __args__, opts=opts, typ=GetWorkspaceApplicationPatchResult).value
337
+
338
+ return AwaitableGetWorkspaceApplicationPatchResult(
339
+ application_key=pulumi.get(__ret__, 'application_key'),
340
+ application_version=pulumi.get(__ret__, 'application_version'),
341
+ dependent_object_metadatas=pulumi.get(__ret__, 'dependent_object_metadatas'),
342
+ description=pulumi.get(__ret__, 'description'),
343
+ error_messages=pulumi.get(__ret__, 'error_messages'),
344
+ id=pulumi.get(__ret__, 'id'),
345
+ identifier=pulumi.get(__ret__, 'identifier'),
346
+ key=pulumi.get(__ret__, 'key'),
347
+ key_map=pulumi.get(__ret__, 'key_map'),
348
+ metadatas=pulumi.get(__ret__, 'metadatas'),
349
+ model_type=pulumi.get(__ret__, 'model_type'),
350
+ model_version=pulumi.get(__ret__, 'model_version'),
351
+ name=pulumi.get(__ret__, 'name'),
352
+ object_keys=pulumi.get(__ret__, 'object_keys'),
353
+ object_status=pulumi.get(__ret__, 'object_status'),
354
+ object_version=pulumi.get(__ret__, 'object_version'),
355
+ parent_reves=pulumi.get(__ret__, 'parent_reves'),
356
+ patch_key=pulumi.get(__ret__, 'patch_key'),
357
+ patch_object_metadatas=pulumi.get(__ret__, 'patch_object_metadatas'),
358
+ patch_status=pulumi.get(__ret__, 'patch_status'),
359
+ patch_type=pulumi.get(__ret__, 'patch_type'),
360
+ registry_metadatas=pulumi.get(__ret__, 'registry_metadatas'),
361
+ time_patched=pulumi.get(__ret__, 'time_patched'),
362
+ workspace_id=pulumi.get(__ret__, 'workspace_id'))
363
+
364
+
365
+ @_utilities.lift_output_func(get_workspace_application_patch)
366
+ def get_workspace_application_patch_output(application_key: Optional[pulumi.Input[str]] = None,
367
+ patch_key: Optional[pulumi.Input[str]] = None,
368
+ workspace_id: Optional[pulumi.Input[str]] = None,
369
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceApplicationPatchResult]:
370
+ """
371
+ This data source provides details about a specific Workspace Application Patch resource in Oracle Cloud Infrastructure Data Integration service.
372
+
373
+ Retrieves a patch in an application using the specified identifier.
374
+
375
+ ## Example Usage
376
+
377
+ ```python
378
+ import pulumi
379
+ import pulumi_oci as oci
380
+
381
+ test_workspace_application_patch = oci.DataIntegration.get_workspace_application_patch(application_key=var["workspace_application_patch_application_key"],
382
+ patch_key=var["workspace_application_patch_patch_key"],
383
+ workspace_id=oci_dataintegration_workspace["test_workspace"]["id"])
384
+ ```
385
+
386
+
387
+ :param str application_key: The application key.
388
+ :param str patch_key: The patch key.
389
+ :param str workspace_id: The workspace ID.
390
+ """
391
+ ...
@@ -0,0 +1,207 @@
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
+ from ._inputs import *
13
+
14
+ __all__ = [
15
+ 'GetWorkspaceApplicationPatchesResult',
16
+ 'AwaitableGetWorkspaceApplicationPatchesResult',
17
+ 'get_workspace_application_patches',
18
+ 'get_workspace_application_patches_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetWorkspaceApplicationPatchesResult:
23
+ """
24
+ A collection of values returned by getWorkspaceApplicationPatches.
25
+ """
26
+ def __init__(__self__, application_key=None, fields=None, filters=None, id=None, identifiers=None, name=None, patch_summary_collections=None, workspace_id=None):
27
+ if application_key and not isinstance(application_key, str):
28
+ raise TypeError("Expected argument 'application_key' to be a str")
29
+ pulumi.set(__self__, "application_key", application_key)
30
+ if fields and not isinstance(fields, list):
31
+ raise TypeError("Expected argument 'fields' to be a list")
32
+ pulumi.set(__self__, "fields", fields)
33
+ if filters and not isinstance(filters, list):
34
+ raise TypeError("Expected argument 'filters' to be a list")
35
+ pulumi.set(__self__, "filters", filters)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if identifiers and not isinstance(identifiers, list):
40
+ raise TypeError("Expected argument 'identifiers' to be a list")
41
+ pulumi.set(__self__, "identifiers", identifiers)
42
+ if name and not isinstance(name, str):
43
+ raise TypeError("Expected argument 'name' to be a str")
44
+ pulumi.set(__self__, "name", name)
45
+ if patch_summary_collections and not isinstance(patch_summary_collections, list):
46
+ raise TypeError("Expected argument 'patch_summary_collections' to be a list")
47
+ pulumi.set(__self__, "patch_summary_collections", patch_summary_collections)
48
+ if workspace_id and not isinstance(workspace_id, str):
49
+ raise TypeError("Expected argument 'workspace_id' to be a str")
50
+ pulumi.set(__self__, "workspace_id", workspace_id)
51
+
52
+ @property
53
+ @pulumi.getter(name="applicationKey")
54
+ def application_key(self) -> str:
55
+ return pulumi.get(self, "application_key")
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def fields(self) -> Optional[Sequence[str]]:
60
+ return pulumi.get(self, "fields")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def filters(self) -> Optional[Sequence['outputs.GetWorkspaceApplicationPatchesFilterResult']]:
65
+ return pulumi.get(self, "filters")
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def id(self) -> str:
70
+ """
71
+ The provider-assigned unique ID for this managed resource.
72
+ """
73
+ return pulumi.get(self, "id")
74
+
75
+ @property
76
+ @pulumi.getter
77
+ def identifiers(self) -> Optional[Sequence[str]]:
78
+ """
79
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
80
+ """
81
+ return pulumi.get(self, "identifiers")
82
+
83
+ @property
84
+ @pulumi.getter
85
+ def name(self) -> Optional[str]:
86
+ """
87
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
88
+ """
89
+ return pulumi.get(self, "name")
90
+
91
+ @property
92
+ @pulumi.getter(name="patchSummaryCollections")
93
+ def patch_summary_collections(self) -> Sequence['outputs.GetWorkspaceApplicationPatchesPatchSummaryCollectionResult']:
94
+ """
95
+ The list of patch_summary_collection.
96
+ """
97
+ return pulumi.get(self, "patch_summary_collections")
98
+
99
+ @property
100
+ @pulumi.getter(name="workspaceId")
101
+ def workspace_id(self) -> str:
102
+ return pulumi.get(self, "workspace_id")
103
+
104
+
105
+ class AwaitableGetWorkspaceApplicationPatchesResult(GetWorkspaceApplicationPatchesResult):
106
+ # pylint: disable=using-constant-test
107
+ def __await__(self):
108
+ if False:
109
+ yield self
110
+ return GetWorkspaceApplicationPatchesResult(
111
+ application_key=self.application_key,
112
+ fields=self.fields,
113
+ filters=self.filters,
114
+ id=self.id,
115
+ identifiers=self.identifiers,
116
+ name=self.name,
117
+ patch_summary_collections=self.patch_summary_collections,
118
+ workspace_id=self.workspace_id)
119
+
120
+
121
+ def get_workspace_application_patches(application_key: Optional[str] = None,
122
+ fields: Optional[Sequence[str]] = None,
123
+ filters: Optional[Sequence[pulumi.InputType['GetWorkspaceApplicationPatchesFilterArgs']]] = None,
124
+ identifiers: Optional[Sequence[str]] = None,
125
+ name: Optional[str] = None,
126
+ workspace_id: Optional[str] = None,
127
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceApplicationPatchesResult:
128
+ """
129
+ This data source provides the list of Workspace Application Patches in Oracle Cloud Infrastructure Data Integration service.
130
+
131
+ Retrieves a list of patches in an application and provides options to filter the list. For listing changes based on a period and logical objects changed, see ListPatchChanges API.
132
+
133
+ ## Example Usage
134
+
135
+ ```python
136
+ import pulumi
137
+ import pulumi_oci as oci
138
+
139
+ test_workspace_application_patches = oci.DataIntegration.get_workspace_application_patches(application_key=var["workspace_application_patch_application_key"],
140
+ workspace_id=oci_dataintegration_workspace["test_workspace"]["id"],
141
+ fields=var["workspace_application_patch_fields"],
142
+ identifiers=var["workspace_application_patch_identifier"],
143
+ name=var["workspace_application_patch_name"])
144
+ ```
145
+
146
+
147
+ :param str application_key: The application key.
148
+ :param Sequence[str] fields: Specifies the fields to get for an object.
149
+ :param Sequence[str] identifiers: Used to filter by the identifier of the published object.
150
+ :param str name: Used to filter by the name of the object.
151
+ :param str workspace_id: The workspace ID.
152
+ """
153
+ __args__ = dict()
154
+ __args__['applicationKey'] = application_key
155
+ __args__['fields'] = fields
156
+ __args__['filters'] = filters
157
+ __args__['identifiers'] = identifiers
158
+ __args__['name'] = name
159
+ __args__['workspaceId'] = workspace_id
160
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
161
+ __ret__ = pulumi.runtime.invoke('oci:DataIntegration/getWorkspaceApplicationPatches:getWorkspaceApplicationPatches', __args__, opts=opts, typ=GetWorkspaceApplicationPatchesResult).value
162
+
163
+ return AwaitableGetWorkspaceApplicationPatchesResult(
164
+ application_key=pulumi.get(__ret__, 'application_key'),
165
+ fields=pulumi.get(__ret__, 'fields'),
166
+ filters=pulumi.get(__ret__, 'filters'),
167
+ id=pulumi.get(__ret__, 'id'),
168
+ identifiers=pulumi.get(__ret__, 'identifiers'),
169
+ name=pulumi.get(__ret__, 'name'),
170
+ patch_summary_collections=pulumi.get(__ret__, 'patch_summary_collections'),
171
+ workspace_id=pulumi.get(__ret__, 'workspace_id'))
172
+
173
+
174
+ @_utilities.lift_output_func(get_workspace_application_patches)
175
+ def get_workspace_application_patches_output(application_key: Optional[pulumi.Input[str]] = None,
176
+ fields: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
177
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetWorkspaceApplicationPatchesFilterArgs']]]]] = None,
178
+ identifiers: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
179
+ name: Optional[pulumi.Input[Optional[str]]] = None,
180
+ workspace_id: Optional[pulumi.Input[str]] = None,
181
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWorkspaceApplicationPatchesResult]:
182
+ """
183
+ This data source provides the list of Workspace Application Patches in Oracle Cloud Infrastructure Data Integration service.
184
+
185
+ Retrieves a list of patches in an application and provides options to filter the list. For listing changes based on a period and logical objects changed, see ListPatchChanges API.
186
+
187
+ ## Example Usage
188
+
189
+ ```python
190
+ import pulumi
191
+ import pulumi_oci as oci
192
+
193
+ test_workspace_application_patches = oci.DataIntegration.get_workspace_application_patches(application_key=var["workspace_application_patch_application_key"],
194
+ workspace_id=oci_dataintegration_workspace["test_workspace"]["id"],
195
+ fields=var["workspace_application_patch_fields"],
196
+ identifiers=var["workspace_application_patch_identifier"],
197
+ name=var["workspace_application_patch_name"])
198
+ ```
199
+
200
+
201
+ :param str application_key: The application key.
202
+ :param Sequence[str] fields: Specifies the fields to get for an object.
203
+ :param Sequence[str] identifiers: Used to filter by the identifier of the published object.
204
+ :param str name: Used to filter by the name of the object.
205
+ :param str workspace_id: The workspace ID.
206
+ """
207
+ ...
@@ -22,7 +22,10 @@ class GetWorkspaceImportRequestResult:
22
22
  """
23
23
  A collection of values returned by getWorkspaceImportRequest.
24
24
  """
25
- def __init__(__self__, bucket=None, created_by=None, error_messages=None, file_name=None, id=None, import_conflict_resolutions=None, import_request_key=None, imported_objects=None, key=None, name=None, object_key_for_import=None, object_storage_region=None, object_storage_tenancy_id=None, status=None, time_ended_in_millis=None, time_started_in_millis=None, total_imported_object_count=None, workspace_id=None):
25
+ def __init__(__self__, are_data_asset_references_included=None, bucket=None, created_by=None, error_messages=None, file_name=None, id=None, import_conflict_resolutions=None, import_request_key=None, imported_objects=None, key=None, name=None, object_key_for_import=None, object_storage_region=None, object_storage_tenancy_id=None, status=None, time_ended_in_millis=None, time_started_in_millis=None, total_imported_object_count=None, workspace_id=None):
26
+ if are_data_asset_references_included and not isinstance(are_data_asset_references_included, bool):
27
+ raise TypeError("Expected argument 'are_data_asset_references_included' to be a bool")
28
+ pulumi.set(__self__, "are_data_asset_references_included", are_data_asset_references_included)
26
29
  if bucket and not isinstance(bucket, str):
27
30
  raise TypeError("Expected argument 'bucket' to be a str")
28
31
  pulumi.set(__self__, "bucket", bucket)
@@ -78,6 +81,14 @@ class GetWorkspaceImportRequestResult:
78
81
  raise TypeError("Expected argument 'workspace_id' to be a str")
79
82
  pulumi.set(__self__, "workspace_id", workspace_id)
80
83
 
84
+ @property
85
+ @pulumi.getter(name="areDataAssetReferencesIncluded")
86
+ def are_data_asset_references_included(self) -> bool:
87
+ """
88
+ This field controls if the data asset references will be included during import.
89
+ """
90
+ return pulumi.get(self, "are_data_asset_references_included")
91
+
81
92
  @property
82
93
  @pulumi.getter
83
94
  def bucket(self) -> str:
@@ -220,6 +231,7 @@ class AwaitableGetWorkspaceImportRequestResult(GetWorkspaceImportRequestResult):
220
231
  if False:
221
232
  yield self
222
233
  return GetWorkspaceImportRequestResult(
234
+ are_data_asset_references_included=self.are_data_asset_references_included,
223
235
  bucket=self.bucket,
224
236
  created_by=self.created_by,
225
237
  error_messages=self.error_messages,
@@ -269,6 +281,7 @@ def get_workspace_import_request(import_request_key: Optional[str] = None,
269
281
  __ret__ = pulumi.runtime.invoke('oci:DataIntegration/getWorkspaceImportRequest:getWorkspaceImportRequest', __args__, opts=opts, typ=GetWorkspaceImportRequestResult).value
270
282
 
271
283
  return AwaitableGetWorkspaceImportRequestResult(
284
+ are_data_asset_references_included=pulumi.get(__ret__, 'are_data_asset_references_included'),
272
285
  bucket=pulumi.get(__ret__, 'bucket'),
273
286
  created_by=pulumi.get(__ret__, 'created_by'),
274
287
  error_messages=pulumi.get(__ret__, 'error_messages'),