Skip to main content

catalogs_device_insights

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

Overview

Namecatalogs_device_insights
TypeResource
Idazure.sphere.catalogs_device_insights

Fields

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
descriptionstringEvent description
deviceIdstringDevice ID
endTimestampUtcstring (date-time)Event end timestamp
eventCategorystringEvent category
eventClassstringEvent class
eventCountinteger (int32)Event count
eventTypestringEvent type
startTimestampUtcstring (date-time)Event start timestamp

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, catalogName$filter, $top, $skip, $maxpagesizeLists device insights for catalog.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
catalogNamestringName of catalog
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
$filterstringFilter the result list using the given expression
$maxpagesizeinteger (int32)The maximum number of result items per page.
$skipinteger (int32)The number of result items to skip.
$topinteger (int32)The number of result items to return.

SELECT examples

Lists device insights for catalog.

SELECT
description,
deviceId,
endTimestampUtc,
eventCategory,
eventClass,
eventCount,
eventType,
startTimestampUtc
FROM azure.sphere.catalogs_device_insights
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND catalogName = '{{ catalogName }}' -- required
AND $filter = '{{ $filter }}'
AND $top = '{{ $top }}'
AND $skip = '{{ $skip }}'
AND $maxpagesize = '{{ $maxpagesize }}'
;