Share via


DeviceManagementGetDeviceClass interface

Methods

delete(RequestParameters)

Deletes a device class. Device classes are created automatically when Device Update-enabled devices are connected to the hub but are not automatically cleaned up since they are referenced by DeviceClassSubgroups. If the user has deleted all DeviceClassSubgroups for a device class they can also delete the device class to remove the records from the system and to stop checking the compatibility of this device class with new updates. If a device is ever reconnected for this device class it will be re-created.

get(RequestParameters)

Gets the properties of a device class.

patch(DeviceManagementUpdateDeviceClassParameters)

Update device class details.

Method Details

delete(RequestParameters)

Deletes a device class. Device classes are created automatically when Device Update-enabled devices are connected to the hub but are not automatically cleaned up since they are referenced by DeviceClassSubgroups. If the user has deleted all DeviceClassSubgroups for a device class they can also delete the device class to remove the records from the system and to stop checking the compatibility of this device class with new updates. If a device is ever reconnected for this device class it will be re-created.

function delete(options?: RequestParameters): StreamableMethod<DeviceManagementDeleteDeviceClass204Response | DeviceManagementDeleteDeviceClassDefaultResponse>

Parameters

Returns

get(RequestParameters)

Gets the properties of a device class.

function get(options?: RequestParameters): StreamableMethod<DeviceManagementGetDeviceClass200Response | DeviceManagementGetDeviceClassDefaultResponse>

Parameters

Returns

patch(DeviceManagementUpdateDeviceClassParameters)

Update device class details.

function patch(options: DeviceManagementUpdateDeviceClassParameters): StreamableMethod<DeviceManagementUpdateDeviceClass200Response | DeviceManagementUpdateDeviceClassDefaultResponse>

Parameters

Returns