pulumi-oci 1.36.0__py3-none-any.whl → 1.36.0a1715383492__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_oci/__init__.py +0 -208
- pulumi_oci/core/__init__.py +0 -3
- pulumi_oci/core/_inputs.py +0 -40
- pulumi_oci/core/outputs.py +0 -261
- pulumi_oci/database/_inputs.py +0 -192
- pulumi_oci/database/exadata_infrastructure.py +0 -28
- pulumi_oci/database/get_exadata_infrastructure.py +1 -14
- pulumi_oci/database/get_vm_cluster.py +1 -14
- pulumi_oci/database/outputs.py +0 -418
- pulumi_oci/database/vm_cluster.py +0 -55
- pulumi_oci/database/vm_cluster_add_virtual_network.py +0 -28
- pulumi_oci/database/vm_cluster_remove_virtual_machine.py +0 -28
- pulumi_oci/datasafe/__init__.py +0 -1
- pulumi_oci/email/__init__.py +0 -3
- pulumi_oci/email/_inputs.py +0 -46
- pulumi_oci/email/dkim.py +4 -4
- pulumi_oci/email/email_domain.py +0 -77
- pulumi_oci/email/get_email_domain.py +1 -27
- pulumi_oci/email/outputs.py +0 -231
- pulumi_oci/loadbalancer/_inputs.py +0 -16
- pulumi_oci/loadbalancer/listener.py +0 -2
- pulumi_oci/loadbalancer/outputs.py +0 -14
- pulumi_oci/loganalytics/namespace.py +4 -4
- pulumi_oci/networkloadbalancer/get_listener.py +1 -14
- pulumi_oci/networkloadbalancer/listener.py +2 -51
- pulumi_oci/networkloadbalancer/outputs.py +0 -11
- pulumi_oci/osmanagementhub/__init__.py +0 -48
- pulumi_oci/osmanagementhub/_inputs.py +507 -3649
- pulumi_oci/osmanagementhub/get_lifecycle_environment.py +13 -26
- pulumi_oci/osmanagementhub/get_lifecycle_environments.py +11 -48
- pulumi_oci/osmanagementhub/get_lifecycle_stage.py +15 -28
- pulumi_oci/osmanagementhub/get_lifecycle_stages.py +19 -86
- pulumi_oci/osmanagementhub/get_managed_instance_group.py +10 -62
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_modules.py +9 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_packages.py +7 -7
- pulumi_oci/osmanagementhub/get_managed_instance_group_available_software_sources.py +10 -8
- pulumi_oci/osmanagementhub/get_managed_instance_groups.py +16 -71
- pulumi_oci/osmanagementhub/get_management_station.py +19 -42
- pulumi_oci/osmanagementhub/get_management_station_mirrors.py +4 -4
- pulumi_oci/osmanagementhub/get_management_stations.py +15 -15
- pulumi_oci/osmanagementhub/get_profile.py +12 -51
- pulumi_oci/osmanagementhub/get_profiles.py +16 -76
- pulumi_oci/osmanagementhub/get_software_source.py +18 -109
- pulumi_oci/osmanagementhub/get_software_source_module_stream.py +5 -5
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profile.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_module_stream_profiles.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_module_streams.py +9 -9
- pulumi_oci/osmanagementhub/get_software_source_package_group.py +8 -8
- pulumi_oci/osmanagementhub/get_software_source_package_groups.py +7 -7
- pulumi_oci/osmanagementhub/get_software_source_software_package.py +10 -23
- pulumi_oci/osmanagementhub/get_software_source_software_packages.py +6 -6
- pulumi_oci/osmanagementhub/get_software_source_vendors.py +2 -2
- pulumi_oci/osmanagementhub/get_software_sources.py +21 -78
- pulumi_oci/osmanagementhub/lifecycle_environment.py +86 -159
- pulumi_oci/osmanagementhub/managed_instance_group.py +86 -264
- pulumi_oci/osmanagementhub/management_station.py +81 -184
- pulumi_oci/osmanagementhub/outputs.py +2364 -10866
- pulumi_oci/osmanagementhub/profile.py +78 -200
- pulumi_oci/osmanagementhub/software_source.py +181 -365
- pulumi_oci/pulumi-plugin.json +1 -2
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/METADATA +1 -1
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/RECORD +64 -119
- pulumi_oci/core/get_ip_inventory_subnet.py +0 -171
- pulumi_oci/core/get_ip_inventory_subnet_cidr.py +0 -171
- pulumi_oci/core/get_ip_inventory_vcn_overlaps.py +0 -206
- pulumi_oci/datasafe/masking_report_management.py +0 -693
- pulumi_oci/email/email_return_path.py +0 -642
- pulumi_oci/email/get_email_return_path.py +0 -274
- pulumi_oci/email/get_email_return_paths.py +0 -203
- pulumi_oci/osmanagementhub/event.py +0 -701
- pulumi_oci/osmanagementhub/get_entitlements.py +0 -178
- pulumi_oci/osmanagementhub/get_errata.py +0 -283
- pulumi_oci/osmanagementhub/get_erratum.py +0 -308
- pulumi_oci/osmanagementhub/get_event.py +0 -314
- pulumi_oci/osmanagementhub/get_events.py +0 -314
- pulumi_oci/osmanagementhub/get_managed_instance.py +0 -587
- pulumi_oci/osmanagementhub/get_managed_instance_available_packages.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_available_software_sources.py +0 -190
- pulumi_oci/osmanagementhub/get_managed_instance_available_windows_updates.py +0 -238
- pulumi_oci/osmanagementhub/get_managed_instance_errata.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_group_installed_packages.py +0 -220
- pulumi_oci/osmanagementhub/get_managed_instance_group_modules.py +0 -244
- pulumi_oci/osmanagementhub/get_managed_instance_installed_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instance_installed_windows_updates.py +0 -204
- pulumi_oci/osmanagementhub/get_managed_instance_modules.py +0 -187
- pulumi_oci/osmanagementhub/get_managed_instance_updatable_packages.py +0 -221
- pulumi_oci/osmanagementhub/get_managed_instances.py +0 -537
- pulumi_oci/osmanagementhub/get_scheduled_job.py +0 -426
- pulumi_oci/osmanagementhub/get_scheduled_jobs.py +0 -433
- pulumi_oci/osmanagementhub/get_software_package.py +0 -301
- pulumi_oci/osmanagementhub/get_software_package_software_source.py +0 -329
- pulumi_oci/osmanagementhub/get_software_packages.py +0 -232
- pulumi_oci/osmanagementhub/get_windows_update.py +0 -222
- pulumi_oci/osmanagementhub/get_windows_updates.py +0 -187
- pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +0 -249
- pulumi_oci/osmanagementhub/lifecycle_stage_promote_software_source_management.py +0 -296
- pulumi_oci/osmanagementhub/managed_instance.py +0 -1327
- pulumi_oci/osmanagementhub/managed_instance_attach_profile_management.py +0 -266
- pulumi_oci/osmanagementhub/managed_instance_detach_profile_management.py +0 -214
- pulumi_oci/osmanagementhub/managed_instance_group_attach_managed_instances_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_attach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_detach_managed_instances_management.py +0 -264
- pulumi_oci/osmanagementhub/managed_instance_group_detach_software_sources_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_install_windows_updates_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_manage_module_streams_management.py +0 -526
- pulumi_oci/osmanagementhub/managed_instance_group_remove_packages_management.py +0 -293
- pulumi_oci/osmanagementhub/managed_instance_group_update_all_packages_management.py +0 -292
- pulumi_oci/osmanagementhub/managed_instance_install_windows_updates_management.py +0 -341
- pulumi_oci/osmanagementhub/managed_instance_update_packages_management.py +0 -341
- pulumi_oci/osmanagementhub/management_station_mirror_synchronize_management.py +0 -264
- pulumi_oci/osmanagementhub/management_station_refresh_management.py +0 -212
- pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +0 -264
- pulumi_oci/osmanagementhub/scheduled_job.py +0 -1331
- pulumi_oci/osmanagementhub/software_source_add_packages_management.py +0 -266
- pulumi_oci/osmanagementhub/software_source_change_availability_management.py +0 -194
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/WHEEL +0 -0
- {pulumi_oci-1.36.0.dist-info → pulumi_oci-1.36.0a1715383492.dist-info}/top_level.txt +0 -0
@@ -1,266 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import pulumi
|
8
|
-
import pulumi.runtime
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
-
from .. import _utilities
|
11
|
-
|
12
|
-
__all__ = ['SoftwareSourceAddPackagesManagementArgs', 'SoftwareSourceAddPackagesManagement']
|
13
|
-
|
14
|
-
@pulumi.input_type
|
15
|
-
class SoftwareSourceAddPackagesManagementArgs:
|
16
|
-
def __init__(__self__, *,
|
17
|
-
packages: pulumi.Input[Sequence[pulumi.Input[str]]],
|
18
|
-
software_source_id: pulumi.Input[str]):
|
19
|
-
"""
|
20
|
-
The set of arguments for constructing a SoftwareSourceAddPackagesManagement resource.
|
21
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
|
22
|
-
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
23
|
-
|
24
|
-
|
25
|
-
** IMPORTANT **
|
26
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
27
|
-
"""
|
28
|
-
pulumi.set(__self__, "packages", packages)
|
29
|
-
pulumi.set(__self__, "software_source_id", software_source_id)
|
30
|
-
|
31
|
-
@property
|
32
|
-
@pulumi.getter
|
33
|
-
def packages(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
34
|
-
"""
|
35
|
-
List of packages specified by the full package name (NEVRA.rpm).
|
36
|
-
"""
|
37
|
-
return pulumi.get(self, "packages")
|
38
|
-
|
39
|
-
@packages.setter
|
40
|
-
def packages(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
41
|
-
pulumi.set(self, "packages", value)
|
42
|
-
|
43
|
-
@property
|
44
|
-
@pulumi.getter(name="softwareSourceId")
|
45
|
-
def software_source_id(self) -> pulumi.Input[str]:
|
46
|
-
"""
|
47
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
48
|
-
|
49
|
-
|
50
|
-
** IMPORTANT **
|
51
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
52
|
-
"""
|
53
|
-
return pulumi.get(self, "software_source_id")
|
54
|
-
|
55
|
-
@software_source_id.setter
|
56
|
-
def software_source_id(self, value: pulumi.Input[str]):
|
57
|
-
pulumi.set(self, "software_source_id", value)
|
58
|
-
|
59
|
-
|
60
|
-
@pulumi.input_type
|
61
|
-
class _SoftwareSourceAddPackagesManagementState:
|
62
|
-
def __init__(__self__, *,
|
63
|
-
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
64
|
-
software_source_id: Optional[pulumi.Input[str]] = None):
|
65
|
-
"""
|
66
|
-
Input properties used for looking up and filtering SoftwareSourceAddPackagesManagement resources.
|
67
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
|
68
|
-
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
69
|
-
|
70
|
-
|
71
|
-
** IMPORTANT **
|
72
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
73
|
-
"""
|
74
|
-
if packages is not None:
|
75
|
-
pulumi.set(__self__, "packages", packages)
|
76
|
-
if software_source_id is not None:
|
77
|
-
pulumi.set(__self__, "software_source_id", software_source_id)
|
78
|
-
|
79
|
-
@property
|
80
|
-
@pulumi.getter
|
81
|
-
def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
82
|
-
"""
|
83
|
-
List of packages specified by the full package name (NEVRA.rpm).
|
84
|
-
"""
|
85
|
-
return pulumi.get(self, "packages")
|
86
|
-
|
87
|
-
@packages.setter
|
88
|
-
def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
89
|
-
pulumi.set(self, "packages", value)
|
90
|
-
|
91
|
-
@property
|
92
|
-
@pulumi.getter(name="softwareSourceId")
|
93
|
-
def software_source_id(self) -> Optional[pulumi.Input[str]]:
|
94
|
-
"""
|
95
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
96
|
-
|
97
|
-
|
98
|
-
** IMPORTANT **
|
99
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
100
|
-
"""
|
101
|
-
return pulumi.get(self, "software_source_id")
|
102
|
-
|
103
|
-
@software_source_id.setter
|
104
|
-
def software_source_id(self, value: Optional[pulumi.Input[str]]):
|
105
|
-
pulumi.set(self, "software_source_id", value)
|
106
|
-
|
107
|
-
|
108
|
-
class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
|
109
|
-
@overload
|
110
|
-
def __init__(__self__,
|
111
|
-
resource_name: str,
|
112
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
113
|
-
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
114
|
-
software_source_id: Optional[pulumi.Input[str]] = None,
|
115
|
-
__props__=None):
|
116
|
-
"""
|
117
|
-
This resource provides the Software Source Add Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
118
|
-
|
119
|
-
Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
|
120
|
-
For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
|
121
|
-
|
122
|
-
## Example Usage
|
123
|
-
|
124
|
-
```python
|
125
|
-
import pulumi
|
126
|
-
import pulumi_oci as oci
|
127
|
-
|
128
|
-
test_software_source_add_packages_management = oci.os_management_hub.SoftwareSourceAddPackagesManagement("test_software_source_add_packages_management",
|
129
|
-
packages=software_source_add_packages_management_packages,
|
130
|
-
software_source_id=test_software_source["id"])
|
131
|
-
```
|
132
|
-
|
133
|
-
## Import
|
134
|
-
|
135
|
-
SoftwareSourceAddPackagesManagement can be imported using the `id`, e.g.
|
136
|
-
|
137
|
-
```sh
|
138
|
-
$ pulumi import oci:OsManagementHub/softwareSourceAddPackagesManagement:SoftwareSourceAddPackagesManagement test_software_source_add_packages_management "id"
|
139
|
-
```
|
140
|
-
|
141
|
-
:param str resource_name: The name of the resource.
|
142
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
143
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
|
144
|
-
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
145
|
-
|
146
|
-
|
147
|
-
** IMPORTANT **
|
148
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
149
|
-
"""
|
150
|
-
...
|
151
|
-
@overload
|
152
|
-
def __init__(__self__,
|
153
|
-
resource_name: str,
|
154
|
-
args: SoftwareSourceAddPackagesManagementArgs,
|
155
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
156
|
-
"""
|
157
|
-
This resource provides the Software Source Add Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
158
|
-
|
159
|
-
Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
|
160
|
-
For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
|
161
|
-
|
162
|
-
## Example Usage
|
163
|
-
|
164
|
-
```python
|
165
|
-
import pulumi
|
166
|
-
import pulumi_oci as oci
|
167
|
-
|
168
|
-
test_software_source_add_packages_management = oci.os_management_hub.SoftwareSourceAddPackagesManagement("test_software_source_add_packages_management",
|
169
|
-
packages=software_source_add_packages_management_packages,
|
170
|
-
software_source_id=test_software_source["id"])
|
171
|
-
```
|
172
|
-
|
173
|
-
## Import
|
174
|
-
|
175
|
-
SoftwareSourceAddPackagesManagement can be imported using the `id`, e.g.
|
176
|
-
|
177
|
-
```sh
|
178
|
-
$ pulumi import oci:OsManagementHub/softwareSourceAddPackagesManagement:SoftwareSourceAddPackagesManagement test_software_source_add_packages_management "id"
|
179
|
-
```
|
180
|
-
|
181
|
-
:param str resource_name: The name of the resource.
|
182
|
-
:param SoftwareSourceAddPackagesManagementArgs args: The arguments to use to populate this resource's properties.
|
183
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
184
|
-
"""
|
185
|
-
...
|
186
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
187
|
-
resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceAddPackagesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
188
|
-
if resource_args is not None:
|
189
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
190
|
-
else:
|
191
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
192
|
-
|
193
|
-
def _internal_init(__self__,
|
194
|
-
resource_name: str,
|
195
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
196
|
-
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
197
|
-
software_source_id: Optional[pulumi.Input[str]] = None,
|
198
|
-
__props__=None):
|
199
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
200
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
201
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
202
|
-
if opts.id is None:
|
203
|
-
if __props__ is not None:
|
204
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
205
|
-
__props__ = SoftwareSourceAddPackagesManagementArgs.__new__(SoftwareSourceAddPackagesManagementArgs)
|
206
|
-
|
207
|
-
if packages is None and not opts.urn:
|
208
|
-
raise TypeError("Missing required property 'packages'")
|
209
|
-
__props__.__dict__["packages"] = packages
|
210
|
-
if software_source_id is None and not opts.urn:
|
211
|
-
raise TypeError("Missing required property 'software_source_id'")
|
212
|
-
__props__.__dict__["software_source_id"] = software_source_id
|
213
|
-
super(SoftwareSourceAddPackagesManagement, __self__).__init__(
|
214
|
-
'oci:OsManagementHub/softwareSourceAddPackagesManagement:SoftwareSourceAddPackagesManagement',
|
215
|
-
resource_name,
|
216
|
-
__props__,
|
217
|
-
opts)
|
218
|
-
|
219
|
-
@staticmethod
|
220
|
-
def get(resource_name: str,
|
221
|
-
id: pulumi.Input[str],
|
222
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
223
|
-
packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
224
|
-
software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceAddPackagesManagement':
|
225
|
-
"""
|
226
|
-
Get an existing SoftwareSourceAddPackagesManagement resource's state with the given name, id, and optional extra
|
227
|
-
properties used to qualify the lookup.
|
228
|
-
|
229
|
-
:param str resource_name: The unique name of the resulting resource.
|
230
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
231
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
232
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
|
233
|
-
:param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
234
|
-
|
235
|
-
|
236
|
-
** IMPORTANT **
|
237
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
238
|
-
"""
|
239
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
240
|
-
|
241
|
-
__props__ = _SoftwareSourceAddPackagesManagementState.__new__(_SoftwareSourceAddPackagesManagementState)
|
242
|
-
|
243
|
-
__props__.__dict__["packages"] = packages
|
244
|
-
__props__.__dict__["software_source_id"] = software_source_id
|
245
|
-
return SoftwareSourceAddPackagesManagement(resource_name, opts=opts, __props__=__props__)
|
246
|
-
|
247
|
-
@property
|
248
|
-
@pulumi.getter
|
249
|
-
def packages(self) -> pulumi.Output[Sequence[str]]:
|
250
|
-
"""
|
251
|
-
List of packages specified by the full package name (NEVRA.rpm).
|
252
|
-
"""
|
253
|
-
return pulumi.get(self, "packages")
|
254
|
-
|
255
|
-
@property
|
256
|
-
@pulumi.getter(name="softwareSourceId")
|
257
|
-
def software_source_id(self) -> pulumi.Output[str]:
|
258
|
-
"""
|
259
|
-
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
|
260
|
-
|
261
|
-
|
262
|
-
** IMPORTANT **
|
263
|
-
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
264
|
-
"""
|
265
|
-
return pulumi.get(self, "software_source_id")
|
266
|
-
|
@@ -1,194 +0,0 @@
|
|
1
|
-
# coding=utf-8
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
-
|
5
|
-
import copy
|
6
|
-
import warnings
|
7
|
-
import pulumi
|
8
|
-
import pulumi.runtime
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
-
from .. import _utilities
|
11
|
-
from . import outputs
|
12
|
-
from ._inputs import *
|
13
|
-
|
14
|
-
__all__ = ['SoftwareSourceChangeAvailabilityManagementArgs', 'SoftwareSourceChangeAvailabilityManagement']
|
15
|
-
|
16
|
-
@pulumi.input_type
|
17
|
-
class SoftwareSourceChangeAvailabilityManagementArgs:
|
18
|
-
def __init__(__self__, *,
|
19
|
-
software_source_availabilities: pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]):
|
20
|
-
"""
|
21
|
-
The set of arguments for constructing a SoftwareSourceChangeAvailabilityManagement resource.
|
22
|
-
:param pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]] software_source_availabilities: List of vendor software sources and their availability statuses.
|
23
|
-
"""
|
24
|
-
pulumi.set(__self__, "software_source_availabilities", software_source_availabilities)
|
25
|
-
|
26
|
-
@property
|
27
|
-
@pulumi.getter(name="softwareSourceAvailabilities")
|
28
|
-
def software_source_availabilities(self) -> pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]:
|
29
|
-
"""
|
30
|
-
List of vendor software sources and their availability statuses.
|
31
|
-
"""
|
32
|
-
return pulumi.get(self, "software_source_availabilities")
|
33
|
-
|
34
|
-
@software_source_availabilities.setter
|
35
|
-
def software_source_availabilities(self, value: pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]):
|
36
|
-
pulumi.set(self, "software_source_availabilities", value)
|
37
|
-
|
38
|
-
|
39
|
-
@pulumi.input_type
|
40
|
-
class _SoftwareSourceChangeAvailabilityManagementState:
|
41
|
-
def __init__(__self__, *,
|
42
|
-
software_source_availabilities: Optional[pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]] = None):
|
43
|
-
"""
|
44
|
-
Input properties used for looking up and filtering SoftwareSourceChangeAvailabilityManagement resources.
|
45
|
-
:param pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]] software_source_availabilities: List of vendor software sources and their availability statuses.
|
46
|
-
"""
|
47
|
-
if software_source_availabilities is not None:
|
48
|
-
pulumi.set(__self__, "software_source_availabilities", software_source_availabilities)
|
49
|
-
|
50
|
-
@property
|
51
|
-
@pulumi.getter(name="softwareSourceAvailabilities")
|
52
|
-
def software_source_availabilities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]]:
|
53
|
-
"""
|
54
|
-
List of vendor software sources and their availability statuses.
|
55
|
-
"""
|
56
|
-
return pulumi.get(self, "software_source_availabilities")
|
57
|
-
|
58
|
-
@software_source_availabilities.setter
|
59
|
-
def software_source_availabilities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]]):
|
60
|
-
pulumi.set(self, "software_source_availabilities", value)
|
61
|
-
|
62
|
-
|
63
|
-
class SoftwareSourceChangeAvailabilityManagement(pulumi.CustomResource):
|
64
|
-
@overload
|
65
|
-
def __init__(__self__,
|
66
|
-
resource_name: str,
|
67
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
68
|
-
software_source_availabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]]] = None,
|
69
|
-
__props__=None):
|
70
|
-
"""
|
71
|
-
This resource provides the Software Source Change Availability Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
72
|
-
|
73
|
-
Updates the availability for a list of specified software sources.
|
74
|
-
|
75
|
-
## Example Usage
|
76
|
-
|
77
|
-
```python
|
78
|
-
import pulumi
|
79
|
-
import pulumi_oci as oci
|
80
|
-
|
81
|
-
test_software_source_change_availability_management = oci.os_management_hub.SoftwareSourceChangeAvailabilityManagement("test_software_source_change_availability_management", software_source_availabilities=[oci.os_management_hub.SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs(
|
82
|
-
software_source_id=test_software_source["id"],
|
83
|
-
availability=software_source_change_availability_management_software_source_availabilities_availability,
|
84
|
-
availability_at_oci=software_source_change_availability_management_software_source_availabilities_availability_at_oci,
|
85
|
-
)])
|
86
|
-
```
|
87
|
-
|
88
|
-
## Import
|
89
|
-
|
90
|
-
SoftwareSourceChangeAvailabilityManagement can be imported using the `id`, e.g.
|
91
|
-
|
92
|
-
```sh
|
93
|
-
$ pulumi import oci:OsManagementHub/softwareSourceChangeAvailabilityManagement:SoftwareSourceChangeAvailabilityManagement test_software_source_change_availability_management "id"
|
94
|
-
```
|
95
|
-
|
96
|
-
:param str resource_name: The name of the resource.
|
97
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
98
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]] software_source_availabilities: List of vendor software sources and their availability statuses.
|
99
|
-
"""
|
100
|
-
...
|
101
|
-
@overload
|
102
|
-
def __init__(__self__,
|
103
|
-
resource_name: str,
|
104
|
-
args: SoftwareSourceChangeAvailabilityManagementArgs,
|
105
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
106
|
-
"""
|
107
|
-
This resource provides the Software Source Change Availability Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
108
|
-
|
109
|
-
Updates the availability for a list of specified software sources.
|
110
|
-
|
111
|
-
## Example Usage
|
112
|
-
|
113
|
-
```python
|
114
|
-
import pulumi
|
115
|
-
import pulumi_oci as oci
|
116
|
-
|
117
|
-
test_software_source_change_availability_management = oci.os_management_hub.SoftwareSourceChangeAvailabilityManagement("test_software_source_change_availability_management", software_source_availabilities=[oci.os_management_hub.SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs(
|
118
|
-
software_source_id=test_software_source["id"],
|
119
|
-
availability=software_source_change_availability_management_software_source_availabilities_availability,
|
120
|
-
availability_at_oci=software_source_change_availability_management_software_source_availabilities_availability_at_oci,
|
121
|
-
)])
|
122
|
-
```
|
123
|
-
|
124
|
-
## Import
|
125
|
-
|
126
|
-
SoftwareSourceChangeAvailabilityManagement can be imported using the `id`, e.g.
|
127
|
-
|
128
|
-
```sh
|
129
|
-
$ pulumi import oci:OsManagementHub/softwareSourceChangeAvailabilityManagement:SoftwareSourceChangeAvailabilityManagement test_software_source_change_availability_management "id"
|
130
|
-
```
|
131
|
-
|
132
|
-
:param str resource_name: The name of the resource.
|
133
|
-
:param SoftwareSourceChangeAvailabilityManagementArgs args: The arguments to use to populate this resource's properties.
|
134
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
135
|
-
"""
|
136
|
-
...
|
137
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
138
|
-
resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceChangeAvailabilityManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
139
|
-
if resource_args is not None:
|
140
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
141
|
-
else:
|
142
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
143
|
-
|
144
|
-
def _internal_init(__self__,
|
145
|
-
resource_name: str,
|
146
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
147
|
-
software_source_availabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]]] = None,
|
148
|
-
__props__=None):
|
149
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
150
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
151
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
152
|
-
if opts.id is None:
|
153
|
-
if __props__ is not None:
|
154
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
155
|
-
__props__ = SoftwareSourceChangeAvailabilityManagementArgs.__new__(SoftwareSourceChangeAvailabilityManagementArgs)
|
156
|
-
|
157
|
-
if software_source_availabilities is None and not opts.urn:
|
158
|
-
raise TypeError("Missing required property 'software_source_availabilities'")
|
159
|
-
__props__.__dict__["software_source_availabilities"] = software_source_availabilities
|
160
|
-
super(SoftwareSourceChangeAvailabilityManagement, __self__).__init__(
|
161
|
-
'oci:OsManagementHub/softwareSourceChangeAvailabilityManagement:SoftwareSourceChangeAvailabilityManagement',
|
162
|
-
resource_name,
|
163
|
-
__props__,
|
164
|
-
opts)
|
165
|
-
|
166
|
-
@staticmethod
|
167
|
-
def get(resource_name: str,
|
168
|
-
id: pulumi.Input[str],
|
169
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
170
|
-
software_source_availabilities: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]]] = None) -> 'SoftwareSourceChangeAvailabilityManagement':
|
171
|
-
"""
|
172
|
-
Get an existing SoftwareSourceChangeAvailabilityManagement resource's state with the given name, id, and optional extra
|
173
|
-
properties used to qualify the lookup.
|
174
|
-
|
175
|
-
:param str resource_name: The unique name of the resulting resource.
|
176
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
177
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
178
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailabilityArgs']]]] software_source_availabilities: List of vendor software sources and their availability statuses.
|
179
|
-
"""
|
180
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
181
|
-
|
182
|
-
__props__ = _SoftwareSourceChangeAvailabilityManagementState.__new__(_SoftwareSourceChangeAvailabilityManagementState)
|
183
|
-
|
184
|
-
__props__.__dict__["software_source_availabilities"] = software_source_availabilities
|
185
|
-
return SoftwareSourceChangeAvailabilityManagement(resource_name, opts=opts, __props__=__props__)
|
186
|
-
|
187
|
-
@property
|
188
|
-
@pulumi.getter(name="softwareSourceAvailabilities")
|
189
|
-
def software_source_availabilities(self) -> pulumi.Output[Sequence['outputs.SoftwareSourceChangeAvailabilityManagementSoftwareSourceAvailability']]:
|
190
|
-
"""
|
191
|
-
List of vendor software sources and their availability statuses.
|
192
|
-
"""
|
193
|
-
return pulumi.get(self, "software_source_availabilities")
|
194
|
-
|
File without changes
|
File without changes
|