Google Cloud v8.22.0 published on Thursday, Mar 13, 2025 by Pulumi
gcp.sql.getDatabaseInstance
Explore with Pulumi AI
Use this data source to get information about a Cloud SQL instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const qa = gcp.sql.getDatabaseInstance({
    name: "test-sql-instance",
});
import pulumi
import pulumi_gcp as gcp
qa = gcp.sql.get_database_instance(name="test-sql-instance")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/sql"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sql.LookupDatabaseInstance(ctx, &sql.LookupDatabaseInstanceArgs{
			Name: "test-sql-instance",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var qa = Gcp.Sql.GetDatabaseInstance.Invoke(new()
    {
        Name = "test-sql-instance",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.sql.SqlFunctions;
import com.pulumi.gcp.sql.inputs.GetDatabaseInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var qa = SqlFunctions.getDatabaseInstance(GetDatabaseInstanceArgs.builder()
            .name("test-sql-instance")
            .build());
    }
}
variables:
  qa:
    fn::invoke:
      function: gcp:sql:getDatabaseInstance
      arguments:
        name: test-sql-instance
Using getDatabaseInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseInstance(args: GetDatabaseInstanceArgs, opts?: InvokeOptions): Promise<GetDatabaseInstanceResult>
function getDatabaseInstanceOutput(args: GetDatabaseInstanceOutputArgs, opts?: InvokeOptions): Output<GetDatabaseInstanceResult>def get_database_instance(name: Optional[str] = None,
                          project: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDatabaseInstanceResult
def get_database_instance_output(name: Optional[pulumi.Input[str]] = None,
                          project: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseInstanceResult]func LookupDatabaseInstance(ctx *Context, args *LookupDatabaseInstanceArgs, opts ...InvokeOption) (*LookupDatabaseInstanceResult, error)
func LookupDatabaseInstanceOutput(ctx *Context, args *LookupDatabaseInstanceOutputArgs, opts ...InvokeOption) LookupDatabaseInstanceResultOutput> Note: This function is named LookupDatabaseInstance in the Go SDK.
public static class GetDatabaseInstance 
{
    public static Task<GetDatabaseInstanceResult> InvokeAsync(GetDatabaseInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseInstanceResult> Invoke(GetDatabaseInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseInstanceResult> getDatabaseInstance(GetDatabaseInstanceArgs args, InvokeOptions options)
public static Output<GetDatabaseInstanceResult> getDatabaseInstance(GetDatabaseInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:sql/getDatabaseInstance:getDatabaseInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
getDatabaseInstance Result
The following output properties are available:
- AvailableMaintenance List<string>Versions 
- Clones
List<GetDatabase Instance Clone> 
- ConnectionName string
- DatabaseVersion string
- DeletionProtection bool
- DnsName string
- EncryptionKey stringName 
- FirstIp stringAddress 
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceType string
- IpAddresses List<GetDatabase Instance Ip Address> 
- MaintenanceVersion string
- MasterInstance stringName 
- Name string
- PrivateIp stringAddress 
- PscService stringAttachment Link 
- PublicIp stringAddress 
- Region string
- ReplicaConfigurations List<GetDatabase Instance Replica Configuration> 
- ReplicaNames List<string>
- ReplicationClusters List<GetDatabase Instance Replication Cluster> 
- RestoreBackup List<GetContexts Database Instance Restore Backup Context> 
- RootPassword string
- SelfLink string
- ServerCa List<GetCerts Database Instance Server Ca Cert> 
- ServiceAccount stringEmail Address 
- Settings
List<GetDatabase Instance Setting> 
- Project string
- AvailableMaintenance []stringVersions 
- Clones
[]GetDatabase Instance Clone 
- ConnectionName string
- DatabaseVersion string
- DeletionProtection bool
- DnsName string
- EncryptionKey stringName 
- FirstIp stringAddress 
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceType string
- IpAddresses []GetDatabase Instance Ip Address 
- MaintenanceVersion string
- MasterInstance stringName 
- Name string
- PrivateIp stringAddress 
- PscService stringAttachment Link 
- PublicIp stringAddress 
- Region string
- ReplicaConfigurations []GetDatabase Instance Replica Configuration 
- ReplicaNames []string
- ReplicationClusters []GetDatabase Instance Replication Cluster 
- RestoreBackup []GetContexts Database Instance Restore Backup Context 
- RootPassword string
- SelfLink string
- ServerCa []GetCerts Database Instance Server Ca Cert 
- ServiceAccount stringEmail Address 
- Settings
[]GetDatabase Instance Setting 
- Project string
- availableMaintenance List<String>Versions 
- clones
List<GetDatabase Instance Clone> 
- connectionName String
- databaseVersion String
- deletionProtection Boolean
- dnsName String
- encryptionKey StringName 
- firstIp StringAddress 
- id String
- The provider-assigned unique ID for this managed resource.
- instanceType String
- ipAddresses List<GetDatabase Instance Ip Address> 
- maintenanceVersion String
- masterInstance StringName 
- name String
- privateIp StringAddress 
- pscService StringAttachment Link 
- publicIp StringAddress 
- region String
- replicaConfigurations List<GetDatabase Instance Replica Configuration> 
- replicaNames List<String>
- replicationClusters List<GetDatabase Instance Replication Cluster> 
- restoreBackup List<GetContexts Database Instance Restore Backup Context> 
- rootPassword String
- selfLink String
- serverCa List<GetCerts Database Instance Server Ca Cert> 
- serviceAccount StringEmail Address 
- settings
List<GetDatabase Instance Setting> 
- project String
- availableMaintenance string[]Versions 
- clones
GetDatabase Instance Clone[] 
- connectionName string
- databaseVersion string
- deletionProtection boolean
- dnsName string
- encryptionKey stringName 
- firstIp stringAddress 
- id string
- The provider-assigned unique ID for this managed resource.
- instanceType string
- ipAddresses GetDatabase Instance Ip Address[] 
- maintenanceVersion string
- masterInstance stringName 
- name string
- privateIp stringAddress 
- pscService stringAttachment Link 
- publicIp stringAddress 
- region string
- replicaConfigurations GetDatabase Instance Replica Configuration[] 
- replicaNames string[]
- replicationClusters GetDatabase Instance Replication Cluster[] 
- restoreBackup GetContexts Database Instance Restore Backup Context[] 
- rootPassword string
- selfLink string
- serverCa GetCerts Database Instance Server Ca Cert[] 
- serviceAccount stringEmail Address 
- settings
GetDatabase Instance Setting[] 
- project string
- available_maintenance_ Sequence[str]versions 
- clones
Sequence[GetDatabase Instance Clone] 
- connection_name str
- database_version str
- deletion_protection bool
- dns_name str
- encryption_key_ strname 
- first_ip_ straddress 
- id str
- The provider-assigned unique ID for this managed resource.
- instance_type str
- ip_addresses Sequence[GetDatabase Instance Ip Address] 
- maintenance_version str
- master_instance_ strname 
- name str
- private_ip_ straddress 
- psc_service_ strattachment_ link 
- public_ip_ straddress 
- region str
- replica_configurations Sequence[GetDatabase Instance Replica Configuration] 
- replica_names Sequence[str]
- replication_clusters Sequence[GetDatabase Instance Replication Cluster] 
- restore_backup_ Sequence[Getcontexts Database Instance Restore Backup Context] 
- root_password str
- self_link str
- server_ca_ Sequence[Getcerts Database Instance Server Ca Cert] 
- service_account_ stremail_ address 
- settings
Sequence[GetDatabase Instance Setting] 
- project str
- availableMaintenance List<String>Versions 
- clones List<Property Map>
- connectionName String
- databaseVersion String
- deletionProtection Boolean
- dnsName String
- encryptionKey StringName 
- firstIp StringAddress 
- id String
- The provider-assigned unique ID for this managed resource.
- instanceType String
- ipAddresses List<Property Map>
- maintenanceVersion String
- masterInstance StringName 
- name String
- privateIp StringAddress 
- pscService StringAttachment Link 
- publicIp StringAddress 
- region String
- replicaConfigurations List<Property Map>
- replicaNames List<String>
- replicationClusters List<Property Map>
- restoreBackup List<Property Map>Contexts 
- rootPassword String
- selfLink String
- serverCa List<Property Map>Certs 
- serviceAccount StringEmail Address 
- settings List<Property Map>
- project String
Supporting Types
GetDatabaseInstanceClone   
- AllocatedIp stringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- DatabaseNames List<string>
- (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
- PointIn stringTime 
- The timestamp of the point in time that should be restored.
- PreferredZone string
- (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
- SourceInstance stringName 
- The name of the instance from which the point in time should be restored.
- AllocatedIp stringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- DatabaseNames []string
- (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
- PointIn stringTime 
- The timestamp of the point in time that should be restored.
- PreferredZone string
- (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
- SourceInstance stringName 
- The name of the instance from which the point in time should be restored.
- allocatedIp StringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- databaseNames List<String>
- (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
- pointIn StringTime 
- The timestamp of the point in time that should be restored.
- preferredZone String
- (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
- sourceInstance StringName 
- The name of the instance from which the point in time should be restored.
- allocatedIp stringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- databaseNames string[]
- (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
- pointIn stringTime 
- The timestamp of the point in time that should be restored.
- preferredZone string
- (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
- sourceInstance stringName 
- The name of the instance from which the point in time should be restored.
- allocated_ip_ strrange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- database_names Sequence[str]
- (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
- point_in_ strtime 
- The timestamp of the point in time that should be restored.
- preferred_zone str
- (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
- source_instance_ strname 
- The name of the instance from which the point in time should be restored.
- allocatedIp StringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- databaseNames List<String>
- (SQL Server only, use with point_in_time) clone only the specified databases from the source instance. Clone all databases if empty.
- pointIn StringTime 
- The timestamp of the point in time that should be restored.
- preferredZone String
- (Point-in-time recovery for PostgreSQL only) Clone to an instance in the specified zone. If no zone is specified, clone to the same zone as the source instance.
- sourceInstance StringName 
- The name of the instance from which the point in time should be restored.
GetDatabaseInstanceIpAddress    
- IpAddress string
- TimeTo stringRetire 
- Type string
- IpAddress string
- TimeTo stringRetire 
- Type string
- ipAddress String
- timeTo StringRetire 
- type String
- ipAddress string
- timeTo stringRetire 
- type string
- ip_address str
- time_to_ strretire 
- type str
- ipAddress String
- timeTo StringRetire 
- type String
GetDatabaseInstanceReplicaConfiguration    
- CaCertificate string
- PEM representation of the trusted CA's x509 certificate.
- CascadableReplica bool
- Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
- ClientCertificate string
- PEM representation of the replica's x509 certificate.
- ClientKey string
- PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
- ConnectRetry intInterval 
- The number of seconds between connect retries. MySQL's default is 60 seconds.
- DumpFile stringPath 
- Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
- FailoverTarget bool
- Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. Not supported for Postgres
- MasterHeartbeat intPeriod 
- Time in ms between replication heartbeats.
- Password string
- Password for the replication connection.
- SslCipher string
- Permissible ciphers for use in SSL encryption.
- Username string
- Username for replication connection.
- VerifyServer boolCertificate 
- True if the master's common name value is checked during the SSL handshake.
- CaCertificate string
- PEM representation of the trusted CA's x509 certificate.
- CascadableReplica bool
- Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
- ClientCertificate string
- PEM representation of the replica's x509 certificate.
- ClientKey string
- PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
- ConnectRetry intInterval 
- The number of seconds between connect retries. MySQL's default is 60 seconds.
- DumpFile stringPath 
- Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
- FailoverTarget bool
- Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. Not supported for Postgres
- MasterHeartbeat intPeriod 
- Time in ms between replication heartbeats.
- Password string
- Password for the replication connection.
- SslCipher string
- Permissible ciphers for use in SSL encryption.
- Username string
- Username for replication connection.
- VerifyServer boolCertificate 
- True if the master's common name value is checked during the SSL handshake.
- caCertificate String
- PEM representation of the trusted CA's x509 certificate.
- cascadableReplica Boolean
- Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
- clientCertificate String
- PEM representation of the replica's x509 certificate.
- clientKey String
- PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
- connectRetry IntegerInterval 
- The number of seconds between connect retries. MySQL's default is 60 seconds.
- dumpFile StringPath 
- Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
- failoverTarget Boolean
- Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. Not supported for Postgres
- masterHeartbeat IntegerPeriod 
- Time in ms between replication heartbeats.
- password String
- Password for the replication connection.
- sslCipher String
- Permissible ciphers for use in SSL encryption.
- username String
- Username for replication connection.
- verifyServer BooleanCertificate 
- True if the master's common name value is checked during the SSL handshake.
- caCertificate string
- PEM representation of the trusted CA's x509 certificate.
- cascadableReplica boolean
- Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
- clientCertificate string
- PEM representation of the replica's x509 certificate.
- clientKey string
- PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
- connectRetry numberInterval 
- The number of seconds between connect retries. MySQL's default is 60 seconds.
- dumpFile stringPath 
- Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
- failoverTarget boolean
- Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. Not supported for Postgres
- masterHeartbeat numberPeriod 
- Time in ms between replication heartbeats.
- password string
- Password for the replication connection.
- sslCipher string
- Permissible ciphers for use in SSL encryption.
- username string
- Username for replication connection.
- verifyServer booleanCertificate 
- True if the master's common name value is checked during the SSL handshake.
- ca_certificate str
- PEM representation of the trusted CA's x509 certificate.
- cascadable_replica bool
- Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
- client_certificate str
- PEM representation of the replica's x509 certificate.
- client_key str
- PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
- connect_retry_ intinterval 
- The number of seconds between connect retries. MySQL's default is 60 seconds.
- dump_file_ strpath 
- Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
- failover_target bool
- Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. Not supported for Postgres
- master_heartbeat_ intperiod 
- Time in ms between replication heartbeats.
- password str
- Password for the replication connection.
- ssl_cipher str
- Permissible ciphers for use in SSL encryption.
- username str
- Username for replication connection.
- verify_server_ boolcertificate 
- True if the master's common name value is checked during the SSL handshake.
- caCertificate String
- PEM representation of the trusted CA's x509 certificate.
- cascadableReplica Boolean
- Specifies if a SQL Server replica is a cascadable replica. A cascadable replica is a SQL Server cross region replica that supports replica(s) under it.
- clientCertificate String
- PEM representation of the replica's x509 certificate.
- clientKey String
- PEM representation of the replica's private key. The corresponding public key in encoded in the client_certificate.
- connectRetry NumberInterval 
- The number of seconds between connect retries. MySQL's default is 60 seconds.
- dumpFile StringPath 
- Path to a SQL file in Google Cloud Storage from which replica instances are created. Format is gs://bucket/filename.
- failoverTarget Boolean
- Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance. Not supported for Postgres
- masterHeartbeat NumberPeriod 
- Time in ms between replication heartbeats.
- password String
- Password for the replication connection.
- sslCipher String
- Permissible ciphers for use in SSL encryption.
- username String
- Username for replication connection.
- verifyServer BooleanCertificate 
- True if the master's common name value is checked during the SSL handshake.
GetDatabaseInstanceReplicationCluster    
- DrReplica bool
- Read-only field that indicates whether the replica is a DR replica.
- FailoverDr stringReplica Name 
- If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. The standard format of this field is "your-project:your-instance". You can also set this field to "your-instance", but cloud SQL backend will convert it to the aforementioned standard format.
- DrReplica bool
- Read-only field that indicates whether the replica is a DR replica.
- FailoverDr stringReplica Name 
- If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. The standard format of this field is "your-project:your-instance". You can also set this field to "your-instance", but cloud SQL backend will convert it to the aforementioned standard format.
- drReplica Boolean
- Read-only field that indicates whether the replica is a DR replica.
- failoverDr StringReplica Name 
- If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. The standard format of this field is "your-project:your-instance". You can also set this field to "your-instance", but cloud SQL backend will convert it to the aforementioned standard format.
- drReplica boolean
- Read-only field that indicates whether the replica is a DR replica.
- failoverDr stringReplica Name 
- If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. The standard format of this field is "your-project:your-instance". You can also set this field to "your-instance", but cloud SQL backend will convert it to the aforementioned standard format.
- dr_replica bool
- Read-only field that indicates whether the replica is a DR replica.
- failover_dr_ strreplica_ name 
- If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. The standard format of this field is "your-project:your-instance". You can also set this field to "your-instance", but cloud SQL backend will convert it to the aforementioned standard format.
- drReplica Boolean
- Read-only field that indicates whether the replica is a DR replica.
- failoverDr StringReplica Name 
- If the instance is a primary instance, then this field identifies the disaster recovery (DR) replica. The standard format of this field is "your-project:your-instance". You can also set this field to "your-instance", but cloud SQL backend will convert it to the aforementioned standard format.
GetDatabaseInstanceRestoreBackupContext     
- BackupRun intId 
- The ID of the backup run to restore from.
- InstanceId string
- The ID of the instance that the backup was taken from.
- Project string
- The ID of the project in which the resource belongs.
- BackupRun intId 
- The ID of the backup run to restore from.
- InstanceId string
- The ID of the instance that the backup was taken from.
- Project string
- The ID of the project in which the resource belongs.
- backupRun IntegerId 
- The ID of the backup run to restore from.
- instanceId String
- The ID of the instance that the backup was taken from.
- project String
- The ID of the project in which the resource belongs.
- backupRun numberId 
- The ID of the backup run to restore from.
- instanceId string
- The ID of the instance that the backup was taken from.
- project string
- The ID of the project in which the resource belongs.
- backup_run_ intid 
- The ID of the backup run to restore from.
- instance_id str
- The ID of the instance that the backup was taken from.
- project str
- The ID of the project in which the resource belongs.
- backupRun NumberId 
- The ID of the backup run to restore from.
- instanceId String
- The ID of the instance that the backup was taken from.
- project String
- The ID of the project in which the resource belongs.
GetDatabaseInstanceServerCaCert     
- Cert string
- The CA Certificate used to connect to the SQL Instance via SSL.
- CommonName string
- The CN valid for the CA Cert.
- CreateTime string
- Creation time of the CA Cert.
- ExpirationTime string
- Expiration time of the CA Cert.
- Sha1Fingerprint string
- SHA Fingerprint of the CA Cert.
- Cert string
- The CA Certificate used to connect to the SQL Instance via SSL.
- CommonName string
- The CN valid for the CA Cert.
- CreateTime string
- Creation time of the CA Cert.
- ExpirationTime string
- Expiration time of the CA Cert.
- Sha1Fingerprint string
- SHA Fingerprint of the CA Cert.
- cert String
- The CA Certificate used to connect to the SQL Instance via SSL.
- commonName String
- The CN valid for the CA Cert.
- createTime String
- Creation time of the CA Cert.
- expirationTime String
- Expiration time of the CA Cert.
- sha1Fingerprint String
- SHA Fingerprint of the CA Cert.
- cert string
- The CA Certificate used to connect to the SQL Instance via SSL.
- commonName string
- The CN valid for the CA Cert.
- createTime string
- Creation time of the CA Cert.
- expirationTime string
- Expiration time of the CA Cert.
- sha1Fingerprint string
- SHA Fingerprint of the CA Cert.
- cert str
- The CA Certificate used to connect to the SQL Instance via SSL.
- common_name str
- The CN valid for the CA Cert.
- create_time str
- Creation time of the CA Cert.
- expiration_time str
- Expiration time of the CA Cert.
- sha1_fingerprint str
- SHA Fingerprint of the CA Cert.
- cert String
- The CA Certificate used to connect to the SQL Instance via SSL.
- commonName String
- The CN valid for the CA Cert.
- createTime String
- Creation time of the CA Cert.
- expirationTime String
- Expiration time of the CA Cert.
- sha1Fingerprint String
- SHA Fingerprint of the CA Cert.
GetDatabaseInstanceSetting   
- ActivationPolicy string
- This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
- ActiveDirectory List<GetConfigs Database Instance Setting Active Directory Config> 
- AdvancedMachine List<GetFeatures Database Instance Setting Advanced Machine Feature> 
- AvailabilityType string
- The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.
- BackupConfigurations List<GetDatabase Instance Setting Backup Configuration> 
- Collation string
- The name of server instance collation.
- ConnectorEnforcement string
- Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
- DataCache List<GetConfigs Database Instance Setting Data Cache Config> 
- Data cache configurations.
- DatabaseFlags List<GetDatabase Instance Setting Database Flag> 
- DeletionProtection boolEnabled 
- Configuration to protect against accidental instance deletion.
- DenyMaintenance List<GetPeriods Database Instance Setting Deny Maintenance Period> 
- DiskAutoresize bool
- Enables auto-resizing of the storage size. Defaults to true.
- DiskAutoresize intLimit 
- The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- DiskSize int
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
- DiskType string
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
- Edition string
- The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
- EnableDataplex boolIntegration 
- Enables Dataplex Integration.
- EnableGoogle boolMl Integration 
- Enables Vertex AI Integration.
- InsightsConfigs List<GetDatabase Instance Setting Insights Config> 
- Configuration of Query Insights.
- IpConfigurations List<GetDatabase Instance Setting Ip Configuration> 
- LocationPreferences List<GetDatabase Instance Setting Location Preference> 
- MaintenanceWindows List<GetDatabase Instance Setting Maintenance Window> 
- Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
- PasswordValidation List<GetPolicies Database Instance Setting Password Validation Policy> 
- PricingPlan string
- Pricing plan for this instance, can only be PER_USE.
- SqlServer List<GetAudit Configs Database Instance Setting Sql Server Audit Config> 
- Tier string
- The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
- TimeZone string
- The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
- UserLabels Dictionary<string, string>
- A set of key/value user label pairs to assign to the instance.
- Version int
- Used to make sure changes to the settings block are atomic.
- ActivationPolicy string
- This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
- ActiveDirectory []GetConfigs Database Instance Setting Active Directory Config 
- AdvancedMachine []GetFeatures Database Instance Setting Advanced Machine Feature 
- AvailabilityType string
- The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.
- BackupConfigurations []GetDatabase Instance Setting Backup Configuration 
- Collation string
- The name of server instance collation.
- ConnectorEnforcement string
- Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
- DataCache []GetConfigs Database Instance Setting Data Cache Config 
- Data cache configurations.
- DatabaseFlags []GetDatabase Instance Setting Database Flag 
- DeletionProtection boolEnabled 
- Configuration to protect against accidental instance deletion.
- DenyMaintenance []GetPeriods Database Instance Setting Deny Maintenance Period 
- DiskAutoresize bool
- Enables auto-resizing of the storage size. Defaults to true.
- DiskAutoresize intLimit 
- The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- DiskSize int
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
- DiskType string
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
- Edition string
- The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
- EnableDataplex boolIntegration 
- Enables Dataplex Integration.
- EnableGoogle boolMl Integration 
- Enables Vertex AI Integration.
- InsightsConfigs []GetDatabase Instance Setting Insights Config 
- Configuration of Query Insights.
- IpConfigurations []GetDatabase Instance Setting Ip Configuration 
- LocationPreferences []GetDatabase Instance Setting Location Preference 
- MaintenanceWindows []GetDatabase Instance Setting Maintenance Window 
- Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
- PasswordValidation []GetPolicies Database Instance Setting Password Validation Policy 
- PricingPlan string
- Pricing plan for this instance, can only be PER_USE.
- SqlServer []GetAudit Configs Database Instance Setting Sql Server Audit Config 
- Tier string
- The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
- TimeZone string
- The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
- UserLabels map[string]string
- A set of key/value user label pairs to assign to the instance.
- Version int
- Used to make sure changes to the settings block are atomic.
- activationPolicy String
- This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
- activeDirectory List<GetConfigs Database Instance Setting Active Directory Config> 
- advancedMachine List<GetFeatures Database Instance Setting Advanced Machine Feature> 
- availabilityType String
- The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.
- backupConfigurations List<GetDatabase Instance Setting Backup Configuration> 
- collation String
- The name of server instance collation.
- connectorEnforcement String
- Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
- dataCache List<GetConfigs Database Instance Setting Data Cache Config> 
- Data cache configurations.
- databaseFlags List<GetDatabase Instance Setting Database Flag> 
- deletionProtection BooleanEnabled 
- Configuration to protect against accidental instance deletion.
- denyMaintenance List<GetPeriods Database Instance Setting Deny Maintenance Period> 
- diskAutoresize Boolean
- Enables auto-resizing of the storage size. Defaults to true.
- diskAutoresize IntegerLimit 
- The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- diskSize Integer
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
- diskType String
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
- edition String
- The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
- enableDataplex BooleanIntegration 
- Enables Dataplex Integration.
- enableGoogle BooleanMl Integration 
- Enables Vertex AI Integration.
- insightsConfigs List<GetDatabase Instance Setting Insights Config> 
- Configuration of Query Insights.
- ipConfigurations List<GetDatabase Instance Setting Ip Configuration> 
- locationPreferences List<GetDatabase Instance Setting Location Preference> 
- maintenanceWindows List<GetDatabase Instance Setting Maintenance Window> 
- Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
- passwordValidation List<GetPolicies Database Instance Setting Password Validation Policy> 
- pricingPlan String
- Pricing plan for this instance, can only be PER_USE.
- sqlServer List<GetAudit Configs Database Instance Setting Sql Server Audit Config> 
- tier String
- The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
- timeZone String
- The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
- userLabels Map<String,String>
- A set of key/value user label pairs to assign to the instance.
- version Integer
- Used to make sure changes to the settings block are atomic.
- activationPolicy string
- This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
- activeDirectory GetConfigs Database Instance Setting Active Directory Config[] 
- advancedMachine GetFeatures Database Instance Setting Advanced Machine Feature[] 
- availabilityType string
- The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.
- backupConfigurations GetDatabase Instance Setting Backup Configuration[] 
- collation string
- The name of server instance collation.
- connectorEnforcement string
- Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
- dataCache GetConfigs Database Instance Setting Data Cache Config[] 
- Data cache configurations.
- databaseFlags GetDatabase Instance Setting Database Flag[] 
- deletionProtection booleanEnabled 
- Configuration to protect against accidental instance deletion.
- denyMaintenance GetPeriods Database Instance Setting Deny Maintenance Period[] 
- diskAutoresize boolean
- Enables auto-resizing of the storage size. Defaults to true.
- diskAutoresize numberLimit 
- The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- diskSize number
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
- diskType string
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
- edition string
- The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
- enableDataplex booleanIntegration 
- Enables Dataplex Integration.
- enableGoogle booleanMl Integration 
- Enables Vertex AI Integration.
- insightsConfigs GetDatabase Instance Setting Insights Config[] 
- Configuration of Query Insights.
- ipConfigurations GetDatabase Instance Setting Ip Configuration[] 
- locationPreferences GetDatabase Instance Setting Location Preference[] 
- maintenanceWindows GetDatabase Instance Setting Maintenance Window[] 
- Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
- passwordValidation GetPolicies Database Instance Setting Password Validation Policy[] 
- pricingPlan string
- Pricing plan for this instance, can only be PER_USE.
- sqlServer GetAudit Configs Database Instance Setting Sql Server Audit Config[] 
- tier string
- The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
- timeZone string
- The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
- userLabels {[key: string]: string}
- A set of key/value user label pairs to assign to the instance.
- version number
- Used to make sure changes to the settings block are atomic.
- activation_policy str
- This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
- active_directory_ Sequence[Getconfigs Database Instance Setting Active Directory Config] 
- advanced_machine_ Sequence[Getfeatures Database Instance Setting Advanced Machine Feature] 
- availability_type str
- The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.
- backup_configurations Sequence[GetDatabase Instance Setting Backup Configuration] 
- collation str
- The name of server instance collation.
- connector_enforcement str
- Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
- data_cache_ Sequence[Getconfigs Database Instance Setting Data Cache Config] 
- Data cache configurations.
- database_flags Sequence[GetDatabase Instance Setting Database Flag] 
- deletion_protection_ boolenabled 
- Configuration to protect against accidental instance deletion.
- deny_maintenance_ Sequence[Getperiods Database Instance Setting Deny Maintenance Period] 
- disk_autoresize bool
- Enables auto-resizing of the storage size. Defaults to true.
- disk_autoresize_ intlimit 
- The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- disk_size int
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
- disk_type str
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
- edition str
- The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
- enable_dataplex_ boolintegration 
- Enables Dataplex Integration.
- enable_google_ boolml_ integration 
- Enables Vertex AI Integration.
- insights_configs Sequence[GetDatabase Instance Setting Insights Config] 
- Configuration of Query Insights.
- ip_configurations Sequence[GetDatabase Instance Setting Ip Configuration] 
- location_preferences Sequence[GetDatabase Instance Setting Location Preference] 
- maintenance_windows Sequence[GetDatabase Instance Setting Maintenance Window] 
- Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
- password_validation_ Sequence[Getpolicies Database Instance Setting Password Validation Policy] 
- pricing_plan str
- Pricing plan for this instance, can only be PER_USE.
- sql_server_ Sequence[Getaudit_ configs Database Instance Setting Sql Server Audit Config] 
- tier str
- The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
- time_zone str
- The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
- user_labels Mapping[str, str]
- A set of key/value user label pairs to assign to the instance.
- version int
- Used to make sure changes to the settings block are atomic.
- activationPolicy String
- This specifies when the instance should be active. Can be either ALWAYS, NEVER or ON_DEMAND.
- activeDirectory List<Property Map>Configs 
- advancedMachine List<Property Map>Features 
- availabilityType String
- The availability type of the Cloud SQL instance, high availability (REGIONAL) or single zone (ZONAL). For all instances, ensure that settings.backup_configuration.enabled is set to true. For MySQL instances, ensure that settings.backup_configuration.binary_log_enabled is set to true. For Postgres instances, ensure that settings.backup_configuration.point_in_time_recovery_enabled is set to true. Defaults to ZONAL.
- backupConfigurations List<Property Map>
- collation String
- The name of server instance collation.
- connectorEnforcement String
- Enables the enforcement of Cloud SQL Auth Proxy or Cloud SQL connectors for all the connections. If enabled, all the direct connections are rejected.
- dataCache List<Property Map>Configs 
- Data cache configurations.
- databaseFlags List<Property Map>
- deletionProtection BooleanEnabled 
- Configuration to protect against accidental instance deletion.
- denyMaintenance List<Property Map>Periods 
- diskAutoresize Boolean
- Enables auto-resizing of the storage size. Defaults to true.
- diskAutoresize NumberLimit 
- The maximum size, in GB, to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- diskSize Number
- The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
- diskType String
- The type of data disk: PD_SSD or PD_HDD. Defaults to PD_SSD.
- edition String
- The edition of the instance, can be ENTERPRISE or ENTERPRISE_PLUS.
- enableDataplex BooleanIntegration 
- Enables Dataplex Integration.
- enableGoogle BooleanMl Integration 
- Enables Vertex AI Integration.
- insightsConfigs List<Property Map>
- Configuration of Query Insights.
- ipConfigurations List<Property Map>
- locationPreferences List<Property Map>
- maintenanceWindows List<Property Map>
- Declares a one-hour maintenance window when an Instance can automatically restart to apply updates. The maintenance window is specified in UTC time.
- passwordValidation List<Property Map>Policies 
- pricingPlan String
- Pricing plan for this instance, can only be PER_USE.
- sqlServer List<Property Map>Audit Configs 
- tier String
- The machine type to use. See tiers for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as db-custom-2-13312. See the Custom Machine Type Documentation to learn about specifying custom machine types.
- timeZone String
- The time_zone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
- userLabels Map<String>
- A set of key/value user label pairs to assign to the instance.
- version Number
- Used to make sure changes to the settings block are atomic.
GetDatabaseInstanceSettingActiveDirectoryConfig      
- Domain string
- Domain name of the Active Directory for SQL Server (e.g., mydomain.com).
- Domain string
- Domain name of the Active Directory for SQL Server (e.g., mydomain.com).
- domain String
- Domain name of the Active Directory for SQL Server (e.g., mydomain.com).
- domain string
- Domain name of the Active Directory for SQL Server (e.g., mydomain.com).
- domain str
- Domain name of the Active Directory for SQL Server (e.g., mydomain.com).
- domain String
- Domain name of the Active Directory for SQL Server (e.g., mydomain.com).
GetDatabaseInstanceSettingAdvancedMachineFeature      
- ThreadsPer intCore 
- The number of threads per physical core. Can be 1 or 2.
- ThreadsPer intCore 
- The number of threads per physical core. Can be 1 or 2.
- threadsPer IntegerCore 
- The number of threads per physical core. Can be 1 or 2.
- threadsPer numberCore 
- The number of threads per physical core. Can be 1 or 2.
- threads_per_ intcore 
- The number of threads per physical core. Can be 1 or 2.
- threadsPer NumberCore 
- The number of threads per physical core. Can be 1 or 2.
GetDatabaseInstanceSettingBackupConfiguration     
- BackupRetention List<GetSettings Database Instance Setting Backup Configuration Backup Retention Setting> 
- BinaryLog boolEnabled 
- True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL.
- Enabled bool
- True if backup configuration is enabled.
- Location string
- Location of the backup configuration.
- PointIn boolTime Recovery Enabled 
- True if Point-in-time recovery is enabled.
- StartTime string
- HH:MM format time indicating when backup configuration starts.
- TransactionLog intRetention Days 
- The number of days of transaction logs we retain for point in time restore, from 1-7. (For PostgreSQL Enterprise Plus instances, from 1 to 35.)
- BackupRetention []GetSettings Database Instance Setting Backup Configuration Backup Retention Setting 
- BinaryLog boolEnabled 
- True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL.
- Enabled bool
- True if backup configuration is enabled.
- Location string
- Location of the backup configuration.
- PointIn boolTime Recovery Enabled 
- True if Point-in-time recovery is enabled.
- StartTime string
- HH:MM format time indicating when backup configuration starts.
- TransactionLog intRetention Days 
- The number of days of transaction logs we retain for point in time restore, from 1-7. (For PostgreSQL Enterprise Plus instances, from 1 to 35.)
- backupRetention List<GetSettings Database Instance Setting Backup Configuration Backup Retention Setting> 
- binaryLog BooleanEnabled 
- True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL.
- enabled Boolean
- True if backup configuration is enabled.
- location String
- Location of the backup configuration.
- pointIn BooleanTime Recovery Enabled 
- True if Point-in-time recovery is enabled.
- startTime String
- HH:MM format time indicating when backup configuration starts.
- transactionLog IntegerRetention Days 
- The number of days of transaction logs we retain for point in time restore, from 1-7. (For PostgreSQL Enterprise Plus instances, from 1 to 35.)
- backupRetention GetSettings Database Instance Setting Backup Configuration Backup Retention Setting[] 
- binaryLog booleanEnabled 
- True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL.
- enabled boolean
- True if backup configuration is enabled.
- location string
- Location of the backup configuration.
- pointIn booleanTime Recovery Enabled 
- True if Point-in-time recovery is enabled.
- startTime string
- HH:MM format time indicating when backup configuration starts.
- transactionLog numberRetention Days 
- The number of days of transaction logs we retain for point in time restore, from 1-7. (For PostgreSQL Enterprise Plus instances, from 1 to 35.)
- backup_retention_ Sequence[Getsettings Database Instance Setting Backup Configuration Backup Retention Setting] 
- binary_log_ boolenabled 
- True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL.
- enabled bool
- True if backup configuration is enabled.
- location str
- Location of the backup configuration.
- point_in_ booltime_ recovery_ enabled 
- True if Point-in-time recovery is enabled.
- start_time str
- HH:MM format time indicating when backup configuration starts.
- transaction_log_ intretention_ days 
- The number of days of transaction logs we retain for point in time restore, from 1-7. (For PostgreSQL Enterprise Plus instances, from 1 to 35.)
- backupRetention List<Property Map>Settings 
- binaryLog BooleanEnabled 
- True if binary logging is enabled. If settings.backup_configuration.enabled is false, this must be as well. Can only be used with MySQL.
- enabled Boolean
- True if backup configuration is enabled.
- location String
- Location of the backup configuration.
- pointIn BooleanTime Recovery Enabled 
- True if Point-in-time recovery is enabled.
- startTime String
- HH:MM format time indicating when backup configuration starts.
- transactionLog NumberRetention Days 
- The number of days of transaction logs we retain for point in time restore, from 1-7. (For PostgreSQL Enterprise Plus instances, from 1 to 35.)
GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting        
- RetainedBackups int
- Number of backups to retain.
- RetentionUnit string
- The unit that 'retainedBackups' represents. Defaults to COUNT
- RetainedBackups int
- Number of backups to retain.
- RetentionUnit string
- The unit that 'retainedBackups' represents. Defaults to COUNT
- retainedBackups Integer
- Number of backups to retain.
- retentionUnit String
- The unit that 'retainedBackups' represents. Defaults to COUNT
- retainedBackups number
- Number of backups to retain.
- retentionUnit string
- The unit that 'retainedBackups' represents. Defaults to COUNT
- retained_backups int
- Number of backups to retain.
- retention_unit str
- The unit that 'retainedBackups' represents. Defaults to COUNT
- retainedBackups Number
- Number of backups to retain.
- retentionUnit String
- The unit that 'retainedBackups' represents. Defaults to COUNT
GetDatabaseInstanceSettingDataCacheConfig      
- DataCache boolEnabled 
- Whether data cache is enabled for the instance.
- DataCache boolEnabled 
- Whether data cache is enabled for the instance.
- dataCache BooleanEnabled 
- Whether data cache is enabled for the instance.
- dataCache booleanEnabled 
- Whether data cache is enabled for the instance.
- data_cache_ boolenabled 
- Whether data cache is enabled for the instance.
- dataCache BooleanEnabled 
- Whether data cache is enabled for the instance.
GetDatabaseInstanceSettingDatabaseFlag     
GetDatabaseInstanceSettingDenyMaintenancePeriod      
- EndDate string
- End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- StartDate string
- Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Time string
- Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- EndDate string
- End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- StartDate string
- Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Time string
- Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- endDate String
- End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- startDate String
- Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- time String
- Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- endDate string
- End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- startDate string
- Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- time string
- Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- end_date str
- End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- start_date str
- Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- time str
- Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
- endDate String
- End date before which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- startDate String
- Start date after which maintenance will not take place. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- time String
- Time in UTC when the "deny maintenance period" starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
GetDatabaseInstanceSettingInsightsConfig     
- QueryInsights boolEnabled 
- True if Query Insights feature is enabled.
- QueryPlans intPer Minute 
- Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
- QueryString intLength 
- Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
- bool
- True if Query Insights will record application tags from query when enabled.
- RecordClient boolAddress 
- True if Query Insights will record client address when enabled.
- QueryInsights boolEnabled 
- True if Query Insights feature is enabled.
- QueryPlans intPer Minute 
- Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
- QueryString intLength 
- Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
- bool
- True if Query Insights will record application tags from query when enabled.
- RecordClient boolAddress 
- True if Query Insights will record client address when enabled.
- queryInsights BooleanEnabled 
- True if Query Insights feature is enabled.
- queryPlans IntegerPer Minute 
- Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
- queryString IntegerLength 
- Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
- Boolean
- True if Query Insights will record application tags from query when enabled.
- recordClient BooleanAddress 
- True if Query Insights will record client address when enabled.
- queryInsights booleanEnabled 
- True if Query Insights feature is enabled.
- queryPlans numberPer Minute 
- Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
- queryString numberLength 
- Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
- boolean
- True if Query Insights will record application tags from query when enabled.
- recordClient booleanAddress 
- True if Query Insights will record client address when enabled.
- query_insights_ boolenabled 
- True if Query Insights feature is enabled.
- query_plans_ intper_ minute 
- Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
- query_string_ intlength 
- Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
- bool
- True if Query Insights will record application tags from query when enabled.
- record_client_ booladdress 
- True if Query Insights will record client address when enabled.
- queryInsights BooleanEnabled 
- True if Query Insights feature is enabled.
- queryPlans NumberPer Minute 
- Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
- queryString NumberLength 
- Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
- Boolean
- True if Query Insights will record application tags from query when enabled.
- recordClient BooleanAddress 
- True if Query Insights will record client address when enabled.
GetDatabaseInstanceSettingIpConfiguration     
- AllocatedIp stringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- 
List<GetDatabase Instance Setting Ip Configuration Authorized Network> 
- EnablePrivate boolPath For Google Cloud Services 
- Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
- Ipv4Enabled bool
- Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
- PrivateNetwork string
- The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
- PscConfigs List<GetDatabase Instance Setting Ip Configuration Psc Config> 
- PSC settings for a Cloud SQL instance.
- ServerCa stringMode 
- Specify how the server certificate's Certificate Authority is hosted.
- ServerCa stringPool 
- The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
- SslMode string
- Specify how SSL connection should be enforced in DB connections.
- AllocatedIp stringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- 
[]GetDatabase Instance Setting Ip Configuration Authorized Network 
- EnablePrivate boolPath For Google Cloud Services 
- Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
- Ipv4Enabled bool
- Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
- PrivateNetwork string
- The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
- PscConfigs []GetDatabase Instance Setting Ip Configuration Psc Config 
- PSC settings for a Cloud SQL instance.
- ServerCa stringMode 
- Specify how the server certificate's Certificate Authority is hosted.
- ServerCa stringPool 
- The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
- SslMode string
- Specify how SSL connection should be enforced in DB connections.
- allocatedIp StringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- 
List<GetDatabase Instance Setting Ip Configuration Authorized Network> 
- enablePrivate BooleanPath For Google Cloud Services 
- Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
- ipv4Enabled Boolean
- Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
- privateNetwork String
- The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
- pscConfigs List<GetDatabase Instance Setting Ip Configuration Psc Config> 
- PSC settings for a Cloud SQL instance.
- serverCa StringMode 
- Specify how the server certificate's Certificate Authority is hosted.
- serverCa StringPool 
- The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
- sslMode String
- Specify how SSL connection should be enforced in DB connections.
- allocatedIp stringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- 
GetDatabase Instance Setting Ip Configuration Authorized Network[] 
- enablePrivate booleanPath For Google Cloud Services 
- Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
- ipv4Enabled boolean
- Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
- privateNetwork string
- The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
- pscConfigs GetDatabase Instance Setting Ip Configuration Psc Config[] 
- PSC settings for a Cloud SQL instance.
- serverCa stringMode 
- Specify how the server certificate's Certificate Authority is hosted.
- serverCa stringPool 
- The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
- sslMode string
- Specify how SSL connection should be enforced in DB connections.
- allocated_ip_ strrange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- 
Sequence[GetDatabase Instance Setting Ip Configuration Authorized Network] 
- enable_private_ boolpath_ for_ google_ cloud_ services 
- Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
- ipv4_enabled bool
- Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
- private_network str
- The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
- psc_configs Sequence[GetDatabase Instance Setting Ip Configuration Psc Config] 
- PSC settings for a Cloud SQL instance.
- server_ca_ strmode 
- Specify how the server certificate's Certificate Authority is hosted.
- server_ca_ strpool 
- The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
- ssl_mode str
- Specify how SSL connection should be enforced in DB connections.
- allocatedIp StringRange 
- The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the instance ip will be created in the allocated range. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
- List<Property Map>
- enablePrivate BooleanPath For Google Cloud Services 
- Whether Google Cloud services such as BigQuery are allowed to access data in this Cloud SQL instance over a private IP connection. SQLSERVER database type is not supported.
- ipv4Enabled Boolean
- Whether this Cloud SQL instance should be assigned a public IPV4 address. At least ipv4_enabled must be enabled or a private_network must be configured.
- privateNetwork String
- The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least ipv4_enabled must be enabled or a private_network must be configured. This setting can be updated, but it cannot be removed after it is set.
- pscConfigs List<Property Map>
- PSC settings for a Cloud SQL instance.
- serverCa StringMode 
- Specify how the server certificate's Certificate Authority is hosted.
- serverCa StringPool 
- The resource name of the server CA pool for an instance with "CUSTOMER_MANAGED_CAS_CA" as the "server_ca_mode".
- sslMode String
- Specify how SSL connection should be enforced in DB connections.
GetDatabaseInstanceSettingIpConfigurationAuthorizedNetwork       
- ExpirationTime string
- Name string
- The name of the instance.
- Value string
- ExpirationTime string
- Name string
- The name of the instance.
- Value string
- expirationTime String
- name String
- The name of the instance.
- value String
- expirationTime string
- name string
- The name of the instance.
- value string
- expiration_time str
- name str
- The name of the instance.
- value str
- expirationTime String
- name String
- The name of the instance.
- value String
GetDatabaseInstanceSettingIpConfigurationPscConfig       
- AllowedConsumer List<string>Projects 
- List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
- PscAuto List<GetConnections Database Instance Setting Ip Configuration Psc Config Psc Auto Connection> 
- A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
- PscEnabled bool
- Whether PSC connectivity is enabled for this instance.
- AllowedConsumer []stringProjects 
- List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
- PscAuto []GetConnections Database Instance Setting Ip Configuration Psc Config Psc Auto Connection 
- A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
- PscEnabled bool
- Whether PSC connectivity is enabled for this instance.
- allowedConsumer List<String>Projects 
- List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
- pscAuto List<GetConnections Database Instance Setting Ip Configuration Psc Config Psc Auto Connection> 
- A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
- pscEnabled Boolean
- Whether PSC connectivity is enabled for this instance.
- allowedConsumer string[]Projects 
- List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
- pscAuto GetConnections Database Instance Setting Ip Configuration Psc Config Psc Auto Connection[] 
- A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
- pscEnabled boolean
- Whether PSC connectivity is enabled for this instance.
- allowed_consumer_ Sequence[str]projects 
- List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
- psc_auto_ Sequence[Getconnections Database Instance Setting Ip Configuration Psc Config Psc Auto Connection] 
- A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
- psc_enabled bool
- Whether PSC connectivity is enabled for this instance.
- allowedConsumer List<String>Projects 
- List of consumer projects that are allow-listed for PSC connections to this instance. This instance can be connected to with PSC from any network in these projects. Each consumer project in this list may be represented by a project number (numeric) or by a project id (alphanumeric).
- pscAuto List<Property Map>Connections 
- A comma-separated list of networks or a comma-separated list of network-project pairs. Each project in this list is represented by a project number (numeric) or by a project ID (alphanumeric). This allows Private Service Connect connections to be created automatically for the specified networks.
- pscEnabled Boolean
- Whether PSC connectivity is enabled for this instance.
GetDatabaseInstanceSettingIpConfigurationPscConfigPscAutoConnection          
- ConsumerNetwork string
- The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
- ConsumerService stringProject Id 
- The project ID of consumer service project of this consumer endpoint.
- ConsumerNetwork string
- The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
- ConsumerService stringProject Id 
- The project ID of consumer service project of this consumer endpoint.
- consumerNetwork String
- The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
- consumerService StringProject Id 
- The project ID of consumer service project of this consumer endpoint.
- consumerNetwork string
- The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
- consumerService stringProject Id 
- The project ID of consumer service project of this consumer endpoint.
- consumer_network str
- The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
- consumer_service_ strproject_ id 
- The project ID of consumer service project of this consumer endpoint.
- consumerNetwork String
- The consumer network of this consumer endpoint. This must be a resource path that includes both the host project and the network name. The consumer host project of this network might be different from the consumer service project.
- consumerService StringProject Id 
- The project ID of consumer service project of this consumer endpoint.
GetDatabaseInstanceSettingLocationPreference     
- FollowGae stringApplication 
- A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
- SecondaryZone string
- The preferred Compute Engine zone for the secondary/failover
- Zone string
- The preferred compute engine zone.
- FollowGae stringApplication 
- A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
- SecondaryZone string
- The preferred Compute Engine zone for the secondary/failover
- Zone string
- The preferred compute engine zone.
- followGae StringApplication 
- A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
- secondaryZone String
- The preferred Compute Engine zone for the secondary/failover
- zone String
- The preferred compute engine zone.
- followGae stringApplication 
- A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
- secondaryZone string
- The preferred Compute Engine zone for the secondary/failover
- zone string
- The preferred compute engine zone.
- follow_gae_ strapplication 
- A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
- secondary_zone str
- The preferred Compute Engine zone for the secondary/failover
- zone str
- The preferred compute engine zone.
- followGae StringApplication 
- A Google App Engine application whose zone to remain in. Must be in the same region as this instance.
- secondaryZone String
- The preferred Compute Engine zone for the secondary/failover
- zone String
- The preferred compute engine zone.
GetDatabaseInstanceSettingMaintenanceWindow     
- Day int
- Day of week (1-7), starting on Monday
- Hour int
- Hour of day (0-23), ignored if day not set
- UpdateTrack string
- Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification.
- Day int
- Day of week (1-7), starting on Monday
- Hour int
- Hour of day (0-23), ignored if day not set
- UpdateTrack string
- Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification.
- day Integer
- Day of week (1-7), starting on Monday
- hour Integer
- Hour of day (0-23), ignored if day not set
- updateTrack String
- Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification.
- day number
- Day of week (1-7), starting on Monday
- hour number
- Hour of day (0-23), ignored if day not set
- updateTrack string
- Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification.
- day int
- Day of week (1-7), starting on Monday
- hour int
- Hour of day (0-23), ignored if day not set
- update_track str
- Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification.
- day Number
- Day of week (1-7), starting on Monday
- hour Number
- Hour of day (0-23), ignored if day not set
- updateTrack String
- Receive updates after one week (canary) or after two weeks (stable) or after five weeks (week5) of notification.
GetDatabaseInstanceSettingPasswordValidationPolicy      
- Complexity string
- Password complexity.
- DisallowUsername boolSubstring 
- Disallow username as a part of the password.
- EnablePassword boolPolicy 
- Whether the password policy is enabled or not.
- MinLength int
- Minimum number of characters allowed.
- PasswordChange stringInterval 
- Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
- ReuseInterval int
- Number of previous passwords that cannot be reused.
- Complexity string
- Password complexity.
- DisallowUsername boolSubstring 
- Disallow username as a part of the password.
- EnablePassword boolPolicy 
- Whether the password policy is enabled or not.
- MinLength int
- Minimum number of characters allowed.
- PasswordChange stringInterval 
- Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
- ReuseInterval int
- Number of previous passwords that cannot be reused.
- complexity String
- Password complexity.
- disallowUsername BooleanSubstring 
- Disallow username as a part of the password.
- enablePassword BooleanPolicy 
- Whether the password policy is enabled or not.
- minLength Integer
- Minimum number of characters allowed.
- passwordChange StringInterval 
- Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
- reuseInterval Integer
- Number of previous passwords that cannot be reused.
- complexity string
- Password complexity.
- disallowUsername booleanSubstring 
- Disallow username as a part of the password.
- enablePassword booleanPolicy 
- Whether the password policy is enabled or not.
- minLength number
- Minimum number of characters allowed.
- passwordChange stringInterval 
- Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
- reuseInterval number
- Number of previous passwords that cannot be reused.
- complexity str
- Password complexity.
- disallow_username_ boolsubstring 
- Disallow username as a part of the password.
- enable_password_ boolpolicy 
- Whether the password policy is enabled or not.
- min_length int
- Minimum number of characters allowed.
- password_change_ strinterval 
- Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
- reuse_interval int
- Number of previous passwords that cannot be reused.
- complexity String
- Password complexity.
- disallowUsername BooleanSubstring 
- Disallow username as a part of the password.
- enablePassword BooleanPolicy 
- Whether the password policy is enabled or not.
- minLength Number
- Minimum number of characters allowed.
- passwordChange StringInterval 
- Minimum interval after which the password can be changed. This flag is only supported for PostgresSQL.
- reuseInterval Number
- Number of previous passwords that cannot be reused.
GetDatabaseInstanceSettingSqlServerAuditConfig       
- Bucket string
- The name of the destination bucket (e.g., gs://mybucket).
- RetentionInterval string
- How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"..
- UploadInterval string
- How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- Bucket string
- The name of the destination bucket (e.g., gs://mybucket).
- RetentionInterval string
- How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"..
- UploadInterval string
- How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- bucket String
- The name of the destination bucket (e.g., gs://mybucket).
- retentionInterval String
- How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"..
- uploadInterval String
- How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- bucket string
- The name of the destination bucket (e.g., gs://mybucket).
- retentionInterval string
- How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"..
- uploadInterval string
- How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- bucket str
- The name of the destination bucket (e.g., gs://mybucket).
- retention_interval str
- How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"..
- upload_interval str
- How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- bucket String
- The name of the destination bucket (e.g., gs://mybucket).
- retentionInterval String
- How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s"..
- uploadInterval String
- How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.