pulumi-oci 2.27.0a1742279484__py3-none-any.whl → 2.28.0a1742538577__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) 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 +7 -0
  5. pulumi_oci/core/_inputs.py +147 -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/outputs.py +582 -0
  14. pulumi_oci/database/__init__.py +2 -0
  15. pulumi_oci/database/_inputs.py +2211 -24
  16. pulumi_oci/database/autonomous_container_database.py +305 -52
  17. pulumi_oci/database/autonomous_container_database_add_standby.py +2183 -0
  18. pulumi_oci/database/autonomous_container_database_dataguard_association.py +80 -40
  19. pulumi_oci/database/autonomous_container_database_snapshot_standby.py +322 -0
  20. pulumi_oci/database/get_autonomous_container_database.py +103 -2
  21. pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +12 -1
  22. pulumi_oci/database/get_autonomous_container_databases.py +1 -1
  23. pulumi_oci/database/get_maintenance_run.py +15 -1
  24. pulumi_oci/database/maintenance_run.py +28 -0
  25. pulumi_oci/database/outputs.py +2747 -225
  26. pulumi_oci/goldengate/_inputs.py +128 -0
  27. pulumi_oci/goldengate/deployment.py +103 -0
  28. pulumi_oci/goldengate/deployment_backup.py +28 -0
  29. pulumi_oci/goldengate/get_deployment.py +43 -1
  30. pulumi_oci/goldengate/get_deployment_backup.py +15 -1
  31. pulumi_oci/goldengate/outputs.py +289 -0
  32. pulumi_oci/osmanagementhub/__init__.py +18 -0
  33. pulumi_oci/osmanagementhub/_inputs.py +677 -12
  34. pulumi_oci/osmanagementhub/event.py +8 -0
  35. pulumi_oci/osmanagementhub/get_entitlements.py +2 -2
  36. pulumi_oci/osmanagementhub/get_event.py +2 -0
  37. pulumi_oci/osmanagementhub/get_events.py +2 -0
  38. pulumi_oci/osmanagementhub/get_managed_instance.py +30 -2
  39. pulumi_oci/osmanagementhub/get_managed_instances.py +75 -63
  40. pulumi_oci/osmanagementhub/get_management_station.py +116 -4
  41. pulumi_oci/osmanagementhub/get_management_station_mirrors.py +1 -1
  42. pulumi_oci/osmanagementhub/get_management_stations.py +47 -4
  43. pulumi_oci/osmanagementhub/get_profile.py +32 -4
  44. pulumi_oci/osmanagementhub/get_profile_available_software_sources.py +207 -0
  45. pulumi_oci/osmanagementhub/get_profile_version.py +388 -0
  46. pulumi_oci/osmanagementhub/get_profiles.py +63 -3
  47. pulumi_oci/osmanagementhub/get_scheduled_job.py +15 -1
  48. pulumi_oci/osmanagementhub/get_software_package.py +2 -2
  49. pulumi_oci/osmanagementhub/get_software_package_software_source.py +7 -7
  50. pulumi_oci/osmanagementhub/get_software_source.py +89 -5
  51. pulumi_oci/osmanagementhub/get_software_source_available_software_packages.py +209 -0
  52. pulumi_oci/osmanagementhub/get_software_source_manifest.py +127 -0
  53. pulumi_oci/osmanagementhub/get_software_sources.py +30 -8
  54. pulumi_oci/osmanagementhub/lifecycle_stage_attach_managed_instances_management.py +6 -39
  55. pulumi_oci/osmanagementhub/lifecycle_stage_detach_managed_instances_management.py +6 -39
  56. pulumi_oci/osmanagementhub/lifecycle_stage_reboot_management.py +297 -0
  57. pulumi_oci/osmanagementhub/managed_instance.py +56 -0
  58. pulumi_oci/osmanagementhub/managed_instance_group_install_packages_management.py +49 -0
  59. pulumi_oci/osmanagementhub/managed_instance_group_reboot_management.py +297 -0
  60. pulumi_oci/osmanagementhub/managed_instance_reboot_management.py +299 -0
  61. pulumi_oci/osmanagementhub/management_station.py +251 -4
  62. pulumi_oci/osmanagementhub/management_station_associate_managed_instances_management.py +298 -0
  63. pulumi_oci/osmanagementhub/management_station_refresh_management.py +2 -2
  64. pulumi_oci/osmanagementhub/management_station_synchronize_mirrors_management.py +9 -9
  65. pulumi_oci/osmanagementhub/outputs.py +1349 -50
  66. pulumi_oci/osmanagementhub/profile.py +70 -14
  67. pulumi_oci/osmanagementhub/profile_attach_lifecycle_stage_management.py +269 -0
  68. pulumi_oci/osmanagementhub/profile_attach_managed_instance_group_management.py +269 -0
  69. pulumi_oci/osmanagementhub/profile_attach_management_station_management.py +269 -0
  70. pulumi_oci/osmanagementhub/profile_attach_software_sources_management.py +269 -0
  71. pulumi_oci/osmanagementhub/profile_detach_software_sources_management.py +269 -0
  72. pulumi_oci/osmanagementhub/scheduled_job.py +72 -21
  73. pulumi_oci/osmanagementhub/software_source.py +365 -26
  74. pulumi_oci/osmanagementhub/software_source_add_packages_management.py +67 -10
  75. pulumi_oci/osmanagementhub/software_source_generate_metadata_management.py +217 -0
  76. pulumi_oci/osmanagementhub/software_source_manifest.py +268 -0
  77. pulumi_oci/osmanagementhub/software_source_remove_packages_management.py +277 -0
  78. pulumi_oci/osmanagementhub/software_source_replace_packages_management.py +277 -0
  79. pulumi_oci/osmanagementhub/work_request_rerun_management.py +325 -0
  80. pulumi_oci/pulumi-plugin.json +1 -1
  81. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/METADATA +2 -2
  82. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/RECORD +84 -57
  83. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/WHEEL +1 -1
  84. {pulumi_oci-2.27.0a1742279484.dist-info → pulumi_oci-2.28.0a1742538577.dist-info}/top_level.txt +0 -0
@@ -20,24 +20,28 @@ __all__ = ['SoftwareSourceAddPackagesManagementArgs', 'SoftwareSourceAddPackages
20
20
  class SoftwareSourceAddPackagesManagementArgs:
21
21
  def __init__(__self__, *,
22
22
  packages: pulumi.Input[Sequence[pulumi.Input[str]]],
23
- software_source_id: pulumi.Input[str]):
23
+ software_source_id: pulumi.Input[str],
24
+ is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None):
24
25
  """
25
26
  The set of arguments for constructing a SoftwareSourceAddPackagesManagement resource.
26
- :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
27
+ :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
28
  :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
 
29
30
 
30
31
  ** IMPORTANT **
31
32
  Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
33
+ :param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
32
34
  """
33
35
  pulumi.set(__self__, "packages", packages)
34
36
  pulumi.set(__self__, "software_source_id", software_source_id)
37
+ if is_continue_on_missing_packages is not None:
38
+ pulumi.set(__self__, "is_continue_on_missing_packages", is_continue_on_missing_packages)
35
39
 
36
40
  @property
37
41
  @pulumi.getter
38
42
  def packages(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
39
43
  """
40
- List of packages specified by the full package name (NEVRA.rpm).
44
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
41
45
  """
42
46
  return pulumi.get(self, "packages")
43
47
 
@@ -61,31 +65,59 @@ class SoftwareSourceAddPackagesManagementArgs:
61
65
  def software_source_id(self, value: pulumi.Input[str]):
62
66
  pulumi.set(self, "software_source_id", value)
63
67
 
68
+ @property
69
+ @pulumi.getter(name="isContinueOnMissingPackages")
70
+ def is_continue_on_missing_packages(self) -> Optional[pulumi.Input[bool]]:
71
+ """
72
+ Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
73
+ """
74
+ return pulumi.get(self, "is_continue_on_missing_packages")
75
+
76
+ @is_continue_on_missing_packages.setter
77
+ def is_continue_on_missing_packages(self, value: Optional[pulumi.Input[bool]]):
78
+ pulumi.set(self, "is_continue_on_missing_packages", value)
79
+
64
80
 
65
81
  @pulumi.input_type
66
82
  class _SoftwareSourceAddPackagesManagementState:
67
83
  def __init__(__self__, *,
84
+ is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
68
85
  packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
69
86
  software_source_id: Optional[pulumi.Input[str]] = None):
70
87
  """
71
88
  Input properties used for looking up and filtering SoftwareSourceAddPackagesManagement resources.
72
- :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
89
+ :param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
90
+ :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
91
  :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
92
 
75
93
 
76
94
  ** IMPORTANT **
77
95
  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
96
  """
97
+ if is_continue_on_missing_packages is not None:
98
+ pulumi.set(__self__, "is_continue_on_missing_packages", is_continue_on_missing_packages)
79
99
  if packages is not None:
80
100
  pulumi.set(__self__, "packages", packages)
81
101
  if software_source_id is not None:
82
102
  pulumi.set(__self__, "software_source_id", software_source_id)
83
103
 
104
+ @property
105
+ @pulumi.getter(name="isContinueOnMissingPackages")
106
+ def is_continue_on_missing_packages(self) -> Optional[pulumi.Input[bool]]:
107
+ """
108
+ Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
109
+ """
110
+ return pulumi.get(self, "is_continue_on_missing_packages")
111
+
112
+ @is_continue_on_missing_packages.setter
113
+ def is_continue_on_missing_packages(self, value: Optional[pulumi.Input[bool]]):
114
+ pulumi.set(self, "is_continue_on_missing_packages", value)
115
+
84
116
  @property
85
117
  @pulumi.getter
86
118
  def packages(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
87
119
  """
88
- List of packages specified by the full package name (NEVRA.rpm).
120
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
89
121
  """
90
122
  return pulumi.get(self, "packages")
91
123
 
@@ -115,6 +147,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
115
147
  def __init__(__self__,
116
148
  resource_name: str,
117
149
  opts: Optional[pulumi.ResourceOptions] = None,
150
+ is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
118
151
  packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
119
152
  software_source_id: Optional[pulumi.Input[str]] = None,
120
153
  __props__=None):
@@ -123,6 +156,10 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
123
156
 
124
157
  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.
125
158
  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.
159
+ Packages can be of the format:
160
+ * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
161
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
162
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
126
163
 
127
164
  ## Example Usage
128
165
 
@@ -132,7 +169,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
132
169
 
133
170
  test_software_source_add_packages_management = oci.os_management_hub.SoftwareSourceAddPackagesManagement("test_software_source_add_packages_management",
134
171
  packages=software_source_add_packages_management_packages,
135
- software_source_id=test_software_source["id"])
172
+ software_source_id=test_software_source["id"],
173
+ is_continue_on_missing_packages=software_source_add_packages_management_is_continue_on_missing_packages)
136
174
  ```
137
175
 
138
176
  ## Import
@@ -145,7 +183,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
145
183
 
146
184
  :param str resource_name: The name of the resource.
147
185
  :param pulumi.ResourceOptions opts: Options for the resource.
148
- :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
186
+ :param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
187
+ :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).
149
188
  :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
189
 
151
190
 
@@ -163,6 +202,10 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
163
202
 
164
203
  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.
165
204
  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.
205
+ Packages can be of the format:
206
+ * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
207
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
208
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
166
209
 
167
210
  ## Example Usage
168
211
 
@@ -172,7 +215,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
172
215
 
173
216
  test_software_source_add_packages_management = oci.os_management_hub.SoftwareSourceAddPackagesManagement("test_software_source_add_packages_management",
174
217
  packages=software_source_add_packages_management_packages,
175
- software_source_id=test_software_source["id"])
218
+ software_source_id=test_software_source["id"],
219
+ is_continue_on_missing_packages=software_source_add_packages_management_is_continue_on_missing_packages)
176
220
  ```
177
221
 
178
222
  ## Import
@@ -198,6 +242,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
198
242
  def _internal_init(__self__,
199
243
  resource_name: str,
200
244
  opts: Optional[pulumi.ResourceOptions] = None,
245
+ is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
201
246
  packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
202
247
  software_source_id: Optional[pulumi.Input[str]] = None,
203
248
  __props__=None):
@@ -209,6 +254,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
209
254
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
210
255
  __props__ = SoftwareSourceAddPackagesManagementArgs.__new__(SoftwareSourceAddPackagesManagementArgs)
211
256
 
257
+ __props__.__dict__["is_continue_on_missing_packages"] = is_continue_on_missing_packages
212
258
  if packages is None and not opts.urn:
213
259
  raise TypeError("Missing required property 'packages'")
214
260
  __props__.__dict__["packages"] = packages
@@ -225,6 +271,7 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
225
271
  def get(resource_name: str,
226
272
  id: pulumi.Input[str],
227
273
  opts: Optional[pulumi.ResourceOptions] = None,
274
+ is_continue_on_missing_packages: Optional[pulumi.Input[bool]] = None,
228
275
  packages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
229
276
  software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceAddPackagesManagement':
230
277
  """
@@ -234,7 +281,8 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
234
281
  :param str resource_name: The unique name of the resulting resource.
235
282
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
236
283
  :param pulumi.ResourceOptions opts: Options for the resource.
237
- :param pulumi.Input[Sequence[pulumi.Input[str]]] packages: List of packages specified by the full package name (NEVRA.rpm).
284
+ :param pulumi.Input[bool] is_continue_on_missing_packages: Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
285
+ :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).
238
286
  :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
239
287
 
240
288
 
@@ -245,15 +293,24 @@ class SoftwareSourceAddPackagesManagement(pulumi.CustomResource):
245
293
 
246
294
  __props__ = _SoftwareSourceAddPackagesManagementState.__new__(_SoftwareSourceAddPackagesManagementState)
247
295
 
296
+ __props__.__dict__["is_continue_on_missing_packages"] = is_continue_on_missing_packages
248
297
  __props__.__dict__["packages"] = packages
249
298
  __props__.__dict__["software_source_id"] = software_source_id
250
299
  return SoftwareSourceAddPackagesManagement(resource_name, opts=opts, __props__=__props__)
251
300
 
301
+ @property
302
+ @pulumi.getter(name="isContinueOnMissingPackages")
303
+ def is_continue_on_missing_packages(self) -> pulumi.Output[bool]:
304
+ """
305
+ Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
306
+ """
307
+ return pulumi.get(self, "is_continue_on_missing_packages")
308
+
252
309
  @property
253
310
  @pulumi.getter
254
311
  def packages(self) -> pulumi.Output[Sequence[str]]:
255
312
  """
256
- List of packages specified by the full package name (NEVRA.rpm).
313
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
257
314
  """
258
315
  return pulumi.get(self, "packages")
259
316
 
@@ -0,0 +1,217 @@
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__ = ['SoftwareSourceGenerateMetadataManagementArgs', 'SoftwareSourceGenerateMetadataManagement']
18
+
19
+ @pulumi.input_type
20
+ class SoftwareSourceGenerateMetadataManagementArgs:
21
+ def __init__(__self__, *,
22
+ software_source_id: pulumi.Input[str]):
23
+ """
24
+ The set of arguments for constructing a SoftwareSourceGenerateMetadataManagement resource.
25
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
26
+
27
+
28
+ ** IMPORTANT **
29
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
30
+ """
31
+ pulumi.set(__self__, "software_source_id", software_source_id)
32
+
33
+ @property
34
+ @pulumi.getter(name="softwareSourceId")
35
+ def software_source_id(self) -> pulumi.Input[str]:
36
+ """
37
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
38
+
39
+
40
+ ** IMPORTANT **
41
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
42
+ """
43
+ return pulumi.get(self, "software_source_id")
44
+
45
+ @software_source_id.setter
46
+ def software_source_id(self, value: pulumi.Input[str]):
47
+ pulumi.set(self, "software_source_id", value)
48
+
49
+
50
+ @pulumi.input_type
51
+ class _SoftwareSourceGenerateMetadataManagementState:
52
+ def __init__(__self__, *,
53
+ software_source_id: Optional[pulumi.Input[str]] = None):
54
+ """
55
+ Input properties used for looking up and filtering SoftwareSourceGenerateMetadataManagement resources.
56
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
57
+
58
+
59
+ ** IMPORTANT **
60
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
61
+ """
62
+ if software_source_id is not None:
63
+ pulumi.set(__self__, "software_source_id", software_source_id)
64
+
65
+ @property
66
+ @pulumi.getter(name="softwareSourceId")
67
+ def software_source_id(self) -> Optional[pulumi.Input[str]]:
68
+ """
69
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
70
+
71
+
72
+ ** IMPORTANT **
73
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
74
+ """
75
+ return pulumi.get(self, "software_source_id")
76
+
77
+ @software_source_id.setter
78
+ def software_source_id(self, value: Optional[pulumi.Input[str]]):
79
+ pulumi.set(self, "software_source_id", value)
80
+
81
+
82
+ class SoftwareSourceGenerateMetadataManagement(pulumi.CustomResource):
83
+ @overload
84
+ def __init__(__self__,
85
+ resource_name: str,
86
+ opts: Optional[pulumi.ResourceOptions] = None,
87
+ software_source_id: Optional[pulumi.Input[str]] = None,
88
+ __props__=None):
89
+ """
90
+ This resource provides the Software Source Generate Metadata Management resource in Oracle Cloud Infrastructure Os Management Hub service.
91
+
92
+ Regenerates metadata for the specified custom software source.
93
+
94
+ ## Example Usage
95
+
96
+ ```python
97
+ import pulumi
98
+ import pulumi_oci as oci
99
+
100
+ test_software_source_generate_metadata_management = oci.os_management_hub.SoftwareSourceGenerateMetadataManagement("test_software_source_generate_metadata_management", software_source_id=test_software_source["id"])
101
+ ```
102
+
103
+ ## Import
104
+
105
+ SoftwareSourceGenerateMetadataManagement can be imported using the `id`, e.g.
106
+
107
+ ```sh
108
+ $ pulumi import oci:OsManagementHub/softwareSourceGenerateMetadataManagement:SoftwareSourceGenerateMetadataManagement test_software_source_generate_metadata_management "id"
109
+ ```
110
+
111
+ :param str resource_name: The name of the resource.
112
+ :param pulumi.ResourceOptions opts: Options for the resource.
113
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
114
+
115
+
116
+ ** IMPORTANT **
117
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
118
+ """
119
+ ...
120
+ @overload
121
+ def __init__(__self__,
122
+ resource_name: str,
123
+ args: SoftwareSourceGenerateMetadataManagementArgs,
124
+ opts: Optional[pulumi.ResourceOptions] = None):
125
+ """
126
+ This resource provides the Software Source Generate Metadata Management resource in Oracle Cloud Infrastructure Os Management Hub service.
127
+
128
+ Regenerates metadata for the specified custom software source.
129
+
130
+ ## Example Usage
131
+
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_software_source_generate_metadata_management = oci.os_management_hub.SoftwareSourceGenerateMetadataManagement("test_software_source_generate_metadata_management", software_source_id=test_software_source["id"])
137
+ ```
138
+
139
+ ## Import
140
+
141
+ SoftwareSourceGenerateMetadataManagement can be imported using the `id`, e.g.
142
+
143
+ ```sh
144
+ $ pulumi import oci:OsManagementHub/softwareSourceGenerateMetadataManagement:SoftwareSourceGenerateMetadataManagement test_software_source_generate_metadata_management "id"
145
+ ```
146
+
147
+ :param str resource_name: The name of the resource.
148
+ :param SoftwareSourceGenerateMetadataManagementArgs args: The arguments to use to populate this resource's properties.
149
+ :param pulumi.ResourceOptions opts: Options for the resource.
150
+ """
151
+ ...
152
+ def __init__(__self__, resource_name: str, *args, **kwargs):
153
+ resource_args, opts = _utilities.get_resource_args_opts(SoftwareSourceGenerateMetadataManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
154
+ if resource_args is not None:
155
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
156
+ else:
157
+ __self__._internal_init(resource_name, *args, **kwargs)
158
+
159
+ def _internal_init(__self__,
160
+ resource_name: str,
161
+ opts: Optional[pulumi.ResourceOptions] = None,
162
+ software_source_id: Optional[pulumi.Input[str]] = None,
163
+ __props__=None):
164
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
165
+ if not isinstance(opts, pulumi.ResourceOptions):
166
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
167
+ if opts.id is None:
168
+ if __props__ is not None:
169
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
170
+ __props__ = SoftwareSourceGenerateMetadataManagementArgs.__new__(SoftwareSourceGenerateMetadataManagementArgs)
171
+
172
+ if software_source_id is None and not opts.urn:
173
+ raise TypeError("Missing required property 'software_source_id'")
174
+ __props__.__dict__["software_source_id"] = software_source_id
175
+ super(SoftwareSourceGenerateMetadataManagement, __self__).__init__(
176
+ 'oci:OsManagementHub/softwareSourceGenerateMetadataManagement:SoftwareSourceGenerateMetadataManagement',
177
+ resource_name,
178
+ __props__,
179
+ opts)
180
+
181
+ @staticmethod
182
+ def get(resource_name: str,
183
+ id: pulumi.Input[str],
184
+ opts: Optional[pulumi.ResourceOptions] = None,
185
+ software_source_id: Optional[pulumi.Input[str]] = None) -> 'SoftwareSourceGenerateMetadataManagement':
186
+ """
187
+ Get an existing SoftwareSourceGenerateMetadataManagement resource's state with the given name, id, and optional extra
188
+ properties used to qualify the lookup.
189
+
190
+ :param str resource_name: The unique name of the resulting resource.
191
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
192
+ :param pulumi.ResourceOptions opts: Options for the resource.
193
+ :param pulumi.Input[str] software_source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
194
+
195
+
196
+ ** IMPORTANT **
197
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
198
+ """
199
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
200
+
201
+ __props__ = _SoftwareSourceGenerateMetadataManagementState.__new__(_SoftwareSourceGenerateMetadataManagementState)
202
+
203
+ __props__.__dict__["software_source_id"] = software_source_id
204
+ return SoftwareSourceGenerateMetadataManagement(resource_name, opts=opts, __props__=__props__)
205
+
206
+ @property
207
+ @pulumi.getter(name="softwareSourceId")
208
+ def software_source_id(self) -> pulumi.Output[str]:
209
+ """
210
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the software source.
211
+
212
+
213
+ ** IMPORTANT **
214
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
215
+ """
216
+ return pulumi.get(self, "software_source_id")
217
+