pulumi-oci 1.35.0a1715356469__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.
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.35.0a1715356469.dist-info → pulumi_oci-1.36.0.dist-info}/METADATA +1 -1
  117. {pulumi_oci-1.35.0a1715356469.dist-info → pulumi_oci-1.36.0.dist-info}/RECORD +119 -64
  118. {pulumi_oci-1.35.0a1715356469.dist-info → pulumi_oci-1.36.0.dist-info}/WHEEL +0 -0
  119. {pulumi_oci-1.35.0a1715356469.dist-info → pulumi_oci-1.36.0.dist-info}/top_level.txt +0 -0
@@ -23,7 +23,7 @@ class GetManagedInstanceGroupsResult:
23
23
  """
24
24
  A collection of values returned by getManagedInstanceGroups.
25
25
  """
26
- def __init__(__self__, arch_type=None, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, managed_instance_group_collections=None, managed_instance_group_id=None, os_family=None, software_source_id=None, state=None):
26
+ def __init__(__self__, arch_type=None, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, is_managed_by_autonomous_linux=None, location_not_equal_tos=None, locations=None, managed_instance_group_collections=None, managed_instance_group_id=None, os_family=None, software_source_id=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)
@@ -42,6 +42,15 @@ class GetManagedInstanceGroupsResult:
42
42
  if id and not isinstance(id, str):
43
43
  raise TypeError("Expected argument 'id' to be a str")
44
44
  pulumi.set(__self__, "id", id)
45
+ if is_managed_by_autonomous_linux and not isinstance(is_managed_by_autonomous_linux, bool):
46
+ raise TypeError("Expected argument 'is_managed_by_autonomous_linux' to be a bool")
47
+ pulumi.set(__self__, "is_managed_by_autonomous_linux", is_managed_by_autonomous_linux)
48
+ if location_not_equal_tos and not isinstance(location_not_equal_tos, list):
49
+ raise TypeError("Expected argument 'location_not_equal_tos' to be a list")
50
+ pulumi.set(__self__, "location_not_equal_tos", location_not_equal_tos)
51
+ if locations and not isinstance(locations, list):
52
+ raise TypeError("Expected argument 'locations' to be a list")
53
+ pulumi.set(__self__, "locations", locations)
45
54
  if managed_instance_group_collections and not isinstance(managed_instance_group_collections, list):
46
55
  raise TypeError("Expected argument 'managed_instance_group_collections' to be a list")
47
56
  pulumi.set(__self__, "managed_instance_group_collections", managed_instance_group_collections)
@@ -70,7 +79,7 @@ class GetManagedInstanceGroupsResult:
70
79
  @pulumi.getter(name="compartmentId")
71
80
  def compartment_id(self) -> Optional[str]:
72
81
  """
73
- The OCID of the tenancy containing the managed instance group.
82
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the managed instance group.
74
83
  """
75
84
  return pulumi.get(self, "compartment_id")
76
85
 
@@ -100,6 +109,27 @@ class GetManagedInstanceGroupsResult:
100
109
  """
101
110
  return pulumi.get(self, "id")
102
111
 
112
+ @property
113
+ @pulumi.getter(name="isManagedByAutonomousLinux")
114
+ def is_managed_by_autonomous_linux(self) -> Optional[bool]:
115
+ """
116
+ Indicates whether the Autonomous Linux service manages the group.
117
+ """
118
+ return pulumi.get(self, "is_managed_by_autonomous_linux")
119
+
120
+ @property
121
+ @pulumi.getter(name="locationNotEqualTos")
122
+ def location_not_equal_tos(self) -> Optional[Sequence[str]]:
123
+ return pulumi.get(self, "location_not_equal_tos")
124
+
125
+ @property
126
+ @pulumi.getter
127
+ def locations(self) -> Optional[Sequence[str]]:
128
+ """
129
+ The location of managed instances attached to the group.
130
+ """
131
+ return pulumi.get(self, "locations")
132
+
103
133
  @property
104
134
  @pulumi.getter(name="managedInstanceGroupCollections")
105
135
  def managed_instance_group_collections(self) -> Sequence['outputs.GetManagedInstanceGroupsManagedInstanceGroupCollectionResult']:
@@ -147,6 +177,9 @@ class AwaitableGetManagedInstanceGroupsResult(GetManagedInstanceGroupsResult):
147
177
  display_names=self.display_names,
148
178
  filters=self.filters,
149
179
  id=self.id,
180
+ is_managed_by_autonomous_linux=self.is_managed_by_autonomous_linux,
181
+ location_not_equal_tos=self.location_not_equal_tos,
182
+ locations=self.locations,
150
183
  managed_instance_group_collections=self.managed_instance_group_collections,
151
184
  managed_instance_group_id=self.managed_instance_group_id,
152
185
  os_family=self.os_family,
@@ -159,6 +192,9 @@ def get_managed_instance_groups(arch_type: Optional[str] = None,
159
192
  display_name_contains: Optional[str] = None,
160
193
  display_names: Optional[Sequence[str]] = None,
161
194
  filters: Optional[Sequence[pulumi.InputType['GetManagedInstanceGroupsFilterArgs']]] = None,
195
+ is_managed_by_autonomous_linux: Optional[bool] = None,
196
+ location_not_equal_tos: Optional[Sequence[str]] = None,
197
+ locations: Optional[Sequence[str]] = None,
162
198
  managed_instance_group_id: Optional[str] = None,
163
199
  os_family: Optional[str] = None,
164
200
  software_source_id: Optional[str] = None,
@@ -167,8 +203,7 @@ def get_managed_instance_groups(arch_type: Optional[str] = None,
167
203
  """
168
204
  This data source provides the list of Managed Instance Groups in Oracle Cloud Infrastructure Os Management Hub service.
169
205
 
170
- Lists managed instance groups that match the specified compartment or managed instance group OCID. Filter the
171
- list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
206
+ Lists managed instance groups that match the specified compartment or managed instance group [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family.
172
207
 
173
208
  ## Example Usage
174
209
 
@@ -180,6 +215,9 @@ def get_managed_instance_groups(arch_type: Optional[str] = None,
180
215
  compartment_id=compartment_id,
181
216
  display_names=managed_instance_group_display_name,
182
217
  display_name_contains=managed_instance_group_display_name_contains,
218
+ is_managed_by_autonomous_linux=managed_instance_group_is_managed_by_autonomous_linux,
219
+ locations=managed_instance_group_location,
220
+ location_not_equal_tos=managed_instance_group_location_not_equal_to,
183
221
  managed_instance_group_id=test_managed_instance_group["id"],
184
222
  os_family=managed_instance_group_os_family,
185
223
  software_source_id=test_software_source["id"],
@@ -188,13 +226,16 @@ def get_managed_instance_groups(arch_type: Optional[str] = None,
188
226
 
189
227
 
190
228
  :param str arch_type: A filter to return only profiles that match the given archType.
191
- :param str compartment_id: The OCID of the compartment that contains the resources to list.
229
+ :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.
192
230
  :param str display_name_contains: A filter to return resources that may partially match the given display name.
193
231
  :param Sequence[str] display_names: A filter to return resources that match the given display names.
194
- :param str managed_instance_group_id: The OCID of the managed instance group for which to list resources.
195
- :param str os_family: A filter to return only profiles that match the given osFamily.
196
- :param str software_source_id: The OCID for the software source.
197
- :param str state: A filter to return only resources their lifecycle state matches the given lifecycle state.
232
+ :param bool is_managed_by_autonomous_linux: Indicates whether to list only resources managed by the Autonomous Linux service.
233
+ :param Sequence[str] location_not_equal_tos: A filter to return only resources whose location does not match the given value.
234
+ :param Sequence[str] locations: A filter to return only resources whose location matches the given value.
235
+ :param str managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
236
+ :param str os_family: A filter to return only resources that match the given operating system family.
237
+ :param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
238
+ :param str state: A filter to return only managed instance groups that are in the specified state.
198
239
  """
199
240
  __args__ = dict()
200
241
  __args__['archType'] = arch_type
@@ -202,6 +243,9 @@ def get_managed_instance_groups(arch_type: Optional[str] = None,
202
243
  __args__['displayNameContains'] = display_name_contains
203
244
  __args__['displayNames'] = display_names
204
245
  __args__['filters'] = filters
246
+ __args__['isManagedByAutonomousLinux'] = is_managed_by_autonomous_linux
247
+ __args__['locationNotEqualTos'] = location_not_equal_tos
248
+ __args__['locations'] = locations
205
249
  __args__['managedInstanceGroupId'] = managed_instance_group_id
206
250
  __args__['osFamily'] = os_family
207
251
  __args__['softwareSourceId'] = software_source_id
@@ -216,6 +260,9 @@ def get_managed_instance_groups(arch_type: Optional[str] = None,
216
260
  display_names=pulumi.get(__ret__, 'display_names'),
217
261
  filters=pulumi.get(__ret__, 'filters'),
218
262
  id=pulumi.get(__ret__, 'id'),
263
+ is_managed_by_autonomous_linux=pulumi.get(__ret__, 'is_managed_by_autonomous_linux'),
264
+ location_not_equal_tos=pulumi.get(__ret__, 'location_not_equal_tos'),
265
+ locations=pulumi.get(__ret__, 'locations'),
219
266
  managed_instance_group_collections=pulumi.get(__ret__, 'managed_instance_group_collections'),
220
267
  managed_instance_group_id=pulumi.get(__ret__, 'managed_instance_group_id'),
221
268
  os_family=pulumi.get(__ret__, 'os_family'),
@@ -229,6 +276,9 @@ def get_managed_instance_groups_output(arch_type: Optional[pulumi.Input[Optional
229
276
  display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
230
277
  display_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
231
278
  filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedInstanceGroupsFilterArgs']]]]] = None,
279
+ is_managed_by_autonomous_linux: Optional[pulumi.Input[Optional[bool]]] = None,
280
+ location_not_equal_tos: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
281
+ locations: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
232
282
  managed_instance_group_id: Optional[pulumi.Input[Optional[str]]] = None,
233
283
  os_family: Optional[pulumi.Input[Optional[str]]] = None,
234
284
  software_source_id: Optional[pulumi.Input[Optional[str]]] = None,
@@ -237,8 +287,7 @@ def get_managed_instance_groups_output(arch_type: Optional[pulumi.Input[Optional
237
287
  """
238
288
  This data source provides the list of Managed Instance Groups in Oracle Cloud Infrastructure Os Management Hub service.
239
289
 
240
- Lists managed instance groups that match the specified compartment or managed instance group OCID. Filter the
241
- list against a variety of criteria including but not limited to its name, status, architecture, and OS family.
290
+ Lists managed instance groups that match the specified compartment or managed instance group [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family.
242
291
 
243
292
  ## Example Usage
244
293
 
@@ -250,6 +299,9 @@ def get_managed_instance_groups_output(arch_type: Optional[pulumi.Input[Optional
250
299
  compartment_id=compartment_id,
251
300
  display_names=managed_instance_group_display_name,
252
301
  display_name_contains=managed_instance_group_display_name_contains,
302
+ is_managed_by_autonomous_linux=managed_instance_group_is_managed_by_autonomous_linux,
303
+ locations=managed_instance_group_location,
304
+ location_not_equal_tos=managed_instance_group_location_not_equal_to,
253
305
  managed_instance_group_id=test_managed_instance_group["id"],
254
306
  os_family=managed_instance_group_os_family,
255
307
  software_source_id=test_software_source["id"],
@@ -258,12 +310,15 @@ def get_managed_instance_groups_output(arch_type: Optional[pulumi.Input[Optional
258
310
 
259
311
 
260
312
  :param str arch_type: A filter to return only profiles that match the given archType.
261
- :param str compartment_id: The OCID of the compartment that contains the resources to list.
313
+ :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.
262
314
  :param str display_name_contains: A filter to return resources that may partially match the given display name.
263
315
  :param Sequence[str] display_names: A filter to return resources that match the given display names.
264
- :param str managed_instance_group_id: The OCID of the managed instance group for which to list resources.
265
- :param str os_family: A filter to return only profiles that match the given osFamily.
266
- :param str software_source_id: The OCID for the software source.
267
- :param str state: A filter to return only resources their lifecycle state matches the given lifecycle state.
316
+ :param bool is_managed_by_autonomous_linux: Indicates whether to list only resources managed by the Autonomous Linux service.
317
+ :param Sequence[str] location_not_equal_tos: A filter to return only resources whose location does not match the given value.
318
+ :param Sequence[str] locations: A filter to return only resources whose location matches the given value.
319
+ :param str managed_instance_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance group. This filter returns resources associated with this group.
320
+ :param str os_family: A filter to return only resources that match the given operating system family.
321
+ :param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source. This filter returns resources associated with this software source.
322
+ :param str state: A filter to return only managed instance groups that are in the specified state.
268
323
  """
269
324
  ...
@@ -0,0 +1,221 @@
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
+ 'GetManagedInstanceInstalledPackagesResult',
16
+ 'AwaitableGetManagedInstanceInstalledPackagesResult',
17
+ 'get_managed_instance_installed_packages',
18
+ 'get_managed_instance_installed_packages_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetManagedInstanceInstalledPackagesResult:
23
+ """
24
+ A collection of values returned by getManagedInstanceInstalledPackages.
25
+ """
26
+ def __init__(__self__, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, installed_package_collections=None, managed_instance_id=None, time_install_date_end=None, time_install_date_start=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 display_name_contains and not isinstance(display_name_contains, str):
31
+ raise TypeError("Expected argument 'display_name_contains' to be a str")
32
+ pulumi.set(__self__, "display_name_contains", display_name_contains)
33
+ if display_names and not isinstance(display_names, list):
34
+ raise TypeError("Expected argument 'display_names' to be a list")
35
+ pulumi.set(__self__, "display_names", display_names)
36
+ if filters and not isinstance(filters, list):
37
+ raise TypeError("Expected argument 'filters' to be a list")
38
+ pulumi.set(__self__, "filters", filters)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+ if installed_package_collections and not isinstance(installed_package_collections, list):
43
+ raise TypeError("Expected argument 'installed_package_collections' to be a list")
44
+ pulumi.set(__self__, "installed_package_collections", installed_package_collections)
45
+ if managed_instance_id and not isinstance(managed_instance_id, str):
46
+ raise TypeError("Expected argument 'managed_instance_id' to be a str")
47
+ pulumi.set(__self__, "managed_instance_id", managed_instance_id)
48
+ if time_install_date_end and not isinstance(time_install_date_end, str):
49
+ raise TypeError("Expected argument 'time_install_date_end' to be a str")
50
+ pulumi.set(__self__, "time_install_date_end", time_install_date_end)
51
+ if time_install_date_start and not isinstance(time_install_date_start, str):
52
+ raise TypeError("Expected argument 'time_install_date_start' to be a str")
53
+ pulumi.set(__self__, "time_install_date_start", time_install_date_start)
54
+
55
+ @property
56
+ @pulumi.getter(name="compartmentId")
57
+ def compartment_id(self) -> Optional[str]:
58
+ return pulumi.get(self, "compartment_id")
59
+
60
+ @property
61
+ @pulumi.getter(name="displayNameContains")
62
+ def display_name_contains(self) -> Optional[str]:
63
+ return pulumi.get(self, "display_name_contains")
64
+
65
+ @property
66
+ @pulumi.getter(name="displayNames")
67
+ def display_names(self) -> Optional[Sequence[str]]:
68
+ """
69
+ Software source name.
70
+ """
71
+ return pulumi.get(self, "display_names")
72
+
73
+ @property
74
+ @pulumi.getter
75
+ def filters(self) -> Optional[Sequence['outputs.GetManagedInstanceInstalledPackagesFilterResult']]:
76
+ return pulumi.get(self, "filters")
77
+
78
+ @property
79
+ @pulumi.getter
80
+ def id(self) -> str:
81
+ """
82
+ The provider-assigned unique ID for this managed resource.
83
+ """
84
+ return pulumi.get(self, "id")
85
+
86
+ @property
87
+ @pulumi.getter(name="installedPackageCollections")
88
+ def installed_package_collections(self) -> Sequence['outputs.GetManagedInstanceInstalledPackagesInstalledPackageCollectionResult']:
89
+ """
90
+ The list of installed_package_collection.
91
+ """
92
+ return pulumi.get(self, "installed_package_collections")
93
+
94
+ @property
95
+ @pulumi.getter(name="managedInstanceId")
96
+ def managed_instance_id(self) -> str:
97
+ return pulumi.get(self, "managed_instance_id")
98
+
99
+ @property
100
+ @pulumi.getter(name="timeInstallDateEnd")
101
+ def time_install_date_end(self) -> Optional[str]:
102
+ return pulumi.get(self, "time_install_date_end")
103
+
104
+ @property
105
+ @pulumi.getter(name="timeInstallDateStart")
106
+ def time_install_date_start(self) -> Optional[str]:
107
+ return pulumi.get(self, "time_install_date_start")
108
+
109
+
110
+ class AwaitableGetManagedInstanceInstalledPackagesResult(GetManagedInstanceInstalledPackagesResult):
111
+ # pylint: disable=using-constant-test
112
+ def __await__(self):
113
+ if False:
114
+ yield self
115
+ return GetManagedInstanceInstalledPackagesResult(
116
+ compartment_id=self.compartment_id,
117
+ display_name_contains=self.display_name_contains,
118
+ display_names=self.display_names,
119
+ filters=self.filters,
120
+ id=self.id,
121
+ installed_package_collections=self.installed_package_collections,
122
+ managed_instance_id=self.managed_instance_id,
123
+ time_install_date_end=self.time_install_date_end,
124
+ time_install_date_start=self.time_install_date_start)
125
+
126
+
127
+ def get_managed_instance_installed_packages(compartment_id: Optional[str] = None,
128
+ display_name_contains: Optional[str] = None,
129
+ display_names: Optional[Sequence[str]] = None,
130
+ filters: Optional[Sequence[pulumi.InputType['GetManagedInstanceInstalledPackagesFilterArgs']]] = None,
131
+ managed_instance_id: Optional[str] = None,
132
+ time_install_date_end: Optional[str] = None,
133
+ time_install_date_start: Optional[str] = None,
134
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedInstanceInstalledPackagesResult:
135
+ """
136
+ This data source provides the list of Managed Instance Installed Packages in Oracle Cloud Infrastructure Os Management Hub service.
137
+
138
+ Lists the packages that are installed on the managed instance.
139
+
140
+ ## Example Usage
141
+
142
+ ```python
143
+ import pulumi
144
+ import pulumi_oci as oci
145
+
146
+ test_managed_instance_installed_packages = oci.OsManagementHub.get_managed_instance_installed_packages(managed_instance_id=test_managed_instance["id"],
147
+ compartment_id=compartment_id,
148
+ display_names=managed_instance_installed_package_display_name,
149
+ display_name_contains=managed_instance_installed_package_display_name_contains,
150
+ time_install_date_end=managed_instance_installed_package_time_install_date_end,
151
+ time_install_date_start=managed_instance_installed_package_time_install_date_start)
152
+ ```
153
+
154
+
155
+ :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.
156
+ :param str display_name_contains: A filter to return resources that may partially match the given display name.
157
+ :param Sequence[str] display_names: A filter to return resources that match the given display names.
158
+ :param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
159
+ :param str time_install_date_end: A filter to return only packages that were installed on or before the date provided, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
160
+ :param str time_install_date_start: The install date after which to list all packages, in ISO 8601 format Example: 2017-07-14T02:40:00.000Z
161
+ """
162
+ __args__ = dict()
163
+ __args__['compartmentId'] = compartment_id
164
+ __args__['displayNameContains'] = display_name_contains
165
+ __args__['displayNames'] = display_names
166
+ __args__['filters'] = filters
167
+ __args__['managedInstanceId'] = managed_instance_id
168
+ __args__['timeInstallDateEnd'] = time_install_date_end
169
+ __args__['timeInstallDateStart'] = time_install_date_start
170
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
171
+ __ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getManagedInstanceInstalledPackages:getManagedInstanceInstalledPackages', __args__, opts=opts, typ=GetManagedInstanceInstalledPackagesResult).value
172
+
173
+ return AwaitableGetManagedInstanceInstalledPackagesResult(
174
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
175
+ display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
176
+ display_names=pulumi.get(__ret__, 'display_names'),
177
+ filters=pulumi.get(__ret__, 'filters'),
178
+ id=pulumi.get(__ret__, 'id'),
179
+ installed_package_collections=pulumi.get(__ret__, 'installed_package_collections'),
180
+ managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'),
181
+ time_install_date_end=pulumi.get(__ret__, 'time_install_date_end'),
182
+ time_install_date_start=pulumi.get(__ret__, 'time_install_date_start'))
183
+
184
+
185
+ @_utilities.lift_output_func(get_managed_instance_installed_packages)
186
+ def get_managed_instance_installed_packages_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
187
+ display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
188
+ display_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
189
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedInstanceInstalledPackagesFilterArgs']]]]] = None,
190
+ managed_instance_id: Optional[pulumi.Input[str]] = None,
191
+ time_install_date_end: Optional[pulumi.Input[Optional[str]]] = None,
192
+ time_install_date_start: Optional[pulumi.Input[Optional[str]]] = None,
193
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceInstalledPackagesResult]:
194
+ """
195
+ This data source provides the list of Managed Instance Installed Packages in Oracle Cloud Infrastructure Os Management Hub service.
196
+
197
+ Lists the packages that are installed on the managed instance.
198
+
199
+ ## Example Usage
200
+
201
+ ```python
202
+ import pulumi
203
+ import pulumi_oci as oci
204
+
205
+ test_managed_instance_installed_packages = oci.OsManagementHub.get_managed_instance_installed_packages(managed_instance_id=test_managed_instance["id"],
206
+ compartment_id=compartment_id,
207
+ display_names=managed_instance_installed_package_display_name,
208
+ display_name_contains=managed_instance_installed_package_display_name_contains,
209
+ time_install_date_end=managed_instance_installed_package_time_install_date_end,
210
+ time_install_date_start=managed_instance_installed_package_time_install_date_start)
211
+ ```
212
+
213
+
214
+ :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.
215
+ :param str display_name_contains: A filter to return resources that may partially match the given display name.
216
+ :param Sequence[str] display_names: A filter to return resources that match the given display names.
217
+ :param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
218
+ :param str time_install_date_end: A filter to return only packages that were installed on or before the date provided, in ISO 8601 format. Example: 2017-07-14T02:40:00.000Z
219
+ :param str time_install_date_start: The install date after which to list all packages, in ISO 8601 format Example: 2017-07-14T02:40:00.000Z
220
+ """
221
+ ...
@@ -0,0 +1,204 @@
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
+ 'GetManagedInstanceInstalledWindowsUpdatesResult',
16
+ 'AwaitableGetManagedInstanceInstalledWindowsUpdatesResult',
17
+ 'get_managed_instance_installed_windows_updates',
18
+ 'get_managed_instance_installed_windows_updates_output',
19
+ ]
20
+
21
+ @pulumi.output_type
22
+ class GetManagedInstanceInstalledWindowsUpdatesResult:
23
+ """
24
+ A collection of values returned by getManagedInstanceInstalledWindowsUpdates.
25
+ """
26
+ def __init__(__self__, compartment_id=None, display_name=None, display_name_contains=None, filters=None, id=None, installed_windows_update_collections=None, managed_instance_id=None, names=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 display_name and not isinstance(display_name, str):
31
+ raise TypeError("Expected argument 'display_name' to be a str")
32
+ pulumi.set(__self__, "display_name", display_name)
33
+ if display_name_contains and not isinstance(display_name_contains, str):
34
+ raise TypeError("Expected argument 'display_name_contains' to be a str")
35
+ pulumi.set(__self__, "display_name_contains", display_name_contains)
36
+ if filters and not isinstance(filters, list):
37
+ raise TypeError("Expected argument 'filters' to be a list")
38
+ pulumi.set(__self__, "filters", filters)
39
+ if id and not isinstance(id, str):
40
+ raise TypeError("Expected argument 'id' to be a str")
41
+ pulumi.set(__self__, "id", id)
42
+ if installed_windows_update_collections and not isinstance(installed_windows_update_collections, list):
43
+ raise TypeError("Expected argument 'installed_windows_update_collections' to be a list")
44
+ pulumi.set(__self__, "installed_windows_update_collections", installed_windows_update_collections)
45
+ if managed_instance_id and not isinstance(managed_instance_id, str):
46
+ raise TypeError("Expected argument 'managed_instance_id' to be a str")
47
+ pulumi.set(__self__, "managed_instance_id", managed_instance_id)
48
+ if names and not isinstance(names, list):
49
+ raise TypeError("Expected argument 'names' to be a list")
50
+ pulumi.set(__self__, "names", names)
51
+
52
+ @property
53
+ @pulumi.getter(name="compartmentId")
54
+ def compartment_id(self) -> Optional[str]:
55
+ return pulumi.get(self, "compartment_id")
56
+
57
+ @property
58
+ @pulumi.getter(name="displayName")
59
+ def display_name(self) -> Optional[str]:
60
+ return pulumi.get(self, "display_name")
61
+
62
+ @property
63
+ @pulumi.getter(name="displayNameContains")
64
+ def display_name_contains(self) -> Optional[str]:
65
+ return pulumi.get(self, "display_name_contains")
66
+
67
+ @property
68
+ @pulumi.getter
69
+ def filters(self) -> Optional[Sequence['outputs.GetManagedInstanceInstalledWindowsUpdatesFilterResult']]:
70
+ return pulumi.get(self, "filters")
71
+
72
+ @property
73
+ @pulumi.getter
74
+ def id(self) -> str:
75
+ """
76
+ The provider-assigned unique ID for this managed resource.
77
+ """
78
+ return pulumi.get(self, "id")
79
+
80
+ @property
81
+ @pulumi.getter(name="installedWindowsUpdateCollections")
82
+ def installed_windows_update_collections(self) -> Sequence['outputs.GetManagedInstanceInstalledWindowsUpdatesInstalledWindowsUpdateCollectionResult']:
83
+ """
84
+ The list of installed_windows_update_collection.
85
+ """
86
+ return pulumi.get(self, "installed_windows_update_collections")
87
+
88
+ @property
89
+ @pulumi.getter(name="managedInstanceId")
90
+ def managed_instance_id(self) -> str:
91
+ return pulumi.get(self, "managed_instance_id")
92
+
93
+ @property
94
+ @pulumi.getter
95
+ def names(self) -> Optional[Sequence[str]]:
96
+ """
97
+ Name of the Windows update.
98
+ """
99
+ return pulumi.get(self, "names")
100
+
101
+
102
+ class AwaitableGetManagedInstanceInstalledWindowsUpdatesResult(GetManagedInstanceInstalledWindowsUpdatesResult):
103
+ # pylint: disable=using-constant-test
104
+ def __await__(self):
105
+ if False:
106
+ yield self
107
+ return GetManagedInstanceInstalledWindowsUpdatesResult(
108
+ compartment_id=self.compartment_id,
109
+ display_name=self.display_name,
110
+ display_name_contains=self.display_name_contains,
111
+ filters=self.filters,
112
+ id=self.id,
113
+ installed_windows_update_collections=self.installed_windows_update_collections,
114
+ managed_instance_id=self.managed_instance_id,
115
+ names=self.names)
116
+
117
+
118
+ def get_managed_instance_installed_windows_updates(compartment_id: Optional[str] = None,
119
+ display_name: Optional[str] = None,
120
+ display_name_contains: Optional[str] = None,
121
+ filters: Optional[Sequence[pulumi.InputType['GetManagedInstanceInstalledWindowsUpdatesFilterArgs']]] = None,
122
+ managed_instance_id: Optional[str] = None,
123
+ names: Optional[Sequence[str]] = None,
124
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedInstanceInstalledWindowsUpdatesResult:
125
+ """
126
+ This data source provides the list of Managed Instance Installed Windows Updates in Oracle Cloud Infrastructure Os Management Hub service.
127
+
128
+ Returns a list of Windows updates that have been installed on the specified managed instance.
129
+
130
+ ## Example Usage
131
+
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_managed_instance_installed_windows_updates = oci.OsManagementHub.get_managed_instance_installed_windows_updates(managed_instance_id=test_managed_instance["id"],
137
+ compartment_id=compartment_id,
138
+ display_name=managed_instance_installed_windows_update_display_name,
139
+ display_name_contains=managed_instance_installed_windows_update_display_name_contains,
140
+ names=managed_instance_installed_windows_update_name)
141
+ ```
142
+
143
+
144
+ :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.
145
+ :param str display_name: A filter to return resources that match the given user-friendly name.
146
+ :param str display_name_contains: A filter to return resources that may partially match the given display name.
147
+ :param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
148
+ :param Sequence[str] names: A filter based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
149
+ """
150
+ __args__ = dict()
151
+ __args__['compartmentId'] = compartment_id
152
+ __args__['displayName'] = display_name
153
+ __args__['displayNameContains'] = display_name_contains
154
+ __args__['filters'] = filters
155
+ __args__['managedInstanceId'] = managed_instance_id
156
+ __args__['names'] = names
157
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
158
+ __ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getManagedInstanceInstalledWindowsUpdates:getManagedInstanceInstalledWindowsUpdates', __args__, opts=opts, typ=GetManagedInstanceInstalledWindowsUpdatesResult).value
159
+
160
+ return AwaitableGetManagedInstanceInstalledWindowsUpdatesResult(
161
+ compartment_id=pulumi.get(__ret__, 'compartment_id'),
162
+ display_name=pulumi.get(__ret__, 'display_name'),
163
+ display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
164
+ filters=pulumi.get(__ret__, 'filters'),
165
+ id=pulumi.get(__ret__, 'id'),
166
+ installed_windows_update_collections=pulumi.get(__ret__, 'installed_windows_update_collections'),
167
+ managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'),
168
+ names=pulumi.get(__ret__, 'names'))
169
+
170
+
171
+ @_utilities.lift_output_func(get_managed_instance_installed_windows_updates)
172
+ def get_managed_instance_installed_windows_updates_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
173
+ display_name: Optional[pulumi.Input[Optional[str]]] = None,
174
+ display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
175
+ filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedInstanceInstalledWindowsUpdatesFilterArgs']]]]] = None,
176
+ managed_instance_id: Optional[pulumi.Input[str]] = None,
177
+ names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
178
+ opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceInstalledWindowsUpdatesResult]:
179
+ """
180
+ This data source provides the list of Managed Instance Installed Windows Updates in Oracle Cloud Infrastructure Os Management Hub service.
181
+
182
+ Returns a list of Windows updates that have been installed on the specified managed instance.
183
+
184
+ ## Example Usage
185
+
186
+ ```python
187
+ import pulumi
188
+ import pulumi_oci as oci
189
+
190
+ test_managed_instance_installed_windows_updates = oci.OsManagementHub.get_managed_instance_installed_windows_updates(managed_instance_id=test_managed_instance["id"],
191
+ compartment_id=compartment_id,
192
+ display_name=managed_instance_installed_windows_update_display_name,
193
+ display_name_contains=managed_instance_installed_windows_update_display_name_contains,
194
+ names=managed_instance_installed_windows_update_name)
195
+ ```
196
+
197
+
198
+ :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.
199
+ :param str display_name: A filter to return resources that match the given user-friendly name.
200
+ :param str display_name_contains: A filter to return resources that may partially match the given display name.
201
+ :param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
202
+ :param Sequence[str] names: A filter based on the unique identifier for the Windows update. Note that this is not an OCID, but is a unique identifier assigned by Microsoft. Example: '6981d463-cd91-4a26-b7c4-ea4ded9183ed'
203
+ """
204
+ ...