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
@@ -22,15 +22,14 @@ __all__ = ['LifecycleStageDetachManagedInstancesManagementArgs', 'LifecycleStage
22
22
  class LifecycleStageDetachManagedInstancesManagementArgs:
23
23
  def __init__(__self__, *,
24
24
  lifecycle_stage_id: pulumi.Input[str],
25
- managed_instance_details: Optional[pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs']] = None):
25
+ managed_instance_details: pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs']):
26
26
  """
27
27
  The set of arguments for constructing a LifecycleStageDetachManagedInstancesManagement resource.
28
28
  :param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
29
29
  :param pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs'] managed_instance_details: The details about the managed instances.
30
30
  """
31
31
  pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
32
- if managed_instance_details is not None:
33
- pulumi.set(__self__, "managed_instance_details", managed_instance_details)
32
+ pulumi.set(__self__, "managed_instance_details", managed_instance_details)
34
33
 
35
34
  @property
36
35
  @pulumi.getter(name="lifecycleStageId")
@@ -46,14 +45,14 @@ class LifecycleStageDetachManagedInstancesManagementArgs:
46
45
 
47
46
  @property
48
47
  @pulumi.getter(name="managedInstanceDetails")
49
- def managed_instance_details(self) -> Optional[pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs']]:
48
+ def managed_instance_details(self) -> pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs']:
50
49
  """
51
50
  The details about the managed instances.
52
51
  """
53
52
  return pulumi.get(self, "managed_instance_details")
54
53
 
55
54
  @managed_instance_details.setter
56
- def managed_instance_details(self, value: Optional[pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs']]):
55
+ def managed_instance_details(self, value: pulumi.Input['LifecycleStageDetachManagedInstancesManagementManagedInstanceDetailsArgs']):
57
56
  pulumi.set(self, "managed_instance_details", value)
58
57
 
59
58
 
@@ -110,23 +109,6 @@ class LifecycleStageDetachManagedInstancesManagement(pulumi.CustomResource):
110
109
 
111
110
  Detaches (removes) a managed instance from a lifecycle stage.
112
111
 
113
- ## Example Usage
114
-
115
- ```python
116
- import pulumi
117
- import pulumi_oci as oci
118
-
119
- test_lifecycle_stage_detach_managed_instances_management = oci.os_management_hub.LifecycleStageDetachManagedInstancesManagement("test_lifecycle_stage_detach_managed_instances_management",
120
- lifecycle_stage_id=test_lifecycle_stage["id"],
121
- managed_instance_details={
122
- "managed_instances": lifecycle_stage_detach_managed_instances_management_managed_instance_details_managed_instances,
123
- "work_request_details": {
124
- "description": lifecycle_stage_detach_managed_instances_management_managed_instance_details_work_request_details_description,
125
- "display_name": lifecycle_stage_detach_managed_instances_management_managed_instance_details_work_request_details_display_name,
126
- },
127
- })
128
- ```
129
-
130
112
  ## Import
131
113
 
132
114
  LifecycleStageDetachManagedInstancesManagement can be imported using the `id`, e.g.
@@ -151,23 +133,6 @@ class LifecycleStageDetachManagedInstancesManagement(pulumi.CustomResource):
151
133
 
152
134
  Detaches (removes) a managed instance from a lifecycle stage.
153
135
 
154
- ## Example Usage
155
-
156
- ```python
157
- import pulumi
158
- import pulumi_oci as oci
159
-
160
- test_lifecycle_stage_detach_managed_instances_management = oci.os_management_hub.LifecycleStageDetachManagedInstancesManagement("test_lifecycle_stage_detach_managed_instances_management",
161
- lifecycle_stage_id=test_lifecycle_stage["id"],
162
- managed_instance_details={
163
- "managed_instances": lifecycle_stage_detach_managed_instances_management_managed_instance_details_managed_instances,
164
- "work_request_details": {
165
- "description": lifecycle_stage_detach_managed_instances_management_managed_instance_details_work_request_details_description,
166
- "display_name": lifecycle_stage_detach_managed_instances_management_managed_instance_details_work_request_details_display_name,
167
- },
168
- })
169
- ```
170
-
171
136
  ## Import
172
137
 
173
138
  LifecycleStageDetachManagedInstancesManagement can be imported using the `id`, e.g.
@@ -205,6 +170,8 @@ class LifecycleStageDetachManagedInstancesManagement(pulumi.CustomResource):
205
170
  if lifecycle_stage_id is None and not opts.urn:
206
171
  raise TypeError("Missing required property 'lifecycle_stage_id'")
207
172
  __props__.__dict__["lifecycle_stage_id"] = lifecycle_stage_id
173
+ if managed_instance_details is None and not opts.urn:
174
+ raise TypeError("Missing required property 'managed_instance_details'")
208
175
  __props__.__dict__["managed_instance_details"] = managed_instance_details
209
176
  super(LifecycleStageDetachManagedInstancesManagement, __self__).__init__(
210
177
  'oci:OsManagementHub/lifecycleStageDetachManagedInstancesManagement:LifecycleStageDetachManagedInstancesManagement',
@@ -0,0 +1,297 @@
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__ = ['LifecycleStageRebootManagementArgs', 'LifecycleStageRebootManagement']
20
+
21
+ @pulumi.input_type
22
+ class LifecycleStageRebootManagementArgs:
23
+ def __init__(__self__, *,
24
+ lifecycle_stage_id: pulumi.Input[str],
25
+ reboot_timeout_in_mins: Optional[pulumi.Input[int]] = None,
26
+ work_request_details: Optional[pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs']] = None):
27
+ """
28
+ The set of arguments for constructing a LifecycleStageRebootManagement resource.
29
+ :param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
30
+ :param pulumi.Input[int] reboot_timeout_in_mins: The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
31
+ :param pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
32
+ """
33
+ pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
34
+ if reboot_timeout_in_mins is not None:
35
+ pulumi.set(__self__, "reboot_timeout_in_mins", reboot_timeout_in_mins)
36
+ if work_request_details is not None:
37
+ pulumi.set(__self__, "work_request_details", work_request_details)
38
+
39
+ @property
40
+ @pulumi.getter(name="lifecycleStageId")
41
+ def lifecycle_stage_id(self) -> pulumi.Input[str]:
42
+ """
43
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
44
+ """
45
+ return pulumi.get(self, "lifecycle_stage_id")
46
+
47
+ @lifecycle_stage_id.setter
48
+ def lifecycle_stage_id(self, value: pulumi.Input[str]):
49
+ pulumi.set(self, "lifecycle_stage_id", value)
50
+
51
+ @property
52
+ @pulumi.getter(name="rebootTimeoutInMins")
53
+ def reboot_timeout_in_mins(self) -> Optional[pulumi.Input[int]]:
54
+ """
55
+ The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
56
+ """
57
+ return pulumi.get(self, "reboot_timeout_in_mins")
58
+
59
+ @reboot_timeout_in_mins.setter
60
+ def reboot_timeout_in_mins(self, value: Optional[pulumi.Input[int]]):
61
+ pulumi.set(self, "reboot_timeout_in_mins", value)
62
+
63
+ @property
64
+ @pulumi.getter(name="workRequestDetails")
65
+ def work_request_details(self) -> Optional[pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs']]:
66
+ """
67
+ Provides the name and description of the job.
68
+ """
69
+ return pulumi.get(self, "work_request_details")
70
+
71
+ @work_request_details.setter
72
+ def work_request_details(self, value: Optional[pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs']]):
73
+ pulumi.set(self, "work_request_details", value)
74
+
75
+
76
+ @pulumi.input_type
77
+ class _LifecycleStageRebootManagementState:
78
+ def __init__(__self__, *,
79
+ lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
80
+ reboot_timeout_in_mins: Optional[pulumi.Input[int]] = None,
81
+ work_request_details: Optional[pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs']] = None):
82
+ """
83
+ Input properties used for looking up and filtering LifecycleStageRebootManagement resources.
84
+ :param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
85
+ :param pulumi.Input[int] reboot_timeout_in_mins: The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
86
+ :param pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs'] work_request_details: Provides the name and description of the job.
87
+ """
88
+ if lifecycle_stage_id is not None:
89
+ pulumi.set(__self__, "lifecycle_stage_id", lifecycle_stage_id)
90
+ if reboot_timeout_in_mins is not None:
91
+ pulumi.set(__self__, "reboot_timeout_in_mins", reboot_timeout_in_mins)
92
+ if work_request_details is not None:
93
+ pulumi.set(__self__, "work_request_details", work_request_details)
94
+
95
+ @property
96
+ @pulumi.getter(name="lifecycleStageId")
97
+ def lifecycle_stage_id(self) -> Optional[pulumi.Input[str]]:
98
+ """
99
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
100
+ """
101
+ return pulumi.get(self, "lifecycle_stage_id")
102
+
103
+ @lifecycle_stage_id.setter
104
+ def lifecycle_stage_id(self, value: Optional[pulumi.Input[str]]):
105
+ pulumi.set(self, "lifecycle_stage_id", value)
106
+
107
+ @property
108
+ @pulumi.getter(name="rebootTimeoutInMins")
109
+ def reboot_timeout_in_mins(self) -> Optional[pulumi.Input[int]]:
110
+ """
111
+ The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
112
+ """
113
+ return pulumi.get(self, "reboot_timeout_in_mins")
114
+
115
+ @reboot_timeout_in_mins.setter
116
+ def reboot_timeout_in_mins(self, value: Optional[pulumi.Input[int]]):
117
+ pulumi.set(self, "reboot_timeout_in_mins", value)
118
+
119
+ @property
120
+ @pulumi.getter(name="workRequestDetails")
121
+ def work_request_details(self) -> Optional[pulumi.Input['LifecycleStageRebootManagementWorkRequestDetailsArgs']]:
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['LifecycleStageRebootManagementWorkRequestDetailsArgs']]):
129
+ pulumi.set(self, "work_request_details", value)
130
+
131
+
132
+ class LifecycleStageRebootManagement(pulumi.CustomResource):
133
+ @overload
134
+ def __init__(__self__,
135
+ resource_name: str,
136
+ opts: Optional[pulumi.ResourceOptions] = None,
137
+ lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
138
+ reboot_timeout_in_mins: Optional[pulumi.Input[int]] = None,
139
+ work_request_details: Optional[pulumi.Input[Union['LifecycleStageRebootManagementWorkRequestDetailsArgs', 'LifecycleStageRebootManagementWorkRequestDetailsArgsDict']]] = None,
140
+ __props__=None):
141
+ """
142
+ This resource provides the Lifecycle Stage Reboot Management resource in Oracle Cloud Infrastructure Os Management Hub service.
143
+
144
+ Reboots all managed instances in the specified lifecycle stage.
145
+
146
+ ## Example Usage
147
+
148
+ ```python
149
+ import pulumi
150
+ import pulumi_oci as oci
151
+
152
+ test_lifecycle_stage_reboot_management = oci.os_management_hub.LifecycleStageRebootManagement("test_lifecycle_stage_reboot_management",
153
+ lifecycle_stage_id=test_lifecycle_stage["id"],
154
+ reboot_timeout_in_mins=lifecycle_stage_reboot_management_reboot_timeout_in_mins,
155
+ work_request_details={
156
+ "description": lifecycle_stage_reboot_management_work_request_details_description,
157
+ "display_name": lifecycle_stage_reboot_management_work_request_details_display_name,
158
+ })
159
+ ```
160
+
161
+ ## Import
162
+
163
+ LifecycleStageRebootManagement can be imported using the `id`, e.g.
164
+
165
+ ```sh
166
+ $ pulumi import oci:OsManagementHub/lifecycleStageRebootManagement:LifecycleStageRebootManagement test_lifecycle_stage_reboot_management "id"
167
+ ```
168
+
169
+ :param str resource_name: The name of the resource.
170
+ :param pulumi.ResourceOptions opts: Options for the resource.
171
+ :param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
172
+ :param pulumi.Input[int] reboot_timeout_in_mins: The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
173
+ :param pulumi.Input[Union['LifecycleStageRebootManagementWorkRequestDetailsArgs', 'LifecycleStageRebootManagementWorkRequestDetailsArgsDict']] work_request_details: Provides the name and description of the job.
174
+ """
175
+ ...
176
+ @overload
177
+ def __init__(__self__,
178
+ resource_name: str,
179
+ args: LifecycleStageRebootManagementArgs,
180
+ opts: Optional[pulumi.ResourceOptions] = None):
181
+ """
182
+ This resource provides the Lifecycle Stage Reboot Management resource in Oracle Cloud Infrastructure Os Management Hub service.
183
+
184
+ Reboots all managed instances in the specified lifecycle stage.
185
+
186
+ ## Example Usage
187
+
188
+ ```python
189
+ import pulumi
190
+ import pulumi_oci as oci
191
+
192
+ test_lifecycle_stage_reboot_management = oci.os_management_hub.LifecycleStageRebootManagement("test_lifecycle_stage_reboot_management",
193
+ lifecycle_stage_id=test_lifecycle_stage["id"],
194
+ reboot_timeout_in_mins=lifecycle_stage_reboot_management_reboot_timeout_in_mins,
195
+ work_request_details={
196
+ "description": lifecycle_stage_reboot_management_work_request_details_description,
197
+ "display_name": lifecycle_stage_reboot_management_work_request_details_display_name,
198
+ })
199
+ ```
200
+
201
+ ## Import
202
+
203
+ LifecycleStageRebootManagement can be imported using the `id`, e.g.
204
+
205
+ ```sh
206
+ $ pulumi import oci:OsManagementHub/lifecycleStageRebootManagement:LifecycleStageRebootManagement test_lifecycle_stage_reboot_management "id"
207
+ ```
208
+
209
+ :param str resource_name: The name of the resource.
210
+ :param LifecycleStageRebootManagementArgs args: The arguments to use to populate this resource's properties.
211
+ :param pulumi.ResourceOptions opts: Options for the resource.
212
+ """
213
+ ...
214
+ def __init__(__self__, resource_name: str, *args, **kwargs):
215
+ resource_args, opts = _utilities.get_resource_args_opts(LifecycleStageRebootManagementArgs, pulumi.ResourceOptions, *args, **kwargs)
216
+ if resource_args is not None:
217
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
218
+ else:
219
+ __self__._internal_init(resource_name, *args, **kwargs)
220
+
221
+ def _internal_init(__self__,
222
+ resource_name: str,
223
+ opts: Optional[pulumi.ResourceOptions] = None,
224
+ lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
225
+ reboot_timeout_in_mins: Optional[pulumi.Input[int]] = None,
226
+ work_request_details: Optional[pulumi.Input[Union['LifecycleStageRebootManagementWorkRequestDetailsArgs', 'LifecycleStageRebootManagementWorkRequestDetailsArgsDict']]] = None,
227
+ __props__=None):
228
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
229
+ if not isinstance(opts, pulumi.ResourceOptions):
230
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
231
+ if opts.id is None:
232
+ if __props__ is not None:
233
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
234
+ __props__ = LifecycleStageRebootManagementArgs.__new__(LifecycleStageRebootManagementArgs)
235
+
236
+ if lifecycle_stage_id is None and not opts.urn:
237
+ raise TypeError("Missing required property 'lifecycle_stage_id'")
238
+ __props__.__dict__["lifecycle_stage_id"] = lifecycle_stage_id
239
+ __props__.__dict__["reboot_timeout_in_mins"] = reboot_timeout_in_mins
240
+ __props__.__dict__["work_request_details"] = work_request_details
241
+ super(LifecycleStageRebootManagement, __self__).__init__(
242
+ 'oci:OsManagementHub/lifecycleStageRebootManagement:LifecycleStageRebootManagement',
243
+ resource_name,
244
+ __props__,
245
+ opts)
246
+
247
+ @staticmethod
248
+ def get(resource_name: str,
249
+ id: pulumi.Input[str],
250
+ opts: Optional[pulumi.ResourceOptions] = None,
251
+ lifecycle_stage_id: Optional[pulumi.Input[str]] = None,
252
+ reboot_timeout_in_mins: Optional[pulumi.Input[int]] = None,
253
+ work_request_details: Optional[pulumi.Input[Union['LifecycleStageRebootManagementWorkRequestDetailsArgs', 'LifecycleStageRebootManagementWorkRequestDetailsArgsDict']]] = None) -> 'LifecycleStageRebootManagement':
254
+ """
255
+ Get an existing LifecycleStageRebootManagement resource's state with the given name, id, and optional extra
256
+ properties used to qualify the lookup.
257
+
258
+ :param str resource_name: The unique name of the resulting resource.
259
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
260
+ :param pulumi.ResourceOptions opts: Options for the resource.
261
+ :param pulumi.Input[str] lifecycle_stage_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
262
+ :param pulumi.Input[int] reboot_timeout_in_mins: The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
263
+ :param pulumi.Input[Union['LifecycleStageRebootManagementWorkRequestDetailsArgs', 'LifecycleStageRebootManagementWorkRequestDetailsArgsDict']] work_request_details: Provides the name and description of the job.
264
+ """
265
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
266
+
267
+ __props__ = _LifecycleStageRebootManagementState.__new__(_LifecycleStageRebootManagementState)
268
+
269
+ __props__.__dict__["lifecycle_stage_id"] = lifecycle_stage_id
270
+ __props__.__dict__["reboot_timeout_in_mins"] = reboot_timeout_in_mins
271
+ __props__.__dict__["work_request_details"] = work_request_details
272
+ return LifecycleStageRebootManagement(resource_name, opts=opts, __props__=__props__)
273
+
274
+ @property
275
+ @pulumi.getter(name="lifecycleStageId")
276
+ def lifecycle_stage_id(self) -> pulumi.Output[str]:
277
+ """
278
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the lifecycle stage.
279
+ """
280
+ return pulumi.get(self, "lifecycle_stage_id")
281
+
282
+ @property
283
+ @pulumi.getter(name="rebootTimeoutInMins")
284
+ def reboot_timeout_in_mins(self) -> pulumi.Output[int]:
285
+ """
286
+ The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot within this time, the reboot job status is set to failed.
287
+ """
288
+ return pulumi.get(self, "reboot_timeout_in_mins")
289
+
290
+ @property
291
+ @pulumi.getter(name="workRequestDetails")
292
+ def work_request_details(self) -> pulumi.Output['outputs.LifecycleStageRebootManagementWorkRequestDetails']:
293
+ """
294
+ Provides the name and description of the job.
295
+ """
296
+ return pulumi.get(self, "work_request_details")
297
+
@@ -132,6 +132,7 @@ class ManagedInstanceArgs:
132
132
  @pulumi.input_type
133
133
  class _ManagedInstanceState:
134
134
  def __init__(__self__, *,
135
+ agent_version: Optional[pulumi.Input[str]] = None,
135
136
  architecture: Optional[pulumi.Input[str]] = None,
136
137
  autonomous_settings: Optional[pulumi.Input['ManagedInstanceAutonomousSettingsArgs']] = None,
137
138
  bug_updates_available: Optional[pulumi.Input[int]] = None,
@@ -158,6 +159,7 @@ class _ManagedInstanceState:
158
159
  other_updates_available: Optional[pulumi.Input[int]] = None,
159
160
  primary_management_station_id: Optional[pulumi.Input[str]] = None,
160
161
  profile: Optional[pulumi.Input[str]] = None,
162
+ profile_version: Optional[pulumi.Input[str]] = None,
161
163
  scheduled_job_count: Optional[pulumi.Input[int]] = None,
162
164
  secondary_management_station_id: Optional[pulumi.Input[str]] = None,
163
165
  security_updates_available: Optional[pulumi.Input[int]] = None,
@@ -172,6 +174,7 @@ class _ManagedInstanceState:
172
174
  work_request_count: Optional[pulumi.Input[int]] = None):
173
175
  """
174
176
  Input properties used for looking up and filtering ManagedInstance resources.
177
+ :param pulumi.Input[str] agent_version: The version of osmh-agent running on the managed instance
175
178
  :param pulumi.Input[str] architecture: The CPU architecture type of the managed instance.
176
179
  :param pulumi.Input['ManagedInstanceAutonomousSettingsArgs'] autonomous_settings: (Updatable) Updatable settings for the Autonomous Linux service.
177
180
  :param pulumi.Input[int] bug_updates_available: Number of bug fix type updates available for installation.
@@ -198,6 +201,7 @@ class _ManagedInstanceState:
198
201
  :param pulumi.Input[int] other_updates_available: Number of non-classified (other) updates available for installation.
199
202
  :param pulumi.Input[str] primary_management_station_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as primary management station.
200
203
  :param pulumi.Input[str] profile: The profile that was used to register this instance with the service.
204
+ :param pulumi.Input[str] profile_version: The version of the profile that was used to register this instance with the service.
201
205
  :param pulumi.Input[int] scheduled_job_count: Number of scheduled jobs associated with this instance.
202
206
  :param pulumi.Input[str] secondary_management_station_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as secondary management station.
203
207
 
@@ -215,6 +219,8 @@ class _ManagedInstanceState:
215
219
  :param pulumi.Input[int] updates_available: Number of updates available for installation.
216
220
  :param pulumi.Input[int] work_request_count: Number of work requests associated with this instance.
217
221
  """
222
+ if agent_version is not None:
223
+ pulumi.set(__self__, "agent_version", agent_version)
218
224
  if architecture is not None:
219
225
  pulumi.set(__self__, "architecture", architecture)
220
226
  if autonomous_settings is not None:
@@ -267,6 +273,8 @@ class _ManagedInstanceState:
267
273
  pulumi.set(__self__, "primary_management_station_id", primary_management_station_id)
268
274
  if profile is not None:
269
275
  pulumi.set(__self__, "profile", profile)
276
+ if profile_version is not None:
277
+ pulumi.set(__self__, "profile_version", profile_version)
270
278
  if scheduled_job_count is not None:
271
279
  pulumi.set(__self__, "scheduled_job_count", scheduled_job_count)
272
280
  if secondary_management_station_id is not None:
@@ -292,6 +300,18 @@ class _ManagedInstanceState:
292
300
  if work_request_count is not None:
293
301
  pulumi.set(__self__, "work_request_count", work_request_count)
294
302
 
303
+ @property
304
+ @pulumi.getter(name="agentVersion")
305
+ def agent_version(self) -> Optional[pulumi.Input[str]]:
306
+ """
307
+ The version of osmh-agent running on the managed instance
308
+ """
309
+ return pulumi.get(self, "agent_version")
310
+
311
+ @agent_version.setter
312
+ def agent_version(self, value: Optional[pulumi.Input[str]]):
313
+ pulumi.set(self, "agent_version", value)
314
+
295
315
  @property
296
316
  @pulumi.getter
297
317
  def architecture(self) -> Optional[pulumi.Input[str]]:
@@ -604,6 +624,18 @@ class _ManagedInstanceState:
604
624
  def profile(self, value: Optional[pulumi.Input[str]]):
605
625
  pulumi.set(self, "profile", value)
606
626
 
627
+ @property
628
+ @pulumi.getter(name="profileVersion")
629
+ def profile_version(self) -> Optional[pulumi.Input[str]]:
630
+ """
631
+ The version of the profile that was used to register this instance with the service.
632
+ """
633
+ return pulumi.get(self, "profile_version")
634
+
635
+ @profile_version.setter
636
+ def profile_version(self, value: Optional[pulumi.Input[str]]):
637
+ pulumi.set(self, "profile_version", value)
638
+
607
639
  @property
608
640
  @pulumi.getter(name="scheduledJobCount")
609
641
  def scheduled_job_count(self) -> Optional[pulumi.Input[int]]:
@@ -848,6 +880,7 @@ class ManagedInstance(pulumi.CustomResource):
848
880
  __props__.__dict__["notification_topic_id"] = notification_topic_id
849
881
  __props__.__dict__["primary_management_station_id"] = primary_management_station_id
850
882
  __props__.__dict__["secondary_management_station_id"] = secondary_management_station_id
883
+ __props__.__dict__["agent_version"] = None
851
884
  __props__.__dict__["architecture"] = None
852
885
  __props__.__dict__["bug_updates_available"] = None
853
886
  __props__.__dict__["compartment_id"] = None
@@ -869,6 +902,7 @@ class ManagedInstance(pulumi.CustomResource):
869
902
  __props__.__dict__["os_version"] = None
870
903
  __props__.__dict__["other_updates_available"] = None
871
904
  __props__.__dict__["profile"] = None
905
+ __props__.__dict__["profile_version"] = None
872
906
  __props__.__dict__["scheduled_job_count"] = None
873
907
  __props__.__dict__["security_updates_available"] = None
874
908
  __props__.__dict__["software_sources"] = None
@@ -890,6 +924,7 @@ class ManagedInstance(pulumi.CustomResource):
890
924
  def get(resource_name: str,
891
925
  id: pulumi.Input[str],
892
926
  opts: Optional[pulumi.ResourceOptions] = None,
927
+ agent_version: Optional[pulumi.Input[str]] = None,
893
928
  architecture: Optional[pulumi.Input[str]] = None,
894
929
  autonomous_settings: Optional[pulumi.Input[Union['ManagedInstanceAutonomousSettingsArgs', 'ManagedInstanceAutonomousSettingsArgsDict']]] = None,
895
930
  bug_updates_available: Optional[pulumi.Input[int]] = None,
@@ -916,6 +951,7 @@ class ManagedInstance(pulumi.CustomResource):
916
951
  other_updates_available: Optional[pulumi.Input[int]] = None,
917
952
  primary_management_station_id: Optional[pulumi.Input[str]] = None,
918
953
  profile: Optional[pulumi.Input[str]] = None,
954
+ profile_version: Optional[pulumi.Input[str]] = None,
919
955
  scheduled_job_count: Optional[pulumi.Input[int]] = None,
920
956
  secondary_management_station_id: Optional[pulumi.Input[str]] = None,
921
957
  security_updates_available: Optional[pulumi.Input[int]] = None,
@@ -935,6 +971,7 @@ class ManagedInstance(pulumi.CustomResource):
935
971
  :param str resource_name: The unique name of the resulting resource.
936
972
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
937
973
  :param pulumi.ResourceOptions opts: Options for the resource.
974
+ :param pulumi.Input[str] agent_version: The version of osmh-agent running on the managed instance
938
975
  :param pulumi.Input[str] architecture: The CPU architecture type of the managed instance.
939
976
  :param pulumi.Input[Union['ManagedInstanceAutonomousSettingsArgs', 'ManagedInstanceAutonomousSettingsArgsDict']] autonomous_settings: (Updatable) Updatable settings for the Autonomous Linux service.
940
977
  :param pulumi.Input[int] bug_updates_available: Number of bug fix type updates available for installation.
@@ -961,6 +998,7 @@ class ManagedInstance(pulumi.CustomResource):
961
998
  :param pulumi.Input[int] other_updates_available: Number of non-classified (other) updates available for installation.
962
999
  :param pulumi.Input[str] primary_management_station_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as primary management station.
963
1000
  :param pulumi.Input[str] profile: The profile that was used to register this instance with the service.
1001
+ :param pulumi.Input[str] profile_version: The version of the profile that was used to register this instance with the service.
964
1002
  :param pulumi.Input[int] scheduled_job_count: Number of scheduled jobs associated with this instance.
965
1003
  :param pulumi.Input[str] secondary_management_station_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station for the instance to use as secondary management station.
966
1004
 
@@ -982,6 +1020,7 @@ class ManagedInstance(pulumi.CustomResource):
982
1020
 
983
1021
  __props__ = _ManagedInstanceState.__new__(_ManagedInstanceState)
984
1022
 
1023
+ __props__.__dict__["agent_version"] = agent_version
985
1024
  __props__.__dict__["architecture"] = architecture
986
1025
  __props__.__dict__["autonomous_settings"] = autonomous_settings
987
1026
  __props__.__dict__["bug_updates_available"] = bug_updates_available
@@ -1008,6 +1047,7 @@ class ManagedInstance(pulumi.CustomResource):
1008
1047
  __props__.__dict__["other_updates_available"] = other_updates_available
1009
1048
  __props__.__dict__["primary_management_station_id"] = primary_management_station_id
1010
1049
  __props__.__dict__["profile"] = profile
1050
+ __props__.__dict__["profile_version"] = profile_version
1011
1051
  __props__.__dict__["scheduled_job_count"] = scheduled_job_count
1012
1052
  __props__.__dict__["secondary_management_station_id"] = secondary_management_station_id
1013
1053
  __props__.__dict__["security_updates_available"] = security_updates_available
@@ -1022,6 +1062,14 @@ class ManagedInstance(pulumi.CustomResource):
1022
1062
  __props__.__dict__["work_request_count"] = work_request_count
1023
1063
  return ManagedInstance(resource_name, opts=opts, __props__=__props__)
1024
1064
 
1065
+ @property
1066
+ @pulumi.getter(name="agentVersion")
1067
+ def agent_version(self) -> pulumi.Output[str]:
1068
+ """
1069
+ The version of osmh-agent running on the managed instance
1070
+ """
1071
+ return pulumi.get(self, "agent_version")
1072
+
1025
1073
  @property
1026
1074
  @pulumi.getter
1027
1075
  def architecture(self) -> pulumi.Output[str]:
@@ -1230,6 +1278,14 @@ class ManagedInstance(pulumi.CustomResource):
1230
1278
  """
1231
1279
  return pulumi.get(self, "profile")
1232
1280
 
1281
+ @property
1282
+ @pulumi.getter(name="profileVersion")
1283
+ def profile_version(self) -> pulumi.Output[str]:
1284
+ """
1285
+ The version of the profile that was used to register this instance with the service.
1286
+ """
1287
+ return pulumi.get(self, "profile_version")
1288
+
1233
1289
  @property
1234
1290
  @pulumi.getter(name="scheduledJobCount")
1235
1291
  def scheduled_job_count(self) -> pulumi.Output[int]: