vw_services
Creates, updates, deletes, gets or lists a vw_services
resource.
Overview
Name | vw_services |
Type | View |
Id | azure.cosmos_db.vw_services |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
JSON_EXTRACT(properties, '$.creationTime') as "creation_time",
JSON_EXTRACT(properties, '$.instanceSize') as "instance_size",
JSON_EXTRACT(properties, '$.instanceCount') as "instance_count",
JSON_EXTRACT(properties, '$.serviceType') as "service_type",
JSON_EXTRACT(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
accountName,
serviceName
FROM azure.cosmos_db.services
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
json_extract_path_text(properties, '$.creationTime') as "creation_time",
json_extract_path_text(properties, '$.instanceSize') as "instance_size",
json_extract_path_text(properties, '$.instanceCount') as "instance_count",
json_extract_path_text(properties, '$.serviceType') as "service_type",
json_extract_path_text(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
accountName,
serviceName
FROM azure.cosmos_db.services
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';