Liking cljdoc? Tell your friends :D

happygapi.sqladmin.instances

Cloud SQL Admin API: instances. API for Cloud SQL database instance management See: https://developers.google.com/cloud-sql/api/reference/rest/v1/instances

Cloud SQL Admin API: instances.
API for Cloud SQL database instance management
See: https://developers.google.com/cloud-sql/api/reference/rest/v1/instances
raw docstring

addServerCa$clj

(addServerCa$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/addServerCa

Required parameters: project, instance

Optional parameters: none

Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/addServerCa

Required parameters: project, instance

Optional parameters: none

Adds a new trusted Certificate Authority (CA) version for the specified instance. Required to prepare for a certificate rotation. If a CA version was previously added but never used in a certificate rotation, this operation replaces that version. There cannot be more than one CA version waiting to be rotated in.
sourceraw docstring

clone$clj

(clone$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/clone

Required parameters: instance, project

Optional parameters: none

Body:

{:cloneContext {:kind string, :binLogCoordinates BinLogCoordinates, :destinationInstanceName string, :pointInTime string, :pitrTimestampMs string}}

Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/clone

Required parameters: instance, project

Optional parameters: none

Body: 

{:cloneContext {:kind string,
                :binLogCoordinates BinLogCoordinates,
                :destinationInstanceName string,
                :pointInTime string,
                :pitrTimestampMs string}}

Creates a Cloud SQL instance as a clone of the source instance. Using this operation might cause your instance to restart.
sourceraw docstring

delete$clj

(delete$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/delete

Required parameters: instance, project

Optional parameters: none

Deletes a Cloud SQL instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/delete

Required parameters: instance, project

Optional parameters: none

Deletes a Cloud SQL instance.
sourceraw docstring

demoteMaster$clj

(demoteMaster$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/demoteMaster

Required parameters: instance, project

Optional parameters: none

Body:

{:demoteMasterContext {:kind string, :masterInstanceName string, :skipReplicationSetup boolean, :verifyGtidConsistency boolean, :replicaConfiguration DemoteMasterConfiguration}}

Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/demoteMaster

Required parameters: instance, project

Optional parameters: none

Body: 

{:demoteMasterContext {:kind string,
                       :masterInstanceName string,
                       :skipReplicationSetup boolean,
                       :verifyGtidConsistency boolean,
                       :replicaConfiguration DemoteMasterConfiguration}}

Demotes the stand-alone instance to be a Cloud SQL read replica for an external database server.
sourceraw docstring

export$clj

(export$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/export

Required parameters: project, instance

Optional parameters: none

Body:

{:exportContext {:databases [string], :uri string, :sqlExportOptions {:tables [string], :schemaOnly boolean, :mysqlExportOptions {:masterData integer}}, :kind string, :csvExportOptions {:quoteCharacter string, :linesTerminatedBy string, :selectQuery string, :escapeCharacter string, :fieldsTerminatedBy string}, :offload boolean, :fileType string}}

Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/export

Required parameters: project, instance

Optional parameters: none

Body: 

{:exportContext {:databases [string],
                 :uri string,
                 :sqlExportOptions {:tables [string],
                                    :schemaOnly boolean,
                                    :mysqlExportOptions {:masterData integer}},
                 :kind string,
                 :csvExportOptions {:quoteCharacter string,
                                    :linesTerminatedBy string,
                                    :selectQuery string,
                                    :escapeCharacter string,
                                    :fieldsTerminatedBy string},
                 :offload boolean,
                 :fileType string}}

Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump or CSV file.
sourceraw docstring

failover$clj

(failover$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/failover

Required parameters: instance, project

Optional parameters: none

Body:

{:failoverContext {:kind string, :settingsVersion string}}

Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/failover

Required parameters: instance, project

Optional parameters: none

Body: 

{:failoverContext {:kind string, :settingsVersion string}}

Initiates a manual failover of a high availability (HA) primary instance to a standby instance, which becomes the primary instance. Users are then rerouted to the new primary. For more information, see the Overview of high availability page in the Cloud SQL documentation. If using Legacy HA (MySQL only), this causes the instance to failover to its failover replica instance.
sourceraw docstring

get$clj

(get$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/get

Required parameters: instance, project

Optional parameters: none

Retrieves a resource containing information about a Cloud SQL instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/get

Required parameters: instance, project

Optional parameters: none

Retrieves a resource containing information about a Cloud SQL instance.
sourceraw docstring

import$clj

(import$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/import

Required parameters: instance, project

Optional parameters: none

Body:

{:importContext {:fileType string, :kind string, :bakImportOptions {:encryptionOptions {:pvkPath string, :certPath string, :pvkPassword string}}, :database string, :importUser string, :csvImportOptions {:fieldsTerminatedBy string, :columns [string], :linesTerminatedBy string, :escapeCharacter string, :table string, :quoteCharacter string}, :uri string}}

Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/import

Required parameters: instance, project

Optional parameters: none

Body: 

{:importContext {:fileType string,
                 :kind string,
                 :bakImportOptions {:encryptionOptions {:pvkPath string,
                                                        :certPath string,
                                                        :pvkPassword string}},
                 :database string,
                 :importUser string,
                 :csvImportOptions {:fieldsTerminatedBy string,
                                    :columns [string],
                                    :linesTerminatedBy string,
                                    :escapeCharacter string,
                                    :table string,
                                    :quoteCharacter string},
                 :uri string}}

Imports data into a Cloud SQL instance from a SQL dump or CSV file in Cloud Storage.
sourceraw docstring

insert$clj

(insert$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/insert

Required parameters: project

Optional parameters: none

Body:

{:onPremisesConfiguration {:sourceInstance InstanceReference, :clientCertificate string, :password string, :clientKey string, :caCertificate string, :username string, :kind string, :dumpFilePath string, :hostPort string}, :diskEncryptionConfiguration {:kind string, :kmsKeyName string}, :databaseVersion string, :maxDiskSize string, :instanceType string, :rootPassword string, :currentDiskSize string, :gceZone string, :name string, :masterInstanceName string, :createTime string, :settings {:activeDirectoryConfig SqlActiveDirectoryConfig, :availabilityType string, :tier string, :databaseFlags [DatabaseFlags], :databaseReplicationEnabled boolean, :sqlServerAuditConfig SqlServerAuditConfig, :settingsVersion string, :storageAutoResizeLimit string, :crashSafeReplicationEnabled boolean, :activationPolicy string, :collation string, :storageAutoResize boolean, :pricingPlan string, :locationPreference LocationPreference, :insightsConfig InsightsConfig, :ipConfiguration IpConfiguration, :kind string, :maintenanceWindow MaintenanceWindow, :backupConfiguration BackupConfiguration, :denyMaintenancePeriods [DenyMaintenancePeriod], :dataDiskSizeGb string, :replicationType string, :userLabels {}, :dataDiskType string, :authorizedGaeApplications [string]}, :selfLink string, :etag string, :ipAddresses [{:ipAddress string, :type string, :timeToRetire string}], :state string, :ipv6Address string, :region string, :diskEncryptionStatus {:kind string, :kmsKeyVersionName string}, :replicaNames [string], :failoverReplica {:available boolean, :name string}, :satisfiesPzs boolean, :project string, :kind string, :backendType string, :serviceAccountEmailAddress string, :scheduledMaintenance {:canReschedule boolean, :canDefer boolean, :scheduleDeadlineTime string, :startTime string}, :replicaConfiguration {:kind string, :mysqlReplicaConfiguration MySqlReplicaConfiguration, :failoverTarget boolean}, :serverCaCert {:instance string, :expirationTime string, :cert string, :createTime string, :selfLink string, :sha1Fingerprint string, :kind string, :commonName string, :certSerialNumber string}, :connectionName string, :secondaryGceZone string, :outOfDiskReport {:sqlMinRecommendedIncreaseSizeGb integer, :sqlOutOfDiskState string}, :suspensionReason [string]}

Creates a new Cloud SQL instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/insert

Required parameters: project

Optional parameters: none

Body: 

{:onPremisesConfiguration {:sourceInstance InstanceReference,
                           :clientCertificate string,
                           :password string,
                           :clientKey string,
                           :caCertificate string,
                           :username string,
                           :kind string,
                           :dumpFilePath string,
                           :hostPort string},
 :diskEncryptionConfiguration {:kind string, :kmsKeyName string},
 :databaseVersion string,
 :maxDiskSize string,
 :instanceType string,
 :rootPassword string,
 :currentDiskSize string,
 :gceZone string,
 :name string,
 :masterInstanceName string,
 :createTime string,
 :settings {:activeDirectoryConfig SqlActiveDirectoryConfig,
            :availabilityType string,
            :tier string,
            :databaseFlags [DatabaseFlags],
            :databaseReplicationEnabled boolean,
            :sqlServerAuditConfig SqlServerAuditConfig,
            :settingsVersion string,
            :storageAutoResizeLimit string,
            :crashSafeReplicationEnabled boolean,
            :activationPolicy string,
            :collation string,
            :storageAutoResize boolean,
            :pricingPlan string,
            :locationPreference LocationPreference,
            :insightsConfig InsightsConfig,
            :ipConfiguration IpConfiguration,
            :kind string,
            :maintenanceWindow MaintenanceWindow,
            :backupConfiguration BackupConfiguration,
            :denyMaintenancePeriods [DenyMaintenancePeriod],
            :dataDiskSizeGb string,
            :replicationType string,
            :userLabels {},
            :dataDiskType string,
            :authorizedGaeApplications [string]},
 :selfLink string,
 :etag string,
 :ipAddresses [{:ipAddress string, :type string, :timeToRetire string}],
 :state string,
 :ipv6Address string,
 :region string,
 :diskEncryptionStatus {:kind string, :kmsKeyVersionName string},
 :replicaNames [string],
 :failoverReplica {:available boolean, :name string},
 :satisfiesPzs boolean,
 :project string,
 :kind string,
 :backendType string,
 :serviceAccountEmailAddress string,
 :scheduledMaintenance {:canReschedule boolean,
                        :canDefer boolean,
                        :scheduleDeadlineTime string,
                        :startTime string},
 :replicaConfiguration {:kind string,
                        :mysqlReplicaConfiguration MySqlReplicaConfiguration,
                        :failoverTarget boolean},
 :serverCaCert {:instance string,
                :expirationTime string,
                :cert string,
                :createTime string,
                :selfLink string,
                :sha1Fingerprint string,
                :kind string,
                :commonName string,
                :certSerialNumber string},
 :connectionName string,
 :secondaryGceZone string,
 :outOfDiskReport {:sqlMinRecommendedIncreaseSizeGb integer,
                   :sqlOutOfDiskState string},
 :suspensionReason [string]}

Creates a new Cloud SQL instance.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/list

Required parameters: project

Optional parameters: maxResults, filter, pageToken

Lists instances under a given project.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/list

Required parameters: project

Optional parameters: maxResults, filter, pageToken

Lists instances under a given project.
sourceraw docstring

listServerCas$clj

(listServerCas$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/listServerCas

Required parameters: project, instance

Optional parameters: none

Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/listServerCas

Required parameters: project, instance

Optional parameters: none

Lists all of the trusted Certificate Authorities (CAs) for the specified instance. There can be up to three CAs listed: the CA that was used to sign the certificate that is currently in use, a CA that has been added but not yet used to sign a certificate, and a CA used to sign a certificate that has previously rotated out.
sourceraw docstring

patch$clj

(patch$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/patch

Required parameters: instance, project

Optional parameters: none

Body:

{:onPremisesConfiguration {:sourceInstance InstanceReference, :clientCertificate string, :password string, :clientKey string, :caCertificate string, :username string, :kind string, :dumpFilePath string, :hostPort string}, :diskEncryptionConfiguration {:kind string, :kmsKeyName string}, :databaseVersion string, :maxDiskSize string, :instanceType string, :rootPassword string, :currentDiskSize string, :gceZone string, :name string, :masterInstanceName string, :createTime string, :settings {:activeDirectoryConfig SqlActiveDirectoryConfig, :availabilityType string, :tier string, :databaseFlags [DatabaseFlags], :databaseReplicationEnabled boolean, :sqlServerAuditConfig SqlServerAuditConfig, :settingsVersion string, :storageAutoResizeLimit string, :crashSafeReplicationEnabled boolean, :activationPolicy string, :collation string, :storageAutoResize boolean, :pricingPlan string, :locationPreference LocationPreference, :insightsConfig InsightsConfig, :ipConfiguration IpConfiguration, :kind string, :maintenanceWindow MaintenanceWindow, :backupConfiguration BackupConfiguration, :denyMaintenancePeriods [DenyMaintenancePeriod], :dataDiskSizeGb string, :replicationType string, :userLabels {}, :dataDiskType string, :authorizedGaeApplications [string]}, :selfLink string, :etag string, :ipAddresses [{:ipAddress string, :type string, :timeToRetire string}], :state string, :ipv6Address string, :region string, :diskEncryptionStatus {:kind string, :kmsKeyVersionName string}, :replicaNames [string], :failoverReplica {:available boolean, :name string}, :satisfiesPzs boolean, :project string, :kind string, :backendType string, :serviceAccountEmailAddress string, :scheduledMaintenance {:canReschedule boolean, :canDefer boolean, :scheduleDeadlineTime string, :startTime string}, :replicaConfiguration {:kind string, :mysqlReplicaConfiguration MySqlReplicaConfiguration, :failoverTarget boolean}, :serverCaCert {:instance string, :expirationTime string, :cert string, :createTime string, :selfLink string, :sha1Fingerprint string, :kind string, :commonName string, :certSerialNumber string}, :connectionName string, :secondaryGceZone string, :outOfDiskReport {:sqlMinRecommendedIncreaseSizeGb integer, :sqlOutOfDiskState string}, :suspensionReason [string]}

Updates settings of a Cloud SQL instance. This method supports patch semantics.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/patch

Required parameters: instance, project

Optional parameters: none

Body: 

{:onPremisesConfiguration {:sourceInstance InstanceReference,
                           :clientCertificate string,
                           :password string,
                           :clientKey string,
                           :caCertificate string,
                           :username string,
                           :kind string,
                           :dumpFilePath string,
                           :hostPort string},
 :diskEncryptionConfiguration {:kind string, :kmsKeyName string},
 :databaseVersion string,
 :maxDiskSize string,
 :instanceType string,
 :rootPassword string,
 :currentDiskSize string,
 :gceZone string,
 :name string,
 :masterInstanceName string,
 :createTime string,
 :settings {:activeDirectoryConfig SqlActiveDirectoryConfig,
            :availabilityType string,
            :tier string,
            :databaseFlags [DatabaseFlags],
            :databaseReplicationEnabled boolean,
            :sqlServerAuditConfig SqlServerAuditConfig,
            :settingsVersion string,
            :storageAutoResizeLimit string,
            :crashSafeReplicationEnabled boolean,
            :activationPolicy string,
            :collation string,
            :storageAutoResize boolean,
            :pricingPlan string,
            :locationPreference LocationPreference,
            :insightsConfig InsightsConfig,
            :ipConfiguration IpConfiguration,
            :kind string,
            :maintenanceWindow MaintenanceWindow,
            :backupConfiguration BackupConfiguration,
            :denyMaintenancePeriods [DenyMaintenancePeriod],
            :dataDiskSizeGb string,
            :replicationType string,
            :userLabels {},
            :dataDiskType string,
            :authorizedGaeApplications [string]},
 :selfLink string,
 :etag string,
 :ipAddresses [{:ipAddress string, :type string, :timeToRetire string}],
 :state string,
 :ipv6Address string,
 :region string,
 :diskEncryptionStatus {:kind string, :kmsKeyVersionName string},
 :replicaNames [string],
 :failoverReplica {:available boolean, :name string},
 :satisfiesPzs boolean,
 :project string,
 :kind string,
 :backendType string,
 :serviceAccountEmailAddress string,
 :scheduledMaintenance {:canReschedule boolean,
                        :canDefer boolean,
                        :scheduleDeadlineTime string,
                        :startTime string},
 :replicaConfiguration {:kind string,
                        :mysqlReplicaConfiguration MySqlReplicaConfiguration,
                        :failoverTarget boolean},
 :serverCaCert {:instance string,
                :expirationTime string,
                :cert string,
                :createTime string,
                :selfLink string,
                :sha1Fingerprint string,
                :kind string,
                :commonName string,
                :certSerialNumber string},
 :connectionName string,
 :secondaryGceZone string,
 :outOfDiskReport {:sqlMinRecommendedIncreaseSizeGb integer,
                   :sqlOutOfDiskState string},
 :suspensionReason [string]}

Updates settings of a Cloud SQL instance. This method supports patch semantics.
sourceraw docstring

promoteReplica$clj

(promoteReplica$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/promoteReplica

Required parameters: project, instance

Optional parameters: none

Promotes the read replica instance to be a stand-alone Cloud SQL instance. Using this operation might cause your instance to restart.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/promoteReplica

Required parameters: project, instance

Optional parameters: none

Promotes the read replica instance to be a stand-alone Cloud SQL instance. Using this operation might cause your instance to restart.
sourceraw docstring

resetSslConfig$clj

(resetSslConfig$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/resetSslConfig

Required parameters: instance, project

Optional parameters: none

Deletes all client certificates and generates a new server SSL certificate for the instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/resetSslConfig

Required parameters: instance, project

Optional parameters: none

Deletes all client certificates and generates a new server SSL certificate for the instance.
sourceraw docstring

restart$clj

(restart$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/restart

Required parameters: project, instance

Optional parameters: none

Restarts a Cloud SQL instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/restart

Required parameters: project, instance

Optional parameters: none

Restarts a Cloud SQL instance.
sourceraw docstring

restoreBackup$clj

(restoreBackup$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/restoreBackup

Required parameters: project, instance

Optional parameters: none

Body:

{:restoreBackupContext {:kind string, :instanceId string, :project string, :backupRunId string}}

Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/restoreBackup

Required parameters: project, instance

Optional parameters: none

Body: 

{:restoreBackupContext {:kind string,
                        :instanceId string,
                        :project string,
                        :backupRunId string}}

Restores a backup of a Cloud SQL instance. Using this operation might cause your instance to restart.
sourceraw docstring

rotateServerCa$clj

(rotateServerCa$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/rotateServerCa

Required parameters: instance, project

Optional parameters: none

Body:

{:rotateServerCaContext {:kind string, :nextVersion string}}

Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/rotateServerCa

Required parameters: instance, project

Optional parameters: none

Body: 

{:rotateServerCaContext {:kind string, :nextVersion string}}

Rotates the server certificate to one signed by the Certificate Authority (CA) version previously added with the addServerCA method.
sourceraw docstring

startReplica$clj

(startReplica$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/startReplica

Required parameters: project, instance

Optional parameters: none

Starts the replication in the read replica instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/startReplica

Required parameters: project, instance

Optional parameters: none

Starts the replication in the read replica instance.
sourceraw docstring

stopReplica$clj

(stopReplica$ auth parameters)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/stopReplica

Required parameters: project, instance

Optional parameters: none

Stops the replication in the read replica instance.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/stopReplica

Required parameters: project, instance

Optional parameters: none

Stops the replication in the read replica instance.
sourceraw docstring

truncateLog$clj

(truncateLog$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/truncateLog

Required parameters: instance, project

Optional parameters: none

Body:

{:truncateLogContext {:logType string, :kind string}}

Truncate MySQL general and slow query log tables MySQL only.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/truncateLog

Required parameters: instance, project

Optional parameters: none

Body: 

{:truncateLogContext {:logType string, :kind string}}

Truncate MySQL general and slow query log tables MySQL only.
sourceraw docstring

update$clj

(update$ auth parameters body)

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/update

Required parameters: instance, project

Optional parameters: none

Body:

{:onPremisesConfiguration {:sourceInstance InstanceReference, :clientCertificate string, :password string, :clientKey string, :caCertificate string, :username string, :kind string, :dumpFilePath string, :hostPort string}, :diskEncryptionConfiguration {:kind string, :kmsKeyName string}, :databaseVersion string, :maxDiskSize string, :instanceType string, :rootPassword string, :currentDiskSize string, :gceZone string, :name string, :masterInstanceName string, :createTime string, :settings {:activeDirectoryConfig SqlActiveDirectoryConfig, :availabilityType string, :tier string, :databaseFlags [DatabaseFlags], :databaseReplicationEnabled boolean, :sqlServerAuditConfig SqlServerAuditConfig, :settingsVersion string, :storageAutoResizeLimit string, :crashSafeReplicationEnabled boolean, :activationPolicy string, :collation string, :storageAutoResize boolean, :pricingPlan string, :locationPreference LocationPreference, :insightsConfig InsightsConfig, :ipConfiguration IpConfiguration, :kind string, :maintenanceWindow MaintenanceWindow, :backupConfiguration BackupConfiguration, :denyMaintenancePeriods [DenyMaintenancePeriod], :dataDiskSizeGb string, :replicationType string, :userLabels {}, :dataDiskType string, :authorizedGaeApplications [string]}, :selfLink string, :etag string, :ipAddresses [{:ipAddress string, :type string, :timeToRetire string}], :state string, :ipv6Address string, :region string, :diskEncryptionStatus {:kind string, :kmsKeyVersionName string}, :replicaNames [string], :failoverReplica {:available boolean, :name string}, :satisfiesPzs boolean, :project string, :kind string, :backendType string, :serviceAccountEmailAddress string, :scheduledMaintenance {:canReschedule boolean, :canDefer boolean, :scheduleDeadlineTime string, :startTime string}, :replicaConfiguration {:kind string, :mysqlReplicaConfiguration MySqlReplicaConfiguration, :failoverTarget boolean}, :serverCaCert {:instance string, :expirationTime string, :cert string, :createTime string, :selfLink string, :sha1Fingerprint string, :kind string, :commonName string, :certSerialNumber string}, :connectionName string, :secondaryGceZone string, :outOfDiskReport {:sqlMinRecommendedIncreaseSizeGb integer, :sqlOutOfDiskState string}, :suspensionReason [string]}

Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.

https://developers.google.com/cloud-sql/api/reference/rest/v1/instances/update

Required parameters: instance, project

Optional parameters: none

Body: 

{:onPremisesConfiguration {:sourceInstance InstanceReference,
                           :clientCertificate string,
                           :password string,
                           :clientKey string,
                           :caCertificate string,
                           :username string,
                           :kind string,
                           :dumpFilePath string,
                           :hostPort string},
 :diskEncryptionConfiguration {:kind string, :kmsKeyName string},
 :databaseVersion string,
 :maxDiskSize string,
 :instanceType string,
 :rootPassword string,
 :currentDiskSize string,
 :gceZone string,
 :name string,
 :masterInstanceName string,
 :createTime string,
 :settings {:activeDirectoryConfig SqlActiveDirectoryConfig,
            :availabilityType string,
            :tier string,
            :databaseFlags [DatabaseFlags],
            :databaseReplicationEnabled boolean,
            :sqlServerAuditConfig SqlServerAuditConfig,
            :settingsVersion string,
            :storageAutoResizeLimit string,
            :crashSafeReplicationEnabled boolean,
            :activationPolicy string,
            :collation string,
            :storageAutoResize boolean,
            :pricingPlan string,
            :locationPreference LocationPreference,
            :insightsConfig InsightsConfig,
            :ipConfiguration IpConfiguration,
            :kind string,
            :maintenanceWindow MaintenanceWindow,
            :backupConfiguration BackupConfiguration,
            :denyMaintenancePeriods [DenyMaintenancePeriod],
            :dataDiskSizeGb string,
            :replicationType string,
            :userLabels {},
            :dataDiskType string,
            :authorizedGaeApplications [string]},
 :selfLink string,
 :etag string,
 :ipAddresses [{:ipAddress string, :type string, :timeToRetire string}],
 :state string,
 :ipv6Address string,
 :region string,
 :diskEncryptionStatus {:kind string, :kmsKeyVersionName string},
 :replicaNames [string],
 :failoverReplica {:available boolean, :name string},
 :satisfiesPzs boolean,
 :project string,
 :kind string,
 :backendType string,
 :serviceAccountEmailAddress string,
 :scheduledMaintenance {:canReschedule boolean,
                        :canDefer boolean,
                        :scheduleDeadlineTime string,
                        :startTime string},
 :replicaConfiguration {:kind string,
                        :mysqlReplicaConfiguration MySqlReplicaConfiguration,
                        :failoverTarget boolean},
 :serverCaCert {:instance string,
                :expirationTime string,
                :cert string,
                :createTime string,
                :selfLink string,
                :sha1Fingerprint string,
                :kind string,
                :commonName string,
                :certSerialNumber string},
 :connectionName string,
 :secondaryGceZone string,
 :outOfDiskReport {:sqlMinRecommendedIncreaseSizeGb integer,
                   :sqlOutOfDiskState string},
 :suspensionReason [string]}

Updates settings of a Cloud SQL instance. Using this operation might cause your instance to restart.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close