pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715707046__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 +0 -208
- pulumi_oci/core/__init__.py +0 -3
- pulumi_oci/core/_inputs.py +0 -40
- pulumi_oci/core/outputs.py +0 -261
- pulumi_oci/database/_inputs.py +0 -192
- pulumi_oci/database/exadata_infrastructure.py +0 -28
- pulumi_oci/database/get_exadata_infrastructure.py +1 -14
- pulumi_oci/database/get_vm_cluster.py +1 -14
- pulumi_oci/database/outputs.py +0 -418
- pulumi_oci/database/vm_cluster.py +0 -55
- pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/email/__init__.py +0 -3
- pulumi_oci/email/_inputs.py +0 -46
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +0 -77
- pulumi_oci/email/get_email_domain.py +1 -27
- pulumi_oci/email/outputs.py +0 -231
- pulumi_oci/loadbalancer/_inputs.py +0 -16
- pulumi_oci/loadbalancer/listener.py +0 -2
- pulumi_oci/loadbalancer/outputs.py +0 -14
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +1 -14
- pulumi_oci/networkloadbalancer/listener.py +2 -51
- pulumi_oci/networkloadbalancer/outputs.py +0 -11
- pulumi_oci/osmanagementhub/__init__.py +0 -48
- pulumi_oci/osmanagementhub/_inputs.py +507 -3649
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
- pulumi_oci/osmanagementhub/get_management_station.py +19 -42
- 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 +12 -51
- pulumi_oci/osmanagementhub/get_profiles.py +16 -76
- pulumi_oci/osmanagementhub/get_software_source.py +18 -109
- 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 +10 -23
- 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 +21 -78
- pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
- pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
- pulumi_oci/osmanagementhub/management_station.py +81 -184
- pulumi_oci/osmanagementhub/outputs.py +2364 -10866
- pulumi_oci/osmanagementhub/profile.py +78 -200
- pulumi_oci/osmanagementhub/software_source.py +181 -365
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/RECORD +64 -119
- pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/email/email_return_path.py +0 -642
- pulumi_oci/email/get_email_return_path.py +0 -274
- pulumi_oci/email/get_email_return_paths.py +0 -203
- pulumi_oci/osmanagementhub/event.py +0 -701
- pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
- pulumi_oci/osmanagementhub/get_errata.py +0 -283
- pulumi_oci/osmanagementhub/get_erratum.py +0 -308
- pulumi_oci/osmanagementhub/get_event.py +0 -314
- pulumi_oci/osmanagementhub/get_events.py +0 -314
- pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
- pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
- pulumi_oci/osmanagementhub/get_software_package.py +0 -301
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
- pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
- pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
- pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
- pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
- pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715707046.dist-info}/top_level.txt +0 -0
@@ -1,314 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import pulumi
|
8
|
-
import pulumi.runtime
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
-
from .. import _utilities
|
11
|
-
from . import outputs
|
12
|
-
from ._inputs import *
|
13
|
-
|
14
|
-
__all__ = [
|
15
|
-
'GetEventsResult',
|
16
|
-
'AwaitableGetEventsResult',
|
17
|
-
'get_events',
|
18
|
-
'get_events_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetEventsResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getEvents.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, compartment_id=None, event_collections=None, event_fingerprint=None, event_summary=None, event_summary_contains=None, filters=None, id=None, is_managed_by_autonomous_linux=None, resource_id=None, state=None, time_created_greater_than_or_equal_to=None, time_created_less_than=None, types=None):
|
27
|
-
if compartment_id and not isinstance(compartment_id, str):
|
28
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
-
if event_collections and not isinstance(event_collections, list):
|
31
|
-
raise TypeError("Expected argument 'event_collections' to be a list")
|
32
|
-
pulumi.set(__self__, "event_collections", event_collections)
|
33
|
-
if event_fingerprint and not isinstance(event_fingerprint, str):
|
34
|
-
raise TypeError("Expected argument 'event_fingerprint' to be a str")
|
35
|
-
pulumi.set(__self__, "event_fingerprint", event_fingerprint)
|
36
|
-
if event_summary and not isinstance(event_summary, str):
|
37
|
-
raise TypeError("Expected argument 'event_summary' to be a str")
|
38
|
-
pulumi.set(__self__, "event_summary", event_summary)
|
39
|
-
if event_summary_contains and not isinstance(event_summary_contains, str):
|
40
|
-
raise TypeError("Expected argument 'event_summary_contains' to be a str")
|
41
|
-
pulumi.set(__self__, "event_summary_contains", event_summary_contains)
|
42
|
-
if filters and not isinstance(filters, list):
|
43
|
-
raise TypeError("Expected argument 'filters' to be a list")
|
44
|
-
pulumi.set(__self__, "filters", filters)
|
45
|
-
if id and not isinstance(id, str):
|
46
|
-
raise TypeError("Expected argument 'id' to be a str")
|
47
|
-
pulumi.set(__self__, "id", id)
|
48
|
-
if is_managed_by_autonomous_linux and not isinstance(is_managed_by_autonomous_linux, bool):
|
49
|
-
raise TypeError("Expected argument 'is_managed_by_autonomous_linux' to be a bool")
|
50
|
-
pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
|
51
|
-
if resource_id and not isinstance(resource_id, str):
|
52
|
-
raise TypeError("Expected argument 'resource_id' to be a str")
|
53
|
-
pulumi.set(__self__, "resource_id", resource_id)
|
54
|
-
if state and not isinstance(state, str):
|
55
|
-
raise TypeError("Expected argument 'state' to be a str")
|
56
|
-
pulumi.set(__self__, "state", state)
|
57
|
-
if time_created_greater_than_or_equal_to and not isinstance(time_created_greater_than_or_equal_to, str):
|
58
|
-
raise TypeError("Expected argument 'time_created_greater_than_or_equal_to' to be a str")
|
59
|
-
pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to)
|
60
|
-
if time_created_less_than and not isinstance(time_created_less_than, str):
|
61
|
-
raise TypeError("Expected argument 'time_created_less_than' to be a str")
|
62
|
-
pulumi.set(__self__, "time_created_less_than", time_created_less_than)
|
63
|
-
if types and not isinstance(types, list):
|
64
|
-
raise TypeError("Expected argument 'types' to be a list")
|
65
|
-
pulumi.set(__self__, "types", types)
|
66
|
-
|
67
|
-
@property
|
68
|
-
@pulumi.getter(name="compartmentId")
|
69
|
-
def compartment_id(self) -> Optional[str]:
|
70
|
-
"""
|
71
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
72
|
-
"""
|
73
|
-
return pulumi.get(self, "compartment_id")
|
74
|
-
|
75
|
-
@property
|
76
|
-
@pulumi.getter(name="eventCollections")
|
77
|
-
def event_collections(self) -> Sequence['outputs.GetEventsEventCollectionResult']:
|
78
|
-
"""
|
79
|
-
The list of event_collection.
|
80
|
-
"""
|
81
|
-
return pulumi.get(self, "event_collections")
|
82
|
-
|
83
|
-
@property
|
84
|
-
@pulumi.getter(name="eventFingerprint")
|
85
|
-
def event_fingerprint(self) -> Optional[str]:
|
86
|
-
"""
|
87
|
-
Fingerprint of the event.
|
88
|
-
"""
|
89
|
-
return pulumi.get(self, "event_fingerprint")
|
90
|
-
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="eventSummary")
|
93
|
-
def event_summary(self) -> Optional[str]:
|
94
|
-
"""
|
95
|
-
Summary of the event.
|
96
|
-
"""
|
97
|
-
return pulumi.get(self, "event_summary")
|
98
|
-
|
99
|
-
@property
|
100
|
-
@pulumi.getter(name="eventSummaryContains")
|
101
|
-
def event_summary_contains(self) -> Optional[str]:
|
102
|
-
return pulumi.get(self, "event_summary_contains")
|
103
|
-
|
104
|
-
@property
|
105
|
-
@pulumi.getter
|
106
|
-
def filters(self) -> Optional[Sequence['outputs.GetEventsFilterResult']]:
|
107
|
-
return pulumi.get(self, "filters")
|
108
|
-
|
109
|
-
@property
|
110
|
-
@pulumi.getter
|
111
|
-
def id(self) -> Optional[str]:
|
112
|
-
"""
|
113
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
|
114
|
-
"""
|
115
|
-
return pulumi.get(self, "id")
|
116
|
-
|
117
|
-
@property
|
118
|
-
@pulumi.getter(name="isManagedByAutonomousLinux")
|
119
|
-
def is_managed_by_autonomous_linux(self) -> Optional[bool]:
|
120
|
-
"""
|
121
|
-
Indicates whether the event occurred on a resource that is managed by the Autonomous Linux service.
|
122
|
-
"""
|
123
|
-
return pulumi.get(self, "is_managed_by_autonomous_linux")
|
124
|
-
|
125
|
-
@property
|
126
|
-
@pulumi.getter(name="resourceId")
|
127
|
-
def resource_id(self) -> Optional[str]:
|
128
|
-
"""
|
129
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance or resource where the event occurred.
|
130
|
-
"""
|
131
|
-
return pulumi.get(self, "resource_id")
|
132
|
-
|
133
|
-
@property
|
134
|
-
@pulumi.getter
|
135
|
-
def state(self) -> Optional[str]:
|
136
|
-
"""
|
137
|
-
The current state of the event.
|
138
|
-
"""
|
139
|
-
return pulumi.get(self, "state")
|
140
|
-
|
141
|
-
@property
|
142
|
-
@pulumi.getter(name="timeCreatedGreaterThanOrEqualTo")
|
143
|
-
def time_created_greater_than_or_equal_to(self) -> Optional[str]:
|
144
|
-
return pulumi.get(self, "time_created_greater_than_or_equal_to")
|
145
|
-
|
146
|
-
@property
|
147
|
-
@pulumi.getter(name="timeCreatedLessThan")
|
148
|
-
def time_created_less_than(self) -> Optional[str]:
|
149
|
-
return pulumi.get(self, "time_created_less_than")
|
150
|
-
|
151
|
-
@property
|
152
|
-
@pulumi.getter
|
153
|
-
def types(self) -> Optional[Sequence[str]]:
|
154
|
-
"""
|
155
|
-
Event type:
|
156
|
-
"""
|
157
|
-
return pulumi.get(self, "types")
|
158
|
-
|
159
|
-
|
160
|
-
class AwaitableGetEventsResult(GetEventsResult):
|
161
|
-
# pylint: disable=using-constant-test
|
162
|
-
def __await__(self):
|
163
|
-
if False:
|
164
|
-
yield self
|
165
|
-
return GetEventsResult(
|
166
|
-
compartment_id=self.compartment_id,
|
167
|
-
event_collections=self.event_collections,
|
168
|
-
event_fingerprint=self.event_fingerprint,
|
169
|
-
event_summary=self.event_summary,
|
170
|
-
event_summary_contains=self.event_summary_contains,
|
171
|
-
filters=self.filters,
|
172
|
-
id=self.id,
|
173
|
-
is_managed_by_autonomous_linux=self.is_managed_by_autonomous_linux,
|
174
|
-
resource_id=self.resource_id,
|
175
|
-
state=self.state,
|
176
|
-
time_created_greater_than_or_equal_to=self.time_created_greater_than_or_equal_to,
|
177
|
-
time_created_less_than=self.time_created_less_than,
|
178
|
-
types=self.types)
|
179
|
-
|
180
|
-
|
181
|
-
def get_events(compartment_id: Optional[str] = None,
|
182
|
-
event_fingerprint: Optional[str] = None,
|
183
|
-
event_summary: Optional[str] = None,
|
184
|
-
event_summary_contains: Optional[str] = None,
|
185
|
-
filters: Optional[Sequence[pulumi.InputType['GetEventsFilterArgs']]] = None,
|
186
|
-
id: Optional[str] = None,
|
187
|
-
is_managed_by_autonomous_linux: Optional[bool] = None,
|
188
|
-
resource_id: Optional[str] = None,
|
189
|
-
state: Optional[str] = None,
|
190
|
-
time_created_greater_than_or_equal_to: Optional[str] = None,
|
191
|
-
time_created_less_than: Optional[str] = None,
|
192
|
-
types: Optional[Sequence[str]] = None,
|
193
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEventsResult:
|
194
|
-
"""
|
195
|
-
This data source provides the list of Events in Oracle Cloud Infrastructure Os Management Hub service.
|
196
|
-
|
197
|
-
Lists events that match the specified criteria, such as compartment, state, and event type.
|
198
|
-
|
199
|
-
## Example Usage
|
200
|
-
|
201
|
-
```python
|
202
|
-
import pulumi
|
203
|
-
import pulumi_oci as oci
|
204
|
-
|
205
|
-
test_events = oci.OsManagementHub.get_events(compartment_id=compartment_id,
|
206
|
-
event_fingerprint=event_event_fingerprint,
|
207
|
-
event_summary=event_event_summary,
|
208
|
-
event_summary_contains=event_event_summary_contains,
|
209
|
-
id=event_id,
|
210
|
-
is_managed_by_autonomous_linux=event_is_managed_by_autonomous_linux,
|
211
|
-
resource_id=test_resource["id"],
|
212
|
-
state=event_state,
|
213
|
-
time_created_greater_than_or_equal_to=event_time_created_greater_than_or_equal_to,
|
214
|
-
time_created_less_than=event_time_created_less_than,
|
215
|
-
types=event_type)
|
216
|
-
```
|
217
|
-
|
218
|
-
|
219
|
-
:param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
220
|
-
:param str event_fingerprint: The eventFingerprint of the KernelEventData.
|
221
|
-
:param str event_summary: A filter to return only events whose summary matches the given value.
|
222
|
-
:param str event_summary_contains: A filter to return only events with a summary that contains the value provided.
|
223
|
-
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
|
224
|
-
:param bool is_managed_by_autonomous_linux: Indicates whether to list only resources managed by the Autonomous Linux service.
|
225
|
-
:param str resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. This filter returns resources associated with the specified resource.
|
226
|
-
:param str state: A filter to return only events that match the state provided. The state value is case-insensitive.
|
227
|
-
:param str time_created_greater_than_or_equal_to: A filter that returns events that occurred on or after the date provided. Example: `2016-08-25T21:10:29.600Z`
|
228
|
-
:param str time_created_less_than: A filter that returns events that occurred on or before the date provided. Example: `2016-08-25T21:10:29.600Z`
|
229
|
-
:param Sequence[str] types: A filter to return only resources whose type matches the given value.
|
230
|
-
"""
|
231
|
-
__args__ = dict()
|
232
|
-
__args__['compartmentId'] = compartment_id
|
233
|
-
__args__['eventFingerprint'] = event_fingerprint
|
234
|
-
__args__['eventSummary'] = event_summary
|
235
|
-
__args__['eventSummaryContains'] = event_summary_contains
|
236
|
-
__args__['filters'] = filters
|
237
|
-
__args__['id'] = id
|
238
|
-
__args__['isManagedByAutonomousLinux'] = is_managed_by_autonomous_linux
|
239
|
-
__args__['resourceId'] = resource_id
|
240
|
-
__args__['state'] = state
|
241
|
-
__args__['timeCreatedGreaterThanOrEqualTo'] = time_created_greater_than_or_equal_to
|
242
|
-
__args__['timeCreatedLessThan'] = time_created_less_than
|
243
|
-
__args__['types'] = types
|
244
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
245
|
-
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getEvents:getEvents', __args__, opts=opts, typ=GetEventsResult).value
|
246
|
-
|
247
|
-
return AwaitableGetEventsResult(
|
248
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
249
|
-
event_collections=pulumi.get(__ret__, 'event_collections'),
|
250
|
-
event_fingerprint=pulumi.get(__ret__, 'event_fingerprint'),
|
251
|
-
event_summary=pulumi.get(__ret__, 'event_summary'),
|
252
|
-
event_summary_contains=pulumi.get(__ret__, 'event_summary_contains'),
|
253
|
-
filters=pulumi.get(__ret__, 'filters'),
|
254
|
-
id=pulumi.get(__ret__, 'id'),
|
255
|
-
is_managed_by_autonomous_linux=pulumi.get(__ret__, 'is_managed_by_autonomous_linux'),
|
256
|
-
resource_id=pulumi.get(__ret__, 'resource_id'),
|
257
|
-
state=pulumi.get(__ret__, 'state'),
|
258
|
-
time_created_greater_than_or_equal_to=pulumi.get(__ret__, 'time_created_greater_than_or_equal_to'),
|
259
|
-
time_created_less_than=pulumi.get(__ret__, 'time_created_less_than'),
|
260
|
-
types=pulumi.get(__ret__, 'types'))
|
261
|
-
|
262
|
-
|
263
|
-
@_utilities.lift_output_func(get_events)
|
264
|
-
def get_events_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
265
|
-
event_fingerprint: Optional[pulumi.Input[Optional[str]]] = None,
|
266
|
-
event_summary: Optional[pulumi.Input[Optional[str]]] = None,
|
267
|
-
event_summary_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
268
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetEventsFilterArgs']]]]] = None,
|
269
|
-
id: Optional[pulumi.Input[Optional[str]]] = None,
|
270
|
-
is_managed_by_autonomous_linux: Optional[pulumi.Input[Optional[bool]]] = None,
|
271
|
-
resource_id: Optional[pulumi.Input[Optional[str]]] = None,
|
272
|
-
state: Optional[pulumi.Input[Optional[str]]] = None,
|
273
|
-
time_created_greater_than_or_equal_to: Optional[pulumi.Input[Optional[str]]] = None,
|
274
|
-
time_created_less_than: Optional[pulumi.Input[Optional[str]]] = None,
|
275
|
-
types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
276
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEventsResult]:
|
277
|
-
"""
|
278
|
-
This data source provides the list of Events in Oracle Cloud Infrastructure Os Management Hub service.
|
279
|
-
|
280
|
-
Lists events that match the specified criteria, such as compartment, state, and event type.
|
281
|
-
|
282
|
-
## Example Usage
|
283
|
-
|
284
|
-
```python
|
285
|
-
import pulumi
|
286
|
-
import pulumi_oci as oci
|
287
|
-
|
288
|
-
test_events = oci.OsManagementHub.get_events(compartment_id=compartment_id,
|
289
|
-
event_fingerprint=event_event_fingerprint,
|
290
|
-
event_summary=event_event_summary,
|
291
|
-
event_summary_contains=event_event_summary_contains,
|
292
|
-
id=event_id,
|
293
|
-
is_managed_by_autonomous_linux=event_is_managed_by_autonomous_linux,
|
294
|
-
resource_id=test_resource["id"],
|
295
|
-
state=event_state,
|
296
|
-
time_created_greater_than_or_equal_to=event_time_created_greater_than_or_equal_to,
|
297
|
-
time_created_less_than=event_time_created_less_than,
|
298
|
-
types=event_type)
|
299
|
-
```
|
300
|
-
|
301
|
-
|
302
|
-
:param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
303
|
-
:param str event_fingerprint: The eventFingerprint of the KernelEventData.
|
304
|
-
:param str event_summary: A filter to return only events whose summary matches the given value.
|
305
|
-
:param str event_summary_contains: A filter to return only events with a summary that contains the value provided.
|
306
|
-
:param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the event.
|
307
|
-
:param bool is_managed_by_autonomous_linux: Indicates whether to list only resources managed by the Autonomous Linux service.
|
308
|
-
:param str resource_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. This filter returns resources associated with the specified resource.
|
309
|
-
:param str state: A filter to return only events that match the state provided. The state value is case-insensitive.
|
310
|
-
:param str time_created_greater_than_or_equal_to: A filter that returns events that occurred on or after the date provided. Example: `2016-08-25T21:10:29.600Z`
|
311
|
-
:param str time_created_less_than: A filter that returns events that occurred on or before the date provided. Example: `2016-08-25T21:10:29.600Z`
|
312
|
-
:param Sequence[str] types: A filter to return only resources whose type matches the given value.
|
313
|
-
"""
|
314
|
-
...
|