Analytics Builder 10.16.0 | Using Analytics Builder for Cumulocity IoT | Models and Devices | Virtual devices
Virtual devices
A virtual device is used when a model is deployed in test or simulation mode. See also Deploying a model.
Virtual devices are objects in the Cumulocity IoT inventory with a c8y_VirtualDevice property. This property refers to the identifier of the real device of which the virtual device is a copy.
Use the creationDate to find out what virtualDevice was created for a model activation and which measurements have that device as their source.
By default, the virtual devices are kept for 30 days. If you want to change this default, you need to change the tenant options. That is, you need to send a POST /tenant/options request. For detailed information, see the information on tenants in the Reference guide at For example, specify the following to set the retention period for the virtual devices to 1 day:
"category": "analytics.builder",
"key": "retention.virtualDevicesMaxDays",
"value": "1"
See also Configuration.
Virtual devices are not shown in the Device Management application. Use REST operations as described in the Reference guide at to find these entries.