pulumi-oci 2.12.0a1728593306__py3-none-any.whl → 2.12.0a1728642710__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 (170) hide show
  1. pulumi_oci/__init__.py +145 -0
  2. pulumi_oci/analytics/analytics_instance.py +54 -5
  3. pulumi_oci/analytics/get_analytics_instance.py +18 -4
  4. pulumi_oci/analytics/outputs.py +12 -1
  5. pulumi_oci/core/_inputs.py +648 -159
  6. pulumi_oci/core/cluster_network.py +7 -7
  7. pulumi_oci/core/get_instance.py +29 -1
  8. pulumi_oci/core/get_vcn.py +15 -1
  9. pulumi_oci/core/get_vnic.py +15 -1
  10. pulumi_oci/core/instance.py +87 -0
  11. pulumi_oci/core/instance_configuration.py +12 -0
  12. pulumi_oci/core/ipsec.py +183 -23
  13. pulumi_oci/core/network_security_group_security_rule.py +2 -2
  14. pulumi_oci/core/outputs.py +709 -107
  15. pulumi_oci/core/service_gateway.py +13 -7
  16. pulumi_oci/core/vcn.py +65 -23
  17. pulumi_oci/core/virtual_network.py +35 -1
  18. pulumi_oci/core/vnic_attachment.py +2 -0
  19. pulumi_oci/database/_inputs.py +905 -27
  20. pulumi_oci/database/autonomous_database.py +48 -28
  21. pulumi_oci/database/autonomous_database_backup.py +12 -12
  22. pulumi_oci/database/autonomous_exadata_infrastructure.py +2 -0
  23. pulumi_oci/database/autonomous_vm_cluster.py +2 -0
  24. pulumi_oci/database/backup.py +12 -12
  25. pulumi_oci/database/cloud_autonomous_vm_cluster.py +2 -0
  26. pulumi_oci/database/cloud_exadata_infrastructure.py +2 -0
  27. pulumi_oci/database/cloud_vm_cluster.py +71 -0
  28. pulumi_oci/database/database.py +15 -15
  29. pulumi_oci/database/database_upgrade.py +12 -12
  30. pulumi_oci/database/db_system.py +9 -9
  31. pulumi_oci/database/exadata_infrastructure.py +2 -0
  32. pulumi_oci/database/get_autonomous_container_database.py +1 -1
  33. pulumi_oci/database/get_autonomous_database.py +18 -4
  34. pulumi_oci/database/get_autonomous_database_backup.py +3 -3
  35. pulumi_oci/database/get_autonomous_databases.py +88 -5
  36. pulumi_oci/database/get_cloud_vm_cluster.py +15 -1
  37. pulumi_oci/database/get_database.py +3 -3
  38. pulumi_oci/database/get_pluggable_database.py +12 -1
  39. pulumi_oci/database/get_vm_cluster.py +15 -1
  40. pulumi_oci/database/outputs.py +1431 -74
  41. pulumi_oci/database/pluggable_database.py +34 -0
  42. pulumi_oci/database/vm_cluster.py +71 -0
  43. pulumi_oci/database/vm_cluster_add_virtual_network.py +28 -0
  44. pulumi_oci/database/vm_cluster_remove_virtual_machine.py +28 -0
  45. pulumi_oci/datasafe/__init__.py +12 -0
  46. pulumi_oci/datasafe/_inputs.py +441 -0
  47. pulumi_oci/datasafe/get_reports.py +23 -1
  48. pulumi_oci/datasafe/get_sql_collection.py +392 -0
  49. pulumi_oci/datasafe/get_sql_collection_analytics.py +309 -0
  50. pulumi_oci/datasafe/get_sql_collection_log_insights.py +207 -0
  51. pulumi_oci/datasafe/get_sql_collections.py +364 -0
  52. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +337 -0
  53. pulumi_oci/datasafe/get_sql_firewall_allowed_sql_analytics.py +250 -0
  54. pulumi_oci/datasafe/get_sql_firewall_allowed_sqls.py +234 -0
  55. pulumi_oci/datasafe/get_sql_firewall_policies.py +386 -0
  56. pulumi_oci/datasafe/get_sql_firewall_policy.py +393 -0
  57. pulumi_oci/datasafe/get_sql_firewall_policy_analytics.py +305 -0
  58. pulumi_oci/datasafe/get_sql_firewall_violation_analytics.py +306 -0
  59. pulumi_oci/datasafe/get_sql_firewall_violations.py +208 -0
  60. pulumi_oci/datasafe/outputs.py +1808 -2
  61. pulumi_oci/desktops/_inputs.py +223 -7
  62. pulumi_oci/desktops/desktop_pool.py +186 -21
  63. pulumi_oci/desktops/get_desktop_pool.py +47 -5
  64. pulumi_oci/desktops/outputs.py +480 -19
  65. pulumi_oci/fleetappsmanagement/__init__.py +43 -0
  66. pulumi_oci/fleetappsmanagement/_inputs.py +2057 -0
  67. pulumi_oci/fleetappsmanagement/fleet.py +955 -0
  68. pulumi_oci/fleetappsmanagement/fleet_credential.py +615 -0
  69. pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
  70. pulumi_oci/fleetappsmanagement/fleet_resource.py +851 -0
  71. pulumi_oci/fleetappsmanagement/get_announcements.py +166 -0
  72. pulumi_oci/fleetappsmanagement/get_fleet.py +394 -0
  73. pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +164 -0
  74. pulumi_oci/fleetappsmanagement/get_fleet_credential.py +273 -0
  75. pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +240 -0
  76. pulumi_oci/fleetappsmanagement/get_fleet_products.py +232 -0
  77. pulumi_oci/fleetappsmanagement/get_fleet_properties.py +218 -0
  78. pulumi_oci/fleetappsmanagement/get_fleet_property.py +286 -0
  79. pulumi_oci/fleetappsmanagement/get_fleet_resource.py +398 -0
  80. pulumi_oci/fleetappsmanagement/get_fleet_resources.py +237 -0
  81. pulumi_oci/fleetappsmanagement/get_fleet_targets.py +232 -0
  82. pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
  83. pulumi_oci/fleetappsmanagement/get_inventory_resources.py +311 -0
  84. pulumi_oci/fleetappsmanagement/get_maintenance_window.py +365 -0
  85. pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +199 -0
  86. pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +123 -0
  87. pulumi_oci/fleetappsmanagement/get_onboardings.py +177 -0
  88. pulumi_oci/fleetappsmanagement/get_properties.py +221 -0
  89. pulumi_oci/fleetappsmanagement/get_property.py +323 -0
  90. pulumi_oci/fleetappsmanagement/get_runbook.py +377 -0
  91. pulumi_oci/fleetappsmanagement/get_runbooks.py +284 -0
  92. pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +436 -0
  93. pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +185 -0
  94. pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +262 -0
  95. pulumi_oci/fleetappsmanagement/get_task_record.py +307 -0
  96. pulumi_oci/fleetappsmanagement/get_task_records.py +240 -0
  97. pulumi_oci/fleetappsmanagement/maintenance_window.py +935 -0
  98. pulumi_oci/fleetappsmanagement/onboarding.py +477 -0
  99. pulumi_oci/fleetappsmanagement/outputs.py +8128 -0
  100. pulumi_oci/fleetappsmanagement/property.py +697 -0
  101. pulumi_oci/fleetappsmanagement/scheduler_definition.py +1035 -0
  102. pulumi_oci/functions/get_fusion_environment_refresh_activity.py +15 -1
  103. pulumi_oci/functions/outputs.py +11 -0
  104. pulumi_oci/fusionapps/_inputs.py +21 -20
  105. pulumi_oci/fusionapps/fusion_environment.py +2 -2
  106. pulumi_oci/fusionapps/fusion_environment_admin_user.py +21 -22
  107. pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +48 -51
  108. pulumi_oci/fusionapps/outputs.py +11 -10
  109. pulumi_oci/integration/__init__.py +1 -0
  110. pulumi_oci/integration/_inputs.py +289 -2
  111. pulumi_oci/integration/get_integration_instance.py +65 -1
  112. pulumi_oci/integration/integration_instance.py +172 -0
  113. pulumi_oci/integration/oracle_managed_custom_endpoint.py +307 -0
  114. pulumi_oci/integration/outputs.py +587 -19
  115. pulumi_oci/loadbalancer/_inputs.py +20 -0
  116. pulumi_oci/loadbalancer/listener.py +4 -2
  117. pulumi_oci/loadbalancer/outputs.py +16 -2
  118. pulumi_oci/monitoring/_inputs.py +137 -16
  119. pulumi_oci/monitoring/alarm_suppression.py +164 -35
  120. pulumi_oci/monitoring/get_alarm_statuses.py +5 -3
  121. pulumi_oci/monitoring/get_alarm_suppression.py +33 -3
  122. pulumi_oci/monitoring/get_alarm_suppressions.py +137 -14
  123. pulumi_oci/monitoring/outputs.py +291 -18
  124. pulumi_oci/mysql/mysql_db_system.py +7 -7
  125. pulumi_oci/objectstorage/__init__.py +3 -0
  126. pulumi_oci/objectstorage/_inputs.py +97 -0
  127. pulumi_oci/objectstorage/get_object_versions.py +6 -6
  128. pulumi_oci/objectstorage/get_objects.py +6 -6
  129. pulumi_oci/objectstorage/get_private_endpoint.py +263 -0
  130. pulumi_oci/objectstorage/get_private_endpoint_summaries.py +128 -0
  131. pulumi_oci/objectstorage/outputs.py +258 -0
  132. pulumi_oci/objectstorage/private_endpoint.py +630 -0
  133. pulumi_oci/objectstorage/storage_object.py +7 -7
  134. pulumi_oci/opsi/_inputs.py +268 -114
  135. pulumi_oci/opsi/database_insight.py +162 -21
  136. pulumi_oci/opsi/exadata_insight.py +44 -0
  137. pulumi_oci/opsi/get_database_insight.py +40 -1
  138. pulumi_oci/opsi/get_host_insights.py +2 -2
  139. pulumi_oci/opsi/host_insight.py +0 -48
  140. pulumi_oci/opsi/outputs.py +405 -109
  141. pulumi_oci/pulumi-plugin.json +1 -1
  142. pulumi_oci/securityattribute/__init__.py +15 -0
  143. pulumi_oci/securityattribute/_inputs.py +209 -0
  144. pulumi_oci/securityattribute/get_security_attribute.py +262 -0
  145. pulumi_oci/securityattribute/get_security_attribute_namespace.py +253 -0
  146. pulumi_oci/securityattribute/get_security_attribute_namespaces.py +210 -0
  147. pulumi_oci/securityattribute/get_security_attributes.py +169 -0
  148. pulumi_oci/securityattribute/outputs.py +466 -0
  149. pulumi_oci/securityattribute/security_attribute.py +588 -0
  150. pulumi_oci/securityattribute/security_attribute_namespace.py +609 -0
  151. pulumi_oci/stackmonitoring/__init__.py +5 -0
  152. pulumi_oci/stackmonitoring/_inputs.py +330 -0
  153. pulumi_oci/stackmonitoring/get_maintenance_window.py +254 -0
  154. pulumi_oci/stackmonitoring/get_maintenance_windows.py +210 -0
  155. pulumi_oci/stackmonitoring/maintenance_window.py +551 -0
  156. pulumi_oci/stackmonitoring/maintenance_windows_retry_failed_operation.py +217 -0
  157. pulumi_oci/stackmonitoring/maintenance_windows_stop.py +217 -0
  158. pulumi_oci/stackmonitoring/outputs.py +603 -0
  159. pulumi_oci/zpr/__init__.py +14 -0
  160. pulumi_oci/zpr/_inputs.py +79 -0
  161. pulumi_oci/zpr/configuration.py +516 -0
  162. pulumi_oci/zpr/get_configuration.py +230 -0
  163. pulumi_oci/zpr/get_zpr_policies.py +191 -0
  164. pulumi_oci/zpr/get_zpr_policy.py +264 -0
  165. pulumi_oci/zpr/outputs.py +203 -0
  166. pulumi_oci/zpr/zpr_policy.py +614 -0
  167. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/METADATA +1 -1
  168. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/RECORD +170 -95
  169. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/WHEEL +0 -0
  170. {pulumi_oci-2.12.0a1728593306.dist-info → pulumi_oci-2.12.0a1728642710.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,551 @@
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__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
20
+
21
+ @pulumi.input_type
22
+ class MaintenanceWindowArgs:
23
+ def __init__(__self__, *,
24
+ compartment_id: pulumi.Input[str],
25
+ resources: pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]],
26
+ schedule: pulumi.Input['MaintenanceWindowScheduleArgs'],
27
+ description: Optional[pulumi.Input[str]] = None,
28
+ name: Optional[pulumi.Input[str]] = None):
29
+ """
30
+ The set of arguments for constructing a MaintenanceWindow resource.
31
+ :param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
32
+ :param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
33
+ :param pulumi.Input['MaintenanceWindowScheduleArgs'] schedule: (Updatable) Schedule information of the Maintenance Window
34
+ :param pulumi.Input[str] description: (Updatable) Maintenance Window description.
35
+ :param pulumi.Input[str] name: Maintenance Window name.
36
+ """
37
+ pulumi.set(__self__, "compartment_id", compartment_id)
38
+ pulumi.set(__self__, "resources", resources)
39
+ pulumi.set(__self__, "schedule", schedule)
40
+ if description is not None:
41
+ pulumi.set(__self__, "description", description)
42
+ if name is not None:
43
+ pulumi.set(__self__, "name", name)
44
+
45
+ @property
46
+ @pulumi.getter(name="compartmentId")
47
+ def compartment_id(self) -> pulumi.Input[str]:
48
+ """
49
+ Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
50
+ """
51
+ return pulumi.get(self, "compartment_id")
52
+
53
+ @compartment_id.setter
54
+ def compartment_id(self, value: pulumi.Input[str]):
55
+ pulumi.set(self, "compartment_id", value)
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def resources(self) -> pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]:
60
+ """
61
+ (Updatable) List of resource Ids which are part of the Maintenance Window
62
+ """
63
+ return pulumi.get(self, "resources")
64
+
65
+ @resources.setter
66
+ def resources(self, value: pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]):
67
+ pulumi.set(self, "resources", value)
68
+
69
+ @property
70
+ @pulumi.getter
71
+ def schedule(self) -> pulumi.Input['MaintenanceWindowScheduleArgs']:
72
+ """
73
+ (Updatable) Schedule information of the Maintenance Window
74
+ """
75
+ return pulumi.get(self, "schedule")
76
+
77
+ @schedule.setter
78
+ def schedule(self, value: pulumi.Input['MaintenanceWindowScheduleArgs']):
79
+ pulumi.set(self, "schedule", value)
80
+
81
+ @property
82
+ @pulumi.getter
83
+ def description(self) -> Optional[pulumi.Input[str]]:
84
+ """
85
+ (Updatable) Maintenance Window description.
86
+ """
87
+ return pulumi.get(self, "description")
88
+
89
+ @description.setter
90
+ def description(self, value: Optional[pulumi.Input[str]]):
91
+ pulumi.set(self, "description", value)
92
+
93
+ @property
94
+ @pulumi.getter
95
+ def name(self) -> Optional[pulumi.Input[str]]:
96
+ """
97
+ Maintenance Window name.
98
+ """
99
+ return pulumi.get(self, "name")
100
+
101
+ @name.setter
102
+ def name(self, value: Optional[pulumi.Input[str]]):
103
+ pulumi.set(self, "name", value)
104
+
105
+
106
+ @pulumi.input_type
107
+ class _MaintenanceWindowState:
108
+ def __init__(__self__, *,
109
+ compartment_id: Optional[pulumi.Input[str]] = None,
110
+ description: Optional[pulumi.Input[str]] = None,
111
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
112
+ name: Optional[pulumi.Input[str]] = None,
113
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]] = None,
114
+ resources_details: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]]] = None,
115
+ schedule: Optional[pulumi.Input['MaintenanceWindowScheduleArgs']] = None,
116
+ state: Optional[pulumi.Input[str]] = None,
117
+ time_created: Optional[pulumi.Input[str]] = None,
118
+ time_updated: Optional[pulumi.Input[str]] = None):
119
+ """
120
+ Input properties used for looking up and filtering MaintenanceWindow resources.
121
+ :param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
122
+ :param pulumi.Input[str] description: (Updatable) Maintenance Window description.
123
+ :param pulumi.Input[str] lifecycle_details: Lifecycle Details of the Maintenance Window.
124
+ :param pulumi.Input[str] name: Maintenance Window name.
125
+ :param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
126
+ :param pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]] resources_details: List of resource details that are part of the Maintenance Window.
127
+ :param pulumi.Input['MaintenanceWindowScheduleArgs'] schedule: (Updatable) Schedule information of the Maintenance Window
128
+ :param pulumi.Input[str] state: Lifecycle state of the monitored resource.
129
+ :param pulumi.Input[str] time_created: The time the the maintenance window was created. An RFC3339 formatted datetime string
130
+ :param pulumi.Input[str] time_updated: The time the the mainteance window was updated. An RFC3339 formatted datetime string
131
+ """
132
+ if compartment_id is not None:
133
+ pulumi.set(__self__, "compartment_id", compartment_id)
134
+ if description is not None:
135
+ pulumi.set(__self__, "description", description)
136
+ if lifecycle_details is not None:
137
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
138
+ if name is not None:
139
+ pulumi.set(__self__, "name", name)
140
+ if resources is not None:
141
+ pulumi.set(__self__, "resources", resources)
142
+ if resources_details is not None:
143
+ pulumi.set(__self__, "resources_details", resources_details)
144
+ if schedule is not None:
145
+ pulumi.set(__self__, "schedule", schedule)
146
+ if state is not None:
147
+ pulumi.set(__self__, "state", state)
148
+ if time_created is not None:
149
+ pulumi.set(__self__, "time_created", time_created)
150
+ if time_updated is not None:
151
+ pulumi.set(__self__, "time_updated", time_updated)
152
+
153
+ @property
154
+ @pulumi.getter(name="compartmentId")
155
+ def compartment_id(self) -> Optional[pulumi.Input[str]]:
156
+ """
157
+ Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
158
+ """
159
+ return pulumi.get(self, "compartment_id")
160
+
161
+ @compartment_id.setter
162
+ def compartment_id(self, value: Optional[pulumi.Input[str]]):
163
+ pulumi.set(self, "compartment_id", value)
164
+
165
+ @property
166
+ @pulumi.getter
167
+ def description(self) -> Optional[pulumi.Input[str]]:
168
+ """
169
+ (Updatable) Maintenance Window description.
170
+ """
171
+ return pulumi.get(self, "description")
172
+
173
+ @description.setter
174
+ def description(self, value: Optional[pulumi.Input[str]]):
175
+ pulumi.set(self, "description", value)
176
+
177
+ @property
178
+ @pulumi.getter(name="lifecycleDetails")
179
+ def lifecycle_details(self) -> Optional[pulumi.Input[str]]:
180
+ """
181
+ Lifecycle Details of the Maintenance Window.
182
+ """
183
+ return pulumi.get(self, "lifecycle_details")
184
+
185
+ @lifecycle_details.setter
186
+ def lifecycle_details(self, value: Optional[pulumi.Input[str]]):
187
+ pulumi.set(self, "lifecycle_details", value)
188
+
189
+ @property
190
+ @pulumi.getter
191
+ def name(self) -> Optional[pulumi.Input[str]]:
192
+ """
193
+ Maintenance Window name.
194
+ """
195
+ return pulumi.get(self, "name")
196
+
197
+ @name.setter
198
+ def name(self, value: Optional[pulumi.Input[str]]):
199
+ pulumi.set(self, "name", value)
200
+
201
+ @property
202
+ @pulumi.getter
203
+ def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]]:
204
+ """
205
+ (Updatable) List of resource Ids which are part of the Maintenance Window
206
+ """
207
+ return pulumi.get(self, "resources")
208
+
209
+ @resources.setter
210
+ def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourceArgs']]]]):
211
+ pulumi.set(self, "resources", value)
212
+
213
+ @property
214
+ @pulumi.getter(name="resourcesDetails")
215
+ def resources_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]]]:
216
+ """
217
+ List of resource details that are part of the Maintenance Window.
218
+ """
219
+ return pulumi.get(self, "resources_details")
220
+
221
+ @resources_details.setter
222
+ def resources_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceWindowResourcesDetailArgs']]]]):
223
+ pulumi.set(self, "resources_details", value)
224
+
225
+ @property
226
+ @pulumi.getter
227
+ def schedule(self) -> Optional[pulumi.Input['MaintenanceWindowScheduleArgs']]:
228
+ """
229
+ (Updatable) Schedule information of the Maintenance Window
230
+ """
231
+ return pulumi.get(self, "schedule")
232
+
233
+ @schedule.setter
234
+ def schedule(self, value: Optional[pulumi.Input['MaintenanceWindowScheduleArgs']]):
235
+ pulumi.set(self, "schedule", value)
236
+
237
+ @property
238
+ @pulumi.getter
239
+ def state(self) -> Optional[pulumi.Input[str]]:
240
+ """
241
+ Lifecycle state of the monitored resource.
242
+ """
243
+ return pulumi.get(self, "state")
244
+
245
+ @state.setter
246
+ def state(self, value: Optional[pulumi.Input[str]]):
247
+ pulumi.set(self, "state", value)
248
+
249
+ @property
250
+ @pulumi.getter(name="timeCreated")
251
+ def time_created(self) -> Optional[pulumi.Input[str]]:
252
+ """
253
+ The time the the maintenance window was created. An RFC3339 formatted datetime string
254
+ """
255
+ return pulumi.get(self, "time_created")
256
+
257
+ @time_created.setter
258
+ def time_created(self, value: Optional[pulumi.Input[str]]):
259
+ pulumi.set(self, "time_created", value)
260
+
261
+ @property
262
+ @pulumi.getter(name="timeUpdated")
263
+ def time_updated(self) -> Optional[pulumi.Input[str]]:
264
+ """
265
+ The time the the mainteance window was updated. An RFC3339 formatted datetime string
266
+ """
267
+ return pulumi.get(self, "time_updated")
268
+
269
+ @time_updated.setter
270
+ def time_updated(self, value: Optional[pulumi.Input[str]]):
271
+ pulumi.set(self, "time_updated", value)
272
+
273
+
274
+ class MaintenanceWindow(pulumi.CustomResource):
275
+ @overload
276
+ def __init__(__self__,
277
+ resource_name: str,
278
+ opts: Optional[pulumi.ResourceOptions] = None,
279
+ compartment_id: Optional[pulumi.Input[str]] = None,
280
+ description: Optional[pulumi.Input[str]] = None,
281
+ name: Optional[pulumi.Input[str]] = None,
282
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]]] = None,
283
+ schedule: Optional[pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']]] = None,
284
+ __props__=None):
285
+ """
286
+ This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Stack Monitoring service.
287
+
288
+ Creates a new Maintenance Window for the given resources. It will create also the
289
+ Alarms Suppression for each alarm that the resource migth trigger.
290
+
291
+ ## Example Usage
292
+
293
+ ```python
294
+ import pulumi
295
+ import pulumi_oci as oci
296
+
297
+ test_maintenance_window = oci.stack_monitoring.MaintenanceWindow("test_maintenance_window",
298
+ compartment_id=compartment_id,
299
+ name=maintenance_window_name,
300
+ resources=[{
301
+ "resource_id": test_resource["id"],
302
+ "are_members_included": maintenance_window_resources_are_members_included,
303
+ }],
304
+ schedule={
305
+ "schedule_type": maintenance_window_schedule_schedule_type,
306
+ "maintenance_window_duration": maintenance_window_schedule_maintenance_window_duration,
307
+ "maintenance_window_recurrences": maintenance_window_schedule_maintenance_window_recurrences,
308
+ "time_maintenance_window_end": maintenance_window_schedule_time_maintenance_window_end,
309
+ "time_maintenance_window_start": maintenance_window_schedule_time_maintenance_window_start,
310
+ },
311
+ description=maintenance_window_description)
312
+ ```
313
+
314
+ ## Import
315
+
316
+ MaintenanceWindows can be imported using the `id`, e.g.
317
+
318
+ ```sh
319
+ $ pulumi import oci:StackMonitoring/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
320
+ ```
321
+
322
+ :param str resource_name: The name of the resource.
323
+ :param pulumi.ResourceOptions opts: Options for the resource.
324
+ :param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
325
+ :param pulumi.Input[str] description: (Updatable) Maintenance Window description.
326
+ :param pulumi.Input[str] name: Maintenance Window name.
327
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
328
+ :param pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']] schedule: (Updatable) Schedule information of the Maintenance Window
329
+ """
330
+ ...
331
+ @overload
332
+ def __init__(__self__,
333
+ resource_name: str,
334
+ args: MaintenanceWindowArgs,
335
+ opts: Optional[pulumi.ResourceOptions] = None):
336
+ """
337
+ This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Stack Monitoring service.
338
+
339
+ Creates a new Maintenance Window for the given resources. It will create also the
340
+ Alarms Suppression for each alarm that the resource migth trigger.
341
+
342
+ ## Example Usage
343
+
344
+ ```python
345
+ import pulumi
346
+ import pulumi_oci as oci
347
+
348
+ test_maintenance_window = oci.stack_monitoring.MaintenanceWindow("test_maintenance_window",
349
+ compartment_id=compartment_id,
350
+ name=maintenance_window_name,
351
+ resources=[{
352
+ "resource_id": test_resource["id"],
353
+ "are_members_included": maintenance_window_resources_are_members_included,
354
+ }],
355
+ schedule={
356
+ "schedule_type": maintenance_window_schedule_schedule_type,
357
+ "maintenance_window_duration": maintenance_window_schedule_maintenance_window_duration,
358
+ "maintenance_window_recurrences": maintenance_window_schedule_maintenance_window_recurrences,
359
+ "time_maintenance_window_end": maintenance_window_schedule_time_maintenance_window_end,
360
+ "time_maintenance_window_start": maintenance_window_schedule_time_maintenance_window_start,
361
+ },
362
+ description=maintenance_window_description)
363
+ ```
364
+
365
+ ## Import
366
+
367
+ MaintenanceWindows can be imported using the `id`, e.g.
368
+
369
+ ```sh
370
+ $ pulumi import oci:StackMonitoring/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
371
+ ```
372
+
373
+ :param str resource_name: The name of the resource.
374
+ :param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
375
+ :param pulumi.ResourceOptions opts: Options for the resource.
376
+ """
377
+ ...
378
+ def __init__(__self__, resource_name: str, *args, **kwargs):
379
+ resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
380
+ if resource_args is not None:
381
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
382
+ else:
383
+ __self__._internal_init(resource_name, *args, **kwargs)
384
+
385
+ def _internal_init(__self__,
386
+ resource_name: str,
387
+ opts: Optional[pulumi.ResourceOptions] = None,
388
+ compartment_id: Optional[pulumi.Input[str]] = None,
389
+ description: Optional[pulumi.Input[str]] = None,
390
+ name: Optional[pulumi.Input[str]] = None,
391
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]]] = None,
392
+ schedule: Optional[pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']]] = None,
393
+ __props__=None):
394
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
395
+ if not isinstance(opts, pulumi.ResourceOptions):
396
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
397
+ if opts.id is None:
398
+ if __props__ is not None:
399
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
400
+ __props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
401
+
402
+ if compartment_id is None and not opts.urn:
403
+ raise TypeError("Missing required property 'compartment_id'")
404
+ __props__.__dict__["compartment_id"] = compartment_id
405
+ __props__.__dict__["description"] = description
406
+ __props__.__dict__["name"] = name
407
+ if resources is None and not opts.urn:
408
+ raise TypeError("Missing required property 'resources'")
409
+ __props__.__dict__["resources"] = resources
410
+ if schedule is None and not opts.urn:
411
+ raise TypeError("Missing required property 'schedule'")
412
+ __props__.__dict__["schedule"] = schedule
413
+ __props__.__dict__["lifecycle_details"] = None
414
+ __props__.__dict__["resources_details"] = None
415
+ __props__.__dict__["state"] = None
416
+ __props__.__dict__["time_created"] = None
417
+ __props__.__dict__["time_updated"] = None
418
+ super(MaintenanceWindow, __self__).__init__(
419
+ 'oci:StackMonitoring/maintenanceWindow:MaintenanceWindow',
420
+ resource_name,
421
+ __props__,
422
+ opts)
423
+
424
+ @staticmethod
425
+ def get(resource_name: str,
426
+ id: pulumi.Input[str],
427
+ opts: Optional[pulumi.ResourceOptions] = None,
428
+ compartment_id: Optional[pulumi.Input[str]] = None,
429
+ description: Optional[pulumi.Input[str]] = None,
430
+ lifecycle_details: Optional[pulumi.Input[str]] = None,
431
+ name: Optional[pulumi.Input[str]] = None,
432
+ resources: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]]] = None,
433
+ resources_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourcesDetailArgs', 'MaintenanceWindowResourcesDetailArgsDict']]]]] = None,
434
+ schedule: Optional[pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']]] = None,
435
+ state: Optional[pulumi.Input[str]] = None,
436
+ time_created: Optional[pulumi.Input[str]] = None,
437
+ time_updated: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindow':
438
+ """
439
+ Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
440
+ properties used to qualify the lookup.
441
+
442
+ :param str resource_name: The unique name of the resulting resource.
443
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
444
+ :param pulumi.ResourceOptions opts: Options for the resource.
445
+ :param pulumi.Input[str] compartment_id: Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
446
+ :param pulumi.Input[str] description: (Updatable) Maintenance Window description.
447
+ :param pulumi.Input[str] lifecycle_details: Lifecycle Details of the Maintenance Window.
448
+ :param pulumi.Input[str] name: Maintenance Window name.
449
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourceArgs', 'MaintenanceWindowResourceArgsDict']]]] resources: (Updatable) List of resource Ids which are part of the Maintenance Window
450
+ :param pulumi.Input[Sequence[pulumi.Input[Union['MaintenanceWindowResourcesDetailArgs', 'MaintenanceWindowResourcesDetailArgsDict']]]] resources_details: List of resource details that are part of the Maintenance Window.
451
+ :param pulumi.Input[Union['MaintenanceWindowScheduleArgs', 'MaintenanceWindowScheduleArgsDict']] schedule: (Updatable) Schedule information of the Maintenance Window
452
+ :param pulumi.Input[str] state: Lifecycle state of the monitored resource.
453
+ :param pulumi.Input[str] time_created: The time the the maintenance window was created. An RFC3339 formatted datetime string
454
+ :param pulumi.Input[str] time_updated: The time the the mainteance window was updated. An RFC3339 formatted datetime string
455
+ """
456
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
457
+
458
+ __props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
459
+
460
+ __props__.__dict__["compartment_id"] = compartment_id
461
+ __props__.__dict__["description"] = description
462
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
463
+ __props__.__dict__["name"] = name
464
+ __props__.__dict__["resources"] = resources
465
+ __props__.__dict__["resources_details"] = resources_details
466
+ __props__.__dict__["schedule"] = schedule
467
+ __props__.__dict__["state"] = state
468
+ __props__.__dict__["time_created"] = time_created
469
+ __props__.__dict__["time_updated"] = time_updated
470
+ return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
471
+
472
+ @property
473
+ @pulumi.getter(name="compartmentId")
474
+ def compartment_id(self) -> pulumi.Output[str]:
475
+ """
476
+ Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
477
+ """
478
+ return pulumi.get(self, "compartment_id")
479
+
480
+ @property
481
+ @pulumi.getter
482
+ def description(self) -> pulumi.Output[str]:
483
+ """
484
+ (Updatable) Maintenance Window description.
485
+ """
486
+ return pulumi.get(self, "description")
487
+
488
+ @property
489
+ @pulumi.getter(name="lifecycleDetails")
490
+ def lifecycle_details(self) -> pulumi.Output[str]:
491
+ """
492
+ Lifecycle Details of the Maintenance Window.
493
+ """
494
+ return pulumi.get(self, "lifecycle_details")
495
+
496
+ @property
497
+ @pulumi.getter
498
+ def name(self) -> pulumi.Output[str]:
499
+ """
500
+ Maintenance Window name.
501
+ """
502
+ return pulumi.get(self, "name")
503
+
504
+ @property
505
+ @pulumi.getter
506
+ def resources(self) -> pulumi.Output[Sequence['outputs.MaintenanceWindowResource']]:
507
+ """
508
+ (Updatable) List of resource Ids which are part of the Maintenance Window
509
+ """
510
+ return pulumi.get(self, "resources")
511
+
512
+ @property
513
+ @pulumi.getter(name="resourcesDetails")
514
+ def resources_details(self) -> pulumi.Output[Sequence['outputs.MaintenanceWindowResourcesDetail']]:
515
+ """
516
+ List of resource details that are part of the Maintenance Window.
517
+ """
518
+ return pulumi.get(self, "resources_details")
519
+
520
+ @property
521
+ @pulumi.getter
522
+ def schedule(self) -> pulumi.Output['outputs.MaintenanceWindowSchedule']:
523
+ """
524
+ (Updatable) Schedule information of the Maintenance Window
525
+ """
526
+ return pulumi.get(self, "schedule")
527
+
528
+ @property
529
+ @pulumi.getter
530
+ def state(self) -> pulumi.Output[str]:
531
+ """
532
+ Lifecycle state of the monitored resource.
533
+ """
534
+ return pulumi.get(self, "state")
535
+
536
+ @property
537
+ @pulumi.getter(name="timeCreated")
538
+ def time_created(self) -> pulumi.Output[str]:
539
+ """
540
+ The time the the maintenance window was created. An RFC3339 formatted datetime string
541
+ """
542
+ return pulumi.get(self, "time_created")
543
+
544
+ @property
545
+ @pulumi.getter(name="timeUpdated")
546
+ def time_updated(self) -> pulumi.Output[str]:
547
+ """
548
+ The time the the mainteance window was updated. An RFC3339 formatted datetime string
549
+ """
550
+ return pulumi.get(self, "time_updated")
551
+