vw_replication_protection_containers
Creates, updates, deletes, gets or lists a vw_replication_protection_containers
resource.
Overview
Name | vw_replication_protection_containers |
Type | View |
Id | azure.recovery_services_site_recovery.vw_replication_protection_containers |
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, '$.fabricFriendlyName') as "fabric_friendly_name",
JSON_EXTRACT(properties, '$.friendlyName') as "friendly_name",
JSON_EXTRACT(properties, '$.fabricType') as "fabric_type",
JSON_EXTRACT(properties, '$.protectedItemCount') as "protected_item_count",
JSON_EXTRACT(properties, '$.pairingStatus') as "pairing_status",
JSON_EXTRACT(properties, '$.role') as "role",
JSON_EXTRACT(properties, '$.fabricSpecificDetails') as "fabric_specific_details",
subscriptionId,
resourceGroupName,
resourceName,
fabricName,
protectionContainerName
FROM azure.recovery_services_site_recovery.replication_protection_containers
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, '$.fabricFriendlyName') as "fabric_friendly_name",
json_extract_path_text(properties, '$.friendlyName') as "friendly_name",
json_extract_path_text(properties, '$.fabricType') as "fabric_type",
json_extract_path_text(properties, '$.protectedItemCount') as "protected_item_count",
json_extract_path_text(properties, '$.pairingStatus') as "pairing_status",
json_extract_path_text(properties, '$.role') as "role",
json_extract_path_text(properties, '$.fabricSpecificDetails') as "fabric_specific_details",
subscriptionId,
resourceGroupName,
resourceName,
fabricName,
protectionContainerName
FROM azure.recovery_services_site_recovery.replication_protection_containers
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND resourceName = 'replace-me';