Settings
import type { Settings } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";
Database instance settings.
§Properties
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 configuration, relevant only for Cloud SQL for SQL Server.
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. 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.
The daily backup configuration for the instance.
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.
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.
The database flags passed to the instance at startup.
Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
Configuration for data cache.
The type of data disk: PD_SSD
(default) or PD_HDD
. Not used for First
Generation instances.
Configuration to protect against accidental instance deletion.
Deny maintenance periods
Optional. The edition of the instance.
Optional. When this parameter is set to true, Cloud SQL instances can connect to Vertex AI to pass requests for real-time predictions and insights to the AI. The default value is false. This applies only to Cloud SQL for PostgreSQL instances.
Insights configuration, for now relevant only for Postgres.
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.
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.
The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
The local user password validation policy of the instance.
The pricing plan for this instance. This can be either PER_USE
or
PACKAGE
. Only PER_USE
is supported for Second Generation instances.
The type of replication this instance uses. This can be either
ASYNCHRONOUS
or SYNCHRONOUS
. (Deprecated) This property was only
applicable to First Generation instances.
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 specific audit configuration.
Configuration to increase storage size automatically. The default value is true.
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.