You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/d/mysql_mysql_db_system.html.markdown
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,9 @@ The following arguments are supported:
32
32
33
33
The following attributes are exported:
34
34
35
+
*`access_mode` - The access mode indicating if the database access is unrestricted (to all MySQL user accounts), or restricted (to only certain users with specific privileges):
36
+
* UNRESTRICTED: the access to the database is not restricted;
37
+
* RESTRICTED: the access is 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.
35
38
*`availability_domain` - The availability domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.
36
39
37
40
In a failover scenario, the Read/Write endpoint is redirected to one of the other availability domains and the MySQL instance in that domain is promoted to the primary instance. This redirection does not affect the IP address of the DB System in any way.
@@ -124,6 +127,9 @@ The following attributes are exported:
124
127
* `email` - The email address used by Oracle to send notifications regarding the DB System.
125
128
*`data_storage_size_in_gb` - Initial size of the data volume in GiBs that will be created and attached.
126
129
*`database_management` - Whether to enable monitoring via the Database Management service.
130
+
*`database_mode` - The database mode indicating the types of statements that are allowed to run in the the DB system. This mode applies only to statements run by user connections. Replicated write statements continue to be allowed regardless of the DatabaseMode.
131
+
* READ_WRITE: allow running read and write statements on the DB system;
132
+
* READ_ONLY: only allow running read statements on the DB system.
127
133
*`defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
128
134
*`deletion_policy` - The Deletion policy for the DB System.
129
135
* `automatic_backup_retention` - Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.
0 commit comments