Class EnabledProtocols
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EnabledProtocols>
com.azure.resourcemanager.storage.models.EnabledProtocols
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class EnabledProtocols
extends com.azure.core.util.ExpandableStringEnum<EnabledProtocols>
The authentication protocol that is used for the file share. Can only be specified when creating a share.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnabledProtocolsStatic value NFS for EnabledProtocols.static final EnabledProtocolsStatic value SMB for EnabledProtocols. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EnabledProtocolsfromString(String name) Creates or finds a EnabledProtocols from its string representation.static Collection<EnabledProtocols>values()Gets known EnabledProtocols values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SMB
Static value SMB for EnabledProtocols. -
NFS
Static value NFS for EnabledProtocols.
-
-
Constructor Details
-
EnabledProtocols
Deprecated.Use thefromString(String)factory method.Creates a new instance of EnabledProtocols value.
-
-
Method Details
-
fromString
Creates or finds a EnabledProtocols from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding EnabledProtocols.
-
values
Gets known EnabledProtocols values.- Returns:
- known EnabledProtocols values.
-
fromString(String)factory method.