pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715383492__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 +0 -208
  2. pulumi_oci/core/__init__.py +0 -3
  3. pulumi_oci/core/_inputs.py +0 -40
  4. pulumi_oci/core/outputs.py +0 -261
  5. pulumi_oci/database/_inputs.py +0 -192
  6. pulumi_oci/database/exadata_infrastructure.py +0 -28
  7. pulumi_oci/database/get_exadata_infrastructure.py +1 -14
  8. pulumi_oci/database/get_vm_cluster.py +1 -14
  9. pulumi_oci/database/outputs.py +0 -418
  10. pulumi_oci/database/vm_cluster.py +0 -55
  11. pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
  12. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
  13. pulumi_oci/datasafe/__init__.py +0 -1
  14. pulumi_oci/email/__init__.py +0 -3
  15. pulumi_oci/email/_inputs.py +0 -46
  16. pulumi_oci/email/dkim.py +4 -4
  17. pulumi_oci/email/email_domain.py +0 -77
  18. pulumi_oci/email/get_email_domain.py +1 -27
  19. pulumi_oci/email/outputs.py +0 -231
  20. pulumi_oci/loadbalancer/_inputs.py +0 -16
  21. pulumi_oci/loadbalancer/listener.py +0 -2
  22. pulumi_oci/loadbalancer/outputs.py +0 -14
  23. pulumi_oci/loganalytics/namespace.py +4 -4
  24. pulumi_oci/networkloadbalancer/get_listener.py +1 -14
  25. pulumi_oci/networkloadbalancer/listener.py +2 -51
  26. pulumi_oci/networkloadbalancer/outputs.py +0 -11
  27. pulumi_oci/osmanagementhub/__init__.py +0 -48
  28. pulumi_oci/osmanagementhub/_inputs.py +507 -3649
  29. pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
  30. pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
  31. pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
  32. pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
  33. pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
  34. pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
  35. pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
  36. pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
  37. pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
  38. pulumi_oci/osmanagementhub/get_management_station.py +19 -42
  39. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
  40. pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
  41. pulumi_oci/osmanagementhub/get_profile.py +12 -51
  42. pulumi_oci/osmanagementhub/get_profiles.py +16 -76
  43. pulumi_oci/osmanagementhub/get_software_source.py +18 -109
  44. pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
  45. pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
  46. pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
  47. pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
  48. pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
  49. pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
  50. pulumi_oci/osmanagementhub/get_software_source_software_package.py +10 -23
  51. pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
  52. pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
  53. pulumi_oci/osmanagementhub/get_software_sources.py +21 -78
  54. pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
  55. pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
  56. pulumi_oci/osmanagementhub/management_station.py +81 -184
  57. pulumi_oci/osmanagementhub/outputs.py +2364 -10866
  58. pulumi_oci/osmanagementhub/profile.py +78 -200
  59. pulumi_oci/osmanagementhub/software_source.py +181 -365
  60. pulumi_oci/pulumi-plugin.json +1 -2
  61. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/METADATA +1 -1
  62. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/RECORD +64 -119
  63. pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
  64. pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
  65. pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
  66. pulumi_oci/datasafe/masking_report_management.py +0 -693
  67. pulumi_oci/email/email_return_path.py +0 -642
  68. pulumi_oci/email/get_email_return_path.py +0 -274
  69. pulumi_oci/email/get_email_return_paths.py +0 -203
  70. pulumi_oci/osmanagementhub/event.py +0 -701
  71. pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
  72. pulumi_oci/osmanagementhub/get_errata.py +0 -283
  73. pulumi_oci/osmanagementhub/get_erratum.py +0 -308
  74. pulumi_oci/osmanagementhub/get_event.py +0 -314
  75. pulumi_oci/osmanagementhub/get_events.py +0 -314
  76. pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
  77. pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
  78. pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
  79. pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
  80. pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
  81. pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
  82. pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
  83. pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
  84. pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
  85. pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
  86. pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
  87. pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
  88. pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
  89. pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
  90. pulumi_oci/osmanagementhub/get_software_package.py +0 -301
  91. pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
  92. pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
  93. pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
  94. pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
  95. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
  96. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
  97. pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
  98. pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
  99. pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
  100. pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
  101. pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
  102. pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
  103. pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
  104. pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
  105. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
  106. pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
  107. pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
  108. pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
  109. pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
  110. pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
  111. pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
  112. pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
  113. pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
  114. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
  115. pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
  116. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
  117. pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
  118. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/WHEEL +0 -0
  119. {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/top_level.txt +0 -0
@@ -1,221 +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
- '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
- ...
@@ -1,204 +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
- '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
- ...
@@ -1,187 +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
- 'GetManagedInstanceModulesResult',
16
- 'AwaitableGetManagedInstanceModulesResult',
17
- 'get_managed_instance_modules',
18
- 'get_managed_instance_modules_output',
19
- ]
20
-
21
- @pulumi.output_type
22
- class GetManagedInstanceModulesResult:
23
- """
24
- A collection of values returned by getManagedInstanceModules.
25
- """
26
- def __init__(__self__, compartment_id=None, filters=None, id=None, managed_instance_id=None, managed_instance_module_collections=None, name=None, name_contains=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 filters and not isinstance(filters, list):
31
- raise TypeError("Expected argument 'filters' to be a list")
32
- pulumi.set(__self__, "filters", filters)
33
- if id and not isinstance(id, str):
34
- raise TypeError("Expected argument 'id' to be a str")
35
- pulumi.set(__self__, "id", id)
36
- if managed_instance_id and not isinstance(managed_instance_id, str):
37
- raise TypeError("Expected argument 'managed_instance_id' to be a str")
38
- pulumi.set(__self__, "managed_instance_id", managed_instance_id)
39
- if managed_instance_module_collections and not isinstance(managed_instance_module_collections, list):
40
- raise TypeError("Expected argument 'managed_instance_module_collections' to be a list")
41
- pulumi.set(__self__, "managed_instance_module_collections", managed_instance_module_collections)
42
- if name and not isinstance(name, str):
43
- raise TypeError("Expected argument 'name' to be a str")
44
- pulumi.set(__self__, "name", name)
45
- if name_contains and not isinstance(name_contains, str):
46
- raise TypeError("Expected argument 'name_contains' to be a str")
47
- pulumi.set(__self__, "name_contains", name_contains)
48
-
49
- @property
50
- @pulumi.getter(name="compartmentId")
51
- def compartment_id(self) -> Optional[str]:
52
- return pulumi.get(self, "compartment_id")
53
-
54
- @property
55
- @pulumi.getter
56
- def filters(self) -> Optional[Sequence['outputs.GetManagedInstanceModulesFilterResult']]:
57
- return pulumi.get(self, "filters")
58
-
59
- @property
60
- @pulumi.getter
61
- def id(self) -> str:
62
- """
63
- The provider-assigned unique ID for this managed resource.
64
- """
65
- return pulumi.get(self, "id")
66
-
67
- @property
68
- @pulumi.getter(name="managedInstanceId")
69
- def managed_instance_id(self) -> str:
70
- return pulumi.get(self, "managed_instance_id")
71
-
72
- @property
73
- @pulumi.getter(name="managedInstanceModuleCollections")
74
- def managed_instance_module_collections(self) -> Sequence['outputs.GetManagedInstanceModulesManagedInstanceModuleCollectionResult']:
75
- """
76
- The list of managed_instance_module_collection.
77
- """
78
- return pulumi.get(self, "managed_instance_module_collections")
79
-
80
- @property
81
- @pulumi.getter
82
- def name(self) -> Optional[str]:
83
- """
84
- The module name.
85
- """
86
- return pulumi.get(self, "name")
87
-
88
- @property
89
- @pulumi.getter(name="nameContains")
90
- def name_contains(self) -> Optional[str]:
91
- return pulumi.get(self, "name_contains")
92
-
93
-
94
- class AwaitableGetManagedInstanceModulesResult(GetManagedInstanceModulesResult):
95
- # pylint: disable=using-constant-test
96
- def __await__(self):
97
- if False:
98
- yield self
99
- return GetManagedInstanceModulesResult(
100
- compartment_id=self.compartment_id,
101
- filters=self.filters,
102
- id=self.id,
103
- managed_instance_id=self.managed_instance_id,
104
- managed_instance_module_collections=self.managed_instance_module_collections,
105
- name=self.name,
106
- name_contains=self.name_contains)
107
-
108
-
109
- def get_managed_instance_modules(compartment_id: Optional[str] = None,
110
- filters: Optional[Sequence[pulumi.InputType['GetManagedInstanceModulesFilterArgs']]] = None,
111
- managed_instance_id: Optional[str] = None,
112
- name: Optional[str] = None,
113
- name_contains: Optional[str] = None,
114
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedInstanceModulesResult:
115
- """
116
- This data source provides the list of Managed Instance Modules in Oracle Cloud Infrastructure Os Management Hub service.
117
-
118
- Retrieves a list of modules, along with streams of the modules, from a managed instance. Filters may be applied to select a subset of modules based on the filter criteria.
119
-
120
- ## Example Usage
121
-
122
- ```python
123
- import pulumi
124
- import pulumi_oci as oci
125
-
126
- test_managed_instance_modules = oci.OsManagementHub.get_managed_instance_modules(managed_instance_id=test_managed_instance["id"],
127
- compartment_id=compartment_id,
128
- name=managed_instance_module_name,
129
- name_contains=managed_instance_module_name_contains)
130
- ```
131
-
132
-
133
- :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.
134
- :param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
135
- :param str name: The resource name.
136
- :param str name_contains: A filter to return resources that may partially match the name given.
137
- """
138
- __args__ = dict()
139
- __args__['compartmentId'] = compartment_id
140
- __args__['filters'] = filters
141
- __args__['managedInstanceId'] = managed_instance_id
142
- __args__['name'] = name
143
- __args__['nameContains'] = name_contains
144
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
145
- __ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getManagedInstanceModules:getManagedInstanceModules', __args__, opts=opts, typ=GetManagedInstanceModulesResult).value
146
-
147
- return AwaitableGetManagedInstanceModulesResult(
148
- compartment_id=pulumi.get(__ret__, 'compartment_id'),
149
- filters=pulumi.get(__ret__, 'filters'),
150
- id=pulumi.get(__ret__, 'id'),
151
- managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'),
152
- managed_instance_module_collections=pulumi.get(__ret__, 'managed_instance_module_collections'),
153
- name=pulumi.get(__ret__, 'name'),
154
- name_contains=pulumi.get(__ret__, 'name_contains'))
155
-
156
-
157
- @_utilities.lift_output_func(get_managed_instance_modules)
158
- def get_managed_instance_modules_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
159
- filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedInstanceModulesFilterArgs']]]]] = None,
160
- managed_instance_id: Optional[pulumi.Input[str]] = None,
161
- name: Optional[pulumi.Input[Optional[str]]] = None,
162
- name_contains: Optional[pulumi.Input[Optional[str]]] = None,
163
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceModulesResult]:
164
- """
165
- This data source provides the list of Managed Instance Modules in Oracle Cloud Infrastructure Os Management Hub service.
166
-
167
- Retrieves a list of modules, along with streams of the modules, from a managed instance. Filters may be applied to select a subset of modules based on the filter criteria.
168
-
169
- ## Example Usage
170
-
171
- ```python
172
- import pulumi
173
- import pulumi_oci as oci
174
-
175
- test_managed_instance_modules = oci.OsManagementHub.get_managed_instance_modules(managed_instance_id=test_managed_instance["id"],
176
- compartment_id=compartment_id,
177
- name=managed_instance_module_name,
178
- name_contains=managed_instance_module_name_contains)
179
- ```
180
-
181
-
182
- :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.
183
- :param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
184
- :param str name: The resource name.
185
- :param str name_contains: A filter to return resources that may partially match the name given.
186
- """
187
- ...