DatabaseInstance class
A Cloud SQL instance resource.
Constructors
-
DatabaseInstance({String? backendType, String? connectionName, String? createTime, String? currentDiskSize, String? databaseVersion, DiskEncryptionConfiguration? diskEncryptionConfiguration, DiskEncryptionStatus? diskEncryptionStatus, String? etag, DatabaseInstanceFailoverReplica? failoverReplica, String? gceZone, String? instanceType, List<
IpMapping> ? ipAddresses, String? ipv6Address, String? kind, String? masterInstanceName, String? maxDiskSize, String? name, OnPremisesConfiguration? onPremisesConfiguration, SqlOutOfDiskReport? outOfDiskReport, String? project, String? region, ReplicaConfiguration? replicaConfiguration, List<String> ? replicaNames, String? rootPassword, bool? satisfiesPzs, SqlScheduledMaintenance? scheduledMaintenance, String? secondaryGceZone, String? selfLink, SslCert? serverCaCert, String? serviceAccountEmailAddress, Settings? settings, String? state, List<String> ? suspensionReason}) - DatabaseInstance.fromJson(Map _json)
Properties
- backendType ↔ String?
-
The backend type.
getter/setter pair
- connectionName ↔ String?
-
Connection name of the Cloud SQL instance used in connection strings.
getter/setter pair
- createTime ↔ String?
-
The time when the instance was created in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
getter/setter pair
- currentDiskSize ↔ String?
-
The current disk usage of the instance in bytes.
getter/setter pair
- databaseVersion ↔ String?
-
The database engine type and version.
getter/setter pair
- diskEncryptionConfiguration ↔ DiskEncryptionConfiguration?
-
Disk encryption configuration specific to an instance.
getter/setter pair
- diskEncryptionStatus ↔ DiskEncryptionStatus?
-
Disk encryption status specific to an instance.
getter/setter pair
- etag ↔ String?
-
This field is deprecated and will be removed from a future version of the
API.
getter/setter pair
- failoverReplica ↔ DatabaseInstanceFailoverReplica?
-
The name and status of the failover replica.
getter/setter pair
- gceZone ↔ String?
-
The Compute Engine zone that the instance is currently serving from.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceType ↔ String?
-
The instance type.
getter/setter pair
-
ipAddresses
↔ List<
IpMapping> ? -
The assigned IP addresses for the instance.
getter/setter pair
- ipv6Address ↔ String?
-
The IPv6 address assigned to the instance.
getter/setter pair
- kind ↔ String?
-
This is always sql#instance.
getter/setter pair
- masterInstanceName ↔ String?
-
The name of the instance which will act as primary in the replication
setup.
getter/setter pair
- maxDiskSize ↔ String?
-
The maximum disk size of the instance in bytes.
getter/setter pair
- name ↔ String?
-
Name of the Cloud SQL instance.
getter/setter pair
- onPremisesConfiguration ↔ OnPremisesConfiguration?
-
Configuration specific to on-premises instances.
getter/setter pair
- outOfDiskReport ↔ SqlOutOfDiskReport?
-
This field represents the report generated by the proactive database
wellness job for OutOfDisk issues.
getter/setter pair
- project ↔ String?
-
The project ID of the project containing the Cloud SQL instance.
getter/setter pair
- region ↔ String?
-
The geographical region.
getter/setter pair
- replicaConfiguration ↔ ReplicaConfiguration?
-
Configuration specific to failover replicas and read replicas.
getter/setter pair
-
replicaNames
↔ List<
String> ? -
The replicas of the instance.
getter/setter pair
- rootPassword ↔ String?
-
Initial root password.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- satisfiesPzs ↔ bool?
-
The status indicating if instance satisfiesPzs.
getter/setter pair
- scheduledMaintenance ↔ SqlScheduledMaintenance?
-
The start time of any upcoming scheduled maintenance for this instance.
getter/setter pair
- secondaryGceZone ↔ String?
-
The Compute Engine zone that the failover instance is currently serving
from for a regional instance.
getter/setter pair
- selfLink ↔ String?
-
The URI of this resource.
getter/setter pair
- serverCaCert ↔ SslCert?
-
SSL configuration.
getter/setter pair
- serviceAccountEmailAddress ↔ String?
-
The service account email address assigned to the instance.
getter/setter pair
- settings ↔ Settings?
-
The user settings.
getter/setter pair
- state ↔ String?
-
The current serving state of the Cloud SQL instance.
getter/setter pair
-
suspensionReason
↔ List<
String> ? -
If the instance state is SUSPENDED, the reason for the suspension.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited