Skip to main content

vw_storage_targets

Creates, updates, deletes, gets or lists a vw_storage_targets resource.

Overview

Namevw_storage_targets
TypeView
Idazure.storage_cache.vw_storage_targets

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

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';