通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EnabledProtocols Class

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 EnabledProtocols NFS

Static value NFS for EnabledProtocols.

static final EnabledProtocols SMB

Static value SMB for EnabledProtocols.

Constructor Summary

Constructor Description
EnabledProtocols()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EnabledProtocols value.

Method Summary

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

Creates or finds a EnabledProtocols from its string representation.

static Collection<EnabledProtocols> values()

Gets known EnabledProtocols values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding EnabledProtocols.

values

public static Collection<EnabledProtocols> values()

Gets known EnabledProtocols values.

Returns:

known EnabledProtocols values.

Applies to