pulumi-oci 1.36.0a1715707046__py3-none-any.whl → 1.36.0a1715878445__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +208 -0
- pulumi_oci/core/__init__.py +3 -0
- pulumi_oci/core/_inputs.py +40 -0
- pulumi_oci/core/get_ip_inventory_subnet.py +171 -0
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +171 -0
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +206 -0
- pulumi_oci/core/outputs.py +261 -0
- pulumi_oci/database/_inputs.py +192 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/get_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +418 -0
- pulumi_oci/database/vm_cluster.py +55 -0
- pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
- pulumi_oci/datasafe/__init__.py +1 -0
- pulumi_oci/datasafe/masking_report_management.py +693 -0
- pulumi_oci/email/__init__.py +3 -0
- pulumi_oci/email/_inputs.py +46 -0
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +77 -0
- pulumi_oci/email/email_return_path.py +642 -0
- pulumi_oci/email/get_email_domain.py +27 -1
- pulumi_oci/email/get_email_return_path.py +274 -0
- pulumi_oci/email/get_email_return_paths.py +203 -0
- pulumi_oci/email/outputs.py +231 -0
- pulumi_oci/loadbalancer/_inputs.py +16 -0
- pulumi_oci/loadbalancer/listener.py +2 -0
- pulumi_oci/loadbalancer/outputs.py +14 -0
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +14 -1
- pulumi_oci/networkloadbalancer/listener.py +51 -2
- pulumi_oci/networkloadbalancer/outputs.py +11 -0
- pulumi_oci/osmanagementhub/__init__.py +48 -0
- pulumi_oci/osmanagementhub/_inputs.py +3635 -493
- pulumi_oci/osmanagementhub/event.py +701 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +178 -0
- pulumi_oci/osmanagementhub/get_errata.py +283 -0
- pulumi_oci/osmanagementhub/get_erratum.py +308 -0
- pulumi_oci/osmanagementhub/get_event.py +314 -0
- pulumi_oci/osmanagementhub/get_events.py +314 -0
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +26 -13
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +48 -11
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +28 -15
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +86 -19
- pulumi_oci/osmanagementhub/get_managed_instance.py +587 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +190 -0
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +238 -0
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +62 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +7 -9
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +8 -10
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +220 -0
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +244 -0
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +71 -16
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +204 -0
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +187 -0
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +221 -0
- pulumi_oci/osmanagementhub/get_managed_instances.py +537 -0
- pulumi_oci/osmanagementhub/get_management_station.py +42 -19
- 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 +51 -12
- pulumi_oci/osmanagementhub/get_profiles.py +76 -16
- pulumi_oci/osmanagementhub/get_scheduled_job.py +426 -0
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +433 -0
- pulumi_oci/osmanagementhub/get_software_package.py +301 -0
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +329 -0
- pulumi_oci/osmanagementhub/get_software_packages.py +232 -0
- pulumi_oci/osmanagementhub/get_software_source.py +109 -18
- 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 +23 -10
- 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 +78 -21
- pulumi_oci/osmanagementhub/get_windows_update.py +222 -0
- pulumi_oci/osmanagementhub/get_windows_updates.py +187 -0
- pulumi_oci/osmanagementhub/lifecycle_environment.py +159 -86
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +249 -0
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +296 -0
- pulumi_oci/osmanagementhub/managed_instance.py +1327 -0
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +266 -0
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +214 -0
- pulumi_oci/osmanagementhub/managed_instance_group.py +264 -86
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +264 -0
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +526 -0
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +293 -0
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +292 -0
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +341 -0
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +341 -0
- pulumi_oci/osmanagementhub/management_station.py +184 -81
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +264 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +212 -0
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +264 -0
- pulumi_oci/osmanagementhub/outputs.py +10867 -2365
- pulumi_oci/osmanagementhub/profile.py +200 -78
- pulumi_oci/osmanagementhub/scheduled_job.py +1331 -0
- pulumi_oci/osmanagementhub/software_source.py +365 -181
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +266 -0
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +194 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/RECORD +119 -64
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0a1715707046.dist-info → pulumi_oci-1.36.0a1715878445.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,301 @@
|
|
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
|
+
|
13
|
+
__all__ = [
|
14
|
+
'GetSoftwarePackageResult',
|
15
|
+
'AwaitableGetSoftwarePackageResult',
|
16
|
+
'get_software_package',
|
17
|
+
'get_software_package_output',
|
18
|
+
]
|
19
|
+
|
20
|
+
@pulumi.output_type
|
21
|
+
class GetSoftwarePackageResult:
|
22
|
+
"""
|
23
|
+
A collection of values returned by getSoftwarePackage.
|
24
|
+
"""
|
25
|
+
def __init__(__self__, architecture=None, checksum=None, checksum_type=None, dependencies=None, description=None, display_name=None, files=None, id=None, is_latest=None, last_modified_date=None, name=None, os_families=None, size_in_bytes=None, software_package_name=None, software_sources=None, type=None, version=None):
|
26
|
+
if architecture and not isinstance(architecture, str):
|
27
|
+
raise TypeError("Expected argument 'architecture' to be a str")
|
28
|
+
pulumi.set(__self__, "architecture", architecture)
|
29
|
+
if checksum and not isinstance(checksum, str):
|
30
|
+
raise TypeError("Expected argument 'checksum' to be a str")
|
31
|
+
pulumi.set(__self__, "checksum", checksum)
|
32
|
+
if checksum_type and not isinstance(checksum_type, str):
|
33
|
+
raise TypeError("Expected argument 'checksum_type' to be a str")
|
34
|
+
pulumi.set(__self__, "checksum_type", checksum_type)
|
35
|
+
if dependencies and not isinstance(dependencies, list):
|
36
|
+
raise TypeError("Expected argument 'dependencies' to be a list")
|
37
|
+
pulumi.set(__self__, "dependencies", dependencies)
|
38
|
+
if description and not isinstance(description, str):
|
39
|
+
raise TypeError("Expected argument 'description' to be a str")
|
40
|
+
pulumi.set(__self__, "description", description)
|
41
|
+
if display_name and not isinstance(display_name, str):
|
42
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
43
|
+
pulumi.set(__self__, "display_name", display_name)
|
44
|
+
if files and not isinstance(files, list):
|
45
|
+
raise TypeError("Expected argument 'files' to be a list")
|
46
|
+
pulumi.set(__self__, "files", files)
|
47
|
+
if id and not isinstance(id, str):
|
48
|
+
raise TypeError("Expected argument 'id' to be a str")
|
49
|
+
pulumi.set(__self__, "id", id)
|
50
|
+
if is_latest and not isinstance(is_latest, bool):
|
51
|
+
raise TypeError("Expected argument 'is_latest' to be a bool")
|
52
|
+
pulumi.set(__self__, "is_latest", is_latest)
|
53
|
+
if last_modified_date and not isinstance(last_modified_date, str):
|
54
|
+
raise TypeError("Expected argument 'last_modified_date' to be a str")
|
55
|
+
pulumi.set(__self__, "last_modified_date", last_modified_date)
|
56
|
+
if name and not isinstance(name, str):
|
57
|
+
raise TypeError("Expected argument 'name' to be a str")
|
58
|
+
pulumi.set(__self__, "name", name)
|
59
|
+
if os_families and not isinstance(os_families, list):
|
60
|
+
raise TypeError("Expected argument 'os_families' to be a list")
|
61
|
+
pulumi.set(__self__, "os_families", os_families)
|
62
|
+
if size_in_bytes and not isinstance(size_in_bytes, str):
|
63
|
+
raise TypeError("Expected argument 'size_in_bytes' to be a str")
|
64
|
+
pulumi.set(__self__, "size_in_bytes", size_in_bytes)
|
65
|
+
if software_package_name and not isinstance(software_package_name, str):
|
66
|
+
raise TypeError("Expected argument 'software_package_name' to be a str")
|
67
|
+
pulumi.set(__self__, "software_package_name", software_package_name)
|
68
|
+
if software_sources and not isinstance(software_sources, list):
|
69
|
+
raise TypeError("Expected argument 'software_sources' to be a list")
|
70
|
+
pulumi.set(__self__, "software_sources", software_sources)
|
71
|
+
if type and not isinstance(type, str):
|
72
|
+
raise TypeError("Expected argument 'type' to be a str")
|
73
|
+
pulumi.set(__self__, "type", type)
|
74
|
+
if version and not isinstance(version, str):
|
75
|
+
raise TypeError("Expected argument 'version' to be a str")
|
76
|
+
pulumi.set(__self__, "version", version)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def architecture(self) -> str:
|
81
|
+
"""
|
82
|
+
The architecture for which this software was built
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "architecture")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def checksum(self) -> str:
|
89
|
+
"""
|
90
|
+
Checksum of the file.
|
91
|
+
"""
|
92
|
+
return pulumi.get(self, "checksum")
|
93
|
+
|
94
|
+
@property
|
95
|
+
@pulumi.getter(name="checksumType")
|
96
|
+
def checksum_type(self) -> str:
|
97
|
+
"""
|
98
|
+
Type of the checksum.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "checksum_type")
|
101
|
+
|
102
|
+
@property
|
103
|
+
@pulumi.getter
|
104
|
+
def dependencies(self) -> Sequence['outputs.GetSoftwarePackageDependencyResult']:
|
105
|
+
"""
|
106
|
+
List of dependencies for the software package.
|
107
|
+
"""
|
108
|
+
return pulumi.get(self, "dependencies")
|
109
|
+
|
110
|
+
@property
|
111
|
+
@pulumi.getter
|
112
|
+
def description(self) -> str:
|
113
|
+
"""
|
114
|
+
Software source description.
|
115
|
+
"""
|
116
|
+
return pulumi.get(self, "description")
|
117
|
+
|
118
|
+
@property
|
119
|
+
@pulumi.getter(name="displayName")
|
120
|
+
def display_name(self) -> str:
|
121
|
+
"""
|
122
|
+
Software source name.
|
123
|
+
"""
|
124
|
+
return pulumi.get(self, "display_name")
|
125
|
+
|
126
|
+
@property
|
127
|
+
@pulumi.getter
|
128
|
+
def files(self) -> Sequence['outputs.GetSoftwarePackageFileResult']:
|
129
|
+
"""
|
130
|
+
List of files for the software package.
|
131
|
+
"""
|
132
|
+
return pulumi.get(self, "files")
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter
|
136
|
+
def id(self) -> str:
|
137
|
+
"""
|
138
|
+
The provider-assigned unique ID for this managed resource.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "id")
|
141
|
+
|
142
|
+
@property
|
143
|
+
@pulumi.getter(name="isLatest")
|
144
|
+
def is_latest(self) -> bool:
|
145
|
+
"""
|
146
|
+
Indicates whether this package is the latest version.
|
147
|
+
"""
|
148
|
+
return pulumi.get(self, "is_latest")
|
149
|
+
|
150
|
+
@property
|
151
|
+
@pulumi.getter(name="lastModifiedDate")
|
152
|
+
def last_modified_date(self) -> str:
|
153
|
+
"""
|
154
|
+
The date and time the package was last modified (in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) format).
|
155
|
+
"""
|
156
|
+
return pulumi.get(self, "last_modified_date")
|
157
|
+
|
158
|
+
@property
|
159
|
+
@pulumi.getter
|
160
|
+
def name(self) -> str:
|
161
|
+
"""
|
162
|
+
Unique identifier for the package. Note that this is not an OCID.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "name")
|
165
|
+
|
166
|
+
@property
|
167
|
+
@pulumi.getter(name="osFamilies")
|
168
|
+
def os_families(self) -> Sequence[str]:
|
169
|
+
"""
|
170
|
+
The OS families the package belongs to.
|
171
|
+
"""
|
172
|
+
return pulumi.get(self, "os_families")
|
173
|
+
|
174
|
+
@property
|
175
|
+
@pulumi.getter(name="sizeInBytes")
|
176
|
+
def size_in_bytes(self) -> str:
|
177
|
+
"""
|
178
|
+
Size of the package in bytes.
|
179
|
+
"""
|
180
|
+
return pulumi.get(self, "size_in_bytes")
|
181
|
+
|
182
|
+
@property
|
183
|
+
@pulumi.getter(name="softwarePackageName")
|
184
|
+
def software_package_name(self) -> str:
|
185
|
+
return pulumi.get(self, "software_package_name")
|
186
|
+
|
187
|
+
@property
|
188
|
+
@pulumi.getter(name="softwareSources")
|
189
|
+
def software_sources(self) -> Sequence['outputs.GetSoftwarePackageSoftwareSourceResult']:
|
190
|
+
"""
|
191
|
+
List of software sources that provide the software package. This property is deprecated and it will be removed in a future API release.
|
192
|
+
"""
|
193
|
+
return pulumi.get(self, "software_sources")
|
194
|
+
|
195
|
+
@property
|
196
|
+
@pulumi.getter
|
197
|
+
def type(self) -> str:
|
198
|
+
"""
|
199
|
+
Type of the package.
|
200
|
+
"""
|
201
|
+
return pulumi.get(self, "type")
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter
|
205
|
+
def version(self) -> str:
|
206
|
+
"""
|
207
|
+
Version of the package.
|
208
|
+
"""
|
209
|
+
return pulumi.get(self, "version")
|
210
|
+
|
211
|
+
|
212
|
+
class AwaitableGetSoftwarePackageResult(GetSoftwarePackageResult):
|
213
|
+
# pylint: disable=using-constant-test
|
214
|
+
def __await__(self):
|
215
|
+
if False:
|
216
|
+
yield self
|
217
|
+
return GetSoftwarePackageResult(
|
218
|
+
architecture=self.architecture,
|
219
|
+
checksum=self.checksum,
|
220
|
+
checksum_type=self.checksum_type,
|
221
|
+
dependencies=self.dependencies,
|
222
|
+
description=self.description,
|
223
|
+
display_name=self.display_name,
|
224
|
+
files=self.files,
|
225
|
+
id=self.id,
|
226
|
+
is_latest=self.is_latest,
|
227
|
+
last_modified_date=self.last_modified_date,
|
228
|
+
name=self.name,
|
229
|
+
os_families=self.os_families,
|
230
|
+
size_in_bytes=self.size_in_bytes,
|
231
|
+
software_package_name=self.software_package_name,
|
232
|
+
software_sources=self.software_sources,
|
233
|
+
type=self.type,
|
234
|
+
version=self.version)
|
235
|
+
|
236
|
+
|
237
|
+
def get_software_package(software_package_name: Optional[str] = None,
|
238
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSoftwarePackageResult:
|
239
|
+
"""
|
240
|
+
This data source provides details about a specific Software Package resource in Oracle Cloud Infrastructure Os Management Hub service.
|
241
|
+
|
242
|
+
Returns information about the specified software package based on its fully qualified name.
|
243
|
+
|
244
|
+
## Example Usage
|
245
|
+
|
246
|
+
```python
|
247
|
+
import pulumi
|
248
|
+
import pulumi_oci as oci
|
249
|
+
|
250
|
+
test_software_package = oci.OsManagementHub.get_software_package(software_package_name=test_software_package_oci_os_management_hub_software_package["name"])
|
251
|
+
```
|
252
|
+
|
253
|
+
|
254
|
+
:param str software_package_name: The name of the software package.
|
255
|
+
"""
|
256
|
+
__args__ = dict()
|
257
|
+
__args__['softwarePackageName'] = software_package_name
|
258
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
259
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getSoftwarePackage:getSoftwarePackage', __args__, opts=opts, typ=GetSoftwarePackageResult).value
|
260
|
+
|
261
|
+
return AwaitableGetSoftwarePackageResult(
|
262
|
+
architecture=pulumi.get(__ret__, 'architecture'),
|
263
|
+
checksum=pulumi.get(__ret__, 'checksum'),
|
264
|
+
checksum_type=pulumi.get(__ret__, 'checksum_type'),
|
265
|
+
dependencies=pulumi.get(__ret__, 'dependencies'),
|
266
|
+
description=pulumi.get(__ret__, 'description'),
|
267
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
268
|
+
files=pulumi.get(__ret__, 'files'),
|
269
|
+
id=pulumi.get(__ret__, 'id'),
|
270
|
+
is_latest=pulumi.get(__ret__, 'is_latest'),
|
271
|
+
last_modified_date=pulumi.get(__ret__, 'last_modified_date'),
|
272
|
+
name=pulumi.get(__ret__, 'name'),
|
273
|
+
os_families=pulumi.get(__ret__, 'os_families'),
|
274
|
+
size_in_bytes=pulumi.get(__ret__, 'size_in_bytes'),
|
275
|
+
software_package_name=pulumi.get(__ret__, 'software_package_name'),
|
276
|
+
software_sources=pulumi.get(__ret__, 'software_sources'),
|
277
|
+
type=pulumi.get(__ret__, 'type'),
|
278
|
+
version=pulumi.get(__ret__, 'version'))
|
279
|
+
|
280
|
+
|
281
|
+
@_utilities.lift_output_func(get_software_package)
|
282
|
+
def get_software_package_output(software_package_name: Optional[pulumi.Input[str]] = None,
|
283
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSoftwarePackageResult]:
|
284
|
+
"""
|
285
|
+
This data source provides details about a specific Software Package resource in Oracle Cloud Infrastructure Os Management Hub service.
|
286
|
+
|
287
|
+
Returns information about the specified software package based on its fully qualified name.
|
288
|
+
|
289
|
+
## Example Usage
|
290
|
+
|
291
|
+
```python
|
292
|
+
import pulumi
|
293
|
+
import pulumi_oci as oci
|
294
|
+
|
295
|
+
test_software_package = oci.OsManagementHub.get_software_package(software_package_name=test_software_package_oci_os_management_hub_software_package["name"])
|
296
|
+
```
|
297
|
+
|
298
|
+
|
299
|
+
:param str software_package_name: The name of the software package.
|
300
|
+
"""
|
301
|
+
...
|
@@ -0,0 +1,329 @@
|
|
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
|
+
'GetSoftwarePackageSoftwareSourceResult',
|
16
|
+
'AwaitableGetSoftwarePackageSoftwareSourceResult',
|
17
|
+
'get_software_package_software_source',
|
18
|
+
'get_software_package_software_source_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetSoftwarePackageSoftwareSourceResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getSoftwarePackageSoftwareSource.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, arch_types=None, availabilities=None, availability_anywheres=None, availability_at_ocis=None, compartment_id=None, display_name=None, display_name_contains=None, filters=None, id=None, os_families=None, software_package_name=None, software_source_collections=None, software_source_types=None, states=None):
|
27
|
+
if arch_types and not isinstance(arch_types, list):
|
28
|
+
raise TypeError("Expected argument 'arch_types' to be a list")
|
29
|
+
pulumi.set(__self__, "arch_types", arch_types)
|
30
|
+
if availabilities and not isinstance(availabilities, list):
|
31
|
+
raise TypeError("Expected argument 'availabilities' to be a list")
|
32
|
+
pulumi.set(__self__, "availabilities", availabilities)
|
33
|
+
if availability_anywheres and not isinstance(availability_anywheres, list):
|
34
|
+
raise TypeError("Expected argument 'availability_anywheres' to be a list")
|
35
|
+
pulumi.set(__self__, "availability_anywheres", availability_anywheres)
|
36
|
+
if availability_at_ocis and not isinstance(availability_at_ocis, list):
|
37
|
+
raise TypeError("Expected argument 'availability_at_ocis' to be a list")
|
38
|
+
pulumi.set(__self__, "availability_at_ocis", availability_at_ocis)
|
39
|
+
if compartment_id and not isinstance(compartment_id, str):
|
40
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
41
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
42
|
+
if display_name and not isinstance(display_name, str):
|
43
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
44
|
+
pulumi.set(__self__, "display_name", display_name)
|
45
|
+
if display_name_contains and not isinstance(display_name_contains, str):
|
46
|
+
raise TypeError("Expected argument 'display_name_contains' to be a str")
|
47
|
+
pulumi.set(__self__, "display_name_contains", display_name_contains)
|
48
|
+
if filters and not isinstance(filters, list):
|
49
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
50
|
+
pulumi.set(__self__, "filters", filters)
|
51
|
+
if id and not isinstance(id, str):
|
52
|
+
raise TypeError("Expected argument 'id' to be a str")
|
53
|
+
pulumi.set(__self__, "id", id)
|
54
|
+
if os_families and not isinstance(os_families, list):
|
55
|
+
raise TypeError("Expected argument 'os_families' to be a list")
|
56
|
+
pulumi.set(__self__, "os_families", os_families)
|
57
|
+
if software_package_name and not isinstance(software_package_name, str):
|
58
|
+
raise TypeError("Expected argument 'software_package_name' to be a str")
|
59
|
+
pulumi.set(__self__, "software_package_name", software_package_name)
|
60
|
+
if software_source_collections and not isinstance(software_source_collections, list):
|
61
|
+
raise TypeError("Expected argument 'software_source_collections' to be a list")
|
62
|
+
pulumi.set(__self__, "software_source_collections", software_source_collections)
|
63
|
+
if software_source_types and not isinstance(software_source_types, list):
|
64
|
+
raise TypeError("Expected argument 'software_source_types' to be a list")
|
65
|
+
pulumi.set(__self__, "software_source_types", software_source_types)
|
66
|
+
if states and not isinstance(states, list):
|
67
|
+
raise TypeError("Expected argument 'states' to be a list")
|
68
|
+
pulumi.set(__self__, "states", states)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="archTypes")
|
72
|
+
def arch_types(self) -> Optional[Sequence[str]]:
|
73
|
+
"""
|
74
|
+
The architecture type supported by the software source.
|
75
|
+
"""
|
76
|
+
return pulumi.get(self, "arch_types")
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def availabilities(self) -> Optional[Sequence[str]]:
|
81
|
+
"""
|
82
|
+
Availability of the software source (for non-OCI environments).
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "availabilities")
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter(name="availabilityAnywheres")
|
88
|
+
def availability_anywheres(self) -> Optional[Sequence[str]]:
|
89
|
+
return pulumi.get(self, "availability_anywheres")
|
90
|
+
|
91
|
+
@property
|
92
|
+
@pulumi.getter(name="availabilityAtOcis")
|
93
|
+
def availability_at_ocis(self) -> Optional[Sequence[str]]:
|
94
|
+
"""
|
95
|
+
Availability of the software source (for Oracle Cloud Infrastructure environments).
|
96
|
+
"""
|
97
|
+
return pulumi.get(self, "availability_at_ocis")
|
98
|
+
|
99
|
+
@property
|
100
|
+
@pulumi.getter(name="compartmentId")
|
101
|
+
def compartment_id(self) -> str:
|
102
|
+
"""
|
103
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source.
|
104
|
+
"""
|
105
|
+
return pulumi.get(self, "compartment_id")
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter(name="displayName")
|
109
|
+
def display_name(self) -> Optional[str]:
|
110
|
+
"""
|
111
|
+
User-friendly name.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "display_name")
|
114
|
+
|
115
|
+
@property
|
116
|
+
@pulumi.getter(name="displayNameContains")
|
117
|
+
def display_name_contains(self) -> Optional[str]:
|
118
|
+
return pulumi.get(self, "display_name_contains")
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter
|
122
|
+
def filters(self) -> Optional[Sequence['outputs.GetSoftwarePackageSoftwareSourceFilterResult']]:
|
123
|
+
return pulumi.get(self, "filters")
|
124
|
+
|
125
|
+
@property
|
126
|
+
@pulumi.getter
|
127
|
+
def id(self) -> str:
|
128
|
+
"""
|
129
|
+
The provider-assigned unique ID for this managed resource.
|
130
|
+
"""
|
131
|
+
return pulumi.get(self, "id")
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="osFamilies")
|
135
|
+
def os_families(self) -> Optional[Sequence[str]]:
|
136
|
+
"""
|
137
|
+
The OS family the software source belongs to.
|
138
|
+
"""
|
139
|
+
return pulumi.get(self, "os_families")
|
140
|
+
|
141
|
+
@property
|
142
|
+
@pulumi.getter(name="softwarePackageName")
|
143
|
+
def software_package_name(self) -> str:
|
144
|
+
return pulumi.get(self, "software_package_name")
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="softwareSourceCollections")
|
148
|
+
def software_source_collections(self) -> Sequence['outputs.GetSoftwarePackageSoftwareSourceSoftwareSourceCollectionResult']:
|
149
|
+
"""
|
150
|
+
The list of software_source_collection.
|
151
|
+
"""
|
152
|
+
return pulumi.get(self, "software_source_collections")
|
153
|
+
|
154
|
+
@property
|
155
|
+
@pulumi.getter(name="softwareSourceTypes")
|
156
|
+
def software_source_types(self) -> Optional[Sequence[str]]:
|
157
|
+
"""
|
158
|
+
Type of software source.
|
159
|
+
"""
|
160
|
+
return pulumi.get(self, "software_source_types")
|
161
|
+
|
162
|
+
@property
|
163
|
+
@pulumi.getter
|
164
|
+
def states(self) -> Optional[Sequence[str]]:
|
165
|
+
"""
|
166
|
+
The current state of the software source.
|
167
|
+
"""
|
168
|
+
return pulumi.get(self, "states")
|
169
|
+
|
170
|
+
|
171
|
+
class AwaitableGetSoftwarePackageSoftwareSourceResult(GetSoftwarePackageSoftwareSourceResult):
|
172
|
+
# pylint: disable=using-constant-test
|
173
|
+
def __await__(self):
|
174
|
+
if False:
|
175
|
+
yield self
|
176
|
+
return GetSoftwarePackageSoftwareSourceResult(
|
177
|
+
arch_types=self.arch_types,
|
178
|
+
availabilities=self.availabilities,
|
179
|
+
availability_anywheres=self.availability_anywheres,
|
180
|
+
availability_at_ocis=self.availability_at_ocis,
|
181
|
+
compartment_id=self.compartment_id,
|
182
|
+
display_name=self.display_name,
|
183
|
+
display_name_contains=self.display_name_contains,
|
184
|
+
filters=self.filters,
|
185
|
+
id=self.id,
|
186
|
+
os_families=self.os_families,
|
187
|
+
software_package_name=self.software_package_name,
|
188
|
+
software_source_collections=self.software_source_collections,
|
189
|
+
software_source_types=self.software_source_types,
|
190
|
+
states=self.states)
|
191
|
+
|
192
|
+
|
193
|
+
def get_software_package_software_source(arch_types: Optional[Sequence[str]] = None,
|
194
|
+
availabilities: Optional[Sequence[str]] = None,
|
195
|
+
availability_anywheres: Optional[Sequence[str]] = None,
|
196
|
+
availability_at_ocis: Optional[Sequence[str]] = None,
|
197
|
+
compartment_id: Optional[str] = None,
|
198
|
+
display_name: Optional[str] = None,
|
199
|
+
display_name_contains: Optional[str] = None,
|
200
|
+
filters: Optional[Sequence[pulumi.InputType['GetSoftwarePackageSoftwareSourceFilterArgs']]] = None,
|
201
|
+
os_families: Optional[Sequence[str]] = None,
|
202
|
+
software_package_name: Optional[str] = None,
|
203
|
+
software_source_types: Optional[Sequence[str]] = None,
|
204
|
+
states: Optional[Sequence[str]] = None,
|
205
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSoftwarePackageSoftwareSourceResult:
|
206
|
+
"""
|
207
|
+
This data source provides the list of Software Package Software Source in Oracle Cloud Infrastructure Os Management Hub service.
|
208
|
+
|
209
|
+
Lists the software sources in the tenancy that contain the software package. Filter the list against a
|
210
|
+
variety of criteria including but not limited to its name, type, architecture, and OS family.
|
211
|
+
|
212
|
+
## Example Usage
|
213
|
+
|
214
|
+
```python
|
215
|
+
import pulumi
|
216
|
+
import pulumi_oci as oci
|
217
|
+
|
218
|
+
test_software_package_software_source = oci.OsManagementHub.get_software_package_software_source(compartment_id=compartment_id,
|
219
|
+
software_package_name=test_software_package["name"],
|
220
|
+
arch_types=software_package_software_source_arch_type,
|
221
|
+
availabilities=software_package_software_source_availability,
|
222
|
+
availability_anywheres=software_package_software_source_availability_anywhere,
|
223
|
+
availability_at_ocis=software_package_software_source_availability_at_oci,
|
224
|
+
display_name=software_package_software_source_display_name,
|
225
|
+
display_name_contains=software_package_software_source_display_name_contains,
|
226
|
+
os_families=software_package_software_source_os_family,
|
227
|
+
software_source_types=software_package_software_source_software_source_type,
|
228
|
+
states=software_package_software_source_state)
|
229
|
+
```
|
230
|
+
|
231
|
+
|
232
|
+
:param Sequence[str] arch_types: A filter to return only instances whose architecture type matches the given architecture.
|
233
|
+
:param Sequence[str] availabilities: The availabilities of the software source in a non-OCI environment for a tenancy.
|
234
|
+
:param Sequence[str] availability_anywheres: The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
|
235
|
+
:param Sequence[str] availability_at_ocis: The availabilities of the software source in an Oracle Cloud Infrastructure environment for a tenancy.
|
236
|
+
: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.
|
237
|
+
:param str display_name: A filter to return resources that match the given user-friendly name.
|
238
|
+
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
239
|
+
:param Sequence[str] os_families: A filter to return only resources that match the given operating system family.
|
240
|
+
:param str software_package_name: The name of the software package.
|
241
|
+
:param Sequence[str] software_source_types: The type of the software source.
|
242
|
+
:param Sequence[str] states: A filter to return only software sources whose state matches the given state.
|
243
|
+
"""
|
244
|
+
__args__ = dict()
|
245
|
+
__args__['archTypes'] = arch_types
|
246
|
+
__args__['availabilities'] = availabilities
|
247
|
+
__args__['availabilityAnywheres'] = availability_anywheres
|
248
|
+
__args__['availabilityAtOcis'] = availability_at_ocis
|
249
|
+
__args__['compartmentId'] = compartment_id
|
250
|
+
__args__['displayName'] = display_name
|
251
|
+
__args__['displayNameContains'] = display_name_contains
|
252
|
+
__args__['filters'] = filters
|
253
|
+
__args__['osFamilies'] = os_families
|
254
|
+
__args__['softwarePackageName'] = software_package_name
|
255
|
+
__args__['softwareSourceTypes'] = software_source_types
|
256
|
+
__args__['states'] = states
|
257
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
258
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getSoftwarePackageSoftwareSource:getSoftwarePackageSoftwareSource', __args__, opts=opts, typ=GetSoftwarePackageSoftwareSourceResult).value
|
259
|
+
|
260
|
+
return AwaitableGetSoftwarePackageSoftwareSourceResult(
|
261
|
+
arch_types=pulumi.get(__ret__, 'arch_types'),
|
262
|
+
availabilities=pulumi.get(__ret__, 'availabilities'),
|
263
|
+
availability_anywheres=pulumi.get(__ret__, 'availability_anywheres'),
|
264
|
+
availability_at_ocis=pulumi.get(__ret__, 'availability_at_ocis'),
|
265
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
266
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
267
|
+
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
268
|
+
filters=pulumi.get(__ret__, 'filters'),
|
269
|
+
id=pulumi.get(__ret__, 'id'),
|
270
|
+
os_families=pulumi.get(__ret__, 'os_families'),
|
271
|
+
software_package_name=pulumi.get(__ret__, 'software_package_name'),
|
272
|
+
software_source_collections=pulumi.get(__ret__, 'software_source_collections'),
|
273
|
+
software_source_types=pulumi.get(__ret__, 'software_source_types'),
|
274
|
+
states=pulumi.get(__ret__, 'states'))
|
275
|
+
|
276
|
+
|
277
|
+
@_utilities.lift_output_func(get_software_package_software_source)
|
278
|
+
def get_software_package_software_source_output(arch_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
279
|
+
availabilities: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
280
|
+
availability_anywheres: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
281
|
+
availability_at_ocis: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
282
|
+
compartment_id: Optional[pulumi.Input[str]] = None,
|
283
|
+
display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
284
|
+
display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
285
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetSoftwarePackageSoftwareSourceFilterArgs']]]]] = None,
|
286
|
+
os_families: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
287
|
+
software_package_name: Optional[pulumi.Input[str]] = None,
|
288
|
+
software_source_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
289
|
+
states: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
290
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSoftwarePackageSoftwareSourceResult]:
|
291
|
+
"""
|
292
|
+
This data source provides the list of Software Package Software Source in Oracle Cloud Infrastructure Os Management Hub service.
|
293
|
+
|
294
|
+
Lists the software sources in the tenancy that contain the software package. Filter the list against a
|
295
|
+
variety of criteria including but not limited to its name, type, architecture, and OS family.
|
296
|
+
|
297
|
+
## Example Usage
|
298
|
+
|
299
|
+
```python
|
300
|
+
import pulumi
|
301
|
+
import pulumi_oci as oci
|
302
|
+
|
303
|
+
test_software_package_software_source = oci.OsManagementHub.get_software_package_software_source(compartment_id=compartment_id,
|
304
|
+
software_package_name=test_software_package["name"],
|
305
|
+
arch_types=software_package_software_source_arch_type,
|
306
|
+
availabilities=software_package_software_source_availability,
|
307
|
+
availability_anywheres=software_package_software_source_availability_anywhere,
|
308
|
+
availability_at_ocis=software_package_software_source_availability_at_oci,
|
309
|
+
display_name=software_package_software_source_display_name,
|
310
|
+
display_name_contains=software_package_software_source_display_name_contains,
|
311
|
+
os_families=software_package_software_source_os_family,
|
312
|
+
software_source_types=software_package_software_source_software_source_type,
|
313
|
+
states=software_package_software_source_state)
|
314
|
+
```
|
315
|
+
|
316
|
+
|
317
|
+
:param Sequence[str] arch_types: A filter to return only instances whose architecture type matches the given architecture.
|
318
|
+
:param Sequence[str] availabilities: The availabilities of the software source in a non-OCI environment for a tenancy.
|
319
|
+
:param Sequence[str] availability_anywheres: The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
|
320
|
+
:param Sequence[str] availability_at_ocis: The availabilities of the software source in an Oracle Cloud Infrastructure environment for a tenancy.
|
321
|
+
: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.
|
322
|
+
:param str display_name: A filter to return resources that match the given user-friendly name.
|
323
|
+
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
324
|
+
:param Sequence[str] os_families: A filter to return only resources that match the given operating system family.
|
325
|
+
:param str software_package_name: The name of the software package.
|
326
|
+
:param Sequence[str] software_source_types: The type of the software source.
|
327
|
+
:param Sequence[str] states: A filter to return only software sources whose state matches the given state.
|
328
|
+
"""
|
329
|
+
...
|