File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
samples/onvif-connector-bicep Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ metadata description = 'ONVIF camera device events'
2+ param aepName string
3+ param customLocationName string
4+ param assetName string = 'camera-device'
5+ param displayName string = 'Camera device motion detected'
6+
7+ /*****************************************************************************/
8+ /* Asset */
9+ /*****************************************************************************/
10+ resource asset 'Microsoft.DeviceRegistry/assets@2024-11-01' = {
11+ name : assetName
12+ location : resourceGroup ().location
13+ extendedLocation : {
14+ type : 'CustomLocation'
15+ name : customLocationName
16+ }
17+ properties : {
18+ displayName : displayName
19+ assetEndpointProfileRef : aepName
20+ enabled : true
21+ events : [
22+ {
23+ eventNotifier : 'tns1:RuleEngine/CellMotionDetector/Motion'
24+ name : 'motionDetected'
25+ }
26+ ]
27+ }
28+ }
You can’t perform that action at this time.
0 commit comments