Show / Hide Table of Contents

Class CloudSqlSettings

Settings for creating a Cloud SQL database instance.

Inheritance
object
CloudSqlSettings
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class CloudSqlSettings : IDirectResponseSchema

Properties

ActivationPolicy

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.

Declaration
[JsonProperty("activationPolicy")]
public virtual string ActivationPolicy { get; set; }
Property Value
Type Description
string

AutoStorageIncrease

[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.

Declaration
[JsonProperty("autoStorageIncrease")]
public virtual bool? AutoStorageIncrease { get; set; }
Property Value
Type Description
bool?

AvailabilityType

Optional. Availability type. Potential values: * ZONAL: The instance serves data from only one zone. Outages in that zone affect data availability. * REGIONAL: The instance can serve data from more than one zone in a region (it is highly available).

Declaration
[JsonProperty("availabilityType")]
public virtual string AvailabilityType { get; set; }
Property Value
Type Description
string

CmekKeyName

The KMS key name used for the csql instance.

Declaration
[JsonProperty("cmekKeyName")]
public virtual string CmekKeyName { get; set; }
Property Value
Type Description
string

Collation

The Cloud SQL default instance level collation.

Declaration
[JsonProperty("collation")]
public virtual string Collation { get; set; }
Property Value
Type Description
string

DataCacheConfig

Optional. Data cache is an optional feature available for Cloud SQL for MySQL Enterprise Plus edition only. For more information on data cache, see Data cache overview in Cloud SQL documentation.

Declaration
[JsonProperty("dataCacheConfig")]
public virtual DataCacheConfig DataCacheConfig { get; set; }
Property Value
Type Description
DataCacheConfig

DataDiskProvisionedIops

Optional. Provisioned number of I/O operations per second for the data disk. This field is only used for hyperdisk-balanced disk types.

Declaration
[JsonProperty("dataDiskProvisionedIops")]
public virtual long? DataDiskProvisionedIops { get; set; }
Property Value
Type Description
long?

DataDiskProvisionedThroughput

Optional. Provisioned throughput measured in MiB per second for the data disk. This field is only used for hyperdisk-balanced disk types.

Declaration
[JsonProperty("dataDiskProvisionedThroughput")]
public virtual long? DataDiskProvisionedThroughput { get; set; }
Property Value
Type Description
long?

DataDiskSizeGb

The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.

Declaration
[JsonProperty("dataDiskSizeGb")]
public virtual long? DataDiskSizeGb { get; set; }
Property Value
Type Description
long?

DataDiskType

The type of storage: PD_SSD (default) or PD_HDD or HYPERDISK_BALANCED.

Declaration
[JsonProperty("dataDiskType")]
public virtual string DataDiskType { get; set; }
Property Value
Type Description
string

DatabaseFlags

The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Declaration
[JsonProperty("databaseFlags")]
public virtual IDictionary<string, string> DatabaseFlags { get; set; }
Property Value
Type Description
IDictionary<string, string>

DatabaseVersion

The database engine type and version. Deprecated. Use database_version_name instead.

Declaration
[JsonProperty("databaseVersion")]
public virtual string DatabaseVersion { get; set; }
Property Value
Type Description
string

DatabaseVersionName

Optional. The database engine type and version name.

Declaration
[JsonProperty("databaseVersionName")]
public virtual string DatabaseVersionName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Edition

Optional. The edition of the given Cloud SQL instance.

Declaration
[JsonProperty("edition")]
public virtual string Edition { get; set; }
Property Value
Type Description
string

IpConfig

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.

Declaration
[JsonProperty("ipConfig")]
public virtual SqlIpConfig IpConfig { get; set; }
Property Value
Type Description
SqlIpConfig

RootPassword

Input only. Initial root password.

Declaration
[JsonProperty("rootPassword")]
public virtual string RootPassword { get; set; }
Property Value
Type Description
string

RootPasswordSet

Output only. Indicates If this connection profile root password is stored.

Declaration
[JsonProperty("rootPasswordSet")]
public virtual bool? RootPasswordSet { get; set; }
Property Value
Type Description
bool?

SecondaryZone

Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).

Declaration
[JsonProperty("secondaryZone")]
public virtual string SecondaryZone { get; set; }
Property Value
Type Description
string

SourceId

The Database Migration Service source connection profile ID, in the format: projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID

Declaration
[JsonProperty("sourceId")]
public virtual string SourceId { get; set; }
Property Value
Type Description
string

StorageAutoResizeLimit

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

Declaration
[JsonProperty("storageAutoResizeLimit")]
public virtual long? StorageAutoResizeLimit { get; set; }
Property Value
Type Description
long?

Tier

The tier (or machine type) for this instance, for example: db-n1-standard-1 (MySQL instances) or db-custom-1-3840 (PostgreSQL instances). For more information, see Cloud SQL Instance Settings.

Declaration
[JsonProperty("tier")]
public virtual string Tier { get; set; }
Property Value
Type Description
string

UserLabels

The resource labels for a Cloud SQL instance to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "18kg", "count": "3" }.

Declaration
[JsonProperty("userLabels")]
public virtual IDictionary<string, string> UserLabels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Zone

The Google Cloud Platform zone where your Cloud SQL database instance is located.

Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX