vw_energy_services
Creates, updates, deletes, gets or lists a vw_energy_services
resource.
Overview
Name | vw_energy_services |
Type | View |
Id | azure_extras.open_energy_platform.vw_energy_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,
location as location,
type as type,
systemData as system_data,
tags as tags,
JSON_EXTRACT(properties, '$.dnsName') as "dns_name",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.authAppId') as "auth_app_id",
JSON_EXTRACT(properties, '$.dataPartitionNames') as "data_partition_names",
subscriptionId,
resourceGroupName,
resourceName
FROM azure_extras.open_energy_platform.energy_services
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
systemData as system_data,
tags as tags,
json_extract_path_text(properties, '$.dnsName') as "dns_name",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.authAppId') as "auth_app_id",
json_extract_path_text(properties, '$.dataPartitionNames') as "data_partition_names",
subscriptionId,
resourceGroupName,
resourceName
FROM azure_extras.open_energy_platform.energy_services
WHERE subscriptionId = 'replace-me';