google_api_sql_admin v0.6.0 GoogleApi.SQLAdmin.V1beta4.Model.DatabaseInstance View Source
A Cloud SQL instance resource.
Attributes
- backendType (String.t): FIRST_GEN: First Generation instance. MySQL only. SECOND_GEN: Second Generation instance or PostgreSQL instance. EXTERNAL: A database server that is not managed by Google. This property is read-only; use the tier property in the settings object to determine the database type and Second or First Generation. Defaults to:
null
. - connectionName (String.t): Connection name of the Cloud SQL instance used in connection strings. Defaults to:
null
. - currentDiskSize (String.t): The current disk usage of the instance in bytes. This property has been deprecated. Users should use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details. Defaults to:
null
. - databaseVersion (String.t): The database engine type and version. The databaseVersion field can not be changed after instance creation. MySQL Second Generation instances: MYSQL_5_7 (default) or MYSQL_5_6. PostgreSQL instances: POSTGRES_9_6 (default) or POSTGRES_11 Beta. MySQL First Generation instances: MYSQL_5_6 (default) or MYSQL_5_5 Defaults to:
null
. - diskEncryptionConfiguration (DiskEncryptionConfiguration): Disk encryption configuration specific to an instance. Applies only to Second Generation instances. Defaults to:
null
. - diskEncryptionStatus (DiskEncryptionStatus): Disk encryption status specific to an instance. Applies only to Second Generation instances. Defaults to:
null
. - etag (String.t): This field is deprecated and will be removed from a future version of the API. Use the settings.settingsVersion field instead. Defaults to:
null
. - failoverReplica (DatabaseInstanceFailoverReplica): Defaults to:
null
. - gceZone (String.t): The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. Defaults to:
null
. - instanceType (String.t): The instance type. This can be one of the following. CLOUD_SQL_INSTANCE: A Cloud SQL instance that is not replicating from a master. ON_PREMISES_INSTANCE: An instance running on the customer's premises. READ_REPLICA_INSTANCE: A Cloud SQL instance configured as a read-replica. Defaults to:
null
. - ipAddresses ([IpMapping]): The assigned IP addresses for the instance. Defaults to:
null
. - ipv6Address (String.t): The IPv6 address assigned to the instance. This property is applicable only to First Generation instances. Defaults to:
null
. - kind (String.t): This is always sql#instance. Defaults to:
null
. - masterInstanceName (String.t): The name of the instance which will act as master in the replication setup. Defaults to:
null
. - maxDiskSize (String.t): The maximum disk size of the instance in bytes. Defaults to:
null
. - name (String.t): Name of the Cloud SQL instance. This does not include the project ID. Defaults to:
null
. - onPremisesConfiguration (OnPremisesConfiguration): Configuration specific to on-premises instances. Defaults to:
null
. - project (String.t): The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable. Defaults to:
null
. - region (String.t): The geographical region. Can be us-central (FIRST_GEN instances only), us-central1 (SECOND_GEN instances only), asia-east1 or europe-west1. Defaults to us-central or us-central1 depending on the instance type (First Generation or Second Generation). The region can not be changed after instance creation. Defaults to:
null
. - replicaConfiguration (ReplicaConfiguration): Configuration specific to failover replicas and read replicas. Defaults to:
null
. - replicaNames ([String.t]): The replicas of the instance. Defaults to:
null
. - rootPassword (String.t): Initial root password. Use only on creation. Defaults to:
null
. - selfLink (String.t): The URI of this resource. Defaults to:
null
. - serverCaCert (SslCert): SSL configuration. Defaults to:
null
. - serviceAccountEmailAddress (String.t): The service account email address assigned to the instance. This property is applicable only to Second Generation instances. Defaults to:
null
. - settings (Settings): The user settings. Defaults to:
null
. - state (String.t): The current serving state of the Cloud SQL instance. This can be one of the following. RUNNABLE: The instance is running, or is ready to run when accessed. SUSPENDED: The instance is not available, for example due to problems with billing. PENDING_CREATE: The instance is being created. MAINTENANCE: The instance is down for maintenance. FAILED: The instance creation failed. UNKNOWN_STATE: The state of the instance is unknown. Defaults to:
null
. - suspensionReason ([String.t]): If the instance state is SUSPENDED, the reason for the suspension. Defaults to:
null
.
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 Source
t()
View Source
t() :: %GoogleApi.SQLAdmin.V1beta4.Model.DatabaseInstance{
backendType: any(),
connectionName: any(),
currentDiskSize: any(),
databaseVersion: any(),
diskEncryptionConfiguration:
GoogleApi.SQLAdmin.V1beta4.Model.DiskEncryptionConfiguration.t(),
diskEncryptionStatus:
GoogleApi.SQLAdmin.V1beta4.Model.DiskEncryptionStatus.t(),
etag: any(),
failoverReplica:
GoogleApi.SQLAdmin.V1beta4.Model.DatabaseInstanceFailoverReplica.t(),
gceZone: any(),
instanceType: any(),
ipAddresses: [GoogleApi.SQLAdmin.V1beta4.Model.IpMapping.t()],
ipv6Address: any(),
kind: any(),
masterInstanceName: any(),
maxDiskSize: any(),
name: any(),
onPremisesConfiguration:
GoogleApi.SQLAdmin.V1beta4.Model.OnPremisesConfiguration.t(),
project: any(),
region: any(),
replicaConfiguration:
GoogleApi.SQLAdmin.V1beta4.Model.ReplicaConfiguration.t(),
replicaNames: [any()],
rootPassword: any(),
selfLink: any(),
serverCaCert: GoogleApi.SQLAdmin.V1beta4.Model.SslCert.t(),
serviceAccountEmailAddress: any(),
settings: GoogleApi.SQLAdmin.V1beta4.Model.Settings.t(),
state: any(),
suspensionReason: [any()]
}
t() :: %GoogleApi.SQLAdmin.V1beta4.Model.DatabaseInstance{ backendType: any(), connectionName: any(), currentDiskSize: any(), databaseVersion: any(), diskEncryptionConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.DiskEncryptionConfiguration.t(), diskEncryptionStatus: GoogleApi.SQLAdmin.V1beta4.Model.DiskEncryptionStatus.t(), etag: any(), failoverReplica: GoogleApi.SQLAdmin.V1beta4.Model.DatabaseInstanceFailoverReplica.t(), gceZone: any(), instanceType: any(), ipAddresses: [GoogleApi.SQLAdmin.V1beta4.Model.IpMapping.t()], ipv6Address: any(), kind: any(), masterInstanceName: any(), maxDiskSize: any(), name: any(), onPremisesConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.OnPremisesConfiguration.t(), project: any(), region: any(), replicaConfiguration: GoogleApi.SQLAdmin.V1beta4.Model.ReplicaConfiguration.t(), replicaNames: [any()], rootPassword: any(), selfLink: any(), serverCaCert: GoogleApi.SQLAdmin.V1beta4.Model.SslCert.t(), serviceAccountEmailAddress: any(), settings: GoogleApi.SQLAdmin.V1beta4.Model.Settings.t(), state: any(), suspensionReason: [any()] }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.