IotHubAuthenticationType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. deviceprovisioningservices. models. IotHubAuthenticationType
- com.
- com.
public final class IotHubAuthenticationType
extends ExpandableStringEnum<IotHubAuthenticationType>
IotHub MI authentication type: KeyBased, UserAssigned, SystemAssigned.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Iot |
KEY_BASED
Key Based authentication type. |
|
static final
Iot |
SYSTEM_ASSIGNED
System assigned authentication type. |
|
static final
Iot |
USER_ASSIGNED
User assigned authentication type. |
Constructor Summary
| Constructor | Description |
|---|---|
| IotHubAuthenticationType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Iot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Iot |
fromString(String name)
Creates or finds a Iot |
|
static
Collection<Iot |
values()
Gets known Iot |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
KEY_BASED
public static final IotHubAuthenticationType KEY_BASED
Key Based authentication type.
SYSTEM_ASSIGNED
public static final IotHubAuthenticationType SYSTEM_ASSIGNED
System assigned authentication type.
USER_ASSIGNED
public static final IotHubAuthenticationType USER_ASSIGNED
User assigned authentication type.
Constructor Details
IotHubAuthenticationType
@Deprecated
public IotHubAuthenticationType()
Deprecated
Creates a new instance of IotHubAuthenticationType value.
Method Details
fromString
public static IotHubAuthenticationType fromString(String name)
Creates or finds a IotHubAuthenticationType from its string representation.
Parameters:
Returns:
values
public static Collection<IotHubAuthenticationType> values()
Gets known IotHubAuthenticationType values.
Returns: