Class DatabaseInstanceSettings
Inheritance
Inherited Members
Namespace: Pulumi.Gcp.Sql.Outputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class DatabaseInstanceSettings
Fields
View SourceActivationPolicy
This specifies when the instance should be
active. Can be either ALWAYS, NEVER or ON_DEMAND.
Declaration
public readonly string ActivationPolicy
Field Value
| Type | Description |
|---|---|
| System.String |
AuthorizedGaeApplications
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. A list of Google App Engine (GAE) project names that are allowed to access this instance.
Declaration
public readonly ImmutableArray<string> AuthorizedGaeApplications
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<System.String> |
AvailabilityType
The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL).'
Declaration
public readonly string AvailabilityType
Field Value
| Type | Description |
|---|---|
| System.String |
BackupConfiguration
Declaration
public readonly DatabaseInstanceSettingsBackupConfiguration BackupConfiguration
Field Value
| Type | Description |
|---|---|
| DatabaseInstanceSettingsBackupConfiguration |
CrashSafeReplication
This property is only applicable to First Generation instances. First Generation instances are now deprecated, see here for information on how to upgrade to Second Generation instances. Specific to read instances, indicates when crash-safe replication flags are enabled.
Declaration
public readonly bool? CrashSafeReplication
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
DatabaseFlags
Declaration
public readonly ImmutableArray<DatabaseInstanceSettingsDatabaseFlag> DatabaseFlags
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableArray<DatabaseInstanceSettingsDatabaseFlag> |
DiskAutoresize
Configuration to increase storage size automatically. Note that future pulumi apply calls will attempt to resize the disk to the value specified in disk_size - if this is set, do not set disk_size.
Declaration
public readonly bool? DiskAutoresize
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
DiskSize
The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased.
Declaration
public readonly int? DiskSize
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
DiskType
The type of data disk: PD_SSD or PD_HDD.
Declaration
public readonly string DiskType
Field Value
| Type | Description |
|---|---|
| System.String |
IpConfiguration
Declaration
public readonly DatabaseInstanceSettingsIpConfiguration IpConfiguration
Field Value
| Type | Description |
|---|---|
| DatabaseInstanceSettingsIpConfiguration |
LocationPreference
Declaration
public readonly DatabaseInstanceSettingsLocationPreference LocationPreference
Field Value
| Type | Description |
|---|---|
| DatabaseInstanceSettingsLocationPreference |
MaintenanceWindow
Declaration
public readonly DatabaseInstanceSettingsMaintenanceWindow MaintenanceWindow
Field Value
| Type | Description |
|---|---|
| DatabaseInstanceSettingsMaintenanceWindow |
PricingPlan
Pricing plan for this instance, can only be PER_USE.
Declaration
public readonly string PricingPlan
Field Value
| Type | Description |
|---|---|
| System.String |
ReplicationType
This property is only applicable to First Generation instances.
First Generation instances are now deprecated, see here
for information on how to upgrade to Second Generation instances.
Replication type for this instance, can be one of ASYNCHRONOUS or SYNCHRONOUS.
Declaration
public readonly string ReplicationType
Field Value
| Type | Description |
|---|---|
| System.String |
Tier
The machine type to use. See tiers
for more details and supported versions. Postgres supports only shared-core machine types such as db-f1-micro,
and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
Declaration
public readonly string Tier
Field Value
| Type | Description |
|---|---|
| System.String |
UserLabels
A set of key/value user label pairs to assign to the instance.
Declaration
public readonly ImmutableDictionary<string, string> UserLabels
Field Value
| Type | Description |
|---|---|
| System.Collections.Immutable.ImmutableDictionary<System.String, System.String> |
Version
Declaration
public readonly int? Version
Field Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |