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.
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.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/METADATA +2 -2
  82. {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/RECORD +84 -57
  83. {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/WHEEL +1 -1
  84. {pulumi_oci-2.27.0a1742000109.dist-info → pulumi_oci-2.27.0a1742444119.dist-info}/top_level.txt +0 -0
@@ -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__ = ['SoftwareSourceReplacePackagesManagementArgs', 'SoftwareSourceReplacePackagesManagement']
18
+
19
+ @pulumi.input_type
20
+ class SoftwareSourceReplacePackagesManagementArgs:
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 SoftwareSourceReplacePackagesManagement 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 _SoftwareSourceReplacePackagesManagementState:
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 SoftwareSourceReplacePackagesManagement 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 SoftwareSourceReplacePackagesManagement(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 Replace Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
123
+
124
+ Replaces packages in a software source with the provided list of packages. 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). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
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_replace_packages_management = oci.os_management_hub.SoftwareSourceReplacePackagesManagement("test_software_source_replace_packages_management",
137
+ packages=software_source_replace_packages_management_packages,
138
+ software_source_id=test_software_source["id"])
139
+ ```
140
+
141
+ ## Import
142
+
143
+ SoftwareSourceReplacePackagesManagement can be imported using the `id`, e.g.
144
+
145
+ ```sh
146
+ $ pulumi import oci:OsManagementHub/softwareSourceReplacePackagesManagement:SoftwareSourceReplacePackagesManagement test_software_source_replace_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: SoftwareSourceReplacePackagesManagementArgs,
163
+ opts: Optional[pulumi.ResourceOptions] = None):
164
+ """
165
+ This resource provides the Software Source Replace Packages Management resource in Oracle Cloud Infrastructure Os Management Hub service.
166
+
167
+ Replaces packages in a software source with the provided list of packages. 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). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
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_replace_packages_management = oci.os_management_hub.SoftwareSourceReplacePackagesManagement("test_software_source_replace_packages_management",
180
+ packages=software_source_replace_packages_management_packages,
181
+ software_source_id=test_software_source["id"])
182
+ ```
183
+
184
+ ## Import
185
+
186
+ SoftwareSourceReplacePackagesManagement can be imported using the `id`, e.g.
187
+
188
+ ```sh
189
+ $ pulumi import oci:OsManagementHub/softwareSourceReplacePackagesManagement:SoftwareSourceReplacePackagesManagement test_software_source_replace_packages_management "id"
190
+ ```
191
+
192
+ :param str resource_name: The name of the resource.
193
+ :param SoftwareSourceReplacePackagesManagementArgs 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(SoftwareSourceReplacePackagesManagementArgs, 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__ = SoftwareSourceReplacePackagesManagementArgs.__new__(SoftwareSourceReplacePackagesManagementArgs)
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(SoftwareSourceReplacePackagesManagement, __self__).__init__(
225
+ 'oci:OsManagementHub/softwareSourceReplacePackagesManagement:SoftwareSourceReplacePackagesManagement',
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) -> 'SoftwareSourceReplacePackagesManagement':
236
+ """
237
+ Get an existing SoftwareSourceReplacePackagesManagement 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__ = _SoftwareSourceReplacePackagesManagementState.__new__(_SoftwareSourceReplacePackagesManagementState)
253
+
254
+ __props__.__dict__["packages"] = packages
255
+ __props__.__dict__["software_source_id"] = software_source_id
256
+ return SoftwareSourceReplacePackagesManagement(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
+
@@ -0,0 +1,325 @@
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
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['WorkRequestRerunManagementArgs', 'WorkRequestRerunManagement']
20
+
21
+ @pulumi.input_type
22
+ class WorkRequestRerunManagementArgs:
23
+ def __init__(__self__, *,
24
+ work_request_id: pulumi.Input[str],
25
+ managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
+ work_request_details: Optional[pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs']] = None):
27
+ """
28
+ The set of arguments for constructing a WorkRequestRerunManagement resource.
29
+ :param pulumi.Input[str] work_request_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
30
+
31
+
32
+ ** IMPORTANT **
33
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
34
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instances: List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
35
+ :param pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
36
+ """
37
+ pulumi.set(__self__, "work_request_id", work_request_id)
38
+ if managed_instances is not None:
39
+ pulumi.set(__self__, "managed_instances", managed_instances)
40
+ if work_request_details is not None:
41
+ pulumi.set(__self__, "work_request_details", work_request_details)
42
+
43
+ @property
44
+ @pulumi.getter(name="workRequestId")
45
+ def work_request_id(self) -> pulumi.Input[str]:
46
+ """
47
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
48
+
49
+
50
+ ** IMPORTANT **
51
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
52
+ """
53
+ return pulumi.get(self, "work_request_id")
54
+
55
+ @work_request_id.setter
56
+ def work_request_id(self, value: pulumi.Input[str]):
57
+ pulumi.set(self, "work_request_id", value)
58
+
59
+ @property
60
+ @pulumi.getter(name="managedInstances")
61
+ def managed_instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
62
+ """
63
+ List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
64
+ """
65
+ return pulumi.get(self, "managed_instances")
66
+
67
+ @managed_instances.setter
68
+ def managed_instances(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
69
+ pulumi.set(self, "managed_instances", value)
70
+
71
+ @property
72
+ @pulumi.getter(name="workRequestDetails")
73
+ def work_request_details(self) -> Optional[pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs']]:
74
+ """
75
+ Provides the name and description of the job.
76
+ """
77
+ return pulumi.get(self, "work_request_details")
78
+
79
+ @work_request_details.setter
80
+ def work_request_details(self, value: Optional[pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs']]):
81
+ pulumi.set(self, "work_request_details", value)
82
+
83
+
84
+ @pulumi.input_type
85
+ class _WorkRequestRerunManagementState:
86
+ def __init__(__self__, *,
87
+ managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
88
+ work_request_details: Optional[pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs']] = None,
89
+ work_request_id: Optional[pulumi.Input[str]] = None):
90
+ """
91
+ Input properties used for looking up and filtering WorkRequestRerunManagement resources.
92
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instances: List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
93
+ :param pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
94
+ :param pulumi.Input[str] work_request_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
95
+
96
+
97
+ ** IMPORTANT **
98
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
99
+ """
100
+ if managed_instances is not None:
101
+ pulumi.set(__self__, "managed_instances", managed_instances)
102
+ if work_request_details is not None:
103
+ pulumi.set(__self__, "work_request_details", work_request_details)
104
+ if work_request_id is not None:
105
+ pulumi.set(__self__, "work_request_id", work_request_id)
106
+
107
+ @property
108
+ @pulumi.getter(name="managedInstances")
109
+ def managed_instances(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
110
+ """
111
+ List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
112
+ """
113
+ return pulumi.get(self, "managed_instances")
114
+
115
+ @managed_instances.setter
116
+ def managed_instances(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
117
+ pulumi.set(self, "managed_instances", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="workRequestDetails")
121
+ def work_request_details(self) -> Optional[pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs']]:
122
+ """
123
+ Provides the name and description of the job.
124
+ """
125
+ return pulumi.get(self, "work_request_details")
126
+
127
+ @work_request_details.setter
128
+ def work_request_details(self, value: Optional[pulumi.Input['WorkRequestRerunManagementWorkRequestDetailsArgs']]):
129
+ pulumi.set(self, "work_request_details", value)
130
+
131
+ @property
132
+ @pulumi.getter(name="workRequestId")
133
+ def work_request_id(self) -> Optional[pulumi.Input[str]]:
134
+ """
135
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
136
+
137
+
138
+ ** IMPORTANT **
139
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
140
+ """
141
+ return pulumi.get(self, "work_request_id")
142
+
143
+ @work_request_id.setter
144
+ def work_request_id(self, value: Optional[pulumi.Input[str]]):
145
+ pulumi.set(self, "work_request_id", value)
146
+
147
+
148
+ class WorkRequestRerunManagement(pulumi.CustomResource):
149
+ @overload
150
+ def __init__(__self__,
151
+ resource_name: str,
152
+ opts: Optional[pulumi.ResourceOptions] = None,
153
+ managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
154
+ work_request_details: Optional[pulumi.Input[Union['WorkRequestRerunManagementWorkRequestDetailsArgs', 'WorkRequestRerunManagementWorkRequestDetailsArgsDict']]] = None,
155
+ work_request_id: Optional[pulumi.Input[str]] = None,
156
+ __props__=None):
157
+ """
158
+ This resource provides the Work Request Rerun Management resource in Oracle Cloud Infrastructure Os Management Hub service.
159
+
160
+ Reruns a failed work for the specified work request [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Rerunning restarts the work on failed targets.
161
+
162
+ ## Example Usage
163
+
164
+ ```python
165
+ import pulumi
166
+ import pulumi_oci as oci
167
+
168
+ test_work_request_rerun_management = oci.os_management_hub.WorkRequestRerunManagement("test_work_request_rerun_management",
169
+ work_request_id=test_work_request["id"],
170
+ managed_instances=work_request_rerun_management_managed_instances,
171
+ work_request_details={
172
+ "description": work_request_rerun_management_work_request_details_description,
173
+ "display_name": work_request_rerun_management_work_request_details_display_name,
174
+ })
175
+ ```
176
+
177
+ ## Import
178
+
179
+ WorkRequestRerunManagement can be imported using the `id`, e.g.
180
+
181
+ ```sh
182
+ $ pulumi import oci:OsManagementHub/workRequestRerunManagement:WorkRequestRerunManagement test_work_request_rerun_management "id"
183
+ ```
184
+
185
+ :param str resource_name: The name of the resource.
186
+ :param pulumi.ResourceOptions opts: Options for the resource.
187
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instances: List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
188
+ :param pulumi.Input[Union['WorkRequestRerunManagementWorkRequestDetailsArgs', 'WorkRequestRerunManagementWorkRequestDetailsArgsDict']] work_request_details: Provides the name and description of the job.
189
+ :param pulumi.Input[str] work_request_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
190
+
191
+
192
+ ** IMPORTANT **
193
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
194
+ """
195
+ ...
196
+ @overload
197
+ def __init__(__self__,
198
+ resource_name: str,
199
+ args: WorkRequestRerunManagementArgs,
200
+ opts: Optional[pulumi.ResourceOptions] = None):
201
+ """
202
+ This resource provides the Work Request Rerun Management resource in Oracle Cloud Infrastructure Os Management Hub service.
203
+
204
+ Reruns a failed work for the specified work request [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Rerunning restarts the work on failed targets.
205
+
206
+ ## Example Usage
207
+
208
+ ```python
209
+ import pulumi
210
+ import pulumi_oci as oci
211
+
212
+ test_work_request_rerun_management = oci.os_management_hub.WorkRequestRerunManagement("test_work_request_rerun_management",
213
+ work_request_id=test_work_request["id"],
214
+ managed_instances=work_request_rerun_management_managed_instances,
215
+ work_request_details={
216
+ "description": work_request_rerun_management_work_request_details_description,
217
+ "display_name": work_request_rerun_management_work_request_details_display_name,
218
+ })
219
+ ```
220
+
221
+ ## Import
222
+
223
+ WorkRequestRerunManagement can be imported using the `id`, e.g.
224
+
225
+ ```sh
226
+ $ pulumi import oci:OsManagementHub/workRequestRerunManagement:WorkRequestRerunManagement test_work_request_rerun_management "id"
227
+ ```
228
+
229
+ :param str resource_name: The name of the resource.
230
+ :param WorkRequestRerunManagementArgs args: The arguments to use to populate this resource's properties.
231
+ :param pulumi.ResourceOptions opts: Options for the resource.
232
+ """
233
+ ...
234
+ def __init__(__self__, resource_name: str, *args, **kwargs):
235
+ resource_args, opts = _utilities.get_resource_args_opts(WorkRequestRerunManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
236
+ if resource_args is not None:
237
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
238
+ else:
239
+ __self__._internal_init(resource_name, *args, **kwargs)
240
+
241
+ def _internal_init(__self__,
242
+ resource_name: str,
243
+ opts: Optional[pulumi.ResourceOptions] = None,
244
+ managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
245
+ work_request_details: Optional[pulumi.Input[Union['WorkRequestRerunManagementWorkRequestDetailsArgs', 'WorkRequestRerunManagementWorkRequestDetailsArgsDict']]] = None,
246
+ work_request_id: Optional[pulumi.Input[str]] = None,
247
+ __props__=None):
248
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
249
+ if not isinstance(opts, pulumi.ResourceOptions):
250
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
251
+ if opts.id is None:
252
+ if __props__ is not None:
253
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
254
+ __props__ = WorkRequestRerunManagementArgs.__new__(WorkRequestRerunManagementArgs)
255
+
256
+ __props__.__dict__["managed_instances"] = managed_instances
257
+ __props__.__dict__["work_request_details"] = work_request_details
258
+ if work_request_id is None and not opts.urn:
259
+ raise TypeError("Missing required property 'work_request_id'")
260
+ __props__.__dict__["work_request_id"] = work_request_id
261
+ super(WorkRequestRerunManagement, __self__).__init__(
262
+ 'oci:OsManagementHub/workRequestRerunManagement:WorkRequestRerunManagement',
263
+ resource_name,
264
+ __props__,
265
+ opts)
266
+
267
+ @staticmethod
268
+ def get(resource_name: str,
269
+ id: pulumi.Input[str],
270
+ opts: Optional[pulumi.ResourceOptions] = None,
271
+ managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
272
+ work_request_details: Optional[pulumi.Input[Union['WorkRequestRerunManagementWorkRequestDetailsArgs', 'WorkRequestRerunManagementWorkRequestDetailsArgsDict']]] = None,
273
+ work_request_id: Optional[pulumi.Input[str]] = None) -> 'WorkRequestRerunManagement':
274
+ """
275
+ Get an existing WorkRequestRerunManagement resource's state with the given name, id, and optional extra
276
+ properties used to qualify the lookup.
277
+
278
+ :param str resource_name: The unique name of the resulting resource.
279
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
280
+ :param pulumi.ResourceOptions opts: Options for the resource.
281
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] managed_instances: List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
282
+ :param pulumi.Input[Union['WorkRequestRerunManagementWorkRequestDetailsArgs', 'WorkRequestRerunManagementWorkRequestDetailsArgsDict']] work_request_details: Provides the name and description of the job.
283
+ :param pulumi.Input[str] work_request_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
284
+
285
+
286
+ ** IMPORTANT **
287
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
288
+ """
289
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
290
+
291
+ __props__ = _WorkRequestRerunManagementState.__new__(_WorkRequestRerunManagementState)
292
+
293
+ __props__.__dict__["managed_instances"] = managed_instances
294
+ __props__.__dict__["work_request_details"] = work_request_details
295
+ __props__.__dict__["work_request_id"] = work_request_id
296
+ return WorkRequestRerunManagement(resource_name, opts=opts, __props__=__props__)
297
+
298
+ @property
299
+ @pulumi.getter(name="managedInstances")
300
+ def managed_instances(self) -> pulumi.Output[Sequence[str]]:
301
+ """
302
+ List of managed instance [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) to affected by the rerun of the work request.
303
+ """
304
+ return pulumi.get(self, "managed_instances")
305
+
306
+ @property
307
+ @pulumi.getter(name="workRequestDetails")
308
+ def work_request_details(self) -> pulumi.Output['outputs.WorkRequestRerunManagementWorkRequestDetails']:
309
+ """
310
+ Provides the name and description of the job.
311
+ """
312
+ return pulumi.get(self, "work_request_details")
313
+
314
+ @property
315
+ @pulumi.getter(name="workRequestId")
316
+ def work_request_id(self) -> pulumi.Output[str]:
317
+ """
318
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
319
+
320
+
321
+ ** IMPORTANT **
322
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
323
+ """
324
+ return pulumi.get(self, "work_request_id")
325
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "oci",
4
- "version": "2.27.0-alpha.1742000109"
4
+ "version": "2.27.0-alpha.1742444119"
5
5
  }
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pulumi_oci
3
- Version: 2.27.0a1742000109
3
+ Version: 2.27.0a1742444119
4
4
  Summary: A Pulumi package for creating and managing Oracle Cloud Infrastructure resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://www.pulumi.com