- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
ancestors
Type: UNORDERED_LIST_STRING
available_maintenance_versions
Type: UNORDERED_LIST_STRING
Provider name: availableMaintenanceVersions
Description: Output only. List all maintenance versions applicable on the instance
backend_type
Type: STRING
Provider name: backendType
Description: 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 the tier
property in the settings
object to determine the database type.
Possible values:
SQL_BACKEND_TYPE_UNSPECIFIED
- This is an unknown backend type for instance.FIRST_GEN
- V1 speckle instance.SECOND_GEN
- V2 speckle instance.EXTERNAL
- On premises instance.connection_name
Type: STRING
Provider name: connectionName
Description: Connection name of the Cloud SQL instance used in connection strings.
create_time
Type: TIMESTAMP
Provider name: createTime
Description: Output only. The time when the instance was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z
.
current_disk_size
Type: INT64
Provider name: currentDiskSize
Description: 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_version
Type: STRING
Provider name: databaseInstalledVersion
Description: Output only. Stores the current database version running on the instance including minor version such as MYSQL_8_0_18
.
database_version
Type: STRING
Provider name: databaseVersion
Description: The database engine type and version. The databaseVersion
field cannot be changed after instance creation.
Possible values:
SQL_DATABASE_VERSION_UNSPECIFIED
- This is an unknown database version.MYSQL_5_1
- The database version is MySQL 5.1.MYSQL_5_5
- The database version is MySQL 5.5.MYSQL_5_6
- The database version is MySQL 5.6.MYSQL_5_7
- The database version is MySQL 5.7.SQLSERVER_2017_STANDARD
- The database version is SQL Server 2017 Standard.SQLSERVER_2017_ENTERPRISE
- The database version is SQL Server 2017 Enterprise.SQLSERVER_2017_EXPRESS
- The database version is SQL Server 2017 Express.SQLSERVER_2017_WEB
- The database version is SQL Server 2017 Web.POSTGRES_9_6
- The database version is PostgreSQL 9.6.POSTGRES_10
- The database version is PostgreSQL 10.POSTGRES_11
- The database version is PostgreSQL 11.POSTGRES_12
- The database version is PostgreSQL 12.POSTGRES_13
- The database version is PostgreSQL 13.POSTGRES_14
- The database version is PostgreSQL 14.POSTGRES_15
- The database version is PostgreSQL 15.MYSQL_8_0
- The database version is MySQL 8.MYSQL_8_0_18
- The database major version is MySQL 8.0 and the minor version is 18.MYSQL_8_0_26
- The database major version is MySQL 8.0 and the minor version is 26.MYSQL_8_0_27
- The database major version is MySQL 8.0 and the minor version is 27.MYSQL_8_0_28
- The database major version is MySQL 8.0 and the minor version is 28.MYSQL_8_0_29
- The database major version is MySQL 8.0 and the minor version is 29.MYSQL_8_0_30
- The database major version is MySQL 8.0 and the minor version is 30.MYSQL_8_0_31
- The database major version is MySQL 8.0 and the minor version is 31.MYSQL_8_0_32
- The database major version is MySQL 8.0 and the minor version is 32.MYSQL_8_0_33
- The database major version is MySQL 8.0 and the minor version is 33.MYSQL_8_0_34
- The database major version is MySQL 8.0 and the minor version is 34.MYSQL_8_0_35
- The database major version is MySQL 8.0 and the minor version is 35.MYSQL_8_0_36
- The database major version is MySQL 8.0 and the minor version is 36.SQLSERVER_2019_STANDARD
- The database version is SQL Server 2019 Standard.SQLSERVER_2019_ENTERPRISE
- The database version is SQL Server 2019 Enterprise.SQLSERVER_2019_EXPRESS
- The database version is SQL Server 2019 Express.SQLSERVER_2019_WEB
- The database version is SQL Server 2019 Web.SQLSERVER_2022_STANDARD
- The database version is SQL Server 2022 Standard.SQLSERVER_2022_ENTERPRISE
- The database version is SQL Server 2022 Enterprise.SQLSERVER_2022_EXPRESS
- The database version is SQL Server 2022 Express.SQLSERVER_2022_WEB
- The database version is SQL Server 2022 Web.disk_encryption_configuration
Type: STRUCT
Provider name: diskEncryptionConfiguration
Description: Disk encryption configuration specific to an instance.
kind
STRING
kind
sql#diskEncryptionConfiguration
.kms_key_name
STRING
kmsKeyName
disk_encryption_status
Type: STRUCT
Provider name: diskEncryptionStatus
Description: Disk encryption status specific to an instance.
kind
STRING
kind
sql#diskEncryptionStatus
.kms_key_version_name
STRING
kmsKeyVersionName
etag
Type: STRING
Provider name: etag
Description: This field is deprecated and will be removed from a future version of the API. Use the settings.settingsVersion
field instead.
failover_replica
Type: STRUCT
Provider name: failoverReplica
Description: The name and status of the failover replica.
available
BOOLEAN
available
name
STRING
name
gce_zone
Type: STRING
Provider name: gceZone
Description: 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
Type: STRING
Provider name: instanceType
Description: The instance type.
Possible values:
SQL_INSTANCE_TYPE_UNSPECIFIED
- This is an unknown Cloud SQL instance type.CLOUD_SQL_INSTANCE
- A regular Cloud SQL instance that is not replicating from a primary instance.ON_PREMISES_INSTANCE
- An instance running on the customer’s premises that is not managed by Cloud SQL.READ_REPLICA_INSTANCE
- A Cloud SQL instance acting as a read-replica.ip_addresses
Type: UNORDERED_LIST_STRUCT
Provider name: ipAddresses
Description: The assigned IP addresses for the instance.
ip_address
STRING
ipAddress
time_to_retire
TIMESTAMP
timeToRetire
2012-11-15T16:19:00.094Z
. This field is only available when the IP is scheduled to be retired.type
STRING
type
PRIMARY
address is a public address that can accept incoming connections. A PRIVATE
address is a private address that can accept incoming connections. An OUTGOING
address is the source address of connections originating from the instance, if supported.SQL_IP_ADDRESS_TYPE_UNSPECIFIED
- This is an unknown IP address type.PRIMARY
- IP address the customer is supposed to connect to. Usually this is the load balancer’s IP addressOUTGOING
- Source IP address of the connection a read replica establishes to its external primary instance. This IP address can be allowlisted by the customer in case it has a firewall that filters incoming connection to its on premises primary instance.PRIVATE
- Private IP used when using private IPs and network peering.MIGRATED_1ST_GEN
- V1 IP of a migrated instance. We want the user to decommission this IP as soon as the migration is complete. Note: V1 instances with V1 ip addresses will be counted as PRIMARY.ipv6_address
Type: STRING
Provider name: ipv6Address
Description: The IPv6 address assigned to the instance. (Deprecated) This property was applicable only to First Generation instances.
kind
Type: STRING
Provider name: kind
Description: This is always sql#instance
.
labels
Type: UNORDERED_LIST_STRING
maintenance_version
Type: STRING
Provider name: maintenanceVersion
Description: The current software version on the instance.
master_instance_name
Type: STRING
Provider name: masterInstanceName
Description: The name of the instance which will act as primary in the replication setup.
max_disk_size
Type: INT64
Provider name: maxDiskSize
Description: The maximum disk size of the instance in bytes.
name
Type: STRING
Provider name: name
Description: Name of the Cloud SQL instance. This does not include the project ID.
on_premises_configuration
Type: STRUCT
Provider name: onPremisesConfiguration
Description: Configuration specific to on-premises instances.
ca_certificate
STRING
caCertificate
client_certificate
STRING
clientCertificate
client_key
STRING
clientKey
dump_file_path
STRING
dumpFilePath
host_port
STRING
hostPort
kind
STRING
kind
sql#onPremisesConfiguration
.source_instance
STRUCT
sourceInstance
name
STRING
name
project
STRING
project
region
STRING
region
username
STRING
username
organization_id
Type: STRING
out_of_disk_report
Type: STRUCT
Provider name: outOfDiskReport
Description: 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
sql_min_recommended_increase_size_gb
INT32
sqlMinRecommendedIncreaseSizeGb
sql_out_of_disk_state
STRING
sqlOutOfDiskState
SQL_OUT_OF_DISK_STATE_UNSPECIFIED
- Unspecified stateNORMAL
- The instance has plenty space on data diskSOFT_SHUTDOWN
- Data disk is almost used up. It is shutdown to prevent data corruption.parent
Type: STRING
project
Type: STRING
Provider name: project
Description: The project ID of the project containing the Cloud SQL instance. The Google apps domain is prefixed if applicable.
project_id
Type: STRING
project_number
Type: STRING
region
Type: STRING
Provider name: region
Description: The geographical region. Can be: * us-central
(FIRST_GEN
instances only) * us-central1
(SECOND_GEN
instances only) * asia-east1
or europe-west1
. Defaults to us-central
or us-central1
depending on the instance type. The region cannot be changed after instance creation.
replica_configuration
Type: STRUCT
Provider name: replicaConfiguration
Description: Configuration specific to failover replicas and read replicas.
failover_target
BOOLEAN
failoverTarget
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
kind
sql#replicaConfiguration
.mysql_replica_configuration
STRUCT
mysqlReplicaConfiguration
master.info
in the data directory.ca_certificate
STRING
caCertificate
client_certificate
STRING
clientCertificate
client_key
STRING
clientKey
connect_retry_interval
INT32
connectRetryInterval
dump_file_path
STRING
dumpFilePath
kind
STRING
kind
sql#mysqlReplicaConfiguration
.master_heartbeat_period
INT64
masterHeartbeatPeriod
ssl_cipher
STRING
sslCipher
username
STRING
username
verify_server_certificate
BOOLEAN
verifyServerCertificate
replica_names
Type: UNORDERED_LIST_STRING
Provider name: replicaNames
Description: The replicas of the instance.
resource_name
Type: STRING
satisfies_pzs
Type: BOOLEAN
Provider name: satisfiesPzs
Description: The status indicating if instance satisfiesPzs. Reserved for future use.
scheduled_maintenance
Type: STRUCT
Provider name: scheduledMaintenance
Description: The start time of any upcoming scheduled maintenance for this instance.
can_defer
BOOLEAN
canDefer
can_reschedule
BOOLEAN
canReschedule
schedule_deadline_time
TIMESTAMP
scheduleDeadlineTime
start_time
TIMESTAMP
startTime
secondary_gce_zone
Type: STRING
Provider name: secondaryGceZone
Description: 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
Type: STRING
Provider name: selfLink
Description: The URI of this resource.
server_ca_cert
Type: STRUCT
Provider name: serverCaCert
Description: SSL configuration.
cert
STRING
cert
cert_serial_number
STRING
certSerialNumber
common_name
STRING
commonName
create_time
TIMESTAMP
createTime
2012-11-15T16:19:00.094Z
.expiration_time
TIMESTAMP
expirationTime
2012-11-15T16:19:00.094Z
.instance
STRING
instance
kind
STRING
kind
sql#sslCert
.self_link
STRING
selfLink
sha1_fingerprint
STRING
sha1Fingerprint
service_account_email_address
Type: STRING
Provider name: serviceAccountEmailAddress
Description: The service account email address assigned to the instance. \This property is read-only.
settings
Type: STRUCT
Provider name: settings
Description: The user settings.
activation_policy
STRING
activationPolicy
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.SQL_ACTIVATION_POLICY_UNSPECIFIED
- Unknown activation plan.ALWAYS
- The instance is always up and running.NEVER
- The instance never starts.ON_DEMAND
- The instance starts upon receiving requests.active_directory_config
STRUCT
activeDirectoryConfig
domain
STRING
domain
kind
STRING
kind
advanced_machine_features
STRUCT
advancedMachineFeatures
threads_per_core
INT32
threadsPerCore
authorized_gae_applications
UNORDERED_LIST_STRING
authorizedGaeApplications
availability_type
STRING
availabilityType
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.SQL_AVAILABILITY_TYPE_UNSPECIFIED
- This is an unknown Availability type.ZONAL
- Zonal available instance.REGIONAL
- Regional available instance.backup_configuration
STRUCT
backupConfiguration
backup_retention_settings
STRUCT
backupRetentionSettings
retained_backups
INT32
retainedBackups
retention_unit
STRING
retentionUnit
RETENTION_UNIT_UNSPECIFIED
- Backup retention unit is unspecified, will be treated as COUNT.COUNT
- Retention will be by count, eg. ‘retain the most recent 7 backups’.binary_log_enabled
BOOLEAN
binaryLogEnabled
enabled
BOOLEAN
enabled
kind
STRING
kind
sql#backupConfiguration
.location
STRING
location
point_in_time_recovery_enabled
BOOLEAN
pointInTimeRecoveryEnabled
replication_log_archiving_enabled
BOOLEAN
replicationLogArchivingEnabled
start_time
STRING
startTime
HH:MM
.transaction_log_retention_days
INT32
transactionLogRetentionDays
collation
STRING
collation
connector_enforcement
STRING
connectorEnforcement
NOT_REQUIRED
(Cloud SQL instances can be connected without Cloud SQL Connectors) and REQUIRED
(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.CONNECTOR_ENFORCEMENT_UNSPECIFIED
- The requirement for Cloud SQL connectors is unknown.NOT_REQUIRED
- Do not require Cloud SQL connectors.REQUIRED
- Require all connections to use Cloud SQL connectors, including the Cloud SQL Auth Proxy and Cloud SQL Java, Python, and Go connectors. Note: This disables all existing authorized networks.crash_safe_replication_enabled
BOOLEAN
crashSafeReplicationEnabled
data_cache_config
STRUCT
dataCacheConfig
data_cache_enabled
BOOLEAN
dataCacheEnabled
data_disk_size_gb
INT64
dataDiskSizeGb
data_disk_type
STRING
dataDiskType
PD_SSD
(default) or PD_HDD
. Not used for First Generation instances.SQL_DATA_DISK_TYPE_UNSPECIFIED
- This is an unknown data disk type.PD_SSD
- An SSD data disk.PD_HDD
- An HDD data disk.OBSOLETE_LOCAL_SSD
- This field is deprecated and will be removed from a future version of the API.database_flags
UNORDERED_LIST_STRUCT
databaseFlags
name
STRING
name
value
STRING
value
on
for true and off
for false. This field must be omitted if the flag doesn’t take a value.database_replication_enabled
BOOLEAN
databaseReplicationEnabled
deletion_protection_enabled
BOOLEAN
deletionProtectionEnabled
deny_maintenance_periods
UNORDERED_LIST_STRUCT
denyMaintenancePeriods
end_date
STRING
endDate
start_date
STRING
startDate
time
STRING
time
edition
STRING
edition
EDITION_UNSPECIFIED
- The instance did not specify the edition.ENTERPRISE
- The instance is an enterprise edition.ENTERPRISE_PLUS
- The instance is an Enterprise Plus edition.insights_config
STRUCT
insightsConfig
query_insights_enabled
BOOLEAN
queryInsightsEnabled
query_plans_per_minute
INT32
queryPlansPerMinute
query_string_length
INT32
queryStringLength
record_application_tags
BOOLEAN
recordApplicationTags
record_client_address
BOOLEAN
recordClientAddress
ip_configuration
STRUCT
ipConfiguration
allocated_ip_range
STRING
allocatedIpRange
[a-z]([-a-z0-9]*[a-z0-9])?.
authorized_networks
UNORDERED_LIST_STRUCT
authorizedNetworks
157.197.200.0/24
).expiration_time
TIMESTAMP
expirationTime
2012-11-15T16:19:00.094Z
.kind
STRING
kind
sql#aclEntry
.name
STRING
name
value
STRING
value
enable_private_path_for_google_cloud_services
BOOLEAN
enablePrivatePathForGoogleCloudServices
ipv4_enabled
BOOLEAN
ipv4Enabled
private_network
STRING
privateNetwork
/projects/myProject/global/networks/default
. This setting can be updated, but it cannot be removed after it is set.require_ssl
BOOLEAN
requireSsl
kind
STRING
kind
sql#settings
.location_preference
STRUCT
locationPreference
follow_gae_application
STRING
followGaeApplication
kind
STRING
kind
sql#locationPreference
.secondary_zone
STRING
secondaryZone
zone
STRING
zone
maintenance_window
STRUCT
maintenanceWindow
day
INT32
day
hour
INT32
hour
kind
STRING
kind
sql#maintenanceWindow
.update_track
STRING
updateTrack
canary
(Earlier) or stable
(Later). Learn more.SQL_UPDATE_TRACK_UNSPECIFIED
- This is an unknown maintenance timing preference.canary
- For instance update that requires a restart, this update track indicates your instance prefer to restart for new version early in maintenance window.stable
- For instance update that requires a restart, this update track indicates your instance prefer to let Cloud SQL choose the timing of restart (within its Maintenance window, if applicable).password_validation_policy
STRUCT
passwordValidationPolicy
complexity
STRING
complexity
COMPLEXITY_UNSPECIFIED
- Complexity check is not specified.COMPLEXITY_DEFAULT
- A combination of lowercase, uppercase, numeric, and non-alphanumeric characters.disallow_username_substring
BOOLEAN
disallowUsernameSubstring
enable_password_policy
BOOLEAN
enablePasswordPolicy
min_length
INT32
minLength
password_change_interval
STRING
passwordChangeInterval
reuse_interval
INT32
reuseInterval
pricing_plan
STRING
pricingPlan
PER_USE
or PACKAGE
. Only PER_USE
is supported for Second Generation instances.SQL_PRICING_PLAN_UNSPECIFIED
- This is an unknown pricing plan for this instance.PACKAGE
- The instance is billed at a monthly flat rate.PER_USE
- The instance is billed per usage.replication_type
STRING
replicationType
ASYNCHRONOUS
or SYNCHRONOUS
. (Deprecated) This property was only applicable to First Generation instances.SQL_REPLICATION_TYPE_UNSPECIFIED
- This is an unknown replication type for a Cloud SQL instance.SYNCHRONOUS
- The synchronous replication mode for First Generation instances. It is the default value.ASYNCHRONOUS
- The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data.settings_version
INT64
settingsVersion
sql_server_audit_config
STRUCT
sqlServerAuditConfig
bucket
STRING
bucket
kind
STRING
kind
retention_interval
STRING
retentionInterval
upload_interval
STRING
uploadInterval
storage_auto_resize
BOOLEAN
storageAutoResize
storage_auto_resize_limit
INT64
storageAutoResizeLimit
tier
STRING
tier
db-custom-1-3840
. WARNING: Changing this restarts the instance.time_zone
STRING
timeZone
user_labels
UNORDERED_LIST_STRING
userLabels
state
Type: STRING
Provider name: state
Description: The current serving state of the Cloud SQL instance.
Possible values:
SQL_INSTANCE_STATE_UNSPECIFIED
- The state of the instance is unknown.RUNNABLE
- The instance is running, or has been stopped by owner.SUSPENDED
- The instance is not available, for example due to problems with billing.PENDING_DELETE
- The instance is being deleted.PENDING_CREATE
- The instance is being created.MAINTENANCE
- The instance is down for maintenance.FAILED
- The creation of the instance failed or a fatal error occurred during maintenance.ONLINE_MAINTENANCE
- Deprecatedsuspension_reason
Type: UNORDERED_LIST_STRING
Provider name: suspensionReason
Description: If the instance state is SUSPENDED, the reason for the suspension.
tags
Type: UNORDERED_LIST_STRING