pulumi-oci 2.27.0a1742279484__py3-none-any.whl → 2.28.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.
Files changed (100) hide show
  1. pulumi_oci/__init__.py +144 -0
  2. pulumi_oci/containerengine/_inputs.py +9 -9
  3. pulumi_oci/containerengine/outputs.py +18 -22
  4. pulumi_oci/core/__init__.py +9 -0
  5. pulumi_oci/core/_inputs.py +196 -0
  6. pulumi_oci/core/compute_gpu_memory_cluster.py +706 -0
  7. pulumi_oci/core/compute_gpu_memory_fabric.py +667 -0
  8. pulumi_oci/core/get_compute_gpu_memory_cluster.py +281 -0
  9. pulumi_oci/core/get_compute_gpu_memory_cluster_instances.py +144 -0
  10. pulumi_oci/core/get_compute_gpu_memory_clusters.py +232 -0
  11. pulumi_oci/core/get_compute_gpu_memory_fabric.py +309 -0
  12. pulumi_oci/core/get_compute_gpu_memory_fabrics.py +289 -0
  13. pulumi_oci/core/get_compute_host.py +393 -0
  14. pulumi_oci/core/get_compute_hosts.py +254 -0
  15. pulumi_oci/core/outputs.py +847 -0
  16. pulumi_oci/database/__init__.py +2 -0
  17. pulumi_oci/database/_inputs.py +2211 -24
  18. pulumi_oci/database/autonomous_container_database.py +305 -52
  19. pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
  20. pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
  21. pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
  22. pulumi_oci/database/get_autonomous_container_database.py +103 -2
  23. pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
  24. pulumi_oci/database/get_autonomous_container_databases.py +1 -1
  25. pulumi_oci/database/get_maintenance_run.py +15 -1
  26. pulumi_oci/database/maintenance_run.py +28 -0
  27. pulumi_oci/database/outputs.py +2747 -225
  28. pulumi_oci/goldengate/_inputs.py +128 -0
  29. pulumi_oci/goldengate/deployment.py +103 -0
  30. pulumi_oci/goldengate/deployment_backup.py +28 -0
  31. pulumi_oci/goldengate/get_deployment.py +43 -1
  32. pulumi_oci/goldengate/get_deployment_backup.py +15 -1
  33. pulumi_oci/goldengate/outputs.py +289 -0
  34. pulumi_oci/identity/_inputs.py +9 -49
  35. pulumi_oci/identity/domains_app.py +34 -0
  36. pulumi_oci/identity/get_domains_app.py +12 -1
  37. pulumi_oci/identity/outputs.py +20 -47
  38. pulumi_oci/osmanagementhub/__init__.py +18 -0
  39. pulumi_oci/osmanagementhub/_inputs.py +677 -12
  40. pulumi_oci/osmanagementhub/event.py +8 -0
  41. pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
  42. pulumi_oci/osmanagementhub/get_event.py +2 -0
  43. pulumi_oci/osmanagementhub/get_events.py +2 -0
  44. pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
  45. pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
  46. pulumi_oci/osmanagementhub/get_management_station.py +116 -4
  47. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
  48. pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
  49. pulumi_oci/osmanagementhub/get_profile.py +32 -4
  50. pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
  51. pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
  52. pulumi_oci/osmanagementhub/get_profiles.py +63 -3
  53. pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
  54. pulumi_oci/osmanagementhub/get_software_package.py +2 -2
  55. pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
  56. pulumi_oci/osmanagementhub/get_software_source.py +89 -5
  57. pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
  58. pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
  59. pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
  60. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
  61. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
  62. pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
  63. pulumi_oci/osmanagementhub/managed_instance.py +56 -0
  64. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
  65. pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
  66. pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
  67. pulumi_oci/osmanagementhub/management_station.py +251 -4
  68. pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
  69. pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
  70. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
  71. pulumi_oci/osmanagementhub/outputs.py +1349 -50
  72. pulumi_oci/osmanagementhub/profile.py +70 -14
  73. pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
  74. pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
  75. pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
  76. pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
  77. pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
  78. pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
  79. pulumi_oci/osmanagementhub/software_source.py +365 -26
  80. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
  81. pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
  82. pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
  83. pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
  84. pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
  85. pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
  86. pulumi_oci/pulumi-plugin.json +1 -1
  87. pulumi_oci/sch/_inputs.py +24 -24
  88. pulumi_oci/sch/connector.py +46 -18
  89. pulumi_oci/sch/get_service_connector.py +16 -8
  90. pulumi_oci/sch/outputs.py +53 -50
  91. pulumi_oci/stackmonitoring/_inputs.py +191 -0
  92. pulumi_oci/stackmonitoring/config.py +307 -23
  93. pulumi_oci/stackmonitoring/get_config.py +90 -5
  94. pulumi_oci/stackmonitoring/get_maintenance_window.py +43 -1
  95. pulumi_oci/stackmonitoring/maintenance_window.py +136 -2
  96. pulumi_oci/stackmonitoring/outputs.py +448 -3
  97. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/METADATA +2 -2
  98. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/RECORD +100 -71
  99. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/WHEEL +1 -1
  100. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,268 @@
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__ = ['SoftwareSourceManifestArgs', 'SoftwareSourceManifest']
18
+
19
+ @pulumi.input_type
20
+ class SoftwareSourceManifestArgs:
21
+ def __init__(__self__, *,
22
+ software_source_id: pulumi.Input[str],
23
+ content: Optional[pulumi.Input[str]] = None):
24
+ """
25
+ The set of arguments for constructing a SoftwareSourceManifest resource.
26
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
27
+
28
+
29
+ ** IMPORTANT **
30
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
31
+ :param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
32
+ """
33
+ pulumi.set(__self__, "software_source_id", software_source_id)
34
+ if content is not None:
35
+ pulumi.set(__self__, "content", content)
36
+
37
+ @property
38
+ @pulumi.getter(name="softwareSourceId")
39
+ def software_source_id(self) -> pulumi.Input[str]:
40
+ """
41
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
42
+
43
+
44
+ ** IMPORTANT **
45
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
46
+ """
47
+ return pulumi.get(self, "software_source_id")
48
+
49
+ @software_source_id.setter
50
+ def software_source_id(self, value: pulumi.Input[str]):
51
+ pulumi.set(self, "software_source_id", value)
52
+
53
+ @property
54
+ @pulumi.getter
55
+ def content(self) -> Optional[pulumi.Input[str]]:
56
+ """
57
+ (Updatable) Provides the manifest content used to update the package list of the software source.
58
+ """
59
+ return pulumi.get(self, "content")
60
+
61
+ @content.setter
62
+ def content(self, value: Optional[pulumi.Input[str]]):
63
+ pulumi.set(self, "content", value)
64
+
65
+
66
+ @pulumi.input_type
67
+ class _SoftwareSourceManifestState:
68
+ def __init__(__self__, *,
69
+ content: Optional[pulumi.Input[str]] = None,
70
+ software_source_id: Optional[pulumi.Input[str]] = None):
71
+ """
72
+ Input properties used for looking up and filtering SoftwareSourceManifest resources.
73
+ :param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
74
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
75
+
76
+
77
+ ** IMPORTANT **
78
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
79
+ """
80
+ if content is not None:
81
+ pulumi.set(__self__, "content", content)
82
+ if software_source_id is not None:
83
+ pulumi.set(__self__, "software_source_id", software_source_id)
84
+
85
+ @property
86
+ @pulumi.getter
87
+ def content(self) -> Optional[pulumi.Input[str]]:
88
+ """
89
+ (Updatable) Provides the manifest content used to update the package list of the software source.
90
+ """
91
+ return pulumi.get(self, "content")
92
+
93
+ @content.setter
94
+ def content(self, value: Optional[pulumi.Input[str]]):
95
+ pulumi.set(self, "content", value)
96
+
97
+ @property
98
+ @pulumi.getter(name="softwareSourceId")
99
+ def software_source_id(self) -> Optional[pulumi.Input[str]]:
100
+ """
101
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
102
+
103
+
104
+ ** IMPORTANT **
105
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
106
+ """
107
+ return pulumi.get(self, "software_source_id")
108
+
109
+ @software_source_id.setter
110
+ def software_source_id(self, value: Optional[pulumi.Input[str]]):
111
+ pulumi.set(self, "software_source_id", value)
112
+
113
+
114
+ class SoftwareSourceManifest(pulumi.CustomResource):
115
+ @overload
116
+ def __init__(__self__,
117
+ resource_name: str,
118
+ opts: Optional[pulumi.ResourceOptions] = None,
119
+ content: Optional[pulumi.Input[str]] = None,
120
+ software_source_id: Optional[pulumi.Input[str]] = None,
121
+ __props__=None):
122
+ """
123
+ This resource provides the Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
124
+
125
+ Updates the package list document for the software source.
126
+
127
+ ## Example Usage
128
+
129
+ ```python
130
+ import pulumi
131
+ import pulumi_oci as oci
132
+
133
+ test_software_source_manifest = oci.os_management_hub.SoftwareSourceManifest("test_software_source_manifest",
134
+ software_source_id=test_software_source["id"],
135
+ content=content)
136
+ ```
137
+
138
+ ## Import
139
+
140
+ SoftwareSourceManifests can be imported using the `id`, e.g.
141
+
142
+ ```sh
143
+ $ pulumi import oci:OsManagementHub/softwareSourceManifest:SoftwareSourceManifest test_software_source_manifest "id"
144
+ ```
145
+
146
+ :param str resource_name: The name of the resource.
147
+ :param pulumi.ResourceOptions opts: Options for the resource.
148
+ :param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
149
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
150
+
151
+
152
+ ** IMPORTANT **
153
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
154
+ """
155
+ ...
156
+ @overload
157
+ def __init__(__self__,
158
+ resource_name: str,
159
+ args: SoftwareSourceManifestArgs,
160
+ opts: Optional[pulumi.ResourceOptions] = None):
161
+ """
162
+ This resource provides the Software Source Manifest resource in Oracle Cloud Infrastructure Os Management Hub service.
163
+
164
+ Updates the package list document for the software source.
165
+
166
+ ## Example Usage
167
+
168
+ ```python
169
+ import pulumi
170
+ import pulumi_oci as oci
171
+
172
+ test_software_source_manifest = oci.os_management_hub.SoftwareSourceManifest("test_software_source_manifest",
173
+ software_source_id=test_software_source["id"],
174
+ content=content)
175
+ ```
176
+
177
+ ## Import
178
+
179
+ SoftwareSourceManifests can be imported using the `id`, e.g.
180
+
181
+ ```sh
182
+ $ pulumi import oci:OsManagementHub/softwareSourceManifest:SoftwareSourceManifest test_software_source_manifest "id"
183
+ ```
184
+
185
+ :param str resource_name: The name of the resource.
186
+ :param SoftwareSourceManifestArgs args: The arguments to use to populate this resource's properties.
187
+ :param pulumi.ResourceOptions opts: Options for the resource.
188
+ """
189
+ ...
190
+ def __init__(__self__, resource_name: str, *args, **kwargs):
191
+ resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceManifestArgs, pulumi.ResourceOptions, *args, **kwargs)
192
+ if resource_args is not None:
193
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
194
+ else:
195
+ __self__._internal_init(resource_name, *args, **kwargs)
196
+
197
+ def _internal_init(__self__,
198
+ resource_name: str,
199
+ opts: Optional[pulumi.ResourceOptions] = None,
200
+ content: Optional[pulumi.Input[str]] = None,
201
+ software_source_id: Optional[pulumi.Input[str]] = None,
202
+ __props__=None):
203
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
204
+ if not isinstance(opts, pulumi.ResourceOptions):
205
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
206
+ if opts.id is None:
207
+ if __props__ is not None:
208
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
209
+ __props__ = SoftwareSourceManifestArgs.__new__(SoftwareSourceManifestArgs)
210
+
211
+ __props__.__dict__["content"] = content
212
+ if software_source_id is None and not opts.urn:
213
+ raise TypeError("Missing required property 'software_source_id'")
214
+ __props__.__dict__["software_source_id"] = software_source_id
215
+ super(SoftwareSourceManifest, __self__).__init__(
216
+ 'oci:OsManagementHub/softwareSourceManifest:SoftwareSourceManifest',
217
+ resource_name,
218
+ __props__,
219
+ opts)
220
+
221
+ @staticmethod
222
+ def get(resource_name: str,
223
+ id: pulumi.Input[str],
224
+ opts: Optional[pulumi.ResourceOptions] = None,
225
+ content: Optional[pulumi.Input[str]] = None,
226
+ software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceManifest':
227
+ """
228
+ Get an existing SoftwareSourceManifest resource's state with the given name, id, and optional extra
229
+ properties used to qualify the lookup.
230
+
231
+ :param str resource_name: The unique name of the resulting resource.
232
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
233
+ :param pulumi.ResourceOptions opts: Options for the resource.
234
+ :param pulumi.Input[str] content: (Updatable) Provides the manifest content used to update the package list of the software source.
235
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
236
+
237
+
238
+ ** IMPORTANT **
239
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
240
+ """
241
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
242
+
243
+ __props__ = _SoftwareSourceManifestState.__new__(_SoftwareSourceManifestState)
244
+
245
+ __props__.__dict__["content"] = content
246
+ __props__.__dict__["software_source_id"] = software_source_id
247
+ return SoftwareSourceManifest(resource_name, opts=opts, __props__=__props__)
248
+
249
+ @property
250
+ @pulumi.getter
251
+ def content(self) -> pulumi.Output[Optional[str]]:
252
+ """
253
+ (Updatable) Provides the manifest content used to update the package list of the software source.
254
+ """
255
+ return pulumi.get(self, "content")
256
+
257
+ @property
258
+ @pulumi.getter(name="softwareSourceId")
259
+ def software_source_id(self) -> pulumi.Output[str]:
260
+ """
261
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
262
+
263
+
264
+ ** IMPORTANT **
265
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
266
+ """
267
+ return pulumi.get(self, "software_source_id")
268
+
@@ -0,0 +1,277 @@
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__ = ['SoftwareSourceRemovePackagesManagementArgs', 'SoftwareSourceRemovePackagesManagement']
18
+
19
+ @pulumi.input_type
20
+ class SoftwareSourceRemovePackagesManagementArgs:
21
+ def __init__(__self__, *,
22
+ packages: pulumi.Input[Sequence[pulumi.Input[str]]],
23
+ software_source_id: pulumi.Input[str]):
24
+ """
25
+ The set of arguments for constructing a SoftwareSourceRemovePackagesManagement resource.
26
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
27
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
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__, "packages", packages)
34
+ pulumi.set(__self__, "software_source_id", software_source_id)
35
+
36
+ @property
37
+ @pulumi.getter
38
+ def packages(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
39
+ """
40
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
41
+ """
42
+ return pulumi.get(self, "packages")
43
+
44
+ @packages.setter
45
+ def packages(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
46
+ pulumi.set(self, "packages", value)
47
+
48
+ @property
49
+ @pulumi.getter(name="softwareSourceId")
50
+ def software_source_id(self) -> pulumi.Input[str]:
51
+ """
52
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
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_source_id")
59
+
60
+ @software_source_id.setter
61
+ def software_source_id(self, value: pulumi.Input[str]):
62
+ pulumi.set(self, "software_source_id", value)
63
+
64
+
65
+ @pulumi.input_type
66
+ class _SoftwareSourceRemovePackagesManagementState:
67
+ def __init__(__self__, *,
68
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
69
+ software_source_id: Optional[pulumi.Input[str]] = None):
70
+ """
71
+ Input properties used for looking up and filtering SoftwareSourceRemovePackagesManagement resources.
72
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
73
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
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 packages is not None:
80
+ pulumi.set(__self__, "packages", packages)
81
+ if software_source_id is not None:
82
+ pulumi.set(__self__, "software_source_id", software_source_id)
83
+
84
+ @property
85
+ @pulumi.getter
86
+ def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
87
+ """
88
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
89
+ """
90
+ return pulumi.get(self, "packages")
91
+
92
+ @packages.setter
93
+ def packages(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
94
+ pulumi.set(self, "packages", value)
95
+
96
+ @property
97
+ @pulumi.getter(name="softwareSourceId")
98
+ def software_source_id(self) -> Optional[pulumi.Input[str]]:
99
+ """
100
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
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_source_id")
107
+
108
+ @software_source_id.setter
109
+ def software_source_id(self, value: Optional[pulumi.Input[str]]):
110
+ pulumi.set(self, "software_source_id", value)
111
+
112
+
113
+ class SoftwareSourceRemovePackagesManagement(pulumi.CustomResource):
114
+ @overload
115
+ def __init__(__self__,
116
+ resource_name: str,
117
+ opts: Optional[pulumi.ResourceOptions] = None,
118
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
119
+ software_source_id: Optional[pulumi.Input[str]] = None,
120
+ __props__=None):
121
+ """
122
+ This resource provides the Software Source Remove Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
123
+
124
+ Removes packages from a software source. This operation can only be done for custom software sources that are not created using filters.
125
+ Packages can be of the format:
126
+ * name (for example: git). This removes all versions of the package.
127
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
128
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
129
+
130
+ ## Example Usage
131
+
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_software_source_remove_packages_management = oci.os_management_hub.SoftwareSourceRemovePackagesManagement("test_software_source_remove_packages_management",
137
+ packages=software_source_remove_packages_management_packages,
138
+ software_source_id=test_software_source["id"])
139
+ ```
140
+
141
+ ## Import
142
+
143
+ SoftwareSourceRemovePackagesManagement can be imported using the `id`, e.g.
144
+
145
+ ```sh
146
+ $ pulumi import oci:OsManagementHub/softwareSourceRemovePackagesManagement:SoftwareSourceRemovePackagesManagement test_software_source_remove_packages_management "id"
147
+ ```
148
+
149
+ :param str resource_name: The name of the resource.
150
+ :param pulumi.ResourceOptions opts: Options for the resource.
151
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
152
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
153
+
154
+
155
+ ** IMPORTANT **
156
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
157
+ """
158
+ ...
159
+ @overload
160
+ def __init__(__self__,
161
+ resource_name: str,
162
+ args: SoftwareSourceRemovePackagesManagementArgs,
163
+ opts: Optional[pulumi.ResourceOptions] = None):
164
+ """
165
+ This resource provides the Software Source Remove Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
166
+
167
+ Removes packages from a software source. This operation can only be done for custom software sources that are not created using filters.
168
+ Packages can be of the format:
169
+ * name (for example: git). This removes all versions of the package.
170
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
171
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
172
+
173
+ ## Example Usage
174
+
175
+ ```python
176
+ import pulumi
177
+ import pulumi_oci as oci
178
+
179
+ test_software_source_remove_packages_management = oci.os_management_hub.SoftwareSourceRemovePackagesManagement("test_software_source_remove_packages_management",
180
+ packages=software_source_remove_packages_management_packages,
181
+ software_source_id=test_software_source["id"])
182
+ ```
183
+
184
+ ## Import
185
+
186
+ SoftwareSourceRemovePackagesManagement can be imported using the `id`, e.g.
187
+
188
+ ```sh
189
+ $ pulumi import oci:OsManagementHub/softwareSourceRemovePackagesManagement:SoftwareSourceRemovePackagesManagement test_software_source_remove_packages_management "id"
190
+ ```
191
+
192
+ :param str resource_name: The name of the resource.
193
+ :param SoftwareSourceRemovePackagesManagementArgs args: The arguments to use to populate this resource's properties.
194
+ :param pulumi.ResourceOptions opts: Options for the resource.
195
+ """
196
+ ...
197
+ def __init__(__self__, resource_name: str, *args, **kwargs):
198
+ resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceRemovePackagesManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
199
+ if resource_args is not None:
200
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
201
+ else:
202
+ __self__._internal_init(resource_name, *args, **kwargs)
203
+
204
+ def _internal_init(__self__,
205
+ resource_name: str,
206
+ opts: Optional[pulumi.ResourceOptions] = None,
207
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
208
+ software_source_id: Optional[pulumi.Input[str]] = None,
209
+ __props__=None):
210
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
211
+ if not isinstance(opts, pulumi.ResourceOptions):
212
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
213
+ if opts.id is None:
214
+ if __props__ is not None:
215
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
216
+ __props__ = SoftwareSourceRemovePackagesManagementArgs.__new__(SoftwareSourceRemovePackagesManagementArgs)
217
+
218
+ if packages is None and not opts.urn:
219
+ raise TypeError("Missing required property 'packages'")
220
+ __props__.__dict__["packages"] = packages
221
+ if software_source_id is None and not opts.urn:
222
+ raise TypeError("Missing required property 'software_source_id'")
223
+ __props__.__dict__["software_source_id"] = software_source_id
224
+ super(SoftwareSourceRemovePackagesManagement, __self__).__init__(
225
+ 'oci:OsManagementHub/softwareSourceRemovePackagesManagement:SoftwareSourceRemovePackagesManagement',
226
+ resource_name,
227
+ __props__,
228
+ opts)
229
+
230
+ @staticmethod
231
+ def get(resource_name: str,
232
+ id: pulumi.Input[str],
233
+ opts: Optional[pulumi.ResourceOptions] = None,
234
+ packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
235
+ software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceRemovePackagesManagement':
236
+ """
237
+ Get an existing SoftwareSourceRemovePackagesManagement resource's state with the given name, id, and optional extra
238
+ properties used to qualify the lookup.
239
+
240
+ :param str resource_name: The unique name of the resulting resource.
241
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
242
+ :param pulumi.ResourceOptions opts: Options for the resource.
243
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
244
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
245
+
246
+
247
+ ** IMPORTANT **
248
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
249
+ """
250
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
251
+
252
+ __props__ = _SoftwareSourceRemovePackagesManagementState.__new__(_SoftwareSourceRemovePackagesManagementState)
253
+
254
+ __props__.__dict__["packages"] = packages
255
+ __props__.__dict__["software_source_id"] = software_source_id
256
+ return SoftwareSourceRemovePackagesManagement(resource_name, opts=opts, __props__=__props__)
257
+
258
+ @property
259
+ @pulumi.getter
260
+ def packages(self) -> pulumi.Output[Sequence[str]]:
261
+ """
262
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
263
+ """
264
+ return pulumi.get(self, "packages")
265
+
266
+ @property
267
+ @pulumi.getter(name="softwareSourceId")
268
+ def software_source_id(self) -> pulumi.Output[str]:
269
+ """
270
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
271
+
272
+
273
+ ** IMPORTANT **
274
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
275
+ """
276
+ return pulumi.get(self, "software_source_id")
277
+