Watch-ManagedObject
SYNOPSIS​
Watch realtime managedObjects
SYNTAX​
Watch-ManagedObject
[[-Device] <Object>]
[[-Duration] <String>]
[[-Count] <Int32>]
[[-ActionTypes] <String[]>]
[<CommonParameters>]
DESCRIPTION​
Watch realtime managedObjects
EXAMPLES​
EXAMPLE 1​
Watch-ManagedObject -Device 12345
Watch all managedObjects for a device
PARAMETERS​
-Device​
Device ID
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
-Duration​
Duration to subscribe for. It accepts a duration, i.e. 1ms, 0.5s, 1m etc.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Count​
End date or date and time of managedObject occurrence.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
-ActionTypes​
Filter by realtime action types, i.e. CREATE,UPDATE,DELETE
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters​
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS​
OUTPUTS​
System.Object​
NOTES​
RELATED LINKS​
https://reubenmiller.github.io/go-c8y-cli/docs/cli/c8y/inventory_subscribe