google_api_sql_admin v0.25.0 GoogleApi.SQLAdmin.V1beta4.Model.Settings View Source
Database instance settings.
Attributes
activationPolicy
(type:String.t
, default:nil
) - The activation policy specifies when the instance is activated; it is applicable only when the instance state isRUNNABLE
. 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.ON_DEMAND
: First Generation instances only. The instance responds to incoming requests, and turns itself off when not in use. Instances withPER_USE
pricing turn off after 15 minutes of inactivity. Instances withPER_PACKAGE
pricing turn off after 12 hours of inactivity.authorizedGaeApplications
(type:list(String.t)
, default:nil
) - The App Engine app IDs that can access this instance. First Generation instances only.availabilityType
(type:String.t
, default:nil
) - Availability type (PostgreSQL and MySQL instances only). 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 a href="https://cloud.google.com/sql/docs/postgres/high-availability"Overview of the High Availability Configuration.backupConfiguration
(type:GoogleApi.SQLAdmin.V1beta4.Model.BackupConfiguration.t
, default:nil
) - The daily backup configuration for the instance.crashSafeReplicationEnabled
(type:boolean()
, default:nil
) - Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property is only applicable to First Generation instances.dataDiskSizeGb
(type:String.t
, default:nil
) - The size of data disk, in GB. The data disk size minimum is 10GB. Not used for First Generation instances.dataDiskType
(type:String.t
, default:nil
) - The type of data disk:PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.databaseFlags
(type:list(GoogleApi.SQLAdmin.V1beta4.Model.DatabaseFlags.t)
, default:nil
) - The database flags passed to the instance at startup.databaseReplicationEnabled
(type:boolean()
, default:nil
) - Configuration specific to read replica instances. Indicates whether replication is enabled or not.ipConfiguration
(type:GoogleApi.SQLAdmin.V1beta4.Model.IpConfiguration.t
, default:nil
) - 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
(type:String.t
, default:nil
) - This is alwayssql#settings
.locationPreference
(type:GoogleApi.SQLAdmin.V1beta4.Model.LocationPreference.t
, default:nil
) - 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 is only applicable to First Generation instances.maintenanceWindow
(type:GoogleApi.SQLAdmin.V1beta4.Model.MaintenanceWindow.t
, default:nil
) - The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes. Not used for First Generation instances.pricingPlan
(type:String.t
, default:nil
) - The pricing plan for this instance. This can be eitherPER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.replicationType
(type:String.t
, default:nil
) - The type of replication this instance uses. This can be eitherASYNCHRONOUS
orSYNCHRONOUS
. This property is only applicable to First Generation instances.settingsVersion
(type:String.t
, default:nil
) - 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.storageAutoResize
(type:boolean()
, default:nil
) - Configuration to increase storage size automatically. The default value is true. Not used for First Generation instances.storageAutoResizeLimit
(type:String.t
, default:nil
) - The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit. Not used for First Generation instances.tier
(type:String.t
, default:nil
) - The tier (or machine type) for this instance, for exampledb-n1-standard-1
(MySQL instances) ordb-custom-1-3840
(PostgreSQL instances). For MySQL instances, this property determines whether the instance is First or Second Generation. For more information, see Instance Settings.userLabels
(type:map()
, default:nil
) - User-provided labels, represented as a dictionary where each label is a single key value pair.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.SQLAdmin.V1beta4.Model.Settings{ activationPolicy: String.t(), authorizedGaeApplications: [String.t()], availabilityType: String.t(), backupConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.BackupConfiguration.t(), crashSafeReplicationEnabled: boolean(), dataDiskSizeGb: String.t(), dataDiskType: String.t(), databaseFlags: [GoogleApi.SQLAdmin.V1beta4.Model.DatabaseFlags.t()], databaseReplicationEnabled: boolean(), ipConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.IpConfiguration.t(), kind: String.t(), locationPreference: GoogleApi.SQLAdmin.V1beta4.Model.LocationPreference.t(), maintenanceWindow: GoogleApi.SQLAdmin.V1beta4.Model.MaintenanceWindow.t(), pricingPlan: String.t(), replicationType: String.t(), settingsVersion: String.t(), storageAutoResize: boolean(), storageAutoResizeLimit: String.t(), tier: String.t(), userLabels: map() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.