public enum ProvisioningDeviceClientSubstatus extends Enum<ProvisioningDeviceClientSubstatus>
Enum Constant and Description |
---|
DEVICE_DATA_MIGRATED
Device has been assigned to a different IoT hub and its device data was migrated from the previously assigned
IoT hub.
|
DEVICE_DATA_RESET
Device has been assigned to a different IoT hub and its device data was populated from the initial state stored
in the enrollment.
|
INITIAL_ASSIGNMENT
Device has been assigned to an IoT hub for the first time.
|
REPROVISIONED_TO_INITIAL_ASSIGNMENT
Device has been re-provisioned to a previously assigned IoT hub.
|
Modifier and Type | Method and Description |
---|---|
static ProvisioningDeviceClientSubstatus |
fromString(String substatus) |
String |
getValue() |
static ProvisioningDeviceClientSubstatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProvisioningDeviceClientSubstatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProvisioningDeviceClientSubstatus INITIAL_ASSIGNMENT
public static final ProvisioningDeviceClientSubstatus DEVICE_DATA_MIGRATED
public static final ProvisioningDeviceClientSubstatus DEVICE_DATA_RESET
public static final ProvisioningDeviceClientSubstatus REPROVISIONED_TO_INITIAL_ASSIGNMENT
public static ProvisioningDeviceClientSubstatus[] values()
for (ProvisioningDeviceClientSubstatus c : ProvisioningDeviceClientSubstatus.values()) System.out.println(c);
public static ProvisioningDeviceClientSubstatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static ProvisioningDeviceClientSubstatus fromString(String substatus)
Copyright © 2022. All rights reserved.