pulumi-oci 1.36.0a1715383492__py3-none-any.whl → 1.36.0a1715878445__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 (119) hide show
  1. pulumi_oci/__init__.py +208 -0
  2. pulumi_oci/core/__init__.py +3 -0
  3. pulumi_oci/core/_inputs.py +40 -0
  4. pulumi_oci/core/get_ip_inventory_subnet.py +171 -0
  5. pulumi_oci/core/get_ip_inventory_subnet_cidr.py +171 -0
  6. pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +206 -0
  7. pulumi_oci/core/outputs.py +261 -0
  8. pulumi_oci/database/_inputs.py +192 -0
  9. pulumi_oci/database/exadata_infrastructure.py +28 -0
  10. pulumi_oci/database/get_exadata_infrastructure.py +14 -1
  11. pulumi_oci/database/get_vm_cluster.py +14 -1
  12. pulumi_oci/database/outputs.py +418 -0
  13. pulumi_oci/database/vm_cluster.py +55 -0
  14. pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
  15. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
  16. pulumi_oci/datasafe/__init__.py +1 -0
  17. pulumi_oci/datasafe/masking_report_management.py +693 -0
  18. pulumi_oci/email/__init__.py +3 -0
  19. pulumi_oci/email/_inputs.py +46 -0
  20. pulumi_oci/email/dkim.py +4 -4
  21. pulumi_oci/email/email_domain.py +77 -0
  22. pulumi_oci/email/email_return_path.py +642 -0
  23. pulumi_oci/email/get_email_domain.py +27 -1
  24. pulumi_oci/email/get_email_return_path.py +274 -0
  25. pulumi_oci/email/get_email_return_paths.py +203 -0
  26. pulumi_oci/email/outputs.py +231 -0
  27. pulumi_oci/loadbalancer/_inputs.py +16 -0
  28. pulumi_oci/loadbalancer/listener.py +2 -0
  29. pulumi_oci/loadbalancer/outputs.py +14 -0
  30. pulumi_oci/loganalytics/namespace.py +4 -4
  31. pulumi_oci/networkloadbalancer/get_listener.py +14 -1
  32. pulumi_oci/networkloadbalancer/listener.py +51 -2
  33. pulumi_oci/networkloadbalancer/outputs.py +11 -0
  34. pulumi_oci/osmanagementhub/__init__.py +48 -0
  35. pulumi_oci/osmanagementhub/_inputs.py +3635 -493
  36. pulumi_oci/osmanagementhub/event.py +701 -0
  37. pulumi_oci/osmanagementhub/get_entitlements.py +178 -0
  38. pulumi_oci/osmanagementhub/get_errata.py +283 -0
  39. pulumi_oci/osmanagementhub/get_erratum.py +308 -0
  40. pulumi_oci/osmanagementhub/get_event.py +314 -0
  41. pulumi_oci/osmanagementhub/get_events.py +314 -0
  42. pulumi_oci/osmanagementhub/get_lifecycle_environment.py +26 -13
  43. pulumi_oci/osmanagementhub/get_lifecycle_environments.py +48 -11
  44. pulumi_oci/osmanagementhub/get_lifecycle_stage.py +28 -15
  45. pulumi_oci/osmanagementhub/get_lifecycle_stages.py +86 -19
  46. pulumi_oci/osmanagementhub/get_managed_instance.py +587 -0
  47. pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +187 -0
  48. pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +190 -0
  49. pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +238 -0
  50. pulumi_oci/osmanagementhub/get_managed_instance_errata.py +204 -0
  51. pulumi_oci/osmanagementhub/get_managed_instance_group.py +62 -10
  52. pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +7 -9
  53. pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
  54. pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +8 -10
  55. pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +220 -0
  56. pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +244 -0
  57. pulumi_oci/osmanagementhub/get_managed_instance_groups.py +71 -16
  58. pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +221 -0
  59. pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +204 -0
  60. pulumi_oci/osmanagementhub/get_managed_instance_modules.py +187 -0
  61. pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +221 -0
  62. pulumi_oci/osmanagementhub/get_managed_instances.py +537 -0
  63. pulumi_oci/osmanagementhub/get_management_station.py +42 -19
  64. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
  65. pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
  66. pulumi_oci/osmanagementhub/get_profile.py +51 -12
  67. pulumi_oci/osmanagementhub/get_profiles.py +76 -16
  68. pulumi_oci/osmanagementhub/get_scheduled_job.py +426 -0
  69. pulumi_oci/osmanagementhub/get_scheduled_jobs.py +433 -0
  70. pulumi_oci/osmanagementhub/get_software_package.py +301 -0
  71. pulumi_oci/osmanagementhub/get_software_package_software_source.py +329 -0
  72. pulumi_oci/osmanagementhub/get_software_packages.py +232 -0
  73. pulumi_oci/osmanagementhub/get_software_source.py +109 -18
  74. pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
  75. pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
  76. pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
  77. pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
  78. pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
  79. pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
  80. pulumi_oci/osmanagementhub/get_software_source_software_package.py +23 -10
  81. pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
  82. pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
  83. pulumi_oci/osmanagementhub/get_software_sources.py +78 -21
  84. pulumi_oci/osmanagementhub/get_windows_update.py +222 -0
  85. pulumi_oci/osmanagementhub/get_windows_updates.py +187 -0
  86. pulumi_oci/osmanagementhub/lifecycle_environment.py +159 -86
  87. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +249 -0
  88. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +249 -0
  89. pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +296 -0
  90. pulumi_oci/osmanagementhub/managed_instance.py +1327 -0
  91. pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +266 -0
  92. pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +214 -0
  93. pulumi_oci/osmanagementhub/managed_instance_group.py +264 -86
  94. pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +293 -0
  95. pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +293 -0
  96. pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +264 -0
  97. pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +293 -0
  98. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +293 -0
  99. pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +293 -0
  100. pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +526 -0
  101. pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +293 -0
  102. pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +292 -0
  103. pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +341 -0
  104. pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +341 -0
  105. pulumi_oci/osmanagementhub/management_station.py +184 -81
  106. pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +264 -0
  107. pulumi_oci/osmanagementhub/management_station_refresh_management.py +212 -0
  108. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +264 -0
  109. pulumi_oci/osmanagementhub/outputs.py +10867 -2365
  110. pulumi_oci/osmanagementhub/profile.py +200 -78
  111. pulumi_oci/osmanagementhub/scheduled_job.py +1331 -0
  112. pulumi_oci/osmanagementhub/software_source.py +365 -181
  113. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +266 -0
  114. pulumi_oci/osmanagementhub/software_source_change_availability_management.py +194 -0
  115. pulumi_oci/pulumi-plugin.json +2 -1
  116. {pulumi_oci-1.36.0a1715383492.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/METADATA +1 -1
  117. {pulumi_oci-1.36.0a1715383492.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/RECORD +119 -64
  118. {pulumi_oci-1.36.0a1715383492.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/WHEEL +0 -0
  119. {pulumi_oci-1.36.0a1715383492.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/top_level.txt +0 -0
@@ -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
+ 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
+ ...
@@ -22,7 +22,7 @@ class GetLifecycleEnvironmentResult:
22
22
  """
23
23
  A collection of values returned by getLifecycleEnvironment.
24
24
  """
25
- def __init__(__self__, arch_type=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_environment_id=None, managed_instance_ids=None, os_family=None, stages=None, state=None, system_tags=None, time_created=None, time_modified=None, vendor_name=None):
25
+ def __init__(__self__, arch_type=None, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_environment_id=None, location=None, managed_instance_ids=None, os_family=None, stages=None, state=None, system_tags=None, time_created=None, time_modified=None, vendor_name=None):
26
26
  if arch_type and not isinstance(arch_type, str):
27
27
  raise TypeError("Expected argument 'arch_type' to be a str")
28
28
  pulumi.set(__self__, "arch_type", arch_type)
@@ -47,6 +47,9 @@ class GetLifecycleEnvironmentResult:
47
47
  if lifecycle_environment_id and not isinstance(lifecycle_environment_id, str):
48
48
  raise TypeError("Expected argument 'lifecycle_environment_id' to be a str")
49
49
  pulumi.set(__self__, "lifecycle_environment_id", lifecycle_environment_id)
50
+ if location and not isinstance(location, str):
51
+ raise TypeError("Expected argument 'location' to be a str")
52
+ pulumi.set(__self__, "location", location)
50
53
  if managed_instance_ids and not isinstance(managed_instance_ids, list):
51
54
  raise TypeError("Expected argument 'managed_instance_ids' to be a list")
52
55
  pulumi.set(__self__, "managed_instance_ids", managed_instance_ids)
@@ -76,7 +79,7 @@ class GetLifecycleEnvironmentResult:
76
79
  @pulumi.getter(name="archType")
77
80
  def arch_type(self) -> str:
78
81
  """
79
- The CPU architecture of the target instances.
82
+ The CPU architecture of the managed instances in the lifecycle stage.
80
83
  """
81
84
  return pulumi.get(self, "arch_type")
82
85
 
@@ -84,7 +87,7 @@ class GetLifecycleEnvironmentResult:
84
87
  @pulumi.getter(name="compartmentId")
85
88
  def compartment_id(self) -> str:
86
89
  """
87
- The OCID of the tenancy containing the lifecycle stage.
90
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle stage.
88
91
  """
89
92
  return pulumi.get(self, "compartment_id")
90
93
 
@@ -124,7 +127,7 @@ class GetLifecycleEnvironmentResult:
124
127
  @pulumi.getter
125
128
  def id(self) -> str:
126
129
  """
127
- The OCID of the software source.
130
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
128
131
  """
129
132
  return pulumi.get(self, "id")
130
133
 
@@ -132,15 +135,23 @@ class GetLifecycleEnvironmentResult:
132
135
  @pulumi.getter(name="lifecycleEnvironmentId")
133
136
  def lifecycle_environment_id(self) -> str:
134
137
  """
135
- The OCID of the lifecycle environment for the lifecycle stage.
138
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment that contains the lifecycle stage.
136
139
  """
137
140
  return pulumi.get(self, "lifecycle_environment_id")
138
141
 
142
+ @property
143
+ @pulumi.getter
144
+ def location(self) -> str:
145
+ """
146
+ The location of managed instances associated with the lifecycle stage.
147
+ """
148
+ return pulumi.get(self, "location")
149
+
139
150
  @property
140
151
  @pulumi.getter(name="managedInstanceIds")
141
152
  def managed_instance_ids(self) -> Sequence['outputs.GetLifecycleEnvironmentManagedInstanceIdResult']:
142
153
  """
143
- The list of managed instances specified lifecycle stage.
154
+ The list of managed instances associated with the lifecycle stage.
144
155
  """
145
156
  return pulumi.get(self, "managed_instance_ids")
146
157
 
@@ -148,7 +159,7 @@ class GetLifecycleEnvironmentResult:
148
159
  @pulumi.getter(name="osFamily")
149
160
  def os_family(self) -> str:
150
161
  """
151
- The operating system type of the target instances.
162
+ The operating system of the managed instances in the lifecycle stage.
152
163
  """
153
164
  return pulumi.get(self, "os_family")
154
165
 
@@ -156,7 +167,7 @@ class GetLifecycleEnvironmentResult:
156
167
  @pulumi.getter
157
168
  def stages(self) -> Sequence['outputs.GetLifecycleEnvironmentStageResult']:
158
169
  """
159
- User specified list of lifecycle stages to be created for the lifecycle environment.
170
+ User-specified list of lifecycle stages used within the lifecycle environment.
160
171
  """
161
172
  return pulumi.get(self, "stages")
162
173
 
@@ -180,7 +191,7 @@ class GetLifecycleEnvironmentResult:
180
191
  @pulumi.getter(name="timeCreated")
181
192
  def time_created(self) -> str:
182
193
  """
183
- The time the lifecycle environment was created. An RFC3339 formatted datetime string.
194
+ The time the lifecycle environment was created (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
184
195
  """
185
196
  return pulumi.get(self, "time_created")
186
197
 
@@ -188,7 +199,7 @@ class GetLifecycleEnvironmentResult:
188
199
  @pulumi.getter(name="timeModified")
189
200
  def time_modified(self) -> str:
190
201
  """
191
- The time the lifecycle environment was last modified. An RFC3339 formatted datetime string.
202
+ The time the lifecycle environment was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
192
203
  """
193
204
  return pulumi.get(self, "time_modified")
194
205
 
@@ -196,7 +207,7 @@ class GetLifecycleEnvironmentResult:
196
207
  @pulumi.getter(name="vendorName")
197
208
  def vendor_name(self) -> str:
198
209
  """
199
- The software source vendor name.
210
+ The vendor of the operating system used by the managed instances in the lifecycle environment.
200
211
  """
201
212
  return pulumi.get(self, "vendor_name")
202
213
 
@@ -215,6 +226,7 @@ class AwaitableGetLifecycleEnvironmentResult(GetLifecycleEnvironmentResult):
215
226
  freeform_tags=self.freeform_tags,
216
227
  id=self.id,
217
228
  lifecycle_environment_id=self.lifecycle_environment_id,
229
+ location=self.location,
218
230
  managed_instance_ids=self.managed_instance_ids,
219
231
  os_family=self.os_family,
220
232
  stages=self.stages,
@@ -242,7 +254,7 @@ def get_lifecycle_environment(lifecycle_environment_id: Optional[str] = None,
242
254
  ```
243
255
 
244
256
 
245
- :param str lifecycle_environment_id: The OCID of the lifecycle environment.
257
+ :param str lifecycle_environment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
246
258
  """
247
259
  __args__ = dict()
248
260
  __args__['lifecycleEnvironmentId'] = lifecycle_environment_id
@@ -258,6 +270,7 @@ def get_lifecycle_environment(lifecycle_environment_id: Optional[str] = None,
258
270
  freeform_tags=pulumi.get(__ret__, 'freeform_tags'),
259
271
  id=pulumi.get(__ret__, 'id'),
260
272
  lifecycle_environment_id=pulumi.get(__ret__, 'lifecycle_environment_id'),
273
+ location=pulumi.get(__ret__, 'location'),
261
274
  managed_instance_ids=pulumi.get(__ret__, 'managed_instance_ids'),
262
275
  os_family=pulumi.get(__ret__, 'os_family'),
263
276
  stages=pulumi.get(__ret__, 'stages'),
@@ -286,6 +299,6 @@ def get_lifecycle_environment_output(lifecycle_environment_id: Optional[pulumi.I
286
299
  ```
287
300
 
288
301
 
289
- :param str lifecycle_environment_id: The OCID of the lifecycle environment.
302
+ :param str lifecycle_environment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
290
303
  """
291
304
  ...
@@ -23,7 +23,7 @@ class GetLifecycleEnvironmentsResult:
23
23
  """
24
24
  A collection of values returned by getLifecycleEnvironments.
25
25
  """
26
- def __init__(__self__, arch_type=None, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, lifecycle_environment_collections=None, lifecycle_environment_id=None, os_family=None, state=None):
26
+ def __init__(__self__, arch_type=None, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, lifecycle_environment_collections=None, lifecycle_environment_id=None, location_not_equal_tos=None, locations=None, os_family=None, state=None):
27
27
  if arch_type and not isinstance(arch_type, str):
28
28
  raise TypeError("Expected argument 'arch_type' to be a str")
29
29
  pulumi.set(__self__, "arch_type", arch_type)
@@ -48,6 +48,12 @@ class GetLifecycleEnvironmentsResult:
48
48
  if lifecycle_environment_id and not isinstance(lifecycle_environment_id, str):
49
49
  raise TypeError("Expected argument 'lifecycle_environment_id' to be a str")
50
50
  pulumi.set(__self__, "lifecycle_environment_id", lifecycle_environment_id)
51
+ if location_not_equal_tos and not isinstance(location_not_equal_tos, list):
52
+ raise TypeError("Expected argument 'location_not_equal_tos' to be a list")
53
+ pulumi.set(__self__, "location_not_equal_tos", location_not_equal_tos)
54
+ if locations and not isinstance(locations, list):
55
+ raise TypeError("Expected argument 'locations' to be a list")
56
+ pulumi.set(__self__, "locations", locations)
51
57
  if os_family and not isinstance(os_family, str):
52
58
  raise TypeError("Expected argument 'os_family' to be a str")
53
59
  pulumi.set(__self__, "os_family", os_family)
@@ -59,7 +65,7 @@ class GetLifecycleEnvironmentsResult:
59
65
  @pulumi.getter(name="archType")
60
66
  def arch_type(self) -> Optional[str]:
61
67
  """
62
- The CPU architecture of the target instances.
68
+ The CPU architecture of the managed instances in the lifecycle stage.
63
69
  """
64
70
  return pulumi.get(self, "arch_type")
65
71
 
@@ -67,7 +73,7 @@ class GetLifecycleEnvironmentsResult:
67
73
  @pulumi.getter(name="compartmentId")
68
74
  def compartment_id(self) -> Optional[str]:
69
75
  """
70
- The OCID of the tenancy containing the lifecycle stage.
76
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the lifecycle stage.
71
77
  """
72
78
  return pulumi.get(self, "compartment_id")
73
79
 
@@ -109,15 +115,28 @@ class GetLifecycleEnvironmentsResult:
109
115
  @pulumi.getter(name="lifecycleEnvironmentId")
110
116
  def lifecycle_environment_id(self) -> Optional[str]:
111
117
  """
112
- The OCID of the lifecycle environment for the lifecycle stage.
118
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment that contains the lifecycle stage.
113
119
  """
114
120
  return pulumi.get(self, "lifecycle_environment_id")
115
121
 
122
+ @property
123
+ @pulumi.getter(name="locationNotEqualTos")
124
+ def location_not_equal_tos(self) -> Optional[Sequence[str]]:
125
+ return pulumi.get(self, "location_not_equal_tos")
126
+
127
+ @property
128
+ @pulumi.getter
129
+ def locations(self) -> Optional[Sequence[str]]:
130
+ """
131
+ The location of managed instances associated with the lifecycle stage.
132
+ """
133
+ return pulumi.get(self, "locations")
134
+
116
135
  @property
117
136
  @pulumi.getter(name="osFamily")
118
137
  def os_family(self) -> Optional[str]:
119
138
  """
120
- The operating system type of the target instances.
139
+ The operating system of the managed instances in the lifecycle stage.
121
140
  """
122
141
  return pulumi.get(self, "os_family")
123
142
 
@@ -144,6 +163,8 @@ class AwaitableGetLifecycleEnvironmentsResult(GetLifecycleEnvironmentsResult):
144
163
  id=self.id,
145
164
  lifecycle_environment_collections=self.lifecycle_environment_collections,
146
165
  lifecycle_environment_id=self.lifecycle_environment_id,
166
+ location_not_equal_tos=self.location_not_equal_tos,
167
+ locations=self.locations,
147
168
  os_family=self.os_family,
148
169
  state=self.state)
149
170
 
@@ -154,6 +175,8 @@ def get_lifecycle_environments(arch_type: Optional[str] = None,
154
175
  display_names: Optional[Sequence[str]] = None,
155
176
  filters: Optional[Sequence[pulumi.InputType['GetLifecycleEnvironmentsFilterArgs']]] = None,
156
177
  lifecycle_environment_id: Optional[str] = None,
178
+ location_not_equal_tos: Optional[Sequence[str]] = None,
179
+ locations: Optional[Sequence[str]] = None,
157
180
  os_family: Optional[str] = None,
158
181
  state: Optional[str] = None,
159
182
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLifecycleEnvironmentsResult:
@@ -174,17 +197,21 @@ def get_lifecycle_environments(arch_type: Optional[str] = None,
174
197
  display_names=lifecycle_environment_display_name,
175
198
  display_name_contains=lifecycle_environment_display_name_contains,
176
199
  lifecycle_environment_id=test_lifecycle_environment["id"],
200
+ locations=lifecycle_environment_location,
201
+ location_not_equal_tos=lifecycle_environment_location_not_equal_to,
177
202
  os_family=lifecycle_environment_os_family,
178
203
  state=lifecycle_environment_state)
179
204
  ```
180
205
 
181
206
 
182
207
  :param str arch_type: A filter to return only profiles that match the given archType.
183
- :param str compartment_id: The OCID of the compartment that contains the resources to list.
208
+ :param str compartment_id: (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
184
209
  :param str display_name_contains: A filter to return resources that may partially match the given display name.
185
210
  :param Sequence[str] display_names: A filter to return resources that match the given display names.
186
- :param str lifecycle_environment_id: The OCID of the lifecycle environment.
187
- :param str os_family: A filter to return only profiles that match the given osFamily.
211
+ :param str lifecycle_environment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
212
+ :param Sequence[str] location_not_equal_tos: A filter to return only resources whose location does not match the given value.
213
+ :param Sequence[str] locations: A filter to return only resources whose location matches the given value.
214
+ :param str os_family: A filter to return only resources that match the given operating system family.
188
215
  :param str state: A filter to return only the lifecycle environments that match the display name given.
189
216
  """
190
217
  __args__ = dict()
@@ -194,6 +221,8 @@ def get_lifecycle_environments(arch_type: Optional[str] = None,
194
221
  __args__['displayNames'] = display_names
195
222
  __args__['filters'] = filters
196
223
  __args__['lifecycleEnvironmentId'] = lifecycle_environment_id
224
+ __args__['locationNotEqualTos'] = location_not_equal_tos
225
+ __args__['locations'] = locations
197
226
  __args__['osFamily'] = os_family
198
227
  __args__['state'] = state
199
228
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
@@ -208,6 +237,8 @@ def get_lifecycle_environments(arch_type: Optional[str] = None,
208
237
  id=pulumi.get(__ret__, 'id'),
209
238
  lifecycle_environment_collections=pulumi.get(__ret__, 'lifecycle_environment_collections'),
210
239
  lifecycle_environment_id=pulumi.get(__ret__, 'lifecycle_environment_id'),
240
+ location_not_equal_tos=pulumi.get(__ret__, 'location_not_equal_tos'),
241
+ locations=pulumi.get(__ret__, 'locations'),
211
242
  os_family=pulumi.get(__ret__, 'os_family'),
212
243
  state=pulumi.get(__ret__, 'state'))
213
244
 
@@ -219,6 +250,8 @@ def get_lifecycle_environments_output(arch_type: Optional[pulumi.Input[Optional[
219
250
  display_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
220
251
  filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetLifecycleEnvironmentsFilterArgs']]]]] = None,
221
252
  lifecycle_environment_id: Optional[pulumi.Input[Optional[str]]] = None,
253
+ location_not_equal_tos: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
254
+ locations: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
222
255
  os_family: Optional[pulumi.Input[Optional[str]]] = None,
223
256
  state: Optional[pulumi.Input[Optional[str]]] = None,
224
257
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLifecycleEnvironmentsResult]:
@@ -239,17 +272,21 @@ def get_lifecycle_environments_output(arch_type: Optional[pulumi.Input[Optional[
239
272
  display_names=lifecycle_environment_display_name,
240
273
  display_name_contains=lifecycle_environment_display_name_contains,
241
274
  lifecycle_environment_id=test_lifecycle_environment["id"],
275
+ locations=lifecycle_environment_location,
276
+ location_not_equal_tos=lifecycle_environment_location_not_equal_to,
242
277
  os_family=lifecycle_environment_os_family,
243
278
  state=lifecycle_environment_state)
244
279
  ```
245
280
 
246
281
 
247
282
  :param str arch_type: A filter to return only profiles that match the given archType.
248
- :param str compartment_id: The OCID of the compartment that contains the resources to list.
283
+ :param str compartment_id: (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
249
284
  :param str display_name_contains: A filter to return resources that may partially match the given display name.
250
285
  :param Sequence[str] display_names: A filter to return resources that match the given display names.
251
- :param str lifecycle_environment_id: The OCID of the lifecycle environment.
252
- :param str os_family: A filter to return only profiles that match the given osFamily.
286
+ :param str lifecycle_environment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle environment.
287
+ :param Sequence[str] location_not_equal_tos: A filter to return only resources whose location does not match the given value.
288
+ :param Sequence[str] locations: A filter to return only resources whose location matches the given value.
289
+ :param str os_family: A filter to return only resources that match the given operating system family.
253
290
  :param str state: A filter to return only the lifecycle environments that match the display name given.
254
291
  """
255
292
  ...