Table: azure_mariadb_servers

This table shows data for Azure MariaDB Servers.

https://learn.microsoft.com/en-us/rest/api/mariadb/servers/list?tabs=HTTP#server (opens in a new tab)

The primary key for this table is id.

Relations

The following tables depend on azure_mariadb_servers:

Columns

NameType
_cq_iduuid
_cq_parent_iduuid
subscription_idutf8
locationutf8
propertiesjson
skujson
tagsjson
id (PK)utf8
nameutf8
typeutf8

Example Queries

These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.

Geo-redundant backup should be enabled for Azure Database for MariaDB

SELECT
  'Geo-redundant backup should be enabled for Azure Database for MariaDB'
    AS title,
  subscription_id,
  id,
  CASE
  WHEN properties->'storageProfile'->>'geoRedundantBackup'
  IS DISTINCT FROM 'Enabled'
  THEN 'fail'
  ELSE 'pass'
  END
FROM
  azure_mariadb_servers;