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.
- pulumi_oci/__init__.py +0 -208
- pulumi_oci/core/__init__.py +0 -3
- pulumi_oci/core/_inputs.py +0 -40
- pulumi_oci/core/outputs.py +0 -261
- pulumi_oci/database/_inputs.py +0 -192
- pulumi_oci/database/exadata_infrastructure.py +0 -28
- pulumi_oci/database/get_exadata_infrastructure.py +1 -14
- pulumi_oci/database/get_vm_cluster.py +1 -14
- pulumi_oci/database/outputs.py +0 -418
- pulumi_oci/database/vm_cluster.py +0 -55
- pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/email/__init__.py +0 -3
- pulumi_oci/email/_inputs.py +0 -46
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +0 -77
- pulumi_oci/email/get_email_domain.py +1 -27
- pulumi_oci/email/outputs.py +0 -231
- pulumi_oci/loadbalancer/_inputs.py +0 -16
- pulumi_oci/loadbalancer/listener.py +0 -2
- pulumi_oci/loadbalancer/outputs.py +0 -14
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +1 -14
- pulumi_oci/networkloadbalancer/listener.py +2 -51
- pulumi_oci/networkloadbalancer/outputs.py +0 -11
- pulumi_oci/osmanagementhub/__init__.py +0 -48
- pulumi_oci/osmanagementhub/_inputs.py +507 -3649
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
- pulumi_oci/osmanagementhub/get_management_station.py +19 -42
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
- pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
- pulumi_oci/osmanagementhub/get_profile.py +12 -51
- pulumi_oci/osmanagementhub/get_profiles.py +16 -76
- pulumi_oci/osmanagementhub/get_software_source.py +18 -109
- pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
- pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source_software_package.py +10 -23
- pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
- pulumi_oci/osmanagementhub/get_software_sources.py +21 -78
- pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
- pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
- pulumi_oci/osmanagementhub/management_station.py +81 -184
- pulumi_oci/osmanagementhub/outputs.py +2364 -10866
- pulumi_oci/osmanagementhub/profile.py +78 -200
- pulumi_oci/osmanagementhub/software_source.py +181 -365
- pulumi_oci/pulumi-plugin.json +1 -2
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/RECORD +64 -119
- pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/email/email_return_path.py +0 -642
- pulumi_oci/email/get_email_return_path.py +0 -274
- pulumi_oci/email/get_email_return_paths.py +0 -203
- pulumi_oci/osmanagementhub/event.py +0 -701
- pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
- pulumi_oci/osmanagementhub/get_errata.py +0 -283
- pulumi_oci/osmanagementhub/get_erratum.py +0 -308
- pulumi_oci/osmanagementhub/get_event.py +0 -314
- pulumi_oci/osmanagementhub/get_events.py +0 -314
- pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
- pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
- pulumi_oci/osmanagementhub/get_software_package.py +0 -301
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
- pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
- pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
- pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
- pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
- pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/top_level.txt +0 -0
@@ -1,232 +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
|
-
'GetSoftwarePackagesResult',
|
16
|
-
'AwaitableGetSoftwarePackagesResult',
|
17
|
-
'get_software_packages',
|
18
|
-
'get_software_packages_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetSoftwarePackagesResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getSoftwarePackages.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, architecture=None, display_name=None, display_name_contains=None, filters=None, id=None, is_latest=None, os_family=None, software_package_collections=None, version=None):
|
27
|
-
if architecture and not isinstance(architecture, str):
|
28
|
-
raise TypeError("Expected argument 'architecture' to be a str")
|
29
|
-
pulumi.set(__self__, "architecture", architecture)
|
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 is_latest and not isinstance(is_latest, bool):
|
43
|
-
raise TypeError("Expected argument 'is_latest' to be a bool")
|
44
|
-
pulumi.set(__self__, "is_latest", is_latest)
|
45
|
-
if os_family and not isinstance(os_family, str):
|
46
|
-
raise TypeError("Expected argument 'os_family' to be a str")
|
47
|
-
pulumi.set(__self__, "os_family", os_family)
|
48
|
-
if software_package_collections and not isinstance(software_package_collections, list):
|
49
|
-
raise TypeError("Expected argument 'software_package_collections' to be a list")
|
50
|
-
pulumi.set(__self__, "software_package_collections", software_package_collections)
|
51
|
-
if version and not isinstance(version, str):
|
52
|
-
raise TypeError("Expected argument 'version' to be a str")
|
53
|
-
pulumi.set(__self__, "version", version)
|
54
|
-
|
55
|
-
@property
|
56
|
-
@pulumi.getter
|
57
|
-
def architecture(self) -> Optional[str]:
|
58
|
-
"""
|
59
|
-
The architecture for which this software was built
|
60
|
-
"""
|
61
|
-
return pulumi.get(self, "architecture")
|
62
|
-
|
63
|
-
@property
|
64
|
-
@pulumi.getter(name="displayName")
|
65
|
-
def display_name(self) -> Optional[str]:
|
66
|
-
"""
|
67
|
-
Software source name.
|
68
|
-
"""
|
69
|
-
return pulumi.get(self, "display_name")
|
70
|
-
|
71
|
-
@property
|
72
|
-
@pulumi.getter(name="displayNameContains")
|
73
|
-
def display_name_contains(self) -> Optional[str]:
|
74
|
-
return pulumi.get(self, "display_name_contains")
|
75
|
-
|
76
|
-
@property
|
77
|
-
@pulumi.getter
|
78
|
-
def filters(self) -> Optional[Sequence['outputs.GetSoftwarePackagesFilterResult']]:
|
79
|
-
return pulumi.get(self, "filters")
|
80
|
-
|
81
|
-
@property
|
82
|
-
@pulumi.getter
|
83
|
-
def id(self) -> str:
|
84
|
-
"""
|
85
|
-
The provider-assigned unique ID for this managed resource.
|
86
|
-
"""
|
87
|
-
return pulumi.get(self, "id")
|
88
|
-
|
89
|
-
@property
|
90
|
-
@pulumi.getter(name="isLatest")
|
91
|
-
def is_latest(self) -> Optional[bool]:
|
92
|
-
"""
|
93
|
-
Indicates whether this package is the latest version.
|
94
|
-
"""
|
95
|
-
return pulumi.get(self, "is_latest")
|
96
|
-
|
97
|
-
@property
|
98
|
-
@pulumi.getter(name="osFamily")
|
99
|
-
def os_family(self) -> Optional[str]:
|
100
|
-
return pulumi.get(self, "os_family")
|
101
|
-
|
102
|
-
@property
|
103
|
-
@pulumi.getter(name="softwarePackageCollections")
|
104
|
-
def software_package_collections(self) -> Sequence['outputs.GetSoftwarePackagesSoftwarePackageCollectionResult']:
|
105
|
-
"""
|
106
|
-
The list of software_package_collection.
|
107
|
-
"""
|
108
|
-
return pulumi.get(self, "software_package_collections")
|
109
|
-
|
110
|
-
@property
|
111
|
-
@pulumi.getter
|
112
|
-
def version(self) -> Optional[str]:
|
113
|
-
"""
|
114
|
-
Version of the package.
|
115
|
-
"""
|
116
|
-
return pulumi.get(self, "version")
|
117
|
-
|
118
|
-
|
119
|
-
class AwaitableGetSoftwarePackagesResult(GetSoftwarePackagesResult):
|
120
|
-
# pylint: disable=using-constant-test
|
121
|
-
def __await__(self):
|
122
|
-
if False:
|
123
|
-
yield self
|
124
|
-
return GetSoftwarePackagesResult(
|
125
|
-
architecture=self.architecture,
|
126
|
-
display_name=self.display_name,
|
127
|
-
display_name_contains=self.display_name_contains,
|
128
|
-
filters=self.filters,
|
129
|
-
id=self.id,
|
130
|
-
is_latest=self.is_latest,
|
131
|
-
os_family=self.os_family,
|
132
|
-
software_package_collections=self.software_package_collections,
|
133
|
-
version=self.version)
|
134
|
-
|
135
|
-
|
136
|
-
def get_software_packages(architecture: Optional[str] = None,
|
137
|
-
display_name: Optional[str] = None,
|
138
|
-
display_name_contains: Optional[str] = None,
|
139
|
-
filters: Optional[Sequence[pulumi.InputType['GetSoftwarePackagesFilterArgs']]] = None,
|
140
|
-
is_latest: Optional[bool] = None,
|
141
|
-
os_family: Optional[str] = None,
|
142
|
-
version: Optional[str] = None,
|
143
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSoftwarePackagesResult:
|
144
|
-
"""
|
145
|
-
This data source provides the list of Software Packages in Oracle Cloud Infrastructure Os Management Hub service.
|
146
|
-
|
147
|
-
Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria
|
148
|
-
including but not limited to its name.
|
149
|
-
|
150
|
-
## Example Usage
|
151
|
-
|
152
|
-
```python
|
153
|
-
import pulumi
|
154
|
-
import pulumi_oci as oci
|
155
|
-
|
156
|
-
test_software_packages = oci.OsManagementHub.get_software_packages(architecture=software_package_architecture,
|
157
|
-
display_name=software_package_display_name,
|
158
|
-
display_name_contains=software_package_display_name_contains,
|
159
|
-
is_latest=software_package_is_latest,
|
160
|
-
os_family=software_package_os_family,
|
161
|
-
version=software_package_version)
|
162
|
-
```
|
163
|
-
|
164
|
-
|
165
|
-
:param str architecture: A filter to return software packages that match the given architecture.
|
166
|
-
:param str display_name: A filter to return resources that match the given user-friendly name.
|
167
|
-
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
168
|
-
:param bool is_latest: Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
169
|
-
:param str os_family: A filter to return only resources that match the given operating system family.
|
170
|
-
:param str version: A filter to return software packages that match the given version.
|
171
|
-
"""
|
172
|
-
__args__ = dict()
|
173
|
-
__args__['architecture'] = architecture
|
174
|
-
__args__['displayName'] = display_name
|
175
|
-
__args__['displayNameContains'] = display_name_contains
|
176
|
-
__args__['filters'] = filters
|
177
|
-
__args__['isLatest'] = is_latest
|
178
|
-
__args__['osFamily'] = os_family
|
179
|
-
__args__['version'] = version
|
180
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
181
|
-
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getSoftwarePackages:getSoftwarePackages', __args__, opts=opts, typ=GetSoftwarePackagesResult).value
|
182
|
-
|
183
|
-
return AwaitableGetSoftwarePackagesResult(
|
184
|
-
architecture=pulumi.get(__ret__, 'architecture'),
|
185
|
-
display_name=pulumi.get(__ret__, 'display_name'),
|
186
|
-
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
187
|
-
filters=pulumi.get(__ret__, 'filters'),
|
188
|
-
id=pulumi.get(__ret__, 'id'),
|
189
|
-
is_latest=pulumi.get(__ret__, 'is_latest'),
|
190
|
-
os_family=pulumi.get(__ret__, 'os_family'),
|
191
|
-
software_package_collections=pulumi.get(__ret__, 'software_package_collections'),
|
192
|
-
version=pulumi.get(__ret__, 'version'))
|
193
|
-
|
194
|
-
|
195
|
-
@_utilities.lift_output_func(get_software_packages)
|
196
|
-
def get_software_packages_output(architecture: Optional[pulumi.Input[Optional[str]]] = None,
|
197
|
-
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
198
|
-
display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
199
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSoftwarePackagesFilterArgs']]]]] = None,
|
200
|
-
is_latest: Optional[pulumi.Input[Optional[bool]]] = None,
|
201
|
-
os_family: Optional[pulumi.Input[Optional[str]]] = None,
|
202
|
-
version: Optional[pulumi.Input[Optional[str]]] = None,
|
203
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSoftwarePackagesResult]:
|
204
|
-
"""
|
205
|
-
This data source provides the list of Software Packages in Oracle Cloud Infrastructure Os Management Hub service.
|
206
|
-
|
207
|
-
Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria
|
208
|
-
including but not limited to its name.
|
209
|
-
|
210
|
-
## Example Usage
|
211
|
-
|
212
|
-
```python
|
213
|
-
import pulumi
|
214
|
-
import pulumi_oci as oci
|
215
|
-
|
216
|
-
test_software_packages = oci.OsManagementHub.get_software_packages(architecture=software_package_architecture,
|
217
|
-
display_name=software_package_display_name,
|
218
|
-
display_name_contains=software_package_display_name_contains,
|
219
|
-
is_latest=software_package_is_latest,
|
220
|
-
os_family=software_package_os_family,
|
221
|
-
version=software_package_version)
|
222
|
-
```
|
223
|
-
|
224
|
-
|
225
|
-
:param str architecture: A filter to return software packages that match the given architecture.
|
226
|
-
:param str display_name: A filter to return resources that match the given user-friendly name.
|
227
|
-
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
228
|
-
:param bool is_latest: Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
229
|
-
:param str os_family: A filter to return only resources that match the given operating system family.
|
230
|
-
:param str version: A filter to return software packages that match the given version.
|
231
|
-
"""
|
232
|
-
...
|
@@ -1,222 +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
|
-
|
12
|
-
__all__ = [
|
13
|
-
'GetWindowsUpdateResult',
|
14
|
-
'AwaitableGetWindowsUpdateResult',
|
15
|
-
'get_windows_update',
|
16
|
-
'get_windows_update_output',
|
17
|
-
]
|
18
|
-
|
19
|
-
@pulumi.output_type
|
20
|
-
class GetWindowsUpdateResult:
|
21
|
-
"""
|
22
|
-
A collection of values returned by getWindowsUpdate.
|
23
|
-
"""
|
24
|
-
def __init__(__self__, description=None, id=None, installable=None, installation_requirements=None, is_reboot_required_for_installation=None, kb_article_ids=None, name=None, size_in_bytes=None, update_id=None, update_type=None, windows_update_id=None):
|
25
|
-
if description and not isinstance(description, str):
|
26
|
-
raise TypeError("Expected argument 'description' to be a str")
|
27
|
-
pulumi.set(__self__, "description", description)
|
28
|
-
if id and not isinstance(id, str):
|
29
|
-
raise TypeError("Expected argument 'id' to be a str")
|
30
|
-
pulumi.set(__self__, "id", id)
|
31
|
-
if installable and not isinstance(installable, str):
|
32
|
-
raise TypeError("Expected argument 'installable' to be a str")
|
33
|
-
pulumi.set(__self__, "installable", installable)
|
34
|
-
if installation_requirements and not isinstance(installation_requirements, list):
|
35
|
-
raise TypeError("Expected argument 'installation_requirements' to be a list")
|
36
|
-
pulumi.set(__self__, "installation_requirements", installation_requirements)
|
37
|
-
if is_reboot_required_for_installation and not isinstance(is_reboot_required_for_installation, bool):
|
38
|
-
raise TypeError("Expected argument 'is_reboot_required_for_installation' to be a bool")
|
39
|
-
pulumi.set(__self__, "is_reboot_required_for_installation", is_reboot_required_for_installation)
|
40
|
-
if kb_article_ids and not isinstance(kb_article_ids, list):
|
41
|
-
raise TypeError("Expected argument 'kb_article_ids' to be a list")
|
42
|
-
pulumi.set(__self__, "kb_article_ids", kb_article_ids)
|
43
|
-
if name and not isinstance(name, str):
|
44
|
-
raise TypeError("Expected argument 'name' to be a str")
|
45
|
-
pulumi.set(__self__, "name", name)
|
46
|
-
if size_in_bytes and not isinstance(size_in_bytes, str):
|
47
|
-
raise TypeError("Expected argument 'size_in_bytes' to be a str")
|
48
|
-
pulumi.set(__self__, "size_in_bytes", size_in_bytes)
|
49
|
-
if update_id and not isinstance(update_id, str):
|
50
|
-
raise TypeError("Expected argument 'update_id' to be a str")
|
51
|
-
pulumi.set(__self__, "update_id", update_id)
|
52
|
-
if update_type and not isinstance(update_type, str):
|
53
|
-
raise TypeError("Expected argument 'update_type' to be a str")
|
54
|
-
pulumi.set(__self__, "update_type", update_type)
|
55
|
-
if windows_update_id and not isinstance(windows_update_id, str):
|
56
|
-
raise TypeError("Expected argument 'windows_update_id' to be a str")
|
57
|
-
pulumi.set(__self__, "windows_update_id", windows_update_id)
|
58
|
-
|
59
|
-
@property
|
60
|
-
@pulumi.getter
|
61
|
-
def description(self) -> str:
|
62
|
-
"""
|
63
|
-
Description of the update.
|
64
|
-
"""
|
65
|
-
return pulumi.get(self, "description")
|
66
|
-
|
67
|
-
@property
|
68
|
-
@pulumi.getter
|
69
|
-
def id(self) -> str:
|
70
|
-
"""
|
71
|
-
The provider-assigned unique ID for this managed resource.
|
72
|
-
"""
|
73
|
-
return pulumi.get(self, "id")
|
74
|
-
|
75
|
-
@property
|
76
|
-
@pulumi.getter
|
77
|
-
def installable(self) -> str:
|
78
|
-
"""
|
79
|
-
Indicates whether the update can be installed using the service.
|
80
|
-
"""
|
81
|
-
return pulumi.get(self, "installable")
|
82
|
-
|
83
|
-
@property
|
84
|
-
@pulumi.getter(name="installationRequirements")
|
85
|
-
def installation_requirements(self) -> Sequence[str]:
|
86
|
-
"""
|
87
|
-
List of requirements for installing the update on the managed instance.
|
88
|
-
"""
|
89
|
-
return pulumi.get(self, "installation_requirements")
|
90
|
-
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="isRebootRequiredForInstallation")
|
93
|
-
def is_reboot_required_for_installation(self) -> bool:
|
94
|
-
"""
|
95
|
-
Indicates whether a reboot is required to complete the installation of this update.
|
96
|
-
"""
|
97
|
-
return pulumi.get(self, "is_reboot_required_for_installation")
|
98
|
-
|
99
|
-
@property
|
100
|
-
@pulumi.getter(name="kbArticleIds")
|
101
|
-
def kb_article_ids(self) -> Sequence[str]:
|
102
|
-
"""
|
103
|
-
List of the Microsoft Knowledge Base Article Ids related to this Windows Update.
|
104
|
-
"""
|
105
|
-
return pulumi.get(self, "kb_article_ids")
|
106
|
-
|
107
|
-
@property
|
108
|
-
@pulumi.getter
|
109
|
-
def name(self) -> str:
|
110
|
-
"""
|
111
|
-
Name of the Windows update.
|
112
|
-
"""
|
113
|
-
return pulumi.get(self, "name")
|
114
|
-
|
115
|
-
@property
|
116
|
-
@pulumi.getter(name="sizeInBytes")
|
117
|
-
def size_in_bytes(self) -> str:
|
118
|
-
"""
|
119
|
-
size of the package in bytes
|
120
|
-
"""
|
121
|
-
return pulumi.get(self, "size_in_bytes")
|
122
|
-
|
123
|
-
@property
|
124
|
-
@pulumi.getter(name="updateId")
|
125
|
-
def update_id(self) -> str:
|
126
|
-
"""
|
127
|
-
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'
|
128
|
-
"""
|
129
|
-
return pulumi.get(self, "update_id")
|
130
|
-
|
131
|
-
@property
|
132
|
-
@pulumi.getter(name="updateType")
|
133
|
-
def update_type(self) -> str:
|
134
|
-
"""
|
135
|
-
The type of Windows update.
|
136
|
-
"""
|
137
|
-
return pulumi.get(self, "update_type")
|
138
|
-
|
139
|
-
@property
|
140
|
-
@pulumi.getter(name="windowsUpdateId")
|
141
|
-
def windows_update_id(self) -> str:
|
142
|
-
return pulumi.get(self, "windows_update_id")
|
143
|
-
|
144
|
-
|
145
|
-
class AwaitableGetWindowsUpdateResult(GetWindowsUpdateResult):
|
146
|
-
# pylint: disable=using-constant-test
|
147
|
-
def __await__(self):
|
148
|
-
if False:
|
149
|
-
yield self
|
150
|
-
return GetWindowsUpdateResult(
|
151
|
-
description=self.description,
|
152
|
-
id=self.id,
|
153
|
-
installable=self.installable,
|
154
|
-
installation_requirements=self.installation_requirements,
|
155
|
-
is_reboot_required_for_installation=self.is_reboot_required_for_installation,
|
156
|
-
kb_article_ids=self.kb_article_ids,
|
157
|
-
name=self.name,
|
158
|
-
size_in_bytes=self.size_in_bytes,
|
159
|
-
update_id=self.update_id,
|
160
|
-
update_type=self.update_type,
|
161
|
-
windows_update_id=self.windows_update_id)
|
162
|
-
|
163
|
-
|
164
|
-
def get_windows_update(windows_update_id: Optional[str] = None,
|
165
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWindowsUpdateResult:
|
166
|
-
"""
|
167
|
-
This data source provides details about a specific Windows Update resource in Oracle Cloud Infrastructure Os Management Hub service.
|
168
|
-
|
169
|
-
Returns a Windows Update object.
|
170
|
-
|
171
|
-
## Example Usage
|
172
|
-
|
173
|
-
```python
|
174
|
-
import pulumi
|
175
|
-
import pulumi_oci as oci
|
176
|
-
|
177
|
-
test_windows_update = oci.OsManagementHub.get_windows_update(windows_update_id=test_windows_update_oci_os_management_hub_windows_update["id"])
|
178
|
-
```
|
179
|
-
|
180
|
-
|
181
|
-
:param str windows_update_id: 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'
|
182
|
-
"""
|
183
|
-
__args__ = dict()
|
184
|
-
__args__['windowsUpdateId'] = windows_update_id
|
185
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
186
|
-
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getWindowsUpdate:getWindowsUpdate', __args__, opts=opts, typ=GetWindowsUpdateResult).value
|
187
|
-
|
188
|
-
return AwaitableGetWindowsUpdateResult(
|
189
|
-
description=pulumi.get(__ret__, 'description'),
|
190
|
-
id=pulumi.get(__ret__, 'id'),
|
191
|
-
installable=pulumi.get(__ret__, 'installable'),
|
192
|
-
installation_requirements=pulumi.get(__ret__, 'installation_requirements'),
|
193
|
-
is_reboot_required_for_installation=pulumi.get(__ret__, 'is_reboot_required_for_installation'),
|
194
|
-
kb_article_ids=pulumi.get(__ret__, 'kb_article_ids'),
|
195
|
-
name=pulumi.get(__ret__, 'name'),
|
196
|
-
size_in_bytes=pulumi.get(__ret__, 'size_in_bytes'),
|
197
|
-
update_id=pulumi.get(__ret__, 'update_id'),
|
198
|
-
update_type=pulumi.get(__ret__, 'update_type'),
|
199
|
-
windows_update_id=pulumi.get(__ret__, 'windows_update_id'))
|
200
|
-
|
201
|
-
|
202
|
-
@_utilities.lift_output_func(get_windows_update)
|
203
|
-
def get_windows_update_output(windows_update_id: Optional[pulumi.Input[str]] = None,
|
204
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWindowsUpdateResult]:
|
205
|
-
"""
|
206
|
-
This data source provides details about a specific Windows Update resource in Oracle Cloud Infrastructure Os Management Hub service.
|
207
|
-
|
208
|
-
Returns a Windows Update object.
|
209
|
-
|
210
|
-
## Example Usage
|
211
|
-
|
212
|
-
```python
|
213
|
-
import pulumi
|
214
|
-
import pulumi_oci as oci
|
215
|
-
|
216
|
-
test_windows_update = oci.OsManagementHub.get_windows_update(windows_update_id=test_windows_update_oci_os_management_hub_windows_update["id"])
|
217
|
-
```
|
218
|
-
|
219
|
-
|
220
|
-
:param str windows_update_id: 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'
|
221
|
-
"""
|
222
|
-
...
|
@@ -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
|
-
'GetWindowsUpdatesResult',
|
16
|
-
'AwaitableGetWindowsUpdatesResult',
|
17
|
-
'get_windows_updates',
|
18
|
-
'get_windows_updates_output',
|
19
|
-
]
|
20
|
-
|
21
|
-
@pulumi.output_type
|
22
|
-
class GetWindowsUpdatesResult:
|
23
|
-
"""
|
24
|
-
A collection of values returned by getWindowsUpdates.
|
25
|
-
"""
|
26
|
-
def __init__(__self__, classification_types=None, compartment_id=None, display_name_contains=None, filters=None, id=None, names=None, windows_update_collections=None):
|
27
|
-
if classification_types and not isinstance(classification_types, list):
|
28
|
-
raise TypeError("Expected argument 'classification_types' to be a list")
|
29
|
-
pulumi.set(__self__, "classification_types", classification_types)
|
30
|
-
if compartment_id and not isinstance(compartment_id, str):
|
31
|
-
raise TypeError("Expected argument 'compartment_id' to be a str")
|
32
|
-
pulumi.set(__self__, "compartment_id", compartment_id)
|
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 names and not isinstance(names, list):
|
43
|
-
raise TypeError("Expected argument 'names' to be a list")
|
44
|
-
pulumi.set(__self__, "names", names)
|
45
|
-
if windows_update_collections and not isinstance(windows_update_collections, list):
|
46
|
-
raise TypeError("Expected argument 'windows_update_collections' to be a list")
|
47
|
-
pulumi.set(__self__, "windows_update_collections", windows_update_collections)
|
48
|
-
|
49
|
-
@property
|
50
|
-
@pulumi.getter(name="classificationTypes")
|
51
|
-
def classification_types(self) -> Optional[Sequence[str]]:
|
52
|
-
return pulumi.get(self, "classification_types")
|
53
|
-
|
54
|
-
@property
|
55
|
-
@pulumi.getter(name="compartmentId")
|
56
|
-
def compartment_id(self) -> str:
|
57
|
-
return pulumi.get(self, "compartment_id")
|
58
|
-
|
59
|
-
@property
|
60
|
-
@pulumi.getter(name="displayNameContains")
|
61
|
-
def display_name_contains(self) -> Optional[str]:
|
62
|
-
return pulumi.get(self, "display_name_contains")
|
63
|
-
|
64
|
-
@property
|
65
|
-
@pulumi.getter
|
66
|
-
def filters(self) -> Optional[Sequence['outputs.GetWindowsUpdatesFilterResult']]:
|
67
|
-
return pulumi.get(self, "filters")
|
68
|
-
|
69
|
-
@property
|
70
|
-
@pulumi.getter
|
71
|
-
def id(self) -> str:
|
72
|
-
"""
|
73
|
-
The provider-assigned unique ID for this managed resource.
|
74
|
-
"""
|
75
|
-
return pulumi.get(self, "id")
|
76
|
-
|
77
|
-
@property
|
78
|
-
@pulumi.getter
|
79
|
-
def names(self) -> Optional[Sequence[str]]:
|
80
|
-
"""
|
81
|
-
Name of the Windows update.
|
82
|
-
"""
|
83
|
-
return pulumi.get(self, "names")
|
84
|
-
|
85
|
-
@property
|
86
|
-
@pulumi.getter(name="windowsUpdateCollections")
|
87
|
-
def windows_update_collections(self) -> Sequence['outputs.GetWindowsUpdatesWindowsUpdateCollectionResult']:
|
88
|
-
"""
|
89
|
-
The list of windows_update_collection.
|
90
|
-
"""
|
91
|
-
return pulumi.get(self, "windows_update_collections")
|
92
|
-
|
93
|
-
|
94
|
-
class AwaitableGetWindowsUpdatesResult(GetWindowsUpdatesResult):
|
95
|
-
# pylint: disable=using-constant-test
|
96
|
-
def __await__(self):
|
97
|
-
if False:
|
98
|
-
yield self
|
99
|
-
return GetWindowsUpdatesResult(
|
100
|
-
classification_types=self.classification_types,
|
101
|
-
compartment_id=self.compartment_id,
|
102
|
-
display_name_contains=self.display_name_contains,
|
103
|
-
filters=self.filters,
|
104
|
-
id=self.id,
|
105
|
-
names=self.names,
|
106
|
-
windows_update_collections=self.windows_update_collections)
|
107
|
-
|
108
|
-
|
109
|
-
def get_windows_updates(classification_types: Optional[Sequence[str]] = None,
|
110
|
-
compartment_id: Optional[str] = None,
|
111
|
-
display_name_contains: Optional[str] = None,
|
112
|
-
filters: Optional[Sequence[pulumi.InputType['GetWindowsUpdatesFilterArgs']]] = None,
|
113
|
-
names: Optional[Sequence[str]] = None,
|
114
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWindowsUpdatesResult:
|
115
|
-
"""
|
116
|
-
This data source provides the list of Windows Updates in Oracle Cloud Infrastructure Os Management Hub service.
|
117
|
-
|
118
|
-
Lists Windows updates that have been reported to the service.
|
119
|
-
|
120
|
-
## Example Usage
|
121
|
-
|
122
|
-
```python
|
123
|
-
import pulumi
|
124
|
-
import pulumi_oci as oci
|
125
|
-
|
126
|
-
test_windows_updates = oci.OsManagementHub.get_windows_updates(compartment_id=compartment_id,
|
127
|
-
classification_types=windows_update_classification_type,
|
128
|
-
display_name_contains=windows_update_display_name_contains,
|
129
|
-
names=windows_update_name)
|
130
|
-
```
|
131
|
-
|
132
|
-
|
133
|
-
:param Sequence[str] classification_types: A filter to return only packages that match the given update classification type.
|
134
|
-
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
135
|
-
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
136
|
-
: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'
|
137
|
-
"""
|
138
|
-
__args__ = dict()
|
139
|
-
__args__['classificationTypes'] = classification_types
|
140
|
-
__args__['compartmentId'] = compartment_id
|
141
|
-
__args__['displayNameContains'] = display_name_contains
|
142
|
-
__args__['filters'] = filters
|
143
|
-
__args__['names'] = names
|
144
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
145
|
-
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getWindowsUpdates:getWindowsUpdates', __args__, opts=opts, typ=GetWindowsUpdatesResult).value
|
146
|
-
|
147
|
-
return AwaitableGetWindowsUpdatesResult(
|
148
|
-
classification_types=pulumi.get(__ret__, 'classification_types'),
|
149
|
-
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
150
|
-
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
151
|
-
filters=pulumi.get(__ret__, 'filters'),
|
152
|
-
id=pulumi.get(__ret__, 'id'),
|
153
|
-
names=pulumi.get(__ret__, 'names'),
|
154
|
-
windows_update_collections=pulumi.get(__ret__, 'windows_update_collections'))
|
155
|
-
|
156
|
-
|
157
|
-
@_utilities.lift_output_func(get_windows_updates)
|
158
|
-
def get_windows_updates_output(classification_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
159
|
-
compartment_id: Optional[pulumi.Input[str]] = None,
|
160
|
-
display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
161
|
-
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetWindowsUpdatesFilterArgs']]]]] = None,
|
162
|
-
names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
163
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetWindowsUpdatesResult]:
|
164
|
-
"""
|
165
|
-
This data source provides the list of Windows Updates in Oracle Cloud Infrastructure Os Management Hub service.
|
166
|
-
|
167
|
-
Lists Windows updates that have been reported to the service.
|
168
|
-
|
169
|
-
## Example Usage
|
170
|
-
|
171
|
-
```python
|
172
|
-
import pulumi
|
173
|
-
import pulumi_oci as oci
|
174
|
-
|
175
|
-
test_windows_updates = oci.OsManagementHub.get_windows_updates(compartment_id=compartment_id,
|
176
|
-
classification_types=windows_update_classification_type,
|
177
|
-
display_name_contains=windows_update_display_name_contains,
|
178
|
-
names=windows_update_name)
|
179
|
-
```
|
180
|
-
|
181
|
-
|
182
|
-
:param Sequence[str] classification_types: A filter to return only packages that match the given update classification type.
|
183
|
-
:param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment.
|
184
|
-
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
185
|
-
: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'
|
186
|
-
"""
|
187
|
-
...
|