IotHubAuthenticationType Class

public final class IotHubAuthenticationType
extends ExpandableStringEnum<IotHubAuthenticationType>

IotHub MI authentication type: KeyBased, UserAssigned, SystemAssigned.

Field Summary

Modifier and Type Field and Description
static final IotHubAuthenticationType KEY_BASED

Key Based authentication type.

static final IotHubAuthenticationType SYSTEM_ASSIGNED

System assigned authentication type.

static final IotHubAuthenticationType USER_ASSIGNED

User assigned authentication type.

Constructor Summary

Constructor Description
IotHubAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IotHubAuthenticationType value.

Method Summary

Modifier and Type Method and Description
static IotHubAuthenticationType fromString(String name)

Creates or finds a IotHubAuthenticationType from its string representation.

static Collection<IotHubAuthenticationType> values()

Gets known IotHubAuthenticationType values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding IotHubAuthenticationType.

values

public static Collection<IotHubAuthenticationType> values()

Gets known IotHubAuthenticationType values.

Returns:

known IotHubAuthenticationType values.

Applies to