DataAccessAuthMode Class

public final class DataAccessAuthMode
extends ExpandableStringEnum<DataAccessAuthMode>

Additional authentication requirements when exporting or uploading to a disk or snapshot.

Field Summary

Modifier and Type Field and Description
static final DataAccessAuthMode AZURE_ACTIVE_DIRECTORY

When export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data.

static final DataAccessAuthMode NONE

No additional authentication would be performed when accessing export/upload URL.

Constructor Summary

Constructor Description
DataAccessAuthMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DataAccessAuthMode value.

Method Summary

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

Creates or finds a DataAccessAuthMode from its string representation.

static Collection<DataAccessAuthMode> values()

Gets known DataAccessAuthMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_ACTIVE_DIRECTORY

public static final DataAccessAuthMode AZURE_ACTIVE_DIRECTORY

When export/upload URL is used, the system checks if the user has an identity in Azure Active Directory and has necessary permissions to export/upload the data. Please refer to aka.ms/DisksAzureADAuth.

NONE

public static final DataAccessAuthMode NONE

No additional authentication would be performed when accessing export/upload URL.

Constructor Details

DataAccessAuthMode

@Deprecated
public DataAccessAuthMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DataAccessAuthMode value.

Method Details

fromString

public static DataAccessAuthMode fromString(String name)

Creates or finds a DataAccessAuthMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding DataAccessAuthMode.

values

public static Collection<DataAccessAuthMode> values()

Gets known DataAccessAuthMode values.

Returns:

known DataAccessAuthMode values.

Applies to