pulumi-oci 2.26.0a1741415311__py3-none-any.whl → 2.26.0a1741943394__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 (135) hide show
  1. pulumi_oci/__init__.py +67 -0
  2. pulumi_oci/containerengine/_inputs.py +34 -35
  3. pulumi_oci/containerengine/cluster.py +2 -0
  4. pulumi_oci/containerengine/container_instance.py +2 -4
  5. pulumi_oci/containerengine/outputs.py +110 -21
  6. pulumi_oci/containerinstances/outputs.py +0 -14
  7. pulumi_oci/core/_inputs.py +21 -33
  8. pulumi_oci/core/outputs.py +13 -21
  9. pulumi_oci/database/__init__.py +1 -0
  10. pulumi_oci/database/_inputs.py +704 -0
  11. pulumi_oci/database/application_vip.py +59 -10
  12. pulumi_oci/database/autonomous_database.py +7 -28
  13. pulumi_oci/database/backup.py +153 -5
  14. pulumi_oci/database/cloud_exadata_infrastructure.py +126 -0
  15. pulumi_oci/database/cloud_vm_cluster.py +163 -30
  16. pulumi_oci/database/db_node.py +64 -8
  17. pulumi_oci/database/exadata_infrastructure.py +157 -3
  18. pulumi_oci/database/exadata_infrastructure_configure_exascale_management.py +1615 -0
  19. pulumi_oci/database/exadb_vm_cluster.py +84 -7
  20. pulumi_oci/database/exascale_db_storage_vault.py +147 -0
  21. pulumi_oci/database/external_container_database.py +4 -4
  22. pulumi_oci/database/external_non_container_database.py +4 -4
  23. pulumi_oci/database/external_pluggable_database.py +4 -4
  24. pulumi_oci/database/get_application_vip.py +16 -2
  25. pulumi_oci/database/get_autonomous_database.py +0 -3
  26. pulumi_oci/database/get_backups.py +136 -10
  27. pulumi_oci/database/get_cloud_exadata_infrastructure.py +43 -1
  28. pulumi_oci/database/get_cloud_vm_cluster.py +59 -3
  29. pulumi_oci/database/get_cloud_vm_clusters.py +28 -6
  30. pulumi_oci/database/get_database_software_images.py +20 -1
  31. pulumi_oci/database/get_db_node.py +31 -4
  32. pulumi_oci/database/get_db_server.py +15 -1
  33. pulumi_oci/database/get_exadata_infrastructure.py +57 -1
  34. pulumi_oci/database/get_exadb_vm_cluster.py +29 -1
  35. pulumi_oci/database/get_exadb_vm_clusters.py +25 -3
  36. pulumi_oci/database/get_exascale_db_storage_vault.py +43 -1
  37. pulumi_oci/database/get_exascale_db_storage_vaults.py +47 -3
  38. pulumi_oci/database/get_external_container_database.py +1 -1
  39. pulumi_oci/database/get_external_non_container_database.py +1 -1
  40. pulumi_oci/database/get_external_pluggable_database.py +1 -1
  41. pulumi_oci/database/get_flex_components.py +28 -6
  42. pulumi_oci/database/get_vm_cluster.py +60 -4
  43. pulumi_oci/database/get_vm_clusters.py +25 -3
  44. pulumi_oci/database/outputs.py +1084 -42
  45. pulumi_oci/database/pluggable_database.py +13 -13
  46. pulumi_oci/database/vm_cluster.py +172 -18
  47. pulumi_oci/database/vm_cluster_add_virtual_network.py +114 -2
  48. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +114 -2
  49. pulumi_oci/datasafe/__init__.py +7 -0
  50. pulumi_oci/datasafe/_inputs.py +301 -0
  51. pulumi_oci/datasafe/discovery_mod.py +49 -0
  52. pulumi_oci/datasafe/get_discovery_job.py +15 -1
  53. pulumi_oci/datasafe/get_masking_report.py +46 -4
  54. pulumi_oci/datasafe/get_masking_report_masking_errors.py +166 -0
  55. pulumi_oci/datasafe/get_security_assessment_finding.py +31 -1
  56. pulumi_oci/datasafe/get_security_assessment_findings.py +43 -3
  57. pulumi_oci/datasafe/get_sensitive_column_analytics.py +370 -0
  58. pulumi_oci/datasafe/get_sensitive_data_model.py +15 -1
  59. pulumi_oci/datasafe/get_sensitive_type_group.py +253 -0
  60. pulumi_oci/datasafe/get_sensitive_type_group_grouped_sensitive_types.py +166 -0
  61. pulumi_oci/datasafe/get_sensitive_type_groups.py +294 -0
  62. pulumi_oci/datasafe/outputs.py +676 -3
  63. pulumi_oci/datasafe/sensitive_data_model.py +49 -0
  64. pulumi_oci/datasafe/sensitive_type_group.py +563 -0
  65. pulumi_oci/datasafe/sensitive_type_group_grouped_sensitive_type.py +287 -0
  66. pulumi_oci/datascience/__init__.py +4 -0
  67. pulumi_oci/datascience/_inputs.py +1160 -41
  68. pulumi_oci/datascience/get_model.py +29 -1
  69. pulumi_oci/datascience/get_model_custom_metadata_artifact_content.py +151 -0
  70. pulumi_oci/datascience/get_model_defined_metadata_artifact_content.py +151 -0
  71. pulumi_oci/datascience/get_model_version_set.py +15 -1
  72. pulumi_oci/datascience/get_model_version_sets.py +25 -3
  73. pulumi_oci/datascience/get_models.py +25 -3
  74. pulumi_oci/datascience/get_pipeline.py +15 -1
  75. pulumi_oci/datascience/model.py +64 -0
  76. pulumi_oci/datascience/model_custom_metadata_artifact.py +418 -0
  77. pulumi_oci/datascience/model_defined_metadata_artifact.py +418 -0
  78. pulumi_oci/datascience/model_version_set.py +28 -0
  79. pulumi_oci/datascience/outputs.py +4343 -2164
  80. pulumi_oci/datascience/pipeline.py +48 -141
  81. pulumi_oci/datascience/pipeline_run.py +32 -0
  82. pulumi_oci/dblm/__init__.py +17 -0
  83. pulumi_oci/dblm/_inputs.py +275 -0
  84. pulumi_oci/dblm/get_vulnerability.py +242 -0
  85. pulumi_oci/dblm/get_vulnerability_aggregated_vulnerability_data.py +220 -0
  86. pulumi_oci/dblm/get_vulnerability_notifications.py +144 -0
  87. pulumi_oci/dblm/get_vulnerability_resources.py +258 -0
  88. pulumi_oci/dblm/get_vulnerability_scan.py +267 -0
  89. pulumi_oci/dblm/get_vulnerability_scans.py +270 -0
  90. pulumi_oci/dblm/get_vulnerability_vulnerabilities.py +258 -0
  91. pulumi_oci/dblm/outputs.py +1294 -0
  92. pulumi_oci/dblm/vulnerability_scan.py +521 -0
  93. pulumi_oci/email/dkim.py +120 -20
  94. pulumi_oci/email/get_dkim.py +40 -1
  95. pulumi_oci/email/outputs.py +29 -0
  96. pulumi_oci/filestorage/__init__.py +3 -0
  97. pulumi_oci/filestorage/_inputs.py +49 -0
  98. pulumi_oci/filestorage/file_system.py +105 -0
  99. pulumi_oci/filestorage/file_system_quota_rule.py +593 -0
  100. pulumi_oci/filestorage/get_file_system_quota_rule.py +248 -0
  101. pulumi_oci/filestorage/get_file_system_quota_rules.py +210 -0
  102. pulumi_oci/filestorage/outputs.py +186 -0
  103. pulumi_oci/mysql/_inputs.py +1239 -10
  104. pulumi_oci/mysql/channel.py +28 -0
  105. pulumi_oci/mysql/get_channel.py +15 -1
  106. pulumi_oci/mysql/get_mysql_backup.py +15 -1
  107. pulumi_oci/mysql/get_mysql_configuration.py +15 -1
  108. pulumi_oci/mysql/get_mysql_db_system.py +15 -1
  109. pulumi_oci/mysql/mysql_backup.py +28 -0
  110. pulumi_oci/mysql/mysql_configuration.py +106 -0
  111. pulumi_oci/mysql/mysql_db_system.py +36 -0
  112. pulumi_oci/mysql/outputs.py +2008 -35
  113. pulumi_oci/opensearch/__init__.py +3 -0
  114. pulumi_oci/opensearch/_inputs.py +101 -0
  115. pulumi_oci/opensearch/cluster.py +76 -29
  116. pulumi_oci/opensearch/get_opensearch_cluster.py +12 -1
  117. pulumi_oci/opensearch/get_opensearch_cluster_pipeline.py +433 -0
  118. pulumi_oci/opensearch/get_opensearch_cluster_pipelines.py +218 -0
  119. pulumi_oci/opensearch/opensearch_cluster_pipeline.py +1172 -0
  120. pulumi_oci/opensearch/outputs.py +425 -0
  121. pulumi_oci/psql/_inputs.py +258 -0
  122. pulumi_oci/psql/backup.py +129 -28
  123. pulumi_oci/psql/db_system.py +10 -0
  124. pulumi_oci/psql/get_backup.py +47 -2
  125. pulumi_oci/psql/get_backups.py +3 -0
  126. pulumi_oci/psql/get_configurations.py +23 -1
  127. pulumi_oci/psql/get_db_system.py +1 -1
  128. pulumi_oci/psql/get_db_systems.py +1 -1
  129. pulumi_oci/psql/outputs.py +541 -5
  130. pulumi_oci/pulumi-plugin.json +1 -1
  131. pulumi_oci/redis/redis_cluster.py +7 -7
  132. {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/METADATA +1 -1
  133. {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/RECORD +135 -106
  134. {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/WHEEL +1 -1
  135. {pulumi_oci-2.26.0a1741415311.dist-info → pulumi_oci-2.26.0a1741943394.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,521 @@
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
+
17
+ __all__ = ['VulnerabilityScanArgs', 'VulnerabilityScan']
18
+
19
+ @pulumi.input_type
20
+ class VulnerabilityScanArgs:
21
+ def __init__(__self__, *,
22
+ compartment_id: pulumi.Input[str],
23
+ vulnerability_scan_type: pulumi.Input[str]):
24
+ """
25
+ The set of arguments for constructing a VulnerabilityScan resource.
26
+ :param pulumi.Input[str] compartment_id: Compartment Identifier
27
+ :param pulumi.Input[str] vulnerability_scan_type: Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
28
+
29
+
30
+ ** IMPORTANT **
31
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
32
+ """
33
+ pulumi.set(__self__, "compartment_id", compartment_id)
34
+ pulumi.set(__self__, "vulnerability_scan_type", vulnerability_scan_type)
35
+
36
+ @property
37
+ @pulumi.getter(name="compartmentId")
38
+ def compartment_id(self) -> pulumi.Input[str]:
39
+ """
40
+ Compartment Identifier
41
+ """
42
+ return pulumi.get(self, "compartment_id")
43
+
44
+ @compartment_id.setter
45
+ def compartment_id(self, value: pulumi.Input[str]):
46
+ pulumi.set(self, "compartment_id", value)
47
+
48
+ @property
49
+ @pulumi.getter(name="vulnerabilityScanType")
50
+ def vulnerability_scan_type(self) -> pulumi.Input[str]:
51
+ """
52
+ Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
53
+
54
+
55
+ ** IMPORTANT **
56
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
57
+ """
58
+ return pulumi.get(self, "vulnerability_scan_type")
59
+
60
+ @vulnerability_scan_type.setter
61
+ def vulnerability_scan_type(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "vulnerability_scan_type", value)
63
+
64
+
65
+ @pulumi.input_type
66
+ class _VulnerabilityScanState:
67
+ def __init__(__self__, *,
68
+ compartment_id: Optional[pulumi.Input[str]] = None,
69
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
70
+ display_name: Optional[pulumi.Input[str]] = None,
71
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
72
+ state: Optional[pulumi.Input[str]] = None,
73
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
74
+ time_created: Optional[pulumi.Input[str]] = None,
75
+ time_ended: Optional[pulumi.Input[str]] = None,
76
+ vulnerability_scan_message: Optional[pulumi.Input[str]] = None,
77
+ vulnerability_scan_status: Optional[pulumi.Input[str]] = None,
78
+ vulnerability_scan_type: Optional[pulumi.Input[str]] = None):
79
+ """
80
+ Input properties used for looking up and filtering VulnerabilityScan resources.
81
+ :param pulumi.Input[str] compartment_id: Compartment Identifier
82
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
83
+ :param pulumi.Input[str] display_name: A user-friendly name. It does not have to be unique, and it is changeable.
84
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
85
+ :param pulumi.Input[str] state: The current state of the VulnerabilityScan.
86
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
87
+ :param pulumi.Input[str] time_created: The date and time the VulnerabilityScan was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
88
+ :param pulumi.Input[str] time_ended: The date and time the VulnerabilityScan was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
89
+ :param pulumi.Input[str] vulnerability_scan_message: The message of the vulnerability scan status.
90
+ :param pulumi.Input[str] vulnerability_scan_status: The status of the vulnerability scan.
91
+ :param pulumi.Input[str] vulnerability_scan_type: Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
92
+
93
+
94
+ ** IMPORTANT **
95
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
96
+ """
97
+ if compartment_id is not None:
98
+ pulumi.set(__self__, "compartment_id", compartment_id)
99
+ if defined_tags is not None:
100
+ pulumi.set(__self__, "defined_tags", defined_tags)
101
+ if display_name is not None:
102
+ pulumi.set(__self__, "display_name", display_name)
103
+ if freeform_tags is not None:
104
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
105
+ if state is not None:
106
+ pulumi.set(__self__, "state", state)
107
+ if system_tags is not None:
108
+ pulumi.set(__self__, "system_tags", system_tags)
109
+ if time_created is not None:
110
+ pulumi.set(__self__, "time_created", time_created)
111
+ if time_ended is not None:
112
+ pulumi.set(__self__, "time_ended", time_ended)
113
+ if vulnerability_scan_message is not None:
114
+ pulumi.set(__self__, "vulnerability_scan_message", vulnerability_scan_message)
115
+ if vulnerability_scan_status is not None:
116
+ pulumi.set(__self__, "vulnerability_scan_status", vulnerability_scan_status)
117
+ if vulnerability_scan_type is not None:
118
+ pulumi.set(__self__, "vulnerability_scan_type", vulnerability_scan_type)
119
+
120
+ @property
121
+ @pulumi.getter(name="compartmentId")
122
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
123
+ """
124
+ Compartment Identifier
125
+ """
126
+ return pulumi.get(self, "compartment_id")
127
+
128
+ @compartment_id.setter
129
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
130
+ pulumi.set(self, "compartment_id", value)
131
+
132
+ @property
133
+ @pulumi.getter(name="definedTags")
134
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
135
+ """
136
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
137
+ """
138
+ return pulumi.get(self, "defined_tags")
139
+
140
+ @defined_tags.setter
141
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
142
+ pulumi.set(self, "defined_tags", value)
143
+
144
+ @property
145
+ @pulumi.getter(name="displayName")
146
+ def display_name(self) -> Optional[pulumi.Input[str]]:
147
+ """
148
+ A user-friendly name. It does not have to be unique, and it is changeable.
149
+ """
150
+ return pulumi.get(self, "display_name")
151
+
152
+ @display_name.setter
153
+ def display_name(self, value: Optional[pulumi.Input[str]]):
154
+ pulumi.set(self, "display_name", value)
155
+
156
+ @property
157
+ @pulumi.getter(name="freeformTags")
158
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
159
+ """
160
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
161
+ """
162
+ return pulumi.get(self, "freeform_tags")
163
+
164
+ @freeform_tags.setter
165
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
166
+ pulumi.set(self, "freeform_tags", value)
167
+
168
+ @property
169
+ @pulumi.getter
170
+ def state(self) -> Optional[pulumi.Input[str]]:
171
+ """
172
+ The current state of the VulnerabilityScan.
173
+ """
174
+ return pulumi.get(self, "state")
175
+
176
+ @state.setter
177
+ def state(self, value: Optional[pulumi.Input[str]]):
178
+ pulumi.set(self, "state", value)
179
+
180
+ @property
181
+ @pulumi.getter(name="systemTags")
182
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
183
+ """
184
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
185
+ """
186
+ return pulumi.get(self, "system_tags")
187
+
188
+ @system_tags.setter
189
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
190
+ pulumi.set(self, "system_tags", value)
191
+
192
+ @property
193
+ @pulumi.getter(name="timeCreated")
194
+ def time_created(self) -> Optional[pulumi.Input[str]]:
195
+ """
196
+ The date and time the VulnerabilityScan was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
197
+ """
198
+ return pulumi.get(self, "time_created")
199
+
200
+ @time_created.setter
201
+ def time_created(self, value: Optional[pulumi.Input[str]]):
202
+ pulumi.set(self, "time_created", value)
203
+
204
+ @property
205
+ @pulumi.getter(name="timeEnded")
206
+ def time_ended(self) -> Optional[pulumi.Input[str]]:
207
+ """
208
+ The date and time the VulnerabilityScan was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
209
+ """
210
+ return pulumi.get(self, "time_ended")
211
+
212
+ @time_ended.setter
213
+ def time_ended(self, value: Optional[pulumi.Input[str]]):
214
+ pulumi.set(self, "time_ended", value)
215
+
216
+ @property
217
+ @pulumi.getter(name="vulnerabilityScanMessage")
218
+ def vulnerability_scan_message(self) -> Optional[pulumi.Input[str]]:
219
+ """
220
+ The message of the vulnerability scan status.
221
+ """
222
+ return pulumi.get(self, "vulnerability_scan_message")
223
+
224
+ @vulnerability_scan_message.setter
225
+ def vulnerability_scan_message(self, value: Optional[pulumi.Input[str]]):
226
+ pulumi.set(self, "vulnerability_scan_message", value)
227
+
228
+ @property
229
+ @pulumi.getter(name="vulnerabilityScanStatus")
230
+ def vulnerability_scan_status(self) -> Optional[pulumi.Input[str]]:
231
+ """
232
+ The status of the vulnerability scan.
233
+ """
234
+ return pulumi.get(self, "vulnerability_scan_status")
235
+
236
+ @vulnerability_scan_status.setter
237
+ def vulnerability_scan_status(self, value: Optional[pulumi.Input[str]]):
238
+ pulumi.set(self, "vulnerability_scan_status", value)
239
+
240
+ @property
241
+ @pulumi.getter(name="vulnerabilityScanType")
242
+ def vulnerability_scan_type(self) -> Optional[pulumi.Input[str]]:
243
+ """
244
+ Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
245
+
246
+
247
+ ** IMPORTANT **
248
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
249
+ """
250
+ return pulumi.get(self, "vulnerability_scan_type")
251
+
252
+ @vulnerability_scan_type.setter
253
+ def vulnerability_scan_type(self, value: Optional[pulumi.Input[str]]):
254
+ pulumi.set(self, "vulnerability_scan_type", value)
255
+
256
+
257
+ class VulnerabilityScan(pulumi.CustomResource):
258
+ @overload
259
+ def __init__(__self__,
260
+ resource_name: str,
261
+ opts: Optional[pulumi.ResourceOptions] = None,
262
+ compartment_id: Optional[pulumi.Input[str]] = None,
263
+ vulnerability_scan_type: Optional[pulumi.Input[str]] = None,
264
+ __props__=None):
265
+ """
266
+ This resource provides the Vulnerability Scan resource in Oracle Cloud Infrastructure Dblm service.
267
+
268
+ Creates a VulnerabilityScan.
269
+
270
+ ## Example Usage
271
+
272
+ ```python
273
+ import pulumi
274
+ import pulumi_oci as oci
275
+
276
+ test_vulnerability_scan = oci.dblm.VulnerabilityScan("test_vulnerability_scan",
277
+ compartment_id=compartment_id,
278
+ vulnerability_scan_type=vulnerability_scan_vulnerability_scan_type)
279
+ ```
280
+
281
+ ## Import
282
+
283
+ VulnerabilityScans can be imported using the `id`, e.g.
284
+
285
+ ```sh
286
+ $ pulumi import oci:Dblm/vulnerabilityScan:VulnerabilityScan test_vulnerability_scan "id"
287
+ ```
288
+
289
+ :param str resource_name: The name of the resource.
290
+ :param pulumi.ResourceOptions opts: Options for the resource.
291
+ :param pulumi.Input[str] compartment_id: Compartment Identifier
292
+ :param pulumi.Input[str] vulnerability_scan_type: Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
293
+
294
+
295
+ ** IMPORTANT **
296
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
297
+ """
298
+ ...
299
+ @overload
300
+ def __init__(__self__,
301
+ resource_name: str,
302
+ args: VulnerabilityScanArgs,
303
+ opts: Optional[pulumi.ResourceOptions] = None):
304
+ """
305
+ This resource provides the Vulnerability Scan resource in Oracle Cloud Infrastructure Dblm service.
306
+
307
+ Creates a VulnerabilityScan.
308
+
309
+ ## Example Usage
310
+
311
+ ```python
312
+ import pulumi
313
+ import pulumi_oci as oci
314
+
315
+ test_vulnerability_scan = oci.dblm.VulnerabilityScan("test_vulnerability_scan",
316
+ compartment_id=compartment_id,
317
+ vulnerability_scan_type=vulnerability_scan_vulnerability_scan_type)
318
+ ```
319
+
320
+ ## Import
321
+
322
+ VulnerabilityScans can be imported using the `id`, e.g.
323
+
324
+ ```sh
325
+ $ pulumi import oci:Dblm/vulnerabilityScan:VulnerabilityScan test_vulnerability_scan "id"
326
+ ```
327
+
328
+ :param str resource_name: The name of the resource.
329
+ :param VulnerabilityScanArgs args: The arguments to use to populate this resource's properties.
330
+ :param pulumi.ResourceOptions opts: Options for the resource.
331
+ """
332
+ ...
333
+ def __init__(__self__, resource_name: str, *args, **kwargs):
334
+ resource_args, opts = _utilities.get_resource_args_opts(VulnerabilityScanArgs, pulumi.ResourceOptions, *args, **kwargs)
335
+ if resource_args is not None:
336
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
337
+ else:
338
+ __self__._internal_init(resource_name, *args, **kwargs)
339
+
340
+ def _internal_init(__self__,
341
+ resource_name: str,
342
+ opts: Optional[pulumi.ResourceOptions] = None,
343
+ compartment_id: Optional[pulumi.Input[str]] = None,
344
+ vulnerability_scan_type: Optional[pulumi.Input[str]] = None,
345
+ __props__=None):
346
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
347
+ if not isinstance(opts, pulumi.ResourceOptions):
348
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
349
+ if opts.id is None:
350
+ if __props__ is not None:
351
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
352
+ __props__ = VulnerabilityScanArgs.__new__(VulnerabilityScanArgs)
353
+
354
+ if compartment_id is None and not opts.urn:
355
+ raise TypeError("Missing required property 'compartment_id'")
356
+ __props__.__dict__["compartment_id"] = compartment_id
357
+ if vulnerability_scan_type is None and not opts.urn:
358
+ raise TypeError("Missing required property 'vulnerability_scan_type'")
359
+ __props__.__dict__["vulnerability_scan_type"] = vulnerability_scan_type
360
+ __props__.__dict__["defined_tags"] = None
361
+ __props__.__dict__["display_name"] = None
362
+ __props__.__dict__["freeform_tags"] = None
363
+ __props__.__dict__["state"] = None
364
+ __props__.__dict__["system_tags"] = None
365
+ __props__.__dict__["time_created"] = None
366
+ __props__.__dict__["time_ended"] = None
367
+ __props__.__dict__["vulnerability_scan_message"] = None
368
+ __props__.__dict__["vulnerability_scan_status"] = None
369
+ super(VulnerabilityScan, __self__).__init__(
370
+ 'oci:Dblm/vulnerabilityScan:VulnerabilityScan',
371
+ resource_name,
372
+ __props__,
373
+ opts)
374
+
375
+ @staticmethod
376
+ def get(resource_name: str,
377
+ id: pulumi.Input[str],
378
+ opts: Optional[pulumi.ResourceOptions] = None,
379
+ compartment_id: Optional[pulumi.Input[str]] = None,
380
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
381
+ display_name: Optional[pulumi.Input[str]] = None,
382
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
383
+ state: Optional[pulumi.Input[str]] = None,
384
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
385
+ time_created: Optional[pulumi.Input[str]] = None,
386
+ time_ended: Optional[pulumi.Input[str]] = None,
387
+ vulnerability_scan_message: Optional[pulumi.Input[str]] = None,
388
+ vulnerability_scan_status: Optional[pulumi.Input[str]] = None,
389
+ vulnerability_scan_type: Optional[pulumi.Input[str]] = None) -> 'VulnerabilityScan':
390
+ """
391
+ Get an existing VulnerabilityScan resource's state with the given name, id, and optional extra
392
+ properties used to qualify the lookup.
393
+
394
+ :param str resource_name: The unique name of the resulting resource.
395
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
396
+ :param pulumi.ResourceOptions opts: Options for the resource.
397
+ :param pulumi.Input[str] compartment_id: Compartment Identifier
398
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
399
+ :param pulumi.Input[str] display_name: A user-friendly name. It does not have to be unique, and it is changeable.
400
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
401
+ :param pulumi.Input[str] state: The current state of the VulnerabilityScan.
402
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
403
+ :param pulumi.Input[str] time_created: The date and time the VulnerabilityScan was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
404
+ :param pulumi.Input[str] time_ended: The date and time the VulnerabilityScan was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
405
+ :param pulumi.Input[str] vulnerability_scan_message: The message of the vulnerability scan status.
406
+ :param pulumi.Input[str] vulnerability_scan_status: The status of the vulnerability scan.
407
+ :param pulumi.Input[str] vulnerability_scan_type: Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
408
+
409
+
410
+ ** IMPORTANT **
411
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
412
+ """
413
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
414
+
415
+ __props__ = _VulnerabilityScanState.__new__(_VulnerabilityScanState)
416
+
417
+ __props__.__dict__["compartment_id"] = compartment_id
418
+ __props__.__dict__["defined_tags"] = defined_tags
419
+ __props__.__dict__["display_name"] = display_name
420
+ __props__.__dict__["freeform_tags"] = freeform_tags
421
+ __props__.__dict__["state"] = state
422
+ __props__.__dict__["system_tags"] = system_tags
423
+ __props__.__dict__["time_created"] = time_created
424
+ __props__.__dict__["time_ended"] = time_ended
425
+ __props__.__dict__["vulnerability_scan_message"] = vulnerability_scan_message
426
+ __props__.__dict__["vulnerability_scan_status"] = vulnerability_scan_status
427
+ __props__.__dict__["vulnerability_scan_type"] = vulnerability_scan_type
428
+ return VulnerabilityScan(resource_name, opts=opts, __props__=__props__)
429
+
430
+ @property
431
+ @pulumi.getter(name="compartmentId")
432
+ def compartment_id(self) -> pulumi.Output[str]:
433
+ """
434
+ Compartment Identifier
435
+ """
436
+ return pulumi.get(self, "compartment_id")
437
+
438
+ @property
439
+ @pulumi.getter(name="definedTags")
440
+ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
441
+ """
442
+ Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
443
+ """
444
+ return pulumi.get(self, "defined_tags")
445
+
446
+ @property
447
+ @pulumi.getter(name="displayName")
448
+ def display_name(self) -> pulumi.Output[str]:
449
+ """
450
+ A user-friendly name. It does not have to be unique, and it is changeable.
451
+ """
452
+ return pulumi.get(self, "display_name")
453
+
454
+ @property
455
+ @pulumi.getter(name="freeformTags")
456
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]:
457
+ """
458
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
459
+ """
460
+ return pulumi.get(self, "freeform_tags")
461
+
462
+ @property
463
+ @pulumi.getter
464
+ def state(self) -> pulumi.Output[str]:
465
+ """
466
+ The current state of the VulnerabilityScan.
467
+ """
468
+ return pulumi.get(self, "state")
469
+
470
+ @property
471
+ @pulumi.getter(name="systemTags")
472
+ def system_tags(self) -> pulumi.Output[Mapping[str, str]]:
473
+ """
474
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
475
+ """
476
+ return pulumi.get(self, "system_tags")
477
+
478
+ @property
479
+ @pulumi.getter(name="timeCreated")
480
+ def time_created(self) -> pulumi.Output[str]:
481
+ """
482
+ The date and time the VulnerabilityScan was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
483
+ """
484
+ return pulumi.get(self, "time_created")
485
+
486
+ @property
487
+ @pulumi.getter(name="timeEnded")
488
+ def time_ended(self) -> pulumi.Output[str]:
489
+ """
490
+ The date and time the VulnerabilityScan was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
491
+ """
492
+ return pulumi.get(self, "time_ended")
493
+
494
+ @property
495
+ @pulumi.getter(name="vulnerabilityScanMessage")
496
+ def vulnerability_scan_message(self) -> pulumi.Output[str]:
497
+ """
498
+ The message of the vulnerability scan status.
499
+ """
500
+ return pulumi.get(self, "vulnerability_scan_message")
501
+
502
+ @property
503
+ @pulumi.getter(name="vulnerabilityScanStatus")
504
+ def vulnerability_scan_status(self) -> pulumi.Output[str]:
505
+ """
506
+ The status of the vulnerability scan.
507
+ """
508
+ return pulumi.get(self, "vulnerability_scan_status")
509
+
510
+ @property
511
+ @pulumi.getter(name="vulnerabilityScanType")
512
+ def vulnerability_scan_type(self) -> pulumi.Output[str]:
513
+ """
514
+ Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
515
+
516
+
517
+ ** IMPORTANT **
518
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
519
+ """
520
+ return pulumi.get(self, "vulnerability_scan_type")
521
+