vw_shares
Creates, updates, deletes, gets or lists a vw_shares
resource.
Overview
Name | vw_shares |
Type | View |
Id | azure.data_box_edge.vw_shares |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.shareStatus') as "share_status",
JSON_EXTRACT(properties, '$.monitoringStatus') as "monitoring_status",
JSON_EXTRACT(properties, '$.azureContainerInfo') as "azure_container_info",
JSON_EXTRACT(properties, '$.accessProtocol') as "access_protocol",
JSON_EXTRACT(properties, '$.userAccessRights') as "user_access_rights",
JSON_EXTRACT(properties, '$.clientAccessRights') as "client_access_rights",
JSON_EXTRACT(properties, '$.refreshDetails') as "refresh_details",
JSON_EXTRACT(properties, '$.shareMappings') as "share_mappings",
JSON_EXTRACT(properties, '$.dataPolicy') as "data_policy",
subscriptionId,
resourceGroupName,
deviceName,
name
FROM azure.data_box_edge.shares
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND deviceName = 'replace-me';
SELECT
id as id,
name as name,
type as type,
systemData as system_data,
json_extract_path_text(properties, '$.description') as "description",
json_extract_path_text(properties, '$.shareStatus') as "share_status",
json_extract_path_text(properties, '$.monitoringStatus') as "monitoring_status",
json_extract_path_text(properties, '$.azureContainerInfo') as "azure_container_info",
json_extract_path_text(properties, '$.accessProtocol') as "access_protocol",
json_extract_path_text(properties, '$.userAccessRights') as "user_access_rights",
json_extract_path_text(properties, '$.clientAccessRights') as "client_access_rights",
json_extract_path_text(properties, '$.refreshDetails') as "refresh_details",
json_extract_path_text(properties, '$.shareMappings') as "share_mappings",
json_extract_path_text(properties, '$.dataPolicy') as "data_policy",
subscriptionId,
resourceGroupName,
deviceName,
name
FROM azure.data_box_edge.shares
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND deviceName = 'replace-me';