vw_storage_targets
Creates, updates, deletes, gets or lists a vw_storage_targets
resource.
Overview
Name | vw_storage_targets |
Type | View |
Id | azure.storage_cache.vw_storage_targets |
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,
systemData as system_data,
JSON_EXTRACT(properties, '$.junctions') as "junctions",
JSON_EXTRACT(properties, '$.targetType') as "target_type",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.nfs3') as "nfs3",
JSON_EXTRACT(properties, '$.clfs') as "clfs",
JSON_EXTRACT(properties, '$.unknown') as "unknown",
JSON_EXTRACT(properties, '$.blobNfs') as "blob_nfs",
JSON_EXTRACT(properties, '$.allocationPercentage') as "allocation_percentage",
subscriptionId,
resourceGroupName,
cacheName,
storageTargetName
FROM azure.storage_cache.storage_targets
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND cacheName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.junctions') as "junctions",
json_extract_path_text(properties, '$.targetType') as "target_type",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.nfs3') as "nfs3",
json_extract_path_text(properties, '$.clfs') as "clfs",
json_extract_path_text(properties, '$.unknown') as "unknown",
json_extract_path_text(properties, '$.blobNfs') as "blob_nfs",
json_extract_path_text(properties, '$.allocationPercentage') as "allocation_percentage",
subscriptionId,
resourceGroupName,
cacheName,
storageTargetName
FROM azure.storage_cache.storage_targets
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND cacheName = 'replace-me';