EnabledProtocols Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. storage. models. EnabledProtocols
- com.
- com.
public final class EnabledProtocols
extends ExpandableStringEnum<EnabledProtocols>
The authentication protocol that is used for the file share. Can only be specified when creating a share.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Enabled |
NFS
Static value NFS for Enabled |
static final
Enabled |
SMB
Static value SMB for Enabled |
Constructor Summary
Constructor | Description |
---|---|
EnabledProtocols() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Enabled |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Enabled |
fromString(String name)
Creates or finds a Enabled |
static
Collection<Enabled |
values()
Gets known Enabled |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NFS
public static final EnabledProtocols NFS
Static value NFS for EnabledProtocols.
SMB
public static final EnabledProtocols SMB
Static value SMB for EnabledProtocols.
Constructor Details
EnabledProtocols
@Deprecated
public EnabledProtocols()
Deprecated
Creates a new instance of EnabledProtocols value.
Method Details
fromString
public static EnabledProtocols fromString(String name)
Creates or finds a EnabledProtocols from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known EnabledProtocols values.
Returns:
Applies to
Azure SDK for Java