VultrRuby::UpdateDatabaseRequest
Name
Type
Description
Notes
region
String
The Region id where the Managed Database is located.
[optional]
plan
String
The Plan id for this Managed Database.
[optional]
label
String
A user-supplied label for this Managed Database.
[optional]
tag
String
The user-supplied tag for this Managed Database.
[optional]
vpc_id
String
The VPC id for this Managed Database.
[optional]
maintenance_dow
String
The day of week for routine maintenance updates. * `monday` * `tuesday` * `wednesday` * `thursday` * `friday` * `saturday` * `sunday`
[optional]
maintenance_time
String
The preferred time (UTC) for routine maintenance updates to occur in 24-hour HH:00 format (e.g. `01:00`, `13:00`, `23:00`, etc.).
[optional]
cluster_time_zone
String
The configured time zone for the Managed Database in TZ database format (e.g. `UTC`, `America/New_York`, `Europe/London`, etc.).
[optional]
trusted_ips
Array<String>
A list of IP addresses allowed to access the Managed Database in CIDR notation (defaults to /32 if excluded).
[optional]
mysql_sql_modes
Array<String>
A list of SQL modes to enable on the Managed Database (MySQL engine type only). * `ALLOW_INVALID_DATES` * `ANSI` (Combination Mode) * `ANSI_QUOTES` * `ERROR_FOR_DIVISION_BY_ZERO` * `HIGH_NOT_PRECEDENCE` * `IGNORE_SPACE` * `NO_AUTO_VALUE_ON_ZERO` * `NO_DIR_IN_CREATE` * `NO_ENGINE_SUBSTITUTION` * `NO_UNSIGNED_SUBTRACTION` * `NO_ZERO_DATE` * `NO_ZERO_IN_DATE` * `ONLY_FULL_GROUP_BY` * `PIPES_AS_CONCAT` * `REAL_AS_FLOAT` * `STRICT_ALL_TABLES` * `STRICT_TRANS_TABLES` * `TIME_TRUNCATE_FRACTIONAL` * `TRADITIONAL` (Combination Mode)
[optional]
mysql_require_primary_key
Boolean
Require a primary key for all tables on the Managed Database (MySQL engine type only).
[optional]
mysql_slow_query_log
Boolean
Enable or disable slow query logging on the Managed Database (MySQL engine type only).
[optional]
mysql_long_query_time
Integer
The number of seconds to denote a slow query when logging is enabled (MySQL engine type only).
[optional]
redis_eviction_policy
String
Set the data eviction policy for the Managed Database (Redis engine type only)
[optional]
require 'vultr_ruby'
instance = VultrRuby ::UpdateDatabaseRequest . new (
region : null ,
plan : null ,
label : null ,
tag : null ,
vpc_id : null ,
maintenance_dow : null ,
maintenance_time : null ,
cluster_time_zone : null ,
trusted_ips : null ,
mysql_sql_modes : null ,
mysql_require_primary_key : null ,
mysql_slow_query_log : null ,
mysql_long_query_time : null ,
redis_eviction_policy : null
)