pulumi-oci 1.35.0a1715306721__py3-none-any.whl → 1.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +208 -0
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_ip_inventory_subnet.py +171 -0
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +171 -0
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +206 -0
- pulumi_oci/core/outputs.py +261 -0
- pulumi_oci/database/_inputs.py +304 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
- pulumi_oci/database/cloud_vm_cluster.py +55 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
- pulumi_oci/database/get_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +734 -6
- pulumi_oci/database/vm_cluster.py +55 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +1 -0
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/disasterrecovery/_inputs.py +16 -0
- pulumi_oci/disasterrecovery/outputs.py +36 -0
- pulumi_oci/email/__init__.py +3 -0
- pulumi_oci/email/_inputs.py +46 -0
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +77 -0
- pulumi_oci/email/email_return_path.py +642 -0
- pulumi_oci/email/get_email_domain.py +27 -1
- pulumi_oci/email/get_email_return_path.py +274 -0
- pulumi_oci/email/get_email_return_paths.py +203 -0
- pulumi_oci/email/outputs.py +231 -0
- pulumi_oci/loadbalancer/_inputs.py +160 -20
- pulumi_oci/loadbalancer/backend.py +49 -0
- pulumi_oci/loadbalancer/backend_set.py +57 -0
- pulumi_oci/loadbalancer/get_listener_rules.py +2 -2
- pulumi_oci/loadbalancer/listener.py +2 -0
- pulumi_oci/loadbalancer/load_balancer.py +98 -7
- pulumi_oci/loadbalancer/outputs.py +375 -36
- pulumi_oci/loadbalancer/rule_set.py +10 -0
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +14 -1
- pulumi_oci/networkloadbalancer/listener.py +51 -2
- pulumi_oci/networkloadbalancer/outputs.py +11 -0
- pulumi_oci/osmanagementhub/__init__.py +48 -0
- pulumi_oci/osmanagementhub/_inputs.py +3635 -493
- pulumi_oci/osmanagementhub/event.py +701 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +178 -0
- pulumi_oci/osmanagementhub/get_errata.py +283 -0
- pulumi_oci/osmanagementhub/get_erratum.py +308 -0
- pulumi_oci/osmanagementhub/get_event.py +314 -0
- pulumi_oci/osmanagementhub/get_events.py +314 -0
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +26 -13
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +48 -11
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +28 -15
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +86 -19
- pulumi_oci/osmanagementhub/get_managed_instance.py +587 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +190 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +238 -0
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +62 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +7 -9
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +8 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +220 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +244 -0
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +71 -16
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instances.py +537 -0
- pulumi_oci/osmanagementhub/get_management_station.py +42 -19
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
- pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
- pulumi_oci/osmanagementhub/get_profile.py +51 -12
- pulumi_oci/osmanagementhub/get_profiles.py +76 -16
- pulumi_oci/osmanagementhub/get_scheduled_job.py +426 -0
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +433 -0
- pulumi_oci/osmanagementhub/get_software_package.py +301 -0
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +329 -0
- pulumi_oci/osmanagementhub/get_software_packages.py +232 -0
- pulumi_oci/osmanagementhub/get_software_source.py +109 -18
- pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
- pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source_software_package.py +23 -10
- pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
- pulumi_oci/osmanagementhub/get_software_sources.py +78 -21
- pulumi_oci/osmanagementhub/get_windows_update.py +222 -0
- pulumi_oci/osmanagementhub/get_windows_updates.py +187 -0
- pulumi_oci/osmanagementhub/lifecycle_environment.py +159 -86
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +296 -0
- pulumi_oci/osmanagementhub/managed_instance.py +1327 -0
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +266 -0
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +214 -0
- pulumi_oci/osmanagementhub/managed_instance_group.py +264 -86
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +264 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +526 -0
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +292 -0
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +341 -0
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +341 -0
- pulumi_oci/osmanagementhub/management_station.py +184 -81
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +264 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +212 -0
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +264 -0
- pulumi_oci/osmanagementhub/outputs.py +10867 -2365
- pulumi_oci/osmanagementhub/profile.py +200 -78
- pulumi_oci/osmanagementhub/scheduled_job.py +1331 -0
- pulumi_oci/osmanagementhub/software_source.py +365 -181
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +266 -0
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +194 -0
- pulumi_oci/pulumi-plugin.json +2 -1
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/RECORD +130 -75
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,308 @@
|
|
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
|
+
'GetErratumResult',
|
15
|
+
'AwaitableGetErratumResult',
|
16
|
+
'get_erratum',
|
17
|
+
'get_erratum_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetErratumResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getErratum.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, advisory_severity=None, advisory_type=None, classification_type=None, compartment_id=None, description=None, from_=None, id=None, name=None, os_families=None, packages=None, references=None, related_cves=None, repositories=None, solution=None, synopsis=None, time_issued=None, time_updated=None):
|
26
|
+
if advisory_severity and not isinstance(advisory_severity, str):
|
27
|
+
raise TypeError("Expected argument 'advisory_severity' to be a str")
|
28
|
+
pulumi.set(__self__, "advisory_severity", advisory_severity)
|
29
|
+
if advisory_type and not isinstance(advisory_type, str):
|
30
|
+
raise TypeError("Expected argument 'advisory_type' to be a str")
|
31
|
+
pulumi.set(__self__, "advisory_type", advisory_type)
|
32
|
+
if classification_type and not isinstance(classification_type, str):
|
33
|
+
raise TypeError("Expected argument 'classification_type' to be a str")
|
34
|
+
pulumi.set(__self__, "classification_type", classification_type)
|
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 description and not isinstance(description, str):
|
39
|
+
raise TypeError("Expected argument 'description' to be a str")
|
40
|
+
pulumi.set(__self__, "description", description)
|
41
|
+
if from_ and not isinstance(from_, str):
|
42
|
+
raise TypeError("Expected argument 'from_' to be a str")
|
43
|
+
pulumi.set(__self__, "from_", from_)
|
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 name and not isinstance(name, str):
|
48
|
+
raise TypeError("Expected argument 'name' to be a str")
|
49
|
+
pulumi.set(__self__, "name", name)
|
50
|
+
if os_families and not isinstance(os_families, list):
|
51
|
+
raise TypeError("Expected argument 'os_families' to be a list")
|
52
|
+
pulumi.set(__self__, "os_families", os_families)
|
53
|
+
if packages and not isinstance(packages, list):
|
54
|
+
raise TypeError("Expected argument 'packages' to be a list")
|
55
|
+
pulumi.set(__self__, "packages", packages)
|
56
|
+
if references and not isinstance(references, str):
|
57
|
+
raise TypeError("Expected argument 'references' to be a str")
|
58
|
+
pulumi.set(__self__, "references", references)
|
59
|
+
if related_cves and not isinstance(related_cves, list):
|
60
|
+
raise TypeError("Expected argument 'related_cves' to be a list")
|
61
|
+
pulumi.set(__self__, "related_cves", related_cves)
|
62
|
+
if repositories and not isinstance(repositories, list):
|
63
|
+
raise TypeError("Expected argument 'repositories' to be a list")
|
64
|
+
pulumi.set(__self__, "repositories", repositories)
|
65
|
+
if solution and not isinstance(solution, str):
|
66
|
+
raise TypeError("Expected argument 'solution' to be a str")
|
67
|
+
pulumi.set(__self__, "solution", solution)
|
68
|
+
if synopsis and not isinstance(synopsis, str):
|
69
|
+
raise TypeError("Expected argument 'synopsis' to be a str")
|
70
|
+
pulumi.set(__self__, "synopsis", synopsis)
|
71
|
+
if time_issued and not isinstance(time_issued, str):
|
72
|
+
raise TypeError("Expected argument 'time_issued' to be a str")
|
73
|
+
pulumi.set(__self__, "time_issued", time_issued)
|
74
|
+
if time_updated and not isinstance(time_updated, str):
|
75
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
76
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter(name="advisorySeverity")
|
80
|
+
def advisory_severity(self) -> str:
|
81
|
+
"""
|
82
|
+
The severity for a security advisory, otherwise, null.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "advisory_severity")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="advisoryType")
|
88
|
+
def advisory_type(self) -> str:
|
89
|
+
"""
|
90
|
+
The advisory type of the erratum.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "advisory_type")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="classificationType")
|
96
|
+
def classification_type(self) -> str:
|
97
|
+
"""
|
98
|
+
Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "classification_type")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter(name="compartmentId")
|
104
|
+
def compartment_id(self) -> str:
|
105
|
+
return pulumi.get(self, "compartment_id")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def description(self) -> str:
|
110
|
+
"""
|
111
|
+
Software source description.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "description")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="from")
|
117
|
+
def from_(self) -> str:
|
118
|
+
"""
|
119
|
+
Information specifying from where the erratum was release.
|
120
|
+
"""
|
121
|
+
return pulumi.get(self, "from_")
|
122
|
+
|
123
|
+
@property
|
124
|
+
@pulumi.getter
|
125
|
+
def id(self) -> str:
|
126
|
+
"""
|
127
|
+
The provider-assigned unique ID for this managed resource.
|
128
|
+
"""
|
129
|
+
return pulumi.get(self, "id")
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def name(self) -> str:
|
134
|
+
"""
|
135
|
+
Unique identifier for the package. Note that this is not an OCID.
|
136
|
+
"""
|
137
|
+
return pulumi.get(self, "name")
|
138
|
+
|
139
|
+
@property
|
140
|
+
@pulumi.getter(name="osFamilies")
|
141
|
+
def os_families(self) -> Sequence[str]:
|
142
|
+
"""
|
143
|
+
The OS families the package belongs to.
|
144
|
+
"""
|
145
|
+
return pulumi.get(self, "os_families")
|
146
|
+
|
147
|
+
@property
|
148
|
+
@pulumi.getter
|
149
|
+
def packages(self) -> Sequence['outputs.GetErratumPackageResult']:
|
150
|
+
"""
|
151
|
+
List of packages affected by this erratum.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "packages")
|
154
|
+
|
155
|
+
@property
|
156
|
+
@pulumi.getter
|
157
|
+
def references(self) -> str:
|
158
|
+
"""
|
159
|
+
Information describing how to find more information about. the erratum.
|
160
|
+
"""
|
161
|
+
return pulumi.get(self, "references")
|
162
|
+
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="relatedCves")
|
165
|
+
def related_cves(self) -> Sequence[str]:
|
166
|
+
"""
|
167
|
+
List of CVEs applicable to this erratum.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "related_cves")
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter
|
173
|
+
def repositories(self) -> Sequence[str]:
|
174
|
+
"""
|
175
|
+
List of repository identifiers.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "repositories")
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter
|
181
|
+
def solution(self) -> str:
|
182
|
+
"""
|
183
|
+
Information describing how the erratum can be resolved.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "solution")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter
|
189
|
+
def synopsis(self) -> str:
|
190
|
+
"""
|
191
|
+
Summary description of the erratum.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "synopsis")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter(name="timeIssued")
|
197
|
+
def time_issued(self) -> str:
|
198
|
+
"""
|
199
|
+
The date and time the erratum was issued (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "time_issued")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter(name="timeUpdated")
|
205
|
+
def time_updated(self) -> str:
|
206
|
+
"""
|
207
|
+
The date and time the erratum was updated (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "time_updated")
|
210
|
+
|
211
|
+
|
212
|
+
class AwaitableGetErratumResult(GetErratumResult):
|
213
|
+
# pylint: disable=using-constant-test
|
214
|
+
def __await__(self):
|
215
|
+
if False:
|
216
|
+
yield self
|
217
|
+
return GetErratumResult(
|
218
|
+
advisory_severity=self.advisory_severity,
|
219
|
+
advisory_type=self.advisory_type,
|
220
|
+
classification_type=self.classification_type,
|
221
|
+
compartment_id=self.compartment_id,
|
222
|
+
description=self.description,
|
223
|
+
from_=self.from_,
|
224
|
+
id=self.id,
|
225
|
+
name=self.name,
|
226
|
+
os_families=self.os_families,
|
227
|
+
packages=self.packages,
|
228
|
+
references=self.references,
|
229
|
+
related_cves=self.related_cves,
|
230
|
+
repositories=self.repositories,
|
231
|
+
solution=self.solution,
|
232
|
+
synopsis=self.synopsis,
|
233
|
+
time_issued=self.time_issued,
|
234
|
+
time_updated=self.time_updated)
|
235
|
+
|
236
|
+
|
237
|
+
def get_erratum(compartment_id: Optional[str] = None,
|
238
|
+
name: Optional[str] = None,
|
239
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetErratumResult:
|
240
|
+
"""
|
241
|
+
This data source provides details about a specific Erratum resource in Oracle Cloud Infrastructure Os Management Hub service.
|
242
|
+
|
243
|
+
Returns information about the specified erratum based on its advisory name.
|
244
|
+
|
245
|
+
## Example Usage
|
246
|
+
|
247
|
+
```python
|
248
|
+
import pulumi
|
249
|
+
import pulumi_oci as oci
|
250
|
+
|
251
|
+
test_erratum = oci.OsManagementHub.get_erratum(compartment_id=compartment_id,
|
252
|
+
name=erratum_name)
|
253
|
+
```
|
254
|
+
|
255
|
+
|
256
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
257
|
+
:param str name: The erratum name (such as ELSA-2023-34678).
|
258
|
+
"""
|
259
|
+
__args__ = dict()
|
260
|
+
__args__['compartmentId'] = compartment_id
|
261
|
+
__args__['name'] = name
|
262
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
263
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getErratum:getErratum', __args__, opts=opts, typ=GetErratumResult).value
|
264
|
+
|
265
|
+
return AwaitableGetErratumResult(
|
266
|
+
advisory_severity=pulumi.get(__ret__, 'advisory_severity'),
|
267
|
+
advisory_type=pulumi.get(__ret__, 'advisory_type'),
|
268
|
+
classification_type=pulumi.get(__ret__, 'classification_type'),
|
269
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
270
|
+
description=pulumi.get(__ret__, 'description'),
|
271
|
+
from_=pulumi.get(__ret__, 'from_'),
|
272
|
+
id=pulumi.get(__ret__, 'id'),
|
273
|
+
name=pulumi.get(__ret__, 'name'),
|
274
|
+
os_families=pulumi.get(__ret__, 'os_families'),
|
275
|
+
packages=pulumi.get(__ret__, 'packages'),
|
276
|
+
references=pulumi.get(__ret__, 'references'),
|
277
|
+
related_cves=pulumi.get(__ret__, 'related_cves'),
|
278
|
+
repositories=pulumi.get(__ret__, 'repositories'),
|
279
|
+
solution=pulumi.get(__ret__, 'solution'),
|
280
|
+
synopsis=pulumi.get(__ret__, 'synopsis'),
|
281
|
+
time_issued=pulumi.get(__ret__, 'time_issued'),
|
282
|
+
time_updated=pulumi.get(__ret__, 'time_updated'))
|
283
|
+
|
284
|
+
|
285
|
+
@_utilities.lift_output_func(get_erratum)
|
286
|
+
def get_erratum_output(compartment_id: Optional[pulumi.Input[str]] = None,
|
287
|
+
name: Optional[pulumi.Input[str]] = None,
|
288
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetErratumResult]:
|
289
|
+
"""
|
290
|
+
This data source provides details about a specific Erratum resource in Oracle Cloud Infrastructure Os Management Hub service.
|
291
|
+
|
292
|
+
Returns information about the specified erratum based on its advisory name.
|
293
|
+
|
294
|
+
## Example Usage
|
295
|
+
|
296
|
+
```python
|
297
|
+
import pulumi
|
298
|
+
import pulumi_oci as oci
|
299
|
+
|
300
|
+
test_erratum = oci.OsManagementHub.get_erratum(compartment_id=compartment_id,
|
301
|
+
name=erratum_name)
|
302
|
+
```
|
303
|
+
|
304
|
+
|
305
|
+
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
306
|
+
:param str name: The erratum name (such as ELSA-2023-34678).
|
307
|
+
"""
|
308
|
+
...
|
@@ -0,0 +1,314 @@
|
|
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
|
+
'GetEventResult',
|
15
|
+
'AwaitableGetEventResult',
|
16
|
+
'get_event',
|
17
|
+
'get_event_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetEventResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getEvent.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, compartment_id=None, datas=None, defined_tags=None, event_details=None, event_id=None, event_summary=None, freeform_tags=None, id=None, is_managed_by_autonomous_linux=None, lifecycle_details=None, resource_id=None, state=None, system_details=None, system_tags=None, time_created=None, time_occurred=None, time_updated=None, type=None):
|
26
|
+
if compartment_id and not isinstance(compartment_id, str):
|
27
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
28
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
29
|
+
if datas and not isinstance(datas, list):
|
30
|
+
raise TypeError("Expected argument 'datas' to be a list")
|
31
|
+
pulumi.set(__self__, "datas", datas)
|
32
|
+
if defined_tags and not isinstance(defined_tags, dict):
|
33
|
+
raise TypeError("Expected argument 'defined_tags' to be a dict")
|
34
|
+
pulumi.set(__self__, "defined_tags", defined_tags)
|
35
|
+
if event_details and not isinstance(event_details, str):
|
36
|
+
raise TypeError("Expected argument 'event_details' to be a str")
|
37
|
+
pulumi.set(__self__, "event_details", event_details)
|
38
|
+
if event_id and not isinstance(event_id, str):
|
39
|
+
raise TypeError("Expected argument 'event_id' to be a str")
|
40
|
+
pulumi.set(__self__, "event_id", event_id)
|
41
|
+
if event_summary and not isinstance(event_summary, str):
|
42
|
+
raise TypeError("Expected argument 'event_summary' to be a str")
|
43
|
+
pulumi.set(__self__, "event_summary", event_summary)
|
44
|
+
if freeform_tags and not isinstance(freeform_tags, dict):
|
45
|
+
raise TypeError("Expected argument 'freeform_tags' to be a dict")
|
46
|
+
pulumi.set(__self__, "freeform_tags", freeform_tags)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if is_managed_by_autonomous_linux and not isinstance(is_managed_by_autonomous_linux, bool):
|
51
|
+
raise TypeError("Expected argument 'is_managed_by_autonomous_linux' to be a bool")
|
52
|
+
pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
|
53
|
+
if lifecycle_details and not isinstance(lifecycle_details, str):
|
54
|
+
raise TypeError("Expected argument 'lifecycle_details' to be a str")
|
55
|
+
pulumi.set(__self__, "lifecycle_details", lifecycle_details)
|
56
|
+
if resource_id and not isinstance(resource_id, str):
|
57
|
+
raise TypeError("Expected argument 'resource_id' to be a str")
|
58
|
+
pulumi.set(__self__, "resource_id", resource_id)
|
59
|
+
if state and not isinstance(state, str):
|
60
|
+
raise TypeError("Expected argument 'state' to be a str")
|
61
|
+
pulumi.set(__self__, "state", state)
|
62
|
+
if system_details and not isinstance(system_details, list):
|
63
|
+
raise TypeError("Expected argument 'system_details' to be a list")
|
64
|
+
pulumi.set(__self__, "system_details", system_details)
|
65
|
+
if system_tags and not isinstance(system_tags, dict):
|
66
|
+
raise TypeError("Expected argument 'system_tags' to be a dict")
|
67
|
+
pulumi.set(__self__, "system_tags", system_tags)
|
68
|
+
if time_created and not isinstance(time_created, str):
|
69
|
+
raise TypeError("Expected argument 'time_created' to be a str")
|
70
|
+
pulumi.set(__self__, "time_created", time_created)
|
71
|
+
if time_occurred and not isinstance(time_occurred, str):
|
72
|
+
raise TypeError("Expected argument 'time_occurred' to be a str")
|
73
|
+
pulumi.set(__self__, "time_occurred", time_occurred)
|
74
|
+
if time_updated and not isinstance(time_updated, str):
|
75
|
+
raise TypeError("Expected argument 'time_updated' to be a str")
|
76
|
+
pulumi.set(__self__, "time_updated", time_updated)
|
77
|
+
if type and not isinstance(type, str):
|
78
|
+
raise TypeError("Expected argument 'type' to be a str")
|
79
|
+
pulumi.set(__self__, "type", type)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter(name="compartmentId")
|
83
|
+
def compartment_id(self) -> str:
|
84
|
+
"""
|
85
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "compartment_id")
|
88
|
+
|
89
|
+
@property
|
90
|
+
@pulumi.getter
|
91
|
+
def datas(self) -> Sequence['outputs.GetEventDataResult']:
|
92
|
+
"""
|
93
|
+
Provides additional information for a management station event.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "datas")
|
96
|
+
|
97
|
+
@property
|
98
|
+
@pulumi.getter(name="definedTags")
|
99
|
+
def defined_tags(self) -> Mapping[str, Any]:
|
100
|
+
"""
|
101
|
+
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}`
|
102
|
+
"""
|
103
|
+
return pulumi.get(self, "defined_tags")
|
104
|
+
|
105
|
+
@property
|
106
|
+
@pulumi.getter(name="eventDetails")
|
107
|
+
def event_details(self) -> str:
|
108
|
+
"""
|
109
|
+
Details of an event.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "event_details")
|
112
|
+
|
113
|
+
@property
|
114
|
+
@pulumi.getter(name="eventId")
|
115
|
+
def event_id(self) -> str:
|
116
|
+
return pulumi.get(self, "event_id")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="eventSummary")
|
120
|
+
def event_summary(self) -> str:
|
121
|
+
"""
|
122
|
+
Summary of the event.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "event_summary")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter(name="freeformTags")
|
128
|
+
def freeform_tags(self) -> Mapping[str, Any]:
|
129
|
+
"""
|
130
|
+
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "freeform_tags")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter
|
136
|
+
def id(self) -> str:
|
137
|
+
"""
|
138
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "id")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="isManagedByAutonomousLinux")
|
144
|
+
def is_managed_by_autonomous_linux(self) -> bool:
|
145
|
+
"""
|
146
|
+
Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "is_managed_by_autonomous_linux")
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="lifecycleDetails")
|
152
|
+
def lifecycle_details(self) -> str:
|
153
|
+
"""
|
154
|
+
Describes the current state of the event in more detail. For example, the message can provide actionable information for a resource in the 'FAILED' state.
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "lifecycle_details")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter(name="resourceId")
|
160
|
+
def resource_id(self) -> str:
|
161
|
+
"""
|
162
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "resource_id")
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter
|
168
|
+
def state(self) -> str:
|
169
|
+
"""
|
170
|
+
The current state of the event.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "state")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="systemDetails")
|
176
|
+
def system_details(self) -> Sequence['outputs.GetEventSystemDetailResult']:
|
177
|
+
"""
|
178
|
+
Provides information about the system architecture and operating system.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "system_details")
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="systemTags")
|
184
|
+
def system_tags(self) -> Mapping[str, Any]:
|
185
|
+
"""
|
186
|
+
System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
|
187
|
+
"""
|
188
|
+
return pulumi.get(self, "system_tags")
|
189
|
+
|
190
|
+
@property
|
191
|
+
@pulumi.getter(name="timeCreated")
|
192
|
+
def time_created(self) -> str:
|
193
|
+
"""
|
194
|
+
The date and time the Event was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`
|
195
|
+
"""
|
196
|
+
return pulumi.get(self, "time_created")
|
197
|
+
|
198
|
+
@property
|
199
|
+
@pulumi.getter(name="timeOccurred")
|
200
|
+
def time_occurred(self) -> str:
|
201
|
+
"""
|
202
|
+
The date and time that the event occurred.
|
203
|
+
"""
|
204
|
+
return pulumi.get(self, "time_occurred")
|
205
|
+
|
206
|
+
@property
|
207
|
+
@pulumi.getter(name="timeUpdated")
|
208
|
+
def time_updated(self) -> str:
|
209
|
+
"""
|
210
|
+
The date and time that the event was updated (in [RFC 3339](https://tools.ietf.org/html/rfc3339) format). Example: `2016-08-25T21:10:29.600Z`
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "time_updated")
|
213
|
+
|
214
|
+
@property
|
215
|
+
@pulumi.getter
|
216
|
+
def type(self) -> str:
|
217
|
+
"""
|
218
|
+
Event type:
|
219
|
+
"""
|
220
|
+
return pulumi.get(self, "type")
|
221
|
+
|
222
|
+
|
223
|
+
class AwaitableGetEventResult(GetEventResult):
|
224
|
+
# pylint: disable=using-constant-test
|
225
|
+
def __await__(self):
|
226
|
+
if False:
|
227
|
+
yield self
|
228
|
+
return GetEventResult(
|
229
|
+
compartment_id=self.compartment_id,
|
230
|
+
datas=self.datas,
|
231
|
+
defined_tags=self.defined_tags,
|
232
|
+
event_details=self.event_details,
|
233
|
+
event_id=self.event_id,
|
234
|
+
event_summary=self.event_summary,
|
235
|
+
freeform_tags=self.freeform_tags,
|
236
|
+
id=self.id,
|
237
|
+
is_managed_by_autonomous_linux=self.is_managed_by_autonomous_linux,
|
238
|
+
lifecycle_details=self.lifecycle_details,
|
239
|
+
resource_id=self.resource_id,
|
240
|
+
state=self.state,
|
241
|
+
system_details=self.system_details,
|
242
|
+
system_tags=self.system_tags,
|
243
|
+
time_created=self.time_created,
|
244
|
+
time_occurred=self.time_occurred,
|
245
|
+
time_updated=self.time_updated,
|
246
|
+
type=self.type)
|
247
|
+
|
248
|
+
|
249
|
+
def get_event(event_id: Optional[str] = None,
|
250
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEventResult:
|
251
|
+
"""
|
252
|
+
This data source provides details about a specific Event resource in Oracle Cloud Infrastructure Os Management Hub service.
|
253
|
+
|
254
|
+
Returns information about the specified event.
|
255
|
+
|
256
|
+
## Example Usage
|
257
|
+
|
258
|
+
```python
|
259
|
+
import pulumi
|
260
|
+
import pulumi_oci as oci
|
261
|
+
|
262
|
+
test_event = oci.OsManagementHub.get_event(event_id=test_event_oci_os_management_hub_event["id"])
|
263
|
+
```
|
264
|
+
|
265
|
+
|
266
|
+
:param str event_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
|
267
|
+
"""
|
268
|
+
__args__ = dict()
|
269
|
+
__args__['eventId'] = event_id
|
270
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
271
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getEvent:getEvent', __args__, opts=opts, typ=GetEventResult).value
|
272
|
+
|
273
|
+
return AwaitableGetEventResult(
|
274
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
275
|
+
datas=pulumi.get(__ret__, 'datas'),
|
276
|
+
defined_tags=pulumi.get(__ret__, 'defined_tags'),
|
277
|
+
event_details=pulumi.get(__ret__, 'event_details'),
|
278
|
+
event_id=pulumi.get(__ret__, 'event_id'),
|
279
|
+
event_summary=pulumi.get(__ret__, 'event_summary'),
|
280
|
+
freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
|
281
|
+
id=pulumi.get(__ret__, 'id'),
|
282
|
+
is_managed_by_autonomous_linux=pulumi.get(__ret__, 'is_managed_by_autonomous_linux'),
|
283
|
+
lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'),
|
284
|
+
resource_id=pulumi.get(__ret__, 'resource_id'),
|
285
|
+
state=pulumi.get(__ret__, 'state'),
|
286
|
+
system_details=pulumi.get(__ret__, 'system_details'),
|
287
|
+
system_tags=pulumi.get(__ret__, 'system_tags'),
|
288
|
+
time_created=pulumi.get(__ret__, 'time_created'),
|
289
|
+
time_occurred=pulumi.get(__ret__, 'time_occurred'),
|
290
|
+
time_updated=pulumi.get(__ret__, 'time_updated'),
|
291
|
+
type=pulumi.get(__ret__, 'type'))
|
292
|
+
|
293
|
+
|
294
|
+
@_utilities.lift_output_func(get_event)
|
295
|
+
def get_event_output(event_id: Optional[pulumi.Input[str]] = None,
|
296
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventResult]:
|
297
|
+
"""
|
298
|
+
This data source provides details about a specific Event resource in Oracle Cloud Infrastructure Os Management Hub service.
|
299
|
+
|
300
|
+
Returns information about the specified event.
|
301
|
+
|
302
|
+
## Example Usage
|
303
|
+
|
304
|
+
```python
|
305
|
+
import pulumi
|
306
|
+
import pulumi_oci as oci
|
307
|
+
|
308
|
+
test_event = oci.OsManagementHub.get_event(event_id=test_event_oci_os_management_hub_event["id"])
|
309
|
+
```
|
310
|
+
|
311
|
+
|
312
|
+
:param str event_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
|
313
|
+
"""
|
314
|
+
...
|