Struct google_sqladmin1_beta4::api::Settings
source · pub struct Settings {Show 32 fields
pub activation_policy: Option<String>,
pub active_directory_config: Option<SqlActiveDirectoryConfig>,
pub advanced_machine_features: Option<AdvancedMachineFeatures>,
pub authorized_gae_applications: Option<Vec<String>>,
pub availability_type: Option<String>,
pub backup_configuration: Option<BackupConfiguration>,
pub collation: Option<String>,
pub connector_enforcement: Option<String>,
pub crash_safe_replication_enabled: Option<bool>,
pub data_cache_config: Option<DataCacheConfig>,
pub data_disk_size_gb: Option<i64>,
pub data_disk_type: Option<String>,
pub database_flags: Option<Vec<DatabaseFlags>>,
pub database_replication_enabled: Option<bool>,
pub deletion_protection_enabled: Option<bool>,
pub deny_maintenance_periods: Option<Vec<DenyMaintenancePeriod>>,
pub edition: Option<String>,
pub insights_config: Option<InsightsConfig>,
pub ip_configuration: Option<IpConfiguration>,
pub kind: Option<String>,
pub location_preference: Option<LocationPreference>,
pub maintenance_window: Option<MaintenanceWindow>,
pub password_validation_policy: Option<PasswordValidationPolicy>,
pub pricing_plan: Option<String>,
pub replication_type: Option<String>,
pub settings_version: Option<i64>,
pub sql_server_audit_config: Option<SqlServerAuditConfig>,
pub storage_auto_resize: Option<bool>,
pub storage_auto_resize_limit: Option<i64>,
pub tier: Option<String>,
pub time_zone: Option<String>,
pub user_labels: Option<HashMap<String, String>>,
}
Expand description
Database instance settings.
This type is not used in any activity, and only used as part of another schema.
Fields§
§activation_policy: Option<String>
The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: * ALWAYS
: The instance is on, and remains so even in the absence of connection requests. * NEVER
: The instance is off; it is not activated, even if a connection request arrives.
active_directory_config: Option<SqlActiveDirectoryConfig>
Active Directory configuration, relevant only for Cloud SQL for SQL Server.
advanced_machine_features: Option<AdvancedMachineFeatures>
Specifies advance machine configuration for the instance relevant only for SQL Server.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
availability_type: Option<String>
Availability type. Potential values: * ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. * REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.
backup_configuration: Option<BackupConfiguration>
The daily backup configuration for the instance.
collation: Option<String>
The name of server Instance collation.
connector_enforcement: Option<String>
Specifies if connections must use Cloud SQL connectors. Option values include the following: NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) and REQUIRED
(Only allow connections that use Cloud SQL Connectors) Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.
crash_safe_replication_enabled: Option<bool>
Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
data_cache_config: Option<DataCacheConfig>
Configuration for data cache.
data_disk_size_gb: Option<i64>
The size of data disk, in GB. The data disk size minimum is 10GB.
data_disk_type: Option<String>
The type of data disk: PD_SSD
(default) or PD_HDD
. Not used for First Generation instances.
database_flags: Option<Vec<DatabaseFlags>>
The database flags passed to the instance at startup.
database_replication_enabled: Option<bool>
Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
deletion_protection_enabled: Option<bool>
Configuration to protect against accidental instance deletion.
deny_maintenance_periods: Option<Vec<DenyMaintenancePeriod>>
Deny maintenance periods
edition: Option<String>
Optional. The edition of the instance.
insights_config: Option<InsightsConfig>
Insights configuration, for now relevant only for Postgres.
ip_configuration: Option<IpConfiguration>
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
kind: Option<String>
This is always sql#settings
.
location_preference: Option<LocationPreference>
The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
maintenance_window: Option<MaintenanceWindow>
The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
password_validation_policy: Option<PasswordValidationPolicy>
The local user password validation policy of the instance.
pricing_plan: Option<String>
The pricing plan for this instance. This can be either PER_USE
or PACKAGE
. Only PER_USE
is supported for Second Generation instances.
replication_type: Option<String>
The type of replication this instance uses. This can be either ASYNCHRONOUS
or SYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.
settings_version: Option<i64>
The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
sql_server_audit_config: Option<SqlServerAuditConfig>
SQL Server specific audit configuration.
storage_auto_resize: Option<bool>
Configuration to increase storage size automatically. The default value is true.
storage_auto_resize_limit: Option<i64>
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
tier: Option<String>
The tier (or machine type) for this instance, for example db-custom-1-3840
. WARNING: Changing this restarts the instance.
time_zone: Option<String>
Server timezone, relevant only for Cloud SQL for SQL Server.
user_labels: Option<HashMap<String, String>>
User-provided labels, represented as a dictionary where each label is a single key value pair.