pulumi-oci 2.26.0a1741847591__py3-none-any.whl → 2.27.0a1742000109__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 +67 -0
- pulumi_oci/containerengine/_inputs.py +34 -35
- pulumi_oci/containerengine/cluster.py +2 -0
- pulumi_oci/containerengine/container_instance.py +2 -4
- pulumi_oci/containerengine/outputs.py +110 -21
- pulumi_oci/containerinstances/outputs.py +0 -14
- pulumi_oci/core/_inputs.py +21 -33
- pulumi_oci/core/outputs.py +13 -21
- pulumi_oci/database/__init__.py +1 -0
- pulumi_oci/database/_inputs.py +704 -0
- pulumi_oci/database/application_vip.py +59 -10
- pulumi_oci/database/autonomous_database.py +7 -28
- pulumi_oci/database/backup.py +153 -5
- pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
- pulumi_oci/database/cloud_vm_cluster.py +163 -30
- pulumi_oci/database/db_node.py +64 -8
- pulumi_oci/database/exadata_infrastructure.py +157 -3
- pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
- pulumi_oci/database/exadb_vm_cluster.py +84 -7
- pulumi_oci/database/exascale_db_storage_vault.py +147 -0
- pulumi_oci/database/external_container_database.py +4 -4
- pulumi_oci/database/external_non_container_database.py +4 -4
- pulumi_oci/database/external_pluggable_database.py +4 -4
- pulumi_oci/database/get_application_vip.py +16 -2
- pulumi_oci/database/get_autonomous_database.py +0 -3
- pulumi_oci/database/get_backups.py +136 -10
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
- pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
- pulumi_oci/database/get_database_software_images.py +20 -1
- pulumi_oci/database/get_db_node.py +31 -4
- pulumi_oci/database/get_db_server.py +15 -1
- pulumi_oci/database/get_exadata_infrastructure.py +57 -1
- pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
- pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
- pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
- pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
- pulumi_oci/database/get_external_container_database.py +1 -1
- pulumi_oci/database/get_external_non_container_database.py +1 -1
- pulumi_oci/database/get_external_pluggable_database.py +1 -1
- pulumi_oci/database/get_flex_components.py +28 -6
- pulumi_oci/database/get_vm_cluster.py +60 -4
- pulumi_oci/database/get_vm_clusters.py +25 -3
- pulumi_oci/database/outputs.py +1084 -42
- pulumi_oci/database/pluggable_database.py +13 -13
- pulumi_oci/database/vm_cluster.py +172 -18
- pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
- pulumi_oci/datasafe/__init__.py +7 -0
- pulumi_oci/datasafe/_inputs.py +301 -0
- pulumi_oci/datasafe/discovery_mod.py +49 -0
- pulumi_oci/datasafe/get_discovery_job.py +15 -1
- pulumi_oci/datasafe/get_masking_report.py +46 -4
- pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
- pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
- pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
- pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
- pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
- pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
- pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
- pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
- pulumi_oci/datasafe/outputs.py +676 -3
- pulumi_oci/datasafe/sensitive_data_model.py +49 -0
- pulumi_oci/datasafe/sensitive_type_group.py +563 -0
- pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
- pulumi_oci/datascience/__init__.py +4 -0
- pulumi_oci/datascience/_inputs.py +1160 -41
- pulumi_oci/datascience/get_model.py +29 -1
- pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
- pulumi_oci/datascience/get_model_version_set.py +15 -1
- pulumi_oci/datascience/get_model_version_sets.py +25 -3
- pulumi_oci/datascience/get_models.py +25 -3
- pulumi_oci/datascience/get_pipeline.py +15 -1
- pulumi_oci/datascience/model.py +64 -0
- pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
- pulumi_oci/datascience/model_version_set.py +28 -0
- pulumi_oci/datascience/outputs.py +4343 -2164
- pulumi_oci/datascience/pipeline.py +48 -141
- pulumi_oci/datascience/pipeline_run.py +32 -0
- pulumi_oci/dblm/__init__.py +17 -0
- pulumi_oci/dblm/_inputs.py +275 -0
- pulumi_oci/dblm/get_vulnerability.py +242 -0
- pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
- pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
- pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
- pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
- pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
- pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
- pulumi_oci/dblm/outputs.py +1294 -0
- pulumi_oci/dblm/vulnerability_scan.py +521 -0
- pulumi_oci/email/dkim.py +120 -20
- pulumi_oci/email/get_dkim.py +40 -1
- pulumi_oci/email/outputs.py +29 -0
- pulumi_oci/filestorage/__init__.py +3 -0
- pulumi_oci/filestorage/_inputs.py +49 -0
- pulumi_oci/filestorage/file_system.py +105 -0
- pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
- pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
- pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
- pulumi_oci/filestorage/outputs.py +186 -0
- pulumi_oci/mysql/_inputs.py +1239 -10
- pulumi_oci/mysql/channel.py +28 -0
- pulumi_oci/mysql/get_channel.py +15 -1
- pulumi_oci/mysql/get_mysql_backup.py +15 -1
- pulumi_oci/mysql/get_mysql_configuration.py +15 -1
- pulumi_oci/mysql/get_mysql_db_system.py +15 -1
- pulumi_oci/mysql/mysql_backup.py +28 -0
- pulumi_oci/mysql/mysql_configuration.py +106 -0
- pulumi_oci/mysql/mysql_db_system.py +36 -0
- pulumi_oci/mysql/outputs.py +2008 -35
- pulumi_oci/opensearch/__init__.py +3 -0
- pulumi_oci/opensearch/_inputs.py +101 -0
- pulumi_oci/opensearch/cluster.py +76 -29
- pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
- pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
- pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
- pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
- pulumi_oci/opensearch/outputs.py +425 -0
- pulumi_oci/psql/_inputs.py +258 -0
- pulumi_oci/psql/backup.py +129 -28
- pulumi_oci/psql/db_system.py +10 -0
- pulumi_oci/psql/get_backup.py +47 -2
- pulumi_oci/psql/get_backups.py +3 -0
- pulumi_oci/psql/get_configurations.py +23 -1
- pulumi_oci/psql/get_db_system.py +1 -1
- pulumi_oci/psql/get_db_systems.py +1 -1
- pulumi_oci/psql/outputs.py +541 -5
- pulumi_oci/pulumi-plugin.json +1 -1
- pulumi_oci/redis/redis_cluster.py +7 -7
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/METADATA +1 -1
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/RECORD +135 -106
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/WHEEL +0 -0
- {pulumi_oci-2.26.0a1741847591.dist-info → pulumi_oci-2.27.0a1742000109.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,242 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
|
18
|
+
__all__ = [
|
19
|
+
'GetVulnerabilityResult',
|
20
|
+
'AwaitableGetVulnerabilityResult',
|
21
|
+
'get_vulnerability',
|
22
|
+
'get_vulnerability_output',
|
23
|
+
]
|
24
|
+
|
25
|
+
@pulumi.output_type
|
26
|
+
class GetVulnerabilityResult:
|
27
|
+
"""
|
28
|
+
A collection of values returned by getVulnerability.
|
29
|
+
"""
|
30
|
+
def __init__(__self__, compartment_id=None, database_release=None, freeform_tags=None, id=None, message=None, patch_recommendations_summaries=None, resources=None, resources_summaries=None, state=None, system_tags=None, time_enabled=None, vulnerabilities_summaries=None):
|
31
|
+
if compartment_id and not isinstance(compartment_id, str):
|
32
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
33
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
34
|
+
if database_release and not isinstance(database_release, str):
|
35
|
+
raise TypeError("Expected argument 'database_release' to be a str")
|
36
|
+
pulumi.set(__self__, "database_release", database_release)
|
37
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
38
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
39
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
40
|
+
if id and not isinstance(id, str):
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
42
|
+
pulumi.set(__self__, "id", id)
|
43
|
+
if message and not isinstance(message, str):
|
44
|
+
raise TypeError("Expected argument 'message' to be a str")
|
45
|
+
pulumi.set(__self__, "message", message)
|
46
|
+
if patch_recommendations_summaries and not isinstance(patch_recommendations_summaries, list):
|
47
|
+
raise TypeError("Expected argument 'patch_recommendations_summaries' to be a list")
|
48
|
+
pulumi.set(__self__, "patch_recommendations_summaries", patch_recommendations_summaries)
|
49
|
+
if resources and not isinstance(resources, list):
|
50
|
+
raise TypeError("Expected argument 'resources' to be a list")
|
51
|
+
pulumi.set(__self__, "resources", resources)
|
52
|
+
if resources_summaries and not isinstance(resources_summaries, list):
|
53
|
+
raise TypeError("Expected argument 'resources_summaries' to be a list")
|
54
|
+
pulumi.set(__self__, "resources_summaries", resources_summaries)
|
55
|
+
if state and not isinstance(state, str):
|
56
|
+
raise TypeError("Expected argument 'state' to be a str")
|
57
|
+
pulumi.set(__self__, "state", state)
|
58
|
+
if system_tags and not isinstance(system_tags, dict):
|
59
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
60
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
61
|
+
if time_enabled and not isinstance(time_enabled, str):
|
62
|
+
raise TypeError("Expected argument 'time_enabled' to be a str")
|
63
|
+
pulumi.set(__self__, "time_enabled", time_enabled)
|
64
|
+
if vulnerabilities_summaries and not isinstance(vulnerabilities_summaries, list):
|
65
|
+
raise TypeError("Expected argument 'vulnerabilities_summaries' to be a list")
|
66
|
+
pulumi.set(__self__, "vulnerabilities_summaries", vulnerabilities_summaries)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter(name="compartmentId")
|
70
|
+
def compartment_id(self) -> str:
|
71
|
+
"""
|
72
|
+
Compartment Identifier.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "compartment_id")
|
75
|
+
|
76
|
+
@property
|
77
|
+
@pulumi.getter(name="databaseRelease")
|
78
|
+
def database_release(self) -> Optional[str]:
|
79
|
+
return pulumi.get(self, "database_release")
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="freeformTags")
|
83
|
+
def freeform_tags(self) -> Mapping[str, str]:
|
84
|
+
"""
|
85
|
+
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "freeform_tags")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def id(self) -> str:
|
92
|
+
"""
|
93
|
+
The provider-assigned unique ID for this managed resource.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "id")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter
|
99
|
+
def message(self) -> str:
|
100
|
+
"""
|
101
|
+
A message describing the status of the feature's state.
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "message")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="patchRecommendationsSummaries")
|
107
|
+
def patch_recommendations_summaries(self) -> Sequence['outputs.GetVulnerabilityPatchRecommendationsSummaryResult']:
|
108
|
+
"""
|
109
|
+
Summary of the patch recommendations for databases.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "patch_recommendations_summaries")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter
|
115
|
+
def resources(self) -> Sequence['outputs.GetVulnerabilityResourceResult']:
|
116
|
+
"""
|
117
|
+
Resources objects.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "resources")
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter(name="resourcesSummaries")
|
123
|
+
def resources_summaries(self) -> Sequence['outputs.GetVulnerabilityResourcesSummaryResult']:
|
124
|
+
"""
|
125
|
+
Summary of dblm registered and unregistered resources.
|
126
|
+
"""
|
127
|
+
return pulumi.get(self, "resources_summaries")
|
128
|
+
|
129
|
+
@property
|
130
|
+
@pulumi.getter
|
131
|
+
def state(self) -> str:
|
132
|
+
"""
|
133
|
+
The current state of the feature.
|
134
|
+
"""
|
135
|
+
return pulumi.get(self, "state")
|
136
|
+
|
137
|
+
@property
|
138
|
+
@pulumi.getter(name="systemTags")
|
139
|
+
def system_tags(self) -> Mapping[str, str]:
|
140
|
+
"""
|
141
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
142
|
+
"""
|
143
|
+
return pulumi.get(self, "system_tags")
|
144
|
+
|
145
|
+
@property
|
146
|
+
@pulumi.getter(name="timeEnabled")
|
147
|
+
def time_enabled(self) -> str:
|
148
|
+
"""
|
149
|
+
The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "time_enabled")
|
152
|
+
|
153
|
+
@property
|
154
|
+
@pulumi.getter(name="vulnerabilitiesSummaries")
|
155
|
+
def vulnerabilities_summaries(self) -> Sequence['outputs.GetVulnerabilityVulnerabilitiesSummaryResult']:
|
156
|
+
"""
|
157
|
+
Summary of vulnerabilities found in registered resources grouped by severity.
|
158
|
+
"""
|
159
|
+
return pulumi.get(self, "vulnerabilities_summaries")
|
160
|
+
|
161
|
+
|
162
|
+
class AwaitableGetVulnerabilityResult(GetVulnerabilityResult):
|
163
|
+
# pylint: disable=using-constant-test
|
164
|
+
def __await__(self):
|
165
|
+
if False:
|
166
|
+
yield self
|
167
|
+
return GetVulnerabilityResult(
|
168
|
+
compartment_id=self.compartment_id,
|
169
|
+
database_release=self.database_release,
|
170
|
+
freeform_tags=self.freeform_tags,
|
171
|
+
id=self.id,
|
172
|
+
message=self.message,
|
173
|
+
patch_recommendations_summaries=self.patch_recommendations_summaries,
|
174
|
+
resources=self.resources,
|
175
|
+
resources_summaries=self.resources_summaries,
|
176
|
+
state=self.state,
|
177
|
+
system_tags=self.system_tags,
|
178
|
+
time_enabled=self.time_enabled,
|
179
|
+
vulnerabilities_summaries=self.vulnerabilities_summaries)
|
180
|
+
|
181
|
+
|
182
|
+
def get_vulnerability(compartment_id: Optional[str] = None,
|
183
|
+
database_release: Optional[str] = None,
|
184
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVulnerabilityResult:
|
185
|
+
"""
|
186
|
+
This data source provides details about a specific Vulnerability resource in Oracle Cloud Infrastructure Dblm service.
|
187
|
+
|
188
|
+
Gets a Vulnerability
|
189
|
+
|
190
|
+
|
191
|
+
:param str compartment_id: The required ID of the compartment in which to list resources.
|
192
|
+
:param str database_release: A filter to return only database that match the given release version.
|
193
|
+
"""
|
194
|
+
__args__ = dict()
|
195
|
+
__args__['compartmentId'] = compartment_id
|
196
|
+
__args__['databaseRelease'] = database_release
|
197
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
198
|
+
__ret__ = pulumi.runtime.invoke('oci:Dblm/getVulnerability:getVulnerability', __args__, opts=opts, typ=GetVulnerabilityResult).value
|
199
|
+
|
200
|
+
return AwaitableGetVulnerabilityResult(
|
201
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
202
|
+
database_release=pulumi.get(__ret__, 'database_release'),
|
203
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
204
|
+
id=pulumi.get(__ret__, 'id'),
|
205
|
+
message=pulumi.get(__ret__, 'message'),
|
206
|
+
patch_recommendations_summaries=pulumi.get(__ret__, 'patch_recommendations_summaries'),
|
207
|
+
resources=pulumi.get(__ret__, 'resources'),
|
208
|
+
resources_summaries=pulumi.get(__ret__, 'resources_summaries'),
|
209
|
+
state=pulumi.get(__ret__, 'state'),
|
210
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
211
|
+
time_enabled=pulumi.get(__ret__, 'time_enabled'),
|
212
|
+
vulnerabilities_summaries=pulumi.get(__ret__, 'vulnerabilities_summaries'))
|
213
|
+
def get_vulnerability_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
214
|
+
database_release: Optional[pulumi.Input[Optional[str]]] = None,
|
215
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVulnerabilityResult]:
|
216
|
+
"""
|
217
|
+
This data source provides details about a specific Vulnerability resource in Oracle Cloud Infrastructure Dblm service.
|
218
|
+
|
219
|
+
Gets a Vulnerability
|
220
|
+
|
221
|
+
|
222
|
+
:param str compartment_id: The required ID of the compartment in which to list resources.
|
223
|
+
:param str database_release: A filter to return only database that match the given release version.
|
224
|
+
"""
|
225
|
+
__args__ = dict()
|
226
|
+
__args__['compartmentId'] = compartment_id
|
227
|
+
__args__['databaseRelease'] = database_release
|
228
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
229
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Dblm/getVulnerability:getVulnerability', __args__, opts=opts, typ=GetVulnerabilityResult)
|
230
|
+
return __ret__.apply(lambda __response__: GetVulnerabilityResult(
|
231
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
232
|
+
database_release=pulumi.get(__response__, 'database_release'),
|
233
|
+
freeform_tags=pulumi.get(__response__, 'freeform_tags'),
|
234
|
+
id=pulumi.get(__response__, 'id'),
|
235
|
+
message=pulumi.get(__response__, 'message'),
|
236
|
+
patch_recommendations_summaries=pulumi.get(__response__, 'patch_recommendations_summaries'),
|
237
|
+
resources=pulumi.get(__response__, 'resources'),
|
238
|
+
resources_summaries=pulumi.get(__response__, 'resources_summaries'),
|
239
|
+
state=pulumi.get(__response__, 'state'),
|
240
|
+
system_tags=pulumi.get(__response__, 'system_tags'),
|
241
|
+
time_enabled=pulumi.get(__response__, 'time_enabled'),
|
242
|
+
vulnerabilities_summaries=pulumi.get(__response__, 'vulnerabilities_summaries')))
|
@@ -0,0 +1,220 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetVulnerabilityAggregatedVulnerabilityDataResult',
|
21
|
+
'AwaitableGetVulnerabilityAggregatedVulnerabilityDataResult',
|
22
|
+
'get_vulnerability_aggregated_vulnerability_data',
|
23
|
+
'get_vulnerability_aggregated_vulnerability_data_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetVulnerabilityAggregatedVulnerabilityDataResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getVulnerabilityAggregatedVulnerabilityData.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, aggregated_vulnerability_collections=None, compartment_id=None, database_release=None, filters=None, id=None, state=None, time_created_greater_than=None, time_ended_less_than=None):
|
32
|
+
if aggregated_vulnerability_collections and not isinstance(aggregated_vulnerability_collections, list):
|
33
|
+
raise TypeError("Expected argument 'aggregated_vulnerability_collections' to be a list")
|
34
|
+
pulumi.set(__self__, "aggregated_vulnerability_collections", aggregated_vulnerability_collections)
|
35
|
+
if compartment_id and not isinstance(compartment_id, str):
|
36
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
37
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
38
|
+
if database_release and not isinstance(database_release, str):
|
39
|
+
raise TypeError("Expected argument 'database_release' to be a str")
|
40
|
+
pulumi.set(__self__, "database_release", database_release)
|
41
|
+
if filters and not isinstance(filters, list):
|
42
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
43
|
+
pulumi.set(__self__, "filters", filters)
|
44
|
+
if id and not isinstance(id, str):
|
45
|
+
raise TypeError("Expected argument 'id' to be a str")
|
46
|
+
pulumi.set(__self__, "id", id)
|
47
|
+
if state and not isinstance(state, str):
|
48
|
+
raise TypeError("Expected argument 'state' to be a str")
|
49
|
+
pulumi.set(__self__, "state", state)
|
50
|
+
if time_created_greater_than and not isinstance(time_created_greater_than, str):
|
51
|
+
raise TypeError("Expected argument 'time_created_greater_than' to be a str")
|
52
|
+
pulumi.set(__self__, "time_created_greater_than", time_created_greater_than)
|
53
|
+
if time_ended_less_than and not isinstance(time_ended_less_than, str):
|
54
|
+
raise TypeError("Expected argument 'time_ended_less_than' to be a str")
|
55
|
+
pulumi.set(__self__, "time_ended_less_than", time_ended_less_than)
|
56
|
+
|
57
|
+
@property
|
58
|
+
@pulumi.getter(name="aggregatedVulnerabilityCollections")
|
59
|
+
def aggregated_vulnerability_collections(self) -> Sequence['outputs.GetVulnerabilityAggregatedVulnerabilityDataAggregatedVulnerabilityCollectionResult']:
|
60
|
+
"""
|
61
|
+
The list of aggregated_vulnerability_collection.
|
62
|
+
"""
|
63
|
+
return pulumi.get(self, "aggregated_vulnerability_collections")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="compartmentId")
|
67
|
+
def compartment_id(self) -> str:
|
68
|
+
return pulumi.get(self, "compartment_id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="databaseRelease")
|
72
|
+
def database_release(self) -> Optional[str]:
|
73
|
+
return pulumi.get(self, "database_release")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter
|
77
|
+
def filters(self) -> Optional[Sequence['outputs.GetVulnerabilityAggregatedVulnerabilityDataFilterResult']]:
|
78
|
+
return pulumi.get(self, "filters")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def id(self) -> str:
|
83
|
+
"""
|
84
|
+
The provider-assigned unique ID for this managed resource.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "id")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def state(self) -> Optional[str]:
|
91
|
+
return pulumi.get(self, "state")
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="timeCreatedGreaterThan")
|
95
|
+
def time_created_greater_than(self) -> Optional[str]:
|
96
|
+
return pulumi.get(self, "time_created_greater_than")
|
97
|
+
|
98
|
+
@property
|
99
|
+
@pulumi.getter(name="timeEndedLessThan")
|
100
|
+
def time_ended_less_than(self) -> Optional[str]:
|
101
|
+
return pulumi.get(self, "time_ended_less_than")
|
102
|
+
|
103
|
+
|
104
|
+
class AwaitableGetVulnerabilityAggregatedVulnerabilityDataResult(GetVulnerabilityAggregatedVulnerabilityDataResult):
|
105
|
+
# pylint: disable=using-constant-test
|
106
|
+
def __await__(self):
|
107
|
+
if False:
|
108
|
+
yield self
|
109
|
+
return GetVulnerabilityAggregatedVulnerabilityDataResult(
|
110
|
+
aggregated_vulnerability_collections=self.aggregated_vulnerability_collections,
|
111
|
+
compartment_id=self.compartment_id,
|
112
|
+
database_release=self.database_release,
|
113
|
+
filters=self.filters,
|
114
|
+
id=self.id,
|
115
|
+
state=self.state,
|
116
|
+
time_created_greater_than=self.time_created_greater_than,
|
117
|
+
time_ended_less_than=self.time_ended_less_than)
|
118
|
+
|
119
|
+
|
120
|
+
def get_vulnerability_aggregated_vulnerability_data(compartment_id: Optional[str] = None,
|
121
|
+
database_release: Optional[str] = None,
|
122
|
+
filters: Optional[Sequence[Union['GetVulnerabilityAggregatedVulnerabilityDataFilterArgs', 'GetVulnerabilityAggregatedVulnerabilityDataFilterArgsDict']]] = None,
|
123
|
+
state: Optional[str] = None,
|
124
|
+
time_created_greater_than: Optional[str] = None,
|
125
|
+
time_ended_less_than: Optional[str] = None,
|
126
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVulnerabilityAggregatedVulnerabilityDataResult:
|
127
|
+
"""
|
128
|
+
This data source provides the list of Vulnerability Aggregated Vulnerability Data in Oracle Cloud Infrastructure Dblm service.
|
129
|
+
|
130
|
+
Gets an AggregatedVulnerabilityData
|
131
|
+
|
132
|
+
## Example Usage
|
133
|
+
|
134
|
+
```python
|
135
|
+
import pulumi
|
136
|
+
import pulumi_oci as oci
|
137
|
+
|
138
|
+
test_vulnerability_aggregated_vulnerability_data = oci.Dblm.get_vulnerability_aggregated_vulnerability_data(compartment_id=compartment_id,
|
139
|
+
database_release=vulnerability_aggregated_vulnerability_data_database_release,
|
140
|
+
state=vulnerability_aggregated_vulnerability_data_state,
|
141
|
+
time_created_greater_than=vulnerability_aggregated_vulnerability_data_time_created_greater_than,
|
142
|
+
time_ended_less_than=vulnerability_aggregated_vulnerability_data_time_ended_less_than)
|
143
|
+
```
|
144
|
+
|
145
|
+
|
146
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
147
|
+
:param str database_release: A filter to return only database that match the given release version.
|
148
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
149
|
+
:param str time_created_greater_than: The created greater than.
|
150
|
+
:param str time_ended_less_than: The time ended less than.
|
151
|
+
"""
|
152
|
+
__args__ = dict()
|
153
|
+
__args__['compartmentId'] = compartment_id
|
154
|
+
__args__['databaseRelease'] = database_release
|
155
|
+
__args__['filters'] = filters
|
156
|
+
__args__['state'] = state
|
157
|
+
__args__['timeCreatedGreaterThan'] = time_created_greater_than
|
158
|
+
__args__['timeEndedLessThan'] = time_ended_less_than
|
159
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
160
|
+
__ret__ = pulumi.runtime.invoke('oci:Dblm/getVulnerabilityAggregatedVulnerabilityData:getVulnerabilityAggregatedVulnerabilityData', __args__, opts=opts, typ=GetVulnerabilityAggregatedVulnerabilityDataResult).value
|
161
|
+
|
162
|
+
return AwaitableGetVulnerabilityAggregatedVulnerabilityDataResult(
|
163
|
+
aggregated_vulnerability_collections=pulumi.get(__ret__, 'aggregated_vulnerability_collections'),
|
164
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
165
|
+
database_release=pulumi.get(__ret__, 'database_release'),
|
166
|
+
filters=pulumi.get(__ret__, 'filters'),
|
167
|
+
id=pulumi.get(__ret__, 'id'),
|
168
|
+
state=pulumi.get(__ret__, 'state'),
|
169
|
+
time_created_greater_than=pulumi.get(__ret__, 'time_created_greater_than'),
|
170
|
+
time_ended_less_than=pulumi.get(__ret__, 'time_ended_less_than'))
|
171
|
+
def get_vulnerability_aggregated_vulnerability_data_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
172
|
+
database_release: Optional[pulumi.Input[Optional[str]]] = None,
|
173
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetVulnerabilityAggregatedVulnerabilityDataFilterArgs', 'GetVulnerabilityAggregatedVulnerabilityDataFilterArgsDict']]]]] = None,
|
174
|
+
state: Optional[pulumi.Input[Optional[str]]] = None,
|
175
|
+
time_created_greater_than: Optional[pulumi.Input[Optional[str]]] = None,
|
176
|
+
time_ended_less_than: Optional[pulumi.Input[Optional[str]]] = None,
|
177
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVulnerabilityAggregatedVulnerabilityDataResult]:
|
178
|
+
"""
|
179
|
+
This data source provides the list of Vulnerability Aggregated Vulnerability Data in Oracle Cloud Infrastructure Dblm service.
|
180
|
+
|
181
|
+
Gets an AggregatedVulnerabilityData
|
182
|
+
|
183
|
+
## Example Usage
|
184
|
+
|
185
|
+
```python
|
186
|
+
import pulumi
|
187
|
+
import pulumi_oci as oci
|
188
|
+
|
189
|
+
test_vulnerability_aggregated_vulnerability_data = oci.Dblm.get_vulnerability_aggregated_vulnerability_data(compartment_id=compartment_id,
|
190
|
+
database_release=vulnerability_aggregated_vulnerability_data_database_release,
|
191
|
+
state=vulnerability_aggregated_vulnerability_data_state,
|
192
|
+
time_created_greater_than=vulnerability_aggregated_vulnerability_data_time_created_greater_than,
|
193
|
+
time_ended_less_than=vulnerability_aggregated_vulnerability_data_time_ended_less_than)
|
194
|
+
```
|
195
|
+
|
196
|
+
|
197
|
+
:param str compartment_id: The ID of the compartment in which to list resources.
|
198
|
+
:param str database_release: A filter to return only database that match the given release version.
|
199
|
+
:param str state: A filter to return only resources their lifecycleState matches the given lifecycleState.
|
200
|
+
:param str time_created_greater_than: The created greater than.
|
201
|
+
:param str time_ended_less_than: The time ended less than.
|
202
|
+
"""
|
203
|
+
__args__ = dict()
|
204
|
+
__args__['compartmentId'] = compartment_id
|
205
|
+
__args__['databaseRelease'] = database_release
|
206
|
+
__args__['filters'] = filters
|
207
|
+
__args__['state'] = state
|
208
|
+
__args__['timeCreatedGreaterThan'] = time_created_greater_than
|
209
|
+
__args__['timeEndedLessThan'] = time_ended_less_than
|
210
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
211
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Dblm/getVulnerabilityAggregatedVulnerabilityData:getVulnerabilityAggregatedVulnerabilityData', __args__, opts=opts, typ=GetVulnerabilityAggregatedVulnerabilityDataResult)
|
212
|
+
return __ret__.apply(lambda __response__: GetVulnerabilityAggregatedVulnerabilityDataResult(
|
213
|
+
aggregated_vulnerability_collections=pulumi.get(__response__, 'aggregated_vulnerability_collections'),
|
214
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
215
|
+
database_release=pulumi.get(__response__, 'database_release'),
|
216
|
+
filters=pulumi.get(__response__, 'filters'),
|
217
|
+
id=pulumi.get(__response__, 'id'),
|
218
|
+
state=pulumi.get(__response__, 'state'),
|
219
|
+
time_created_greater_than=pulumi.get(__response__, 'time_created_greater_than'),
|
220
|
+
time_ended_less_than=pulumi.get(__response__, 'time_ended_less_than')))
|
@@ -0,0 +1,144 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetVulnerabilityNotificationsResult',
|
21
|
+
'AwaitableGetVulnerabilityNotificationsResult',
|
22
|
+
'get_vulnerability_notifications',
|
23
|
+
'get_vulnerability_notifications_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetVulnerabilityNotificationsResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getVulnerabilityNotifications.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, notification_collections=None):
|
32
|
+
if compartment_id and not isinstance(compartment_id, str):
|
33
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
34
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
35
|
+
if filters and not isinstance(filters, list):
|
36
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
37
|
+
pulumi.set(__self__, "filters", filters)
|
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 notification_collections and not isinstance(notification_collections, list):
|
42
|
+
raise TypeError("Expected argument 'notification_collections' to be a list")
|
43
|
+
pulumi.set(__self__, "notification_collections", notification_collections)
|
44
|
+
|
45
|
+
@property
|
46
|
+
@pulumi.getter(name="compartmentId")
|
47
|
+
def compartment_id(self) -> str:
|
48
|
+
return pulumi.get(self, "compartment_id")
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter
|
52
|
+
def filters(self) -> Optional[Sequence['outputs.GetVulnerabilityNotificationsFilterResult']]:
|
53
|
+
return pulumi.get(self, "filters")
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter
|
57
|
+
def id(self) -> str:
|
58
|
+
"""
|
59
|
+
The provider-assigned unique ID for this managed resource.
|
60
|
+
"""
|
61
|
+
return pulumi.get(self, "id")
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="notificationCollections")
|
65
|
+
def notification_collections(self) -> Sequence['outputs.GetVulnerabilityNotificationsNotificationCollectionResult']:
|
66
|
+
"""
|
67
|
+
The list of notification_collection.
|
68
|
+
"""
|
69
|
+
return pulumi.get(self, "notification_collections")
|
70
|
+
|
71
|
+
|
72
|
+
class AwaitableGetVulnerabilityNotificationsResult(GetVulnerabilityNotificationsResult):
|
73
|
+
# pylint: disable=using-constant-test
|
74
|
+
def __await__(self):
|
75
|
+
if False:
|
76
|
+
yield self
|
77
|
+
return GetVulnerabilityNotificationsResult(
|
78
|
+
compartment_id=self.compartment_id,
|
79
|
+
filters=self.filters,
|
80
|
+
id=self.id,
|
81
|
+
notification_collections=self.notification_collections)
|
82
|
+
|
83
|
+
|
84
|
+
def get_vulnerability_notifications(compartment_id: Optional[str] = None,
|
85
|
+
filters: Optional[Sequence[Union['GetVulnerabilityNotificationsFilterArgs', 'GetVulnerabilityNotificationsFilterArgsDict']]] = None,
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVulnerabilityNotificationsResult:
|
87
|
+
"""
|
88
|
+
This data source provides the list of Vulnerability Notifications in Oracle Cloud Infrastructure Dblm service.
|
89
|
+
|
90
|
+
List of notifications
|
91
|
+
|
92
|
+
## Example Usage
|
93
|
+
|
94
|
+
```python
|
95
|
+
import pulumi
|
96
|
+
import pulumi_oci as oci
|
97
|
+
|
98
|
+
test_vulnerability_notifications = oci.Dblm.get_vulnerability_notifications(compartment_id=compartment_id)
|
99
|
+
```
|
100
|
+
|
101
|
+
|
102
|
+
:param str compartment_id: The required ID of the compartment in which to list resources.
|
103
|
+
"""
|
104
|
+
__args__ = dict()
|
105
|
+
__args__['compartmentId'] = compartment_id
|
106
|
+
__args__['filters'] = filters
|
107
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
108
|
+
__ret__ = pulumi.runtime.invoke('oci:Dblm/getVulnerabilityNotifications:getVulnerabilityNotifications', __args__, opts=opts, typ=GetVulnerabilityNotificationsResult).value
|
109
|
+
|
110
|
+
return AwaitableGetVulnerabilityNotificationsResult(
|
111
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
112
|
+
filters=pulumi.get(__ret__, 'filters'),
|
113
|
+
id=pulumi.get(__ret__, 'id'),
|
114
|
+
notification_collections=pulumi.get(__ret__, 'notification_collections'))
|
115
|
+
def get_vulnerability_notifications_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
116
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetVulnerabilityNotificationsFilterArgs', 'GetVulnerabilityNotificationsFilterArgsDict']]]]] = None,
|
117
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVulnerabilityNotificationsResult]:
|
118
|
+
"""
|
119
|
+
This data source provides the list of Vulnerability Notifications in Oracle Cloud Infrastructure Dblm service.
|
120
|
+
|
121
|
+
List of notifications
|
122
|
+
|
123
|
+
## Example Usage
|
124
|
+
|
125
|
+
```python
|
126
|
+
import pulumi
|
127
|
+
import pulumi_oci as oci
|
128
|
+
|
129
|
+
test_vulnerability_notifications = oci.Dblm.get_vulnerability_notifications(compartment_id=compartment_id)
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str compartment_id: The required ID of the compartment in which to list resources.
|
134
|
+
"""
|
135
|
+
__args__ = dict()
|
136
|
+
__args__['compartmentId'] = compartment_id
|
137
|
+
__args__['filters'] = filters
|
138
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
139
|
+
__ret__ = pulumi.runtime.invoke_output('oci:Dblm/getVulnerabilityNotifications:getVulnerabilityNotifications', __args__, opts=opts, typ=GetVulnerabilityNotificationsResult)
|
140
|
+
return __ret__.apply(lambda __response__: GetVulnerabilityNotificationsResult(
|
141
|
+
compartment_id=pulumi.get(__response__, 'compartment_id'),
|
142
|
+
filters=pulumi.get(__response__, 'filters'),
|
143
|
+
id=pulumi.get(__response__, 'id'),
|
144
|
+
notification_collections=pulumi.get(__response__, 'notification_collections')))
|