Do a command on the data manager.
The command to do.
Call options for the command.
const dataManager = new VIAM.DataManagerClient(
machine,
'my_data_manager'
);
await dataManager.doCommand(new Struct({ cmd: 'test', data1: 500 }));
For more information, see Data Manager API.
Sync data stored on the machine to the cloud.
Extra arguments to pass to the sync request.
Call options for the sync request.
const dataManager = new VIAM.DataManagerClient(
machine,
'my_data_manager'
);
await dataManager.sync();
For more information, see Data Manager API.
The name of the resource.