DeviceManagementClient Class

  • java.lang.Object
    • com.azure.iot.deviceupdate.DeviceManagementClient

public final class DeviceManagementClient

Initializes a new instance of the synchronous DeviceUpdateClient type.

Methods

beginImportDevices(BinaryData importType, RequestOptions requestOptions)

Import existing devices from IoT Hub.

createOrUpdateDeploymentWithResponse(String groupId, String deploymentId, BinaryData deployment, RequestOptions requestOptions)

Creates or updates a deployment.

deleteDeploymentForDeviceClassSubgroupWithResponse(String groupId, String deviceClassId, String deploymentId, RequestOptions requestOptions)

Deletes a device class subgroup deployment.

deleteDeploymentWithResponse(String groupId, String deploymentId, RequestOptions requestOptions)

Deletes a deployment.

deleteDeviceClassSubgroupWithResponse(String groupId, String deviceClassId, RequestOptions requestOptions)

Deletes a device class subgroup.

deleteDeviceClassWithResponse(String deviceClassId, RequestOptions requestOptions)

Deletes a device class.

deleteGroupWithResponse(String groupId, RequestOptions requestOptions)

Deletes a device group.

getBestUpdatesForDeviceClassSubgroupWithResponse(String groupId, String deviceClassId, RequestOptions requestOptions)

Get the best available update for a device class subgroup and a count of how many devices need this update.

getDeploymentForDeviceClassSubgroupWithResponse(String groupId, String deviceClassId, String deploymentId, RequestOptions requestOptions)

Gets the deployment properties.

getDeploymentStatusWithResponse(String groupId, String deploymentId, RequestOptions requestOptions)

Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed.

getDeploymentWithResponse(String groupId, String deploymentId, RequestOptions requestOptions)

Gets the deployment properties.

getDeviceClassSubgroupDeploymentStatusWithResponse(String groupId, String deviceClassId, String deploymentId, RequestOptions requestOptions)

Gets the status of a deployment including a breakdown of how many devices in the deployment are in progress, completed, or failed.

getDeviceClassSubgroupUpdateComplianceWithResponse(String groupId, String deviceClassId, RequestOptions requestOptions)

Get device class subgroup update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update.

getDeviceClassSubgroupWithResponse(String groupId, String deviceClassId, RequestOptions requestOptions)

Gets device class subgroup details.

getDeviceClassWithResponse(String deviceClassId, RequestOptions requestOptions)

Gets the properties of a device class.

getDeviceModuleWithResponse(String deviceId, String moduleId, RequestOptions requestOptions)

Gets the device module properties and latest deployment status for a device module connected to Device Update for IoT Hub.

getDeviceWithResponse(String deviceId, RequestOptions requestOptions)

Gets the device properties and latest deployment status for a device connected to Device Update for IoT Hub.

getGroupWithResponse(String groupId, RequestOptions requestOptions)

Gets the device group properties.

getLogCollectionDetailedStatusWithResponse(String operationId, RequestOptions requestOptions)

Get log collection with detailed status.

getLogCollectionWithResponse(String logCollectionId, RequestOptions requestOptions)

Get the device diagnostics log collection.

getOperationWithResponse(String operationId, RequestOptions requestOptions)

Retrieve operation status.

getUpdateComplianceForGroupWithResponse(String groupId, RequestOptions requestOptions)

Get device group update compliance information such as how many devices are on their latest update, how many need new updates, and how many are in progress on receiving a new update.

getUpdateComplianceWithResponse(RequestOptions requestOptions)

Gets the breakdown of how many devices are on their latest update, have new updates available, or are in progress receiving new updates.

listBestUpdatesForGroup(String groupId, RequestOptions requestOptions)

Get the best available updates for a device group and a count of how many devices need each update.

listDeploymentsForDeviceClassSubgroup(String groupId, String deviceClassId, RequestOptions requestOptions)

Gets a list of deployments for a device class subgroup.

listDeploymentsForGroup(String groupId, RequestOptions requestOptions)

Gets a list of deployments for a device group.

listDeviceClassSubgroupsForGroup(String groupId, RequestOptions requestOptions)

Get the device class subgroups for the group.

listDeviceClasses(RequestOptions requestOptions)

Gets a list of all device classes (unique combinations of device manufacturer and model) for all devices connected to Device Update for IoT Hub.

listDeviceHealth(String filter, RequestOptions requestOptions)

Get list of device health.

listDeviceStatesForDeviceClassSubgroupDeployment(String groupId, String deviceClassId, String deploymentId, RequestOptions requestOptions)

Gets a list of devices in a deployment along with their state.

listDevices(RequestOptions requestOptions)

Gets a list of devices connected to Device Update for IoT Hub.

listGroups(RequestOptions requestOptions)

Gets a list of all device groups.

listInstallableUpdatesForDeviceClass(String deviceClassId, RequestOptions requestOptions)

Gets a list of installable updates for a device class.

listLogCollections(RequestOptions requestOptions)

Get all device diagnostics log collections.

listOperations(RequestOptions requestOptions)

Get a list of all device import operations.

retryDeploymentWithResponse(String groupId, String deviceClassId, String deploymentId, RequestOptions requestOptions)

Retries a deployment with failed devices.

startLogCollectionWithResponse(String logCollectionId, BinaryData logCollection, RequestOptions requestOptions)

Start the device diagnostics log collection on specified devices.

stopDeploymentWithResponse(String groupId, String deviceClassId, String deploymentId, RequestOptions requestOptions)

Stops a deployment.

updateDeviceClassWithResponse(String deviceClassId, BinaryData deviceClassPatch, RequestOptions requestOptions)

Update device class details.

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Applies to