Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.sqladmin/v1.getInstance
Explore with Pulumi AI
Retrieves a resource containing information about a Cloud SQL instance.
Using getInstance
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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(instance: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
> Note: This function is named LookupInstance
in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:sqladmin/v1:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
getInstance Result
The following output properties are available:
- Available
Maintenance List<string>Versions List all maintenance versions applicable on the instance
- Backend
Type string The backend type.
SECOND_GEN
: Cloud SQL database instance.EXTERNAL
: A database server that is not managed by Google. This property is read-only; use thetier
property in thesettings
object to determine the database type.- Connection
Name string Connection name of the Cloud SQL instance used in connection strings.
- Create
Time string The time when the instance was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Current
Disk stringSize The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
- Database
Installed stringVersion Stores the current database version running on the instance including minor version such as
MYSQL_8_0_18
.- Database
Version string The database engine type and version. The
databaseVersion
field cannot be changed after instance creation.- Disk
Encryption Pulumi.Configuration Google Native. SQLAdmin. V1. Outputs. Disk Encryption Configuration Response Disk encryption configuration specific to an instance.
- Disk
Encryption Pulumi.Status Google Native. SQLAdmin. V1. Outputs. Disk Encryption Status Response Disk encryption status specific to an instance.
- Etag string
This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.- Failover
Replica Pulumi.Google Native. SQLAdmin. V1. Outputs. Instance Failover Replica Response The name and status of the failover replica.
- Gce
Zone string The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
- Instance
Type string The instance type.
- Ip
Addresses List<Pulumi.Google Native. SQLAdmin. V1. Outputs. Ip Mapping Response> The assigned IP addresses for the instance.
- Ipv6Address string
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
- Kind string
This is always
sql#instance
.- Maintenance
Version string The current software version on the instance.
- Master
Instance stringName The name of the instance which will act as primary in the replication setup.
- Max
Disk stringSize The maximum disk size of the instance in bytes.
- Name string
Name of the Cloud SQL instance. This does not include the project ID.
- On
Premises Pulumi.Configuration Google Native. SQLAdmin. V1. Outputs. On Premises Configuration Response Configuration specific to on-premises instances.
- Out
Of Pulumi.Disk Report Google Native. SQLAdmin. V1. Outputs. Sql Out Of Disk Report Response This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- Project string
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
- Region string
The geographical region. Can be: *
us-central
(FIRST_GEN
instances only) *us-central1
(SECOND_GEN
instances only) *asia-east1
oreurope-west1
. Defaults tous-central
orus-central1
depending on the instance type. The region cannot be changed after instance creation.- Replica
Configuration Pulumi.Google Native. SQLAdmin. V1. Outputs. Replica Configuration Response Configuration specific to failover replicas and read replicas.
- Replica
Names List<string> The replicas of the instance.
- Root
Password string Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
- Satisfies
Pzs bool The status indicating if instance satisfiesPzs. Reserved for future use.
- Scheduled
Maintenance Pulumi.Google Native. SQLAdmin. V1. Outputs. Sql Scheduled Maintenance Response The start time of any upcoming scheduled maintenance for this instance.
- Secondary
Gce stringZone The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
- Self
Link string The URI of this resource.
- Server
Ca Pulumi.Cert Google Native. SQLAdmin. V1. Outputs. Ssl Cert Response SSL configuration.
- Service
Account stringEmail Address The service account email address assigned to the instance.\This property is read-only.
- Settings
Pulumi.
Google Native. SQLAdmin. V1. Outputs. Settings Response The user settings.
- State string
The current serving state of the Cloud SQL instance.
- Suspension
Reason List<string> If the instance state is SUSPENDED, the reason for the suspension.
- Available
Maintenance []stringVersions List all maintenance versions applicable on the instance
- Backend
Type string The backend type.
SECOND_GEN
: Cloud SQL database instance.EXTERNAL
: A database server that is not managed by Google. This property is read-only; use thetier
property in thesettings
object to determine the database type.- Connection
Name string Connection name of the Cloud SQL instance used in connection strings.
- Create
Time string The time when the instance was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Current
Disk stringSize The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
- Database
Installed stringVersion Stores the current database version running on the instance including minor version such as
MYSQL_8_0_18
.- Database
Version string The database engine type and version. The
databaseVersion
field cannot be changed after instance creation.- Disk
Encryption DiskConfiguration Encryption Configuration Response Disk encryption configuration specific to an instance.
- Disk
Encryption DiskStatus Encryption Status Response Disk encryption status specific to an instance.
- Etag string
This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.- Failover
Replica InstanceFailover Replica Response The name and status of the failover replica.
- Gce
Zone string The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
- Instance
Type string The instance type.
- Ip
Addresses []IpMapping Response The assigned IP addresses for the instance.
- Ipv6Address string
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
- Kind string
This is always
sql#instance
.- Maintenance
Version string The current software version on the instance.
- Master
Instance stringName The name of the instance which will act as primary in the replication setup.
- Max
Disk stringSize The maximum disk size of the instance in bytes.
- Name string
Name of the Cloud SQL instance. This does not include the project ID.
- On
Premises OnConfiguration Premises Configuration Response Configuration specific to on-premises instances.
- Out
Of SqlDisk Report Out Of Disk Report Response This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- Project string
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
- Region string
The geographical region. Can be: *
us-central
(FIRST_GEN
instances only) *us-central1
(SECOND_GEN
instances only) *asia-east1
oreurope-west1
. Defaults tous-central
orus-central1
depending on the instance type. The region cannot be changed after instance creation.- Replica
Configuration ReplicaConfiguration Response Configuration specific to failover replicas and read replicas.
- Replica
Names []string The replicas of the instance.
- Root
Password string Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
- Satisfies
Pzs bool The status indicating if instance satisfiesPzs. Reserved for future use.
- Scheduled
Maintenance SqlScheduled Maintenance Response The start time of any upcoming scheduled maintenance for this instance.
- Secondary
Gce stringZone The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
- Self
Link string The URI of this resource.
- Server
Ca SslCert Cert Response SSL configuration.
- Service
Account stringEmail Address The service account email address assigned to the instance.\This property is read-only.
- Settings
Settings
Response The user settings.
- State string
The current serving state of the Cloud SQL instance.
- Suspension
Reason []string If the instance state is SUSPENDED, the reason for the suspension.
- available
Maintenance List<String>Versions List all maintenance versions applicable on the instance
- backend
Type String The backend type.
SECOND_GEN
: Cloud SQL database instance.EXTERNAL
: A database server that is not managed by Google. This property is read-only; use thetier
property in thesettings
object to determine the database type.- connection
Name String Connection name of the Cloud SQL instance used in connection strings.
- create
Time String The time when the instance was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- current
Disk StringSize The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
- database
Installed StringVersion Stores the current database version running on the instance including minor version such as
MYSQL_8_0_18
.- database
Version String The database engine type and version. The
databaseVersion
field cannot be changed after instance creation.- disk
Encryption DiskConfiguration Encryption Configuration Response Disk encryption configuration specific to an instance.
- disk
Encryption DiskStatus Encryption Status Response Disk encryption status specific to an instance.
- etag String
This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.- failover
Replica InstanceFailover Replica Response The name and status of the failover replica.
- gce
Zone String The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
- instance
Type String The instance type.
- ip
Addresses List<IpMapping Response> The assigned IP addresses for the instance.
- ipv6Address String
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
- kind String
This is always
sql#instance
.- maintenance
Version String The current software version on the instance.
- master
Instance StringName The name of the instance which will act as primary in the replication setup.
- max
Disk StringSize The maximum disk size of the instance in bytes.
- name String
Name of the Cloud SQL instance. This does not include the project ID.
- on
Premises OnConfiguration Premises Configuration Response Configuration specific to on-premises instances.
- out
Of SqlDisk Report Out Of Disk Report Response This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- project String
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
- region String
The geographical region. Can be: *
us-central
(FIRST_GEN
instances only) *us-central1
(SECOND_GEN
instances only) *asia-east1
oreurope-west1
. Defaults tous-central
orus-central1
depending on the instance type. The region cannot be changed after instance creation.- replica
Configuration ReplicaConfiguration Response Configuration specific to failover replicas and read replicas.
- replica
Names List<String> The replicas of the instance.
- root
Password String Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
- satisfies
Pzs Boolean The status indicating if instance satisfiesPzs. Reserved for future use.
- scheduled
Maintenance SqlScheduled Maintenance Response The start time of any upcoming scheduled maintenance for this instance.
- secondary
Gce StringZone The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
- self
Link String The URI of this resource.
- server
Ca SslCert Cert Response SSL configuration.
- service
Account StringEmail Address The service account email address assigned to the instance.\This property is read-only.
- settings
Settings
Response The user settings.
- state String
The current serving state of the Cloud SQL instance.
- suspension
Reason List<String> If the instance state is SUSPENDED, the reason for the suspension.
- available
Maintenance string[]Versions List all maintenance versions applicable on the instance
- backend
Type string The backend type.
SECOND_GEN
: Cloud SQL database instance.EXTERNAL
: A database server that is not managed by Google. This property is read-only; use thetier
property in thesettings
object to determine the database type.- connection
Name string Connection name of the Cloud SQL instance used in connection strings.
- create
Time string The time when the instance was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- current
Disk stringSize The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
- database
Installed stringVersion Stores the current database version running on the instance including minor version such as
MYSQL_8_0_18
.- database
Version string The database engine type and version. The
databaseVersion
field cannot be changed after instance creation.- disk
Encryption DiskConfiguration Encryption Configuration Response Disk encryption configuration specific to an instance.
- disk
Encryption DiskStatus Encryption Status Response Disk encryption status specific to an instance.
- etag string
This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.- failover
Replica InstanceFailover Replica Response The name and status of the failover replica.
- gce
Zone string The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
- instance
Type string The instance type.
- ip
Addresses IpMapping Response[] The assigned IP addresses for the instance.
- ipv6Address string
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
- kind string
This is always
sql#instance
.- maintenance
Version string The current software version on the instance.
- master
Instance stringName The name of the instance which will act as primary in the replication setup.
- max
Disk stringSize The maximum disk size of the instance in bytes.
- name string
Name of the Cloud SQL instance. This does not include the project ID.
- on
Premises OnConfiguration Premises Configuration Response Configuration specific to on-premises instances.
- out
Of SqlDisk Report Out Of Disk Report Response This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- project string
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
- region string
The geographical region. Can be: *
us-central
(FIRST_GEN
instances only) *us-central1
(SECOND_GEN
instances only) *asia-east1
oreurope-west1
. Defaults tous-central
orus-central1
depending on the instance type. The region cannot be changed after instance creation.- replica
Configuration ReplicaConfiguration Response Configuration specific to failover replicas and read replicas.
- replica
Names string[] The replicas of the instance.
- root
Password string Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
- satisfies
Pzs boolean The status indicating if instance satisfiesPzs. Reserved for future use.
- scheduled
Maintenance SqlScheduled Maintenance Response The start time of any upcoming scheduled maintenance for this instance.
- secondary
Gce stringZone The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
- self
Link string The URI of this resource.
- server
Ca SslCert Cert Response SSL configuration.
- service
Account stringEmail Address The service account email address assigned to the instance.\This property is read-only.
- settings
Settings
Response The user settings.
- state string
The current serving state of the Cloud SQL instance.
- suspension
Reason string[] If the instance state is SUSPENDED, the reason for the suspension.
- available_
maintenance_ Sequence[str]versions List all maintenance versions applicable on the instance
- backend_
type str The backend type.
SECOND_GEN
: Cloud SQL database instance.EXTERNAL
: A database server that is not managed by Google. This property is read-only; use thetier
property in thesettings
object to determine the database type.- connection_
name str Connection name of the Cloud SQL instance used in connection strings.
- create_
time str The time when the instance was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- current_
disk_ strsize The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
- database_
installed_ strversion Stores the current database version running on the instance including minor version such as
MYSQL_8_0_18
.- database_
version str The database engine type and version. The
databaseVersion
field cannot be changed after instance creation.- disk_
encryption_ Diskconfiguration Encryption Configuration Response Disk encryption configuration specific to an instance.
- disk_
encryption_ Diskstatus Encryption Status Response Disk encryption status specific to an instance.
- etag str
This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.- failover_
replica InstanceFailover Replica Response The name and status of the failover replica.
- gce_
zone str The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
- instance_
type str The instance type.
- ip_
addresses Sequence[IpMapping Response] The assigned IP addresses for the instance.
- ipv6_
address str The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
- kind str
This is always
sql#instance
.- maintenance_
version str The current software version on the instance.
- master_
instance_ strname The name of the instance which will act as primary in the replication setup.
- max_
disk_ strsize The maximum disk size of the instance in bytes.
- name str
Name of the Cloud SQL instance. This does not include the project ID.
- on_
premises_ Onconfiguration Premises Configuration Response Configuration specific to on-premises instances.
- out_
of_ Sqldisk_ report Out Of Disk Report Response This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- project str
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
- region str
The geographical region. Can be: *
us-central
(FIRST_GEN
instances only) *us-central1
(SECOND_GEN
instances only) *asia-east1
oreurope-west1
. Defaults tous-central
orus-central1
depending on the instance type. The region cannot be changed after instance creation.- replica_
configuration ReplicaConfiguration Response Configuration specific to failover replicas and read replicas.
- replica_
names Sequence[str] The replicas of the instance.
- root_
password str Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
- satisfies_
pzs bool The status indicating if instance satisfiesPzs. Reserved for future use.
- scheduled_
maintenance SqlScheduled Maintenance Response The start time of any upcoming scheduled maintenance for this instance.
- secondary_
gce_ strzone The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
- self_
link str The URI of this resource.
- server_
ca_ Sslcert Cert Response SSL configuration.
- service_
account_ stremail_ address The service account email address assigned to the instance.\This property is read-only.
- settings
Settings
Response The user settings.
- state str
The current serving state of the Cloud SQL instance.
- suspension_
reason Sequence[str] If the instance state is SUSPENDED, the reason for the suspension.
- available
Maintenance List<String>Versions List all maintenance versions applicable on the instance
- backend
Type String The backend type.
SECOND_GEN
: Cloud SQL database instance.EXTERNAL
: A database server that is not managed by Google. This property is read-only; use thetier
property in thesettings
object to determine the database type.- connection
Name String Connection name of the Cloud SQL instance used in connection strings.
- create
Time String The time when the instance was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- current
Disk StringSize The current disk usage of the instance in bytes. This property has been deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric in Cloud Monitoring API instead. Please see this announcement for details.
- database
Installed StringVersion Stores the current database version running on the instance including minor version such as
MYSQL_8_0_18
.- database
Version String The database engine type and version. The
databaseVersion
field cannot be changed after instance creation.- disk
Encryption Property MapConfiguration Disk encryption configuration specific to an instance.
- disk
Encryption Property MapStatus Disk encryption status specific to an instance.
- etag String
This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.This field is deprecated and will be removed from a future version of the API. Use the
settings.settingsVersion
field instead.- failover
Replica Property Map The name and status of the failover replica.
- gce
Zone String The Compute Engine zone that the instance is currently serving from. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary zone. WARNING: Changing this might restart the instance.
- instance
Type String The instance type.
- ip
Addresses List<Property Map> The assigned IP addresses for the instance.
- ipv6Address String
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
- kind String
This is always
sql#instance
.- maintenance
Version String The current software version on the instance.
- master
Instance StringName The name of the instance which will act as primary in the replication setup.
- max
Disk StringSize The maximum disk size of the instance in bytes.
- name String
Name of the Cloud SQL instance. This does not include the project ID.
- on
Premises Property MapConfiguration Configuration specific to on-premises instances.
- out
Of Property MapDisk Report This field represents the report generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- project String
The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
- region String
The geographical region. Can be: *
us-central
(FIRST_GEN
instances only) *us-central1
(SECOND_GEN
instances only) *asia-east1
oreurope-west1
. Defaults tous-central
orus-central1
depending on the instance type. The region cannot be changed after instance creation.- replica
Configuration Property Map Configuration specific to failover replicas and read replicas.
- replica
Names List<String> The replicas of the instance.
- root
Password String Initial root password. Use only on creation. You must set root passwords before you can connect to PostgreSQL instances.
- satisfies
Pzs Boolean The status indicating if instance satisfiesPzs. Reserved for future use.
- scheduled
Maintenance Property Map The start time of any upcoming scheduled maintenance for this instance.
- secondary
Gce StringZone The Compute Engine zone that the failover instance is currently serving from for a regional instance. This value could be different from the zone that was specified when the instance was created if the instance has failed over to its secondary/failover zone.
- self
Link String The URI of this resource.
- server
Ca Property MapCert SSL configuration.
- service
Account StringEmail Address The service account email address assigned to the instance.\This property is read-only.
- settings Property Map
The user settings.
- state String
The current serving state of the Cloud SQL instance.
- suspension
Reason List<String> If the instance state is SUSPENDED, the reason for the suspension.
Supporting Types
AclEntryResponse
- Expiration
Time string The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Kind string
This is always
sql#aclEntry
.- Name string
Optional. A label to identify this entry.
- Value string
The allowlisted value for the access control list.
- Expiration
Time string The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Kind string
This is always
sql#aclEntry
.- Name string
Optional. A label to identify this entry.
- Value string
The allowlisted value for the access control list.
- expiration
Time String The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- kind String
This is always
sql#aclEntry
.- name String
Optional. A label to identify this entry.
- value String
The allowlisted value for the access control list.
- expiration
Time string The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- kind string
This is always
sql#aclEntry
.- name string
Optional. A label to identify this entry.
- value string
The allowlisted value for the access control list.
- expiration_
time str The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- kind str
This is always
sql#aclEntry
.- name str
Optional. A label to identify this entry.
- value str
The allowlisted value for the access control list.
- expiration
Time String The time when this access control entry expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- kind String
This is always
sql#aclEntry
.- name String
Optional. A label to identify this entry.
- value String
The allowlisted value for the access control list.
AdvancedMachineFeaturesResponse
- Threads
Per intCore The number of threads per physical core.
- Threads
Per intCore The number of threads per physical core.
- threads
Per IntegerCore The number of threads per physical core.
- threads
Per numberCore The number of threads per physical core.
- threads_
per_ intcore The number of threads per physical core.
- threads
Per NumberCore The number of threads per physical core.
BackupConfigurationResponse
- Backup
Retention Pulumi.Settings Google Native. SQLAdmin. V1. Inputs. Backup Retention Settings Response Backup retention settings.
- Binary
Log boolEnabled (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
- Enabled bool
Whether this configuration is enabled.
- Kind string
This is always
sql#backupConfiguration
.- Location string
Location of the backup
- Point
In boolTime Recovery Enabled (Postgres only) Whether point in time recovery is enabled.
- Replication
Log boolArchiving Enabled Reserved for future use.
- Start
Time string Start time for the daily backup configuration in UTC timezone in the 24 hour format -
HH:MM
.- Transaction
Log intRetention Days The number of days of transaction logs we retain for point in time restore, from 1-7.
- Backup
Retention BackupSettings Retention Settings Response Backup retention settings.
- Binary
Log boolEnabled (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
- Enabled bool
Whether this configuration is enabled.
- Kind string
This is always
sql#backupConfiguration
.- Location string
Location of the backup
- Point
In boolTime Recovery Enabled (Postgres only) Whether point in time recovery is enabled.
- Replication
Log boolArchiving Enabled Reserved for future use.
- Start
Time string Start time for the daily backup configuration in UTC timezone in the 24 hour format -
HH:MM
.- Transaction
Log intRetention Days The number of days of transaction logs we retain for point in time restore, from 1-7.
- backup
Retention BackupSettings Retention Settings Response Backup retention settings.
- binary
Log BooleanEnabled (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
- enabled Boolean
Whether this configuration is enabled.
- kind String
This is always
sql#backupConfiguration
.- location String
Location of the backup
- point
In BooleanTime Recovery Enabled (Postgres only) Whether point in time recovery is enabled.
- replication
Log BooleanArchiving Enabled Reserved for future use.
- start
Time String Start time for the daily backup configuration in UTC timezone in the 24 hour format -
HH:MM
.- transaction
Log IntegerRetention Days The number of days of transaction logs we retain for point in time restore, from 1-7.
- backup
Retention BackupSettings Retention Settings Response Backup retention settings.
- binary
Log booleanEnabled (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
- enabled boolean
Whether this configuration is enabled.
- kind string
This is always
sql#backupConfiguration
.- location string
Location of the backup
- point
In booleanTime Recovery Enabled (Postgres only) Whether point in time recovery is enabled.
- replication
Log booleanArchiving Enabled Reserved for future use.
- start
Time string Start time for the daily backup configuration in UTC timezone in the 24 hour format -
HH:MM
.- transaction
Log numberRetention Days The number of days of transaction logs we retain for point in time restore, from 1-7.
- backup_
retention_ Backupsettings Retention Settings Response Backup retention settings.
- binary_
log_ boolenabled (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
- enabled bool
Whether this configuration is enabled.
- kind str
This is always
sql#backupConfiguration
.- location str
Location of the backup
- point_
in_ booltime_ recovery_ enabled (Postgres only) Whether point in time recovery is enabled.
- replication_
log_ boolarchiving_ enabled Reserved for future use.
- start_
time str Start time for the daily backup configuration in UTC timezone in the 24 hour format -
HH:MM
.- transaction_
log_ intretention_ days The number of days of transaction logs we retain for point in time restore, from 1-7.
- backup
Retention Property MapSettings Backup retention settings.
- binary
Log BooleanEnabled (MySQL only) Whether binary log is enabled. If backup configuration is disabled, binarylog must be disabled as well.
- enabled Boolean
Whether this configuration is enabled.
- kind String
This is always
sql#backupConfiguration
.- location String
Location of the backup
- point
In BooleanTime Recovery Enabled (Postgres only) Whether point in time recovery is enabled.
- replication
Log BooleanArchiving Enabled Reserved for future use.
- start
Time String Start time for the daily backup configuration in UTC timezone in the 24 hour format -
HH:MM
.- transaction
Log NumberRetention Days The number of days of transaction logs we retain for point in time restore, from 1-7.
BackupRetentionSettingsResponse
- Retained
Backups int Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
- Retention
Unit string The unit that 'retained_backups' represents.
- Retained
Backups int Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
- Retention
Unit string The unit that 'retained_backups' represents.
- retained
Backups Integer Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
- retention
Unit String The unit that 'retained_backups' represents.
- retained
Backups number Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
- retention
Unit string The unit that 'retained_backups' represents.
- retained_
backups int Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
- retention_
unit str The unit that 'retained_backups' represents.
- retained
Backups Number Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
- retention
Unit String The unit that 'retained_backups' represents.
DatabaseFlagsResponse
- Name string
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- Value string
The value of the flag. Boolean flags are set to
on
for true andoff
for false. This field must be omitted if the flag doesn't take a value.
- Name string
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- Value string
The value of the flag. Boolean flags are set to
on
for true andoff
for false. This field must be omitted if the flag doesn't take a value.
- name String
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- value String
The value of the flag. Boolean flags are set to
on
for true andoff
for false. This field must be omitted if the flag doesn't take a value.
- name string
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- value string
The value of the flag. Boolean flags are set to
on
for true andoff
for false. This field must be omitted if the flag doesn't take a value.
- name str
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- value str
The value of the flag. Boolean flags are set to
on
for true andoff
for false. This field must be omitted if the flag doesn't take a value.
- name String
The name of the flag. These flags are passed at instance startup, so include both server options and system variables. Flags are specified with underscores, not hyphens. For more information, see Configuring Database Flags in the Cloud SQL documentation.
- value String
The value of the flag. Boolean flags are set to
on
for true andoff
for false. This field must be omitted if the flag doesn't take a value.
DenyMaintenancePeriodResponse
- End
Date string "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Start
Date string "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. 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 string "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- Start
Date string "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. 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 String "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- start
Date String "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. 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 string "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- start
Date string "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. 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 "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- start_
date str "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. 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
- end
Date String "deny maintenance period" end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the no maintenance interval recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
- start
Date String "deny maintenance period" start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. 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
DiskEncryptionConfigurationResponse
- Kind string
This is always
sql#diskEncryptionConfiguration
.- Kms
Key stringName Resource name of KMS key for disk encryption
- Kind string
This is always
sql#diskEncryptionConfiguration
.- Kms
Key stringName Resource name of KMS key for disk encryption
- kind String
This is always
sql#diskEncryptionConfiguration
.- kms
Key StringName Resource name of KMS key for disk encryption
- kind string
This is always
sql#diskEncryptionConfiguration
.- kms
Key stringName Resource name of KMS key for disk encryption
- kind str
This is always
sql#diskEncryptionConfiguration
.- kms_
key_ strname Resource name of KMS key for disk encryption
- kind String
This is always
sql#diskEncryptionConfiguration
.- kms
Key StringName Resource name of KMS key for disk encryption
DiskEncryptionStatusResponse
- Kind string
This is always
sql#diskEncryptionStatus
.- Kms
Key stringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- Kind string
This is always
sql#diskEncryptionStatus
.- Kms
Key stringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- kind String
This is always
sql#diskEncryptionStatus
.- kms
Key StringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- kind string
This is always
sql#diskEncryptionStatus
.- kms
Key stringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
- kind str
This is always
sql#diskEncryptionStatus
.- kms_
key_ strversion_ name KMS key version used to encrypt the Cloud SQL instance resource
- kind String
This is always
sql#diskEncryptionStatus
.- kms
Key StringVersion Name KMS key version used to encrypt the Cloud SQL instance resource
InsightsConfigResponse
- Query
Insights boolEnabled Whether Query Insights feature is enabled.
- Query
Plans intPer Minute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
- Query
String intLength Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
- bool
Whether Query Insights will record application tags from query when enabled.
- Record
Client boolAddress Whether Query Insights will record client address when enabled.
- Query
Insights boolEnabled Whether Query Insights feature is enabled.
- Query
Plans intPer Minute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
- Query
String intLength Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
- bool
Whether Query Insights will record application tags from query when enabled.
- Record
Client boolAddress Whether Query Insights will record client address when enabled.
- query
Insights BooleanEnabled Whether Query Insights feature is enabled.
- query
Plans IntegerPer Minute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
- query
String IntegerLength Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
- Boolean
Whether Query Insights will record application tags from query when enabled.
- record
Client BooleanAddress Whether Query Insights will record client address when enabled.
- query
Insights booleanEnabled Whether Query Insights feature is enabled.
- query
Plans numberPer Minute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
- query
String numberLength Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
- boolean
Whether Query Insights will record application tags from query when enabled.
- record
Client booleanAddress Whether Query Insights will record client address when enabled.
- query_
insights_ boolenabled Whether Query Insights feature is enabled.
- query_
plans_ intper_ minute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
- query_
string_ intlength Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
- bool
Whether Query Insights will record application tags from query when enabled.
- record_
client_ booladdress Whether Query Insights will record client address when enabled.
- query
Insights BooleanEnabled Whether Query Insights feature is enabled.
- query
Plans NumberPer Minute Number of query execution plans captured by Insights per minute for all queries combined. Default is 5.
- query
String NumberLength Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-4500 bytes. Query length more than this field value will be truncated to this value. When unset, query length will be the default value. Changing query length will restart the database.
- Boolean
Whether Query Insights will record application tags from query when enabled.
- record
Client BooleanAddress Whether Query Insights will record client address when enabled.
InstanceFailoverReplicaResponse
- Available bool
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
- Name string
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
- Available bool
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
- Name string
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
- available Boolean
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
- name String
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
- available boolean
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
- name string
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
- available bool
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
- name str
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
- available Boolean
The availability status of the failover replica. A false status indicates that the failover replica is out of sync. The primary instance can only failover to the failover replica when the status is true.
- name String
The name of the failover replica. If specified at instance creation, a failover replica is created for the instance. The name doesn't include the project ID.
InstanceReferenceResponse
- Name string
The name of the Cloud SQL instance being referenced. This does not include the project ID.
- Project string
The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.
- Region string
The region of the Cloud SQL instance being referenced.
- Name string
The name of the Cloud SQL instance being referenced. This does not include the project ID.
- Project string
The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.
- Region string
The region of the Cloud SQL instance being referenced.
- name String
The name of the Cloud SQL instance being referenced. This does not include the project ID.
- project String
The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.
- region String
The region of the Cloud SQL instance being referenced.
- name string
The name of the Cloud SQL instance being referenced. This does not include the project ID.
- project string
The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.
- region string
The region of the Cloud SQL instance being referenced.
- name String
The name of the Cloud SQL instance being referenced. This does not include the project ID.
- project String
The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.
- region String
The region of the Cloud SQL instance being referenced.
IpConfigurationResponse
- Allocated
Ip stringRange The name of the allocated ip range for the private ip Cloud SQL 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]([-a-z0-9]*[a-z0-9])?.
- List<Pulumi.
Google Native. SQLAdmin. V1. Inputs. Acl Entry Response> The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24
).- Enable
Private boolPath For Google Cloud Services Controls connectivity to private IP instances from Google services, such as BigQuery.
- Ipv4Enabled bool
Whether the instance is assigned a public IP address or not.
- Private
Network string The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.- Require
Ssl bool Whether SSL connections over IP are enforced or not.
- Allocated
Ip stringRange The name of the allocated ip range for the private ip Cloud SQL 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]([-a-z0-9]*[a-z0-9])?.
- []Acl
Entry Response The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24
).- Enable
Private boolPath For Google Cloud Services Controls connectivity to private IP instances from Google services, such as BigQuery.
- Ipv4Enabled bool
Whether the instance is assigned a public IP address or not.
- Private
Network string The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.- Require
Ssl bool Whether SSL connections over IP are enforced or not.
- allocated
Ip StringRange The name of the allocated ip range for the private ip Cloud SQL 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]([-a-z0-9]*[a-z0-9])?.
- List<Acl
Entry Response> The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24
).- enable
Private BooleanPath For Google Cloud Services Controls connectivity to private IP instances from Google services, such as BigQuery.
- ipv4Enabled Boolean
Whether the instance is assigned a public IP address or not.
- private
Network String The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.- require
Ssl Boolean Whether SSL connections over IP are enforced or not.
- allocated
Ip stringRange The name of the allocated ip range for the private ip Cloud SQL 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]([-a-z0-9]*[a-z0-9])?.
- Acl
Entry Response[] The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24
).- enable
Private booleanPath For Google Cloud Services Controls connectivity to private IP instances from Google services, such as BigQuery.
- ipv4Enabled boolean
Whether the instance is assigned a public IP address or not.
- private
Network string The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.- require
Ssl boolean Whether SSL connections over IP are enforced or not.
- allocated_
ip_ strrange The name of the allocated ip range for the private ip Cloud SQL 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]([-a-z0-9]*[a-z0-9])?.
- Sequence[Acl
Entry Response] The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24
).- enable_
private_ boolpath_ for_ google_ cloud_ services Controls connectivity to private IP instances from Google services, such as BigQuery.
- ipv4_
enabled bool Whether the instance is assigned a public IP address or not.
- private_
network str The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.- require_
ssl bool Whether SSL connections over IP are enforced or not.
- allocated
Ip StringRange The name of the allocated ip range for the private ip Cloud SQL 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]([-a-z0-9]*[a-z0-9])?.
- List<Property Map>
The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
157.197.200.0/24
).- enable
Private BooleanPath For Google Cloud Services Controls connectivity to private IP instances from Google services, such as BigQuery.
- ipv4Enabled Boolean
Whether the instance is assigned a public IP address or not.
- private
Network String The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example,
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.- require
Ssl Boolean Whether SSL connections over IP are enforced or not.
IpMappingResponse
- Ip
Address string The IP address assigned.
- Time
To stringRetire The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.- Type string
The type of this IP address. A
PRIMARY
address is a public address that can accept incoming connections. APRIVATE
address is a private address that can accept incoming connections. AnOUTGOING
address is the source address of connections originating from the instance, if supported.
- Ip
Address string The IP address assigned.
- Time
To stringRetire The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.- Type string
The type of this IP address. A
PRIMARY
address is a public address that can accept incoming connections. APRIVATE
address is a private address that can accept incoming connections. AnOUTGOING
address is the source address of connections originating from the instance, if supported.
- ip
Address String The IP address assigned.
- time
To StringRetire The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.- type String
The type of this IP address. A
PRIMARY
address is a public address that can accept incoming connections. APRIVATE
address is a private address that can accept incoming connections. AnOUTGOING
address is the source address of connections originating from the instance, if supported.
- ip
Address string The IP address assigned.
- time
To stringRetire The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.- type string
The type of this IP address. A
PRIMARY
address is a public address that can accept incoming connections. APRIVATE
address is a private address that can accept incoming connections. AnOUTGOING
address is the source address of connections originating from the instance, if supported.
- ip_
address str The IP address assigned.
- time_
to_ strretire The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.- type str
The type of this IP address. A
PRIMARY
address is a public address that can accept incoming connections. APRIVATE
address is a private address that can accept incoming connections. AnOUTGOING
address is the source address of connections originating from the instance, if supported.
- ip
Address String The IP address assigned.
- time
To StringRetire The due time for this IP to be retired in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.- type String
The type of this IP address. A
PRIMARY
address is a public address that can accept incoming connections. APRIVATE
address is a private address that can accept incoming connections. AnOUTGOING
address is the source address of connections originating from the instance, if supported.
LocationPreferenceResponse
- Follow
Gae stringApplication The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
- Kind string
This is always
sql#locationPreference
.- Secondary
Zone string The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
- Zone string
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
- Follow
Gae stringApplication The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
- Kind string
This is always
sql#locationPreference
.- Secondary
Zone string The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
- Zone string
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
- follow
Gae StringApplication The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
- kind String
This is always
sql#locationPreference
.- secondary
Zone String The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
- zone String
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
- follow
Gae stringApplication The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
- kind string
This is always
sql#locationPreference
.- secondary
Zone string The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
- zone string
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
- follow_
gae_ strapplication The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
- kind str
This is always
sql#locationPreference
.- secondary_
zone str The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
- zone str
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
- follow
Gae StringApplication The App Engine application to follow, it must be in the same region as the Cloud SQL instance. WARNING: Changing this might restart the instance.
- kind String
This is always
sql#locationPreference
.- secondary
Zone String The preferred Compute Engine zone for the secondary/failover (for example: us-central1-a, us-central1-b, etc.).
- zone String
The preferred Compute Engine zone (for example: us-central1-a, us-central1-b, etc.). WARNING: Changing this might restart the instance.
MaintenanceWindowResponse
- Day int
day of week (1-7), starting on Monday.
- Hour int
hour of day - 0 to 23.
- Kind string
This is always
sql#maintenanceWindow
.- Update
Track string Maintenance timing setting:
canary
(Earlier) orstable
(Later). Learn more.
- Day int
day of week (1-7), starting on Monday.
- Hour int
hour of day - 0 to 23.
- Kind string
This is always
sql#maintenanceWindow
.- Update
Track string Maintenance timing setting:
canary
(Earlier) orstable
(Later). Learn more.
- day Integer
day of week (1-7), starting on Monday.
- hour Integer
hour of day - 0 to 23.
- kind String
This is always
sql#maintenanceWindow
.- update
Track String Maintenance timing setting:
canary
(Earlier) orstable
(Later). Learn more.
- day number
day of week (1-7), starting on Monday.
- hour number
hour of day - 0 to 23.
- kind string
This is always
sql#maintenanceWindow
.- update
Track string Maintenance timing setting:
canary
(Earlier) orstable
(Later). Learn more.
- day int
day of week (1-7), starting on Monday.
- hour int
hour of day - 0 to 23.
- kind str
This is always
sql#maintenanceWindow
.- update_
track str Maintenance timing setting:
canary
(Earlier) orstable
(Later). Learn more.
- day Number
day of week (1-7), starting on Monday.
- hour Number
hour of day - 0 to 23.
- kind String
This is always
sql#maintenanceWindow
.- update
Track String Maintenance timing setting:
canary
(Earlier) orstable
(Later). Learn more.
MySqlReplicaConfigurationResponse
- Ca
Certificate string PEM representation of the trusted CA's x509 certificate.
- Client
Certificate string PEM representation of the replica's x509 certificate.
- Client
Key string PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- Connect
Retry intInterval Seconds to wait between connect retries. MySQL's default is 60 seconds.
- Dump
File stringPath Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
- Kind string
This is always
sql#mysqlReplicaConfiguration
.- Master
Heartbeat stringPeriod Interval in milliseconds between replication heartbeats.
- Password string
The password for the replication connection.
- Ssl
Cipher string A list of permissible ciphers to use for SSL encryption.
- Username string
The username for the replication connection.
- Verify
Server boolCertificate Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
- Ca
Certificate string PEM representation of the trusted CA's x509 certificate.
- Client
Certificate string PEM representation of the replica's x509 certificate.
- Client
Key string PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- Connect
Retry intInterval Seconds to wait between connect retries. MySQL's default is 60 seconds.
- Dump
File stringPath Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
- Kind string
This is always
sql#mysqlReplicaConfiguration
.- Master
Heartbeat stringPeriod Interval in milliseconds between replication heartbeats.
- Password string
The password for the replication connection.
- Ssl
Cipher string A list of permissible ciphers to use for SSL encryption.
- Username string
The username for the replication connection.
- Verify
Server boolCertificate Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
- ca
Certificate String PEM representation of the trusted CA's x509 certificate.
- client
Certificate String PEM representation of the replica's x509 certificate.
- client
Key String PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- connect
Retry IntegerInterval Seconds to wait between connect retries. MySQL's default is 60 seconds.
- dump
File StringPath Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
- kind String
This is always
sql#mysqlReplicaConfiguration
.- master
Heartbeat StringPeriod Interval in milliseconds between replication heartbeats.
- password String
The password for the replication connection.
- ssl
Cipher String A list of permissible ciphers to use for SSL encryption.
- username String
The username for the replication connection.
- verify
Server BooleanCertificate Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
- ca
Certificate string PEM representation of the trusted CA's x509 certificate.
- client
Certificate string PEM representation of the replica's x509 certificate.
- client
Key string PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- connect
Retry numberInterval Seconds to wait between connect retries. MySQL's default is 60 seconds.
- dump
File stringPath Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
- kind string
This is always
sql#mysqlReplicaConfiguration
.- master
Heartbeat stringPeriod Interval in milliseconds between replication heartbeats.
- password string
The password for the replication connection.
- ssl
Cipher string A list of permissible ciphers to use for SSL encryption.
- username string
The username for the replication connection.
- verify
Server booleanCertificate Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
- ca_
certificate str PEM representation of the trusted CA's x509 certificate.
- client_
certificate str PEM representation of the replica's x509 certificate.
- client_
key str PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- connect_
retry_ intinterval Seconds to wait between connect retries. MySQL's default is 60 seconds.
- dump_
file_ strpath Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
- kind str
This is always
sql#mysqlReplicaConfiguration
.- master_
heartbeat_ strperiod Interval in milliseconds between replication heartbeats.
- password str
The password for the replication connection.
- ssl_
cipher str A list of permissible ciphers to use for SSL encryption.
- username str
The username for the replication connection.
- verify_
server_ boolcertificate Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
- ca
Certificate String PEM representation of the trusted CA's x509 certificate.
- client
Certificate String PEM representation of the replica's x509 certificate.
- client
Key String PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- connect
Retry NumberInterval Seconds to wait between connect retries. MySQL's default is 60 seconds.
- dump
File StringPath Path to a SQL dump file in Google Cloud Storage from which the replica instance is to be created. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.gz) are also supported. Dumps have the binlog co-ordinates from which replication begins. This can be accomplished by setting --master-data to 1 when using mysqldump.
- kind String
This is always
sql#mysqlReplicaConfiguration
.- master
Heartbeat StringPeriod Interval in milliseconds between replication heartbeats.
- password String
The password for the replication connection.
- ssl
Cipher String A list of permissible ciphers to use for SSL encryption.
- username String
The username for the replication connection.
- verify
Server BooleanCertificate Whether or not to check the primary instance's Common Name value in the certificate that it sends during the SSL handshake.
OnPremisesConfigurationResponse
- Ca
Certificate string PEM representation of the trusted CA's x509 certificate.
- Client
Certificate string PEM representation of the replica's x509 certificate.
- Client
Key string PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- Dump
File stringPath The dump file to create the Cloud SQL replica.
- Host
Port string The host and port of the on-premises instance in host:port format
- Kind string
This is always
sql#onPremisesConfiguration
.- Password string
The password for connecting to on-premises instance.
- Source
Instance Pulumi.Google Native. SQLAdmin. V1. Inputs. Instance Reference Response The reference to Cloud SQL instance if the source is Cloud SQL.
- Username string
The username for connecting to on-premises instance.
- Ca
Certificate string PEM representation of the trusted CA's x509 certificate.
- Client
Certificate string PEM representation of the replica's x509 certificate.
- Client
Key string PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- Dump
File stringPath The dump file to create the Cloud SQL replica.
- Host
Port string The host and port of the on-premises instance in host:port format
- Kind string
This is always
sql#onPremisesConfiguration
.- Password string
The password for connecting to on-premises instance.
- Source
Instance InstanceReference Response The reference to Cloud SQL instance if the source is Cloud SQL.
- Username string
The username for connecting to on-premises instance.
- ca
Certificate String PEM representation of the trusted CA's x509 certificate.
- client
Certificate String PEM representation of the replica's x509 certificate.
- client
Key String PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- dump
File StringPath The dump file to create the Cloud SQL replica.
- host
Port String The host and port of the on-premises instance in host:port format
- kind String
This is always
sql#onPremisesConfiguration
.- password String
The password for connecting to on-premises instance.
- source
Instance InstanceReference Response The reference to Cloud SQL instance if the source is Cloud SQL.
- username String
The username for connecting to on-premises instance.
- ca
Certificate string PEM representation of the trusted CA's x509 certificate.
- client
Certificate string PEM representation of the replica's x509 certificate.
- client
Key string PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- dump
File stringPath The dump file to create the Cloud SQL replica.
- host
Port string The host and port of the on-premises instance in host:port format
- kind string
This is always
sql#onPremisesConfiguration
.- password string
The password for connecting to on-premises instance.
- source
Instance InstanceReference Response The reference to Cloud SQL instance if the source is Cloud SQL.
- username string
The username for connecting to on-premises instance.
- ca_
certificate str PEM representation of the trusted CA's x509 certificate.
- client_
certificate str PEM representation of the replica's x509 certificate.
- client_
key str PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- dump_
file_ strpath The dump file to create the Cloud SQL replica.
- host_
port str The host and port of the on-premises instance in host:port format
- kind str
This is always
sql#onPremisesConfiguration
.- password str
The password for connecting to on-premises instance.
- source_
instance InstanceReference Response The reference to Cloud SQL instance if the source is Cloud SQL.
- username str
The username for connecting to on-premises instance.
- ca
Certificate String PEM representation of the trusted CA's x509 certificate.
- client
Certificate String PEM representation of the replica's x509 certificate.
- client
Key String PEM representation of the replica's private key. The corresponsing public key is encoded in the client's certificate.
- dump
File StringPath The dump file to create the Cloud SQL replica.
- host
Port String The host and port of the on-premises instance in host:port format
- kind String
This is always
sql#onPremisesConfiguration
.- password String
The password for connecting to on-premises instance.
- source
Instance Property Map The reference to Cloud SQL instance if the source is Cloud SQL.
- username String
The username for connecting to on-premises instance.
PasswordValidationPolicyResponse
- Complexity string
The complexity of the password.
- 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 stringInterval Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
- Reuse
Interval int Number of previous passwords that cannot be reused.
- Complexity string
The complexity of the password.
- 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 stringInterval Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
- Reuse
Interval int Number of previous passwords that cannot be reused.
- complexity String
The complexity of the password.
- disallow
Username BooleanSubstring Disallow username as a part of the password.
- enable
Password BooleanPolicy Whether the password policy is enabled or not.
- min
Length Integer Minimum number of characters allowed.
- password
Change StringInterval Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
- reuse
Interval Integer Number of previous passwords that cannot be reused.
- complexity string
The complexity of the password.
- disallow
Username booleanSubstring Disallow username as a part of the password.
- enable
Password booleanPolicy Whether the password policy is enabled or not.
- min
Length number Minimum number of characters allowed.
- password
Change stringInterval Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
- reuse
Interval number Number of previous passwords that cannot be reused.
- complexity str
The complexity of the password.
- 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 PostgreSQL.
- reuse_
interval int Number of previous passwords that cannot be reused.
- complexity String
The complexity of the password.
- disallow
Username BooleanSubstring Disallow username as a part of the password.
- enable
Password BooleanPolicy Whether the password policy is enabled or not.
- min
Length Number Minimum number of characters allowed.
- password
Change StringInterval Minimum interval after which the password can be changed. This flag is only supported for PostgreSQL.
- reuse
Interval Number Number of previous passwords that cannot be reused.
ReplicaConfigurationResponse
- 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. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.- Kind string
This is always
sql#replicaConfiguration
.- Mysql
Replica Pulumi.Configuration Google Native. SQLAdmin. V1. Inputs. My Sql Replica Configuration Response MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named
master.info
in the data directory.
- 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. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.- Kind string
This is always
sql#replicaConfiguration
.- Mysql
Replica MyConfiguration Sql Replica Configuration Response MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named
master.info
in the data directory.
- failover
Target 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. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.- kind String
This is always
sql#replicaConfiguration
.- mysql
Replica MyConfiguration Sql Replica Configuration Response MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named
master.info
in the data directory.
- failover
Target 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. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.- kind string
This is always
sql#replicaConfiguration
.- mysql
Replica MyConfiguration Sql Replica Configuration Response MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named
master.info
in the data directory.
- 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. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.- kind str
This is always
sql#replicaConfiguration
.- mysql_
replica_ Myconfiguration Sql Replica Configuration Response MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named
master.info
in the data directory.
- failover
Target 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. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.- kind String
This is always
sql#replicaConfiguration
.- mysql
Replica Property MapConfiguration MySQL specific configuration when replicating from a MySQL on-premises primary instance. Replication configuration information such as the username, password, certificates, and keys are not stored in the instance metadata. The configuration information is used only to set up the replication connection and is stored by MySQL in a file named
master.info
in the data directory.
SettingsResponse
- Activation
Policy string The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
ALWAYS
: The instance is on, and remains so even in the absence of connection requests. *NEVER
: The instance is off; it is not activated, even if a connection request arrives.- Active
Directory Pulumi.Config Google Native. SQLAdmin. V1. Inputs. Sql Active Directory Config Response Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- Advanced
Machine Pulumi.Features Google Native. SQLAdmin. V1. Inputs. Advanced Machine Features Response Specifies advance machine configuration for the instance relevant only for SQL Server.
- List<string>
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- Availability
Type string Availability type. Potential values: *
ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.- Backup
Configuration Pulumi.Google Native. SQLAdmin. V1. Inputs. Backup Configuration Response The daily backup configuration for the instance.
- Collation string
The name of server Instance collation.
- Connector
Enforcement string Specifies if connections must use Cloud SQL connectors. Option values include the following:
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) andREQUIRED
(Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.- Crash
Safe boolReplication Enabled Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- Data
Disk stringSize Gb The size of data disk, in GB. The data disk size minimum is 10GB.
- Data
Disk stringType The type of data disk:
PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.- Database
Flags List<Pulumi.Google Native. SQLAdmin. V1. Inputs. Database Flags Response> The database flags passed to the instance at startup.
- Database
Replication boolEnabled Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- Deletion
Protection boolEnabled Configuration to protect against accidental instance deletion.
- Deny
Maintenance List<Pulumi.Periods Google Native. SQLAdmin. V1. Inputs. Deny Maintenance Period Response> Deny maintenance periods
- Insights
Config Pulumi.Google Native. SQLAdmin. V1. Inputs. Insights Config Response Insights configuration, for now relevant only for Postgres.
- Ip
Configuration Pulumi.Google Native. SQLAdmin. V1. Inputs. Ip Configuration Response The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
- Kind string
This is always
sql#settings
.- Location
Preference Pulumi.Google Native. SQLAdmin. V1. Inputs. Location Preference Response The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- Maintenance
Window Pulumi.Google Native. SQLAdmin. V1. Inputs. Maintenance Window Response The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- Password
Validation Pulumi.Policy Google Native. SQLAdmin. V1. Inputs. Password Validation Policy Response The local user password validation policy of the instance.
- Pricing
Plan string The pricing plan for this instance. This can be either
PER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.- Replication
Type string The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.- Settings
Version string The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- Sql
Server Pulumi.Audit Config Google Native. SQLAdmin. V1. Inputs. Sql Server Audit Config Response SQL Server specific audit configuration.
- Storage
Auto boolResize Configuration to increase storage size automatically. The default value is true.
- Storage
Auto stringResize Limit The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- Tier string
The tier (or machine type) for this instance, for example
db-custom-1-3840
. WARNING: Changing this restarts the instance.- Time
Zone string Server timezone, relevant only for Cloud SQL for SQL Server.
- User
Labels Dictionary<string, string> User-provided labels, represented as a dictionary where each label is a single key value pair.
- Activation
Policy string The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
ALWAYS
: The instance is on, and remains so even in the absence of connection requests. *NEVER
: The instance is off; it is not activated, even if a connection request arrives.- Active
Directory SqlConfig Active Directory Config Response Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- Advanced
Machine AdvancedFeatures Machine Features Response Specifies advance machine configuration for the instance relevant only for SQL Server.
- []string
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- Availability
Type string Availability type. Potential values: *
ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.- Backup
Configuration BackupConfiguration Response The daily backup configuration for the instance.
- Collation string
The name of server Instance collation.
- Connector
Enforcement string Specifies if connections must use Cloud SQL connectors. Option values include the following:
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) andREQUIRED
(Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.- Crash
Safe boolReplication Enabled Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- Data
Disk stringSize Gb The size of data disk, in GB. The data disk size minimum is 10GB.
- Data
Disk stringType The type of data disk:
PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.- Database
Flags []DatabaseFlags Response The database flags passed to the instance at startup.
- Database
Replication boolEnabled Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- Deletion
Protection boolEnabled Configuration to protect against accidental instance deletion.
- Deny
Maintenance []DenyPeriods Maintenance Period Response Deny maintenance periods
- Insights
Config InsightsConfig Response Insights configuration, for now relevant only for Postgres.
- Ip
Configuration IpConfiguration Response The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
- Kind string
This is always
sql#settings
.- Location
Preference LocationPreference Response The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- Maintenance
Window MaintenanceWindow Response The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- Password
Validation PasswordPolicy Validation Policy Response The local user password validation policy of the instance.
- Pricing
Plan string The pricing plan for this instance. This can be either
PER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.- Replication
Type string The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.- Settings
Version string The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- Sql
Server SqlAudit Config Server Audit Config Response SQL Server specific audit configuration.
- Storage
Auto boolResize Configuration to increase storage size automatically. The default value is true.
- Storage
Auto stringResize Limit The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- Tier string
The tier (or machine type) for this instance, for example
db-custom-1-3840
. WARNING: Changing this restarts the instance.- Time
Zone string Server timezone, relevant only for Cloud SQL for SQL Server.
- User
Labels map[string]string User-provided labels, represented as a dictionary where each label is a single key value pair.
- activation
Policy String The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
ALWAYS
: The instance is on, and remains so even in the absence of connection requests. *NEVER
: The instance is off; it is not activated, even if a connection request arrives.- active
Directory SqlConfig Active Directory Config Response Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- advanced
Machine AdvancedFeatures Machine Features Response Specifies advance machine configuration for the instance relevant only for SQL Server.
- List<String>
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- availability
Type String Availability type. Potential values: *
ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.- backup
Configuration BackupConfiguration Response The daily backup configuration for the instance.
- collation String
The name of server Instance collation.
- connector
Enforcement String Specifies if connections must use Cloud SQL connectors. Option values include the following:
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) andREQUIRED
(Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.- crash
Safe BooleanReplication Enabled Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- data
Disk StringSize Gb The size of data disk, in GB. The data disk size minimum is 10GB.
- data
Disk StringType The type of data disk:
PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.- database
Flags List<DatabaseFlags Response> The database flags passed to the instance at startup.
- database
Replication BooleanEnabled Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- deletion
Protection BooleanEnabled Configuration to protect against accidental instance deletion.
- deny
Maintenance List<DenyPeriods Maintenance Period Response> Deny maintenance periods
- insights
Config InsightsConfig Response Insights configuration, for now relevant only for Postgres.
- ip
Configuration IpConfiguration Response The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
- kind String
This is always
sql#settings
.- location
Preference LocationPreference Response The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- maintenance
Window MaintenanceWindow Response The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- password
Validation PasswordPolicy Validation Policy Response The local user password validation policy of the instance.
- pricing
Plan String The pricing plan for this instance. This can be either
PER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.- replication
Type String The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.- settings
Version String The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- sql
Server SqlAudit Config Server Audit Config Response SQL Server specific audit configuration.
- storage
Auto BooleanResize Configuration to increase storage size automatically. The default value is true.
- storage
Auto StringResize Limit The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- tier String
The tier (or machine type) for this instance, for example
db-custom-1-3840
. WARNING: Changing this restarts the instance.- time
Zone String Server timezone, relevant only for Cloud SQL for SQL Server.
- user
Labels Map<String,String> User-provided labels, represented as a dictionary where each label is a single key value pair.
- activation
Policy string The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
ALWAYS
: The instance is on, and remains so even in the absence of connection requests. *NEVER
: The instance is off; it is not activated, even if a connection request arrives.- active
Directory SqlConfig Active Directory Config Response Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- advanced
Machine AdvancedFeatures Machine Features Response Specifies advance machine configuration for the instance relevant only for SQL Server.
- string[]
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- availability
Type string Availability type. Potential values: *
ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.- backup
Configuration BackupConfiguration Response The daily backup configuration for the instance.
- collation string
The name of server Instance collation.
- connector
Enforcement string Specifies if connections must use Cloud SQL connectors. Option values include the following:
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) andREQUIRED
(Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.- crash
Safe booleanReplication Enabled Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- data
Disk stringSize Gb The size of data disk, in GB. The data disk size minimum is 10GB.
- data
Disk stringType The type of data disk:
PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.- database
Flags DatabaseFlags Response[] The database flags passed to the instance at startup.
- database
Replication booleanEnabled Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- deletion
Protection booleanEnabled Configuration to protect against accidental instance deletion.
- deny
Maintenance DenyPeriods Maintenance Period Response[] Deny maintenance periods
- insights
Config InsightsConfig Response Insights configuration, for now relevant only for Postgres.
- ip
Configuration IpConfiguration Response The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
- kind string
This is always
sql#settings
.- location
Preference LocationPreference Response The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- maintenance
Window MaintenanceWindow Response The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- password
Validation PasswordPolicy Validation Policy Response The local user password validation policy of the instance.
- pricing
Plan string The pricing plan for this instance. This can be either
PER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.- replication
Type string The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.- settings
Version string The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- sql
Server SqlAudit Config Server Audit Config Response SQL Server specific audit configuration.
- storage
Auto booleanResize Configuration to increase storage size automatically. The default value is true.
- storage
Auto stringResize Limit The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- tier string
The tier (or machine type) for this instance, for example
db-custom-1-3840
. WARNING: Changing this restarts the instance.- time
Zone string Server timezone, relevant only for Cloud SQL for SQL Server.
- user
Labels {[key: string]: string} User-provided labels, represented as a dictionary where each label is a single key value pair.
- activation_
policy str The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
ALWAYS
: The instance is on, and remains so even in the absence of connection requests. *NEVER
: The instance is off; it is not activated, even if a connection request arrives.- active_
directory_ Sqlconfig Active Directory Config Response Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- advanced_
machine_ Advancedfeatures Machine Features Response Specifies advance machine configuration for the instance relevant only for SQL Server.
- Sequence[str]
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- availability_
type str Availability type. Potential values: *
ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.- backup_
configuration BackupConfiguration Response The daily backup configuration for the instance.
- collation str
The name of server Instance collation.
- connector_
enforcement str Specifies if connections must use Cloud SQL connectors. Option values include the following:
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) andREQUIRED
(Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.- crash_
safe_ boolreplication_ enabled Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- data_
disk_ strsize_ gb The size of data disk, in GB. The data disk size minimum is 10GB.
- data_
disk_ strtype The type of data disk:
PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.- database_
flags Sequence[DatabaseFlags Response] The database flags passed to the instance at startup.
- database_
replication_ boolenabled Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- deletion_
protection_ boolenabled Configuration to protect against accidental instance deletion.
- deny_
maintenance_ Sequence[Denyperiods Maintenance Period Response] Deny maintenance periods
- insights_
config InsightsConfig Response Insights configuration, for now relevant only for Postgres.
- ip_
configuration IpConfiguration Response The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
- kind str
This is always
sql#settings
.- location_
preference LocationPreference Response The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- maintenance_
window MaintenanceWindow Response The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- password_
validation_ Passwordpolicy Validation Policy Response The local user password validation policy of the instance.
- pricing_
plan str The pricing plan for this instance. This can be either
PER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.- replication_
type str The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.- settings_
version str The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- sql_
server_ Sqlaudit_ config Server Audit Config Response SQL Server specific audit configuration.
- storage_
auto_ boolresize Configuration to increase storage size automatically. The default value is true.
- storage_
auto_ strresize_ limit The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- tier str
The tier (or machine type) for this instance, for example
db-custom-1-3840
. WARNING: Changing this restarts the instance.- time_
zone str Server timezone, relevant only for Cloud SQL for SQL Server.
- user_
labels Mapping[str, str] User-provided labels, represented as a dictionary where each label is a single key value pair.
- activation
Policy String The activation policy specifies when the instance is activated; it is applicable only when the instance state is RUNNABLE. Valid values: *
ALWAYS
: The instance is on, and remains so even in the absence of connection requests. *NEVER
: The instance is off; it is not activated, even if a connection request arrives.- active
Directory Property MapConfig Active Directory configuration, relevant only for Cloud SQL for SQL Server.
- advanced
Machine Property MapFeatures Specifies advance machine configuration for the instance relevant only for SQL Server.
- List<String>
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
The App Engine app IDs that can access this instance. (Deprecated) Applied to First Generation instances only.
- availability
Type String Availability type. Potential values: *
ZONAL
: The instance serves data from only one zone. Outages in that zone affect data accessibility. *REGIONAL
: The instance can serve data from more than one zone in a region (it is highly available)./ For more information, see Overview of the High Availability Configuration.- backup
Configuration Property Map The daily backup configuration for the instance.
- collation String
The name of server Instance collation.
- connector
Enforcement String Specifies if connections must use Cloud SQL connectors. Option values include the following:
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) andREQUIRED
(Only allow connections that use Cloud SQL Connectors). Note that using REQUIRED disables all existing authorized networks. If this field is not specified when creating a new instance, NOT_REQUIRED is used. If this field is not specified when patching or updating an existing instance, it is left unchanged in the instance.- crash
Safe BooleanReplication Enabled Configuration specific to read replica instances. Indicates whether database flags for crash-safe replication are enabled. This property was only applicable to First Generation instances.
- data
Disk StringSize Gb The size of data disk, in GB. The data disk size minimum is 10GB.
- data
Disk StringType The type of data disk:
PD_SSD
(default) orPD_HDD
. Not used for First Generation instances.- database
Flags List<Property Map> The database flags passed to the instance at startup.
- database
Replication BooleanEnabled Configuration specific to read replica instances. Indicates whether replication is enabled or not. WARNING: Changing this restarts the instance.
- deletion
Protection BooleanEnabled Configuration to protect against accidental instance deletion.
- deny
Maintenance List<Property Map>Periods Deny maintenance periods
- insights
Config Property Map Insights configuration, for now relevant only for Postgres.
- ip
Configuration Property Map The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
- kind String
This is always
sql#settings
.- location
Preference Property Map The location preference settings. This allows the instance to be located as near as possible to either an App Engine app or Compute Engine zone for better performance. App Engine co-location was only applicable to First Generation instances.
- maintenance
Window Property Map The maintenance window for this instance. This specifies when the instance can be restarted for maintenance purposes.
- password
Validation Property MapPolicy The local user password validation policy of the instance.
- pricing
Plan String The pricing plan for this instance. This can be either
PER_USE
orPACKAGE
. OnlyPER_USE
is supported for Second Generation instances.- replication
Type String The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.The type of replication this instance uses. This can be either
ASYNCHRONOUS
orSYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.- settings
Version String The version of instance settings. This is a required field for update method to make sure concurrent updates are handled properly. During update, use the most recent settingsVersion value for this instance and do not try to update this value.
- sql
Server Property MapAudit Config SQL Server specific audit configuration.
- storage
Auto BooleanResize Configuration to increase storage size automatically. The default value is true.
- storage
Auto StringResize Limit The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
- tier String
The tier (or machine type) for this instance, for example
db-custom-1-3840
. WARNING: Changing this restarts the instance.- time
Zone String Server timezone, relevant only for Cloud SQL for SQL Server.
- user
Labels Map<String> User-provided labels, represented as a dictionary where each label is a single key value pair.
SqlActiveDirectoryConfigResponse
SqlOutOfDiskReportResponse
- Sql
Min intRecommended Increase Size Gb The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:
- Sql
Out stringOf Disk State This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- Sql
Min intRecommended Increase Size Gb The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:
- Sql
Out stringOf Disk State This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- sql
Min IntegerRecommended Increase Size Gb The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:
- sql
Out StringOf Disk State This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- sql
Min numberRecommended Increase Size Gb The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:
- sql
Out stringOf Disk State This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- sql_
min_ intrecommended_ increase_ size_ gb The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:
- sql_
out_ strof_ disk_ state This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
- sql
Min NumberRecommended Increase Size Gb The minimum recommended increase size in GigaBytes This field is consumed by the frontend * Writers: * the proactive database wellness job for OOD. * Readers:
- sql
Out StringOf Disk State This field represents the state generated by the proactive database wellness job for OutOfDisk issues. * Writers: * the proactive database wellness job for OOD. * Readers: * the proactive database wellness job
SqlScheduledMaintenanceResponse
- Can
Defer bool - Can
Reschedule bool If the scheduled maintenance can be rescheduled.
- Schedule
Deadline stringTime Maintenance cannot be rescheduled to start beyond this deadline.
- Start
Time string The start time of any upcoming scheduled maintenance for this instance.
- Can
Defer bool - Can
Reschedule bool If the scheduled maintenance can be rescheduled.
- Schedule
Deadline stringTime Maintenance cannot be rescheduled to start beyond this deadline.
- Start
Time string The start time of any upcoming scheduled maintenance for this instance.
- can
Defer Boolean - can
Reschedule Boolean If the scheduled maintenance can be rescheduled.
- schedule
Deadline StringTime Maintenance cannot be rescheduled to start beyond this deadline.
- start
Time String The start time of any upcoming scheduled maintenance for this instance.
- can
Defer boolean - can
Reschedule boolean If the scheduled maintenance can be rescheduled.
- schedule
Deadline stringTime Maintenance cannot be rescheduled to start beyond this deadline.
- start
Time string The start time of any upcoming scheduled maintenance for this instance.
- can_
defer bool - can_
reschedule bool If the scheduled maintenance can be rescheduled.
- schedule_
deadline_ strtime Maintenance cannot be rescheduled to start beyond this deadline.
- start_
time str The start time of any upcoming scheduled maintenance for this instance.
- can
Defer Boolean - can
Reschedule Boolean If the scheduled maintenance can be rescheduled.
- schedule
Deadline StringTime Maintenance cannot be rescheduled to start beyond this deadline.
- start
Time String The start time of any upcoming scheduled maintenance for this instance.
SqlServerAuditConfigResponse
- Bucket string
The name of the destination bucket (e.g., gs://mybucket).
- Kind string
This is always sql#sqlServerAuditConfig
- Retention
Interval string How long to keep generated audit files.
- Upload
Interval string How often to upload generated audit files.
- Bucket string
The name of the destination bucket (e.g., gs://mybucket).
- Kind string
This is always sql#sqlServerAuditConfig
- Retention
Interval string How long to keep generated audit files.
- Upload
Interval string How often to upload generated audit files.
- bucket String
The name of the destination bucket (e.g., gs://mybucket).
- kind String
This is always sql#sqlServerAuditConfig
- retention
Interval String How long to keep generated audit files.
- upload
Interval String How often to upload generated audit files.
- bucket string
The name of the destination bucket (e.g., gs://mybucket).
- kind string
This is always sql#sqlServerAuditConfig
- retention
Interval string How long to keep generated audit files.
- upload
Interval string How often to upload generated audit files.
- bucket str
The name of the destination bucket (e.g., gs://mybucket).
- kind str
This is always sql#sqlServerAuditConfig
- retention_
interval str How long to keep generated audit files.
- upload_
interval str How often to upload generated audit files.
- bucket String
The name of the destination bucket (e.g., gs://mybucket).
- kind String
This is always sql#sqlServerAuditConfig
- retention
Interval String How long to keep generated audit files.
- upload
Interval String How often to upload generated audit files.
SslCertResponse
- Cert string
PEM representation.
- Cert
Serial stringNumber Serial number, as extracted from the certificate.
- Common
Name string User supplied name. Constrained to [a-zA-Z.-_ ]+.
- Create
Time string The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
- Expiration
Time string The time when the certificate expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Instance string
Name of the database instance.
- Kind string
This is always
sql#sslCert
.- Self
Link string The URI of this resource.
- Sha1Fingerprint string
Sha1 Fingerprint.
- Cert string
PEM representation.
- Cert
Serial stringNumber Serial number, as extracted from the certificate.
- Common
Name string User supplied name. Constrained to [a-zA-Z.-_ ]+.
- Create
Time string The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
- Expiration
Time string The time when the certificate expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- Instance string
Name of the database instance.
- Kind string
This is always
sql#sslCert
.- Self
Link string The URI of this resource.
- Sha1Fingerprint string
Sha1 Fingerprint.
- cert String
PEM representation.
- cert
Serial StringNumber Serial number, as extracted from the certificate.
- common
Name String User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create
Time String The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
- expiration
Time String The time when the certificate expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- instance String
Name of the database instance.
- kind String
This is always
sql#sslCert
.- self
Link String The URI of this resource.
- sha1Fingerprint String
Sha1 Fingerprint.
- cert string
PEM representation.
- cert
Serial stringNumber Serial number, as extracted from the certificate.
- common
Name string User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create
Time string The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
- expiration
Time string The time when the certificate expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- instance string
Name of the database instance.
- kind string
This is always
sql#sslCert
.- self
Link string The URI of this resource.
- sha1Fingerprint string
Sha1 Fingerprint.
- cert str
PEM representation.
- cert_
serial_ strnumber Serial number, as extracted from the certificate.
- common_
name str User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create_
time str The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
- expiration_
time str The time when the certificate expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- instance str
Name of the database instance.
- kind str
This is always
sql#sslCert
.- self_
link str The URI of this resource.
- sha1_
fingerprint str Sha1 Fingerprint.
- cert String
PEM representation.
- cert
Serial StringNumber Serial number, as extracted from the certificate.
- common
Name String User supplied name. Constrained to [a-zA-Z.-_ ]+.
- create
Time String The time when the certificate was created in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
- expiration
Time String The time when the certificate expires in RFC 3339 format, for example
2012-11-15T16:19:00.094Z
.- instance String
Name of the database instance.
- kind String
This is always
sql#sslCert
.- self
Link String The URI of this resource.
- sha1Fingerprint String
Sha1 Fingerprint.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0