pulumi-oci 2.27.0a1742279484__py3-none-any.whl → 2.28.0a1742538577__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 +144 -0
- pulumi_oci/containerengine/_inputs.py +9 -9
- pulumi_oci/containerengine/outputs.py +18 -22
- pulumi_oci/core/__init__.py +7 -0
- pulumi_oci/core/_inputs.py +147 -0
- pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
- pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
- pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
- pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
- pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
- pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
- pulumi_oci/core/outputs.py +582 -0
- pulumi_oci/database/__init__.py +2 -0
- pulumi_oci/database/_inputs.py +2211 -24
- pulumi_oci/database/autonomous_container_database.py +305 -52
- pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
- pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
- pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
- pulumi_oci/database/get_autonomous_container_database.py +103 -2
- pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
- pulumi_oci/database/get_autonomous_container_databases.py +1 -1
- pulumi_oci/database/get_maintenance_run.py +15 -1
- pulumi_oci/database/maintenance_run.py +28 -0
- pulumi_oci/database/outputs.py +2747 -225
- pulumi_oci/goldengate/_inputs.py +128 -0
- pulumi_oci/goldengate/deployment.py +103 -0
- pulumi_oci/goldengate/deployment_backup.py +28 -0
- pulumi_oci/goldengate/get_deployment.py +43 -1
- pulumi_oci/goldengate/get_deployment_backup.py +15 -1
- pulumi_oci/goldengate/outputs.py +289 -0
- pulumi_oci/osmanagementhub/__init__.py +18 -0
- pulumi_oci/osmanagementhub/_inputs.py +677 -12
- pulumi_oci/osmanagementhub/event.py +8 -0
- pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
- pulumi_oci/osmanagementhub/get_event.py +2 -0
- pulumi_oci/osmanagementhub/get_events.py +2 -0
- pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
- pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
- pulumi_oci/osmanagementhub/get_management_station.py +116 -4
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
- pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
- pulumi_oci/osmanagementhub/get_profile.py +32 -4
- pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
- pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
- pulumi_oci/osmanagementhub/get_profiles.py +63 -3
- pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
- pulumi_oci/osmanagementhub/get_software_package.py +2 -2
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source.py +89 -5
- pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
- pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
- pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
- pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance.py +56 -0
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
- pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
- pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
- pulumi_oci/osmanagementhub/management_station.py +251 -4
- pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
- pulumi_oci/osmanagementhub/outputs.py +1349 -50
- pulumi_oci/osmanagementhub/profile.py +70 -14
- pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
- pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
- pulumi_oci/osmanagementhub/software_source.py +365 -26
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
- pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
- pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
- pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
- pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
- pulumi_oci/pulumi-plugin.json +1 -1
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/METADATA +2 -2
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/RECORD +84 -57
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,209 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = [
|
20
|
+
'GetSoftwareSourceAvailableSoftwarePackagesResult',
|
21
|
+
'AwaitableGetSoftwareSourceAvailableSoftwarePackagesResult',
|
22
|
+
'get_software_source_available_software_packages',
|
23
|
+
'get_software_source_available_software_packages_output',
|
24
|
+
]
|
25
|
+
|
26
|
+
@pulumi.output_type
|
27
|
+
class GetSoftwareSourceAvailableSoftwarePackagesResult:
|
28
|
+
"""
|
29
|
+
A collection of values returned by getSoftwareSourceAvailableSoftwarePackages.
|
30
|
+
"""
|
31
|
+
def __init__(__self__, display_name=None, display_name_contains=None, filters=None, id=None, is_latest=None, software_package_collections=None, software_source_id=None):
|
32
|
+
if display_name and not isinstance(display_name, str):
|
33
|
+
raise TypeError("Expected argument 'display_name' to be a str")
|
34
|
+
pulumi.set(__self__, "display_name", display_name)
|
35
|
+
if display_name_contains and not isinstance(display_name_contains, str):
|
36
|
+
raise TypeError("Expected argument 'display_name_contains' to be a str")
|
37
|
+
pulumi.set(__self__, "display_name_contains", display_name_contains)
|
38
|
+
if filters and not isinstance(filters, list):
|
39
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
40
|
+
pulumi.set(__self__, "filters", filters)
|
41
|
+
if id and not isinstance(id, str):
|
42
|
+
raise TypeError("Expected argument 'id' to be a str")
|
43
|
+
pulumi.set(__self__, "id", id)
|
44
|
+
if is_latest and not isinstance(is_latest, bool):
|
45
|
+
raise TypeError("Expected argument 'is_latest' to be a bool")
|
46
|
+
pulumi.set(__self__, "is_latest", is_latest)
|
47
|
+
if software_package_collections and not isinstance(software_package_collections, list):
|
48
|
+
raise TypeError("Expected argument 'software_package_collections' to be a list")
|
49
|
+
pulumi.set(__self__, "software_package_collections", software_package_collections)
|
50
|
+
if software_source_id and not isinstance(software_source_id, str):
|
51
|
+
raise TypeError("Expected argument 'software_source_id' to be a str")
|
52
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter(name="displayName")
|
56
|
+
def display_name(self) -> Optional[str]:
|
57
|
+
"""
|
58
|
+
Software source name.
|
59
|
+
"""
|
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.GetSoftwareSourceAvailableSoftwarePackagesFilterResult']]:
|
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="isLatest")
|
82
|
+
def is_latest(self) -> Optional[bool]:
|
83
|
+
"""
|
84
|
+
Indicates whether this package is the latest version.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "is_latest")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="softwarePackageCollections")
|
90
|
+
def software_package_collections(self) -> Sequence['outputs.GetSoftwareSourceAvailableSoftwarePackagesSoftwarePackageCollectionResult']:
|
91
|
+
"""
|
92
|
+
The list of software_package_collection.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "software_package_collections")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="softwareSourceId")
|
98
|
+
def software_source_id(self) -> str:
|
99
|
+
return pulumi.get(self, "software_source_id")
|
100
|
+
|
101
|
+
|
102
|
+
class AwaitableGetSoftwareSourceAvailableSoftwarePackagesResult(GetSoftwareSourceAvailableSoftwarePackagesResult):
|
103
|
+
# pylint: disable=using-constant-test
|
104
|
+
def __await__(self):
|
105
|
+
if False:
|
106
|
+
yield self
|
107
|
+
return GetSoftwareSourceAvailableSoftwarePackagesResult(
|
108
|
+
display_name=self.display_name,
|
109
|
+
display_name_contains=self.display_name_contains,
|
110
|
+
filters=self.filters,
|
111
|
+
id=self.id,
|
112
|
+
is_latest=self.is_latest,
|
113
|
+
software_package_collections=self.software_package_collections,
|
114
|
+
software_source_id=self.software_source_id)
|
115
|
+
|
116
|
+
|
117
|
+
def get_software_source_available_software_packages(display_name: Optional[str] = None,
|
118
|
+
display_name_contains: Optional[str] = None,
|
119
|
+
filters: Optional[Sequence[Union['GetSoftwareSourceAvailableSoftwarePackagesFilterArgs', 'GetSoftwareSourceAvailableSoftwarePackagesFilterArgsDict']]] = None,
|
120
|
+
is_latest: Optional[bool] = None,
|
121
|
+
software_source_id: Optional[str] = None,
|
122
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSoftwareSourceAvailableSoftwarePackagesResult:
|
123
|
+
"""
|
124
|
+
This data source provides the list of Software Source Available Software Packages in Oracle Cloud Infrastructure Os Management Hub service.
|
125
|
+
|
126
|
+
Lists software packages that are available to be added to a custom software source of type MANIFEST. Filter the list against a variety of criteria
|
127
|
+
including but not limited to its name.
|
128
|
+
|
129
|
+
## Example Usage
|
130
|
+
|
131
|
+
```python
|
132
|
+
import pulumi
|
133
|
+
import pulumi_oci as oci
|
134
|
+
|
135
|
+
test_software_source_available_software_packages = oci.OsManagementHub.get_software_source_available_software_packages(software_source_id=test_software_source["id"],
|
136
|
+
display_name=software_source_available_software_package_display_name,
|
137
|
+
display_name_contains=software_source_available_software_package_display_name_contains,
|
138
|
+
is_latest=software_source_available_software_package_is_latest)
|
139
|
+
```
|
140
|
+
|
141
|
+
|
142
|
+
:param str display_name: A filter to return resources that match the given user-friendly name.
|
143
|
+
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
144
|
+
:param bool is_latest: Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
145
|
+
:param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
146
|
+
"""
|
147
|
+
__args__ = dict()
|
148
|
+
__args__['displayName'] = display_name
|
149
|
+
__args__['displayNameContains'] = display_name_contains
|
150
|
+
__args__['filters'] = filters
|
151
|
+
__args__['isLatest'] = is_latest
|
152
|
+
__args__['softwareSourceId'] = software_source_id
|
153
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
154
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getSoftwareSourceAvailableSoftwarePackages:getSoftwareSourceAvailableSoftwarePackages', __args__, opts=opts, typ=GetSoftwareSourceAvailableSoftwarePackagesResult).value
|
155
|
+
|
156
|
+
return AwaitableGetSoftwareSourceAvailableSoftwarePackagesResult(
|
157
|
+
display_name=pulumi.get(__ret__, 'display_name'),
|
158
|
+
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
159
|
+
filters=pulumi.get(__ret__, 'filters'),
|
160
|
+
id=pulumi.get(__ret__, 'id'),
|
161
|
+
is_latest=pulumi.get(__ret__, 'is_latest'),
|
162
|
+
software_package_collections=pulumi.get(__ret__, 'software_package_collections'),
|
163
|
+
software_source_id=pulumi.get(__ret__, 'software_source_id'))
|
164
|
+
def get_software_source_available_software_packages_output(display_name: Optional[pulumi.Input[Optional[str]]] = None,
|
165
|
+
display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
166
|
+
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSoftwareSourceAvailableSoftwarePackagesFilterArgs', 'GetSoftwareSourceAvailableSoftwarePackagesFilterArgsDict']]]]] = None,
|
167
|
+
is_latest: Optional[pulumi.Input[Optional[bool]]] = None,
|
168
|
+
software_source_id: Optional[pulumi.Input[str]] = None,
|
169
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSoftwareSourceAvailableSoftwarePackagesResult]:
|
170
|
+
"""
|
171
|
+
This data source provides the list of Software Source Available Software Packages in Oracle Cloud Infrastructure Os Management Hub service.
|
172
|
+
|
173
|
+
Lists software packages that are available to be added to a custom software source of type MANIFEST. Filter the list against a variety of criteria
|
174
|
+
including but not limited to its name.
|
175
|
+
|
176
|
+
## Example Usage
|
177
|
+
|
178
|
+
```python
|
179
|
+
import pulumi
|
180
|
+
import pulumi_oci as oci
|
181
|
+
|
182
|
+
test_software_source_available_software_packages = oci.OsManagementHub.get_software_source_available_software_packages(software_source_id=test_software_source["id"],
|
183
|
+
display_name=software_source_available_software_package_display_name,
|
184
|
+
display_name_contains=software_source_available_software_package_display_name_contains,
|
185
|
+
is_latest=software_source_available_software_package_is_latest)
|
186
|
+
```
|
187
|
+
|
188
|
+
|
189
|
+
:param str display_name: A filter to return resources that match the given user-friendly name.
|
190
|
+
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
191
|
+
:param bool is_latest: Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
|
192
|
+
:param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
193
|
+
"""
|
194
|
+
__args__ = dict()
|
195
|
+
__args__['displayName'] = display_name
|
196
|
+
__args__['displayNameContains'] = display_name_contains
|
197
|
+
__args__['filters'] = filters
|
198
|
+
__args__['isLatest'] = is_latest
|
199
|
+
__args__['softwareSourceId'] = software_source_id
|
200
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
201
|
+
__ret__ = pulumi.runtime.invoke_output('oci:OsManagementHub/getSoftwareSourceAvailableSoftwarePackages:getSoftwareSourceAvailableSoftwarePackages', __args__, opts=opts, typ=GetSoftwareSourceAvailableSoftwarePackagesResult)
|
202
|
+
return __ret__.apply(lambda __response__: GetSoftwareSourceAvailableSoftwarePackagesResult(
|
203
|
+
display_name=pulumi.get(__response__, 'display_name'),
|
204
|
+
display_name_contains=pulumi.get(__response__, 'display_name_contains'),
|
205
|
+
filters=pulumi.get(__response__, 'filters'),
|
206
|
+
id=pulumi.get(__response__, 'id'),
|
207
|
+
is_latest=pulumi.get(__response__, 'is_latest'),
|
208
|
+
software_package_collections=pulumi.get(__response__, 'software_package_collections'),
|
209
|
+
software_source_id=pulumi.get(__response__, 'software_source_id')))
|
@@ -0,0 +1,127 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetSoftwareSourceManifestResult',
|
19
|
+
'AwaitableGetSoftwareSourceManifestResult',
|
20
|
+
'get_software_source_manifest',
|
21
|
+
'get_software_source_manifest_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetSoftwareSourceManifestResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getSoftwareSourceManifest.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, content=None, id=None, software_source_id=None):
|
30
|
+
if content and not isinstance(content, str):
|
31
|
+
raise TypeError("Expected argument 'content' to be a str")
|
32
|
+
pulumi.set(__self__, "content", content)
|
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 software_source_id and not isinstance(software_source_id, str):
|
37
|
+
raise TypeError("Expected argument 'software_source_id' to be a str")
|
38
|
+
pulumi.set(__self__, "software_source_id", software_source_id)
|
39
|
+
|
40
|
+
@property
|
41
|
+
@pulumi.getter
|
42
|
+
def content(self) -> str:
|
43
|
+
"""
|
44
|
+
Provides the manifest content used to update the package list of the software source.
|
45
|
+
"""
|
46
|
+
return pulumi.get(self, "content")
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter
|
50
|
+
def id(self) -> str:
|
51
|
+
return pulumi.get(self, "id")
|
52
|
+
|
53
|
+
@property
|
54
|
+
@pulumi.getter(name="softwareSourceId")
|
55
|
+
def software_source_id(self) -> str:
|
56
|
+
"""
|
57
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
58
|
+
"""
|
59
|
+
return pulumi.get(self, "software_source_id")
|
60
|
+
|
61
|
+
|
62
|
+
class AwaitableGetSoftwareSourceManifestResult(GetSoftwareSourceManifestResult):
|
63
|
+
# pylint: disable=using-constant-test
|
64
|
+
def __await__(self):
|
65
|
+
if False:
|
66
|
+
yield self
|
67
|
+
return GetSoftwareSourceManifestResult(
|
68
|
+
content=self.content,
|
69
|
+
id=self.id,
|
70
|
+
software_source_id=self.software_source_id)
|
71
|
+
|
72
|
+
|
73
|
+
def get_software_source_manifest(software_source_id: Optional[str] = None,
|
74
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSoftwareSourceManifestResult:
|
75
|
+
"""
|
76
|
+
This data source provides details about a specific Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
|
77
|
+
|
78
|
+
Returns an archive containing the list of packages in the software source.
|
79
|
+
|
80
|
+
## Example Usage
|
81
|
+
|
82
|
+
```python
|
83
|
+
import pulumi
|
84
|
+
import pulumi_oci as oci
|
85
|
+
|
86
|
+
test_software_source_manifest = oci.OsManagementHub.get_software_source_manifest(software_source_id=test_software_source["id"])
|
87
|
+
```
|
88
|
+
|
89
|
+
|
90
|
+
:param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
91
|
+
"""
|
92
|
+
__args__ = dict()
|
93
|
+
__args__['softwareSourceId'] = software_source_id
|
94
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
95
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getSoftwareSourceManifest:getSoftwareSourceManifest', __args__, opts=opts, typ=GetSoftwareSourceManifestResult).value
|
96
|
+
|
97
|
+
return AwaitableGetSoftwareSourceManifestResult(
|
98
|
+
content=pulumi.get(__ret__, 'content'),
|
99
|
+
id=pulumi.get(__ret__, 'id'),
|
100
|
+
software_source_id=pulumi.get(__ret__, 'software_source_id'))
|
101
|
+
def get_software_source_manifest_output(software_source_id: Optional[pulumi.Input[str]] = None,
|
102
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSoftwareSourceManifestResult]:
|
103
|
+
"""
|
104
|
+
This data source provides details about a specific Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
|
105
|
+
|
106
|
+
Returns an archive containing the list of packages in the software source.
|
107
|
+
|
108
|
+
## Example Usage
|
109
|
+
|
110
|
+
```python
|
111
|
+
import pulumi
|
112
|
+
import pulumi_oci as oci
|
113
|
+
|
114
|
+
test_software_source_manifest = oci.OsManagementHub.get_software_source_manifest(software_source_id=test_software_source["id"])
|
115
|
+
```
|
116
|
+
|
117
|
+
|
118
|
+
:param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
119
|
+
"""
|
120
|
+
__args__ = dict()
|
121
|
+
__args__['softwareSourceId'] = software_source_id
|
122
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
123
|
+
__ret__ = pulumi.runtime.invoke_output('oci:OsManagementHub/getSoftwareSourceManifest:getSoftwareSourceManifest', __args__, opts=opts, typ=GetSoftwareSourceManifestResult)
|
124
|
+
return __ret__.apply(lambda __response__: GetSoftwareSourceManifestResult(
|
125
|
+
content=pulumi.get(__response__, 'content'),
|
126
|
+
id=pulumi.get(__response__, 'id'),
|
127
|
+
software_source_id=pulumi.get(__response__, 'software_source_id')))
|
@@ -28,7 +28,7 @@ class GetSoftwareSourcesResult:
|
|
28
28
|
"""
|
29
29
|
A collection of values returned by getSoftwareSources.
|
30
30
|
"""
|
31
|
-
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, display_name_not_equal_tos=None, filters=None, id=None, is_mandatory_for_autonomous_linux=None, os_families=None, software_source_collections=None, software_source_id=None, software_source_types=None, states=None, vendor_name=None):
|
31
|
+
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, display_name_not_equal_tos=None, filters=None, id=None, is_mandatory_for_autonomous_linux=None, is_mirror_sync_allowed=None, os_families=None, software_source_collections=None, software_source_id=None, software_source_types=None, states=None, vendor_name=None):
|
32
32
|
if arch_types and not isinstance(arch_types, list):
|
33
33
|
raise TypeError("Expected argument 'arch_types' to be a list")
|
34
34
|
pulumi.set(__self__, "arch_types", arch_types)
|
@@ -62,6 +62,9 @@ class GetSoftwareSourcesResult:
|
|
62
62
|
if is_mandatory_for_autonomous_linux and not isinstance(is_mandatory_for_autonomous_linux, bool):
|
63
63
|
raise TypeError("Expected argument 'is_mandatory_for_autonomous_linux' to be a bool")
|
64
64
|
pulumi.set(__self__, "is_mandatory_for_autonomous_linux", is_mandatory_for_autonomous_linux)
|
65
|
+
if is_mirror_sync_allowed and not isinstance(is_mirror_sync_allowed, bool):
|
66
|
+
raise TypeError("Expected argument 'is_mirror_sync_allowed' to be a bool")
|
67
|
+
pulumi.set(__self__, "is_mirror_sync_allowed", is_mirror_sync_allowed)
|
65
68
|
if os_families and not isinstance(os_families, list):
|
66
69
|
raise TypeError("Expected argument 'os_families' to be a list")
|
67
70
|
pulumi.set(__self__, "os_families", os_families)
|
@@ -157,11 +160,19 @@ class GetSoftwareSourcesResult:
|
|
157
160
|
"""
|
158
161
|
return pulumi.get(self, "is_mandatory_for_autonomous_linux")
|
159
162
|
|
163
|
+
@property
|
164
|
+
@pulumi.getter(name="isMirrorSyncAllowed")
|
165
|
+
def is_mirror_sync_allowed(self) -> Optional[bool]:
|
166
|
+
"""
|
167
|
+
Indicates if this software source can be mirrored to a management station.
|
168
|
+
"""
|
169
|
+
return pulumi.get(self, "is_mirror_sync_allowed")
|
170
|
+
|
160
171
|
@property
|
161
172
|
@pulumi.getter(name="osFamilies")
|
162
173
|
def os_families(self) -> Optional[Sequence[str]]:
|
163
174
|
"""
|
164
|
-
The OS family the software source
|
175
|
+
The OS family of the software source.
|
165
176
|
"""
|
166
177
|
return pulumi.get(self, "os_families")
|
167
178
|
|
@@ -220,6 +231,7 @@ class AwaitableGetSoftwareSourcesResult(GetSoftwareSourcesResult):
|
|
220
231
|
filters=self.filters,
|
221
232
|
id=self.id,
|
222
233
|
is_mandatory_for_autonomous_linux=self.is_mandatory_for_autonomous_linux,
|
234
|
+
is_mirror_sync_allowed=self.is_mirror_sync_allowed,
|
223
235
|
os_families=self.os_families,
|
224
236
|
software_source_collections=self.software_source_collections,
|
225
237
|
software_source_id=self.software_source_id,
|
@@ -238,6 +250,7 @@ def get_software_sources(arch_types: Optional[Sequence[str]] = None,
|
|
238
250
|
display_name_not_equal_tos: Optional[Sequence[str]] = None,
|
239
251
|
filters: Optional[Sequence[Union['GetSoftwareSourcesFilterArgs', 'GetSoftwareSourcesFilterArgsDict']]] = None,
|
240
252
|
is_mandatory_for_autonomous_linux: Optional[bool] = None,
|
253
|
+
is_mirror_sync_allowed: Optional[bool] = None,
|
241
254
|
os_families: Optional[Sequence[str]] = None,
|
242
255
|
software_source_id: Optional[str] = None,
|
243
256
|
software_source_types: Optional[Sequence[str]] = None,
|
@@ -265,6 +278,7 @@ def get_software_sources(arch_types: Optional[Sequence[str]] = None,
|
|
265
278
|
display_name_contains=software_source_display_name_contains,
|
266
279
|
display_name_not_equal_tos=software_source_display_name_not_equal_to,
|
267
280
|
is_mandatory_for_autonomous_linux=software_source_is_mandatory_for_autonomous_linux,
|
281
|
+
is_mirror_sync_allowed=software_source_is_mirror_sync_allowed,
|
268
282
|
os_families=software_source_os_family,
|
269
283
|
software_source_id=test_software_source["id"],
|
270
284
|
software_source_types=software_source_software_source_type,
|
@@ -274,14 +288,15 @@ def get_software_sources(arch_types: Optional[Sequence[str]] = None,
|
|
274
288
|
|
275
289
|
|
276
290
|
:param Sequence[str] arch_types: A filter to return only instances whose architecture type matches the given architecture.
|
277
|
-
:param Sequence[str] availabilities: The
|
278
|
-
:param Sequence[str] availability_anywheres: The
|
279
|
-
:param Sequence[str] availability_at_ocis: The
|
291
|
+
:param Sequence[str] availabilities: The availability of the software source in a non-OCI environment for a tenancy.
|
292
|
+
:param Sequence[str] availability_anywheres: The availability of the software source. Use this query parameter to filter across availabilities in different environments.
|
293
|
+
:param Sequence[str] availability_at_ocis: The availability of the software source in an Oracle Cloud Infrastructure environment for a tenancy.
|
280
294
|
:param str compartment_id: (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
281
295
|
:param str display_name: A filter to return resources that match the given user-friendly name.
|
282
296
|
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
283
297
|
:param Sequence[str] display_name_not_equal_tos: A multi filter to return resources that do not contains the given display names.
|
284
298
|
:param bool is_mandatory_for_autonomous_linux: Indicates whether the software source is mandatory for the Autonomous Linux service.
|
299
|
+
:param bool is_mirror_sync_allowed: A filter to return software sources which can be synced to a management station.
|
285
300
|
:param Sequence[str] os_families: A filter to return only resources that match the given operating system family.
|
286
301
|
:param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the software source.
|
287
302
|
:param Sequence[str] software_source_types: The type of the software source.
|
@@ -299,6 +314,7 @@ def get_software_sources(arch_types: Optional[Sequence[str]] = None,
|
|
299
314
|
__args__['displayNameNotEqualTos'] = display_name_not_equal_tos
|
300
315
|
__args__['filters'] = filters
|
301
316
|
__args__['isMandatoryForAutonomousLinux'] = is_mandatory_for_autonomous_linux
|
317
|
+
__args__['isMirrorSyncAllowed'] = is_mirror_sync_allowed
|
302
318
|
__args__['osFamilies'] = os_families
|
303
319
|
__args__['softwareSourceId'] = software_source_id
|
304
320
|
__args__['softwareSourceTypes'] = software_source_types
|
@@ -319,6 +335,7 @@ def get_software_sources(arch_types: Optional[Sequence[str]] = None,
|
|
319
335
|
filters=pulumi.get(__ret__, 'filters'),
|
320
336
|
id=pulumi.get(__ret__, 'id'),
|
321
337
|
is_mandatory_for_autonomous_linux=pulumi.get(__ret__, 'is_mandatory_for_autonomous_linux'),
|
338
|
+
is_mirror_sync_allowed=pulumi.get(__ret__, 'is_mirror_sync_allowed'),
|
322
339
|
os_families=pulumi.get(__ret__, 'os_families'),
|
323
340
|
software_source_collections=pulumi.get(__ret__, 'software_source_collections'),
|
324
341
|
software_source_id=pulumi.get(__ret__, 'software_source_id'),
|
@@ -335,6 +352,7 @@ def get_software_sources_output(arch_types: Optional[pulumi.Input[Optional[Seque
|
|
335
352
|
display_name_not_equal_tos: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
336
353
|
filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSoftwareSourcesFilterArgs', 'GetSoftwareSourcesFilterArgsDict']]]]] = None,
|
337
354
|
is_mandatory_for_autonomous_linux: Optional[pulumi.Input[Optional[bool]]] = None,
|
355
|
+
is_mirror_sync_allowed: Optional[pulumi.Input[Optional[bool]]] = None,
|
338
356
|
os_families: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
339
357
|
software_source_id: Optional[pulumi.Input[Optional[str]]] = None,
|
340
358
|
software_source_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
@@ -362,6 +380,7 @@ def get_software_sources_output(arch_types: Optional[pulumi.Input[Optional[Seque
|
|
362
380
|
display_name_contains=software_source_display_name_contains,
|
363
381
|
display_name_not_equal_tos=software_source_display_name_not_equal_to,
|
364
382
|
is_mandatory_for_autonomous_linux=software_source_is_mandatory_for_autonomous_linux,
|
383
|
+
is_mirror_sync_allowed=software_source_is_mirror_sync_allowed,
|
365
384
|
os_families=software_source_os_family,
|
366
385
|
software_source_id=test_software_source["id"],
|
367
386
|
software_source_types=software_source_software_source_type,
|
@@ -371,14 +390,15 @@ def get_software_sources_output(arch_types: Optional[pulumi.Input[Optional[Seque
|
|
371
390
|
|
372
391
|
|
373
392
|
:param Sequence[str] arch_types: A filter to return only instances whose architecture type matches the given architecture.
|
374
|
-
:param Sequence[str] availabilities: The
|
375
|
-
:param Sequence[str] availability_anywheres: The
|
376
|
-
:param Sequence[str] availability_at_ocis: The
|
393
|
+
:param Sequence[str] availabilities: The availability of the software source in a non-OCI environment for a tenancy.
|
394
|
+
:param Sequence[str] availability_anywheres: The availability of the software source. Use this query parameter to filter across availabilities in different environments.
|
395
|
+
:param Sequence[str] availability_at_ocis: The availability of the software source in an Oracle Cloud Infrastructure environment for a tenancy.
|
377
396
|
:param str compartment_id: (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
378
397
|
:param str display_name: A filter to return resources that match the given user-friendly name.
|
379
398
|
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
380
399
|
:param Sequence[str] display_name_not_equal_tos: A multi filter to return resources that do not contains the given display names.
|
381
400
|
:param bool is_mandatory_for_autonomous_linux: Indicates whether the software source is mandatory for the Autonomous Linux service.
|
401
|
+
:param bool is_mirror_sync_allowed: A filter to return software sources which can be synced to a management station.
|
382
402
|
:param Sequence[str] os_families: A filter to return only resources that match the given operating system family.
|
383
403
|
:param str software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the software source.
|
384
404
|
:param Sequence[str] software_source_types: The type of the software source.
|
@@ -396,6 +416,7 @@ def get_software_sources_output(arch_types: Optional[pulumi.Input[Optional[Seque
|
|
396
416
|
__args__['displayNameNotEqualTos'] = display_name_not_equal_tos
|
397
417
|
__args__['filters'] = filters
|
398
418
|
__args__['isMandatoryForAutonomousLinux'] = is_mandatory_for_autonomous_linux
|
419
|
+
__args__['isMirrorSyncAllowed'] = is_mirror_sync_allowed
|
399
420
|
__args__['osFamilies'] = os_families
|
400
421
|
__args__['softwareSourceId'] = software_source_id
|
401
422
|
__args__['softwareSourceTypes'] = software_source_types
|
@@ -415,6 +436,7 @@ def get_software_sources_output(arch_types: Optional[pulumi.Input[Optional[Seque
|
|
415
436
|
filters=pulumi.get(__response__, 'filters'),
|
416
437
|
id=pulumi.get(__response__, 'id'),
|
417
438
|
is_mandatory_for_autonomous_linux=pulumi.get(__response__, 'is_mandatory_for_autonomous_linux'),
|
439
|
+
is_mirror_sync_allowed=pulumi.get(__response__, 'is_mirror_sync_allowed'),
|
418
440
|
os_families=pulumi.get(__response__, 'os_families'),
|
419
441
|
software_source_collections=pulumi.get(__response__, 'software_source_collections'),
|
420
442
|
software_source_id=pulumi.get(__response__, 'software_source_id'),
|
@@ -22,15 +22,14 @@ __all__ = ['LifecycleStageAttachManagedInstancesManagementArgs', 'LifecycleStage
|
|
22
22
|
class LifecycleStageAttachManagedInstancesManagementArgs:
|
23
23
|
def __init__(__self__, *,
|
24
24
|
lifecycle_stage_id: pulumi.Input[str],
|
25
|
-
managed_instance_details:
|
25
|
+
managed_instance_details: pulumi.Input['LifecycleStageAttachManagedInstancesManagementManagedInstanceDetailsArgs']):
|
26
26
|
"""
|
27
27
|
The set of arguments for constructing a LifecycleStageAttachManagedInstancesManagement resource.
|
28
28
|
:param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
|
29
29
|
:param pulumi.Input['LifecycleStageAttachManagedInstancesManagementManagedInstanceDetailsArgs'] managed_instance_details: The details about the managed instances.
|
30
30
|
"""
|
31
31
|
pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
|
32
|
-
|
33
|
-
pulumi.set(__self__, "managed_instance_details", managed_instance_details)
|
32
|
+
pulumi.set(__self__, "managed_instance_details", managed_instance_details)
|
34
33
|
|
35
34
|
@property
|
36
35
|
@pulumi.getter(name="lifecycleStageId")
|
@@ -46,14 +45,14 @@ class LifecycleStageAttachManagedInstancesManagementArgs:
|
|
46
45
|
|
47
46
|
@property
|
48
47
|
@pulumi.getter(name="managedInstanceDetails")
|
49
|
-
def managed_instance_details(self) ->
|
48
|
+
def managed_instance_details(self) -> pulumi.Input['LifecycleStageAttachManagedInstancesManagementManagedInstanceDetailsArgs']:
|
50
49
|
"""
|
51
50
|
The details about the managed instances.
|
52
51
|
"""
|
53
52
|
return pulumi.get(self, "managed_instance_details")
|
54
53
|
|
55
54
|
@managed_instance_details.setter
|
56
|
-
def managed_instance_details(self, value:
|
55
|
+
def managed_instance_details(self, value: pulumi.Input['LifecycleStageAttachManagedInstancesManagementManagedInstanceDetailsArgs']):
|
57
56
|
pulumi.set(self, "managed_instance_details", value)
|
58
57
|
|
59
58
|
|
@@ -110,23 +109,6 @@ class LifecycleStageAttachManagedInstancesManagement(pulumi.CustomResource):
|
|
110
109
|
|
111
110
|
Attaches (adds) managed instances to a lifecycle stage. Once added, you can apply operations to all managed instances in the lifecycle stage.
|
112
111
|
|
113
|
-
## Example Usage
|
114
|
-
|
115
|
-
```python
|
116
|
-
import pulumi
|
117
|
-
import pulumi_oci as oci
|
118
|
-
|
119
|
-
test_lifecycle_stage_attach_managed_instances_management = oci.os_management_hub.LifecycleStageAttachManagedInstancesManagement("test_lifecycle_stage_attach_managed_instances_management",
|
120
|
-
lifecycle_stage_id=test_lifecycle_stage["id"],
|
121
|
-
managed_instance_details={
|
122
|
-
"managed_instances": lifecycle_stage_attach_managed_instances_management_managed_instance_details_managed_instances,
|
123
|
-
"work_request_details": {
|
124
|
-
"description": lifecycle_stage_attach_managed_instances_management_managed_instance_details_work_request_details_description,
|
125
|
-
"display_name": lifecycle_stage_attach_managed_instances_management_managed_instance_details_work_request_details_display_name,
|
126
|
-
},
|
127
|
-
})
|
128
|
-
```
|
129
|
-
|
130
112
|
## Import
|
131
113
|
|
132
114
|
LifecycleStageAttachManagedInstancesManagement can be imported using the `id`, e.g.
|
@@ -151,23 +133,6 @@ class LifecycleStageAttachManagedInstancesManagement(pulumi.CustomResource):
|
|
151
133
|
|
152
134
|
Attaches (adds) managed instances to a lifecycle stage. Once added, you can apply operations to all managed instances in the lifecycle stage.
|
153
135
|
|
154
|
-
## Example Usage
|
155
|
-
|
156
|
-
```python
|
157
|
-
import pulumi
|
158
|
-
import pulumi_oci as oci
|
159
|
-
|
160
|
-
test_lifecycle_stage_attach_managed_instances_management = oci.os_management_hub.LifecycleStageAttachManagedInstancesManagement("test_lifecycle_stage_attach_managed_instances_management",
|
161
|
-
lifecycle_stage_id=test_lifecycle_stage["id"],
|
162
|
-
managed_instance_details={
|
163
|
-
"managed_instances": lifecycle_stage_attach_managed_instances_management_managed_instance_details_managed_instances,
|
164
|
-
"work_request_details": {
|
165
|
-
"description": lifecycle_stage_attach_managed_instances_management_managed_instance_details_work_request_details_description,
|
166
|
-
"display_name": lifecycle_stage_attach_managed_instances_management_managed_instance_details_work_request_details_display_name,
|
167
|
-
},
|
168
|
-
})
|
169
|
-
```
|
170
|
-
|
171
136
|
## Import
|
172
137
|
|
173
138
|
LifecycleStageAttachManagedInstancesManagement can be imported using the `id`, e.g.
|
@@ -205,6 +170,8 @@ class LifecycleStageAttachManagedInstancesManagement(pulumi.CustomResource):
|
|
205
170
|
if lifecycle_stage_id is None and not opts.urn:
|
206
171
|
raise TypeError("Missing required property 'lifecycle_stage_id'")
|
207
172
|
__props__.__dict__["lifecycle_stage_id"] = lifecycle_stage_id
|
173
|
+
if managed_instance_details is None and not opts.urn:
|
174
|
+
raise TypeError("Missing required property 'managed_instance_details'")
|
208
175
|
__props__.__dict__["managed_instance_details"] = managed_instance_details
|
209
176
|
super(LifecycleStageAttachManagedInstancesManagement, __self__).__init__(
|
210
177
|
'oci:OsManagementHub/lifecycleStageAttachManagedInstancesManagement:LifecycleStageAttachManagedInstancesManagement',
|