vw_replication_protection_intents
Creates, updates, deletes, gets or lists a vw_replication_protection_intents
resource.
Overview
Name | vw_replication_protection_intents |
Type | View |
Id | azure.recovery_services_site_recovery.vw_replication_protection_intents |
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, '$.friendlyName') as "friendly_name",
JSON_EXTRACT(properties, '$.jobId') as "job_id",
JSON_EXTRACT(properties, '$.jobState') as "job_state",
JSON_EXTRACT(properties, '$.isActive') as "is_active",
JSON_EXTRACT(properties, '$.creationTimeUTC') as "creation_time_utc",
JSON_EXTRACT(properties, '$.providerSpecificDetails') as "provider_specific_details",
subscriptionId,
resourceGroupName,
resourceName,
intentObjectName
FROM azure.recovery_services_site_recovery.replication_protection_intents
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, '$.friendlyName') as "friendly_name",
json_extract_path_text(properties, '$.jobId') as "job_id",
json_extract_path_text(properties, '$.jobState') as "job_state",
json_extract_path_text(properties, '$.isActive') as "is_active",
json_extract_path_text(properties, '$.creationTimeUTC') as "creation_time_utc",
json_extract_path_text(properties, '$.providerSpecificDetails') as "provider_specific_details",
subscriptionId,
resourceGroupName,
resourceName,
intentObjectName
FROM azure.recovery_services_site_recovery.replication_protection_intents
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND resourceName = 'replace-me';