Class DataAccessAuthMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DataAccessAuthMode>
com.azure.resourcemanager.compute.models.DataAccessAuthMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DataAccessAuthMode
extends com.azure.core.util.ExpandableStringEnum<DataAccessAuthMode>
Additional authentication requirements when exporting or uploading to a disk or snapshot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataAccessAuthModeWhen 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 DataAccessAuthModeNo additional authentication would be performed when accessing export/upload URL. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataAccessAuthModefromString(String name) Creates or finds a DataAccessAuthMode from its string representation.static Collection<DataAccessAuthMode> values()Gets known DataAccessAuthMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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
No additional authentication would be performed when accessing export/upload URL.
-
-
Constructor Details
-
DataAccessAuthMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of DataAccessAuthMode value.
-
-
Method Details
-
fromString
Creates or finds a DataAccessAuthMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DataAccessAuthMode.
-
values
Gets known DataAccessAuthMode values.- Returns:
- known DataAccessAuthMode values.
-
fromString(String)factory method.