pulumi-oci 3.1.0a1750143229__py3-none-any.whl → 3.1.0a1751948424__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 (282) hide show
  1. pulumi_oci/__init__.py +299 -0
  2. pulumi_oci/capacitymanagement/__init__.py +18 -0
  3. pulumi_oci/capacitymanagement/_inputs.py +459 -0
  4. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal.py +268 -0
  5. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalog.py +254 -0
  6. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalog_resources.py +233 -0
  7. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_catalogs.py +192 -0
  8. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_deliveries.py +197 -0
  9. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_delivery.py +296 -0
  10. pulumi_oci/capacitymanagement/get_internal_occm_demand_signal_items.py +233 -0
  11. pulumi_oci/capacitymanagement/get_internal_occm_demand_signals.py +222 -0
  12. pulumi_oci/capacitymanagement/get_occm_demand_signal.py +254 -0
  13. pulumi_oci/capacitymanagement/get_occm_demand_signal_catalog_resources.py +189 -0
  14. pulumi_oci/capacitymanagement/get_occm_demand_signal_deliveries.py +175 -0
  15. pulumi_oci/capacitymanagement/get_occm_demand_signal_item.py +352 -0
  16. pulumi_oci/capacitymanagement/get_occm_demand_signal_items.py +211 -0
  17. pulumi_oci/capacitymanagement/get_occm_demand_signals.py +200 -0
  18. pulumi_oci/capacitymanagement/internal_occm_demand_signal.py +564 -0
  19. pulumi_oci/capacitymanagement/internal_occm_demand_signal_delivery.py +760 -0
  20. pulumi_oci/capacitymanagement/occm_demand_signal.py +585 -0
  21. pulumi_oci/capacitymanagement/occm_demand_signal_item.py +950 -0
  22. pulumi_oci/capacitymanagement/outputs.py +3499 -1230
  23. pulumi_oci/containerengine/get_cluster.py +7 -7
  24. pulumi_oci/core/__init__.py +4 -0
  25. pulumi_oci/core/_inputs.py +477 -0
  26. pulumi_oci/core/compute_host.py +910 -0
  27. pulumi_oci/core/compute_host_group.py +648 -0
  28. pulumi_oci/core/dedicated_vm_host.py +56 -0
  29. pulumi_oci/core/get_compute_host.py +72 -1
  30. pulumi_oci/core/get_compute_host_group.py +269 -0
  31. pulumi_oci/core/get_compute_host_groups.py +148 -0
  32. pulumi_oci/core/get_compute_hosts.py +37 -1
  33. pulumi_oci/core/get_dedicated_vm_host.py +29 -1
  34. pulumi_oci/core/outputs.py +912 -24
  35. pulumi_oci/database/__init__.py +2 -0
  36. pulumi_oci/database/_inputs.py +739 -52
  37. pulumi_oci/database/autonomous_container_database.py +141 -12
  38. pulumi_oci/database/autonomous_container_database_add_standby.py +8 -10
  39. pulumi_oci/database/autonomous_container_database_dataguard_association.py +8 -16
  40. pulumi_oci/database/autonomous_container_database_snapshot_standby.py +4 -6
  41. pulumi_oci/database/autonomous_database_software_image.py +28 -0
  42. pulumi_oci/database/autonomous_vm_cluster.py +28 -0
  43. pulumi_oci/database/backup_destination.py +28 -0
  44. pulumi_oci/database/cloud_autonomous_vm_cluster.py +126 -0
  45. pulumi_oci/database/cloud_vm_cluster.py +82 -7
  46. pulumi_oci/database/database.py +28 -0
  47. pulumi_oci/database/database_software_image.py +28 -0
  48. pulumi_oci/database/database_upgrade.py +28 -0
  49. pulumi_oci/database/db_home.py +28 -0
  50. pulumi_oci/database/db_node.py +28 -0
  51. pulumi_oci/database/db_system.py +28 -0
  52. pulumi_oci/database/exadata_infrastructure.py +28 -0
  53. pulumi_oci/database/exadata_infrastructure_compute.py +39 -24
  54. pulumi_oci/database/external_container_database.py +28 -0
  55. pulumi_oci/database/external_database_connector.py +28 -0
  56. pulumi_oci/database/external_non_container_database.py +28 -0
  57. pulumi_oci/database/external_pluggable_database.py +28 -0
  58. pulumi_oci/database/get_autonomous_container_database.py +52 -2
  59. pulumi_oci/database/get_autonomous_container_database_backups.py +255 -0
  60. pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +2 -2
  61. pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py +2 -2
  62. pulumi_oci/database/get_autonomous_database_dataguard_associations.py +2 -2
  63. pulumi_oci/database/get_autonomous_database_resource_pool_members.py +145 -0
  64. pulumi_oci/database/get_autonomous_database_software_image.py +15 -1
  65. pulumi_oci/database/get_autonomous_vm_cluster.py +15 -1
  66. pulumi_oci/database/get_backup_destination.py +15 -1
  67. pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +40 -1
  68. pulumi_oci/database/get_cloud_vm_cluster.py +30 -2
  69. pulumi_oci/database/get_database.py +15 -1
  70. pulumi_oci/database/get_database_software_image.py +15 -1
  71. pulumi_oci/database/get_db_home.py +15 -1
  72. pulumi_oci/database/get_db_node.py +15 -1
  73. pulumi_oci/database/get_db_nodes.py +2 -2
  74. pulumi_oci/database/get_db_server.py +15 -1
  75. pulumi_oci/database/get_exadata_infrastructure.py +15 -1
  76. pulumi_oci/database/get_external_container_database.py +15 -1
  77. pulumi_oci/database/get_external_database_connector.py +15 -1
  78. pulumi_oci/database/get_external_non_container_database.py +15 -1
  79. pulumi_oci/database/get_external_pluggable_database.py +15 -1
  80. pulumi_oci/database/get_key_store.py +15 -1
  81. pulumi_oci/database/get_maintenance_run.py +15 -1
  82. pulumi_oci/database/get_oneoff_patch.py +15 -1
  83. pulumi_oci/database/get_pluggable_database.py +15 -1
  84. pulumi_oci/database/get_vm_cluster.py +15 -1
  85. pulumi_oci/database/get_vm_cluster_network.py +15 -1
  86. pulumi_oci/database/key_store.py +28 -0
  87. pulumi_oci/database/maintenance_run.py +28 -0
  88. pulumi_oci/database/oneoff_patch.py +28 -0
  89. pulumi_oci/database/outputs.py +1624 -54
  90. pulumi_oci/database/pluggable_database.py +28 -0
  91. pulumi_oci/database/pluggable_databases_local_clone.py +28 -0
  92. pulumi_oci/database/pluggable_databases_remote_clone.py +28 -0
  93. pulumi_oci/database/vm_cluster.py +28 -0
  94. pulumi_oci/database/vm_cluster_network.py +28 -0
  95. pulumi_oci/databasemanagement/__init__.py +7 -0
  96. pulumi_oci/databasemanagement/_inputs.py +196 -0
  97. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +15 -1
  98. pulumi_oci/databasemanagement/get_managed_my_sql_database_binary_log_information.py +198 -0
  99. pulumi_oci/databasemanagement/get_managed_my_sql_database_digest_errors.py +164 -0
  100. pulumi_oci/databasemanagement/get_managed_my_sql_database_general_replication_information.py +352 -0
  101. pulumi_oci/databasemanagement/get_managed_my_sql_database_high_availability_members.py +145 -0
  102. pulumi_oci/databasemanagement/get_managed_my_sql_database_inbound_replications.py +145 -0
  103. pulumi_oci/databasemanagement/get_managed_my_sql_database_outbound_replications.py +145 -0
  104. pulumi_oci/databasemanagement/get_managed_my_sql_database_query_detail.py +176 -0
  105. pulumi_oci/databasemanagement/outputs.py +1330 -19
  106. pulumi_oci/databasemigration/_inputs.py +94 -0
  107. pulumi_oci/databasemigration/get_migration.py +15 -1
  108. pulumi_oci/databasemigration/get_migrations.py +15 -1
  109. pulumi_oci/databasemigration/job.py +28 -0
  110. pulumi_oci/databasemigration/migration.py +52 -3
  111. pulumi_oci/databasemigration/outputs.py +73 -0
  112. pulumi_oci/dataflow/_inputs.py +20 -0
  113. pulumi_oci/dataflow/outputs.py +36 -0
  114. pulumi_oci/fleetappsmanagement/__init__.py +48 -0
  115. pulumi_oci/fleetappsmanagement/_inputs.py +11016 -30
  116. pulumi_oci/fleetappsmanagement/catalog_item.py +1156 -0
  117. pulumi_oci/fleetappsmanagement/compliance_policy_rule.py +811 -0
  118. pulumi_oci/fleetappsmanagement/fleet.py +1003 -0
  119. pulumi_oci/fleetappsmanagement/fleet_credential.py +623 -0
  120. pulumi_oci/fleetappsmanagement/fleet_property.py +585 -0
  121. pulumi_oci/fleetappsmanagement/fleet_resource.py +853 -0
  122. pulumi_oci/fleetappsmanagement/get_announcements.py +29 -7
  123. pulumi_oci/fleetappsmanagement/get_catalog_item.py +434 -0
  124. pulumi_oci/fleetappsmanagement/get_catalog_items.py +274 -0
  125. pulumi_oci/fleetappsmanagement/get_compliance_policies.py +36 -12
  126. pulumi_oci/fleetappsmanagement/get_compliance_policy.py +20 -6
  127. pulumi_oci/fleetappsmanagement/get_compliance_policy_rule.py +325 -0
  128. pulumi_oci/fleetappsmanagement/get_compliance_policy_rules.py +244 -0
  129. pulumi_oci/fleetappsmanagement/get_compliance_record_counts.py +26 -7
  130. pulumi_oci/fleetappsmanagement/get_compliance_records.py +299 -0
  131. pulumi_oci/fleetappsmanagement/get_fleet.py +409 -0
  132. pulumi_oci/fleetappsmanagement/get_fleet_compliance_report.py +15 -1
  133. pulumi_oci/fleetappsmanagement/get_fleet_credential.py +274 -0
  134. pulumi_oci/fleetappsmanagement/get_fleet_credentials.py +283 -0
  135. pulumi_oci/fleetappsmanagement/get_fleet_products.py +2 -2
  136. pulumi_oci/fleetappsmanagement/get_fleet_properties.py +197 -0
  137. pulumi_oci/fleetappsmanagement/get_fleet_property.py +287 -0
  138. pulumi_oci/fleetappsmanagement/get_fleet_resource.py +399 -0
  139. pulumi_oci/fleetappsmanagement/get_fleet_resources.py +216 -0
  140. pulumi_oci/fleetappsmanagement/get_fleets.py +284 -0
  141. pulumi_oci/fleetappsmanagement/get_inventory_records.py +205 -0
  142. pulumi_oci/fleetappsmanagement/get_inventory_resources.py +4 -2
  143. pulumi_oci/fleetappsmanagement/get_maintenance_window.py +338 -0
  144. pulumi_oci/fleetappsmanagement/get_maintenance_windows.py +221 -0
  145. pulumi_oci/fleetappsmanagement/get_managed_entity_counts.py +26 -7
  146. pulumi_oci/fleetappsmanagement/get_onboarding_policies.py +26 -5
  147. pulumi_oci/fleetappsmanagement/get_onboardings.py +180 -0
  148. pulumi_oci/fleetappsmanagement/get_patch.py +364 -0
  149. pulumi_oci/fleetappsmanagement/get_patches.py +338 -0
  150. pulumi_oci/fleetappsmanagement/get_platform_configuration.py +297 -0
  151. pulumi_oci/fleetappsmanagement/get_platform_configurations.py +265 -0
  152. pulumi_oci/fleetappsmanagement/get_properties.py +37 -13
  153. pulumi_oci/fleetappsmanagement/get_property.py +1 -1
  154. pulumi_oci/fleetappsmanagement/get_provision.py +493 -0
  155. pulumi_oci/fleetappsmanagement/get_provisions.py +224 -0
  156. pulumi_oci/fleetappsmanagement/get_runbook.py +406 -0
  157. pulumi_oci/fleetappsmanagement/get_runbook_version.py +319 -0
  158. pulumi_oci/fleetappsmanagement/get_runbook_versions.py +230 -0
  159. pulumi_oci/fleetappsmanagement/get_runbooks.py +265 -0
  160. pulumi_oci/fleetappsmanagement/get_scheduler_definition.py +395 -0
  161. pulumi_oci/fleetappsmanagement/get_scheduler_definition_scheduled_fleets.py +167 -0
  162. pulumi_oci/fleetappsmanagement/get_scheduler_definitions.py +347 -0
  163. pulumi_oci/fleetappsmanagement/get_scheduler_executions.py +334 -0
  164. pulumi_oci/fleetappsmanagement/get_scheduler_job_counts.py +26 -7
  165. pulumi_oci/fleetappsmanagement/get_scheduler_job_job_activity_steps.py +2 -2
  166. pulumi_oci/fleetappsmanagement/get_task_record.py +308 -0
  167. pulumi_oci/fleetappsmanagement/get_task_records.py +265 -0
  168. pulumi_oci/fleetappsmanagement/maintenance_window.py +840 -0
  169. pulumi_oci/fleetappsmanagement/onboarding.py +631 -0
  170. pulumi_oci/fleetappsmanagement/outputs.py +25528 -1223
  171. pulumi_oci/fleetappsmanagement/patch.py +980 -0
  172. pulumi_oci/fleetappsmanagement/platform_configuration.py +694 -0
  173. pulumi_oci/fleetappsmanagement/property.py +28 -27
  174. pulumi_oci/fleetappsmanagement/provision.py +1195 -0
  175. pulumi_oci/fleetappsmanagement/runbook.py +1277 -0
  176. pulumi_oci/fleetappsmanagement/runbook_version.py +996 -0
  177. pulumi_oci/fleetappsmanagement/scheduler_definition.py +946 -0
  178. pulumi_oci/fleetappsmanagement/task_record.py +786 -0
  179. pulumi_oci/fleetsoftwareupdate/_inputs.py +88 -15
  180. pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +71 -42
  181. pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +21 -7
  182. pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +1 -1
  183. pulumi_oci/fleetsoftwareupdate/outputs.py +172 -15
  184. pulumi_oci/goldengate/_inputs.py +449 -3
  185. pulumi_oci/goldengate/connection.py +200 -56
  186. pulumi_oci/goldengate/get_connection.py +59 -28
  187. pulumi_oci/goldengate/get_connections.py +0 -3
  188. pulumi_oci/goldengate/outputs.py +886 -22
  189. pulumi_oci/loadbalancer/_inputs.py +24 -6
  190. pulumi_oci/loadbalancer/backend.py +35 -7
  191. pulumi_oci/loadbalancer/backend_set.py +35 -7
  192. pulumi_oci/loadbalancer/listener.py +7 -7
  193. pulumi_oci/loadbalancer/load_balancer.py +81 -0
  194. pulumi_oci/loadbalancer/outputs.py +29 -10
  195. pulumi_oci/loganalytics/__init__.py +3 -0
  196. pulumi_oci/loganalytics/_inputs.py +123 -0
  197. pulumi_oci/loganalytics/get_log_analytics_entities.py +52 -0
  198. pulumi_oci/loganalytics/get_log_analytics_entity_type.py +254 -0
  199. pulumi_oci/loganalytics/get_log_analytics_entity_types.py +230 -0
  200. pulumi_oci/loganalytics/log_analytics_entity_type.py +508 -0
  201. pulumi_oci/loganalytics/outputs.py +258 -0
  202. pulumi_oci/mysql/_inputs.py +274 -0
  203. pulumi_oci/mysql/get_mysql_backup.py +29 -1
  204. pulumi_oci/mysql/get_mysql_backups.py +23 -1
  205. pulumi_oci/mysql/get_mysql_db_system.py +15 -1
  206. pulumi_oci/mysql/get_replica.py +15 -1
  207. pulumi_oci/mysql/mysql_backup.py +98 -2
  208. pulumi_oci/mysql/mysql_db_system.py +57 -0
  209. pulumi_oci/mysql/outputs.py +594 -0
  210. pulumi_oci/mysql/replica.py +28 -0
  211. pulumi_oci/nosql/__init__.py +2 -0
  212. pulumi_oci/nosql/_inputs.py +129 -3
  213. pulumi_oci/nosql/configuration.py +383 -0
  214. pulumi_oci/nosql/get_configuration.py +162 -0
  215. pulumi_oci/nosql/index.py +7 -7
  216. pulumi_oci/nosql/outputs.py +164 -2
  217. pulumi_oci/nosql/table_replica.py +9 -9
  218. pulumi_oci/oci/__init__.py +56 -0
  219. pulumi_oci/oci/_inputs.py +1615 -0
  220. pulumi_oci/oci/apiaccesscontrol_privileged_api_control.py +930 -0
  221. pulumi_oci/oci/apiaccesscontrol_privileged_api_request.py +1303 -0
  222. pulumi_oci/oci/dbmulticloud_multi_cloud_resource_discovery.py +675 -0
  223. pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_container.py +743 -0
  224. pulumi_oci/oci/dbmulticloud_oracle_db_azure_blob_mount.py +675 -0
  225. pulumi_oci/oci/dbmulticloud_oracle_db_azure_connector.py +740 -0
  226. pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault.py +840 -0
  227. pulumi_oci/oci/dbmulticloud_oracle_db_azure_vault_association.py +673 -0
  228. pulumi_oci/oci/get_apiaccesscontrol_api_metadata.py +310 -0
  229. pulumi_oci/oci/get_apiaccesscontrol_api_metadata_by_entity_types.py +208 -0
  230. pulumi_oci/oci/get_apiaccesscontrol_api_metadatas.py +208 -0
  231. pulumi_oci/oci/get_apiaccesscontrol_privileged_api_control.py +367 -0
  232. pulumi_oci/oci/get_apiaccesscontrol_privileged_api_controls.py +222 -0
  233. pulumi_oci/oci/get_apiaccesscontrol_privileged_api_request.py +535 -0
  234. pulumi_oci/oci/get_apiaccesscontrol_privileged_api_requests.py +244 -0
  235. pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discoveries.py +252 -0
  236. pulumi_oci/oci/get_dbmulticloud_multi_cloud_resource_discovery.py +297 -0
  237. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_container.py +310 -0
  238. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_containers.py +255 -0
  239. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mount.py +296 -0
  240. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_blob_mounts.py +255 -0
  241. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connector.py +311 -0
  242. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_connectors.py +233 -0
  243. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_key.py +282 -0
  244. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_keys.py +233 -0
  245. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault.py +338 -0
  246. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_association.py +296 -0
  247. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vault_associations.py +255 -0
  248. pulumi_oci/oci/get_dbmulticloud_oracle_db_azure_vaults.py +252 -0
  249. pulumi_oci/oci/get_wlms_managed_instance.py +255 -0
  250. pulumi_oci/oci/get_wlms_managed_instance_scan_results.py +189 -0
  251. pulumi_oci/oci/get_wlms_managed_instance_server.py +378 -0
  252. pulumi_oci/oci/get_wlms_managed_instance_server_installed_patches.py +168 -0
  253. pulumi_oci/oci/get_wlms_managed_instance_servers.py +170 -0
  254. pulumi_oci/oci/get_wlms_managed_instances.py +200 -0
  255. pulumi_oci/oci/get_wlms_wls_domain.py +311 -0
  256. pulumi_oci/oci/get_wlms_wls_domain_agreement_records.py +145 -0
  257. pulumi_oci/oci/get_wlms_wls_domain_applicable_patches.py +145 -0
  258. pulumi_oci/oci/get_wlms_wls_domain_scan_results.py +170 -0
  259. pulumi_oci/oci/get_wlms_wls_domain_server.py +378 -0
  260. pulumi_oci/oci/get_wlms_wls_domain_server_backup.py +230 -0
  261. pulumi_oci/oci/get_wlms_wls_domain_server_backup_content.py +189 -0
  262. pulumi_oci/oci/get_wlms_wls_domain_server_backups.py +168 -0
  263. pulumi_oci/oci/get_wlms_wls_domain_server_installed_patches.py +168 -0
  264. pulumi_oci/oci/get_wlms_wls_domain_servers.py +170 -0
  265. pulumi_oci/oci/get_wlms_wls_domains.py +266 -0
  266. pulumi_oci/oci/outputs.py +5617 -0
  267. pulumi_oci/pulumi-plugin.json +1 -1
  268. pulumi_oci/redis/__init__.py +8 -0
  269. pulumi_oci/redis/_inputs.py +179 -0
  270. pulumi_oci/redis/get_oci_cache_user.py +283 -0
  271. pulumi_oci/redis/get_oci_cache_users.py +192 -0
  272. pulumi_oci/redis/oci_cache_user.py +695 -0
  273. pulumi_oci/redis/oci_cache_user_get_redis_cluster.py +333 -0
  274. pulumi_oci/redis/outputs.py +330 -0
  275. pulumi_oci/redis/redis_cluster_attach_oci_cache_user.py +263 -0
  276. pulumi_oci/redis/redis_cluster_create_identity_token.py +439 -0
  277. pulumi_oci/redis/redis_cluster_detach_oci_cache_user.py +263 -0
  278. pulumi_oci/redis/redis_cluster_get_oci_cache_user.py +333 -0
  279. {pulumi_oci-3.1.0a1750143229.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/METADATA +1 -1
  280. {pulumi_oci-3.1.0a1750143229.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/RECORD +282 -141
  281. {pulumi_oci-3.1.0a1750143229.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/WHEEL +0 -0
  282. {pulumi_oci-3.1.0a1750143229.dist-info → pulumi_oci-3.1.0a1751948424.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,840 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins
6
+ import copy
7
+ import warnings
8
+ import sys
9
+ import pulumi
10
+ import pulumi.runtime
11
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
12
+ if sys.version_info >= (3, 11):
13
+ from typing import NotRequired, TypedDict, TypeAlias
14
+ else:
15
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
16
+ from .. import _utilities
17
+
18
+ __all__ = ['MaintenanceWindowArgs', 'MaintenanceWindow']
19
+
20
+ @pulumi.input_type
21
+ class MaintenanceWindowArgs:
22
+ def __init__(__self__, *,
23
+ compartment_id: pulumi.Input[builtins.str],
24
+ duration: pulumi.Input[builtins.str],
25
+ time_schedule_start: pulumi.Input[builtins.str],
26
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
27
+ description: Optional[pulumi.Input[builtins.str]] = None,
28
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
29
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
30
+ is_outage: Optional[pulumi.Input[builtins.bool]] = None,
31
+ is_recurring: Optional[pulumi.Input[builtins.bool]] = None,
32
+ recurrences: Optional[pulumi.Input[builtins.str]] = None):
33
+ """
34
+ The set of arguments for constructing a MaintenanceWindow resource.
35
+ :param pulumi.Input[builtins.str] compartment_id: Compartment OCID
36
+ :param pulumi.Input[builtins.str] duration: (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
37
+ :param pulumi.Input[builtins.str] time_schedule_start: (Updatable) Specify the date and time of the day that the maintenance window starts.
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
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
43
+ :param pulumi.Input[builtins.str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
44
+ :param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
45
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
46
+ :param pulumi.Input[builtins.bool] is_outage: (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
47
+ :param pulumi.Input[builtins.bool] is_recurring: (Updatable) Is this a recurring maintenance window?
48
+ :param pulumi.Input[builtins.str] recurrences: (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
49
+ """
50
+ pulumi.set(__self__, "compartment_id", compartment_id)
51
+ pulumi.set(__self__, "duration", duration)
52
+ pulumi.set(__self__, "time_schedule_start", time_schedule_start)
53
+ if defined_tags is not None:
54
+ pulumi.set(__self__, "defined_tags", defined_tags)
55
+ if description is not None:
56
+ pulumi.set(__self__, "description", description)
57
+ if display_name is not None:
58
+ pulumi.set(__self__, "display_name", display_name)
59
+ if freeform_tags is not None:
60
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
61
+ if is_outage is not None:
62
+ pulumi.set(__self__, "is_outage", is_outage)
63
+ if is_recurring is not None:
64
+ pulumi.set(__self__, "is_recurring", is_recurring)
65
+ if recurrences is not None:
66
+ pulumi.set(__self__, "recurrences", recurrences)
67
+
68
+ @property
69
+ @pulumi.getter(name="compartmentId")
70
+ def compartment_id(self) -> pulumi.Input[builtins.str]:
71
+ """
72
+ Compartment OCID
73
+ """
74
+ return pulumi.get(self, "compartment_id")
75
+
76
+ @compartment_id.setter
77
+ def compartment_id(self, value: pulumi.Input[builtins.str]):
78
+ pulumi.set(self, "compartment_id", value)
79
+
80
+ @property
81
+ @pulumi.getter
82
+ def duration(self) -> pulumi.Input[builtins.str]:
83
+ """
84
+ (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
85
+ """
86
+ return pulumi.get(self, "duration")
87
+
88
+ @duration.setter
89
+ def duration(self, value: pulumi.Input[builtins.str]):
90
+ pulumi.set(self, "duration", value)
91
+
92
+ @property
93
+ @pulumi.getter(name="timeScheduleStart")
94
+ def time_schedule_start(self) -> pulumi.Input[builtins.str]:
95
+ """
96
+ (Updatable) Specify the date and time of the day that the maintenance window starts.
97
+
98
+
99
+ ** IMPORTANT **
100
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
101
+ """
102
+ return pulumi.get(self, "time_schedule_start")
103
+
104
+ @time_schedule_start.setter
105
+ def time_schedule_start(self, value: pulumi.Input[builtins.str]):
106
+ pulumi.set(self, "time_schedule_start", value)
107
+
108
+ @property
109
+ @pulumi.getter(name="definedTags")
110
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
111
+ """
112
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
113
+ """
114
+ return pulumi.get(self, "defined_tags")
115
+
116
+ @defined_tags.setter
117
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
118
+ pulumi.set(self, "defined_tags", value)
119
+
120
+ @property
121
+ @pulumi.getter
122
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
123
+ """
124
+ (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
125
+ """
126
+ return pulumi.get(self, "description")
127
+
128
+ @description.setter
129
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
130
+ pulumi.set(self, "description", value)
131
+
132
+ @property
133
+ @pulumi.getter(name="displayName")
134
+ def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
135
+ """
136
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
137
+ """
138
+ return pulumi.get(self, "display_name")
139
+
140
+ @display_name.setter
141
+ def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
142
+ pulumi.set(self, "display_name", value)
143
+
144
+ @property
145
+ @pulumi.getter(name="freeformTags")
146
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
147
+ """
148
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
149
+ """
150
+ return pulumi.get(self, "freeform_tags")
151
+
152
+ @freeform_tags.setter
153
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
154
+ pulumi.set(self, "freeform_tags", value)
155
+
156
+ @property
157
+ @pulumi.getter(name="isOutage")
158
+ def is_outage(self) -> Optional[pulumi.Input[builtins.bool]]:
159
+ """
160
+ (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
161
+ """
162
+ return pulumi.get(self, "is_outage")
163
+
164
+ @is_outage.setter
165
+ def is_outage(self, value: Optional[pulumi.Input[builtins.bool]]):
166
+ pulumi.set(self, "is_outage", value)
167
+
168
+ @property
169
+ @pulumi.getter(name="isRecurring")
170
+ def is_recurring(self) -> Optional[pulumi.Input[builtins.bool]]:
171
+ """
172
+ (Updatable) Is this a recurring maintenance window?
173
+ """
174
+ return pulumi.get(self, "is_recurring")
175
+
176
+ @is_recurring.setter
177
+ def is_recurring(self, value: Optional[pulumi.Input[builtins.bool]]):
178
+ pulumi.set(self, "is_recurring", value)
179
+
180
+ @property
181
+ @pulumi.getter
182
+ def recurrences(self) -> Optional[pulumi.Input[builtins.str]]:
183
+ """
184
+ (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
185
+ """
186
+ return pulumi.get(self, "recurrences")
187
+
188
+ @recurrences.setter
189
+ def recurrences(self, value: Optional[pulumi.Input[builtins.str]]):
190
+ pulumi.set(self, "recurrences", value)
191
+
192
+
193
+ @pulumi.input_type
194
+ class _MaintenanceWindowState:
195
+ def __init__(__self__, *,
196
+ compartment_id: Optional[pulumi.Input[builtins.str]] = None,
197
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
198
+ description: Optional[pulumi.Input[builtins.str]] = None,
199
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
200
+ duration: Optional[pulumi.Input[builtins.str]] = None,
201
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
202
+ is_outage: Optional[pulumi.Input[builtins.bool]] = None,
203
+ is_recurring: Optional[pulumi.Input[builtins.bool]] = None,
204
+ lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
205
+ recurrences: Optional[pulumi.Input[builtins.str]] = None,
206
+ resource_region: Optional[pulumi.Input[builtins.str]] = None,
207
+ state: Optional[pulumi.Input[builtins.str]] = None,
208
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
209
+ time_created: Optional[pulumi.Input[builtins.str]] = None,
210
+ time_schedule_start: Optional[pulumi.Input[builtins.str]] = None,
211
+ time_updated: Optional[pulumi.Input[builtins.str]] = None):
212
+ """
213
+ Input properties used for looking up and filtering MaintenanceWindow resources.
214
+ :param pulumi.Input[builtins.str] compartment_id: Compartment OCID
215
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
216
+ :param pulumi.Input[builtins.str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
217
+ :param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
218
+ :param pulumi.Input[builtins.str] duration: (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
219
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
220
+ :param pulumi.Input[builtins.bool] is_outage: (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
221
+ :param pulumi.Input[builtins.bool] is_recurring: (Updatable) Is this a recurring maintenance window?
222
+ :param pulumi.Input[builtins.str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
223
+ :param pulumi.Input[builtins.str] recurrences: (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
224
+ :param pulumi.Input[builtins.str] resource_region: Associated region
225
+ :param pulumi.Input[builtins.str] state: The current state of the MaintenanceWindow.
226
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
227
+ :param pulumi.Input[builtins.str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
228
+ :param pulumi.Input[builtins.str] time_schedule_start: (Updatable) Specify the date and time of the day that the maintenance window starts.
229
+
230
+
231
+ ** IMPORTANT **
232
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
233
+ :param pulumi.Input[builtins.str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
234
+ """
235
+ if compartment_id is not None:
236
+ pulumi.set(__self__, "compartment_id", compartment_id)
237
+ if defined_tags is not None:
238
+ pulumi.set(__self__, "defined_tags", defined_tags)
239
+ if description is not None:
240
+ pulumi.set(__self__, "description", description)
241
+ if display_name is not None:
242
+ pulumi.set(__self__, "display_name", display_name)
243
+ if duration is not None:
244
+ pulumi.set(__self__, "duration", duration)
245
+ if freeform_tags is not None:
246
+ pulumi.set(__self__, "freeform_tags", freeform_tags)
247
+ if is_outage is not None:
248
+ pulumi.set(__self__, "is_outage", is_outage)
249
+ if is_recurring is not None:
250
+ pulumi.set(__self__, "is_recurring", is_recurring)
251
+ if lifecycle_details is not None:
252
+ pulumi.set(__self__, "lifecycle_details", lifecycle_details)
253
+ if recurrences is not None:
254
+ pulumi.set(__self__, "recurrences", recurrences)
255
+ if resource_region is not None:
256
+ pulumi.set(__self__, "resource_region", resource_region)
257
+ if state is not None:
258
+ pulumi.set(__self__, "state", state)
259
+ if system_tags is not None:
260
+ pulumi.set(__self__, "system_tags", system_tags)
261
+ if time_created is not None:
262
+ pulumi.set(__self__, "time_created", time_created)
263
+ if time_schedule_start is not None:
264
+ pulumi.set(__self__, "time_schedule_start", time_schedule_start)
265
+ if time_updated is not None:
266
+ pulumi.set(__self__, "time_updated", time_updated)
267
+
268
+ @property
269
+ @pulumi.getter(name="compartmentId")
270
+ def compartment_id(self) -> Optional[pulumi.Input[builtins.str]]:
271
+ """
272
+ Compartment OCID
273
+ """
274
+ return pulumi.get(self, "compartment_id")
275
+
276
+ @compartment_id.setter
277
+ def compartment_id(self, value: Optional[pulumi.Input[builtins.str]]):
278
+ pulumi.set(self, "compartment_id", value)
279
+
280
+ @property
281
+ @pulumi.getter(name="definedTags")
282
+ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
283
+ """
284
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
285
+ """
286
+ return pulumi.get(self, "defined_tags")
287
+
288
+ @defined_tags.setter
289
+ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
290
+ pulumi.set(self, "defined_tags", value)
291
+
292
+ @property
293
+ @pulumi.getter
294
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
295
+ """
296
+ (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
297
+ """
298
+ return pulumi.get(self, "description")
299
+
300
+ @description.setter
301
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
302
+ pulumi.set(self, "description", value)
303
+
304
+ @property
305
+ @pulumi.getter(name="displayName")
306
+ def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
307
+ """
308
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
309
+ """
310
+ return pulumi.get(self, "display_name")
311
+
312
+ @display_name.setter
313
+ def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
314
+ pulumi.set(self, "display_name", value)
315
+
316
+ @property
317
+ @pulumi.getter
318
+ def duration(self) -> Optional[pulumi.Input[builtins.str]]:
319
+ """
320
+ (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
321
+ """
322
+ return pulumi.get(self, "duration")
323
+
324
+ @duration.setter
325
+ def duration(self, value: Optional[pulumi.Input[builtins.str]]):
326
+ pulumi.set(self, "duration", value)
327
+
328
+ @property
329
+ @pulumi.getter(name="freeformTags")
330
+ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
331
+ """
332
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
333
+ """
334
+ return pulumi.get(self, "freeform_tags")
335
+
336
+ @freeform_tags.setter
337
+ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
338
+ pulumi.set(self, "freeform_tags", value)
339
+
340
+ @property
341
+ @pulumi.getter(name="isOutage")
342
+ def is_outage(self) -> Optional[pulumi.Input[builtins.bool]]:
343
+ """
344
+ (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
345
+ """
346
+ return pulumi.get(self, "is_outage")
347
+
348
+ @is_outage.setter
349
+ def is_outage(self, value: Optional[pulumi.Input[builtins.bool]]):
350
+ pulumi.set(self, "is_outage", value)
351
+
352
+ @property
353
+ @pulumi.getter(name="isRecurring")
354
+ def is_recurring(self) -> Optional[pulumi.Input[builtins.bool]]:
355
+ """
356
+ (Updatable) Is this a recurring maintenance window?
357
+ """
358
+ return pulumi.get(self, "is_recurring")
359
+
360
+ @is_recurring.setter
361
+ def is_recurring(self, value: Optional[pulumi.Input[builtins.bool]]):
362
+ pulumi.set(self, "is_recurring", value)
363
+
364
+ @property
365
+ @pulumi.getter(name="lifecycleDetails")
366
+ def lifecycle_details(self) -> Optional[pulumi.Input[builtins.str]]:
367
+ """
368
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
369
+ """
370
+ return pulumi.get(self, "lifecycle_details")
371
+
372
+ @lifecycle_details.setter
373
+ def lifecycle_details(self, value: Optional[pulumi.Input[builtins.str]]):
374
+ pulumi.set(self, "lifecycle_details", value)
375
+
376
+ @property
377
+ @pulumi.getter
378
+ def recurrences(self) -> Optional[pulumi.Input[builtins.str]]:
379
+ """
380
+ (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
381
+ """
382
+ return pulumi.get(self, "recurrences")
383
+
384
+ @recurrences.setter
385
+ def recurrences(self, value: Optional[pulumi.Input[builtins.str]]):
386
+ pulumi.set(self, "recurrences", value)
387
+
388
+ @property
389
+ @pulumi.getter(name="resourceRegion")
390
+ def resource_region(self) -> Optional[pulumi.Input[builtins.str]]:
391
+ """
392
+ Associated region
393
+ """
394
+ return pulumi.get(self, "resource_region")
395
+
396
+ @resource_region.setter
397
+ def resource_region(self, value: Optional[pulumi.Input[builtins.str]]):
398
+ pulumi.set(self, "resource_region", value)
399
+
400
+ @property
401
+ @pulumi.getter
402
+ def state(self) -> Optional[pulumi.Input[builtins.str]]:
403
+ """
404
+ The current state of the MaintenanceWindow.
405
+ """
406
+ return pulumi.get(self, "state")
407
+
408
+ @state.setter
409
+ def state(self, value: Optional[pulumi.Input[builtins.str]]):
410
+ pulumi.set(self, "state", value)
411
+
412
+ @property
413
+ @pulumi.getter(name="systemTags")
414
+ def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
415
+ """
416
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
417
+ """
418
+ return pulumi.get(self, "system_tags")
419
+
420
+ @system_tags.setter
421
+ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
422
+ pulumi.set(self, "system_tags", value)
423
+
424
+ @property
425
+ @pulumi.getter(name="timeCreated")
426
+ def time_created(self) -> Optional[pulumi.Input[builtins.str]]:
427
+ """
428
+ The time this resource was created. An RFC3339 formatted datetime string.
429
+ """
430
+ return pulumi.get(self, "time_created")
431
+
432
+ @time_created.setter
433
+ def time_created(self, value: Optional[pulumi.Input[builtins.str]]):
434
+ pulumi.set(self, "time_created", value)
435
+
436
+ @property
437
+ @pulumi.getter(name="timeScheduleStart")
438
+ def time_schedule_start(self) -> Optional[pulumi.Input[builtins.str]]:
439
+ """
440
+ (Updatable) Specify the date and time of the day that the maintenance window starts.
441
+
442
+
443
+ ** IMPORTANT **
444
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
445
+ """
446
+ return pulumi.get(self, "time_schedule_start")
447
+
448
+ @time_schedule_start.setter
449
+ def time_schedule_start(self, value: Optional[pulumi.Input[builtins.str]]):
450
+ pulumi.set(self, "time_schedule_start", value)
451
+
452
+ @property
453
+ @pulumi.getter(name="timeUpdated")
454
+ def time_updated(self) -> Optional[pulumi.Input[builtins.str]]:
455
+ """
456
+ The time this resource was last updated. An RFC3339 formatted datetime string.
457
+ """
458
+ return pulumi.get(self, "time_updated")
459
+
460
+ @time_updated.setter
461
+ def time_updated(self, value: Optional[pulumi.Input[builtins.str]]):
462
+ pulumi.set(self, "time_updated", value)
463
+
464
+
465
+ @pulumi.type_token("oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow")
466
+ class MaintenanceWindow(pulumi.CustomResource):
467
+ @overload
468
+ def __init__(__self__,
469
+ resource_name: str,
470
+ opts: Optional[pulumi.ResourceOptions] = None,
471
+ compartment_id: Optional[pulumi.Input[builtins.str]] = None,
472
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
473
+ description: Optional[pulumi.Input[builtins.str]] = None,
474
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
475
+ duration: Optional[pulumi.Input[builtins.str]] = None,
476
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
477
+ is_outage: Optional[pulumi.Input[builtins.bool]] = None,
478
+ is_recurring: Optional[pulumi.Input[builtins.bool]] = None,
479
+ recurrences: Optional[pulumi.Input[builtins.str]] = None,
480
+ time_schedule_start: Optional[pulumi.Input[builtins.str]] = None,
481
+ __props__=None):
482
+ """
483
+ This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
484
+
485
+ Create a maintenance window in Fleet Application Management.
486
+
487
+ ## Example Usage
488
+
489
+ ```python
490
+ import pulumi
491
+ import pulumi_oci as oci
492
+
493
+ test_maintenance_window = oci.fleet_apps_management.MaintenanceWindow("test_maintenance_window",
494
+ compartment_id=compartment_id,
495
+ duration=maintenance_window_duration,
496
+ time_schedule_start=maintenance_window_time_schedule_start,
497
+ defined_tags={
498
+ "foo-namespace.bar-key": "value",
499
+ },
500
+ description=maintenance_window_description,
501
+ display_name=maintenance_window_display_name,
502
+ freeform_tags={
503
+ "bar-key": "value",
504
+ },
505
+ is_outage=maintenance_window_is_outage,
506
+ is_recurring=maintenance_window_is_recurring,
507
+ recurrences=maintenance_window_recurrences)
508
+ ```
509
+
510
+ ## Import
511
+
512
+ MaintenanceWindows can be imported using the `id`, e.g.
513
+
514
+ ```sh
515
+ $ pulumi import oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
516
+ ```
517
+
518
+ :param str resource_name: The name of the resource.
519
+ :param pulumi.ResourceOptions opts: Options for the resource.
520
+ :param pulumi.Input[builtins.str] compartment_id: Compartment OCID
521
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
522
+ :param pulumi.Input[builtins.str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
523
+ :param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
524
+ :param pulumi.Input[builtins.str] duration: (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
525
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
526
+ :param pulumi.Input[builtins.bool] is_outage: (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
527
+ :param pulumi.Input[builtins.bool] is_recurring: (Updatable) Is this a recurring maintenance window?
528
+ :param pulumi.Input[builtins.str] recurrences: (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
529
+ :param pulumi.Input[builtins.str] time_schedule_start: (Updatable) Specify the date and time of the day that the maintenance window starts.
530
+
531
+
532
+ ** IMPORTANT **
533
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
534
+ """
535
+ ...
536
+ @overload
537
+ def __init__(__self__,
538
+ resource_name: str,
539
+ args: MaintenanceWindowArgs,
540
+ opts: Optional[pulumi.ResourceOptions] = None):
541
+ """
542
+ This resource provides the Maintenance Window resource in Oracle Cloud Infrastructure Fleet Apps Management service.
543
+
544
+ Create a maintenance window in Fleet Application Management.
545
+
546
+ ## Example Usage
547
+
548
+ ```python
549
+ import pulumi
550
+ import pulumi_oci as oci
551
+
552
+ test_maintenance_window = oci.fleet_apps_management.MaintenanceWindow("test_maintenance_window",
553
+ compartment_id=compartment_id,
554
+ duration=maintenance_window_duration,
555
+ time_schedule_start=maintenance_window_time_schedule_start,
556
+ defined_tags={
557
+ "foo-namespace.bar-key": "value",
558
+ },
559
+ description=maintenance_window_description,
560
+ display_name=maintenance_window_display_name,
561
+ freeform_tags={
562
+ "bar-key": "value",
563
+ },
564
+ is_outage=maintenance_window_is_outage,
565
+ is_recurring=maintenance_window_is_recurring,
566
+ recurrences=maintenance_window_recurrences)
567
+ ```
568
+
569
+ ## Import
570
+
571
+ MaintenanceWindows can be imported using the `id`, e.g.
572
+
573
+ ```sh
574
+ $ pulumi import oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow test_maintenance_window "id"
575
+ ```
576
+
577
+ :param str resource_name: The name of the resource.
578
+ :param MaintenanceWindowArgs args: The arguments to use to populate this resource's properties.
579
+ :param pulumi.ResourceOptions opts: Options for the resource.
580
+ """
581
+ ...
582
+ def __init__(__self__, resource_name: str, *args, **kwargs):
583
+ resource_args, opts = _utilities.get_resource_args_opts(MaintenanceWindowArgs, pulumi.ResourceOptions, *args, **kwargs)
584
+ if resource_args is not None:
585
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
586
+ else:
587
+ __self__._internal_init(resource_name, *args, **kwargs)
588
+
589
+ def _internal_init(__self__,
590
+ resource_name: str,
591
+ opts: Optional[pulumi.ResourceOptions] = None,
592
+ compartment_id: Optional[pulumi.Input[builtins.str]] = None,
593
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
594
+ description: Optional[pulumi.Input[builtins.str]] = None,
595
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
596
+ duration: Optional[pulumi.Input[builtins.str]] = None,
597
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
598
+ is_outage: Optional[pulumi.Input[builtins.bool]] = None,
599
+ is_recurring: Optional[pulumi.Input[builtins.bool]] = None,
600
+ recurrences: Optional[pulumi.Input[builtins.str]] = None,
601
+ time_schedule_start: Optional[pulumi.Input[builtins.str]] = None,
602
+ __props__=None):
603
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
604
+ if not isinstance(opts, pulumi.ResourceOptions):
605
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
606
+ if opts.id is None:
607
+ if __props__ is not None:
608
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
609
+ __props__ = MaintenanceWindowArgs.__new__(MaintenanceWindowArgs)
610
+
611
+ if compartment_id is None and not opts.urn:
612
+ raise TypeError("Missing required property 'compartment_id'")
613
+ __props__.__dict__["compartment_id"] = compartment_id
614
+ __props__.__dict__["defined_tags"] = defined_tags
615
+ __props__.__dict__["description"] = description
616
+ __props__.__dict__["display_name"] = display_name
617
+ if duration is None and not opts.urn:
618
+ raise TypeError("Missing required property 'duration'")
619
+ __props__.__dict__["duration"] = duration
620
+ __props__.__dict__["freeform_tags"] = freeform_tags
621
+ __props__.__dict__["is_outage"] = is_outage
622
+ __props__.__dict__["is_recurring"] = is_recurring
623
+ __props__.__dict__["recurrences"] = recurrences
624
+ if time_schedule_start is None and not opts.urn:
625
+ raise TypeError("Missing required property 'time_schedule_start'")
626
+ __props__.__dict__["time_schedule_start"] = time_schedule_start
627
+ __props__.__dict__["lifecycle_details"] = None
628
+ __props__.__dict__["resource_region"] = None
629
+ __props__.__dict__["state"] = None
630
+ __props__.__dict__["system_tags"] = None
631
+ __props__.__dict__["time_created"] = None
632
+ __props__.__dict__["time_updated"] = None
633
+ super(MaintenanceWindow, __self__).__init__(
634
+ 'oci:FleetAppsManagement/maintenanceWindow:MaintenanceWindow',
635
+ resource_name,
636
+ __props__,
637
+ opts)
638
+
639
+ @staticmethod
640
+ def get(resource_name: str,
641
+ id: pulumi.Input[str],
642
+ opts: Optional[pulumi.ResourceOptions] = None,
643
+ compartment_id: Optional[pulumi.Input[builtins.str]] = None,
644
+ defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
645
+ description: Optional[pulumi.Input[builtins.str]] = None,
646
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
647
+ duration: Optional[pulumi.Input[builtins.str]] = None,
648
+ freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
649
+ is_outage: Optional[pulumi.Input[builtins.bool]] = None,
650
+ is_recurring: Optional[pulumi.Input[builtins.bool]] = None,
651
+ lifecycle_details: Optional[pulumi.Input[builtins.str]] = None,
652
+ recurrences: Optional[pulumi.Input[builtins.str]] = None,
653
+ resource_region: Optional[pulumi.Input[builtins.str]] = None,
654
+ state: Optional[pulumi.Input[builtins.str]] = None,
655
+ system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
656
+ time_created: Optional[pulumi.Input[builtins.str]] = None,
657
+ time_schedule_start: Optional[pulumi.Input[builtins.str]] = None,
658
+ time_updated: Optional[pulumi.Input[builtins.str]] = None) -> 'MaintenanceWindow':
659
+ """
660
+ Get an existing MaintenanceWindow resource's state with the given name, id, and optional extra
661
+ properties used to qualify the lookup.
662
+
663
+ :param str resource_name: The unique name of the resulting resource.
664
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
665
+ :param pulumi.ResourceOptions opts: Options for the resource.
666
+ :param pulumi.Input[builtins.str] compartment_id: Compartment OCID
667
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
668
+ :param pulumi.Input[builtins.str] description: (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
669
+ :param pulumi.Input[builtins.str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
670
+ :param pulumi.Input[builtins.str] duration: (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
671
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
672
+ :param pulumi.Input[builtins.bool] is_outage: (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
673
+ :param pulumi.Input[builtins.bool] is_recurring: (Updatable) Is this a recurring maintenance window?
674
+ :param pulumi.Input[builtins.str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
675
+ :param pulumi.Input[builtins.str] recurrences: (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
676
+ :param pulumi.Input[builtins.str] resource_region: Associated region
677
+ :param pulumi.Input[builtins.str] state: The current state of the MaintenanceWindow.
678
+ :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
679
+ :param pulumi.Input[builtins.str] time_created: The time this resource was created. An RFC3339 formatted datetime string.
680
+ :param pulumi.Input[builtins.str] time_schedule_start: (Updatable) Specify the date and time of the day that the maintenance window starts.
681
+
682
+
683
+ ** IMPORTANT **
684
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
685
+ :param pulumi.Input[builtins.str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string.
686
+ """
687
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
688
+
689
+ __props__ = _MaintenanceWindowState.__new__(_MaintenanceWindowState)
690
+
691
+ __props__.__dict__["compartment_id"] = compartment_id
692
+ __props__.__dict__["defined_tags"] = defined_tags
693
+ __props__.__dict__["description"] = description
694
+ __props__.__dict__["display_name"] = display_name
695
+ __props__.__dict__["duration"] = duration
696
+ __props__.__dict__["freeform_tags"] = freeform_tags
697
+ __props__.__dict__["is_outage"] = is_outage
698
+ __props__.__dict__["is_recurring"] = is_recurring
699
+ __props__.__dict__["lifecycle_details"] = lifecycle_details
700
+ __props__.__dict__["recurrences"] = recurrences
701
+ __props__.__dict__["resource_region"] = resource_region
702
+ __props__.__dict__["state"] = state
703
+ __props__.__dict__["system_tags"] = system_tags
704
+ __props__.__dict__["time_created"] = time_created
705
+ __props__.__dict__["time_schedule_start"] = time_schedule_start
706
+ __props__.__dict__["time_updated"] = time_updated
707
+ return MaintenanceWindow(resource_name, opts=opts, __props__=__props__)
708
+
709
+ @property
710
+ @pulumi.getter(name="compartmentId")
711
+ def compartment_id(self) -> pulumi.Output[builtins.str]:
712
+ """
713
+ Compartment OCID
714
+ """
715
+ return pulumi.get(self, "compartment_id")
716
+
717
+ @property
718
+ @pulumi.getter(name="definedTags")
719
+ def defined_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
720
+ """
721
+ (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
722
+ """
723
+ return pulumi.get(self, "defined_tags")
724
+
725
+ @property
726
+ @pulumi.getter
727
+ def description(self) -> pulumi.Output[builtins.str]:
728
+ """
729
+ (Updatable) A user-friendly description. To provide some insight about the resource. Avoid entering confidential information.
730
+ """
731
+ return pulumi.get(self, "description")
732
+
733
+ @property
734
+ @pulumi.getter(name="displayName")
735
+ def display_name(self) -> pulumi.Output[builtins.str]:
736
+ """
737
+ (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource`
738
+ """
739
+ return pulumi.get(self, "display_name")
740
+
741
+ @property
742
+ @pulumi.getter
743
+ def duration(self) -> pulumi.Output[builtins.str]:
744
+ """
745
+ (Updatable) Duration of the maintenance window. Specify how long the maintenance window remains open.
746
+ """
747
+ return pulumi.get(self, "duration")
748
+
749
+ @property
750
+ @pulumi.getter(name="freeformTags")
751
+ def freeform_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
752
+ """
753
+ (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
754
+ """
755
+ return pulumi.get(self, "freeform_tags")
756
+
757
+ @property
758
+ @pulumi.getter(name="isOutage")
759
+ def is_outage(self) -> pulumi.Output[builtins.bool]:
760
+ """
761
+ (Updatable) Does the maintenenace window cause outage? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible.
762
+ """
763
+ return pulumi.get(self, "is_outage")
764
+
765
+ @property
766
+ @pulumi.getter(name="isRecurring")
767
+ def is_recurring(self) -> pulumi.Output[builtins.bool]:
768
+ """
769
+ (Updatable) Is this a recurring maintenance window?
770
+ """
771
+ return pulumi.get(self, "is_recurring")
772
+
773
+ @property
774
+ @pulumi.getter(name="lifecycleDetails")
775
+ def lifecycle_details(self) -> pulumi.Output[builtins.str]:
776
+ """
777
+ A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
778
+ """
779
+ return pulumi.get(self, "lifecycle_details")
780
+
781
+ @property
782
+ @pulumi.getter
783
+ def recurrences(self) -> pulumi.Output[builtins.str]:
784
+ """
785
+ (Updatable) Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window.
786
+ """
787
+ return pulumi.get(self, "recurrences")
788
+
789
+ @property
790
+ @pulumi.getter(name="resourceRegion")
791
+ def resource_region(self) -> pulumi.Output[builtins.str]:
792
+ """
793
+ Associated region
794
+ """
795
+ return pulumi.get(self, "resource_region")
796
+
797
+ @property
798
+ @pulumi.getter
799
+ def state(self) -> pulumi.Output[builtins.str]:
800
+ """
801
+ The current state of the MaintenanceWindow.
802
+ """
803
+ return pulumi.get(self, "state")
804
+
805
+ @property
806
+ @pulumi.getter(name="systemTags")
807
+ def system_tags(self) -> pulumi.Output[Mapping[str, builtins.str]]:
808
+ """
809
+ System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
810
+ """
811
+ return pulumi.get(self, "system_tags")
812
+
813
+ @property
814
+ @pulumi.getter(name="timeCreated")
815
+ def time_created(self) -> pulumi.Output[builtins.str]:
816
+ """
817
+ The time this resource was created. An RFC3339 formatted datetime string.
818
+ """
819
+ return pulumi.get(self, "time_created")
820
+
821
+ @property
822
+ @pulumi.getter(name="timeScheduleStart")
823
+ def time_schedule_start(self) -> pulumi.Output[builtins.str]:
824
+ """
825
+ (Updatable) Specify the date and time of the day that the maintenance window starts.
826
+
827
+
828
+ ** IMPORTANT **
829
+ Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
830
+ """
831
+ return pulumi.get(self, "time_schedule_start")
832
+
833
+ @property
834
+ @pulumi.getter(name="timeUpdated")
835
+ def time_updated(self) -> pulumi.Output[builtins.str]:
836
+ """
837
+ The time this resource was last updated. An RFC3339 formatted datetime string.
838
+ """
839
+ return pulumi.get(self, "time_updated")
840
+