vw_mam_user_device_by_device_names
Creates, updates, deletes, gets or lists a vw_mam_user_device_by_device_names
resource.
Overview
Name | vw_mam_user_device_by_device_names |
Type | View |
Id | azure_extras.intune.vw_mam_user_device_by_device_names |
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,
tags as tags,
JSON_EXTRACT(properties, '$.userId') as "user_id",
JSON_EXTRACT(properties, '$.friendlyName') as "friendly_name",
JSON_EXTRACT(properties, '$.platform') as "platform",
JSON_EXTRACT(properties, '$.platformVersion') as "platform_version",
JSON_EXTRACT(properties, '$.deviceType') as "device_type",
hostName,
userName,
deviceName
FROM azure_extras.intune.mam_user_device_by_device_names
WHERE hostName = 'replace-me' AND userName = 'replace-me' AND deviceName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
json_extract_path_text(properties, '$.userId') as "user_id",
json_extract_path_text(properties, '$.friendlyName') as "friendly_name",
json_extract_path_text(properties, '$.platform') as "platform",
json_extract_path_text(properties, '$.platformVersion') as "platform_version",
json_extract_path_text(properties, '$.deviceType') as "device_type",
hostName,
userName,
deviceName
FROM azure_extras.intune.mam_user_device_by_device_names
WHERE hostName = 'replace-me' AND userName = 'replace-me' AND deviceName = 'replace-me';