Skip to main content

vw_dras

Creates, updates, deletes, gets or lists a vw_dras resource.

Overview

Namevw_dras
TypeView
Idazure.data_replication.vw_dras

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

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';