AuthenticationType Class

public final class AuthenticationType
extends ExpandableStringEnum<AuthenticationType>

Property to select authentication type to access the selected storage account. Available options: SystemAssignedIdentity, UserAssignedIdentity, StorageAccountConnectionString.

Field Summary

Modifier and Type Field and Description
static final AuthenticationType STORAGE_ACCOUNT_CONNECTION_STRING

Static value StorageAccountConnectionString for AuthenticationType.

static final AuthenticationType SYSTEM_ASSIGNED_IDENTITY

Static value SystemAssignedIdentity for AuthenticationType.

static final AuthenticationType USER_ASSIGNED_IDENTITY

Static value UserAssignedIdentity for AuthenticationType.

Constructor Summary

Constructor Description
AuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationType value.

Method Summary

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

Creates or finds a AuthenticationType from its string representation.

static Collection<AuthenticationType> values()

Gets known AuthenticationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

STORAGE_ACCOUNT_CONNECTION_STRING

public static final AuthenticationType STORAGE_ACCOUNT_CONNECTION_STRING

Static value StorageAccountConnectionString for AuthenticationType.

SYSTEM_ASSIGNED_IDENTITY

public static final AuthenticationType SYSTEM_ASSIGNED_IDENTITY

Static value SystemAssignedIdentity for AuthenticationType.

USER_ASSIGNED_IDENTITY

public static final AuthenticationType USER_ASSIGNED_IDENTITY

Static value UserAssignedIdentity for AuthenticationType.

Constructor Details

AuthenticationType

@Deprecated
public AuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AuthenticationType value.

Method Details

fromString

public static AuthenticationType fromString(String name)

Creates or finds a AuthenticationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AuthenticationType.

values

public static Collection values()

Gets known AuthenticationType values.

Returns:

known AuthenticationType values.

Applies to