Skip to content

Cloud SQL Instances

Provider: Google Cloud
Service ID: gcp_cloud_sql
Rendering: Standard table with expandable detail rows

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'gcp_cloud_sql',
    provider: 'gcp',
    region: 'europe-west2',
    source: 'live',
    attributes: ['project', 'name', 'database_version', 'state', 'region', 'tier']
});
</script>

<div data-sd-service="gcp_cloud_sql" data-sd-source="live"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['project', 'name', 'database_version', 'state', 'region', 'tier', 'availability_type', 'disk_size_gb', 'connection_name', 'create_time']

All Attributes

Attribute Display Name Format Description
project Project text From API field: __project_id__
name Instance Name text From API field: name
database_version Database Version text From API field: databaseVersion
state State status_badge From API field: state
region Region text From API field: region
gce_zone Zone text From API field: gceZone
tier Machine Type text From API field: settings.tier
availability_type Availability text From API field: settings.availabilityType. Default: ZONAL
disk_size_gb Disk Size (GB) text From API field: settings.dataDiskSizeGb
disk_type Disk Type text From API field: settings.dataDiskType
instance_type Instance Type text From API field: instanceType. Default: CLOUD_SQL_INSTANCE
connection_name Connection Name text From API field: connectionName
ipv4_enabled Public IP boolean From API field: settings.ipConfiguration.ipv4Enabled
ip_addresses IP Addresses text From API field: ipAddresses
backup_enabled Backups boolean From API field: settings.backupConfiguration.enabled
storage_auto_resize Auto Resize boolean From API field: settings.storageAutoResize
create_time Create Time datetime From API field: createTime
labels Labels tags_table All tags/labels as a key-value table

= included in default view

Sort Order

Results are sorted by: name