vw_mam_status
Creates, updates, deletes, gets or lists a vw_mam_status
resource.
Overview
Name | vw_mam_status |
Type | View |
Id | azure_extras.intune.vw_mam_status |
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,
nextlink as nextlink,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.deployedPolicies') as "deployed_policies",
JSON_EXTRACT(properties, '$.enrolledUsers') as "enrolled_users",
JSON_EXTRACT(properties, '$.flaggedUsers') as "flagged_users",
JSON_EXTRACT(properties, '$.lastModifiedTime') as "last_modified_time",
JSON_EXTRACT(properties, '$.policyAppliedUsers') as "policy_applied_users",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.wipeFailedApps') as "wipe_failed_apps",
JSON_EXTRACT(properties, '$.wipePendingApps') as "wipe_pending_apps",
JSON_EXTRACT(properties, '$.wipeSucceededApps') as "wipe_succeeded_apps",
hostName
FROM azure_extras.intune.mam_status
WHERE hostName = 'replace-me';
SELECT
id as id,
name as name,
location as location,
nextlink as nextlink,
type as type,
tags as tags,
json_extract_path_text(properties, '$.deployedPolicies') as "deployed_policies",
json_extract_path_text(properties, '$.enrolledUsers') as "enrolled_users",
json_extract_path_text(properties, '$.flaggedUsers') as "flagged_users",
json_extract_path_text(properties, '$.lastModifiedTime') as "last_modified_time",
json_extract_path_text(properties, '$.policyAppliedUsers') as "policy_applied_users",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.wipeFailedApps') as "wipe_failed_apps",
json_extract_path_text(properties, '$.wipePendingApps') as "wipe_pending_apps",
json_extract_path_text(properties, '$.wipeSucceededApps') as "wipe_succeeded_apps",
hostName
FROM azure_extras.intune.mam_status
WHERE hostName = 'replace-me';