vw_servers
Creates, updates, deletes, gets or lists a vw_servers
resource.
Overview
Name | vw_servers |
Type | View |
Id | azure.maria_db.vw_servers |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
sku as sku,
tags as tags,
JSON_EXTRACT(properties, '$.administratorLogin') as "administrator_login",
JSON_EXTRACT(properties, '$.version') as "version",
JSON_EXTRACT(properties, '$.sslEnforcement') as "ssl_enforcement",
JSON_EXTRACT(properties, '$.minimalTlsVersion') as "minimal_tls_version",
JSON_EXTRACT(properties, '$.userVisibleState') as "user_visible_state",
JSON_EXTRACT(properties, '$.fullyQualifiedDomainName') as "fully_qualified_domain_name",
JSON_EXTRACT(properties, '$.earliestRestoreDate') as "earliest_restore_date",
JSON_EXTRACT(properties, '$.storageProfile') as "storage_profile",
JSON_EXTRACT(properties, '$.replicationRole') as "replication_role",
JSON_EXTRACT(properties, '$.masterServerId') as "master_server_id",
JSON_EXTRACT(properties, '$.replicaCapacity') as "replica_capacity",
JSON_EXTRACT(properties, '$.publicNetworkAccess') as "public_network_access",
JSON_EXTRACT(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
subscriptionId,
resourceGroupName,
serverName
FROM azure.maria_db.servers
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
sku as sku,
tags as tags,
json_extract_path_text(properties, '$.administratorLogin') as "administrator_login",
json_extract_path_text(properties, '$.version') as "version",
json_extract_path_text(properties, '$.sslEnforcement') as "ssl_enforcement",
json_extract_path_text(properties, '$.minimalTlsVersion') as "minimal_tls_version",
json_extract_path_text(properties, '$.userVisibleState') as "user_visible_state",
json_extract_path_text(properties, '$.fullyQualifiedDomainName') as "fully_qualified_domain_name",
json_extract_path_text(properties, '$.earliestRestoreDate') as "earliest_restore_date",
json_extract_path_text(properties, '$.storageProfile') as "storage_profile",
json_extract_path_text(properties, '$.replicationRole') as "replication_role",
json_extract_path_text(properties, '$.masterServerId') as "master_server_id",
json_extract_path_text(properties, '$.replicaCapacity') as "replica_capacity",
json_extract_path_text(properties, '$.publicNetworkAccess') as "public_network_access",
json_extract_path_text(properties, '$.privateEndpointConnections') as "private_endpoint_connections",
subscriptionId,
resourceGroupName,
serverName
FROM azure.maria_db.servers
WHERE subscriptionId = 'replace-me';