vw_replication_vault_health
Creates, updates, deletes, gets or lists a vw_replication_vault_health
resource.
Overview
Name | vw_replication_vault_health |
Type | View |
Id | azure.recovery_services_site_recovery.vw_replication_vault_health |
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,
JSON_EXTRACT(properties, '$.vaultErrors') as "vault_errors",
JSON_EXTRACT(properties, '$.protectedItemsHealth') as "protected_items_health",
JSON_EXTRACT(properties, '$.fabricsHealth') as "fabrics_health",
JSON_EXTRACT(properties, '$.containersHealth') as "containers_health",
subscriptionId,
resourceGroupName,
resourceName
FROM azure.recovery_services_site_recovery.replication_vault_health
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND resourceName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
json_extract_path_text(properties, '$.vaultErrors') as "vault_errors",
json_extract_path_text(properties, '$.protectedItemsHealth') as "protected_items_health",
json_extract_path_text(properties, '$.fabricsHealth') as "fabrics_health",
json_extract_path_text(properties, '$.containersHealth') as "containers_health",
subscriptionId,
resourceGroupName,
resourceName
FROM azure.recovery_services_site_recovery.replication_vault_health
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND resourceName = 'replace-me';