Udostępnij za pośrednictwem


ReprovisionPolicy Class

Definition

Settings around reprovisioning

public class ReprovisionPolicy
type ReprovisionPolicy = class
Public Class ReprovisionPolicy
Inheritance
ReprovisionPolicy

Constructors

ReprovisionPolicy()

Properties

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. If set to false, the Device Provisioning Service will reset the device's data to the initial desired configuration stored in the provisioning service's enrollment list.

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. If set to false, the device will stay assigned to its current IoT hub.

Applies to