vw_files
Creates, updates, deletes, gets or lists a vw_files
resource.
Overview
Name | vw_files |
Type | View |
Id | azure.data_migration.vw_files |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
etag as etag,
systemData as system_data,
type as type,
JSON_EXTRACT(properties, '$.extension') as "extension",
JSON_EXTRACT(properties, '$.filePath') as "file_path",
JSON_EXTRACT(properties, '$.lastModified') as "last_modified",
JSON_EXTRACT(properties, '$.mediaType') as "media_type",
JSON_EXTRACT(properties, '$.size') as "size",
subscriptionId,
groupName,
serviceName,
projectName,
fileName
FROM azure.data_migration.files
WHERE subscriptionId = 'replace-me' AND groupName = 'replace-me' AND serviceName = 'replace-me' AND projectName = 'replace-me';
SELECT
id as id,
name as name,
etag as etag,
systemData as system_data,
type as type,
json_extract_path_text(properties, '$.extension') as "extension",
json_extract_path_text(properties, '$.filePath') as "file_path",
json_extract_path_text(properties, '$.lastModified') as "last_modified",
json_extract_path_text(properties, '$.mediaType') as "media_type",
json_extract_path_text(properties, '$.size') as "size",
subscriptionId,
groupName,
serviceName,
projectName,
fileName
FROM azure.data_migration.files
WHERE subscriptionId = 'replace-me' AND groupName = 'replace-me' AND serviceName = 'replace-me' AND projectName = 'replace-me';