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,217 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['MaintenanceWindowsRetryFailedOperationArgs', 'MaintenanceWindowsRetryFailedOperation']
18
+
19
+ @pulumi.input_type
20
+ class MaintenanceWindowsRetryFailedOperationArgs:
21
+ def __init__(__self__, *,
22
+ maintenance_window_id: pulumi.Input[str]):
23
+ """
24
+ The set of arguments for constructing a MaintenanceWindowsRetryFailedOperation resource.
25
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
26
+
27
+
28
+ ** IMPORTANT **
29
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
30
+ """
31
+ pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
32
+
33
+ @property
34
+ @pulumi.getter(name="maintenanceWindowId")
35
+ def maintenance_window_id(self) -> pulumi.Input[str]:
36
+ """
37
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
38
+
39
+
40
+ ** IMPORTANT **
41
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
42
+ """
43
+ return pulumi.get(self, "maintenance_window_id")
44
+
45
+ @maintenance_window_id.setter
46
+ def maintenance_window_id(self, value: pulumi.Input[str]):
47
+ pulumi.set(self, "maintenance_window_id", value)
48
+
49
+
50
+ @pulumi.input_type
51
+ class _MaintenanceWindowsRetryFailedOperationState:
52
+ def __init__(__self__, *,
53
+ maintenance_window_id: Optional[pulumi.Input[str]] = None):
54
+ """
55
+ Input properties used for looking up and filtering MaintenanceWindowsRetryFailedOperation resources.
56
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
57
+
58
+
59
+ ** IMPORTANT **
60
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
61
+ """
62
+ if maintenance_window_id is not None:
63
+ pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
64
+
65
+ @property
66
+ @pulumi.getter(name="maintenanceWindowId")
67
+ def maintenance_window_id(self) -> Optional[pulumi.Input[str]]:
68
+ """
69
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
70
+
71
+
72
+ ** IMPORTANT **
73
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
74
+ """
75
+ return pulumi.get(self, "maintenance_window_id")
76
+
77
+ @maintenance_window_id.setter
78
+ def maintenance_window_id(self, value: Optional[pulumi.Input[str]]):
79
+ pulumi.set(self, "maintenance_window_id", value)
80
+
81
+
82
+ class MaintenanceWindowsRetryFailedOperation(pulumi.CustomResource):
83
+ @overload
84
+ def __init__(__self__,
85
+ resource_name: str,
86
+ opts: Optional[pulumi.ResourceOptions] = None,
87
+ maintenance_window_id: Optional[pulumi.Input[str]] = None,
88
+ __props__=None):
89
+ """
90
+ This resource provides the Maintenance Windows Retry Failed Operation resource in Oracle Cloud Infrastructure Stack Monitoring service.
91
+
92
+ Retry the last failed operation. The operation failed will be the most recent one. It won't apply for previous failed operations.
93
+
94
+ ## Example Usage
95
+
96
+ ```python
97
+ import pulumi
98
+ import pulumi_oci as oci
99
+
100
+ test_maintenance_windows_retry_failed_operation = oci.stack_monitoring.MaintenanceWindowsRetryFailedOperation("test_maintenance_windows_retry_failed_operation", maintenance_window_id=test_maintenance_window["id"])
101
+ ```
102
+
103
+ ## Import
104
+
105
+ MaintenanceWindowsRetryFailedOperation can be imported using the `id`, e.g.
106
+
107
+ ```sh
108
+ $ pulumi import oci:StackMonitoring/maintenanceWindowsRetryFailedOperation:MaintenanceWindowsRetryFailedOperation test_maintenance_windows_retry_failed_operation "id"
109
+ ```
110
+
111
+ :param str resource_name: The name of the resource.
112
+ :param pulumi.ResourceOptions opts: Options for the resource.
113
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
114
+
115
+
116
+ ** IMPORTANT **
117
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
118
+ """
119
+ ...
120
+ @overload
121
+ def __init__(__self__,
122
+ resource_name: str,
123
+ args: MaintenanceWindowsRetryFailedOperationArgs,
124
+ opts: Optional[pulumi.ResourceOptions] = None):
125
+ """
126
+ This resource provides the Maintenance Windows Retry Failed Operation resource in Oracle Cloud Infrastructure Stack Monitoring service.
127
+
128
+ Retry the last failed operation. The operation failed will be the most recent one. It won't apply for previous failed operations.
129
+
130
+ ## Example Usage
131
+
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_maintenance_windows_retry_failed_operation = oci.stack_monitoring.MaintenanceWindowsRetryFailedOperation("test_maintenance_windows_retry_failed_operation", maintenance_window_id=test_maintenance_window["id"])
137
+ ```
138
+
139
+ ## Import
140
+
141
+ MaintenanceWindowsRetryFailedOperation can be imported using the `id`, e.g.
142
+
143
+ ```sh
144
+ $ pulumi import oci:StackMonitoring/maintenanceWindowsRetryFailedOperation:MaintenanceWindowsRetryFailedOperation test_maintenance_windows_retry_failed_operation "id"
145
+ ```
146
+
147
+ :param str resource_name: The name of the resource.
148
+ :param MaintenanceWindowsRetryFailedOperationArgs args: The arguments to use to populate this resource's properties.
149
+ :param pulumi.ResourceOptions opts: Options for the resource.
150
+ """
151
+ ...
152
+ def __init__(__self__, resource_name: str, *args, **kwargs):
153
+ resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowsRetryFailedOperationArgs, pulumi.ResourceOptions, *args, **kwargs)
154
+ if resource_args is not None:
155
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
156
+ else:
157
+ __self__._internal_init(resource_name, *args, **kwargs)
158
+
159
+ def _internal_init(__self__,
160
+ resource_name: str,
161
+ opts: Optional[pulumi.ResourceOptions] = None,
162
+ maintenance_window_id: Optional[pulumi.Input[str]] = None,
163
+ __props__=None):
164
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
165
+ if not isinstance(opts, pulumi.ResourceOptions):
166
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
167
+ if opts.id is None:
168
+ if __props__ is not None:
169
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
170
+ __props__ = MaintenanceWindowsRetryFailedOperationArgs.__new__(MaintenanceWindowsRetryFailedOperationArgs)
171
+
172
+ if maintenance_window_id is None and not opts.urn:
173
+ raise TypeError("Missing required property 'maintenance_window_id'")
174
+ __props__.__dict__["maintenance_window_id"] = maintenance_window_id
175
+ super(MaintenanceWindowsRetryFailedOperation, __self__).__init__(
176
+ 'oci:StackMonitoring/maintenanceWindowsRetryFailedOperation:MaintenanceWindowsRetryFailedOperation',
177
+ resource_name,
178
+ __props__,
179
+ opts)
180
+
181
+ @staticmethod
182
+ def get(resource_name: str,
183
+ id: pulumi.Input[str],
184
+ opts: Optional[pulumi.ResourceOptions] = None,
185
+ maintenance_window_id: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindowsRetryFailedOperation':
186
+ """
187
+ Get an existing MaintenanceWindowsRetryFailedOperation resource's state with the given name, id, and optional extra
188
+ properties used to qualify the lookup.
189
+
190
+ :param str resource_name: The unique name of the resulting resource.
191
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
192
+ :param pulumi.ResourceOptions opts: Options for the resource.
193
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
194
+
195
+
196
+ ** IMPORTANT **
197
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
198
+ """
199
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
200
+
201
+ __props__ = _MaintenanceWindowsRetryFailedOperationState.__new__(_MaintenanceWindowsRetryFailedOperationState)
202
+
203
+ __props__.__dict__["maintenance_window_id"] = maintenance_window_id
204
+ return MaintenanceWindowsRetryFailedOperation(resource_name, opts=opts, __props__=__props__)
205
+
206
+ @property
207
+ @pulumi.getter(name="maintenanceWindowId")
208
+ def maintenance_window_id(self) -> pulumi.Output[str]:
209
+ """
210
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
211
+
212
+
213
+ ** IMPORTANT **
214
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
215
+ """
216
+ return pulumi.get(self, "maintenance_window_id")
217
+
@@ -0,0 +1,217 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from .. import _utilities
16
+
17
+ __all__ = ['MaintenanceWindowsStopArgs', 'MaintenanceWindowsStop']
18
+
19
+ @pulumi.input_type
20
+ class MaintenanceWindowsStopArgs:
21
+ def __init__(__self__, *,
22
+ maintenance_window_id: pulumi.Input[str]):
23
+ """
24
+ The set of arguments for constructing a MaintenanceWindowsStop resource.
25
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
26
+
27
+
28
+ ** IMPORTANT **
29
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
30
+ """
31
+ pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
32
+
33
+ @property
34
+ @pulumi.getter(name="maintenanceWindowId")
35
+ def maintenance_window_id(self) -> pulumi.Input[str]:
36
+ """
37
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
38
+
39
+
40
+ ** IMPORTANT **
41
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
42
+ """
43
+ return pulumi.get(self, "maintenance_window_id")
44
+
45
+ @maintenance_window_id.setter
46
+ def maintenance_window_id(self, value: pulumi.Input[str]):
47
+ pulumi.set(self, "maintenance_window_id", value)
48
+
49
+
50
+ @pulumi.input_type
51
+ class _MaintenanceWindowsStopState:
52
+ def __init__(__self__, *,
53
+ maintenance_window_id: Optional[pulumi.Input[str]] = None):
54
+ """
55
+ Input properties used for looking up and filtering MaintenanceWindowsStop resources.
56
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
57
+
58
+
59
+ ** IMPORTANT **
60
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
61
+ """
62
+ if maintenance_window_id is not None:
63
+ pulumi.set(__self__, "maintenance_window_id", maintenance_window_id)
64
+
65
+ @property
66
+ @pulumi.getter(name="maintenanceWindowId")
67
+ def maintenance_window_id(self) -> Optional[pulumi.Input[str]]:
68
+ """
69
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
70
+
71
+
72
+ ** IMPORTANT **
73
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
74
+ """
75
+ return pulumi.get(self, "maintenance_window_id")
76
+
77
+ @maintenance_window_id.setter
78
+ def maintenance_window_id(self, value: Optional[pulumi.Input[str]]):
79
+ pulumi.set(self, "maintenance_window_id", value)
80
+
81
+
82
+ class MaintenanceWindowsStop(pulumi.CustomResource):
83
+ @overload
84
+ def __init__(__self__,
85
+ resource_name: str,
86
+ opts: Optional[pulumi.ResourceOptions] = None,
87
+ maintenance_window_id: Optional[pulumi.Input[str]] = None,
88
+ __props__=None):
89
+ """
90
+ This resource provides the Maintenance Windows Stop resource in Oracle Cloud Infrastructure Stack Monitoring service.
91
+
92
+ Stop a maintenance window before the end time is reached.
93
+
94
+ ## Example Usage
95
+
96
+ ```python
97
+ import pulumi
98
+ import pulumi_oci as oci
99
+
100
+ test_maintenance_windows_stop = oci.stack_monitoring.MaintenanceWindowsStop("test_maintenance_windows_stop", maintenance_window_id=test_maintenance_window["id"])
101
+ ```
102
+
103
+ ## Import
104
+
105
+ MaintenanceWindowsStop can be imported using the `id`, e.g.
106
+
107
+ ```sh
108
+ $ pulumi import oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop test_maintenance_windows_stop "id"
109
+ ```
110
+
111
+ :param str resource_name: The name of the resource.
112
+ :param pulumi.ResourceOptions opts: Options for the resource.
113
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
114
+
115
+
116
+ ** IMPORTANT **
117
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
118
+ """
119
+ ...
120
+ @overload
121
+ def __init__(__self__,
122
+ resource_name: str,
123
+ args: MaintenanceWindowsStopArgs,
124
+ opts: Optional[pulumi.ResourceOptions] = None):
125
+ """
126
+ This resource provides the Maintenance Windows Stop resource in Oracle Cloud Infrastructure Stack Monitoring service.
127
+
128
+ Stop a maintenance window before the end time is reached.
129
+
130
+ ## Example Usage
131
+
132
+ ```python
133
+ import pulumi
134
+ import pulumi_oci as oci
135
+
136
+ test_maintenance_windows_stop = oci.stack_monitoring.MaintenanceWindowsStop("test_maintenance_windows_stop", maintenance_window_id=test_maintenance_window["id"])
137
+ ```
138
+
139
+ ## Import
140
+
141
+ MaintenanceWindowsStop can be imported using the `id`, e.g.
142
+
143
+ ```sh
144
+ $ pulumi import oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop test_maintenance_windows_stop "id"
145
+ ```
146
+
147
+ :param str resource_name: The name of the resource.
148
+ :param MaintenanceWindowsStopArgs args: The arguments to use to populate this resource's properties.
149
+ :param pulumi.ResourceOptions opts: Options for the resource.
150
+ """
151
+ ...
152
+ def __init__(__self__, resource_name: str, *args, **kwargs):
153
+ resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowsStopArgs, pulumi.ResourceOptions, *args, **kwargs)
154
+ if resource_args is not None:
155
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
156
+ else:
157
+ __self__._internal_init(resource_name, *args, **kwargs)
158
+
159
+ def _internal_init(__self__,
160
+ resource_name: str,
161
+ opts: Optional[pulumi.ResourceOptions] = None,
162
+ maintenance_window_id: Optional[pulumi.Input[str]] = None,
163
+ __props__=None):
164
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
165
+ if not isinstance(opts, pulumi.ResourceOptions):
166
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
167
+ if opts.id is None:
168
+ if __props__ is not None:
169
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
170
+ __props__ = MaintenanceWindowsStopArgs.__new__(MaintenanceWindowsStopArgs)
171
+
172
+ if maintenance_window_id is None and not opts.urn:
173
+ raise TypeError("Missing required property 'maintenance_window_id'")
174
+ __props__.__dict__["maintenance_window_id"] = maintenance_window_id
175
+ super(MaintenanceWindowsStop, __self__).__init__(
176
+ 'oci:StackMonitoring/maintenanceWindowsStop:MaintenanceWindowsStop',
177
+ resource_name,
178
+ __props__,
179
+ opts)
180
+
181
+ @staticmethod
182
+ def get(resource_name: str,
183
+ id: pulumi.Input[str],
184
+ opts: Optional[pulumi.ResourceOptions] = None,
185
+ maintenance_window_id: Optional[pulumi.Input[str]] = None) -> 'MaintenanceWindowsStop':
186
+ """
187
+ Get an existing MaintenanceWindowsStop resource's state with the given name, id, and optional extra
188
+ properties used to qualify the lookup.
189
+
190
+ :param str resource_name: The unique name of the resulting resource.
191
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
192
+ :param pulumi.ResourceOptions opts: Options for the resource.
193
+ :param pulumi.Input[str] maintenance_window_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
194
+
195
+
196
+ ** IMPORTANT **
197
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
198
+ """
199
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
200
+
201
+ __props__ = _MaintenanceWindowsStopState.__new__(_MaintenanceWindowsStopState)
202
+
203
+ __props__.__dict__["maintenance_window_id"] = maintenance_window_id
204
+ return MaintenanceWindowsStop(resource_name, opts=opts, __props__=__props__)
205
+
206
+ @property
207
+ @pulumi.getter(name="maintenanceWindowId")
208
+ def maintenance_window_id(self) -> pulumi.Output[str]:
209
+ """
210
+ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of maintenance window.
211
+
212
+
213
+ ** IMPORTANT **
214
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
215
+ """
216
+ return pulumi.get(self, "maintenance_window_id")
217
+