pulumi-oci 2.23.0a1738304451__py3-none-any.whl → 2.24.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. pulumi_oci/__init__.py +96 -0
  2. pulumi_oci/apmsynthetics/config.py +2 -2
  3. pulumi_oci/apmsynthetics/dedicated_vantage_point.py +2 -2
  4. pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py +2 -2
  5. pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py +2 -2
  6. pulumi_oci/apmsynthetics/get_monitor.py +2 -2
  7. pulumi_oci/apmsynthetics/get_monitors.py +2 -2
  8. pulumi_oci/apmsynthetics/get_on_premise_vantage_point.py +2 -2
  9. pulumi_oci/apmsynthetics/get_on_premise_vantage_point_worker.py +2 -2
  10. pulumi_oci/apmsynthetics/get_on_premise_vantage_point_workers.py +2 -2
  11. pulumi_oci/apmsynthetics/get_on_premise_vantage_points.py +2 -2
  12. pulumi_oci/apmsynthetics/get_result.py +2 -2
  13. pulumi_oci/apmsynthetics/get_script.py +2 -2
  14. pulumi_oci/apmsynthetics/get_scripts.py +2 -2
  15. pulumi_oci/apmsynthetics/get_vantage_point.py +2 -2
  16. pulumi_oci/apmsynthetics/get_vantage_points.py +2 -2
  17. pulumi_oci/apmsynthetics/on_premise_vantage_point.py +2 -2
  18. pulumi_oci/apmsynthetics/on_premise_vantage_point_worker.py +2 -2
  19. pulumi_oci/apmsynthetics/script.py +2 -2
  20. pulumi_oci/database/__init__.py +20 -0
  21. pulumi_oci/database/_inputs.py +2242 -1118
  22. pulumi_oci/database/backup.py +30 -0
  23. pulumi_oci/database/cloud_exadata_infrastructure.py +28 -0
  24. pulumi_oci/database/exadata_infrastructure.py +28 -0
  25. pulumi_oci/database/execution_action.py +812 -0
  26. pulumi_oci/database/execution_window.py +856 -0
  27. pulumi_oci/database/get_cloud_exadata_infrastructure.py +15 -1
  28. pulumi_oci/database/get_database_maintenance_run_history.py +29 -1
  29. pulumi_oci/database/get_exadata_infrastructure.py +15 -1
  30. pulumi_oci/database/get_execution_action.py +352 -0
  31. pulumi_oci/database/get_execution_actions.py +213 -0
  32. pulumi_oci/database/get_execution_window.py +379 -0
  33. pulumi_oci/database/get_execution_windows.py +213 -0
  34. pulumi_oci/database/get_maintenance_run.py +32 -4
  35. pulumi_oci/database/get_scheduled_action.py +324 -0
  36. pulumi_oci/database/get_scheduled_action_params.py +144 -0
  37. pulumi_oci/database/get_scheduled_actions.py +240 -0
  38. pulumi_oci/database/get_scheduling_plan.py +323 -0
  39. pulumi_oci/database/get_scheduling_plans.py +243 -0
  40. pulumi_oci/database/get_scheduling_policies.py +191 -0
  41. pulumi_oci/database/get_scheduling_policy.py +268 -0
  42. pulumi_oci/database/get_scheduling_policy_recommended_scheduled_actions.py +182 -0
  43. pulumi_oci/database/get_scheduling_policy_scheduling_window.py +276 -0
  44. pulumi_oci/database/get_scheduling_policy_scheduling_windows.py +213 -0
  45. pulumi_oci/database/maintenance_run.py +58 -2
  46. pulumi_oci/database/outputs.py +11946 -7866
  47. pulumi_oci/database/scheduled_action.py +775 -0
  48. pulumi_oci/database/scheduling_plan.py +744 -0
  49. pulumi_oci/database/scheduling_policy.py +616 -0
  50. pulumi_oci/database/scheduling_policy_scheduling_window.py +584 -0
  51. pulumi_oci/databasemanagement/__init__.py +7 -0
  52. pulumi_oci/databasemanagement/_inputs.py +282 -0
  53. pulumi_oci/databasemanagement/external_my_sql_database.py +297 -0
  54. pulumi_oci/databasemanagement/external_my_sql_database_connector.py +890 -0
  55. pulumi_oci/databasemanagement/external_my_sql_database_external_mysql_databases_management.py +302 -0
  56. pulumi_oci/databasemanagement/get_external_my_sql_database.py +152 -0
  57. pulumi_oci/databasemanagement/get_external_my_sql_database_connector.py +413 -0
  58. pulumi_oci/databasemanagement/get_external_my_sql_database_connectors.py +169 -0
  59. pulumi_oci/databasemanagement/get_external_my_sql_databases.py +166 -0
  60. pulumi_oci/databasemanagement/get_managed_my_sql_database.py +60 -4
  61. pulumi_oci/databasemanagement/get_managed_my_sql_databases.py +22 -3
  62. pulumi_oci/databasemanagement/outputs.py +767 -1
  63. pulumi_oci/datasafe/__init__.py +8 -0
  64. pulumi_oci/datasafe/_inputs.py +466 -12
  65. pulumi_oci/datasafe/alert.py +7 -7
  66. pulumi_oci/datasafe/alert_policy.py +7 -7
  67. pulumi_oci/datasafe/audit_archive_retrieval.py +7 -7
  68. pulumi_oci/datasafe/audit_policy.py +7 -7
  69. pulumi_oci/datasafe/audit_policy_management.py +21 -21
  70. pulumi_oci/datasafe/audit_profile.py +18 -18
  71. pulumi_oci/datasafe/audit_profile_management.py +21 -21
  72. pulumi_oci/datasafe/audit_trail.py +14 -14
  73. pulumi_oci/datasafe/audit_trail_management.py +14 -14
  74. pulumi_oci/datasafe/data_safe_configuration.py +4 -4
  75. pulumi_oci/datasafe/data_safe_private_endpoint.py +7 -7
  76. pulumi_oci/datasafe/database_security_config.py +7 -7
  77. pulumi_oci/datasafe/database_security_config_management.py +7 -7
  78. pulumi_oci/datasafe/discovery_mod.py +7 -7
  79. pulumi_oci/datasafe/get_alert.py +1 -1
  80. pulumi_oci/datasafe/get_alert_policy.py +1 -1
  81. pulumi_oci/datasafe/get_audit_archive_retrieval.py +1 -1
  82. pulumi_oci/datasafe/get_audit_events.py +2 -2
  83. pulumi_oci/datasafe/get_audit_policy.py +1 -1
  84. pulumi_oci/datasafe/get_audit_profile.py +2 -2
  85. pulumi_oci/datasafe/get_audit_trail.py +1 -1
  86. pulumi_oci/datasafe/get_data_safe_configuration.py +1 -1
  87. pulumi_oci/datasafe/get_data_safe_private_endpoint.py +1 -1
  88. pulumi_oci/datasafe/get_database_security_config.py +1 -1
  89. pulumi_oci/datasafe/get_discovery_job.py +1 -1
  90. pulumi_oci/datasafe/get_library_masking_format.py +1 -1
  91. pulumi_oci/datasafe/get_masking_policy.py +1 -1
  92. pulumi_oci/datasafe/get_masking_policy_health_report.py +33 -5
  93. pulumi_oci/datasafe/get_masking_policy_referential_relations.py +232 -0
  94. pulumi_oci/datasafe/get_onprem_connector.py +1 -1
  95. pulumi_oci/datasafe/get_report.py +1 -1
  96. pulumi_oci/datasafe/get_report_definition.py +1 -1
  97. pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +1 -1
  98. pulumi_oci/datasafe/get_security_assessment.py +1 -1
  99. pulumi_oci/datasafe/get_security_policy.py +1 -1
  100. pulumi_oci/datasafe/get_security_policy_deployment.py +1 -1
  101. pulumi_oci/datasafe/get_sensitive_data_model.py +1 -1
  102. pulumi_oci/datasafe/get_sensitive_data_model_referential_relation.py +186 -0
  103. pulumi_oci/datasafe/get_sensitive_data_model_referential_relations.py +254 -0
  104. pulumi_oci/datasafe/get_sensitive_type.py +1 -1
  105. pulumi_oci/datasafe/get_sensitive_types_export.py +267 -0
  106. pulumi_oci/datasafe/get_sensitive_types_exports.py +296 -0
  107. pulumi_oci/datasafe/get_sql_collection.py +1 -1
  108. pulumi_oci/datasafe/get_sql_firewall_allowed_sql.py +1 -1
  109. pulumi_oci/datasafe/get_sql_firewall_policy.py +1 -1
  110. pulumi_oci/datasafe/get_target_alert_policy_association.py +1 -1
  111. pulumi_oci/datasafe/get_target_database.py +1 -1
  112. pulumi_oci/datasafe/get_user_assessment.py +1 -1
  113. pulumi_oci/datasafe/get_user_assessment_password_expiry_date_analytics.py +240 -0
  114. pulumi_oci/datasafe/get_user_assessment_user_analytics.py +41 -3
  115. pulumi_oci/datasafe/get_user_assessment_users.py +39 -1
  116. pulumi_oci/datasafe/library_masing_format.py +7 -7
  117. pulumi_oci/datasafe/masking_policy.py +7 -7
  118. pulumi_oci/datasafe/on_prem_connector.py +7 -7
  119. pulumi_oci/datasafe/outputs.py +1266 -151
  120. pulumi_oci/datasafe/report.py +7 -7
  121. pulumi_oci/datasafe/report_definition.py +7 -7
  122. pulumi_oci/datasafe/sdm_masking_policy_difference.py +7 -7
  123. pulumi_oci/datasafe/security_assessment.py +36 -37
  124. pulumi_oci/datasafe/security_policy.py +7 -7
  125. pulumi_oci/datasafe/security_policy_deployment.py +7 -7
  126. pulumi_oci/datasafe/security_policy_deployment_management.py +7 -7
  127. pulumi_oci/datasafe/security_policy_management.py +7 -7
  128. pulumi_oci/datasafe/sensitive_data_model.py +7 -7
  129. pulumi_oci/datasafe/sensitive_data_model_referential_relation.py +504 -0
  130. pulumi_oci/datasafe/sensitive_type.py +7 -7
  131. pulumi_oci/datasafe/sensitive_types_export.py +637 -0
  132. pulumi_oci/datasafe/sql_collection.py +7 -7
  133. pulumi_oci/datasafe/sql_firewall_policy.py +7 -7
  134. pulumi_oci/datasafe/sql_firewall_policy_management.py +56 -56
  135. pulumi_oci/datasafe/target_alert_policy_association.py +7 -7
  136. pulumi_oci/datasafe/target_database.py +7 -7
  137. pulumi_oci/datasafe/user_assessment.py +7 -7
  138. pulumi_oci/datascience/__init__.py +4 -0
  139. pulumi_oci/datascience/_inputs.py +1811 -0
  140. pulumi_oci/datascience/get_containers.py +270 -0
  141. pulumi_oci/datascience/get_schedule.py +366 -0
  142. pulumi_oci/datascience/get_schedules.py +221 -0
  143. pulumi_oci/datascience/outputs.py +8697 -4890
  144. pulumi_oci/datascience/schedule.py +1045 -0
  145. pulumi_oci/disasterrecovery/_inputs.py +720 -0
  146. pulumi_oci/disasterrecovery/dr_protection_group.py +0 -188
  147. pulumi_oci/disasterrecovery/get_dr_protection_group.py +1 -1
  148. pulumi_oci/disasterrecovery/outputs.py +1328 -48
  149. pulumi_oci/mysql/_inputs.py +229 -9
  150. pulumi_oci/mysql/get_mysql_db_system.py +47 -1
  151. pulumi_oci/mysql/mysql_db_system.py +185 -0
  152. pulumi_oci/mysql/outputs.py +477 -26
  153. pulumi_oci/opsi/_inputs.py +20 -0
  154. pulumi_oci/opsi/database_insight.py +47 -0
  155. pulumi_oci/opsi/get_database_insight.py +15 -1
  156. pulumi_oci/opsi/get_news_report.py +29 -1
  157. pulumi_oci/opsi/news_report.py +117 -17
  158. pulumi_oci/opsi/outputs.py +70 -1
  159. pulumi_oci/pulumi-plugin.json +1 -1
  160. {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/METADATA +1 -1
  161. {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/RECORD +163 -124
  162. {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/WHEEL +0 -0
  163. {pulumi_oci-2.23.0a1738304451.dist-info → pulumi_oci-2.24.0.dist-info}/top_level.txt +0 -0
@@ -25,6 +25,7 @@ class MysqlDbSystemArgs:
25
25
  compartment_id: pulumi.Input[str],
26
26
  shape_name: pulumi.Input[str],
27
27
  subnet_id: pulumi.Input[str],
28
+ access_mode: Optional[pulumi.Input[str]] = None,
28
29
  admin_password: Optional[pulumi.Input[str]] = None,
29
30
  admin_username: Optional[pulumi.Input[str]] = None,
30
31
  backup_policy: Optional[pulumi.Input['MysqlDbSystemBackupPolicyArgs']] = None,
@@ -34,6 +35,7 @@ class MysqlDbSystemArgs:
34
35
  data_storage: Optional[pulumi.Input['MysqlDbSystemDataStorageArgs']] = None,
35
36
  data_storage_size_in_gb: Optional[pulumi.Input[int]] = None,
36
37
  database_management: Optional[pulumi.Input[str]] = None,
38
+ database_mode: Optional[pulumi.Input[str]] = None,
37
39
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
38
40
  deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemDeletionPolicyArgs']]]] = None,
39
41
  description: Optional[pulumi.Input[str]] = None,
@@ -47,6 +49,7 @@ class MysqlDbSystemArgs:
47
49
  mysql_version: Optional[pulumi.Input[str]] = None,
48
50
  port: Optional[pulumi.Input[int]] = None,
49
51
  port_x: Optional[pulumi.Input[int]] = None,
52
+ read_endpoint: Optional[pulumi.Input['MysqlDbSystemReadEndpointArgs']] = None,
50
53
  secure_connections: Optional[pulumi.Input['MysqlDbSystemSecureConnectionsArgs']] = None,
51
54
  shutdown_type: Optional[pulumi.Input[str]] = None,
52
55
  source: Optional[pulumi.Input['MysqlDbSystemSourceArgs']] = None,
@@ -62,6 +65,9 @@ class MysqlDbSystemArgs:
62
65
  :param pulumi.Input[str] shape_name: (Updatable) The name of the shape. The shape determines the resources allocated
63
66
  * CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.
64
67
  :param pulumi.Input[str] subnet_id: The OCID of the subnet the DB System is associated with.
68
+ :param pulumi.Input[str] access_mode: (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
69
+ * UNRESTRICTED (default): the access to the database is not restricted;
70
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
65
71
  :param pulumi.Input[str] admin_password: The password for the administrative user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
66
72
  :param pulumi.Input[str] admin_username: The username for the administrative user.
67
73
  :param pulumi.Input['MysqlDbSystemBackupPolicyArgs'] backup_policy: (Updatable) Backup policy as optionally used for DB System Creation.
@@ -71,6 +77,9 @@ class MysqlDbSystemArgs:
71
77
  :param pulumi.Input['MysqlDbSystemDataStorageArgs'] data_storage: (Updatable) Data Storage configuration properties.
72
78
  :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup.
73
79
  :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service.
80
+ :param pulumi.Input[str] database_mode: (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
81
+ * READ_WRITE (default): allow running read and write statements on the DB system;
82
+ * READ_ONLY: only allow running read statements on the DB system.
74
83
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}`
75
84
  :param pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemDeletionPolicyArgs']]] deletion_policies: (Updatable) Policy for how the DB System and related resources should be handled at the time of its deletion.
76
85
  :param pulumi.Input[str] description: (Updatable) User-provided data about the DB System.
@@ -94,6 +103,7 @@ class MysqlDbSystemArgs:
94
103
  :param pulumi.Input[str] mysql_version: The specific MySQL version identifier.
95
104
  :param pulumi.Input[int] port: The port for primary endpoint of the DB System to listen on.
96
105
  :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
106
+ :param pulumi.Input['MysqlDbSystemReadEndpointArgs'] read_endpoint: (Updatable) Details required to create a Read Endpoint.
97
107
  :param pulumi.Input['MysqlDbSystemSecureConnectionsArgs'] secure_connections: (Updatable) Secure connection configuration details.
98
108
  :param pulumi.Input[str] shutdown_type: It is applicable only for stopping a DB System. Could be set to `FAST`, `SLOW` or `IMMEDIATE`. Default value is `FAST`.
99
109
 
@@ -106,6 +116,8 @@ class MysqlDbSystemArgs:
106
116
  pulumi.set(__self__, "compartment_id", compartment_id)
107
117
  pulumi.set(__self__, "shape_name", shape_name)
108
118
  pulumi.set(__self__, "subnet_id", subnet_id)
119
+ if access_mode is not None:
120
+ pulumi.set(__self__, "access_mode", access_mode)
109
121
  if admin_password is not None:
110
122
  pulumi.set(__self__, "admin_password", admin_password)
111
123
  if admin_username is not None:
@@ -124,6 +136,8 @@ class MysqlDbSystemArgs:
124
136
  pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb)
125
137
  if database_management is not None:
126
138
  pulumi.set(__self__, "database_management", database_management)
139
+ if database_mode is not None:
140
+ pulumi.set(__self__, "database_mode", database_mode)
127
141
  if defined_tags is not None:
128
142
  pulumi.set(__self__, "defined_tags", defined_tags)
129
143
  if deletion_policies is not None:
@@ -150,6 +164,8 @@ class MysqlDbSystemArgs:
150
164
  pulumi.set(__self__, "port", port)
151
165
  if port_x is not None:
152
166
  pulumi.set(__self__, "port_x", port_x)
167
+ if read_endpoint is not None:
168
+ pulumi.set(__self__, "read_endpoint", read_endpoint)
153
169
  if secure_connections is not None:
154
170
  pulumi.set(__self__, "secure_connections", secure_connections)
155
171
  if shutdown_type is not None:
@@ -212,6 +228,20 @@ class MysqlDbSystemArgs:
212
228
  def subnet_id(self, value: pulumi.Input[str]):
213
229
  pulumi.set(self, "subnet_id", value)
214
230
 
231
+ @property
232
+ @pulumi.getter(name="accessMode")
233
+ def access_mode(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
236
+ * UNRESTRICTED (default): the access to the database is not restricted;
237
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
238
+ """
239
+ return pulumi.get(self, "access_mode")
240
+
241
+ @access_mode.setter
242
+ def access_mode(self, value: Optional[pulumi.Input[str]]):
243
+ pulumi.set(self, "access_mode", value)
244
+
215
245
  @property
216
246
  @pulumi.getter(name="adminPassword")
217
247
  def admin_password(self) -> Optional[pulumi.Input[str]]:
@@ -320,6 +350,20 @@ class MysqlDbSystemArgs:
320
350
  def database_management(self, value: Optional[pulumi.Input[str]]):
321
351
  pulumi.set(self, "database_management", value)
322
352
 
353
+ @property
354
+ @pulumi.getter(name="databaseMode")
355
+ def database_mode(self) -> Optional[pulumi.Input[str]]:
356
+ """
357
+ (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
358
+ * READ_WRITE (default): allow running read and write statements on the DB system;
359
+ * READ_ONLY: only allow running read statements on the DB system.
360
+ """
361
+ return pulumi.get(self, "database_mode")
362
+
363
+ @database_mode.setter
364
+ def database_mode(self, value: Optional[pulumi.Input[str]]):
365
+ pulumi.set(self, "database_mode", value)
366
+
323
367
  @property
324
368
  @pulumi.getter(name="definedTags")
325
369
  def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -486,6 +530,18 @@ class MysqlDbSystemArgs:
486
530
  def port_x(self, value: Optional[pulumi.Input[int]]):
487
531
  pulumi.set(self, "port_x", value)
488
532
 
533
+ @property
534
+ @pulumi.getter(name="readEndpoint")
535
+ def read_endpoint(self) -> Optional[pulumi.Input['MysqlDbSystemReadEndpointArgs']]:
536
+ """
537
+ (Updatable) Details required to create a Read Endpoint.
538
+ """
539
+ return pulumi.get(self, "read_endpoint")
540
+
541
+ @read_endpoint.setter
542
+ def read_endpoint(self, value: Optional[pulumi.Input['MysqlDbSystemReadEndpointArgs']]):
543
+ pulumi.set(self, "read_endpoint", value)
544
+
489
545
  @property
490
546
  @pulumi.getter(name="secureConnections")
491
547
  def secure_connections(self) -> Optional[pulumi.Input['MysqlDbSystemSecureConnectionsArgs']]:
@@ -541,6 +597,7 @@ class MysqlDbSystemArgs:
541
597
  @pulumi.input_type
542
598
  class _MysqlDbSystemState:
543
599
  def __init__(__self__, *,
600
+ access_mode: Optional[pulumi.Input[str]] = None,
544
601
  admin_password: Optional[pulumi.Input[str]] = None,
545
602
  admin_username: Optional[pulumi.Input[str]] = None,
546
603
  availability_domain: Optional[pulumi.Input[str]] = None,
@@ -554,6 +611,7 @@ class _MysqlDbSystemState:
554
611
  data_storage: Optional[pulumi.Input['MysqlDbSystemDataStorageArgs']] = None,
555
612
  data_storage_size_in_gb: Optional[pulumi.Input[int]] = None,
556
613
  database_management: Optional[pulumi.Input[str]] = None,
614
+ database_mode: Optional[pulumi.Input[str]] = None,
557
615
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
558
616
  deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemDeletionPolicyArgs']]]] = None,
559
617
  description: Optional[pulumi.Input[str]] = None,
@@ -572,6 +630,7 @@ class _MysqlDbSystemState:
572
630
  point_in_time_recovery_details: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemPointInTimeRecoveryDetailArgs']]]] = None,
573
631
  port: Optional[pulumi.Input[int]] = None,
574
632
  port_x: Optional[pulumi.Input[int]] = None,
633
+ read_endpoint: Optional[pulumi.Input['MysqlDbSystemReadEndpointArgs']] = None,
575
634
  secure_connections: Optional[pulumi.Input['MysqlDbSystemSecureConnectionsArgs']] = None,
576
635
  shape_name: Optional[pulumi.Input[str]] = None,
577
636
  shutdown_type: Optional[pulumi.Input[str]] = None,
@@ -582,6 +641,9 @@ class _MysqlDbSystemState:
582
641
  time_updated: Optional[pulumi.Input[str]] = None):
583
642
  """
584
643
  Input properties used for looking up and filtering MysqlDbSystem resources.
644
+ :param pulumi.Input[str] access_mode: (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
645
+ * UNRESTRICTED (default): the access to the database is not restricted;
646
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
585
647
  :param pulumi.Input[str] admin_password: The password for the administrative user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
586
648
  :param pulumi.Input[str] admin_username: The username for the administrative user.
587
649
  :param pulumi.Input[str] availability_domain: The availability domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.
@@ -599,6 +661,9 @@ class _MysqlDbSystemState:
599
661
  :param pulumi.Input['MysqlDbSystemDataStorageArgs'] data_storage: (Updatable) Data Storage configuration properties.
600
662
  :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup.
601
663
  :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service.
664
+ :param pulumi.Input[str] database_mode: (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
665
+ * READ_WRITE (default): allow running read and write statements on the DB system;
666
+ * READ_ONLY: only allow running read statements on the DB system.
602
667
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}`
603
668
  :param pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemDeletionPolicyArgs']]] deletion_policies: (Updatable) Policy for how the DB System and related resources should be handled at the time of its deletion.
604
669
  :param pulumi.Input[str] description: (Updatable) User-provided data about the DB System.
@@ -627,6 +692,7 @@ class _MysqlDbSystemState:
627
692
  :param pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemPointInTimeRecoveryDetailArgs']]] point_in_time_recovery_details: Point-in-time Recovery details like earliest and latest recovery time point for the DB System.
628
693
  :param pulumi.Input[int] port: The port for primary endpoint of the DB System to listen on.
629
694
  :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
695
+ :param pulumi.Input['MysqlDbSystemReadEndpointArgs'] read_endpoint: (Updatable) Details required to create a Read Endpoint.
630
696
  :param pulumi.Input['MysqlDbSystemSecureConnectionsArgs'] secure_connections: (Updatable) Secure connection configuration details.
631
697
  :param pulumi.Input[str] shape_name: (Updatable) The name of the shape. The shape determines the resources allocated
632
698
  * CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.
@@ -640,6 +706,8 @@ class _MysqlDbSystemState:
640
706
  :param pulumi.Input[str] time_created: The date and time the DB System was created.
641
707
  :param pulumi.Input[str] time_updated: The time the DB System was last updated.
642
708
  """
709
+ if access_mode is not None:
710
+ pulumi.set(__self__, "access_mode", access_mode)
643
711
  if admin_password is not None:
644
712
  pulumi.set(__self__, "admin_password", admin_password)
645
713
  if admin_username is not None:
@@ -666,6 +734,8 @@ class _MysqlDbSystemState:
666
734
  pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb)
667
735
  if database_management is not None:
668
736
  pulumi.set(__self__, "database_management", database_management)
737
+ if database_mode is not None:
738
+ pulumi.set(__self__, "database_mode", database_mode)
669
739
  if defined_tags is not None:
670
740
  pulumi.set(__self__, "defined_tags", defined_tags)
671
741
  if deletion_policies is not None:
@@ -702,6 +772,8 @@ class _MysqlDbSystemState:
702
772
  pulumi.set(__self__, "port", port)
703
773
  if port_x is not None:
704
774
  pulumi.set(__self__, "port_x", port_x)
775
+ if read_endpoint is not None:
776
+ pulumi.set(__self__, "read_endpoint", read_endpoint)
705
777
  if secure_connections is not None:
706
778
  pulumi.set(__self__, "secure_connections", secure_connections)
707
779
  if shape_name is not None:
@@ -719,6 +791,20 @@ class _MysqlDbSystemState:
719
791
  if time_updated is not None:
720
792
  pulumi.set(__self__, "time_updated", time_updated)
721
793
 
794
+ @property
795
+ @pulumi.getter(name="accessMode")
796
+ def access_mode(self) -> Optional[pulumi.Input[str]]:
797
+ """
798
+ (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
799
+ * UNRESTRICTED (default): the access to the database is not restricted;
800
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
801
+ """
802
+ return pulumi.get(self, "access_mode")
803
+
804
+ @access_mode.setter
805
+ def access_mode(self, value: Optional[pulumi.Input[str]]):
806
+ pulumi.set(self, "access_mode", value)
807
+
722
808
  @property
723
809
  @pulumi.getter(name="adminPassword")
724
810
  def admin_password(self) -> Optional[pulumi.Input[str]]:
@@ -879,6 +965,20 @@ class _MysqlDbSystemState:
879
965
  def database_management(self, value: Optional[pulumi.Input[str]]):
880
966
  pulumi.set(self, "database_management", value)
881
967
 
968
+ @property
969
+ @pulumi.getter(name="databaseMode")
970
+ def database_mode(self) -> Optional[pulumi.Input[str]]:
971
+ """
972
+ (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
973
+ * READ_WRITE (default): allow running read and write statements on the DB system;
974
+ * READ_ONLY: only allow running read statements on the DB system.
975
+ """
976
+ return pulumi.get(self, "database_mode")
977
+
978
+ @database_mode.setter
979
+ def database_mode(self, value: Optional[pulumi.Input[str]]):
980
+ pulumi.set(self, "database_mode", value)
981
+
882
982
  @property
883
983
  @pulumi.getter(name="definedTags")
884
984
  def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
@@ -1105,6 +1205,18 @@ class _MysqlDbSystemState:
1105
1205
  def port_x(self, value: Optional[pulumi.Input[int]]):
1106
1206
  pulumi.set(self, "port_x", value)
1107
1207
 
1208
+ @property
1209
+ @pulumi.getter(name="readEndpoint")
1210
+ def read_endpoint(self) -> Optional[pulumi.Input['MysqlDbSystemReadEndpointArgs']]:
1211
+ """
1212
+ (Updatable) Details required to create a Read Endpoint.
1213
+ """
1214
+ return pulumi.get(self, "read_endpoint")
1215
+
1216
+ @read_endpoint.setter
1217
+ def read_endpoint(self, value: Optional[pulumi.Input['MysqlDbSystemReadEndpointArgs']]):
1218
+ pulumi.set(self, "read_endpoint", value)
1219
+
1108
1220
  @property
1109
1221
  @pulumi.getter(name="secureConnections")
1110
1222
  def secure_connections(self) -> Optional[pulumi.Input['MysqlDbSystemSecureConnectionsArgs']]:
@@ -1211,6 +1323,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1211
1323
  def __init__(__self__,
1212
1324
  resource_name: str,
1213
1325
  opts: Optional[pulumi.ResourceOptions] = None,
1326
+ access_mode: Optional[pulumi.Input[str]] = None,
1214
1327
  admin_password: Optional[pulumi.Input[str]] = None,
1215
1328
  admin_username: Optional[pulumi.Input[str]] = None,
1216
1329
  availability_domain: Optional[pulumi.Input[str]] = None,
@@ -1222,6 +1335,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1222
1335
  data_storage: Optional[pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']]] = None,
1223
1336
  data_storage_size_in_gb: Optional[pulumi.Input[int]] = None,
1224
1337
  database_management: Optional[pulumi.Input[str]] = None,
1338
+ database_mode: Optional[pulumi.Input[str]] = None,
1225
1339
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1226
1340
  deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemDeletionPolicyArgs', 'MysqlDbSystemDeletionPolicyArgsDict']]]]] = None,
1227
1341
  description: Optional[pulumi.Input[str]] = None,
@@ -1235,6 +1349,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1235
1349
  mysql_version: Optional[pulumi.Input[str]] = None,
1236
1350
  port: Optional[pulumi.Input[int]] = None,
1237
1351
  port_x: Optional[pulumi.Input[int]] = None,
1352
+ read_endpoint: Optional[pulumi.Input[Union['MysqlDbSystemReadEndpointArgs', 'MysqlDbSystemReadEndpointArgsDict']]] = None,
1238
1353
  secure_connections: Optional[pulumi.Input[Union['MysqlDbSystemSecureConnectionsArgs', 'MysqlDbSystemSecureConnectionsArgsDict']]] = None,
1239
1354
  shape_name: Optional[pulumi.Input[str]] = None,
1240
1355
  shutdown_type: Optional[pulumi.Input[str]] = None,
@@ -1258,6 +1373,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1258
1373
  compartment_id=compartment_id,
1259
1374
  shape_name=mysql_shape_name,
1260
1375
  subnet_id=test_subnet["id"],
1376
+ access_mode=mysql_db_system_access_mode,
1261
1377
  admin_password=mysql_db_system_admin_password,
1262
1378
  admin_username=mysql_db_system_admin_username,
1263
1379
  backup_policy={
@@ -1285,6 +1401,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1285
1401
  },
1286
1402
  data_storage_size_in_gb=mysql_db_system_data_storage_size_in_gb,
1287
1403
  database_management=mysql_db_system_database_management,
1404
+ database_mode=mysql_db_system_database_mode,
1288
1405
  defined_tags={
1289
1406
  "foo-namespace.bar-key": "value",
1290
1407
  },
@@ -1307,6 +1424,12 @@ class MysqlDbSystem(pulumi.CustomResource):
1307
1424
  },
1308
1425
  port=mysql_db_system_port,
1309
1426
  port_x=mysql_db_system_port_x,
1427
+ read_endpoint={
1428
+ "exclude_ips": mysql_db_system_read_endpoint_exclude_ips,
1429
+ "is_enabled": mysql_db_system_read_endpoint_is_enabled,
1430
+ "read_endpoint_hostname_label": mysql_db_system_read_endpoint_read_endpoint_hostname_label,
1431
+ "read_endpoint_ip_address": mysql_db_system_read_endpoint_read_endpoint_ip_address,
1432
+ },
1310
1433
  secure_connections={
1311
1434
  "certificate_generation_type": mysql_db_system_secure_connections_certificate_generation_type,
1312
1435
  "certificate_id": test_certificate["id"],
@@ -1327,6 +1450,9 @@ class MysqlDbSystem(pulumi.CustomResource):
1327
1450
 
1328
1451
  :param str resource_name: The name of the resource.
1329
1452
  :param pulumi.ResourceOptions opts: Options for the resource.
1453
+ :param pulumi.Input[str] access_mode: (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
1454
+ * UNRESTRICTED (default): the access to the database is not restricted;
1455
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
1330
1456
  :param pulumi.Input[str] admin_password: The password for the administrative user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
1331
1457
  :param pulumi.Input[str] admin_username: The username for the administrative user.
1332
1458
  :param pulumi.Input[str] availability_domain: The availability domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.
@@ -1342,6 +1468,9 @@ class MysqlDbSystem(pulumi.CustomResource):
1342
1468
  :param pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']] data_storage: (Updatable) Data Storage configuration properties.
1343
1469
  :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup.
1344
1470
  :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service.
1471
+ :param pulumi.Input[str] database_mode: (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
1472
+ * READ_WRITE (default): allow running read and write statements on the DB system;
1473
+ * READ_ONLY: only allow running read statements on the DB system.
1345
1474
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}`
1346
1475
  :param pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemDeletionPolicyArgs', 'MysqlDbSystemDeletionPolicyArgsDict']]]] deletion_policies: (Updatable) Policy for how the DB System and related resources should be handled at the time of its deletion.
1347
1476
  :param pulumi.Input[str] description: (Updatable) User-provided data about the DB System.
@@ -1365,6 +1494,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1365
1494
  :param pulumi.Input[str] mysql_version: The specific MySQL version identifier.
1366
1495
  :param pulumi.Input[int] port: The port for primary endpoint of the DB System to listen on.
1367
1496
  :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
1497
+ :param pulumi.Input[Union['MysqlDbSystemReadEndpointArgs', 'MysqlDbSystemReadEndpointArgsDict']] read_endpoint: (Updatable) Details required to create a Read Endpoint.
1368
1498
  :param pulumi.Input[Union['MysqlDbSystemSecureConnectionsArgs', 'MysqlDbSystemSecureConnectionsArgsDict']] secure_connections: (Updatable) Secure connection configuration details.
1369
1499
  :param pulumi.Input[str] shape_name: (Updatable) The name of the shape. The shape determines the resources allocated
1370
1500
  * CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.
@@ -1398,6 +1528,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1398
1528
  compartment_id=compartment_id,
1399
1529
  shape_name=mysql_shape_name,
1400
1530
  subnet_id=test_subnet["id"],
1531
+ access_mode=mysql_db_system_access_mode,
1401
1532
  admin_password=mysql_db_system_admin_password,
1402
1533
  admin_username=mysql_db_system_admin_username,
1403
1534
  backup_policy={
@@ -1425,6 +1556,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1425
1556
  },
1426
1557
  data_storage_size_in_gb=mysql_db_system_data_storage_size_in_gb,
1427
1558
  database_management=mysql_db_system_database_management,
1559
+ database_mode=mysql_db_system_database_mode,
1428
1560
  defined_tags={
1429
1561
  "foo-namespace.bar-key": "value",
1430
1562
  },
@@ -1447,6 +1579,12 @@ class MysqlDbSystem(pulumi.CustomResource):
1447
1579
  },
1448
1580
  port=mysql_db_system_port,
1449
1581
  port_x=mysql_db_system_port_x,
1582
+ read_endpoint={
1583
+ "exclude_ips": mysql_db_system_read_endpoint_exclude_ips,
1584
+ "is_enabled": mysql_db_system_read_endpoint_is_enabled,
1585
+ "read_endpoint_hostname_label": mysql_db_system_read_endpoint_read_endpoint_hostname_label,
1586
+ "read_endpoint_ip_address": mysql_db_system_read_endpoint_read_endpoint_ip_address,
1587
+ },
1450
1588
  secure_connections={
1451
1589
  "certificate_generation_type": mysql_db_system_secure_connections_certificate_generation_type,
1452
1590
  "certificate_id": test_certificate["id"],
@@ -1480,6 +1618,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1480
1618
  def _internal_init(__self__,
1481
1619
  resource_name: str,
1482
1620
  opts: Optional[pulumi.ResourceOptions] = None,
1621
+ access_mode: Optional[pulumi.Input[str]] = None,
1483
1622
  admin_password: Optional[pulumi.Input[str]] = None,
1484
1623
  admin_username: Optional[pulumi.Input[str]] = None,
1485
1624
  availability_domain: Optional[pulumi.Input[str]] = None,
@@ -1491,6 +1630,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1491
1630
  data_storage: Optional[pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']]] = None,
1492
1631
  data_storage_size_in_gb: Optional[pulumi.Input[int]] = None,
1493
1632
  database_management: Optional[pulumi.Input[str]] = None,
1633
+ database_mode: Optional[pulumi.Input[str]] = None,
1494
1634
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1495
1635
  deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemDeletionPolicyArgs', 'MysqlDbSystemDeletionPolicyArgsDict']]]]] = None,
1496
1636
  description: Optional[pulumi.Input[str]] = None,
@@ -1504,6 +1644,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1504
1644
  mysql_version: Optional[pulumi.Input[str]] = None,
1505
1645
  port: Optional[pulumi.Input[int]] = None,
1506
1646
  port_x: Optional[pulumi.Input[int]] = None,
1647
+ read_endpoint: Optional[pulumi.Input[Union['MysqlDbSystemReadEndpointArgs', 'MysqlDbSystemReadEndpointArgsDict']]] = None,
1507
1648
  secure_connections: Optional[pulumi.Input[Union['MysqlDbSystemSecureConnectionsArgs', 'MysqlDbSystemSecureConnectionsArgsDict']]] = None,
1508
1649
  shape_name: Optional[pulumi.Input[str]] = None,
1509
1650
  shutdown_type: Optional[pulumi.Input[str]] = None,
@@ -1519,6 +1660,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1519
1660
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
1520
1661
  __props__ = MysqlDbSystemArgs.__new__(MysqlDbSystemArgs)
1521
1662
 
1663
+ __props__.__dict__["access_mode"] = access_mode
1522
1664
  __props__.__dict__["admin_password"] = None if admin_password is None else pulumi.Output.secret(admin_password)
1523
1665
  __props__.__dict__["admin_username"] = admin_username
1524
1666
  if availability_domain is None and not opts.urn:
@@ -1534,6 +1676,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1534
1676
  __props__.__dict__["data_storage"] = data_storage
1535
1677
  __props__.__dict__["data_storage_size_in_gb"] = data_storage_size_in_gb
1536
1678
  __props__.__dict__["database_management"] = database_management
1679
+ __props__.__dict__["database_mode"] = database_mode
1537
1680
  __props__.__dict__["defined_tags"] = defined_tags
1538
1681
  __props__.__dict__["deletion_policies"] = deletion_policies
1539
1682
  __props__.__dict__["description"] = description
@@ -1547,6 +1690,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1547
1690
  __props__.__dict__["mysql_version"] = mysql_version
1548
1691
  __props__.__dict__["port"] = port
1549
1692
  __props__.__dict__["port_x"] = port_x
1693
+ __props__.__dict__["read_endpoint"] = read_endpoint
1550
1694
  __props__.__dict__["secure_connections"] = secure_connections
1551
1695
  if shape_name is None and not opts.urn:
1552
1696
  raise TypeError("Missing required property 'shape_name'")
@@ -1578,6 +1722,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1578
1722
  def get(resource_name: str,
1579
1723
  id: pulumi.Input[str],
1580
1724
  opts: Optional[pulumi.ResourceOptions] = None,
1725
+ access_mode: Optional[pulumi.Input[str]] = None,
1581
1726
  admin_password: Optional[pulumi.Input[str]] = None,
1582
1727
  admin_username: Optional[pulumi.Input[str]] = None,
1583
1728
  availability_domain: Optional[pulumi.Input[str]] = None,
@@ -1591,6 +1736,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1591
1736
  data_storage: Optional[pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']]] = None,
1592
1737
  data_storage_size_in_gb: Optional[pulumi.Input[int]] = None,
1593
1738
  database_management: Optional[pulumi.Input[str]] = None,
1739
+ database_mode: Optional[pulumi.Input[str]] = None,
1594
1740
  defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1595
1741
  deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemDeletionPolicyArgs', 'MysqlDbSystemDeletionPolicyArgsDict']]]]] = None,
1596
1742
  description: Optional[pulumi.Input[str]] = None,
@@ -1609,6 +1755,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1609
1755
  point_in_time_recovery_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemPointInTimeRecoveryDetailArgs', 'MysqlDbSystemPointInTimeRecoveryDetailArgsDict']]]]] = None,
1610
1756
  port: Optional[pulumi.Input[int]] = None,
1611
1757
  port_x: Optional[pulumi.Input[int]] = None,
1758
+ read_endpoint: Optional[pulumi.Input[Union['MysqlDbSystemReadEndpointArgs', 'MysqlDbSystemReadEndpointArgsDict']]] = None,
1612
1759
  secure_connections: Optional[pulumi.Input[Union['MysqlDbSystemSecureConnectionsArgs', 'MysqlDbSystemSecureConnectionsArgsDict']]] = None,
1613
1760
  shape_name: Optional[pulumi.Input[str]] = None,
1614
1761
  shutdown_type: Optional[pulumi.Input[str]] = None,
@@ -1624,6 +1771,9 @@ class MysqlDbSystem(pulumi.CustomResource):
1624
1771
  :param str resource_name: The unique name of the resulting resource.
1625
1772
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
1626
1773
  :param pulumi.ResourceOptions opts: Options for the resource.
1774
+ :param pulumi.Input[str] access_mode: (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
1775
+ * UNRESTRICTED (default): the access to the database is not restricted;
1776
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
1627
1777
  :param pulumi.Input[str] admin_password: The password for the administrative user. The password must be between 8 and 32 characters long, and must contain at least 1 numeric character, 1 lowercase character, 1 uppercase character, and 1 special (nonalphanumeric) character.
1628
1778
  :param pulumi.Input[str] admin_username: The username for the administrative user.
1629
1779
  :param pulumi.Input[str] availability_domain: The availability domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.
@@ -1641,6 +1791,9 @@ class MysqlDbSystem(pulumi.CustomResource):
1641
1791
  :param pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']] data_storage: (Updatable) Data Storage configuration properties.
1642
1792
  :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup.
1643
1793
  :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service.
1794
+ :param pulumi.Input[str] database_mode: (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
1795
+ * READ_WRITE (default): allow running read and write statements on the DB system;
1796
+ * READ_ONLY: only allow running read statements on the DB system.
1644
1797
  :param pulumi.Input[Mapping[str, pulumi.Input[str]]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}`
1645
1798
  :param pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemDeletionPolicyArgs', 'MysqlDbSystemDeletionPolicyArgsDict']]]] deletion_policies: (Updatable) Policy for how the DB System and related resources should be handled at the time of its deletion.
1646
1799
  :param pulumi.Input[str] description: (Updatable) User-provided data about the DB System.
@@ -1669,6 +1822,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1669
1822
  :param pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemPointInTimeRecoveryDetailArgs', 'MysqlDbSystemPointInTimeRecoveryDetailArgsDict']]]] point_in_time_recovery_details: Point-in-time Recovery details like earliest and latest recovery time point for the DB System.
1670
1823
  :param pulumi.Input[int] port: The port for primary endpoint of the DB System to listen on.
1671
1824
  :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.
1825
+ :param pulumi.Input[Union['MysqlDbSystemReadEndpointArgs', 'MysqlDbSystemReadEndpointArgsDict']] read_endpoint: (Updatable) Details required to create a Read Endpoint.
1672
1826
  :param pulumi.Input[Union['MysqlDbSystemSecureConnectionsArgs', 'MysqlDbSystemSecureConnectionsArgsDict']] secure_connections: (Updatable) Secure connection configuration details.
1673
1827
  :param pulumi.Input[str] shape_name: (Updatable) The name of the shape. The shape determines the resources allocated
1674
1828
  * CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.
@@ -1686,6 +1840,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1686
1840
 
1687
1841
  __props__ = _MysqlDbSystemState.__new__(_MysqlDbSystemState)
1688
1842
 
1843
+ __props__.__dict__["access_mode"] = access_mode
1689
1844
  __props__.__dict__["admin_password"] = admin_password
1690
1845
  __props__.__dict__["admin_username"] = admin_username
1691
1846
  __props__.__dict__["availability_domain"] = availability_domain
@@ -1699,6 +1854,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1699
1854
  __props__.__dict__["data_storage"] = data_storage
1700
1855
  __props__.__dict__["data_storage_size_in_gb"] = data_storage_size_in_gb
1701
1856
  __props__.__dict__["database_management"] = database_management
1857
+ __props__.__dict__["database_mode"] = database_mode
1702
1858
  __props__.__dict__["defined_tags"] = defined_tags
1703
1859
  __props__.__dict__["deletion_policies"] = deletion_policies
1704
1860
  __props__.__dict__["description"] = description
@@ -1717,6 +1873,7 @@ class MysqlDbSystem(pulumi.CustomResource):
1717
1873
  __props__.__dict__["point_in_time_recovery_details"] = point_in_time_recovery_details
1718
1874
  __props__.__dict__["port"] = port
1719
1875
  __props__.__dict__["port_x"] = port_x
1876
+ __props__.__dict__["read_endpoint"] = read_endpoint
1720
1877
  __props__.__dict__["secure_connections"] = secure_connections
1721
1878
  __props__.__dict__["shape_name"] = shape_name
1722
1879
  __props__.__dict__["shutdown_type"] = shutdown_type
@@ -1727,6 +1884,16 @@ class MysqlDbSystem(pulumi.CustomResource):
1727
1884
  __props__.__dict__["time_updated"] = time_updated
1728
1885
  return MysqlDbSystem(resource_name, opts=opts, __props__=__props__)
1729
1886
 
1887
+ @property
1888
+ @pulumi.getter(name="accessMode")
1889
+ def access_mode(self) -> pulumi.Output[str]:
1890
+ """
1891
+ (Updatable) The access mode indicating if the database access will be restricted only to administrators or not:
1892
+ * UNRESTRICTED (default): the access to the database is not restricted;
1893
+ * RESTRICTED: the access will be allowed only to users with specific privileges; RESTRICTED will correspond to setting the MySQL system variable [offline_mode](https://dev.mysql.com/doc/en/server-system-variables.html#sysvar_offline_mode) to ON.
1894
+ """
1895
+ return pulumi.get(self, "access_mode")
1896
+
1730
1897
  @property
1731
1898
  @pulumi.getter(name="adminPassword")
1732
1899
  def admin_password(self) -> pulumi.Output[str]:
@@ -1835,6 +2002,16 @@ class MysqlDbSystem(pulumi.CustomResource):
1835
2002
  """
1836
2003
  return pulumi.get(self, "database_management")
1837
2004
 
2005
+ @property
2006
+ @pulumi.getter(name="databaseMode")
2007
+ def database_mode(self) -> pulumi.Output[str]:
2008
+ """
2009
+ (Updatable) The database mode indicating the types of statements that will be allowed to run in the DB system. This mode will apply only to statements run by user connections. Replicated write statements will continue to be allowed regardless of the DatabaseMode.
2010
+ * READ_WRITE (default): allow running read and write statements on the DB system;
2011
+ * READ_ONLY: only allow running read statements on the DB system.
2012
+ """
2013
+ return pulumi.get(self, "database_mode")
2014
+
1838
2015
  @property
1839
2016
  @pulumi.getter(name="definedTags")
1840
2017
  def defined_tags(self) -> pulumi.Output[Mapping[str, str]]:
@@ -1989,6 +2166,14 @@ class MysqlDbSystem(pulumi.CustomResource):
1989
2166
  """
1990
2167
  return pulumi.get(self, "port_x")
1991
2168
 
2169
+ @property
2170
+ @pulumi.getter(name="readEndpoint")
2171
+ def read_endpoint(self) -> pulumi.Output['outputs.MysqlDbSystemReadEndpoint']:
2172
+ """
2173
+ (Updatable) Details required to create a Read Endpoint.
2174
+ """
2175
+ return pulumi.get(self, "read_endpoint")
2176
+
1992
2177
  @property
1993
2178
  @pulumi.getter(name="secureConnections")
1994
2179
  def secure_connections(self) -> pulumi.Output['outputs.MysqlDbSystemSecureConnections']: