pulumi-oci 2.27.0a1742000109__py3-none-any.whl → 2.27.0a1742444119__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.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/METADATA +2 -2
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/RECORD +84 -57
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/WHEEL +1 -1
- {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,269 @@
|
|
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__ = ['ProfileAttachSoftwareSourcesManagementArgs', 'ProfileAttachSoftwareSourcesManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ProfileAttachSoftwareSourcesManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
profile_id: pulumi.Input[str],
|
23
|
+
software_sources: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a ProfileAttachSoftwareSourcesManagement resource.
|
26
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
34
|
+
pulumi.set(__self__, "software_sources", software_sources)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="profileId")
|
38
|
+
def profile_id(self) -> pulumi.Input[str]:
|
39
|
+
"""
|
40
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "profile_id")
|
43
|
+
|
44
|
+
@profile_id.setter
|
45
|
+
def profile_id(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "profile_id", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="softwareSources")
|
50
|
+
def software_sources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
51
|
+
"""
|
52
|
+
List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "software_sources")
|
59
|
+
|
60
|
+
@software_sources.setter
|
61
|
+
def software_sources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
62
|
+
pulumi.set(self, "software_sources", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _ProfileAttachSoftwareSourcesManagementState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
69
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering ProfileAttachSoftwareSourcesManagement resources.
|
72
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
73
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if profile_id is not None:
|
80
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
81
|
+
if software_sources is not None:
|
82
|
+
pulumi.set(__self__, "software_sources", software_sources)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="profileId")
|
86
|
+
def profile_id(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
"""
|
88
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "profile_id")
|
91
|
+
|
92
|
+
@profile_id.setter
|
93
|
+
def profile_id(self, value: Optional[pulumi.Input[str]]):
|
94
|
+
pulumi.set(self, "profile_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="softwareSources")
|
98
|
+
def software_sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
99
|
+
"""
|
100
|
+
List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "software_sources")
|
107
|
+
|
108
|
+
@software_sources.setter
|
109
|
+
def software_sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
110
|
+
pulumi.set(self, "software_sources", value)
|
111
|
+
|
112
|
+
|
113
|
+
class ProfileAttachSoftwareSourcesManagement(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Profile Attach Software Sources Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
123
|
+
|
124
|
+
Attaches the specified software sources to a profile.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_profile_attach_software_sources_management = oci.os_management_hub.ProfileAttachSoftwareSourcesManagement("test_profile_attach_software_sources_management",
|
133
|
+
profile_id=test_profile["id"],
|
134
|
+
software_sources=profile_attach_software_sources_management_software_sources)
|
135
|
+
```
|
136
|
+
|
137
|
+
## Import
|
138
|
+
|
139
|
+
ProfileAttachSoftwareSourcesManagement can be imported using the `id`, e.g.
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import oci:OsManagementHub/profileAttachSoftwareSourcesManagement:ProfileAttachSoftwareSourcesManagement test_profile_attach_software_sources_management "id"
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
148
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
149
|
+
|
150
|
+
|
151
|
+
** IMPORTANT **
|
152
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: ProfileAttachSoftwareSourcesManagementArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
This resource provides the Profile Attach Software Sources Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
162
|
+
|
163
|
+
Attaches the specified software sources to a profile.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_profile_attach_software_sources_management = oci.os_management_hub.ProfileAttachSoftwareSourcesManagement("test_profile_attach_software_sources_management",
|
172
|
+
profile_id=test_profile["id"],
|
173
|
+
software_sources=profile_attach_software_sources_management_software_sources)
|
174
|
+
```
|
175
|
+
|
176
|
+
## Import
|
177
|
+
|
178
|
+
ProfileAttachSoftwareSourcesManagement can be imported using the `id`, e.g.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
$ pulumi import oci:OsManagementHub/profileAttachSoftwareSourcesManagement:ProfileAttachSoftwareSourcesManagement test_profile_attach_software_sources_management "id"
|
182
|
+
```
|
183
|
+
|
184
|
+
:param str resource_name: The name of the resource.
|
185
|
+
:param ProfileAttachSoftwareSourcesManagementArgs args: The arguments to use to populate this resource's properties.
|
186
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
187
|
+
"""
|
188
|
+
...
|
189
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
190
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProfileAttachSoftwareSourcesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
191
|
+
if resource_args is not None:
|
192
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
193
|
+
else:
|
194
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
195
|
+
|
196
|
+
def _internal_init(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
201
|
+
__props__=None):
|
202
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
203
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
204
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
205
|
+
if opts.id is None:
|
206
|
+
if __props__ is not None:
|
207
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
208
|
+
__props__ = ProfileAttachSoftwareSourcesManagementArgs.__new__(ProfileAttachSoftwareSourcesManagementArgs)
|
209
|
+
|
210
|
+
if profile_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'profile_id'")
|
212
|
+
__props__.__dict__["profile_id"] = profile_id
|
213
|
+
if software_sources is None and not opts.urn:
|
214
|
+
raise TypeError("Missing required property 'software_sources'")
|
215
|
+
__props__.__dict__["software_sources"] = software_sources
|
216
|
+
super(ProfileAttachSoftwareSourcesManagement, __self__).__init__(
|
217
|
+
'oci:OsManagementHub/profileAttachSoftwareSourcesManagement:ProfileAttachSoftwareSourcesManagement',
|
218
|
+
resource_name,
|
219
|
+
__props__,
|
220
|
+
opts)
|
221
|
+
|
222
|
+
@staticmethod
|
223
|
+
def get(resource_name: str,
|
224
|
+
id: pulumi.Input[str],
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
226
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
227
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ProfileAttachSoftwareSourcesManagement':
|
228
|
+
"""
|
229
|
+
Get an existing ProfileAttachSoftwareSourcesManagement resource's state with the given name, id, and optional extra
|
230
|
+
properties used to qualify the lookup.
|
231
|
+
|
232
|
+
:param str resource_name: The unique name of the resulting resource.
|
233
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
234
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
235
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
236
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
237
|
+
|
238
|
+
|
239
|
+
** IMPORTANT **
|
240
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
241
|
+
"""
|
242
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
243
|
+
|
244
|
+
__props__ = _ProfileAttachSoftwareSourcesManagementState.__new__(_ProfileAttachSoftwareSourcesManagementState)
|
245
|
+
|
246
|
+
__props__.__dict__["profile_id"] = profile_id
|
247
|
+
__props__.__dict__["software_sources"] = software_sources
|
248
|
+
return ProfileAttachSoftwareSourcesManagement(resource_name, opts=opts, __props__=__props__)
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="profileId")
|
252
|
+
def profile_id(self) -> pulumi.Output[str]:
|
253
|
+
"""
|
254
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "profile_id")
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter(name="softwareSources")
|
260
|
+
def software_sources(self) -> pulumi.Output[Sequence[str]]:
|
261
|
+
"""
|
262
|
+
List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to attach to the profile.
|
263
|
+
|
264
|
+
|
265
|
+
** IMPORTANT **
|
266
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "software_sources")
|
269
|
+
|
@@ -0,0 +1,269 @@
|
|
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__ = ['ProfileDetachSoftwareSourcesManagementArgs', 'ProfileDetachSoftwareSourcesManagement']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class ProfileDetachSoftwareSourcesManagementArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
profile_id: pulumi.Input[str],
|
23
|
+
software_sources: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
24
|
+
"""
|
25
|
+
The set of arguments for constructing a ProfileDetachSoftwareSourcesManagement resource.
|
26
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
28
|
+
|
29
|
+
|
30
|
+
** IMPORTANT **
|
31
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
32
|
+
"""
|
33
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
34
|
+
pulumi.set(__self__, "software_sources", software_sources)
|
35
|
+
|
36
|
+
@property
|
37
|
+
@pulumi.getter(name="profileId")
|
38
|
+
def profile_id(self) -> pulumi.Input[str]:
|
39
|
+
"""
|
40
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
41
|
+
"""
|
42
|
+
return pulumi.get(self, "profile_id")
|
43
|
+
|
44
|
+
@profile_id.setter
|
45
|
+
def profile_id(self, value: pulumi.Input[str]):
|
46
|
+
pulumi.set(self, "profile_id", value)
|
47
|
+
|
48
|
+
@property
|
49
|
+
@pulumi.getter(name="softwareSources")
|
50
|
+
def software_sources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
|
51
|
+
"""
|
52
|
+
List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
53
|
+
|
54
|
+
|
55
|
+
** IMPORTANT **
|
56
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "software_sources")
|
59
|
+
|
60
|
+
@software_sources.setter
|
61
|
+
def software_sources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
|
62
|
+
pulumi.set(self, "software_sources", value)
|
63
|
+
|
64
|
+
|
65
|
+
@pulumi.input_type
|
66
|
+
class _ProfileDetachSoftwareSourcesManagementState:
|
67
|
+
def __init__(__self__, *,
|
68
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
69
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
70
|
+
"""
|
71
|
+
Input properties used for looking up and filtering ProfileDetachSoftwareSourcesManagement resources.
|
72
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
73
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
74
|
+
|
75
|
+
|
76
|
+
** IMPORTANT **
|
77
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
78
|
+
"""
|
79
|
+
if profile_id is not None:
|
80
|
+
pulumi.set(__self__, "profile_id", profile_id)
|
81
|
+
if software_sources is not None:
|
82
|
+
pulumi.set(__self__, "software_sources", software_sources)
|
83
|
+
|
84
|
+
@property
|
85
|
+
@pulumi.getter(name="profileId")
|
86
|
+
def profile_id(self) -> Optional[pulumi.Input[str]]:
|
87
|
+
"""
|
88
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
89
|
+
"""
|
90
|
+
return pulumi.get(self, "profile_id")
|
91
|
+
|
92
|
+
@profile_id.setter
|
93
|
+
def profile_id(self, value: Optional[pulumi.Input[str]]):
|
94
|
+
pulumi.set(self, "profile_id", value)
|
95
|
+
|
96
|
+
@property
|
97
|
+
@pulumi.getter(name="softwareSources")
|
98
|
+
def software_sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
99
|
+
"""
|
100
|
+
List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
101
|
+
|
102
|
+
|
103
|
+
** IMPORTANT **
|
104
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
105
|
+
"""
|
106
|
+
return pulumi.get(self, "software_sources")
|
107
|
+
|
108
|
+
@software_sources.setter
|
109
|
+
def software_sources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
110
|
+
pulumi.set(self, "software_sources", value)
|
111
|
+
|
112
|
+
|
113
|
+
class ProfileDetachSoftwareSourcesManagement(pulumi.CustomResource):
|
114
|
+
@overload
|
115
|
+
def __init__(__self__,
|
116
|
+
resource_name: str,
|
117
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
118
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
119
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
120
|
+
__props__=None):
|
121
|
+
"""
|
122
|
+
This resource provides the Profile Detach Software Sources Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
123
|
+
|
124
|
+
Detaches the specified software sources from a profile.
|
125
|
+
|
126
|
+
## Example Usage
|
127
|
+
|
128
|
+
```python
|
129
|
+
import pulumi
|
130
|
+
import pulumi_oci as oci
|
131
|
+
|
132
|
+
test_profile_detach_software_sources_management = oci.os_management_hub.ProfileDetachSoftwareSourcesManagement("test_profile_detach_software_sources_management",
|
133
|
+
profile_id=test_profile["id"],
|
134
|
+
software_sources=profile_detach_software_sources_management_software_sources)
|
135
|
+
```
|
136
|
+
|
137
|
+
## Import
|
138
|
+
|
139
|
+
ProfileDetachSoftwareSourcesManagement can be imported using the `id`, e.g.
|
140
|
+
|
141
|
+
```sh
|
142
|
+
$ pulumi import oci:OsManagementHub/profileDetachSoftwareSourcesManagement:ProfileDetachSoftwareSourcesManagement test_profile_detach_software_sources_management "id"
|
143
|
+
```
|
144
|
+
|
145
|
+
:param str resource_name: The name of the resource.
|
146
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
147
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
148
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
149
|
+
|
150
|
+
|
151
|
+
** IMPORTANT **
|
152
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
153
|
+
"""
|
154
|
+
...
|
155
|
+
@overload
|
156
|
+
def __init__(__self__,
|
157
|
+
resource_name: str,
|
158
|
+
args: ProfileDetachSoftwareSourcesManagementArgs,
|
159
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
160
|
+
"""
|
161
|
+
This resource provides the Profile Detach Software Sources Management resource in Oracle Cloud Infrastructure Os Management Hub service.
|
162
|
+
|
163
|
+
Detaches the specified software sources from a profile.
|
164
|
+
|
165
|
+
## Example Usage
|
166
|
+
|
167
|
+
```python
|
168
|
+
import pulumi
|
169
|
+
import pulumi_oci as oci
|
170
|
+
|
171
|
+
test_profile_detach_software_sources_management = oci.os_management_hub.ProfileDetachSoftwareSourcesManagement("test_profile_detach_software_sources_management",
|
172
|
+
profile_id=test_profile["id"],
|
173
|
+
software_sources=profile_detach_software_sources_management_software_sources)
|
174
|
+
```
|
175
|
+
|
176
|
+
## Import
|
177
|
+
|
178
|
+
ProfileDetachSoftwareSourcesManagement can be imported using the `id`, e.g.
|
179
|
+
|
180
|
+
```sh
|
181
|
+
$ pulumi import oci:OsManagementHub/profileDetachSoftwareSourcesManagement:ProfileDetachSoftwareSourcesManagement test_profile_detach_software_sources_management "id"
|
182
|
+
```
|
183
|
+
|
184
|
+
:param str resource_name: The name of the resource.
|
185
|
+
:param ProfileDetachSoftwareSourcesManagementArgs args: The arguments to use to populate this resource's properties.
|
186
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
187
|
+
"""
|
188
|
+
...
|
189
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
190
|
+
resource_args, opts = _utilities.get_resource_args_opts(ProfileDetachSoftwareSourcesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
|
191
|
+
if resource_args is not None:
|
192
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
193
|
+
else:
|
194
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
195
|
+
|
196
|
+
def _internal_init(__self__,
|
197
|
+
resource_name: str,
|
198
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
199
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
200
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
201
|
+
__props__=None):
|
202
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
203
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
204
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
205
|
+
if opts.id is None:
|
206
|
+
if __props__ is not None:
|
207
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
208
|
+
__props__ = ProfileDetachSoftwareSourcesManagementArgs.__new__(ProfileDetachSoftwareSourcesManagementArgs)
|
209
|
+
|
210
|
+
if profile_id is None and not opts.urn:
|
211
|
+
raise TypeError("Missing required property 'profile_id'")
|
212
|
+
__props__.__dict__["profile_id"] = profile_id
|
213
|
+
if software_sources is None and not opts.urn:
|
214
|
+
raise TypeError("Missing required property 'software_sources'")
|
215
|
+
__props__.__dict__["software_sources"] = software_sources
|
216
|
+
super(ProfileDetachSoftwareSourcesManagement, __self__).__init__(
|
217
|
+
'oci:OsManagementHub/profileDetachSoftwareSourcesManagement:ProfileDetachSoftwareSourcesManagement',
|
218
|
+
resource_name,
|
219
|
+
__props__,
|
220
|
+
opts)
|
221
|
+
|
222
|
+
@staticmethod
|
223
|
+
def get(resource_name: str,
|
224
|
+
id: pulumi.Input[str],
|
225
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
226
|
+
profile_id: Optional[pulumi.Input[str]] = None,
|
227
|
+
software_sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None) -> 'ProfileDetachSoftwareSourcesManagement':
|
228
|
+
"""
|
229
|
+
Get an existing ProfileDetachSoftwareSourcesManagement resource's state with the given name, id, and optional extra
|
230
|
+
properties used to qualify the lookup.
|
231
|
+
|
232
|
+
:param str resource_name: The unique name of the resulting resource.
|
233
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
234
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
235
|
+
:param pulumi.Input[str] profile_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
236
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] software_sources: List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
237
|
+
|
238
|
+
|
239
|
+
** IMPORTANT **
|
240
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
241
|
+
"""
|
242
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
243
|
+
|
244
|
+
__props__ = _ProfileDetachSoftwareSourcesManagementState.__new__(_ProfileDetachSoftwareSourcesManagementState)
|
245
|
+
|
246
|
+
__props__.__dict__["profile_id"] = profile_id
|
247
|
+
__props__.__dict__["software_sources"] = software_sources
|
248
|
+
return ProfileDetachSoftwareSourcesManagement(resource_name, opts=opts, __props__=__props__)
|
249
|
+
|
250
|
+
@property
|
251
|
+
@pulumi.getter(name="profileId")
|
252
|
+
def profile_id(self) -> pulumi.Output[str]:
|
253
|
+
"""
|
254
|
+
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile.
|
255
|
+
"""
|
256
|
+
return pulumi.get(self, "profile_id")
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter(name="softwareSources")
|
260
|
+
def software_sources(self) -> pulumi.Output[Sequence[str]]:
|
261
|
+
"""
|
262
|
+
List of software source [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to detach from the profile.
|
263
|
+
|
264
|
+
|
265
|
+
** IMPORTANT **
|
266
|
+
Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
267
|
+
"""
|
268
|
+
return pulumi.get(self, "software_sources")
|
269
|
+
|