pulumi-oci 1.35.0a1715306721__py3-none-any.whl → 1.36.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +304 -0
- pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
- pulumi_oci/database/cloud_vm_cluster.py +55 -0
- pulumi_oci/database/exadata_infrastructure.py +28 -0
- pulumi_oci/database/get_cloud_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_cloud_vm_cluster.py +14 -1
- pulumi_oci/database/get_exadata_infrastructure.py +14 -1
- pulumi_oci/database/get_vm_cluster.py +14 -1
- pulumi_oci/database/outputs.py +734 -6
- 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/disasterrecovery/_inputs.py +16 -0
- pulumi_oci/disasterrecovery/outputs.py +36 -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 +160 -20
- pulumi_oci/loadbalancer/backend.py +49 -0
- pulumi_oci/loadbalancer/backend_set.py +57 -0
- pulumi_oci/loadbalancer/get_listener_rules.py +2 -2
- pulumi_oci/loadbalancer/listener.py +2 -0
- pulumi_oci/loadbalancer/load_balancer.py +98 -7
- pulumi_oci/loadbalancer/outputs.py +375 -36
- pulumi_oci/loadbalancer/rule_set.py +10 -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 +2 -1
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/METADATA +1 -1
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/RECORD +130 -75
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.35.0a1715306721.dist-info → pulumi_oci-1.36.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,187 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetManagedInstanceModulesResult',
|
16
|
+
'AwaitableGetManagedInstanceModulesResult',
|
17
|
+
'get_managed_instance_modules',
|
18
|
+
'get_managed_instance_modules_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetManagedInstanceModulesResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getManagedInstanceModules.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, compartment_id=None, filters=None, id=None, managed_instance_id=None, managed_instance_module_collections=None, name=None, name_contains=None):
|
27
|
+
if compartment_id and not isinstance(compartment_id, str):
|
28
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
29
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
30
|
+
if filters and not isinstance(filters, list):
|
31
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
32
|
+
pulumi.set(__self__, "filters", filters)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if managed_instance_id and not isinstance(managed_instance_id, str):
|
37
|
+
raise TypeError("Expected argument 'managed_instance_id' to be a str")
|
38
|
+
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
39
|
+
if managed_instance_module_collections and not isinstance(managed_instance_module_collections, list):
|
40
|
+
raise TypeError("Expected argument 'managed_instance_module_collections' to be a list")
|
41
|
+
pulumi.set(__self__, "managed_instance_module_collections", managed_instance_module_collections)
|
42
|
+
if name and not isinstance(name, str):
|
43
|
+
raise TypeError("Expected argument 'name' to be a str")
|
44
|
+
pulumi.set(__self__, "name", name)
|
45
|
+
if name_contains and not isinstance(name_contains, str):
|
46
|
+
raise TypeError("Expected argument 'name_contains' to be a str")
|
47
|
+
pulumi.set(__self__, "name_contains", name_contains)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter(name="compartmentId")
|
51
|
+
def compartment_id(self) -> Optional[str]:
|
52
|
+
return pulumi.get(self, "compartment_id")
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter
|
56
|
+
def filters(self) -> Optional[Sequence['outputs.GetManagedInstanceModulesFilterResult']]:
|
57
|
+
return pulumi.get(self, "filters")
|
58
|
+
|
59
|
+
@property
|
60
|
+
@pulumi.getter
|
61
|
+
def id(self) -> str:
|
62
|
+
"""
|
63
|
+
The provider-assigned unique ID for this managed resource.
|
64
|
+
"""
|
65
|
+
return pulumi.get(self, "id")
|
66
|
+
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="managedInstanceId")
|
69
|
+
def managed_instance_id(self) -> str:
|
70
|
+
return pulumi.get(self, "managed_instance_id")
|
71
|
+
|
72
|
+
@property
|
73
|
+
@pulumi.getter(name="managedInstanceModuleCollections")
|
74
|
+
def managed_instance_module_collections(self) -> Sequence['outputs.GetManagedInstanceModulesManagedInstanceModuleCollectionResult']:
|
75
|
+
"""
|
76
|
+
The list of managed_instance_module_collection.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "managed_instance_module_collections")
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter
|
82
|
+
def name(self) -> Optional[str]:
|
83
|
+
"""
|
84
|
+
The module name.
|
85
|
+
"""
|
86
|
+
return pulumi.get(self, "name")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter(name="nameContains")
|
90
|
+
def name_contains(self) -> Optional[str]:
|
91
|
+
return pulumi.get(self, "name_contains")
|
92
|
+
|
93
|
+
|
94
|
+
class AwaitableGetManagedInstanceModulesResult(GetManagedInstanceModulesResult):
|
95
|
+
# pylint: disable=using-constant-test
|
96
|
+
def __await__(self):
|
97
|
+
if False:
|
98
|
+
yield self
|
99
|
+
return GetManagedInstanceModulesResult(
|
100
|
+
compartment_id=self.compartment_id,
|
101
|
+
filters=self.filters,
|
102
|
+
id=self.id,
|
103
|
+
managed_instance_id=self.managed_instance_id,
|
104
|
+
managed_instance_module_collections=self.managed_instance_module_collections,
|
105
|
+
name=self.name,
|
106
|
+
name_contains=self.name_contains)
|
107
|
+
|
108
|
+
|
109
|
+
def get_managed_instance_modules(compartment_id: Optional[str] = None,
|
110
|
+
filters: Optional[Sequence[pulumi.InputType['GetManagedInstanceModulesFilterArgs']]] = None,
|
111
|
+
managed_instance_id: Optional[str] = None,
|
112
|
+
name: Optional[str] = None,
|
113
|
+
name_contains: Optional[str] = None,
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedInstanceModulesResult:
|
115
|
+
"""
|
116
|
+
This data source provides the list of Managed Instance Modules in Oracle Cloud Infrastructure Os Management Hub service.
|
117
|
+
|
118
|
+
Retrieves a list of modules, along with streams of the modules, from a managed instance. Filters may be applied to select a subset of modules based on the filter criteria.
|
119
|
+
|
120
|
+
## Example Usage
|
121
|
+
|
122
|
+
```python
|
123
|
+
import pulumi
|
124
|
+
import pulumi_oci as oci
|
125
|
+
|
126
|
+
test_managed_instance_modules = oci.OsManagementHub.get_managed_instance_modules(managed_instance_id=test_managed_instance["id"],
|
127
|
+
compartment_id=compartment_id,
|
128
|
+
name=managed_instance_module_name,
|
129
|
+
name_contains=managed_instance_module_name_contains)
|
130
|
+
```
|
131
|
+
|
132
|
+
|
133
|
+
:param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
134
|
+
:param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
135
|
+
:param str name: The resource name.
|
136
|
+
:param str name_contains: A filter to return resources that may partially match the name given.
|
137
|
+
"""
|
138
|
+
__args__ = dict()
|
139
|
+
__args__['compartmentId'] = compartment_id
|
140
|
+
__args__['filters'] = filters
|
141
|
+
__args__['managedInstanceId'] = managed_instance_id
|
142
|
+
__args__['name'] = name
|
143
|
+
__args__['nameContains'] = name_contains
|
144
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
145
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getManagedInstanceModules:getManagedInstanceModules', __args__, opts=opts, typ=GetManagedInstanceModulesResult).value
|
146
|
+
|
147
|
+
return AwaitableGetManagedInstanceModulesResult(
|
148
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
149
|
+
filters=pulumi.get(__ret__, 'filters'),
|
150
|
+
id=pulumi.get(__ret__, 'id'),
|
151
|
+
managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'),
|
152
|
+
managed_instance_module_collections=pulumi.get(__ret__, 'managed_instance_module_collections'),
|
153
|
+
name=pulumi.get(__ret__, 'name'),
|
154
|
+
name_contains=pulumi.get(__ret__, 'name_contains'))
|
155
|
+
|
156
|
+
|
157
|
+
@_utilities.lift_output_func(get_managed_instance_modules)
|
158
|
+
def get_managed_instance_modules_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
159
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedInstanceModulesFilterArgs']]]]] = None,
|
160
|
+
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
161
|
+
name: Optional[pulumi.Input[Optional[str]]] = None,
|
162
|
+
name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
163
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceModulesResult]:
|
164
|
+
"""
|
165
|
+
This data source provides the list of Managed Instance Modules in Oracle Cloud Infrastructure Os Management Hub service.
|
166
|
+
|
167
|
+
Retrieves a list of modules, along with streams of the modules, from a managed instance. Filters may be applied to select a subset of modules based on the filter criteria.
|
168
|
+
|
169
|
+
## Example Usage
|
170
|
+
|
171
|
+
```python
|
172
|
+
import pulumi
|
173
|
+
import pulumi_oci as oci
|
174
|
+
|
175
|
+
test_managed_instance_modules = oci.OsManagementHub.get_managed_instance_modules(managed_instance_id=test_managed_instance["id"],
|
176
|
+
compartment_id=compartment_id,
|
177
|
+
name=managed_instance_module_name,
|
178
|
+
name_contains=managed_instance_module_name_contains)
|
179
|
+
```
|
180
|
+
|
181
|
+
|
182
|
+
:param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
183
|
+
:param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
184
|
+
:param str name: The resource name.
|
185
|
+
:param str name_contains: A filter to return resources that may partially match the name given.
|
186
|
+
"""
|
187
|
+
...
|
@@ -0,0 +1,221 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = [
|
15
|
+
'GetManagedInstanceUpdatablePackagesResult',
|
16
|
+
'AwaitableGetManagedInstanceUpdatablePackagesResult',
|
17
|
+
'get_managed_instance_updatable_packages',
|
18
|
+
'get_managed_instance_updatable_packages_output',
|
19
|
+
]
|
20
|
+
|
21
|
+
@pulumi.output_type
|
22
|
+
class GetManagedInstanceUpdatablePackagesResult:
|
23
|
+
"""
|
24
|
+
A collection of values returned by getManagedInstanceUpdatablePackages.
|
25
|
+
"""
|
26
|
+
def __init__(__self__, advisory_names=None, classification_types=None, compartment_id=None, display_name_contains=None, display_names=None, filters=None, id=None, managed_instance_id=None, updatable_package_collections=None):
|
27
|
+
if advisory_names and not isinstance(advisory_names, list):
|
28
|
+
raise TypeError("Expected argument 'advisory_names' to be a list")
|
29
|
+
pulumi.set(__self__, "advisory_names", advisory_names)
|
30
|
+
if classification_types and not isinstance(classification_types, list):
|
31
|
+
raise TypeError("Expected argument 'classification_types' to be a list")
|
32
|
+
pulumi.set(__self__, "classification_types", classification_types)
|
33
|
+
if compartment_id and not isinstance(compartment_id, str):
|
34
|
+
raise TypeError("Expected argument 'compartment_id' to be a str")
|
35
|
+
pulumi.set(__self__, "compartment_id", compartment_id)
|
36
|
+
if display_name_contains and not isinstance(display_name_contains, str):
|
37
|
+
raise TypeError("Expected argument 'display_name_contains' to be a str")
|
38
|
+
pulumi.set(__self__, "display_name_contains", display_name_contains)
|
39
|
+
if display_names and not isinstance(display_names, list):
|
40
|
+
raise TypeError("Expected argument 'display_names' to be a list")
|
41
|
+
pulumi.set(__self__, "display_names", display_names)
|
42
|
+
if filters and not isinstance(filters, list):
|
43
|
+
raise TypeError("Expected argument 'filters' to be a list")
|
44
|
+
pulumi.set(__self__, "filters", filters)
|
45
|
+
if id and not isinstance(id, str):
|
46
|
+
raise TypeError("Expected argument 'id' to be a str")
|
47
|
+
pulumi.set(__self__, "id", id)
|
48
|
+
if managed_instance_id and not isinstance(managed_instance_id, str):
|
49
|
+
raise TypeError("Expected argument 'managed_instance_id' to be a str")
|
50
|
+
pulumi.set(__self__, "managed_instance_id", managed_instance_id)
|
51
|
+
if updatable_package_collections and not isinstance(updatable_package_collections, list):
|
52
|
+
raise TypeError("Expected argument 'updatable_package_collections' to be a list")
|
53
|
+
pulumi.set(__self__, "updatable_package_collections", updatable_package_collections)
|
54
|
+
|
55
|
+
@property
|
56
|
+
@pulumi.getter(name="advisoryNames")
|
57
|
+
def advisory_names(self) -> Optional[Sequence[str]]:
|
58
|
+
return pulumi.get(self, "advisory_names")
|
59
|
+
|
60
|
+
@property
|
61
|
+
@pulumi.getter(name="classificationTypes")
|
62
|
+
def classification_types(self) -> Optional[Sequence[str]]:
|
63
|
+
return pulumi.get(self, "classification_types")
|
64
|
+
|
65
|
+
@property
|
66
|
+
@pulumi.getter(name="compartmentId")
|
67
|
+
def compartment_id(self) -> Optional[str]:
|
68
|
+
return pulumi.get(self, "compartment_id")
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="displayNameContains")
|
72
|
+
def display_name_contains(self) -> Optional[str]:
|
73
|
+
return pulumi.get(self, "display_name_contains")
|
74
|
+
|
75
|
+
@property
|
76
|
+
@pulumi.getter(name="displayNames")
|
77
|
+
def display_names(self) -> Optional[Sequence[str]]:
|
78
|
+
"""
|
79
|
+
Software source name.
|
80
|
+
"""
|
81
|
+
return pulumi.get(self, "display_names")
|
82
|
+
|
83
|
+
@property
|
84
|
+
@pulumi.getter
|
85
|
+
def filters(self) -> Optional[Sequence['outputs.GetManagedInstanceUpdatablePackagesFilterResult']]:
|
86
|
+
return pulumi.get(self, "filters")
|
87
|
+
|
88
|
+
@property
|
89
|
+
@pulumi.getter
|
90
|
+
def id(self) -> str:
|
91
|
+
"""
|
92
|
+
The provider-assigned unique ID for this managed resource.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "id")
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="managedInstanceId")
|
98
|
+
def managed_instance_id(self) -> str:
|
99
|
+
return pulumi.get(self, "managed_instance_id")
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter(name="updatablePackageCollections")
|
103
|
+
def updatable_package_collections(self) -> Sequence['outputs.GetManagedInstanceUpdatablePackagesUpdatablePackageCollectionResult']:
|
104
|
+
"""
|
105
|
+
The list of updatable_package_collection.
|
106
|
+
"""
|
107
|
+
return pulumi.get(self, "updatable_package_collections")
|
108
|
+
|
109
|
+
|
110
|
+
class AwaitableGetManagedInstanceUpdatablePackagesResult(GetManagedInstanceUpdatablePackagesResult):
|
111
|
+
# pylint: disable=using-constant-test
|
112
|
+
def __await__(self):
|
113
|
+
if False:
|
114
|
+
yield self
|
115
|
+
return GetManagedInstanceUpdatablePackagesResult(
|
116
|
+
advisory_names=self.advisory_names,
|
117
|
+
classification_types=self.classification_types,
|
118
|
+
compartment_id=self.compartment_id,
|
119
|
+
display_name_contains=self.display_name_contains,
|
120
|
+
display_names=self.display_names,
|
121
|
+
filters=self.filters,
|
122
|
+
id=self.id,
|
123
|
+
managed_instance_id=self.managed_instance_id,
|
124
|
+
updatable_package_collections=self.updatable_package_collections)
|
125
|
+
|
126
|
+
|
127
|
+
def get_managed_instance_updatable_packages(advisory_names: Optional[Sequence[str]] = None,
|
128
|
+
classification_types: Optional[Sequence[str]] = None,
|
129
|
+
compartment_id: Optional[str] = None,
|
130
|
+
display_name_contains: Optional[str] = None,
|
131
|
+
display_names: Optional[Sequence[str]] = None,
|
132
|
+
filters: Optional[Sequence[pulumi.InputType['GetManagedInstanceUpdatablePackagesFilterArgs']]] = None,
|
133
|
+
managed_instance_id: Optional[str] = None,
|
134
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedInstanceUpdatablePackagesResult:
|
135
|
+
"""
|
136
|
+
This data source provides the list of Managed Instance Updatable Packages in Oracle Cloud Infrastructure Os Management Hub service.
|
137
|
+
|
138
|
+
Returns a list of updatable packages for a managed instance.
|
139
|
+
|
140
|
+
## Example Usage
|
141
|
+
|
142
|
+
```python
|
143
|
+
import pulumi
|
144
|
+
import pulumi_oci as oci
|
145
|
+
|
146
|
+
test_managed_instance_updatable_packages = oci.OsManagementHub.get_managed_instance_updatable_packages(managed_instance_id=test_managed_instance["id"],
|
147
|
+
advisory_names=managed_instance_updatable_package_advisory_name,
|
148
|
+
classification_types=managed_instance_updatable_package_classification_type,
|
149
|
+
compartment_id=compartment_id,
|
150
|
+
display_names=managed_instance_updatable_package_display_name,
|
151
|
+
display_name_contains=managed_instance_updatable_package_display_name_contains)
|
152
|
+
```
|
153
|
+
|
154
|
+
|
155
|
+
:param Sequence[str] advisory_names: The assigned erratum name. It's unique and not changeable. Example: `ELSA-2020-5804`
|
156
|
+
:param Sequence[str] classification_types: A filter to return only packages that match the given update classification type.
|
157
|
+
:param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
158
|
+
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
159
|
+
:param Sequence[str] display_names: A filter to return resources that match the given display names.
|
160
|
+
:param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
161
|
+
"""
|
162
|
+
__args__ = dict()
|
163
|
+
__args__['advisoryNames'] = advisory_names
|
164
|
+
__args__['classificationTypes'] = classification_types
|
165
|
+
__args__['compartmentId'] = compartment_id
|
166
|
+
__args__['displayNameContains'] = display_name_contains
|
167
|
+
__args__['displayNames'] = display_names
|
168
|
+
__args__['filters'] = filters
|
169
|
+
__args__['managedInstanceId'] = managed_instance_id
|
170
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
171
|
+
__ret__ = pulumi.runtime.invoke('oci:OsManagementHub/getManagedInstanceUpdatablePackages:getManagedInstanceUpdatablePackages', __args__, opts=opts, typ=GetManagedInstanceUpdatablePackagesResult).value
|
172
|
+
|
173
|
+
return AwaitableGetManagedInstanceUpdatablePackagesResult(
|
174
|
+
advisory_names=pulumi.get(__ret__, 'advisory_names'),
|
175
|
+
classification_types=pulumi.get(__ret__, 'classification_types'),
|
176
|
+
compartment_id=pulumi.get(__ret__, 'compartment_id'),
|
177
|
+
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
178
|
+
display_names=pulumi.get(__ret__, 'display_names'),
|
179
|
+
filters=pulumi.get(__ret__, 'filters'),
|
180
|
+
id=pulumi.get(__ret__, 'id'),
|
181
|
+
managed_instance_id=pulumi.get(__ret__, 'managed_instance_id'),
|
182
|
+
updatable_package_collections=pulumi.get(__ret__, 'updatable_package_collections'))
|
183
|
+
|
184
|
+
|
185
|
+
@_utilities.lift_output_func(get_managed_instance_updatable_packages)
|
186
|
+
def get_managed_instance_updatable_packages_output(advisory_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
187
|
+
classification_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
188
|
+
compartment_id: Optional[pulumi.Input[Optional[str]]] = None,
|
189
|
+
display_name_contains: Optional[pulumi.Input[Optional[str]]] = None,
|
190
|
+
display_names: Optional[pulumi.Input[Optional[Sequence[str]]]] = None,
|
191
|
+
filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetManagedInstanceUpdatablePackagesFilterArgs']]]]] = None,
|
192
|
+
managed_instance_id: Optional[pulumi.Input[str]] = None,
|
193
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedInstanceUpdatablePackagesResult]:
|
194
|
+
"""
|
195
|
+
This data source provides the list of Managed Instance Updatable Packages in Oracle Cloud Infrastructure Os Management Hub service.
|
196
|
+
|
197
|
+
Returns a list of updatable packages for a managed instance.
|
198
|
+
|
199
|
+
## Example Usage
|
200
|
+
|
201
|
+
```python
|
202
|
+
import pulumi
|
203
|
+
import pulumi_oci as oci
|
204
|
+
|
205
|
+
test_managed_instance_updatable_packages = oci.OsManagementHub.get_managed_instance_updatable_packages(managed_instance_id=test_managed_instance["id"],
|
206
|
+
advisory_names=managed_instance_updatable_package_advisory_name,
|
207
|
+
classification_types=managed_instance_updatable_package_classification_type,
|
208
|
+
compartment_id=compartment_id,
|
209
|
+
display_names=managed_instance_updatable_package_display_name,
|
210
|
+
display_name_contains=managed_instance_updatable_package_display_name_contains)
|
211
|
+
```
|
212
|
+
|
213
|
+
|
214
|
+
:param Sequence[str] advisory_names: The assigned erratum name. It's unique and not changeable. Example: `ELSA-2020-5804`
|
215
|
+
:param Sequence[str] classification_types: A filter to return only packages that match the given update classification type.
|
216
|
+
:param str compartment_id: The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
|
217
|
+
:param str display_name_contains: A filter to return resources that may partially match the given display name.
|
218
|
+
:param Sequence[str] display_names: A filter to return resources that match the given display names.
|
219
|
+
:param str managed_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance.
|
220
|
+
"""
|
221
|
+
...
|