vw_replication_network_mappings
Creates, updates, deletes, gets or lists a vw_replication_network_mappings
resource.
Overview
Name | vw_replication_network_mappings |
Type | View |
Id | azure.recovery_services_site_recovery.vw_replication_network_mappings |
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, '$.state') as "state",
JSON_EXTRACT(properties, '$.primaryNetworkFriendlyName') as "primary_network_friendly_name",
JSON_EXTRACT(properties, '$.primaryNetworkId') as "primary_network_id",
JSON_EXTRACT(properties, '$.primaryFabricFriendlyName') as "primary_fabric_friendly_name",
JSON_EXTRACT(properties, '$.recoveryNetworkFriendlyName') as "recovery_network_friendly_name",
JSON_EXTRACT(properties, '$.recoveryNetworkId') as "recovery_network_id",
JSON_EXTRACT(properties, '$.recoveryFabricArmId') as "recovery_fabric_arm_id",
JSON_EXTRACT(properties, '$.recoveryFabricFriendlyName') as "recovery_fabric_friendly_name",
JSON_EXTRACT(properties, '$.fabricSpecificSettings') as "fabric_specific_settings",
subscriptionId,
resourceGroupName,
resourceName,
fabricName,
networkName,
networkMappingName
FROM azure.recovery_services_site_recovery.replication_network_mappings
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, '$.state') as "state",
json_extract_path_text(properties, '$.primaryNetworkFriendlyName') as "primary_network_friendly_name",
json_extract_path_text(properties, '$.primaryNetworkId') as "primary_network_id",
json_extract_path_text(properties, '$.primaryFabricFriendlyName') as "primary_fabric_friendly_name",
json_extract_path_text(properties, '$.recoveryNetworkFriendlyName') as "recovery_network_friendly_name",
json_extract_path_text(properties, '$.recoveryNetworkId') as "recovery_network_id",
json_extract_path_text(properties, '$.recoveryFabricArmId') as "recovery_fabric_arm_id",
json_extract_path_text(properties, '$.recoveryFabricFriendlyName') as "recovery_fabric_friendly_name",
json_extract_path_text(properties, '$.fabricSpecificSettings') as "fabric_specific_settings",
subscriptionId,
resourceGroupName,
resourceName,
fabricName,
networkName,
networkMappingName
FROM azure.recovery_services_site_recovery.replication_network_mappings
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND resourceName = 'replace-me';