pulumi-oci 2.31.0a1744863614__py3-none-any.whl → 2.32.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/core/get_volume.py +15 -1
- pulumi_oci/core/instance.py +7 -7
- pulumi_oci/core/instance_configuration.py +0 -750
- pulumi_oci/core/outputs.py +11 -0
- pulumi_oci/core/volume.py +49 -0
- pulumi_oci/dblm/__init__.py +2 -0
- pulumi_oci/dblm/_inputs.py +49 -0
- pulumi_oci/dblm/get_patch_management.py +291 -0
- pulumi_oci/dblm/get_patch_management_databases.py +306 -0
- pulumi_oci/dblm/outputs.py +898 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/visualbuilder/_inputs.py +119 -13
- pulumi_oci/visualbuilder/get_vb_instance.py +1 -1
- pulumi_oci/visualbuilder/outputs.py +201 -12
- pulumi_oci/visualbuilder/vb_instance.py +0 -70
- {pulumi_oci-2.31.0a1744863614.dist-info → pulumi_oci-2.32.0.dist-info}/METADATA +1 -1
- {pulumi_oci-2.31.0a1744863614.dist-info → pulumi_oci-2.32.0.dist-info}/RECORD +19 -17
- {pulumi_oci-2.31.0a1744863614.dist-info → pulumi_oci-2.32.0.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.31.0a1744863614.dist-info → pulumi_oci-2.32.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,306 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = [
|
21
|
+
'GetPatchManagementDatabasesResult',
|
22
|
+
'AwaitableGetPatchManagementDatabasesResult',
|
23
|
+
'get_patch_management_databases',
|
24
|
+
'get_patch_management_databases_output',
|
25
|
+
]
|
26
|
+
|
27
|
+
@pulumi.output_type
|
28
|
+
class GetPatchManagementDatabasesResult:
|
29
|
+
"""
|
30
|
+
A collection of values returned by getPatchManagementDatabases.
|
31
|
+
"""
|
32
|
+
def __init__(__self__, compartment_id=None, database_release=None, database_type=None, display_name=None, drifter_patch_id=None, filters=None, id=None, image_compliance=None, image_id=None, patch_databases_collections=None, severity_types=None, state=None):
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if database_release and not isinstance(database_release, str):
|
37
|
+
raise TypeError("Expected argument 'database_release' to be a str")
|
38
|
+
pulumi.set(__self__, "database_release", database_release)
|
39
|
+
if database_type and not isinstance(database_type, str):
|
40
|
+
raise TypeError("Expected argument 'database_type' to be a str")
|
41
|
+
pulumi.set(__self__, "database_type", database_type)
|
42
|
+
if display_name and not isinstance(display_name, str):
|
43
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
44
|
+
pulumi.set(__self__, "display_name", display_name)
|
45
|
+
if drifter_patch_id and not isinstance(drifter_patch_id, int):
|
46
|
+
raise TypeError("Expected argument 'drifter_patch_id' to be a int")
|
47
|
+
pulumi.set(__self__, "drifter_patch_id", drifter_patch_id)
|
48
|
+
if filters and not isinstance(filters, list):
|
49
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
50
|
+
pulumi.set(__self__, "filters", filters)
|
51
|
+
if id and not isinstance(id, str):
|
52
|
+
raise TypeError("Expected argument 'id' to be a str")
|
53
|
+
pulumi.set(__self__, "id", id)
|
54
|
+
if image_compliance and not isinstance(image_compliance, str):
|
55
|
+
raise TypeError("Expected argument 'image_compliance' to be a str")
|
56
|
+
pulumi.set(__self__, "image_compliance", image_compliance)
|
57
|
+
if image_id and not isinstance(image_id, str):
|
58
|
+
raise TypeError("Expected argument 'image_id' to be a str")
|
59
|
+
pulumi.set(__self__, "image_id", image_id)
|
60
|
+
if patch_databases_collections and not isinstance(patch_databases_collections, list):
|
61
|
+
raise TypeError("Expected argument 'patch_databases_collections' to be a list")
|
62
|
+
pulumi.set(__self__, "patch_databases_collections", patch_databases_collections)
|
63
|
+
if severity_types and not isinstance(severity_types, list):
|
64
|
+
raise TypeError("Expected argument 'severity_types' to be a list")
|
65
|
+
pulumi.set(__self__, "severity_types", severity_types)
|
66
|
+
if state and not isinstance(state, str):
|
67
|
+
raise TypeError("Expected argument 'state' to be a str")
|
68
|
+
pulumi.set(__self__, "state", state)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="compartmentId")
|
72
|
+
def compartment_id(self) -> Optional[builtins.str]:
|
73
|
+
return pulumi.get(self, "compartment_id")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="databaseRelease")
|
77
|
+
def database_release(self) -> Optional[builtins.str]:
|
78
|
+
return pulumi.get(self, "database_release")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="databaseType")
|
82
|
+
def database_type(self) -> Optional[builtins.str]:
|
83
|
+
"""
|
84
|
+
Database type.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "database_type")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="displayName")
|
90
|
+
def display_name(self) -> Optional[builtins.str]:
|
91
|
+
return pulumi.get(self, "display_name")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="drifterPatchId")
|
95
|
+
def drifter_patch_id(self) -> Optional[builtins.int]:
|
96
|
+
return pulumi.get(self, "drifter_patch_id")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter
|
100
|
+
def filters(self) -> Optional[Sequence['outputs.GetPatchManagementDatabasesFilterResult']]:
|
101
|
+
return pulumi.get(self, "filters")
|
102
|
+
|
103
|
+
@property
|
104
|
+
@pulumi.getter
|
105
|
+
def id(self) -> builtins.str:
|
106
|
+
"""
|
107
|
+
The provider-assigned unique ID for this managed resource.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "id")
|
110
|
+
|
111
|
+
@property
|
112
|
+
@pulumi.getter(name="imageCompliance")
|
113
|
+
def image_compliance(self) -> Optional[builtins.str]:
|
114
|
+
return pulumi.get(self, "image_compliance")
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="imageId")
|
118
|
+
def image_id(self) -> Optional[builtins.str]:
|
119
|
+
"""
|
120
|
+
Image identifier.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "image_id")
|
123
|
+
|
124
|
+
@property
|
125
|
+
@pulumi.getter(name="patchDatabasesCollections")
|
126
|
+
def patch_databases_collections(self) -> Sequence['outputs.GetPatchManagementDatabasesPatchDatabasesCollectionResult']:
|
127
|
+
"""
|
128
|
+
The list of patch_databases_collection.
|
129
|
+
"""
|
130
|
+
return pulumi.get(self, "patch_databases_collections")
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter(name="severityTypes")
|
134
|
+
def severity_types(self) -> Optional[Sequence[builtins.str]]:
|
135
|
+
return pulumi.get(self, "severity_types")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter
|
139
|
+
def state(self) -> Optional[builtins.str]:
|
140
|
+
"""
|
141
|
+
The current state of the database.
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "state")
|
144
|
+
|
145
|
+
|
146
|
+
class AwaitableGetPatchManagementDatabasesResult(GetPatchManagementDatabasesResult):
|
147
|
+
# pylint: disable=using-constant-test
|
148
|
+
def __await__(self):
|
149
|
+
if False:
|
150
|
+
yield self
|
151
|
+
return GetPatchManagementDatabasesResult(
|
152
|
+
compartment_id=self.compartment_id,
|
153
|
+
database_release=self.database_release,
|
154
|
+
database_type=self.database_type,
|
155
|
+
display_name=self.display_name,
|
156
|
+
drifter_patch_id=self.drifter_patch_id,
|
157
|
+
filters=self.filters,
|
158
|
+
id=self.id,
|
159
|
+
image_compliance=self.image_compliance,
|
160
|
+
image_id=self.image_id,
|
161
|
+
patch_databases_collections=self.patch_databases_collections,
|
162
|
+
severity_types=self.severity_types,
|
163
|
+
state=self.state)
|
164
|
+
|
165
|
+
|
166
|
+
def get_patch_management_databases(compartment_id: Optional[builtins.str] = None,
|
167
|
+
database_release: Optional[builtins.str] = None,
|
168
|
+
database_type: Optional[builtins.str] = None,
|
169
|
+
display_name: Optional[builtins.str] = None,
|
170
|
+
drifter_patch_id: Optional[builtins.int] = None,
|
171
|
+
filters: Optional[Sequence[Union['GetPatchManagementDatabasesFilterArgs', 'GetPatchManagementDatabasesFilterArgsDict']]] = None,
|
172
|
+
image_compliance: Optional[builtins.str] = None,
|
173
|
+
image_id: Optional[builtins.str] = None,
|
174
|
+
severity_types: Optional[Sequence[builtins.str]] = None,
|
175
|
+
state: Optional[builtins.str] = None,
|
176
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPatchManagementDatabasesResult:
|
177
|
+
"""
|
178
|
+
This data source provides the list of Patch Management Databases in Oracle Cloud Infrastructure Dblm service.
|
179
|
+
|
180
|
+
Gets the list of databases
|
181
|
+
|
182
|
+
## Example Usage
|
183
|
+
|
184
|
+
```python
|
185
|
+
import pulumi
|
186
|
+
import pulumi_oci as oci
|
187
|
+
|
188
|
+
test_patch_management_databases = oci.Dblm.get_patch_management_databases(compartment_id=compartment_id,
|
189
|
+
database_release=patch_management_database_database_release,
|
190
|
+
database_type=patch_management_database_database_type,
|
191
|
+
display_name=patch_management_database_display_name,
|
192
|
+
drifter_patch_id=test_patch["id"],
|
193
|
+
image_compliance=patch_management_database_image_compliance,
|
194
|
+
image_id=test_image["id"],
|
195
|
+
severity_types=patch_management_database_severity_type,
|
196
|
+
state=patch_management_database_state)
|
197
|
+
```
|
198
|
+
|
199
|
+
|
200
|
+
:param builtins.str compartment_id: The ID of the compartment in which to list resources.
|
201
|
+
:param builtins.str database_release: A filter to return only database that match the given release version.
|
202
|
+
:param builtins.str database_type: Filter by database type. Possible values Single Instance or RAC.
|
203
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
204
|
+
:param builtins.int drifter_patch_id: A filter to return only database that have given patchId as additional patch (drifter from image version).
|
205
|
+
:param builtins.str image_compliance: Filter databases by image compliance status.
|
206
|
+
:param builtins.str image_id: Subscribed image
|
207
|
+
:param Sequence[builtins.str] severity_types: Filter by one or more severity types. Possible values are critical, high, medium, low, info and none.
|
208
|
+
:param builtins.str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
209
|
+
"""
|
210
|
+
__args__ = dict()
|
211
|
+
__args__['compartmentId'] = compartment_id
|
212
|
+
__args__['databaseRelease'] = database_release
|
213
|
+
__args__['databaseType'] = database_type
|
214
|
+
__args__['displayName'] = display_name
|
215
|
+
__args__['drifterPatchId'] = drifter_patch_id
|
216
|
+
__args__['filters'] = filters
|
217
|
+
__args__['imageCompliance'] = image_compliance
|
218
|
+
__args__['imageId'] = image_id
|
219
|
+
__args__['severityTypes'] = severity_types
|
220
|
+
__args__['state'] = state
|
221
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
222
|
+
__ret__ = pulumi.runtime.invoke('oci:Dblm/getPatchManagementDatabases:getPatchManagementDatabases', __args__, opts=opts, typ=GetPatchManagementDatabasesResult).value
|
223
|
+
|
224
|
+
return AwaitableGetPatchManagementDatabasesResult(
|
225
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
226
|
+
database_release=pulumi.get(__ret__, 'database_release'),
|
227
|
+
database_type=pulumi.get(__ret__, 'database_type'),
|
228
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
229
|
+
drifter_patch_id=pulumi.get(__ret__, 'drifter_patch_id'),
|
230
|
+
filters=pulumi.get(__ret__, 'filters'),
|
231
|
+
id=pulumi.get(__ret__, 'id'),
|
232
|
+
image_compliance=pulumi.get(__ret__, 'image_compliance'),
|
233
|
+
image_id=pulumi.get(__ret__, 'image_id'),
|
234
|
+
patch_databases_collections=pulumi.get(__ret__, 'patch_databases_collections'),
|
235
|
+
severity_types=pulumi.get(__ret__, 'severity_types'),
|
236
|
+
state=pulumi.get(__ret__, 'state'))
|
237
|
+
def get_patch_management_databases_output(compartment_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
238
|
+
database_release: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
239
|
+
database_type: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
240
|
+
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
241
|
+
drifter_patch_id: Optional[pulumi.Input[Optional[builtins.int]]] = None,
|
242
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPatchManagementDatabasesFilterArgs', 'GetPatchManagementDatabasesFilterArgsDict']]]]] = None,
|
243
|
+
image_compliance: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
244
|
+
image_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
245
|
+
severity_types: Optional[pulumi.Input[Optional[Sequence[builtins.str]]]] = None,
|
246
|
+
state: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
247
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPatchManagementDatabasesResult]:
|
248
|
+
"""
|
249
|
+
This data source provides the list of Patch Management Databases in Oracle Cloud Infrastructure Dblm service.
|
250
|
+
|
251
|
+
Gets the list of databases
|
252
|
+
|
253
|
+
## Example Usage
|
254
|
+
|
255
|
+
```python
|
256
|
+
import pulumi
|
257
|
+
import pulumi_oci as oci
|
258
|
+
|
259
|
+
test_patch_management_databases = oci.Dblm.get_patch_management_databases(compartment_id=compartment_id,
|
260
|
+
database_release=patch_management_database_database_release,
|
261
|
+
database_type=patch_management_database_database_type,
|
262
|
+
display_name=patch_management_database_display_name,
|
263
|
+
drifter_patch_id=test_patch["id"],
|
264
|
+
image_compliance=patch_management_database_image_compliance,
|
265
|
+
image_id=test_image["id"],
|
266
|
+
severity_types=patch_management_database_severity_type,
|
267
|
+
state=patch_management_database_state)
|
268
|
+
```
|
269
|
+
|
270
|
+
|
271
|
+
:param builtins.str compartment_id: The ID of the compartment in which to list resources.
|
272
|
+
:param builtins.str database_release: A filter to return only database that match the given release version.
|
273
|
+
:param builtins.str database_type: Filter by database type. Possible values Single Instance or RAC.
|
274
|
+
:param builtins.str display_name: A filter to return only resources that match the entire display name given.
|
275
|
+
:param builtins.int drifter_patch_id: A filter to return only database that have given patchId as additional patch (drifter from image version).
|
276
|
+
:param builtins.str image_compliance: Filter databases by image compliance status.
|
277
|
+
:param builtins.str image_id: Subscribed image
|
278
|
+
:param Sequence[builtins.str] severity_types: Filter by one or more severity types. Possible values are critical, high, medium, low, info and none.
|
279
|
+
:param builtins.str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
280
|
+
"""
|
281
|
+
__args__ = dict()
|
282
|
+
__args__['compartmentId'] = compartment_id
|
283
|
+
__args__['databaseRelease'] = database_release
|
284
|
+
__args__['databaseType'] = database_type
|
285
|
+
__args__['displayName'] = display_name
|
286
|
+
__args__['drifterPatchId'] = drifter_patch_id
|
287
|
+
__args__['filters'] = filters
|
288
|
+
__args__['imageCompliance'] = image_compliance
|
289
|
+
__args__['imageId'] = image_id
|
290
|
+
__args__['severityTypes'] = severity_types
|
291
|
+
__args__['state'] = state
|
292
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
293
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Dblm/getPatchManagementDatabases:getPatchManagementDatabases', __args__, opts=opts, typ=GetPatchManagementDatabasesResult)
|
294
|
+
return __ret__.apply(lambda __response__: GetPatchManagementDatabasesResult(
|
295
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
296
|
+
database_release=pulumi.get(__response__, 'database_release'),
|
297
|
+
database_type=pulumi.get(__response__, 'database_type'),
|
298
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
299
|
+
drifter_patch_id=pulumi.get(__response__, 'drifter_patch_id'),
|
300
|
+
filters=pulumi.get(__response__, 'filters'),
|
301
|
+
id=pulumi.get(__response__, 'id'),
|
302
|
+
image_compliance=pulumi.get(__response__, 'image_compliance'),
|
303
|
+
image_id=pulumi.get(__response__, 'image_id'),
|
304
|
+
patch_databases_collections=pulumi.get(__response__, 'patch_databases_collections'),
|
305
|
+
severity_types=pulumi.get(__response__, 'severity_types'),
|
306
|
+
state=pulumi.get(__response__, 'state')))
|