vw_dras
Creates, updates, deletes, gets or lists a vw_dras
resource.
Overview
Name | vw_dras |
Type | View |
Id | azure.data_replication.vw_dras |
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,
systemData as system_data,
JSON_EXTRACT(properties, '$.correlationId') as "correlation_id",
JSON_EXTRACT(properties, '$.machineId') as "machine_id",
JSON_EXTRACT(properties, '$.machineName') as "machine_name",
JSON_EXTRACT(properties, '$.authenticationIdentity') as "authentication_identity",
JSON_EXTRACT(properties, '$.resourceAccessIdentity') as "resource_access_identity",
JSON_EXTRACT(properties, '$.isResponsive') as "is_responsive",
JSON_EXTRACT(properties, '$.lastHeartbeat') as "last_heartbeat",
JSON_EXTRACT(properties, '$.versionNumber') as "version_number",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.healthErrors') as "health_errors",
JSON_EXTRACT(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
fabricName,
fabricAgentName
FROM azure.data_replication.dras
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND fabricName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.correlationId') as "correlation_id",
json_extract_path_text(properties, '$.machineId') as "machine_id",
json_extract_path_text(properties, '$.machineName') as "machine_name",
json_extract_path_text(properties, '$.authenticationIdentity') as "authentication_identity",
json_extract_path_text(properties, '$.resourceAccessIdentity') as "resource_access_identity",
json_extract_path_text(properties, '$.isResponsive') as "is_responsive",
json_extract_path_text(properties, '$.lastHeartbeat') as "last_heartbeat",
json_extract_path_text(properties, '$.versionNumber') as "version_number",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.healthErrors') as "health_errors",
json_extract_path_text(properties, '$.customProperties') as "custom_properties",
subscriptionId,
resourceGroupName,
fabricName,
fabricAgentName
FROM azure.data_replication.dras
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND fabricName = 'replace-me';