public class ReprovisionPolicy extends Object
| Constructor and Description |
|---|
ReprovisionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getMigrateDeviceData()
Getter for the migrateDeviceData flag.
|
boolean |
getUpdateHubAssignment()
Getter for the updateHubAssignment flag.
|
void |
setMigrateDeviceData(boolean migrateDeviceData)
When set to true (default), the Device Provisioning Service will migrate the device's data (twin, device capabilities, and device ID)
from one IoT hub to another during an IoT hub assignment update.
|
void |
setUpdateHubAssignment(boolean updateHubAssignment)
When set to true (default), the Device Provisioning Service will evaluate the device's IoT Hub assignment
and update it if necessary for any provisioning requests beyond the first from a given device.
|
public boolean getUpdateHubAssignment()
boolean with the updateHubAssignment content.public void setUpdateHubAssignment(boolean updateHubAssignment)
updateHubAssignment - the boolean with the flag for updateHubAssignment.public boolean getMigrateDeviceData()
boolean with the migrateDeviceData content.public void setMigrateDeviceData(boolean migrateDeviceData)
migrateDeviceData - the boolean with the flag for migrateDeviceData.Copyright © 2021. All rights reserved.